/* Vanolee — homepage design study, version 2. Black, white, red. Oversized type. Rendered light. */

@font-face {
  font-family: 'Archivo';
  src: url('/public/fonts/archivo-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Chakra Petch';
  src: url('/public/fonts/chakra-petch-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #020202;
  --panel: #0a0b0d;
  --ink: #f4f4f5;
  --muted: #a3a5ab;
  --dim: #626570;
  --red: #ff1a1a;
  --red-pure: #ff0000;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --gutter: clamp(20px, 5vw, 88px);
  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-label: 'Chakra Petch', Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
i { font-style: normal; }
::selection { background: var(--red); color: #fff; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -120px; left: 16px; z-index: 100; background: #fff; color: #000; padding: 14px 18px; font: 500 12px var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; }
.skip:focus { top: 12px; }
.mark { width: 22px; height: 21px; fill: var(--red-pure); }

/* ------------------------------------------------------------------ type */
.kicker {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font: 500 11px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.kicker > span { color: var(--red); display: inline-flex; align-items: center; gap: 12px; }
.kicker > span::after { content: ''; width: 22px; height: 1px; background: var(--line-strong); }
.kicker > span:only-child::after { display: none; }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 500 11px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow-rule { width: 28px; height: 1px; background: var(--red); }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }

.display { font-size: clamp(64px, 10.4vw, 180px); line-height: 0.84; letter-spacing: -0.055em; font-weight: 850; text-transform: uppercase; }
.display.giant { font-size: clamp(60px, 11.5vw, 200px); }
.display-2 { font-size: clamp(38px, 5.4vw, 88px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 820; text-transform: uppercase; text-wrap: balance; }
.section-head h2 { max-width: 15ch; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--red); paint-order: stroke fill; }
@media (max-width: 700px) { .outline { -webkit-text-stroke-width: 1.4px; } }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; padding: 0 30px;
  font: 500 12px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--ease-out), border-color 0.25s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff3b3b; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.text-link {
  display: inline-flex; align-items: center; gap: 16px; padding: 10px 0;
  font: 500 11px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); transition: color 0.25s, border-color 0.25s;
}
.text-link i { color: var(--red); transition: transform 0.35s var(--ease-out); }
.text-link:hover { color: var(--red); border-color: var(--red); }
.text-link:hover i { transform: translate(3px, -3px); }
.pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border: 1px solid var(--line-strong);
  font: 500 12px/1 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease-out);
}
.pill span { color: var(--red); }
.pill i { color: var(--red); }
.pill:hover { border-color: var(--ink); background: var(--panel); transform: translateY(-2px); }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 84px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(2, 2, 2, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; font-size: 22px; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 34px; font: 500 11px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { position: relative; padding: 6px 0; color: var(--muted); transition: color 0.25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { color: var(--ink); }
.nav .nav-cta span { color: var(--red); margin-left: 6px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); align-items: center;
  padding: 108px var(--gutter) 84px;
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { margin: 34px 0 30px; }
.hero .line { display: block; width: max-content; max-width: none; overflow: hidden; padding: 0 0.08em 0.04em 0; margin-bottom: -0.04em; }
.hero .word { display: inline-block; transform: translateY(112%); animation: rise 1.1s var(--ease-out) forwards; }
.hero .line:nth-child(1) .word { animation-delay: 0.08s; }
.hero .line:nth-child(2) .word { animation-delay: 0.2s; }
.hero .line:nth-child(3) .word { animation-delay: 0.32s; }
@keyframes rise { to { transform: none; } }
.lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 460px; margin-bottom: 34px; }
.built { margin-top: 42px; display: flex; align-items: center; gap: 12px; font: 500 11px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.hero-copy > * { opacity: 0; animation: fade 1s var(--ease) forwards; }
.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > h1 { opacity: 1; animation: none; }
.hero-copy > .lede { animation-delay: 0.55s; }
.hero-copy > .actions { animation-delay: 0.7s; }
.hero-copy > .built { animation-delay: 0.9s; }
@keyframes fade { to { opacity: 1; } }

.stage {
  position: relative; z-index: 1; aspect-ratio: 1 / 1; width: min(100%, 92svh); justify-self: end;
  margin-right: calc(var(--gutter) * -0.6); touch-action: pan-y; cursor: grab; user-select: none;
  opacity: 0; animation: fade 1.6s var(--ease) 0.2s forwards;
}
.stage:active { cursor: grabbing; }
.stage-poster, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-canvas { opacity: 0; transition: opacity 0.8s var(--ease); }
.stage.is-ready .stage-canvas { opacity: 1; }
.stage::before, .stage::after { content: ''; position: absolute; pointer-events: none; z-index: 1; }
.stage::before { inset: 0 auto 0 0; width: 26%; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.stage::after { inset: auto 0 0 0; height: 22%; background: linear-gradient(0deg, var(--bg) 0%, transparent 100%); }
.stage-hud {
  position: absolute; z-index: 2; left: 8%; bottom: 7%; display: flex; gap: 28px; flex-wrap: wrap;
  font: 500 10px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}
.stage-hud b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.stage-hint {
  position: absolute; z-index: 2; right: 10%; top: 8%; display: flex; align-items: center; gap: 12px;
  font: 500 10px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  transition: opacity 0.6s var(--ease);
}
.stage-hint.is-hidden { opacity: 0; }
.hero-foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; z-index: 3; height: 66px;
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
}
.scroll-cue { color: var(--muted); display: inline-flex; align-items: center; gap: 14px; transition: color 0.25s; }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue span { color: var(--red); display: inline-block; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ----------------------------------------------------------------- sweep */
.sweep { position: relative; }
.sweep-track { height: 580vh; position: relative; }
.sweep-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.sweep-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sweep-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.82) 0%, rgba(2, 2, 2, 0.45) 30%, rgba(2, 2, 2, 0) 58%),
    linear-gradient(0deg, rgba(2, 2, 2, 0.7) 0%, rgba(2, 2, 2, 0) 34%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.6) 0%, rgba(2, 2, 2, 0) 22%);
}
.sweep-hud {
  position: absolute; left: var(--gutter); top: 104px; display: flex; gap: 30px;
  font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
}
.sweep-hud b { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.hud-loader { color: var(--red); transition: opacity 0.6s; }
.hud-loader.is-done { opacity: 0; }
.rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
}
.rail li { display: flex; align-items: center; gap: 12px; transition: color 0.4s; }
.rail li i { color: var(--red); opacity: 0.4; transition: opacity 0.4s; }
.rail li.is-active { color: var(--ink); }
.rail li.is-active i { opacity: 1; }
.rail .rail-fill { width: 1px; height: 150px; background: var(--line-strong); position: relative; margin: 0 8px 10px 0; }
.rail .rail-fill span { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--red); }
.beats { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12svh; height: 0; max-width: 600px; }
.beat { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); }
.beat.is-active { opacity: 1; transform: none; }
.beat .kicker { margin-bottom: 22px; }
.beat h3 { font-size: clamp(32px, 4.2vw, 66px); margin-bottom: 20px; }
.beat p { color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); max-width: 440px; }

.sweep-static { display: none; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 0 var(--gutter); }
.sweep-static figure { position: relative; }
.sweep-static figcaption {
  position: absolute; left: 24px; bottom: 20px; right: 24px; display: flex; gap: 14px; align-items: baseline;
  font: 500 11px/1.5 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.sweep-static figcaption span { color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .sweep-track { display: none; }
  .sweep-static { display: grid; }
}
.sweep-static-mode .sweep-track { display: none; }
.sweep-static-mode .sweep-static { display: grid; }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
  white-space: nowrap; padding-right: 0.5em;
  font-size: clamp(48px, 8vw, 132px); line-height: 1; letter-spacing: -0.04em; font-weight: 850; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.marquee span i { color: var(--red); -webkit-text-stroke: 0; padding: 0 0.25em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- sections */
.section { padding: clamp(84px, 10vw, 156px) var(--gutter); }
.section-head { display: grid; gap: 28px; max-width: 980px; margin-bottom: clamp(44px, 5vw, 72px); }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* services index */
.services-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.services-art { position: sticky; top: 108px; }
.services-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 82%, transparent), linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.services-art figcaption { margin-top: 14px; display: flex; align-items: center; gap: 12px; font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.rows { border-top: 1px solid var(--line-strong); }
.row { border-bottom: 1px solid var(--line-strong); }
.row > a { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 24px; padding: 34px 0 36px; position: relative; }
.row-num { grid-row: 1 / span 2; font: 500 12px/1 var(--font-label); letter-spacing: 0.2em; color: var(--red); padding-top: 0.55em; }
.row-title { font-size: clamp(40px, 5.2vw, 92px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 850; text-transform: uppercase; transition: color 0.35s var(--ease), transform 0.6s var(--ease-out); }
.row-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 22px; }
.row-body p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.row-body ul { display: grid; gap: 8px; font-size: 14px; }
.row-body li { display: flex; gap: 12px; align-items: baseline; }
.row-body li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }
.row-link { grid-column: 1 / -1; display: inline-flex; gap: 14px; align-items: center; font: 500 11px/1 var(--font-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.row-link i { color: var(--red); }
.row > a:hover .row-title, .row.is-open .row-title { color: var(--red); transform: translateX(10px); }
.row > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.row > a:hover::after, .row.is-open > a::after { transform: scaleX(1); }

/* own the stack: full-bleed statement */
.own { position: relative; overflow: hidden; isolation: isolate; min-height: 90svh; display: grid; align-items: end; }
.own-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.own::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(2, 2, 2, 0.15) 30%, rgba(2, 2, 2, 0.35) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(2, 2, 2, 0.65), rgba(2, 2, 2, 0) 55%); }
.own-inner { padding: clamp(120px, 16vw, 220px) var(--gutter) clamp(80px, 9vw, 130px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.own .line { display: block; }
.own-copy { display: grid; gap: 22px; max-width: 460px; }
.own-copy p { color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); }
.own-copy .text-link { justify-self: start; }

/* proof */
.proof { text-align: center; display: grid; justify-items: center; gap: 30px; }
.proof .kicker { justify-content: center; }
.proof-copy { color: var(--muted); max-width: 560px; font-size: clamp(15px, 1.15vw, 17px); }
.proof-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 8px; }

/* process: outlined numerals */
.process { border-top: 1px solid var(--line); }
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); margin-bottom: 60px; }
.gates li { border-top: 1px solid var(--line-strong); padding-top: 26px; display: grid; gap: 16px; position: relative; }
.gates li::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width 1.2s var(--ease-out); }
.gates.in li::before { width: 100%; }
.gates li:nth-child(2)::before { transition-delay: 0.25s; }
.gates li:nth-child(3)::before { transition-delay: 0.5s; }
.gate-num { display: block; font-size: clamp(88px, 11vw, 190px); line-height: 0.85; letter-spacing: -0.06em; font-weight: 900; margin: 6px 0 10px; }
.gates h3 { font-size: clamp(22px, 1.8vw, 30px); font-weight: 720; letter-spacing: -0.025em; }
.gates p { color: var(--muted); font-size: 15px; max-width: 360px; }

/* arc */
.arc { position: relative; min-height: min(72vh, 760px); display: grid; align-items: center; padding: 0 var(--gutter); overflow: hidden; isolation: isolate; }
.arc-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; z-index: -2; }
.arc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 2, 2, 0.9) 0%, rgba(2, 2, 2, 0.55) 40%, rgba(2, 2, 2, 0) 70%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.arc-copy { display: grid; gap: 24px; max-width: 560px; padding: clamp(96px, 10vw, 150px) 0; }
.arc-copy p { color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); }
.arc-copy .text-link { justify-self: start; }

/* cta */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(120px, 14vw, 220px) var(--gutter); }
.cta-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.85; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(2, 2, 2, 0.35) 40%, rgba(2, 2, 2, 0.35) 60%, var(--bg) 100%); }
.cta-inner { display: grid; justify-items: center; gap: 30px; }
.cta p { color: var(--muted); max-width: 520px; font-size: clamp(15px, 1.15vw, 17px); }
.cta .actions { justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; color: var(--muted); font-size: 14px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; max-width: 360px; }
.footer-brand .wordmark { color: var(--ink); font-size: 19px; }
.footer-tag { font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h4 { font: 500 10px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-col a { transition: color 0.25s; }
.footer-col a:hover { color: var(--red); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 16px; font: 500 10px/1.6 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
  .services-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 118px; padding-bottom: 96px; row-gap: 12px; }
  .stage { width: min(100%, 72svh); justify-self: center; margin-right: 0; }
  .stage::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .services-art { position: relative; top: auto; max-width: 520px; }
  .row-body { grid-template-columns: 1fr; }
  .own-inner { grid-template-columns: 1fr; }
  .gates { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .rail { top: auto; bottom: 14svh; transform: none; }
}
@media (max-width: 700px) {
  .header { height: 72px; }
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero h1 { margin: 26px 0 24px; }
  .hero-foot .hero-foot-tag { display: none; }
  .stage-hud { left: 4%; bottom: 3%; gap: 16px; }
  .stage-hint { right: 4%; top: 4%; }
  .sweep-hud { top: 86px; gap: 18px; }
  .rail { display: none; }
  .beats { bottom: 8svh; }
  .beat h3 br { display: none; }
  .row > a { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 26px 0 28px; }
  .sweep-static { grid-template-columns: 1fr; }
  .own { min-height: 70svh; }
  .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .word, .hero-copy > *, .stage { animation: none; opacity: 1; transform: none; }
  .scroll-cue span { animation: none; }
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gates li::before { width: 100%; transition: none; }
  .btn, .text-link i, .row-title { transition: none; }
}
/* Native-first fallback: no hidden content when the island fails or motion is off. */
.svg-definitions{position:absolute;width:0;height:0;overflow:hidden}.sweep-track{display:none}.sweep-static{display:grid}[data-reveal]{opacity:1;transform:none}.motion-enabled .sweep-track{display:block}.motion-enabled .sweep-static{display:none}.motion-enabled [data-reveal]:not(.in){opacity:0;transform:translateY(30px)}.sweep-canvas{object-fit:cover}.stage{touch-action:pan-y}.stage-hint{pointer-events:none}.motion-toggle{position:absolute;z-index:4;right:4%;bottom:8%;font:500 11px var(--font-label);color:#eee;background:#141414;border:1px solid #666;padding:12px;cursor:pointer}.stage-hud{pointer-events:none}body:not(.motion-enabled) .marquee-track,body:not(.motion-enabled) .scroll-cue span{animation:none}.mobile-menu{display:none}.mobile-menu summary{cursor:pointer;padding:12px;color:#fff}.mobile-menu>div{position:absolute;right:20px;top:72px;background:#111;border:1px solid #444;padding:16px;min-width:180px}.mobile-menu>div a{display:block!important;padding:12px}.footer-meta{color:#999}@media(max-width:700px){.mobile-menu{display:block}.hero{padding-top:96px}.hero .display{font-size:clamp(60px,19vw,100px)}.stage{max-width:420px}.motion-toggle{bottom:12%}}
/* Keep scroll-story copy legible over the bright stock frames. */
.beat:not(.is-active) { visibility: hidden; }
.beat.is-active { visibility: visible; }
@media (max-width: 700px) {
  .sweep-scrim { background: linear-gradient(0deg, #020202 0%, rgba(2,2,2,.88) 28%, rgba(2,2,2,.25) 62%, rgba(2,2,2,.65) 100%); }
  .sweep-hud, .beat p { color: #c6c6c6; }
}
/* Persistent canvas pixels stay visible while the next frame decodes. */
.stage-canvas { transition: none; }
.sweep-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.sweep-canvas { background:transparent; }
