/* USA Science - usasci.com */

@font-face { font-family: "USA Science Display"; src: url("../fonts/USAScienceDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "USA Science Display"; src: url("../fonts/USAScienceDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "USA Science Display"; src: url("../fonts/USAScienceDisplay-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "USA Science Display"; src: url("../fonts/USAScienceDisplay-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "USA Science Brand"; src: url("../fonts/USAScienceBrand-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --red: #D7192D;
  --red-dark: #B31224;
  --navy: #111B4B;
  --navy-2: #1A2660;
  --ti: #C5C9D0;
  --graphite: #17191D;
  --white: #FFFFFF;
  --mist: #F3F4F7;
  --muted: #5B6170;
  --display: "USA Science Display", "Arial Black", sans-serif;
  --body: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--white); color: var(--graphite);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.display {
  font-family: var(--display); font-weight: 700; font-kerning: normal;
  font-synthesis: none; letter-spacing: .01em; line-height: 1.02;
  font-feature-settings: "ss01" 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 16px/1 var(--body); border-radius: 4px; padding: 14px 22px;
  transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
  position: relative; overflow: hidden; cursor: pointer;
}
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgba(215,25,45,.7); }
.btn-red::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: transform .6s var(--ease);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-red:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-outline { border: 2px solid rgba(255,255,255,.55); color: #fff; }

/* ---------- Brand logo (artwork from the brand board, unchanged) ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 49px; width: auto; }
.site-header .brand-logo { animation: logo-in .9s var(--ease) both; }
@keyframes logo-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  transition: box-shadow .3s, height .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(17,27,75,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-weight: 500; font-size: 15.5px; color: var(--graphite); position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px); padding-top: var(--header-h);
  display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--navy);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; will-change: transform; container-type: size; }
/* The stage is the photo's cover box (3:2, anchored 62% / 60%), so the photo and the
   AR overlay drawn in photo pixels stay locked together through the camera move. */
.hero-stage {
  position: absolute; width: max(100cqw, 150cqh); height: max(100cqh, 66.667cqw);
  left: calc((100cqw - max(100cqw, 150cqh)) * .62); top: calc((100cqh - max(100cqh, 66.667cqw)) * .6);
  animation: kenburns 28s ease-in-out infinite alternate;
}
.hero-stage img { width: 100%; height: 100%; }
/* Scenes cut with a crossfade; without JS only the first (alpine) shows. */
.hero-stage { transition: opacity 1.4s ease, visibility 0s; }
.hero-stage[data-scene="urban"], .hero[data-scene="urban"] .hero-stage[data-scene="alpine"] { opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
.hero[data-scene="urban"] .hero-stage[data-scene="urban"] { opacity: 1; visibility: visible; transition: opacity 1.4s ease, visibility 0s; }
.hero-mist { transition: opacity 1.4s ease; }
.hero[data-scene="urban"] .hero-mist { opacity: 0; }

/* ---------- Hero AR overlay ---------- */
.hero-ar {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  --ar: #8FE3FF; --ar-dim: rgba(143,227,255,.35);
  font: 600 22px/1 var(--body); letter-spacing: .12em;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 46%), linear-gradient(0deg, #000 0 32%, transparent 40%);
          mask-image: linear-gradient(90deg, transparent 22%, #000 46%), linear-gradient(0deg, #000 0 32%, transparent 40%);
  opacity: 0; animation: ar-on 1.2s ease 1.1s forwards;
}
@keyframes ar-on { to { opacity: 1; } }
.hero-ar text { fill: #fff; paint-order: stroke; stroke: rgba(10,20,50,.55); stroke-width: 6px; }
.hero-ar text.sub { font-size: 18px; fill: var(--ar); letter-spacing: .1em; }
.hero-ar .g1 { fill: none; stroke: rgba(143,227,255,.10); stroke-width: 1.5; }
.ar-gridfill { animation: ar-grid 2.4s ease 1.2s both; }
@keyframes ar-grid { from { opacity: 0; } }
.ar-iso { fill: none; stroke: rgba(143,227,255,.16); stroke-width: 1.5; }
.ar-ridge {
  fill: none; stroke: var(--ar); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(143,227,255,.8));
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(.6,0,.2,1) 1.3s forwards;
}
.ar-peak circle { fill: none; stroke: var(--red); stroke-width: 3; }
.ar-peak path { stroke: #fff; stroke-width: 3; }
.ar-peak { animation: ar-pop .6s var(--ease) 3.4s both; }
@keyframes ar-pop { from { opacity: 0; } 40% { opacity: 1; } 55% { opacity: .3; } }
.hero-ar .clash { visibility: hidden; }
.ar-tag circle { fill: var(--red); }
.ar-tag path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; }

/* Layers: one shows at a time; the build-in plays each time a layer is shown. */
.ar-layer { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.ar-layer.on { opacity: 1; visibility: visible; transition: opacity .7s ease .15s, visibility 0s; }
.ar-layer .ar-tag { opacity: 0; }
.ar-layer.on .ar-tag { animation: fade-in .5s ease forwards; }
.ar-layer.on .ar-tag:nth-of-type(1) { animation-delay: .9s; }
.ar-layer.on .ar-tag:nth-of-type(2) { animation-delay: 1.3s; }
.ar-layer.on .ar-tag:nth-of-type(3) { animation-delay: 1.7s; }
@keyframes fade-in { to { opacity: 1; } }

/* Depth layer: the nearest part of the photo, cut out and moved a little against the
   camera drift, so the scene has parallax. Its top edge is where the cut-out starts. */
.hero-stage .plx { position: absolute; left: 0; width: 100%; top: 77.5%; transform-origin: 50% 100%; animation: plx 28s ease-in-out infinite alternate; pointer-events: none; }
.hero-stage[data-scene="urban"] .plx { top: 65.5%; }
.hero-stage .plx img { display: block; width: 100%; height: auto; }
@keyframes plx { from { transform: translate(1%, 0) scale(1.04); } to { transform: translate(-1.5%, .6%) scale(1.06); } }

/* Big readouts: live numbers beside the scene. */
.ar-big text { stroke-width: 8px; }
.ar-big .rb-l { font-size: 22px; fill: var(--ar); letter-spacing: .2em; }
.ar-big .rb-v { font-size: 50px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.rb-bar { fill: none; stroke: var(--ar); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(143,227,255,.9)); transform-box: fill-box; transform-origin: 50% 0; }
.ar-layer.on .rb-bar { animation: bar-grow .9s var(--ease) .3s both; }
@keyframes bar-grow { from { transform: scaleY(0); } }
.ar-layer.on .ar-big text { animation: type-in .5s steps(4) both; }
.ar-layer.on .ar-big text:nth-of-type(1), .ar-layer.on .ar-big text:nth-of-type(2) { animation-delay: .5s; }
.ar-layer.on .ar-big text:nth-of-type(3), .ar-layer.on .ar-big text:nth-of-type(4) { animation-delay: .8s; }
.ar-layer.on .ar-big text:nth-of-type(5), .ar-layer.on .ar-big text:nth-of-type(6) { animation-delay: 1.1s; }
@keyframes type-in { from { opacity: 0; } 50% { opacity: 1; fill: var(--ar); } }

/* Terrain mesh: a laser sweep lays a wireframe over the mountain. */
.tm-mesh path { fill: none; }
.tm-col, .tm-row { stroke: rgba(143,227,255,.6); stroke-width: 2; }
.tm-bold { stroke: var(--ar); stroke-width: 3; filter: drop-shadow(0 0 5px rgba(143,227,255,.9)); }
.tm-echo { opacity: 0; animation: echo 4.5s ease-out infinite; }
.tm-echo path { stroke: #fff; }
@keyframes echo { 0% { opacity: .55; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-70px); } }
.tm-dots circle { fill: #fff; filter: drop-shadow(0 0 4px #8FE3FF); animation: twinkle 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes twinkle { 50% { opacity: .2; } }
.tm-laser rect { fill: rgba(143,227,255,.22); }
.tm-laser path { fill: none; stroke: #fff; stroke-width: 5; filter: drop-shadow(0 0 10px #8FE3FF) drop-shadow(0 0 3px #fff); }
.tm-lock circle { fill: none; stroke: var(--red); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(215,25,45,.9)); }
.tm-lock .b { stroke: #fff; stroke-width: 3; stroke-dasharray: 26 18; transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
.ar-layer.on .tm-lock { animation: lock-in .7s var(--ease) 2.2s both; }
@keyframes lock-in { from { opacity: 0; transform: translate(1152px, 628px) scale(2.6); } 60% { opacity: 1; } to { transform: translate(1152px, 628px) scale(1); } }

/* Spectral scan: a band crosses the frame and leaves false colour behind it. */
.sp-veg { fill: rgba(80,240,160,.36); stroke: rgb(120,240,170); stroke-width: 2.5; }
.sp-rock { fill: rgba(255,150,70,.42); stroke: rgb(255,190,120); stroke-width: 2.5; }
.sp-snow { fill: rgba(170,120,255,.42); stroke: #fff; stroke-width: 2.5; }
.sp-veg, .sp-rock, .sp-snow { animation: hum 4s ease-in-out infinite; }
.sp-rock { animation-delay: -1.3s; } .sp-snow { animation-delay: -2.6s; }
@keyframes hum { 50% { fill-opacity: .55; } }
.sp-ice path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 3 13; animation: ice 1.6s linear infinite; animation-delay: calc(var(--k) * -.3s); filter: drop-shadow(0 0 4px #fff); }
@keyframes ice { to { stroke-dashoffset: -64; } }
.sp-band rect { fill: rgba(255,255,255,.2); }
.sp-band path { fill: none; stroke: #fff; stroke-width: 5; filter: drop-shadow(0 0 10px #B48CFF) drop-shadow(0 0 3px #fff); }

/* Flight path: the route draws, a pulse runs along it, the craft flies it with its sensor cone. */
.fl-glow { fill: none; stroke: rgba(143,227,255,.3); stroke-width: 18; stroke-linecap: round; filter: blur(6px); }
.fl-path { fill: none; stroke: var(--ar); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ar-layer.on .fl-path { animation: draw 2s cubic-bezier(.6,0,.2,1) .3s forwards; }
.fl-comet { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: .05; filter: drop-shadow(0 0 8px #fff); animation: comet 3.2s linear infinite; }
@keyframes comet { to { stroke-dashoffset: -.95; } }
/* Search pattern: the area to search (faint red, swath lanes dashed) and the swaths scanned (cyan), shaded under the sensor footprint as the craft passes. */
.fl-area { fill: rgba(255,70,70,.10); stroke: rgba(255,120,120,.55); stroke-width: 2; stroke-dasharray: 14 10; }
.fl-lanes { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-dasharray: 6 10; }
.ar-layer.on .fl-area, .ar-layer.on .fl-lanes { animation: fl-in .6s ease both .4s; }
@keyframes fl-in { from { opacity: 0; } }
.fl-scan { fill: rgba(143,227,255,.36); stroke: var(--ar); stroke-width: 3; }
.fl-craft .foot { fill: rgba(143,227,255,.28); stroke: var(--ar); stroke-width: 2; }
.fl-ticks { fill: none; stroke: rgba(143,227,255,.5); stroke-width: 2; stroke-dasharray: 6 8; }
.wp path { fill: rgba(10,20,50,.6); stroke: var(--ar); stroke-width: 3; }
.wp text { font-size: 20px; text-anchor: middle; fill: var(--ar); }
.ar-layer.on .wp { animation: fade-in .4s ease both; animation-delay: calc(.6s + var(--i) * .25s); }
.fl-craft .cone { fill: rgba(143,227,255,.12); stroke: rgba(143,227,255,.55); stroke-width: 2; stroke-dasharray: 4 10; animation: cone 1.4s ease-in-out infinite; }
@keyframes cone { 50% { fill: rgba(143,227,255,.32); } }
.fl-craft .ring { fill: none; stroke: var(--ar); stroke-width: 3; }
.fl-craft .body { fill: #fff; stroke: var(--red); stroke-width: 3; filter: drop-shadow(0 0 6px #fff); }

/* Wind and light: rays from the low sun, air streaming over the ridge from the right. */
.sun-rays path { fill: none; stroke: rgba(255,214,140,.32); stroke-width: 3; animation: ray 5s ease-in-out infinite; animation-delay: calc(var(--k) * -.7s); }
@keyframes ray { 50% { stroke: rgba(255,214,140,.08); } }
.sun-arc { fill: none; stroke: rgba(255,214,140,.75); stroke-width: 3; stroke-dasharray: 12 10; }
.wd-lines path { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 2; }
.wd-parts path { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0 64; animation: wd 2s linear infinite; animation-duration: calc(1.3s + var(--k) * .22s); filter: drop-shadow(0 0 4px #8FE3FF); }
.wd-parts .up { stroke: rgb(255,214,140); filter: drop-shadow(0 0 4px rgb(255,190,120)); }
@keyframes wd { to { stroke-dashoffset: 128; } } /* the paths run left to right; the air moves right to left */
.fz-line { fill: none; stroke: var(--ar); stroke-width: 5; stroke-dasharray: 1 12; stroke-linecap: round; }
.ar-layer.on .fz-line { animation: fade-in 1s ease .4s both; }
.wd-alt path { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; }
.wd-alt .ax { stroke: rgba(143,227,255,.55); }
.wd-alt .ref { stroke: rgba(255,255,255,.35); stroke-dasharray: 6 8; }
.wd-alt circle { fill: var(--red); }
.wd-alt text { font-size: 20px; }
.wd-alt text.hd { font-size: 15px; fill: var(--ar); letter-spacing: .14em; }
.ar-layer.on .wd-alt { animation: fade-in .8s ease .6s both; }

/* Times Square, scene geometry: street lines, the vanishing point, depth bands. */
.cr-band rect { fill: rgba(143,227,255,.07); stroke: rgba(143,227,255,.45); stroke-width: 2; }
.cr-band text { font-size: 26px; letter-spacing: .32em; fill: var(--ar); }
.ar-layer.on .cr-band { animation: band-in .8s ease both; animation-delay: calc(1.4s + var(--k) * .3s); }
@keyframes band-in { from { opacity: 0; } 35% { opacity: 1; filter: brightness(2.5); } }
.cr-trans { fill: none; stroke: rgba(143,227,255,.45); stroke-width: 2; }
.cr-rad path { fill: none; stroke: rgba(143,227,255,.55); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cr-facade path { fill: none; stroke: rgb(255,190,120); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px rgba(255,190,120,.8)); }
.ar-layer.on .cr-rad path { animation: undraw 1.4s cubic-bezier(.6,0,.2,1) both; animation-delay: calc(var(--k) * .05s); }
.ar-layer.on .cr-facade path { animation: undraw 1.2s cubic-bezier(.6,0,.2,1) both; animation-delay: calc(.3s + var(--k) * .12s); }
@keyframes undraw { from { stroke-dashoffset: 1; } }
.cr-vert { fill: none; stroke: rgba(255,190,120,.5); stroke-width: 2; stroke-dasharray: 8 10; }
.cr-horizon { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 30 14; opacity: .8; animation: hz 2.5s linear infinite; }
@keyframes hz { to { stroke-dashoffset: -88; } }
.cr-vp circle { fill: none; stroke: var(--red); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(215,25,45,.9)); }
.cr-vp .b { stroke: #fff; stroke-width: 3; stroke-dasharray: 18 12; transform-box: fill-box; transform-origin: center; animation: spin 7s linear infinite; }
.cr-vp path { fill: none; stroke: #fff; stroke-width: 3; }

/* Navigation (demo): a route on the street, the signs it reads light up one by one. */
.hero-ar { --nv: #5CFFC8; }
.nv-glow { fill: none; stroke: rgba(92,255,200,.3); stroke-width: 44; stroke-linecap: round; filter: blur(8px); }
.nv-line { fill: none; stroke: var(--nv); stroke-width: 6; stroke-dasharray: 26 18; animation: hz 1.4s linear infinite; }
.nv-route > path:not(.nv-glow):not(.nv-line) { fill: var(--nv); filter: drop-shadow(0 0 6px rgba(92,255,200,.9)); opacity: .25; animation: chase 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * .16s); }
@keyframes chase { 20% { opacity: 1; } 50% { opacity: .25; } }
.nv-sign { fill: rgba(92,255,200,.14); stroke: var(--nv); stroke-width: 4; filter: drop-shadow(0 0 6px rgba(92,255,200,.8)); }
.ar-layer.on .nv-sign { animation: sign-lit .7s ease both; animation-delay: calc(.6s + var(--i) * .35s); }
@keyframes sign-lit { from { opacity: 0; } 40% { opacity: 1; fill: rgba(255,255,255,.55); } }
.nv-plate rect, .nv-walk rect { fill: rgba(8,16,40,.78); stroke: var(--nv); stroke-width: 3; }
.nv-plate .lead, .nv-walk .lead { fill: none; stroke: var(--nv); stroke-width: 3; }
.nv-plate .k, .nv-walk .k { font-size: 20px; fill: var(--nv); stroke: none; letter-spacing: .2em; }
.nv-plate .v, .nv-walk .v { font-size: 40px; font-weight: 700; stroke: none; letter-spacing: .08em; }
.nv-walk .v { font-size: 30px; fill: var(--nv); animation: twinkle 1.2s steps(2) infinite; }
.ar-layer.on .nv-plate { animation: fade-in .5s ease 1.1s both; }
.ar-layer.on .nv-walk { animation: fade-in .5s ease 1.8s both; }
.nv-plate .lead.d, .nv-walk .lead.d { display: none; }
/* Desktop: the headline and the HUD cover the upper photo, so readouts and sign
   boxes move to the open strip under the lede (two readout rows only). */
@media (min-width: 821px) {
  .hero-ar .ar-big { transform: translate(830px, 1114px); }
  .hero-ar .ar-big .rb-v { font-size: 44px; }
  .hero-ar .ar-big text:nth-of-type(n+3) { transform: translateY(-16px); }
  .hero-ar .ar-big text:nth-of-type(n+5) { display: none; }
  .hero-ar .ar-big .rb-bar { scale: 1 .58; }
  .nv-plate .lead.m, .nv-walk .lead.m { display: none; }
  .nv-plate .lead.d, .nv-walk .lead.d { display: inline; }
  .nv-plate .box { transform: translate(120px, 380px); }
  .nv-walk .box { transform: translate(-360px, 90px); }
  /* Alpine: readouts sit on the right, on the open slope between the lede and the HUD. */
  .hero-stage[data-scene="alpine"] .hero-ar .ar-big { transform: translate(1320px, 1055px); }
}
@media (min-width: 1600px) {
  .hero-stage[data-scene="alpine"] .hero-ar .ar-big { transform: translate(1320px, 1095px); }
}
@media (min-width: 821px) and (max-width: 1099px) {
  /* The HUD is a short bar at the top here, so the right slope is free. */
  .hero-stage[data-scene="alpine"] .hero-ar .ar-big { transform: translate(1800px, 900px); }
}
/* Spectral keeps its third row (forest) on desktop, so it starts one row higher. */
@media (min-width: 821px) {
  .hero-ar .ar-layer[data-layer="spectral"] .ar-big text:nth-of-type(n+5) { display: inline; transform: translateY(-32px); }
  .hero-ar .ar-layer[data-layer="spectral"] .ar-big .rb-bar { scale: 1 .84; }
  .hero-stage[data-scene="alpine"] .hero-ar .ar-layer[data-layer="spectral"] .ar-big { transform: translate(1320px, 975px); }
}
@media (min-width: 1600px) {
  .hero-stage[data-scene="alpine"] .hero-ar .ar-layer[data-layer="spectral"] .ar-big { transform: translate(1320px, 1015px); }
}
@media (min-width: 821px) and (max-width: 1099px) {
  .hero-stage[data-scene="alpine"] .hero-ar .ar-layer[data-layer="spectral"] .ar-big { transform: translate(1800px, 820px); }
}
/* Desktop: thin the left shade where the readouts sit, below the lede. */
@media (min-width: 821px) {
  main .hero .hero-shade {
    -webkit-mask-image: radial-gradient(ellipse 18% 17% at 38% 78%, rgba(0,0,0,.3) 35%, #000 100%);
            mask-image: radial-gradient(ellipse 18% 17% at 38% 78%, rgba(0,0,0,.3) 35%, #000 100%);
  }
  main .hero[data-scene="urban"] .hero-shade {
    -webkit-mask-image: radial-gradient(ellipse 18% 17% at 38% 78%, rgba(0,0,0,.3) 35%, #000 100%), linear-gradient(0deg, rgba(0,0,0,.35) 0 12%, #000 24%);
            mask-image: radial-gradient(ellipse 18% 17% at 38% 78%, rgba(0,0,0,.3) 35%, #000 100%), linear-gradient(0deg, rgba(0,0,0,.35) 0 12%, #000 24%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}

/* Crowd density: a dot at each person's feet, contours where people gather. Counts only. */
.cd-c0 { fill: rgba(255,190,120,.10); stroke: rgba(255,190,120,.55); stroke-width: 2; }
.cd-c1 { fill: rgba(255,130,80,.16); stroke: rgba(255,130,80,.8); stroke-width: 2.5; }
.cd-c2 { fill: rgba(215,25,45,.24); stroke: var(--red); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(215,25,45,.8)); }
.cd-heat path { animation: hum 3s ease-in-out infinite; }
.ar-layer.on .cd-heat { animation: band-in 1.4s ease .9s both; }
.cd-box .px-box { stroke-width: 2.5; opacity: .75; }
.cd-p circle { fill: var(--ar); stroke: #fff; stroke-width: 3; }
.cd-p .r { fill: none; stroke: var(--ar); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: .5; animation: ring 2.6s ease-out infinite; animation-delay: calc(var(--i) * -.29s); }
.ar-layer.on .cd-p { animation: fade-in .3s ease both; animation-delay: calc(.4s + var(--i) * .08s); }

/* Detections are corner brackets. */
.px-box { fill: none; stroke: var(--ar); stroke-width: 3; stroke-linecap: square; filter: drop-shadow(0 0 4px rgba(143,227,255,.6)); }
.ar-layer.on .px-box { animation: box-in .6s var(--ease) both; }
.ar-layer.on .px-box:nth-child(3n+1) { animation-delay: .1s; } .ar-layer.on .px-box:nth-child(3n+2) { animation-delay: .3s; }
.ar-layer.on .px-box:nth-child(3n) { animation-delay: .5s; }

/* Object detection: a box per object, a chip with its name and what it reads. */
.od-people .px-box { stroke-width: 2; opacity: .45; filter: none; }
.od-area { fill: rgba(143,227,255,.06); stroke: rgba(143,227,255,.5); stroke-width: 1.5; stroke-dasharray: 6 8; }
.od-box { fill: none; stroke: var(--ar); stroke-width: 5; stroke-linecap: square; filter: drop-shadow(0 0 6px rgba(143,227,255,.8)); }
.od-tick { fill: none; stroke: var(--ar); stroke-width: 2; }
.od-chip rect { fill: rgba(8,14,36,.82); stroke: var(--ar); stroke-width: 2; }
.od-chip text { font-weight: 700; letter-spacing: .08em; }
.od-chip .k { font-size: 26px; fill: var(--ar); }
.od-chip .v { font-size: 30px; fill: #fff; }
.ar-layer .od-det { opacity: 0; }
.ar-layer.on .od-det { animation: od-in .5s var(--ease) both; animation-delay: calc(.3s + var(--i) * .18s); }
.ar-layer.on .od-box { animation: od-lock 2.4s ease-in-out infinite; animation-delay: calc(.3s + var(--i) * .18s); }
.ar-layer.on .od-area { animation: od-scan 1s ease both; animation-delay: calc(.3s + var(--i) * .18s); }
@keyframes od-in { 0% { opacity: 0; } 30% { opacity: 1; } 45% { opacity: .35; } 60%, 100% { opacity: 1; } }
@keyframes od-lock { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .55; } }
@keyframes od-scan { from { fill: rgba(143,227,255,.35); } }
@keyframes box-in { from { opacity: 0; } 40% { opacity: 1; stroke: #fff; } }
@keyframes ring { from { transform: scale(.3); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }

/* Cinematic open: letterbox bars part, a scan line sweeps the frame. */
.hero-letterbox i {
  position: absolute; left: 0; right: 0; z-index: 3; height: 13vh; background: #05080F; pointer-events: none;
  animation: bar-top 1.5s cubic-bezier(.7,0,.2,1) .35s forwards;
}
.hero-letterbox i:first-child { top: 0; }
.hero-letterbox i:last-child { bottom: 0; animation-name: bar-bottom; }
@keyframes bar-top { to { transform: translateY(-100%); } }
@keyframes bar-bottom { to { transform: translateY(100%); } }
.hero-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent 0, rgba(143,227,255,0) 40%, rgba(143,227,255,.22) 49%, #CFF4FF 50%, transparent 50.3%);
  background-size: 200% 100%; background-repeat: no-repeat;
}
.hero-scan.go { animation: scan 1.6s cubic-bezier(.5,0,.3,1); }
@keyframes scan { 0% { opacity: 1; background-position: 200% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -100% 0; } }

/* Pointer reticle with live photo coordinates and the surface class under it. */
.hero-reticle { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; --x: 50%; --y: 50%; }
.hero.aim .hero-reticle { opacity: 1; }
.hero-reticle .rx, .hero-reticle .ry { position: absolute; background: rgba(143,227,255,.28); }
.hero-reticle .rx { left: 0; right: 0; height: 1px; top: var(--y); }
.hero-reticle .ry { top: 0; bottom: 0; width: 1px; left: var(--x); }
.hero-reticle .rbox {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1.5px solid #8FE3FF; box-shadow: 0 0 12px rgba(143,227,255,.5);
  clip-path: polygon(0 0,30% 0,30% 2px,2px 2px,2px 30%,0 30%,0 70%,2px 70%,2px calc(100% - 2px),30% calc(100% - 2px),30% 100%,70% 100%,70% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) 70%,100% 70%,100% 30%,calc(100% - 2px) 30%,calc(100% - 2px) 2px,70% 2px,70% 0,100% 0,0 0);
}
.hero-reticle .rlabel {
  position: absolute; left: var(--x); top: var(--y); transform: translate(30px, 16px);
  font: 600 11px/1.5 var(--body); letter-spacing: .14em; color: #8FE3FF; white-space: nowrap;
  text-shadow: 0 1px 4px rgba(5,8,15,.9);
}
.hero-reticle .rlabel b { display: block; color: #fff; font-weight: 600; }

/* HUD */
.hero-hud {
  position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); top: calc(var(--header-h) + 36px);
  width: 300px; padding: 16px 18px 14px; color: #fff;
  background: rgba(8,14,36,.55); border: 1px solid rgba(143,227,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12.5px/1.5 var(--body);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  animation: fade-up .9s var(--ease) 1.9s both;
}
.hero-hud p { margin: 0; }
.hud-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8FE3FF; margin-bottom: 12px !important; }
.hud-time { margin-left: auto; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec 1.4s steps(1) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.hud-tabs { display: grid; gap: 2px; margin-bottom: 12px; }
.hud-tabs button {
  position: relative; display: flex; gap: 10px; align-items: center; width: 100%; padding: 7px 8px; overflow: hidden;
  border: 0; background: transparent; color: rgba(255,255,255,.6); text-align: left; cursor: pointer;
  font: 600 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; transition: color .2s, background .2s;
}
.hud-tabs button:hover { color: #fff; background: rgba(143,227,255,.08); }
.hud-tabs button[aria-pressed="true"] { color: #fff; background: rgba(143,227,255,.14); }
.hud-tabs .n { color: #8FE3FF; font-variant-numeric: tabular-nums; }
.hud-tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hud-tabs button[aria-pressed="true"] i { transform: scaleX(var(--p, 1)); }
.hud-body { border-top: 1px solid rgba(143,227,255,.2); padding-top: 12px; min-height: 132px; color: rgba(255,255,255,.82); }
.hud-panel:not([hidden]) { animation: fade-up .5s var(--ease) both; }
.hud-title { font-weight: 700; color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 4px !important; }
.hud-legend, .hud-list { list-style: none; margin: 10px 0 0; padding: 0; }
.hud-legend li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.hud-legend b { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; }
.sw { width: 12px; height: 12px; border: 1.5px solid; }
.sw-veg { border-color: rgb(120,240,170); background: rgba(80,240,160,.5); }
.sw-rock { border-color: rgb(255,190,120); background: rgba(255,150,70,.6); }
.sw-snow { border-color: #fff; background: rgba(170,120,255,.6); }
.sw-sky { border-color: rgba(255,255,255,.4); }
.sw-person { border-color: #8FE3FF; }
.hud-tabs[hidden] { display: none; }
.hud-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 10px; }
.hud-scenes button {
  padding: 6px 8px; border: 1px solid rgba(143,227,255,.25); background: transparent; color: rgba(255,255,255,.55); cursor: pointer;
  font: 600 10.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; text-align: left; transition: color .2s, background .2s, border-color .2s;
}
.hud-scenes button b { display: block; margin-top: 2px; font-size: 12px; color: inherit; }
.hud-scenes button:hover { color: #fff; }
.hud-scenes button[aria-pressed="true"] { color: #fff; border-color: #8FE3FF; background: rgba(143,227,255,.14); }
.hud-list { display: flex; flex-wrap: wrap; gap: 6px; }
.isa { display: block; width: 100%; height: auto; margin: 6px 0 0; overflow: visible; }
.isa-grid line { stroke: rgba(143,227,255,.16); stroke-width: 1; }
.isa-ax text { fill: rgba(255,255,255,.6); font-size: 9.5px; font-variant-numeric: tabular-nums; }
.isa-t { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.isa-fz { stroke: #8FE3FF; stroke-width: 1.5; stroke-dasharray: 2 4; }
.isa-note { fill: #8FE3FF; font-size: 10px; font-weight: 600; }
.hud-sub { margin-top: 8px !important; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.mix { display: flex; height: 8px; margin-top: 6px; border: 1px solid rgba(143,227,255,.35); }
.mix i, .sw-n2, .sw-o2, .sw-ar { background: var(--m); border-color: var(--m); }
.mx-n2, .sw-n2 { --m: rgba(143,227,255,.55); } .mx-o2, .sw-o2 { --m: #fff; } .mx-ar, .sw-ar { --m: rgb(255,190,120); }
.hud-key { display: flex; gap: 16px; margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(143,227,255,.18); }
.ln { width: 18px; height: 0; border-top: 2px dashed rgba(255,255,255,.75); }
.ln-fz { border-top: 2px dotted #8FE3FF; }
.hud-legend-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; margin-top: 6px; }
.hud-list li { border: 1px solid rgba(143,227,255,.35); padding: 2px 8px; font-size: 11.5px; color: #fff; }
.hud-ramp { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hud-ramp i { flex: 1; height: 8px; background: linear-gradient(90deg, rgba(120,230,170,.08), rgb(120,230,170)); border: 1px solid rgba(120,230,170,.6); }
.hud-note { margin-top: 12px !important; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,27,75,.92) 0%, rgba(17,27,75,.78) 30%, rgba(17,27,75,.25) 58%, rgba(17,27,75,0) 75%),
    linear-gradient(0deg, rgba(17,27,75,.55) 0%, rgba(17,27,75,0) 35%);
}
/* Times Square: thin the shade in the bottom strip, below the copy, so the caller on the phone shows. */
.hero[data-scene="urban"] .hero-shade {
  -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.35) 0 12%, #000 24%);
          mask-image: linear-gradient(0deg, rgba(0,0,0,.35) 0 12%, #000 24%);
}
.hero-mist { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-mist i {
  position: absolute; left: -30%; width: 160%; height: 40%; bottom: 4%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 62%);
  filter: blur(18px); animation: drift 46s linear infinite;
}
.hero-mist i:nth-child(2) { bottom: 16%; height: 30%; opacity: .7; animation-duration: 64s; animation-direction: reverse; }
.hero-mist i:nth-child(3) { bottom: -6%; height: 34%; opacity: .55; animation-duration: 82s; }
@keyframes drift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }

.hero-stripes { position: absolute; right: -40px; bottom: 56px; z-index: -1; width: 46%; max-width: 560px; }
.hero-stripes i {
  display: block; height: 10px; margin-top: 12px; margin-left: auto; background: var(--red);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: right; animation: stripe-in 1.1s var(--ease) both;
}
.hero-stripes i:nth-child(1) { width: 100%; animation-delay: .9s; }
.hero-stripes i:nth-child(2) { width: 78%; animation-delay: 1.02s; }
.hero-stripes i:nth-child(3) { width: 56%; animation-delay: 1.14s; background: var(--ti); }
@keyframes stripe-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-content { position: relative; padding-top: 40px; padding-bottom: 120px; }
.eyebrow {
  font: 600 13px/1 var(--body); letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 26px;
}
.eyebrow b, .panel-tag b, .footer-tag b { color: var(--red); font-weight: 700; padding: 0 .35em; }
.hero h1 {
  /* colour face: red A inset and red SCIENCE stripe; other layers take the text colour */
  font-family: "USA Science Brand", var(--display);
  font-feature-settings: "calt" 1; /* explicit: Chrome drops calt when letter-spacing is set */
  font-size: clamp(44px, 7.4vw, 92px); text-transform: uppercase; line-height: 1;
  text-shadow: 0 2px 30px rgba(17,27,75,.35);
}
.hero h1 .line { display: block; overflow: hidden; padding: .3em 48px .06em; margin: -.3em -48px 0; } /* room so the text-shadow is not clipped to a box */
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: var(--d); }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
.hero-rule {
  display: block; width: 96px; height: 5px; background: var(--red); margin: 26px 0 24px;
  transform-origin: left; animation: stripe-in .8s var(--ease) .7s both;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; color: rgba(255,255,255,.92); margin-bottom: 34px; }
.reveal-load { animation: fade-up .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
  animation: fade-up 1s var(--ease) 1.4s both;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #E6E8EE; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  display: block; text-align: center; padding: 44px 24px 40px; position: relative;
  transition: background .3s;
}
.pillar + .pillar::before {
  content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: #DADDE4;
}
.pillar::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 3px; margin-left: -32px;
  background: var(--red); transform: scaleX(0); transition: transform .35s var(--ease);
}
.pillar:hover { background: var(--mist); }
.pillar:hover::after { transform: scaleX(1); }
.pillar h2 { font: 700 18px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 14px 0 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; margin: 0 auto; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.icon .draw { stroke-dasharray: 200; stroke-dashoffset: 200; }
.pillar.in .icon .draw { animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--d) + .2s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.icon-gear .gear { transform-origin: 24px 24px; transform-box: view-box; }
.pillar:hover .icon-gear .gear { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.kicker {
  font: 700 13px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.kicker.light { color: #fff; }
.kicker.light::before { background: var(--red); }
h2.display { font-size: clamp(34px, 4.2vw, 54px); color: var(--navy); margin-bottom: 22px; }

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about-copy > p { font-size: 18px; color: #343844; max-width: 34em; }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.values li { display: flex; align-items: baseline; gap: 12px; font-size: 17px; }
.values b { color: var(--navy); }
.dot { width: 10px; height: 10px; flex: none; transform: translateY(-1px) skewX(-18deg); }
.dot.red { background: var(--red); } .dot.navy { background: var(--navy); } .dot.ti { background: var(--ti); }

.about-panel {
  position: relative; aspect-ratio: 5 / 4; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--mist) 100%);
  border: 1px solid #E3E6EC;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding-bottom: 56px;
  box-shadow: 0 30px 60px -34px rgba(17,27,75,.45);
}
.panel-mark { width: 72%; height: auto; position: relative; z-index: 1; }
.about-panel.in .panel-mark { animation: float 6s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.panel-tag { font: 600 11px/1.7 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); margin: 0; position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.panel-stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; }
.panel-stripes i {
  position: absolute; right: 0; height: 6px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(105%); transition: transform 1.2s var(--ease);
}
.panel-stripes i:nth-child(1) { bottom: 40px; width: 62%; background: var(--red); }
.panel-stripes i:nth-child(2) { bottom: 26px; width: 48%; background: var(--navy); transition-delay: .15s; }
.panel-stripes i:nth-child(3) { bottom: 12px; width: 34%; background: var(--ti); transition-delay: .3s; }
.about-panel.in .panel-stripes i { transform: none; }

.capabilities { padding: 110px 0 120px; background: var(--mist); overflow: hidden; }
.capabilities::before {
  content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 38%;
  background: linear-gradient(115deg, transparent 0 40%, rgba(197,201,208,.35) 40% 52%, transparent 52% 60%, rgba(197,201,208,.22) 60% 66%, transparent 66%);
  pointer-events: none;
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.card {
  background: #fff; border-radius: 6px; padding: 38px 32px 36px; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(17,27,75,.06), 0 20px 40px -32px rgba(17,27,75,.45);
}
.js .card.reveal { transition: opacity .8s var(--ease), transform .45s var(--ease), box-shadow .45s; transition-delay: var(--d, 0s), 0s, 0s; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(17,27,75,.06), 0 30px 50px -30px rgba(17,27,75,.55); }
.card:hover::before { transform: scaleX(1); }
.card-num { font-family: var(--display); font-weight: 700; font-size: 40px; color: var(--ti); line-height: 1; display: block; margin-bottom: 22px; }
.card h3 { font: 700 21px/1.25 var(--body); color: var(--navy); margin-bottom: 12px; }
.card p { color: #4A4F5C; margin: 0; }

/* ---------- Industry Technology ---------- */
.industry { padding: 120px 0; background: #fff; }
.ind-head { max-width: 920px; margin-bottom: 48px; }
.ind-2 { display: block; color: var(--red); }
.ind-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.ind-lead { font-size: clamp(21px, 2vw, 25px); line-height: 1.45; font-weight: 600; color: var(--navy); padding-left: 24px; border-left: 4px solid var(--red); margin: 0; }
.ind-body p { font-size: 17px; line-height: 1.7; color: #343844; margin: 0 0 1.1em; }
.ind-body p:last-child { margin-bottom: 0; }
.ind-quote { margin: 64px 0 0; padding: 36px 0 0; border-top: 1px solid var(--ti); font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; color: var(--navy); max-width: 30em; }
@media (max-width: 1099px) { .ind-grid { grid-template-columns: 1fr; gap: 32px; } .industry { padding: 88px 0; } .ind-quote { margin-top: 48px; } }

.cta { background: var(--navy); color: #fff; padding: 110px 0; overflow: hidden; }
.cta h2.display { color: #fff; }
.cta p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 32em; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-stripes { position: absolute; left: -60px; top: 40px; width: 40%; }
.cta-stripes i { display: block; height: 10px; margin-bottom: 12px; background: rgba(215,25,45,.9); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.cta-stripes i:nth-child(1) { width: 100%; opacity: .14; }
.cta-stripes i:nth-child(2) { width: 80%; opacity: .1; }
.cta-stripes i:nth-child(3) { width: 60%; opacity: .07; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--muted); padding: 40px 0; font-size: 14px; border-top: 4px solid var(--red); }
.site-footer .brand-logo { height: 42px; }
.footer-tag { color: var(--navy); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-tag { margin: 0; letter-spacing: .2em; text-transform: uppercase; font-size: 11.5px; font-weight: 600; }
.footer-meta { margin: 0; }
.footer-meta a { color: inherit; text-underline-offset: .2em; }
.footer-meta a:hover { color: var(--red, #D7192D); }
.footer-credit { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--muted); opacity: .85; }
.footer-credit a { color: inherit; text-underline-offset: .2em; }
.footer-credit a:hover { color: var(--red, #D7192D); }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .hero-hud { width: auto; padding: 10px 12px; top: calc(var(--header-h) + 14px); }
  .hud-head { margin-bottom: 8px !important; }
  .hud-tabs { grid-auto-flow: column; margin: 0; gap: 4px; }
  .hud-tabs button { padding: 6px 8px; }
  .hud-tabs button .t { display: none; }
  .hud-tabs button[aria-pressed="true"] .t { display: inline; }
  .hud-body, .hud-note { display: none; }
  .hud-scenes { margin-bottom: 6px; }
  .hud-scenes button { padding: 4px 8px; }
  .hud-scenes button b { display: inline; margin: 0 0 0 4px; font-size: 10.5px; }
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .hero-stripes { width: 60%; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 24px; box-shadow: 0 20px 30px -20px rgba(17,27,75,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #EEF0F4; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; }
  /* Phones and tablets: the copy first, then the photo whole at 3:2 with its overlay,
     then the full analysis panel, so the scene reads and every control has a name. */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-content { order: 1; padding-top: 44px; padding-bottom: 36px; }
  .hero-media { order: 2; position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; transform: none !important; }
  .hero-stage { animation: none; transform: none; }
  .hero-ar { -webkit-mask-image: none; mask-image: none; }
  /* Callout text would be a few pixels high at this scale; the panel below names what is marked. */
  .hero-ar .wd-alt, .hero-ar .ar-tag, .hero-ar .ar-peak, .hero-ar .wp text, .hero-ar .od-chip, .hero-ar .od-tick { display: none; }
  /* The readouts stay, enlarged about their own corner so the numbers read on a phone. */
  .hero-ar .ar-big { scale: 1.7; transform-box: view-box; transform-origin: 1330px 330px; }
  .hero-stage[data-scene="urban"] .hero-ar .ar-big { transform-origin: 1140px 400px; }
  .hero-ar .ar-big .rb-l { font-size: 30px; }
  .hero-ar .nv-plate .k, .hero-ar .nv-walk .k { font-size: 26px; }
  .hero-shade, .hero-mist, .hero-scan, .hero-letterbox, .hero-stripes, .scroll-cue { display: none; }
  .hero-hud {
    order: 3; position: relative; inset: auto; width: auto; display: block; padding: 14px 16px 18px;
    background: #0B1330; border: 0; border-top: 1px solid rgba(143,227,255,.28); clip-path: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 13.5px;
  }
  .hud-head { margin-bottom: 12px !important; }
  .hud-scenes { margin-bottom: 10px; }
  .hud-scenes button { padding: 9px 10px; }
  .hud-scenes button b { display: block; margin: 2px 0 0; font-size: 12px; }
  .hud-tabs { display: flex; gap: 6px; margin: 0 -16px 12px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  .hud-tabs::-webkit-scrollbar { display: none; }
  .hud-tabs[hidden] { display: none; }
  .hud-tabs button { flex: none; width: auto; gap: 6px; padding: 10px 12px; border: 1px solid rgba(143,227,255,.25); font-size: 11.5px; }
  .hud-tabs button .t { display: inline; }
  .hud-body { display: block; min-height: 168px; }
  .hud-note { display: block; }
  .about, .capabilities, .cta { padding: 80px 0; }
}
/* Glass data cards: on phones the layer's numbers sit on the photo itself, in the
   open part of the frame (sky when the mountain is the subject, the slope when the
   sky is). Desktop keeps the SVG readouts and hides these. */
.ar-card { display: none; }
@media (max-width: 820px) {
  .hero-ar .ar-big { display: none; }
  .ar-card {
    display: block; position: absolute; z-index: 2; pointer-events: none; overflow: hidden;
    width: clamp(140px, 37cqw, 240px); padding: clamp(7px, 1.9cqw, 13px) clamp(9px, 2.5cqw, 15px);
    color: #fff; font: 600 clamp(9.5px, 2.4cqw, 13px)/1.15 var(--body);
    background: linear-gradient(140deg, rgba(14,28,70,.46), rgba(8,16,40,.18));
    -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(143,227,255,.30); border-radius: 3px;
    box-shadow: 0 10px 28px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14), 0 0 18px -6px rgba(143,227,255,.35);
    opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .45s ease, transform .45s var(--ease);
  }
  .ar-card.on { opacity: 1; transform: none; transition-delay: .45s; }
  .ar-card[data-at="tl"] { left: clamp(10px, 3cqw, 20px); top: clamp(10px, 3cqw, 20px); }
  .ar-card[data-at="tr"] { right: clamp(10px, 3cqw, 20px); top: clamp(10px, 3cqw, 20px); }
  .ar-card[data-at="bl"] { left: clamp(10px, 3cqw, 20px); bottom: clamp(10px, 3cqw, 20px); }
  .ar-card[data-at="br"] { right: clamp(10px, 3cqw, 20px); bottom: clamp(10px, 3cqw, 20px); }
  /* Corner ticks and a scan sweep that crosses the card as it opens. */
  .ar-card::before {
    content: ""; position: absolute; inset: 3px; pointer-events: none;
    background:
      linear-gradient(#8FE3FF, #8FE3FF) 0 0 / 10px 2px, linear-gradient(#8FE3FF, #8FE3FF) 0 0 / 2px 10px,
      linear-gradient(#8FE3FF, #8FE3FF) 100% 100% / 10px 2px, linear-gradient(#8FE3FF, #8FE3FF) 100% 100% / 2px 10px;
    background-repeat: no-repeat;
  }
  .ar-card::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(143,227,255,.28), transparent); opacity: 0;
  }
  .ar-card.on::after { animation: ac-sweep 1.1s ease .6s both; }
  @keyframes ac-sweep { from { left: -40%; opacity: 1; } to { left: 110%; opacity: 1; } }
  .ac-h {
    display: flex; align-items: center; gap: .6em; margin: 0 0 .55em; padding-bottom: .5em;
    border-bottom: 1px solid rgba(143,227,255,.22);
    color: #8FE3FF; font-size: .92em; letter-spacing: .2em; text-transform: uppercase;
  }
  .ac-h i { flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); animation: twinkle 1.6s steps(2) infinite; }
  .ar-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; }
  .ar-card li { display: grid; gap: .1em; }
  .ar-card li span { display: flex; align-items: center; gap: .5em; color: rgba(205,238,255,.72); font-size: .86em; letter-spacing: .14em; text-transform: uppercase; }
  .ar-card li b { font-size: 1.38em; font-weight: 700; letter-spacing: .03em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 2px rgba(4,10,30,.6), 0 0 10px rgba(143,227,255,.3); }
  .ar-card.on li { animation: ac-row .4s ease both; }
  @keyframes ac-row { from { opacity: 0; transform: translateX(-4px); } }
  .ar-card.on li:nth-child(1) { animation-delay: .7s; } .ar-card.on li:nth-child(2) { animation-delay: .85s; } .ar-card.on li:nth-child(3) { animation-delay: 1s; }
  .ac-sw { flex: none; width: .9em; height: .9em; border: 1.5px solid; border-radius: 1px; }
  .ac-snow { border-color: #fff; background: rgba(170,120,255,.75); }
  .ac-rock { border-color: rgb(255,190,120); background: rgba(255,150,70,.7); }
  .ac-veg { border-color: rgb(120,240,170); background: rgba(80,240,160,.6); }
  .ac-scan { border-color: rgb(143,227,255); background: rgba(143,227,255,.55); }
  .ac-left { border-color: rgba(255,120,120,.9); border-style: dashed; background: rgba(255,70,70,.18); }
  .ac-mix { width: clamp(150px, 40cqw, 250px); }
  .ac-mix ul { grid-template-columns: 1fr 1fr; column-gap: 1em; row-gap: .25em; }
  .ac-mix li { display: flex; align-items: center; gap: .4em; }
  .ac-mix li span { gap: .35em; letter-spacing: .04em; text-transform: none; color: rgba(205,238,255,.85); }
  .ac-mix li b { margin-left: auto; font-size: .98em; }
  .ac-mix .ac-sw { width: .75em; height: .75em; }
  .ac-mix .mix { margin: .1em 0 .5em; height: .5em; }
  .ac-mix .ac-note { margin: .45em 0 0; font-size: .78em; letter-spacing: .12em; text-transform: uppercase; color: rgba(205,238,255,.6); }
  .ar-card.on.ac-mix { transition-delay: .9s; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .brand-logo { height: 38px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  .fl-craft { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-stage { animation: none; transform: scale(1.06); }
  .hero-letterbox, .hero-scan { display: none; }
  .ar-layer, .ar-layer.on .ar-tag { transition: none; }
  .hero-stage .plx { animation: none; transform: scale(1.04); }
  html { scroll-behavior: auto; }
}
