/* =========================================================================
   ANC VISION — Cinematic scroll film
   Brand palette ONLY: #070912 #002C73 #0A52EF #03B8FF #FFFFFF
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-bg:        #070912;
  --c-navy:      #002C73;
  --c-blue:      #0A52EF;
  --c-cyan:      #03B8FF;
  --c-white:     #FFFFFF;

  /* derived */
  --c-blue-glow: rgba(10, 82, 239, 0.55);
  --c-cyan-glow: rgba(3, 184, 255, 0.55);
  --c-line:      rgba(255, 255, 255, 0.08);
  --c-line-2:    rgba(3, 184, 255, 0.14);
  --c-text-dim:  rgba(255, 255, 255, 0.62);
  --c-text-low:  rgba(255, 255, 255, 0.38);

  --font-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --hud-edge: clamp(16px, 2.4vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--c-bg);
  /* clip (not hidden) so sticky positioning keeps working relative to viewport.
     `overflow-x: hidden` would turn the viewport into a scroll container and
     break the hero/horizontal sticky stages. */
  overflow-x: clip;
}

body {
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* kill iOS rubber-band glow */
  overscroll-behavior-y: none;
}

::selection { background: var(--c-blue); color: var(--c-white); }

img { display: block; max-width: 100%; }

/* =========================================================================
   Film grain overlay (fixed, subtle)
   ========================================================================= */
.film-grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(6) infinite;
  will-change: transform;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2%, 1%); }
  40%  { transform: translate(1%, -2%); }
  60%  { transform: translate(-1%, 2%); }
  80%  { transform: translate(2%, -1%); }
  100% { transform: translate(0, 0); }
}

/* vignette to deepen edges */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8000;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* =========================================================================
   Scroll progress bar (thin, top)
   ========================================================================= */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: transparent;
  z-index: 9500;
}
.progress__fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-cyan) 100%);
  box-shadow: 0 0 12px var(--c-cyan-glow);
}

/* =========================================================================
   HUD chrome (corner elements)
   ========================================================================= */
.hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7000;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(9px, 1.05vw, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.hud__tl, .hud__tr, .hud__bl, .hud__br {
  position: absolute;
  padding: var(--hud-edge);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hud__tl { top: 0; left: 0; }
.hud__tr { top: 0; right: 0; }
.hud__bl { bottom: 0; left: 0; }
.hud__br { bottom: 0; right: 0; }

.hud__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
}
.hud__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: 0.04em;
  color: var(--c-white);
  line-height: 1;
}
.hud__divider {
  width: 1px;
  height: 14px;
  background: var(--c-line);
}
.hud__sub {
  color: var(--c-text-dim);
}
.hud__live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
}
.hud__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan), 0 0 16px var(--c-cyan-glow);
  animation: livePulse 1.6s var(--ease) infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.hud__clock { color: var(--c-white); font-variant-numeric: tabular-nums; }

.hud__br { color: var(--c-cyan); }

/* corner ticks (decorative film framing) */
.tick {
  position: fixed;
  width: 14px; height: 14px;
  z-index: 6900;
  pointer-events: none;
  opacity: 0.5;
}
.tick::before, .tick::after {
  content: "";
  position: absolute;
  background: var(--c-cyan);
}
.tick::before { width: 14px; height: 1px; }
.tick::after  { width: 1px; height: 14px; }
.tick--tl { top: 10px; left: 10px; }
.tick--tl::before { top: 0; left: 0; } .tick--tl::after { top: 0; left: 0; }
.tick--tr { top: 10px; right: 10px; }
.tick--tr::before { top: 0; right: 0; } .tick--tr::after { top: 0; right: 0; }
.tick--bl { bottom: 10px; left: 10px; }
.tick--bl::before { bottom: 0; left: 0; } .tick--bl::after { bottom: 0; left: 0; }
.tick--br { bottom: 10px; right: 10px; }
.tick--br::before { bottom: 0; right: 0; } .tick--br::after { bottom: 0; right: 0; }

/* =========================================================================
   ACT shell — sticky full-viewport stage
   ========================================================================= */
.act {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 6vw, 96px);
  overflow: hidden;
}
.act__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* section label (eyebrow) */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: clamp(16px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--c-cyan);
  box-shadow: 0 0 6px var(--c-cyan-glow);
}

/* reveal animation primitives */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }

/* =========================================================================
   ACT 01 — INTRO
   ========================================================================= */
#act-1 {
  background:
    radial-gradient(circle at 50% 60%, rgba(10, 82, 239, 0.10), transparent 60%),
    var(--c-bg);
}
.intro-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.6;
}
.intro-glow {
  position: absolute;
  width: clamp(420px, 60vw, 820px);
  height: clamp(420px, 60vw, 820px);
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--c-blue-glow) 0%, transparent 62%);
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
  animation: introPulse 6s var(--ease) infinite;
}
@keyframes introPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04); }
}
#act-1 .act__inner { text-align: center; }
.intro-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.intro-headline {
  font-weight: 900;
  font-size: clamp(44px, 10.5vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--c-white);
  max-width: 13ch;
  margin: 0 auto;
  text-wrap: balance;
}
.intro-headline .accent {
  color: var(--c-cyan);
  text-shadow: 0 0 40px var(--c-cyan-glow);
}
.intro-thesis {
  margin-top: clamp(28px, 4vw, 52px);
  font-weight: 800;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--c-text-dim);
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
}
.intro-scroll-cue {
  position: absolute;
  bottom: clamp(60px, 9vh, 110px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--c-text-low);
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.intro-scroll-cue__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--c-cyan), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  40%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================================
   HERO STAGE — LED assembly (ACT 02) — 400vh tall, sticky stage
   ========================================================================= */
.hero-section {
  position: relative;
  height: 440vh;          /* scroll length for the assembly */
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 44, 115, 0.35), transparent 65%),
    var(--c-bg);
}
/* faint grid behind the board */
.hero-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 64px) clamp(40px, 5vw, 64px);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}

/* the assembly caption (top of stage) */
.hero-caption {
  position: absolute;
  top: clamp(70px, 10vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  width: 90%;
}
.hero-caption .eyebrow { justify-content: center; margin-bottom: 14px; }
.hero-caption__headline {
  font-weight: 900;
  font-size: clamp(28px, 5.5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-white);
  text-wrap: balance;
}
.hero-caption__headline .accent { color: var(--c-cyan); }

/* the LED board itself */
.led-board {
  position: relative;
  width: min(820px, 86vw);
  aspect-ratio: 16 / 9;
  z-index: 3;
  perspective: 1400px;
}
.led-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(3, 184, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 30px 80px rgba(0,0,0,0.6);
}
/* module grid container */
.led-grid {
  position: absolute;
  inset: 4%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: clamp(4px, 0.8vw, 10px);
}
/* each LED module */
.led-module {
  position: relative;
  background: rgba(10, 82, 239, 0.06);
  border: 1px solid rgba(3, 184, 255, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  will-change: transform, opacity, background;
  transition: background 0.4s linear, box-shadow 0.4s linear;
}
/* pixel texture inside each module */
.led-module::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(3,184,255,0.10) 1px, transparent 1.4px);
  background-size: clamp(8px, 1.2vw, 12px) clamp(8px, 1.2vw, 12px);
  opacity: 0.6;
}
.led-module.is-lit {
  background: linear-gradient(135deg, rgba(10,82,239,0.55), rgba(3,184,255,0.35));
  box-shadow:
    0 0 18px rgba(3,184,255,0.45),
    inset 0 0 14px rgba(3,184,255,0.30);
}
.led-module.is-lit::before { opacity: 1; }

/* floating zone labels that attach as the board builds */
.zone-label {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(8px, 0.9vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cyan);
  opacity: 0;
  transform: translateY(6px);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 8px var(--c-cyan-glow);
  z-index: 6;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.zone-label.is-on { opacity: 1; transform: translateY(0); }

/* side rail labels on the finished board */
.board-readout {
  position: absolute;
  bottom: clamp(60px, 9vh, 110px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.board-readout.is-on { opacity: 1; }
.board-readout span b {
  color: var(--c-white);
  font-weight: 700;
}

/* =========================================================================
   ACT 03 — STAT SLAMS
   ========================================================================= */
#act-3 {
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 44, 115, 0.30), transparent 60%),
    var(--c-bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px);
}
.stat {
  position: relative;
  padding: clamp(20px, 2.6vw, 36px) clamp(8px, 1.2vw, 16px);
  border-top: 1px solid var(--c-line-2);
}
.stat__num {
  font-weight: 900;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--c-white);
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat__num .pre,
.stat__num .suf {
  color: var(--c-cyan);
  font-size: 0.55em;
  font-weight: 900;
  vertical-align: super;
  letter-spacing: 0;
  margin: 0 0.05em;
}
.stat__num .suf { vertical-align: baseline; font-size: 0.6em; }
.stat__label {
  margin-top: clamp(10px, 1.4vw, 18px);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.stat__num[data-glow] {
  text-shadow: 0 0 32px var(--c-blue-glow);
}

/* =========================================================================
   ACT 04 — HORIZONTAL INVENTORY PASS
   ========================================================================= */
.h-section { position: relative; }
.h-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 44, 115, 0.25), transparent 65%),
    var(--c-bg);
}
.h-header {
  position: absolute;
  top: clamp(60px, 9vh, 110px);
  left: clamp(24px, 6vw, 96px);
  right: clamp(24px, 6vw, 96px);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.h-title {
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-white);
}
.h-title .accent { color: var(--c-cyan); }
.h-hint {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-low);
  text-align: right;
  flex-shrink: 0;
}
.h-track {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
  padding: 0 clamp(24px, 6vw, 96px);
  will-change: transform;
}
.inv-card {
  position: relative;
  flex: 0 0 clamp(240px, 28vw, 360px);
  height: clamp(320px, 56vh, 460px);
  padding: clamp(20px, 2vw, 30px);
  background:
    linear-gradient(160deg, rgba(0, 44, 115, 0.22), rgba(7, 9, 18, 0.6));
  border: 1px solid rgba(3, 184, 255, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.inv-card::before {
  /* LED-grid visual */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: clamp(18px, 1.8vw, 26px) clamp(18px, 1.8vw, 26px);
  opacity: 0.5;
  pointer-events: none;
}
.inv-card__glow {
  position: absolute;
  width: 60%; height: 50%;
  bottom: -10%; right: -10%;
  background: radial-gradient(circle, var(--c-blue-glow), transparent 65%);
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
}
.inv-card__index {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.26em;
  color: var(--c-cyan);
  position: relative;
  z-index: 2;
}
.inv-card__visual {
  position: relative;
  z-index: 2;
  height: clamp(80px, 14vh, 120px);
  margin: clamp(14px, 2vw, 22px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inv-card__name {
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--c-white);
  position: relative;
  z-index: 2;
}
.inv-card__value {
  margin-top: clamp(10px, 1.4vw, 16px);
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.35;
  color: var(--c-text-dim);
  text-transform: none;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
}
.inv-card__bar {
  position: relative;
  z-index: 2;
  margin-top: clamp(14px, 2vw, 22px);
  height: 2px;
  width: 100%;
  background: var(--c-line);
}
.inv-card__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
  box-shadow: 0 0 8px var(--c-cyan-glow);
  transition: width 1.1s var(--ease);
}

/* mini LED visual per card — distinct shape per zone */
.mini-led { display: grid; gap: 3px; width: 100%; }
.mini-led i {
  background: rgba(3,184,255,0.10);
  border-radius: 1px;
  transition: background 0.4s linear, box-shadow 0.4s linear;
}
.mini-led i.on {
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  box-shadow: 0 0 6px var(--c-cyan-glow);
}
.mini-led--score { grid-template-columns: repeat(10, 1fr); grid-template-rows: repeat(4, 1fr); height: 60px; }
.mini-led--ribbon { grid-template-columns: repeat(20, 1fr); grid-template-rows: repeat(2, 1fr); height: 24px; }
.mini-led--fascia { grid-template-columns: repeat(18, 1fr); grid-template-rows: repeat(3, 1fr); height: 36px; }
.mini-led--endzone { grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(4, 1fr); height: 48px; }
.mini-led--tunnel { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(8, 1fr); height: 80px; }
.mini-led--retail { grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(5, 1fr); height: 56px; }

/* progress dots for horizontal pass */
.h-dots {
  position: absolute;
  bottom: clamp(50px, 7vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.h-dots i {
  width: 18px; height: 2px;
  background: var(--c-line);
  transition: background 0.3s linear, width 0.3s linear;
}
.h-dots i.active {
  width: 32px;
  background: var(--c-cyan);
  box-shadow: 0 0 6px var(--c-cyan-glow);
}

/* =========================================================================
   ACT 05 — CLOSE / CTA
   ========================================================================= */
#act-5 {
  background:
    radial-gradient(circle at 50% 40%, rgba(10, 82, 239, 0.18), transparent 60%),
    var(--c-bg);
  text-align: center;
  min-height: 100vh;
}
#act-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 64px) clamp(40px, 5vw, 64px);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.4;
}
.cta-headline {
  font-weight: 900;
  font-size: clamp(34px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--c-white);
  max-width: 14ch;
  margin: 0 auto;
  text-wrap: balance;
}
.cta-headline .accent {
  color: var(--c-cyan);
  text-shadow: 0 0 36px var(--c-cyan-glow);
}
.cta-sub {
  margin: clamp(24px, 3.5vw, 44px) auto 0;
  font-weight: 800;
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.4;
  color: var(--c-text-dim);
  max-width: 44ch;
  text-transform: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(16px, 1.8vw, 20px) clamp(28px, 3vw, 38px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
  background: linear-gradient(120deg, var(--c-blue), var(--c-cyan));
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(3,184,255,0.4),
    0 18px 50px rgba(10, 82, 239, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(3,184,255,0.6),
    0 24px 70px rgba(3, 184, 255, 0.5);
}
.cta-btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 700;
  transition: transform 0.4s var(--ease);
}
.cta-btn:hover::after { transform: translateX(6px); }

.cta-foot {
  margin-top: clamp(60px, 8vh, 100px);
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-low);
}
.cta-foot b { color: var(--c-cyan); font-weight: 500; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 768px) {
  .hero-section { height: 380vh; }
  .hero-caption { top: clamp(64px, 9vh, 90px); }
  .led-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hud__sub, .hud__divider { display: none; }
  .inv-card { flex: 0 0 78vw; height: clamp(300px, 60vh, 420px); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .intro-headline { font-size: clamp(40px, 14vw, 72px); }
  .stat__num { font-size: clamp(64px, 22vw, 120px); }
}

/* =========================================================================
   prefers-reduced-motion — clean static layout, no animation
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-grain { animation: none; opacity: 0.03; }
  .vignette { opacity: 0.5; }
  .hud__dot { animation: none; }
  .intro-glow { animation: none; opacity: 0.5; }
  .intro-scroll-cue__line { animation: none; transform: scaleY(1); }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* hero: assemble immediately */
  .led-module {
    opacity: 1 !important;
    transform: none !important;
  }
  .led-module.is-lit-static {
    background: linear-gradient(135deg, rgba(10,82,239,0.55), rgba(3,184,255,0.35));
    box-shadow: 0 0 18px rgba(3,184,255,0.45), inset 0 0 14px rgba(3,184,255,0.30);
  }
  .zone-label, .board-readout { opacity: 1 !important; transform: none !important; }
  /* horizontal pass: stack vertically instead of sticky horizontal */
  .h-section { height: auto !important; }
  .h-pin { position: static; height: auto; padding: clamp(80px, 12vh, 120px) 0; }
  .h-header { position: static; padding: 0 clamp(24px, 6vw, 96px) clamp(30px, 4vw, 50px); flex-direction: column; align-items: flex-start; gap: 12px; }
  .h-track {
    overflow-x: auto;
    transform: none !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
  }
  .inv-card { scroll-snap-align: start; }
  .inv-card__bar span { width: var(--bar-w, 70%) !important; }
  .h-dots { display: none; }
  .cta-btn { transform: none !important; }
  .cta-btn::after { transform: none !important; }
  .mini-led i.on-static {
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    box-shadow: 0 0 6px var(--c-cyan-glow);
  }
}

/* hide native scrollbar inside reduced-motion horizontal scroll for cleanliness */
@media (prefers-reduced-motion: reduce) {
  .h-track::-webkit-scrollbar { height: 4px; }
  .h-track::-webkit-scrollbar-thumb { background: var(--c-line-2); }
}
