/* S.W. Design And Development — navy + orange theme */
:root {
  --navy-950: #060f20;
  --navy-900: #0a1730;
  --navy-800: #0f2244;
  --navy-700: #17305c;
  --orange: #f7901e;
  --orange-600: #e67c0a;
  --orange-soft: #fff3e3;
  --ink: #0e1d3a;
  --text: #33405a;
  --muted: #66728a;
  --line: #e3e8f0;
  --soft: #f5f7fb;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(10, 23, 48, .08);
  --shadow-lg: 0 24px 60px rgba(6, 15, 32, .28);
  --font-head: 'Kanit', 'Sarabun', system-ui, sans-serif;
  --font-body: 'Sarabun', 'Kanit', system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 8px 14px; background: var(--orange); color: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 4px;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(247, 144, 30, .28); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-ghost { border-color: var(--orange); color: #fff; background: rgba(6, 15, 32, .35); }
.btn-ghost:hover { background: var(--orange); }
.btn-outline { border-color: var(--orange); color: var(--orange-600); background: #fff; }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-outline-accent { border-color: var(--orange); color: #fff; }
.btn-outline-accent:hover { background: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid { background: rgba(8, 19, 40, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.brand-text small { font-family: var(--font-head); font-weight: 300; font-size: 13.5px; opacity: .95; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  position: relative; padding: 8px 0; color: #fff;
  font-family: var(--font-head); font-weight: 400; font-size: 14.5px; white-space: nowrap;
}
.site-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; color: #fff; background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; }
.nav-toggle .icon { width: 24px; height: 24px; margin: auto; display: block; stroke-width: 2; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); padding-top: var(--header-h); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 15, 32, .6) 0%, rgba(6, 15, 32, 0) 20%, rgba(6, 15, 32, 0) 62%, rgba(6, 15, 32, .97) 90%),
    linear-gradient(90deg, rgba(6, 15, 32, .96) 0%, rgba(7, 17, 36, .86) 28%, rgba(8, 19, 40, .3) 52%, rgba(8, 19, 40, 0) 72%),
    url('../img/hero.jpg') 100% 42% / cover no-repeat;
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(460px, 62vh, 640px); padding-block: 56px 40px; }
.hero-copy { max-width: 640px; min-width: 0; }
.eyebrow {
  font-family: var(--font-head); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 6px;
}
.eyebrow span { opacity: .6; margin-inline: 4px; }
.eyebrow-light, .eyebrow-accent { color: var(--orange); }
.hero h1 { color: #fff; font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.16; letter-spacing: -.005em; margin-top: 10px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange); }
.hero h1 .thin { font-weight: 300; letter-spacing: .02em; }
.hero-lead { margin-top: 20px; font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-tag {
  position: absolute; right: 0; bottom: 28px; text-align: right;
  font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.hero-tag span { display: block; font-size: 11.5px; font-weight: 300; opacity: .85; }
.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-features li { display: flex; align-items: center; gap: 16px; padding-inline: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-features li:first-child { padding-left: 0; border-left: 0; }
.hero-features .icon { width: 44px; height: 44px; color: var(--orange); stroke-width: 1.4; }
.hero-features strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 16.5px; line-height: 1.35; }
.hero-features span { font-size: 14.5px; color: rgba(255, 255, 255, .82); }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2, .about h2, .achieve h2, .standards h2, .contact h2 { font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.section-sub { margin-top: 6px; color: var(--muted); font-size: 1.02rem; }
.section-head-dark h2, .achieve h2, .standards h2, .contact h2, .about h2 { color: #fff; }
.section-head-dark .section-sub, .standards .section-sub, .contact .section-sub { color: rgba(255, 255, 255, .8); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f6c58d; }
.service-media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-800); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px 16px 18px; flex: 1; align-content: start; }
.service-body > .icon { grid-row: span 2; width: 38px; height: 38px; color: var(--orange); stroke-width: 1.4; margin-top: 2px; }
.service-body h3 { font-size: 16px; font-weight: 500; line-height: 1.4; }
.service-en { font-family: var(--font-head); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.more { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--ink); }
.more .icon { width: 16px; height: 16px; color: var(--orange); stroke-width: 2; transition: transform .2s; }
.service-card:hover .more .icon, .project-card:hover .more .icon { transform: translateX(4px); }

/* ---------- About ---------- */
.about { position: relative; isolation: isolate; color: rgba(255, 255, 255, .9); background: var(--navy-900); }
.about-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 15, 32, .45) 0%, rgba(8, 19, 40, .9) 46%, rgba(8, 19, 40, .97) 100%),
    url('../img/full/p26-2.jpg') left center / cover no-repeat;
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; padding-block: 88px; }
.about-copy { grid-column: 2; }
.about-name { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin: 10px 0 8px; }
.about-copy .btn { margin-top: 24px; }

/* ---------- Featured + Achievement ---------- */
.featured { background: var(--navy-950); color: #fff; padding-block: 84px; }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: stretch; }
.featured-main { min-width: 0; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); }
.slider-stage { position: relative; aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 15, 32, 0) 35%, rgba(6, 15, 32, .88) 100%); }
.slide-caption { position: absolute; left: 28px; bottom: 26px; z-index: 1; max-width: 55%; }
.slide-caption h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; }
.slide-caption p { font-size: 1.05rem; line-height: 1.5; }
.slide-caption p.small { font-size: .95rem; opacity: .85; }
.slide-caption .btn { margin-top: 14px; background: rgba(6, 15, 32, .4); }
.slide-caption .btn:hover { background: var(--orange); }
.slider-arrow {
  position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; padding: 0; transform: translateY(-50%);
  display: grid; place-items: center; color: #fff; background: rgba(6, 15, 32, .6); border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px;
  transition: background-color .2s, border-color .2s;
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }
.slider-arrow .icon { stroke-width: 2; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.prev .icon { transform: rotate(180deg); }
.slider-arrow.next { right: 14px; }
.slider-thumbs { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: flex; gap: 8px; }
.slider-thumbs button { width: 92px; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; background: none; border: 2px solid rgba(255, 255, 255, .5); border-radius: 3px; opacity: .8; transition: opacity .2s, border-color .2s; }
.slider-thumbs button:hover { opacity: 1; }
.slider-thumbs button[aria-current='true'] { border-color: var(--orange); opacity: 1; }
.slider-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.achieve { display: flex; flex-direction: column; padding: 26px 24px; background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); }
.achieve h2 { font-size: 1.45rem; margin-bottom: 14px; }
.stats { display: grid; gap: 10px; }
.stats li { padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px; background: rgba(6, 15, 32, .35); }
.stats strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 2.1rem; line-height: 1.15; color: var(--orange); }
.stats strong small { font-size: .5em; font-weight: 500; margin-left: 4px; }
.stats span { font-size: .93rem; color: rgba(255, 255, 255, .88); }
.quote { margin-top: auto; padding-top: 22px; }
.quote .icon { width: 34px; height: 34px; color: var(--orange); }
.quote p { font-size: .98rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .65); }

/* ---------- Home: featured projects + figures ---------- */
.showcase {
  color: #fff; padding-block: 92px;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(247, 144, 30, .12), rgba(247, 144, 30, 0) 70%),
    linear-gradient(rgba(120, 160, 230, .04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(120, 160, 230, .04) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy-950);
}
.bento { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-auto-rows: 236px; gap: 16px; }
.tile { position: relative; display: block; padding: 0; overflow: hidden; text-align: left; color: #fff; background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.tile--lg { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 15, 32, .15) 0%, rgba(6, 15, 32, 0) 35%, rgba(6, 15, 32, .9) 100%); transition: background-color .3s; }
.tile::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { transform: scaleX(1); }
.tile-tag { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 4px 12px; font-family: var(--font-head); font-size: 12px; background: rgba(6, 15, 32, .72); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; backdrop-filter: blur(6px); }
.tile-body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: block; font-family: var(--font-head); }
.tile-body small { display: block; font-size: 11.5px; letter-spacing: .14em; color: var(--orange); }
.tile-body strong { display: block; font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.tile-body em { display: none; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: rgba(255, 255, 255, .85); margin-top: 4px; }
.tile-more { display: flex; align-items: center; gap: 6px; max-height: 0; overflow: hidden; opacity: 0; font-size: 13.5px; color: var(--orange); transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease; }
.tile-more .icon { width: 15px; height: 15px; stroke-width: 2; }
.tile:hover .tile-more, .tile:focus-visible .tile-more { max-height: 28px; opacity: 1; margin-top: 8px; }
.tile--lg .tile-body { left: 26px; right: 26px; bottom: 24px; }
.tile--lg .tile-body strong { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tile--lg .tile-body em { display: block; }

.figures-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: center; margin-top: 20px; padding: 30px 34px; background: linear-gradient(120deg, rgba(23, 48, 92, .55), rgba(10, 23, 48, .55)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.figures-head h3 { color: #fff; font-weight: 600; font-size: 1.5rem; line-height: 1.25; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures li { padding: 4px 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.figures strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.1; color: var(--orange); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures strong b { font-weight: inherit; }
.figures strong small { margin-left: 6px; font-size: .36em; font-weight: 400; color: #fff; }
.figures span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.showcase-quote { max-width: 760px; margin: 44px auto 0; text-align: center; }
.showcase-quote p { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.6; color: #fff; }
.showcase-quote p::before { content: '“'; display: block; height: 34px; font-size: 3.4rem; line-height: 1; color: var(--orange); }
.showcase-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .82rem; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile--lg { grid-column: span 2; grid-row: span 1; grid-row-end: span 1; height: 300px; }
  .bento { grid-auto-rows: auto; }
  .tile:not(.tile--lg) { height: 200px; }
  .figures-wrap { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
  .figures-head h3 br { display: none; }
  .figures { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .figures li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .showcase { padding-block: 60px; }
  .bento { gap: 10px; }
  .tile--lg { height: 240px; }
  .tile:not(.tile--lg) { height: 160px; }
  .tile-body { left: 12px; right: 12px; bottom: 12px; }
  .tile-body strong { font-size: .92rem; }
  .figures li { padding: 0 14px; }
}

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button {
  min-height: 42px; padding: 0 18px; font-family: var(--font-head); font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: background-color .2s, color .2s, border-color .2s;
}
.filters button span { margin-left: 6px; font-size: 12px; color: var(--muted); }
.filters button:hover { border-color: var(--orange); }
.filters button[aria-selected='true'] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filters button[aria-selected='true'] span { color: var(--orange); }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
  display: flex; flex-direction: column; padding: 0; text-align: left; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.project-card[hidden] { display: none; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f6c58d; }
.project-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-media img { transform: scale(1.05); }
.badge { position: absolute; left: 10px; top: 10px; padding: 3px 10px; font-family: var(--font-head); font-size: 11.5px; color: #fff; background: rgba(6, 15, 32, .82); border-left: 3px solid var(--orange); border-radius: 2px; }
.count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; font-size: 12px; color: #fff; background: rgba(6, 15, 32, .72); border-radius: 2px; }
.count .icon { width: 14px; height: 14px; }
.project-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1; }
.project-code { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .08em; color: var(--orange-600); text-transform: uppercase; }
.project-body h3 { font-size: 16.5px; font-weight: 500; }
.project-body p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.project-body .more { margin-top: auto; padding-top: 10px; }

/* ---------- Process ---------- */
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 20px 14px 22px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--ink); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); z-index: 1; }
.step .icon { width: 44px; height: 44px; margin: 10px auto 12px; color: var(--orange); stroke-width: 1.4; display: block; }
.step h3 { font-size: 16px; font-weight: 500; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Standards ---------- */
.standards { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff; padding-block: 84px; }
.standards-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.standard-list { margin-top: 26px; display: grid; gap: 10px; counter-reset: std; }
.standard-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(6, 15, 32, .35); border: 1px solid rgba(255, 255, 255, .1); border-radius: 4px; counter-increment: std; }
.standard-list li::before { content: counter(std, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--orange); }
.standard-list strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1rem; line-height: 1.45; }
.standard-list span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.standards-figure { position: relative; }
.standards-figure::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 2px solid var(--orange); border-radius: var(--radius); }
.standards-figure img { position: relative; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.why-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.why-cards li { padding: 22px 8px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.why-cards li:hover { border-color: #f6c58d; box-shadow: var(--shadow); }
.why-cards .icon { width: 42px; height: 42px; margin: 0 auto 12px; color: var(--orange); stroke-width: 1.4; display: block; }
.why-cards strong { font-family: var(--font-head); font-weight: 500; font-size: 14.5px; line-height: 1.45; color: var(--ink); display: block; }
.why-banner { position: relative; min-height: 240px; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.why-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 15, 32, .15) 0%, rgba(6, 15, 32, .88) 75%); }
.why-banner-text { position: absolute; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.why-banner-text strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.15; letter-spacing: .04em; }
.why-banner-text span { display: block; margin-top: 10px; padding-left: 10px; border-left: 3px solid var(--orange); font-size: .9rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); padding-block: 84px; }
.contact-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 15, 32, .96) 0%, rgba(8, 19, 40, .88) 55%, rgba(8, 19, 40, .7) 100%),
    url('../img/full/p27-2.jpg') center / cover no-repeat;
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; background: rgba(6, 15, 32, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; font-size: 1rem; overflow-wrap: anywhere; }
.contact-list li.wide { grid-column: 1 / -1; background: none; border: 0; padding-left: 0; align-items: flex-start; }
.contact-list li:has(> a) { padding: 0; transition: border-color .2s; }
.contact-list li:has(> a):hover { border-color: var(--orange); }
.contact-list a { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 16px; }
.contact-list li.wide { min-height: 0; padding-block: 4px; }
.contact-list li.wide strong { display: block; font-family: var(--font-head); font-weight: 500; color: #fff; }
.contact-list li.wide span { color: rgba(255, 255, 255, .85); line-height: 1.55; }
.contact-list .icon { width: 26px; height: 26px; color: var(--orange); }
.map { position: relative; margin-top: 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); overflow: hidden; background: var(--navy-800); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }
.map .btn { position: absolute; right: 12px; bottom: 12px; background: rgba(6, 15, 32, .88); }
.map .btn:hover { background: var(--orange); }
.contact-grid { align-items: start; }
.quote-form { padding: 28px 26px; color: var(--text); background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.quote-form h3 { font-size: 1.4rem; font-weight: 600; }
.quote-form > p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.field { display: block; margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #cfd6e2; border-radius: 4px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247, 144, 30, .22); }
.field .is-invalid { border-color: #d43c2f; }
.form-msg { min-height: 1.4em; margin-bottom: 8px; font-size: .9rem; color: #c0392b; }
.form-msg.ok { color: #1c7c45; }

/* ---------- Footer ---------- */
.site-footer { background: #040a17; color: rgba(255, 255, 255, .78); padding-block: 30px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand strong { display: block; font-family: var(--font-head); font-weight: 500; color: #fff; }
.footer-brand span { font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--font-head); }
.footer-nav a:hover { color: var(--orange); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* ---------- Modal ---------- */
.modal { width: min(1180px, 100% - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; background: #fff; color: var(--text); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(4, 10, 23, .8); backdrop-filter: blur(3px); }
.modal-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; max-height: calc(100dvh - 32px); }
.modal-viewer { position: relative; display: grid; place-items: center; min-height: 320px; background: var(--navy-950); }
.modal-viewer img { max-width: 100%; max-height: calc(100dvh - 32px); object-fit: contain; }
.modal-viewer img.is-drawing { background: #fff; }
.modal-kind, .modal-count { position: absolute; top: 14px; padding: 3px 10px; font-family: var(--font-head); font-size: 12.5px; color: #fff; background: rgba(6, 15, 32, .8); border-radius: 2px; }
.modal-kind { left: 14px; border-left: 3px solid var(--orange); }
.modal-count { left: 50%; transform: translateX(-50%); }
.modal-side { display: flex; flex-direction: column; gap: 6px; padding: 28px 22px 22px; overflow-y: auto; }
.modal-side h3 { font-size: 1.35rem; font-weight: 600; padding-right: 30px; }
.modal-code { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.modal-desc { font-size: .98rem; }
.modal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-block: 14px 18px; }
.modal-thumbs button { aspect-ratio: 1; padding: 0; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 3px; opacity: .75; transition: opacity .2s, border-color .2s; }
.modal-thumbs button:hover { opacity: 1; }
.modal-thumbs button[aria-current='true'] { border-color: var(--orange); opacity: 1; }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-side .btn { margin-top: auto; flex: none; }
.modal-close { position: absolute; right: 10px; top: 10px; z-index: 3; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; }
.modal-close:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.modal-close .icon { stroke-width: 2; }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; color: #fff; padding: calc(var(--header-h) + 56px) 0 60px;
  background: var(--navy-950) center / cover no-repeat;
  border-bottom: 3px solid var(--orange);
}
.page-hero h1 { color: #fff; font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .section-sub { color: rgba(255, 255, 255, .85); max-width: 640px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--orange); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split h2 { font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.lead { font-family: var(--font-head); font-size: 1.05rem; color: var(--orange-600); margin: 4px 0 14px; }
.facts { display: grid; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-head); color: var(--ink); }
.facts dd { margin: 0; }
.framed { position: relative; margin-right: 14px; }
.framed::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 2px solid var(--orange); border-radius: var(--radius); }
.framed img { position: relative; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

.stats-band { background: var(--navy-950); padding-block: 40px; }
.stats-row { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.service-rows { display: grid; gap: 64px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body h2 { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.service-row-body h2 .icon { width: 44px; height: 44px; color: var(--orange); stroke-width: 1.4; }
.chips-label { margin-top: 18px; font-family: var(--font-head); font-size: .9rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips button { min-height: 34px; padding: 0 14px; font-size: 13.5px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background-color .2s, color .2s; }
.chips button:hover { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-600); }
.service-row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.cta-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff; padding-block: 52px; border-top: 3px solid var(--orange); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-more { margin-top: 22px; }

@media (max-width: 980px) {
  .split, .service-row { grid-template-columns: 1fr; gap: 28px; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .service-rows { gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero { padding: calc(var(--header-h) + 36px) 0 40px; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .cta-actions .btn { flex: 1 1 160px; }
}

/* ---------- Hero: scroll-driven build video ---------- */
.hero--scrub { height: 420vh; padding-top: 0; overflow: visible; }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.scrub-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; background: var(--navy-950) url('../video/hero-build-start.jpg') 55% 50% / cover no-repeat; }
.hero--scrub .hero-bg {
  background:
    linear-gradient(180deg, rgba(6, 15, 32, .6) 0%, rgba(6, 15, 32, 0) 15%, rgba(6, 15, 32, 0) 76%, rgba(6, 15, 32, .72) 100%),
    linear-gradient(90deg, rgba(6, 15, 32, .5) 0%, rgba(7, 17, 36, .22) 26%, rgba(8, 19, 40, 0) 46%);
}
.scrub-panels { position: relative; flex: 1; }
.scrub-panel { position: absolute; left: 0; top: 50%; max-width: 640px; padding-top: var(--header-h); opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 26px)); transition: opacity .45s ease, transform .45s ease, visibility .45s; }
/* soft shade behind the words only, so the footage itself stays bright */
.scrub-panel::before { content: ''; position: absolute; inset: calc(var(--header-h) - 70px) -140px -70px -120px; z-index: -1; background: radial-gradient(closest-side, rgba(6, 15, 32, .74) 0%, rgba(6, 15, 32, .5) 55%, rgba(6, 15, 32, 0) 100%); pointer-events: none; }
.scrub-panel.is-on { opacity: 1; visibility: visible; transform: translateY(-50%); }
.scrub-panel h2 { color: #fff; font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.16; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.scrub-panel h1, .scrub-panel h2, .scrub-panel .hero-lead, .scrub-panel .eyebrow, .scrub-step { text-shadow: 0 1px 3px rgba(0, 0, 0, .65), 0 4px 28px rgba(0, 0, 0, .6); }
.scrub-panel .accent { color: var(--orange); }
.scrub-step { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .3em; color: var(--orange); margin-bottom: 10px; }
.scrub-step::after { content: ''; display: inline-block; width: 56px; height: 2px; margin-left: 12px; vertical-align: middle; background: var(--orange); }
.scrub-job { margin-top: 18px; font-family: var(--font-head); font-size: .9rem; font-weight: 300; letter-spacing: .02em; color: rgba(255, 255, 255, .85); }
.scrub-foot { position: relative; }
.scrub-foot .hero-features { transition: opacity .4s ease; }
.hero--scrub.is-scrolling .hero-features { opacity: 0; pointer-events: none; }
.scrub-hint { position: absolute; right: 0; bottom: 100%; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .08em; color: rgba(255, 255, 255, .85); transition: opacity .4s ease; }
.scrub-hint span { width: 1px; height: 44px; background: linear-gradient(var(--orange), rgba(247, 144, 30, 0)); animation: scrub-hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes scrub-hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero--scrub.is-scrolling .scrub-hint { opacity: 0; }
.scrub-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.scrub-bar i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* reduced motion or video unavailable: ordinary hero on the finished building */
.hero--scrub.is-static { height: auto; }
.hero--scrub.is-static .scrub-stage { position: relative; height: auto; min-height: 640px; background: url('../video/hero-build-end.jpg') center / cover no-repeat; }
.hero--scrub.is-static .scrub-panels { min-height: 520px; display: flex; align-items: center; }
.hero--scrub.is-static .scrub-panel { position: relative; top: auto; transform: none; padding-block: calc(var(--header-h) + 40px) 40px; }
.hero--scrub.is-static .scrub-video, .hero--scrub.is-static .scrub-hint, .hero--scrub.is-static .scrub-bar, .hero--scrub.is-static .scrub-panel:not(:first-child) { display: none; }

@media (max-width: 980px) {
  .hero--scrub .hero-bg { background: linear-gradient(180deg, rgba(6, 15, 32, .8) 0%, rgba(6, 15, 32, .35) 35%, rgba(6, 15, 32, .55) 60%, rgba(6, 15, 32, .96) 100%); }
  .scrub-hint { display: none; }
  /* phones/tablets: the photo gets its own band under the header, with the words below it on navy */
  .hero--scrub.is-static .scrub-stage { min-height: 0; background: var(--navy-950); }
  .hero--scrub.is-static .scrub-stage::before { content: ''; display: block; margin-top: var(--header-h); aspect-ratio: 16 / 10; background: url('../video/hero-build-end.jpg') 60% center / cover no-repeat; }
  .hero--scrub.is-static .hero-bg, .hero--scrub.is-static .scrub-panel::before { display: none; }
  .hero--scrub.is-static .scrub-panels { min-height: 0; }
  .hero--scrub.is-static .scrub-panel { padding-block: 32px 28px; }
  .hero--scrub.is-static .scrub-panel h1, .hero--scrub.is-static .scrub-panel .hero-lead, .hero--scrub.is-static .scrub-panel .eyebrow { text-shadow: none; }
  /* the band plays the build once instead of the still photo */
  .hero--scrub.is-autoplay .scrub-stage::before { display: none; }
  .hero--scrub.is-autoplay .scrub-video { display: block; position: relative; inset: auto; z-index: 0; height: auto; margin-top: var(--header-h); aspect-ratio: 16 / 10; object-position: 60% center; background-position: 60% center; }
}
@media (max-width: 720px) {
  .hero--scrub { height: 360vh; }
  .scrub-panel { right: 0; }
  .scrub-foot .hero-features { padding-block: 16px 20px; }
  .hero--scrub.is-static .scrub-panel { padding-block: 26px 22px; }
}

/* ---------- Floating call button (phones/tablets) ---------- */
.call-fab { display: none; }
@media (max-width: 980px) {
  .call-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 8px; padding: 12px 20px 12px 16px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; box-shadow: 0 6px 20px rgba(6, 15, 32, .35); }
  .call-fab .icon { width: 22px; height: 22px; stroke-width: 1.8; animation: call-ring 2.4s ease-in-out infinite; }
  .call-fab:active { background: var(--orange-600); }
  .site-footer { padding-bottom: 84px; }
}
@keyframes call-ring { 0%, 70%, 100% { transform: rotate(0); } 75%, 85%, 95% { transform: rotate(-14deg); } 80%, 90% { transform: rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .call-fab .icon { animation: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { gap: 18px; }
  .brand-text small { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-banner { min-height: 220px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: rgba(8, 19, 40, .98); box-shadow: 0 20px 30px rgba(0, 0, 0, .3);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a.is-active { color: var(--orange); }
  .nav-cta { margin-top: 16px; min-height: 48px; }
  .site-header { background: rgba(8, 19, 40, .96); }
  .hero-tag { display: none; }
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .hero-features li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .about-inner { grid-template-columns: 1fr; padding-block: 64px; }
  .about-copy { grid-column: 1; }
  .about-bg { background: linear-gradient(rgba(8, 19, 40, .9), rgba(8, 19, 40, .94)), url('../img/full/p26-2.jpg') center / cover no-repeat; }
  .featured-grid, .standards-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .quote { margin-top: 0; }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .standards-figure { margin-right: 14px; }
  .modal-box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-viewer img { max-height: 52dvh; }
  .modal-side { overflow: visible; }
  .modal-thumbs { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { width: min(1240px, 100% - 32px); }
  .section, .featured, .standards, .contact { padding-block: 56px; }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand-logo { width: 42px; height: 42px; flex: none; }
  /* name on one line, "Co., Ltd." tucked underneath, instead of wrapping wherever it runs out */
  .brand-text strong { font-size: clamp(12.5px, 3.7vw, 15.5px); line-height: 1.2; }
  .brand-suffix { display: block; font-weight: 300; font-size: .82em; letter-spacing: .06em; opacity: .85; }
  .nav-toggle { flex: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-inner { min-height: 0; padding-block: 44px 36px; }
  .hero-bg { background-position: 0 0, 0 0, 78% 40%; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 150px; }
  .hero-features li { padding-inline: 12px; gap: 10px; }
  .hero-features .icon { width: 34px; height: 34px; }
  .hero-features strong { font-size: 15px; }
  .hero-features span { font-size: 13px; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-body { grid-template-columns: 1fr; padding: 14px 12px; }
  .service-body > .icon { grid-row: auto; width: 32px; height: 32px; }
  .more { grid-column: 1; }
  .project-body { padding: 12px; }
  .project-body h3 { font-size: 15px; }
  .slider-stage { aspect-ratio: 4 / 3; }
  .slide-caption { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .slider-thumbs { position: static; padding: 10px; background: var(--navy-900); }
  .slider-thumbs button { flex: 1; width: auto; }
  .slider-arrow { top: 36%; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .why-cards li:last-child { grid-column: 1 / -1; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .step:last-child { grid-column: 1 / -1; }
  .contact-list { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; padding-bottom: 6px; scrollbar-width: none; }
  .filters button { flex: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: clamp(1.6rem, 7.6vw, 2.1rem); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .stats strong { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
