:root {
  --bg: #0b1318;
  --surface: #111c22;
  --surface-2: #17262d;
  --text: #f4f7f8;
  --muted: #afc0c8;
  --cyan: #0dbee9;
  --green: #43b74d;
  --steel: #83949c;
  --line: #2a3a43;
  --header-h: 88px;
  --container: 1540px;
  --progress: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 720px; margin-bottom: 30px; font-size: clamp(3.8rem, 6.6vw, 7rem); }
h2 { margin-bottom: 30px; font-size: clamp(3rem, 5.5vw, 6.15rem); }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.8rem); }

::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 3px solid #75ddf2; outline-offset: 4px; }
.container { width: min(calc(100% - 80px), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(60px, 5vw, 84px); scroll-margin-top: calc(var(--header-h) + 18px); }
.eyebrow {
  margin-bottom: 24px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--cyan); color: var(--bg); font-weight: 800; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: max(32px, calc((100vw - var(--container))/2));
  transition: height .35s ease;
}
/* Background/blur live on a pseudo-element (not on .site-header itself) because a
   non-"none" backdrop-filter on an ancestor creates a new containing block for
   position:fixed descendants — it would trap the fullscreen mobile nav inside
   this ~80px-tall header box instead of the viewport. */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-bottom: 1px solid rgba(46, 68, 78, var(--header-border-opacity, 0));
  background: rgba(8, 16, 21, var(--header-bg-opacity, 0));
  -webkit-backdrop-filter: blur(var(--header-blur, 0px));
  backdrop-filter: blur(var(--header-blur, 0px));
  content: "";
  pointer-events: none;
}
.site-header.is-compact { height: 72px; }
.brand { display: grid; width: 170px; height: 65px; align-items: center; }
.brand img { width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); }
.site-nav a { position: relative; padding-block: 12px; color: var(--muted); font-size: .91rem; font-weight: 700; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--cyan); content: ""; transition: transform .3s ease; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: var(--text); }
.site-nav a:hover::after, .site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.site-nav .nav-cta { min-width: 122px; padding: 11px 20px; border: 1px solid var(--steel); text-align: center; }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="location"] { border-color: var(--cyan); background: var(--cyan); color: var(--bg); }
.menu-button { display: none; min-width: 48px; min-height: 48px; border: 0; background: none; color: var(--text); }

.hero { position: relative; display: grid; min-height: 100svh; overflow: clip; align-items: center; scroll-margin-top: 0; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 112%; object-fit: cover; object-position: 69% center; filter: brightness(var(--hero-brightness, .44)) saturate(var(--hero-saturation, .7)); transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.03); }
.hero-object-glow { position: absolute; inset: 0; background: radial-gradient(circle at 78% 43%, rgba(104,224,255,.34), rgba(13,190,233,.1) 19%, transparent 42%); opacity: var(--hero-glow-opacity, .1); mix-blend-mode: screen; pointer-events: none; }
.hero-light-sweep { position: absolute; top: -18%; bottom: -18%; left: 52%; width: 22%; background: linear-gradient(90deg, transparent, rgba(210,247,255,.32), transparent); opacity: var(--hero-sweep-opacity, 0); transform: skewX(-16deg) translateX(var(--hero-sweep-x, -190%)); mix-blend-mode: screen; pointer-events: none; }
.hero-shade { background: linear-gradient(90deg, rgba(11,19,24,.99) 0%, rgba(11,19,24,.96) 31%, rgba(11,19,24,.72) 47%, rgba(11,19,24,.12) 72%, rgba(11,19,24,.4) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 19%); }
.hero-ribbons { position: absolute; inset: auto -8% 3% -8%; width: 116%; height: 72%; opacity: .4; transform: translate3d(0, var(--ribbon-parallax, 0px), 0); mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, transparent 0 34%, #000 52% 100%); mask-image: linear-gradient(90deg, transparent 0 34%, #000 52% 100%); }
.ribbon { fill: none; stroke-linecap: butt; }
.ribbon-cyan { stroke: var(--cyan); stroke-width: 46; }
.ribbon-steel { stroke: #40525b; stroke-width: 38; }
.ribbon-green { stroke: var(--green); stroke-width: 44; }
.hero-content { position: relative; z-index: 2; padding-top: 88px; }
.hero-eyebrow { opacity: 0; animation: hero-up .7s .08s forwards; }
.hero h1 { max-width: 720px; opacity: 0; animation: hero-up .85s .16s forwards; }
.hero-lead { max-width: 570px; margin-bottom: 38px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.38rem); opacity: 0; animation: hero-up .85s .28s forwards; }
.hero-actions { display: flex; align-items: center; gap: 28px; opacity: 0; animation: hero-up .85s .4s forwards; }
.button { display: inline-flex; min-height: 52px; padding: 13px 21px; align-items: center; justify-content: center; gap: 32px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--cyan); color: var(--bg); transition: background .25s ease, transform .25s ease; }
.button-primary:hover { transform: translateY(-2px); background: #5bd9f5; }
.text-link { min-height: 48px; padding: 11px 0; border-bottom: 1px solid var(--steel); color: var(--text); font-weight: 700; text-decoration: none; }
.hero-steps { display: flex; margin: clamp(60px, 11vh, 105px) 0 0; padding: 0; list-style: none; opacity: 0; animation: hero-up .85s .55s forwards; }
.hero-steps li { display: flex; min-width: 165px; padding: 12px 20px 12px 0; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; }
.hero-steps li:not(:last-child) { margin-right: 20px; }
.hero-steps b { color: var(--cyan); font: 700 .7rem Consolas, monospace; }
.hero-steps li:last-child b { color: var(--green); }
.scroll-cue { position: absolute; z-index: 3; right: 35px; bottom: 34px; display: flex; align-items: center; gap: 14px; color: var(--muted); font: .68rem Consolas, monospace; letter-spacing: .15em; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }
.scroll-cue i { display: block; width: 48px; height: 1px; overflow: hidden; background: var(--line); }
.scroll-cue i::after { display: block; width: 100%; height: 100%; transform: translateX(-100%); background: var(--cyan); content: ""; animation: scroll-line 2s 1s ease-in-out infinite; }
@keyframes hero-up { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(24px); } }
@keyframes scroll-line { 55%, 100% { transform: translateX(100%); } }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .62s ease, transform .62s cubic-bezier(.22,.74,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.section-progress { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line); }
.section-progress i { display: block; width: calc(var(--progress) * 100%); height: 1px; background: linear-gradient(90deg, var(--cyan), var(--green)); }

.expertise { background: linear-gradient(180deg, var(--bg), #0e181e 52%, var(--bg)); }
.section-heading { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 80px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 470px; margin-bottom: 12px; color: var(--muted); font-size: 1.1rem; }
.expertise-grid { position: relative; display: grid; margin-top: 76px; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.expertise-route { position: absolute; z-index: 1; top: -88px; left: 7%; width: 86%; overflow: visible; }
.expertise-route path { fill: none; stroke-width: 1.3; }
.route-base { stroke: var(--line); }
.route-live { stroke: var(--cyan); stroke-dasharray: 1; stroke-dashoffset: 1; }
.expertise-route circle { fill: var(--bg); stroke: var(--line); stroke-width: 2; transition: fill .35s ease, stroke .35s ease; }
.expertise[data-stage="1"] .expertise-route circle:nth-of-type(1),
.expertise[data-stage="2"] .expertise-route circle:nth-of-type(-n+2),
.expertise[data-stage="3"] .expertise-route circle { fill: var(--cyan); stroke: var(--cyan); }
.expertise[data-stage="3"] .expertise-route circle:last-child { fill: var(--green); stroke: var(--green); }
.expertise-card { position: relative; z-index: 2; min-height: 360px; padding: 34px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface), transparent 8%); transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.expertise-card:hover { border-color: var(--steel); transform: translateY(-5px); background: var(--surface-2); }
.expertise-card:nth-of-type(2) { transition-delay: 80ms; }
.expertise-card:nth-of-type(3) { transition-delay: 160ms; }
.card-number { color: var(--cyan); font: 700 .72rem Consolas, monospace; letter-spacing: .1em; }
.expertise-card:last-child .card-number { color: var(--green); }
.expertise-card h3 { margin: 78px 0 20px; font-size: 2rem; }
.expertise-card p { max-width: 330px; margin-bottom: 0; color: var(--muted); }
.service-icon { position: absolute; top: 29px; right: 29px; width: 45px; height: 45px; }
.service-icon i { position: absolute; inset: 5px; border: 1px solid var(--cyan); border-radius: 50%; }
.service-icon i:nth-child(2) { inset: 13px; }
.service-icon i:nth-child(3) { inset: 20px; background: var(--cyan); }
.service-icon-engineering i { border-radius: 0; transform: rotate(45deg); }
.service-icon-coordinate i:first-child { border-color: var(--green); }
.service-icon-coordinate i:nth-child(2) { border-color: var(--cyan); transform: translateX(-13px); }
.service-icon-coordinate i:nth-child(3) { border: 0; border-radius: 50%; background: var(--green); transform: translateX(10px); }

.flow { padding-bottom: 58px; background: #091116; }
.flow::before { position: absolute; inset: 0; opacity: .16; background: url("assets/brand/background-grid.svg") center/700px; content: ""; pointer-events: none; }
.flow-intro { position: relative; z-index: 1; margin-bottom: 40px; }
.flow-intro > p:last-child { max-width: 520px; color: var(--muted); font-size: 1.1rem; }
.flow-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 130px); }
.flow-stage { position: sticky; top: 104px; height: min(72vh, 650px); min-height: 530px; overflow: hidden; align-self: start; border: 1px solid var(--line); background: radial-gradient(circle at 55% 45%, #18313a 0, var(--surface) 42%, #0d171c 74%); }
.flow-stage-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle, #000, transparent 72%); }
.flow-stage-media { position: absolute; inset: 0 0 142px; overflow: hidden; }
.flow-stage-media::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,17,22,.48), transparent 34%); content: ""; pointer-events: none; }
.flow-stage-media img { width: 100%; height: 106%; object-fit: cover; object-position: center; filter: saturate(.9) brightness(.9); transform: translate3d(0, calc(var(--flow-image-parallax, 0) * 1px), 0) scale(1.035); }
.flow-scan-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--flow-scan, 0) * 100%); width: 2px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); opacity: .8; }
.flow-scan-line::before { position: absolute; top: 0; bottom: 0; right: 0; width: 64px; background: linear-gradient(90deg, transparent, rgba(13,190,233,.11)); content: ""; }
.flow-stage-copy { position: absolute; bottom: 56px; left: 42px; display: grid; }
.flow-stage-copy span { color: var(--cyan); font: .72rem Consolas, monospace; letter-spacing: .1em; }
.flow-stage-copy strong { margin-top: 8px; font-size: 2.1rem; letter-spacing: -.04em; }
.flow-stage-copy small { margin-top: 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.flow-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--line); }
.flow-progress i { display: block; width: calc(var(--progress) * 100%); height: 100%; background: linear-gradient(90deg, var(--cyan) 0 66%, var(--green)); }
.flow-step { display: flex; min-height: 46svh; padding: 5vh 0; flex-direction: column; justify-content: center; opacity: .34; transition: opacity .35s ease; }
.flow-step.is-active { opacity: 1; }
.flow-step h3 { max-width: 650px; margin-bottom: 28px; font-size: clamp(2.6rem, 4vw, 4.8rem); }
.flow-step > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 1.08rem; }
.flow-step ul { display: flex; margin: 24px 0 0; padding: 0; flex-wrap: wrap; gap: 9px; list-style: none; }
.flow-step li { padding: 7px 11px; border: 1px solid var(--line); color: var(--muted); font: .72rem Consolas, monospace; text-transform: uppercase; }

.products { background: linear-gradient(180deg, var(--bg), #0d181e 50%, var(--bg)); }
.products-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; }
.products-heading > p { max-width: 440px; margin-bottom: 35px; color: var(--muted); font-size: 1.08rem; }
.products-layout { display: grid; margin-top: 46px; grid-template-columns: 220px minmax(0,1fr); gap: 55px; align-items: start; }
.product-rail { position: sticky; top: 108px; display: grid; min-height: 575px; padding-left: 28px; align-content: space-between; }
.product-rail-track { position: absolute; top: 10px; bottom: 10px; left: 0; width: 2px; overflow: hidden; background: var(--line); }
.product-rail-track i { display: block; width: 100%; height: calc(var(--progress) * 100%); background: linear-gradient(var(--cyan), var(--green)); }
.product-rail a { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: start; color: #6f8088; text-decoration: none; transition: color .3s ease; }
.product-rail b { color: inherit; font: 700 .72rem Consolas, monospace; }
.product-rail span { font-size: .84rem; line-height: 1.35; }
.product-rail a.is-active { color: var(--text); }
.product-rail a.is-active b { color: var(--cyan); }
.product-group { padding-bottom: 56px; scroll-margin-top: 98px; }
.product-group header { display: flex; margin-bottom: 35px; padding-bottom: 18px; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); }
.product-group header span { color: var(--cyan); font: .72rem Consolas, monospace; }
.product-group header h3 { margin: 0; font-size: 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s ease, transform .3s ease; }
.product-card:hover { border-color: var(--steel); transform: translateY(-4px); }
.product-card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.9) brightness(.92); transition: transform .65s cubic-bezier(.2,.75,.2,1), filter .4s ease; }
.product-card:hover img { transform: scale(1.025); filter: saturate(1.04) brightness(1); }
.product-card > div { position: relative; padding: 22px 23px 25px; }
.product-card > div > span { position: absolute; top: 30px; right: 28px; color: var(--cyan); font: .7rem Consolas, monospace; }
.product-card h4 { max-width: calc(100% - 42px); margin-bottom: 8px; font-size: 1.38rem; }
.product-card p { margin-bottom: 20px; color: var(--steel); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.product-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .86rem; }
.product-card li + li { margin-top: 5px; }
.image-note { color: var(--steel); font-size: .78rem; }

.quality { padding-block: clamp(60px, 5vw, 84px); background: #091116; }
.quality-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(55px, 8vw, 115px); align-items: center; }
.quality-media { position: sticky; top: 110px; overflow: hidden; border: 1px solid var(--line); }
.quality-media::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.05); content: ""; pointer-events: none; }
.quality-media img { width: 100%; min-height: 520px; object-fit: cover; transform: translate3d(0, calc(var(--quality-parallax, 0) * 1px), 0) scale(1.035); }
.scan-line { position: absolute; top: 0; bottom: 0; left: calc(var(--progress) * 100%); width: 2px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); opacity: .85; }
.scan-line::before { position: absolute; top: 0; bottom: 0; right: 0; width: 70px; background: linear-gradient(90deg, transparent, rgba(13,190,233,.12)); content: ""; }
.quality-label { position: absolute; right: 22px; bottom: 20px; padding: 8px 10px; background: rgba(11,19,24,.75); color: var(--muted); font: .67rem Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; }
.quality-copy > p:not(.eyebrow):not(.scope-note) { color: var(--muted); font-size: 1.08rem; }
.quality-list { margin: 48px 0 0; padding: 0; list-style: none; }
.quality-list li { display: grid; padding: 21px 0; grid-template-columns: 50px 1fr; border-top: 1px solid var(--line); opacity: .35; transform: translateX(12px); transition: opacity .35s ease, transform .35s ease, border-color .35s ease; }
.quality-list li.is-active { border-color: color-mix(in srgb, var(--cyan), var(--line)); opacity: 1; transform: translateX(0); }
.quality-list li:last-child.is-active { border-color: var(--green); }
.quality-list b { color: var(--cyan); font: .72rem Consolas, monospace; }
.quality-list li:last-child b { color: var(--green); }
.quality-list h3 { margin: 0 0 6px; font-size: 1.18rem; letter-spacing: -.02em; }
.quality-list p { margin: 0; color: var(--muted); font-size: .91rem; }
.scope-note { margin-top: 25px; color: var(--steel); font-size: .78rem; }

.contact { display: grid; min-height: 72svh; padding-block: 76px 68px; overflow: hidden; place-items: center; background: radial-gradient(circle at center, #14272f, var(--bg) 57%); }
.contact-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-line { fill: none; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; }
.contact-line-cyan { stroke: var(--cyan); }
.contact-line-green { stroke: var(--green); }
.contact-content { position: relative; z-index: 2; text-align: center; }
.contact h2 { max-width: 980px; margin-inline: auto; }
.contact-lead { max-width: 620px; margin: 0 auto 48px; color: var(--muted); font-size: 1.15rem; }
.contact-action { display: flex; width: min(100%, 680px); min-height: 106px; margin-inline: auto; padding: 22px 28px; align-items: center; justify-content: space-between; border: 1px solid var(--cyan); background: rgba(11,19,24,.88); text-align: left; text-decoration: none; transition: background .3s ease, transform .3s ease, box-shadow .3s ease; }
.contact-action:hover { transform: translateY(-4px); background: var(--cyan); color: var(--bg); box-shadow: 0 16px 80px rgba(13,190,233,.17); }
.contact-action span { display: grid; font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.contact-action small { margin-bottom: 5px; color: var(--muted); font: .68rem Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.contact-action:hover small { color: #17333c; }
.contact-action i { font-size: 2rem; font-style: normal; }
.contact-action.is-pulsed { animation: contact-pulse .58s ease-out 1; }
@keyframes contact-pulse { 45% { transform: scale(1.03); box-shadow: 0 0 90px rgba(13,190,233,.22); } }
.contact-checklist { max-width: 850px; margin: 55px auto 0; }
.contact-checklist p { color: var(--steel); font: .68rem Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.contact-checklist ul { display: flex; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.contact-checklist li { padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

.site-footer { border-top: 1px solid var(--line); background: #081015; }
.footer-inner { display: grid; min-height: 190px; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-brand { display: grid; gap: 12px; }
.footer-inner img { width: 150px; height: 58px; object-fit: contain; object-position: left center; }
.footer-inner address { margin: 0; color: var(--steel); font-size: .78rem; font-style: normal; line-height: 1.55; }
.footer-inner address a { min-height: 0; padding: 0; color: inherit; }
.footer-inner address a:hover { color: var(--text); }
.footer-inner p { margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-inner a { min-height: 48px; padding: 12px 0; color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .container { width: min(calc(100% - 48px), var(--container)); }
  .site-header { padding-inline: 24px; }
  .brand { width: 140px; }
  .menu-button { position: relative; z-index: 102; display: flex; align-items: center; gap: 10px; cursor: pointer; }
  .menu-button i, .menu-button i::before, .menu-button i::after { display: block; width: 22px; height: 1px; background: var(--text); content: ""; transition: transform .3s ease, opacity .3s ease; }
  .menu-button i::before { transform: translateY(-7px); }
  .menu-button i::after { transform: translateY(6px); }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { transform: translateY(0) rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { transform: translateY(-1px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 101; inset: 0; display: flex; padding: 118px 28px 38px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: rgba(8,16,21,.98); transform: translateX(100%); transition: transform .4s cubic-bezier(.22,.75,.2,1); }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .site-nav .nav-cta { margin-top: 28px; padding: 14px 20px; font-size: 1rem; }
  .section-heading, .products-heading, .quality-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 32px; }
  .expertise-grid { margin-top: 80px; grid-template-columns: 1fr; }
  .expertise-route { display: none; }
  .expertise-card { min-height: 280px; }
  .flow-layout { grid-template-columns: 1fr; }
  .flow-stage { display: none; }
  .flow-step { min-height: auto; padding: 42px 0 22px; opacity: 1; }
  .products-heading { gap: 12px; }
  .products-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-rail { display: none; }
  .quality-media { display: none; }
  .quality-copy { padding-top: 30px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  h1 { font-size: clamp(3.25rem, 16vw, 5.1rem); }
  h2 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .section { padding-block: 58px; }
  .hero-media img { object-position: 67% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(11,19,24,.98), rgba(11,19,24,.7)), linear-gradient(0deg, var(--bg), transparent 34%); }
  .hero-ribbons { opacity: .34; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .hero-steps { margin-top: 60px; flex-direction: column; }
  .hero-steps li { width: 100%; }
  .hero-steps li:not(:last-child) { margin-right: 0; }
  .scroll-cue { display: none; }
  .expertise-card { padding: 28px; }
  .flow-step h3 { font-size: 2.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card > div { padding: 24px 22px 26px; }
  .quality { padding-block: 58px; }
  .contact { min-height: 850px; }
  .contact-action { min-height: 122px; padding: 20px; }
  .contact-action span { font-size: 1.08rem; }
  .contact-checklist ul { align-items: center; flex-direction: column; }
  .footer-inner { padding-block: 50px; grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .footer-inner img { object-position: center; }
  .footer-brand { justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

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

html.motion-reduced { scroll-behavior: auto; }
html.motion-reduced *, html.motion-reduced *::before, html.motion-reduced *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
html.motion-reduced .js [data-reveal], html.motion-reduced [data-reveal] { opacity: 1; transform: none; }
html.motion-reduced .route-live, html.motion-reduced .contact-line { stroke-dashoffset: 0 !important; }
html.motion-reduced .scan-line, html.motion-reduced .flow-scan-line { right: 0; left: auto !important; }

@media (max-height: 719px) and (min-width: 1024px) {
  .flow-stage, .product-rail, .quality-media { position: relative; top: auto; }
  .flow-step { min-height: 360px; }
}
