/* Nightline Launch — o03 */
:root {
  --ink: #070b12;
  --ink-2: #0c1220;
  --ink-3: #141c2d;
  --cream: #f2e8da;
  --cream-dim: rgba(242, 232, 218, 0.66);
  --muted: rgba(242, 232, 218, 0.5);
  --ember: #f08a4b;
  --ember-soft: #f7b98a;
  --line: rgba(242, 232, 218, 0.14);
  --line-strong: rgba(242, 232, 218, 0.28);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 24px;
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; color: var(--ember-soft); }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 1px solid var(--ember); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); }
.label { color: var(--ember-soft); margin-bottom: 18px; }
.small { font-size: 11px; letter-spacing: 0.1em; }
.muted { color: var(--muted); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.98;
}
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.9rem); }
.h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.05; }
.lede { font-size: clamp(1.02rem, 1.2vw, 1.2rem); color: var(--cream-dim); max-width: 36ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 15px; font-weight: 500;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--ember-soft); }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(242, 232, 218, 0.08); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-large { padding: 20px 34px; font-size: 17px; }
.arrow { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 18px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  transition: transform 0.6s var(--ease), background 0.6s var(--ease);
}
.nav.is-scrolled { background: rgba(7, 11, 18, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; letter-spacing: 0.01em; }
.nav-links { margin-left: auto; display: flex; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--cream-dim); transition: color 0.3s; }
.nav-links a:hover { color: var(--cream); }
.nav > .btn { margin-left: 0; }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; position: relative; }
.menu-toggle span:not(.sr) { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--cream); transition: transform 0.5s var(--ease); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 44px; line-height: 1.1; }
.mobile-menu .btn { align-self: flex-start; margin-top: 12px; }

/* Grain + cursor */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay; }
.grain canvas { width: 100%; height: 100%; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor * { cursor: none !important; }
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px;
    border-radius: 50%; background: var(--cream);
    transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background 0.4s;
    mix-blend-mode: difference;
  }
  .cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--cream); }
  .cursor-label {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); opacity: 0; transition: opacity 0.3s; white-space: nowrap;
  }
  .cursor.is-big .cursor-label { opacity: 1; }
}

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; clip-path: inset(0 0 0 0 round 0px); }
.hero-video {
  position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none;
  object-fit: cover; object-position: 62% 60%;
  filter: saturate(0.92) contrast(1.04);
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.82) 0%, rgba(7, 11, 18, 0.36) 46%, rgba(7, 11, 18, 0) 72%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.7) 0%, rgba(7, 11, 18, 0) 32%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.45) 0%, rgba(7, 11, 18, 0) 22%);
}
.light-leak {
  position: absolute; top: -20%; bottom: -20%; left: -40%; width: 46%;
  background: radial-gradient(ellipse at center, rgba(240, 138, 75, 0.28) 0%, rgba(240, 138, 75, 0.08) 42%, transparent 70%);
  mix-blend-mode: screen; opacity: 0.55;
  transform: skewX(-14deg);
  animation: leak 13s var(--ease) infinite;
  pointer-events: none;
}
@keyframes leak {
  0% { transform: translateX(0) skewX(-14deg); opacity: 0; }
  12% { opacity: 0.6; }
  50% { opacity: 0.25; }
  70% { transform: translateX(260%) skewX(-14deg); opacity: 0.5; }
  100% { transform: translateX(260%) skewX(-14deg); opacity: 0; }
}
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--cream-dim); border-style: solid; border-width: 0; opacity: 0.7; }
.crop.tl { top: 88px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.crop.tr { top: 88px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.crop.bl { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.crop.br { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-copy {
  position: absolute; z-index: 2; bottom: 14vh;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: min(700px, calc(100vw - 2 * var(--gutter)));
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 26px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(240, 138, 75, 0.18); }
.hero-title { font-size: clamp(3.4rem, 6.6vw, 7.4rem); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 28px; }
.hero-title em { color: var(--ember-soft); }
.hero .lede { margin-bottom: 34px; color: rgba(242, 232, 218, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.countdown {
  position: absolute; z-index: 2; top: 96px; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  text-align: right; padding: 16px 0 0; min-width: 240px;
  border-top: 1px solid var(--line-strong);
}
.countdown .label { margin-bottom: 8px; }
.count { font-size: 18px; color: var(--cream); letter-spacing: 0.04em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.countdown .small { color: var(--muted); }
.scroll-cue { position: absolute; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--cream-dim); }

/* Stats */
.stats { border-bottom: 1px solid var(--line); background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 40px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding-right: 20px; border-left: 1px solid var(--line); padding-left: 20px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .label { margin: 0; }
.num { font-family: var(--serif); font-size: clamp(2.4rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.num small { font-size: 0.5em; margin-left: 2px; color: var(--ember-soft); }
.cap { font-size: 14px; color: var(--muted); max-width: 24ch; }

/* Manifesto */
.manifesto { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 12vw, 180px); }
.manifesto-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 6vw; align-items: end; }
.manifesto-copy { padding-top: 10vh; }
.h2.fill-text { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.04; }
.fill-text .w { color: rgba(242, 232, 218, 0.16); transition: color 0.2s; }
.fill-text .w.on { color: var(--cream); }
.media-card { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); }
.media-card video { width: 100%; height: 100%; object-fit: cover; }
.media-card.tall { aspect-ratio: 4 / 5; }
.media-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; filter: brightness(1.7) contrast(1.05); }
.media-card figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--cream-dim); }
.media-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

/* Section head */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 6vw; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.section-head .h2 { grid-column: 1; }
.section-head .muted { grid-column: 2; max-width: 40ch; margin: 0; justify-self: end; }
.section-head .label + .h2 { margin-top: 0; }

/* Manifest table */
.manifest { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(96px, 12vw, 160px); }
.table { border-top: 1px solid var(--line-strong); }
.tr { display: grid; grid-template-columns: 1.1fr 1.6fr 1.6fr 0.9fr 0.9fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; }
.tr.th { color: var(--muted); padding-top: 14px; padding-bottom: 14px; font-size: 11px; }
.tr .name { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--cream); }
.st { justify-self: start; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; }
.st.open { color: #9fd3a8; }
.st.full { color: var(--ember-soft); }
.st.wait { color: var(--muted); }

/* Window pinned */
.window { position: relative; height: 320vh; background: var(--ink); }
.window-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.window-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: saturate(0.9); }
.window-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 18, 0.9) 0%, rgba(7, 11, 18, 0.45) 55%, rgba(7, 11, 18, 0.2) 100%), linear-gradient(0deg, rgba(7,11,18,.7), transparent 40%); }
.window-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.window-stages { position: relative; min-height: 200px; max-width: 620px; margin-top: 8px; }
.stage { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.stage.is-on { opacity: 1; transform: none; }
.stage .small { display: block; color: var(--ember-soft); margin-bottom: 14px; }
.stage .h3 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1; }
.window-meter { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 18px; color: var(--cream-dim); }
.window-meter .small { min-width: 130px; }
.meter { flex: 1; height: 1px; background: var(--line-strong); position: relative; }
.meter span { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--ember); transform-origin: left center; transform: scaleX(0); }

/* Patches gallery */
.patches { position: relative; height: 300vh; background: var(--ink-2); }
.patches-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 40px; }
.patches-sticky .section-head { margin-bottom: 40px; }
.patches-sticky .section-head .label { margin-bottom: 14px; }
.patch-track { display: flex; gap: 3vw; padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); will-change: transform; }
.patch {
  flex: 0 0 auto; width: min(420px, 74vw); aspect-ratio: 4 / 5;
  position: relative; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px;
}
.patch:nth-child(even) { background: var(--ink-3); }
.patch svg { width: 100%; height: auto; max-height: 62%; color: var(--cream); }
.patch .mono { color: var(--cream-dim); display: flex; justify-content: space-between; gap: 10px; }
.patch h3 { font-family: var(--serif); font-size: 40px; line-height: 1; margin-top: 10px; }
.patch-meta { display: flex; justify-content: space-between; align-items: end; }

/* Services stacked */
.services { padding-top: clamp(110px, 14vw, 200px); padding-bottom: clamp(96px, 12vw, 180px); }
.services-head { margin-bottom: clamp(48px, 6vw, 80px); }
.services-head .h2 { margin-top: 0; }
.stack { position: relative; }
.stack-card {
  position: sticky; top: calc(18vh + var(--i) * 26px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 5vw; align-items: stretch;
  min-height: 48vh; margin-bottom: 12vh; padding: clamp(28px, 4vw, 52px);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  transform-origin: 50% 0;
}
.stack-card:nth-child(1) { background: #111a2b; }
.stack-card:nth-child(2) { background: #16213a; }
.stack-card:nth-child(3) { background: #1b2540; }
.stack-copy { grid-column: 1; grid-row: 1; }
.stack-copy p:not(.label) { color: var(--cream-dim); margin: 22px 0 0; max-width: 44ch; }
.stack-fig { grid-column: 2; grid-row: 1; margin: 0; color: var(--cream); border: 1px solid var(--line); background: rgba(7, 11, 18, 0.45); display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 240px; }
.stack-fig svg { width: 100%; height: auto; max-height: 300px; }
.svg-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; fill: var(--cream-dim); stroke: none; }
.stack-card .specs { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-strong); }
.stack-card .specs > div { padding: 16px 16px 0 0; }
.stack-card .specs dt { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.stack-card .specs dd { margin: 8px 0 0; color: var(--cream); font-family: var(--serif); font-size: 22px; line-height: 1.15; letter-spacing: 0; text-transform: none; }
.stack-card .label { margin-bottom: 16px; }
.stack-card .h3 { margin: 0; }

/* Pricing */
.pricing { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(96px, 12vw, 160px); }
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-top: 1px solid var(--line-strong); }
.calc-input { padding: 48px 48px 48px 0; border-right: 1px solid var(--line); }
.calc-input .label { margin-bottom: 8px; }
.calc-value { font-size: clamp(5rem, 11vw, 9.5rem); line-height: 0.9; margin: 12px 0 28px; font-variant-numeric: lining-nums; }
.calc-value small { font-size: 0.32em; color: var(--ember-soft); margin-left: 6px; }
.calc input[type="range"] { width: 100%; accent-color: var(--ember); margin: 0 0 10px; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 28px; }
.calc-input .muted { max-width: 46ch; }
.calc-total { padding: 48px 0 48px 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.calc-total .label { margin: 0; }
.total { font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: 1; color: var(--cream); }
.calc-total .small { color: var(--muted); margin-bottom: 14px; }
.calc-total .small span { color: var(--cream-dim); }

/* Quote */
.quote { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.quote-bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 30% 50%; z-index: -2; filter: saturate(0.8) brightness(0.72); will-change: transform; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,11,18,0.88) 0%, rgba(7,11,18,0.35) 60%, rgba(7,11,18,0.2) 100%); }
.quote-inner { padding-top: 14vh; padding-bottom: 14vh; }
.quote-text { font-size: clamp(2.3rem, 5.2vw, 5.4rem); line-height: 1.02; max-width: 17ch; margin: 0 0 28px; font-style: italic; }
.quote .mono.label { margin-bottom: 26px; }

/* FAQ */
.faq { padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(96px, 12vw, 160px); }
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6vw; align-items: start; }
.faq-grid .label { margin-bottom: 18px; }
.accordion { border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { position: relative; flex: 0 0 22px; height: 22px; }
.accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--cream); transition: transform 0.5s var(--ease); }
.accordion summary i::after { transform: rotate(90deg); }
.accordion details[open] summary i::after { transform: rotate(0deg); }
.accordion details p { padding: 0 0 28px; max-width: 58ch; color: var(--cream-dim); }

/* Closing */
.closing { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.closing-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; z-index: -2; filter: saturate(0.9); }
.closing-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,11,18,0.85) 0%, rgba(7,11,18,0.4) 55%, rgba(7,11,18,0.25) 100%), linear-gradient(0deg, rgba(7,11,18,0.85) 0%, rgba(7,11,18,0) 50%); }
.closing-inner { padding-top: 12vh; padding-bottom: 12vh; text-align: left; }
.closing-inner .lede { margin-bottom: 40px; }
.closing-title { font-size: clamp(4rem, 11vw, 11rem); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 28px; }

/* Footer */
.footer { padding-top: 96px; padding-bottom: 36px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 72px; }
.footer-name { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 12px; }
.footer-brand .muted { max-width: 46ch; margin: 0; }
.footer-links { display: flex; gap: 28px; align-items: start; flex-wrap: wrap; }
.footer-links a { color: var(--cream-dim); font-size: 15px; transition: color 0.3s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line); }

/* Scroll-in helpers (JS sets initial state) */
.media-card video, .hero-video { backface-visibility: hidden; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav > .btn { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .media-card.tall { aspect-ratio: 16 / 11; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .muted { grid-column: 1; justify-self: start; }
  .calc { grid-template-columns: 1fr; }
  .calc-input { border-right: 0; padding-right: 0; }
  .calc-total { padding-left: 0; padding-bottom: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; min-height: auto; }
  .stack-copy, .stack-fig { grid-column: 1; grid-row: auto; }
  .stack-card .specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .hero { min-height: 680px; }
  .hero-video { object-position: 72% 60%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 11, 18, 0.94) 0%, rgba(7, 11, 18, 0.72) 42%, rgba(7, 11, 18, 0.1) 75%),
      linear-gradient(180deg, rgba(7, 11, 18, 0.7) 0%, rgba(7, 11, 18, 0) 22%);
  }
  .hero-copy { left: var(--gutter); right: var(--gutter); bottom: 12vh; width: auto; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.2rem); }
  .countdown { top: 84px; left: var(--gutter); right: auto; text-align: left; min-width: 0; }
  .countdown .label, .countdown .small { display: none; }
  .count { font-size: 13px; }
  .crop { display: none; }
  .scroll-cue { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding-top: 32px; padding-bottom: 32px; gap: 28px 0; }
  .stat { padding-left: 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { padding-right: 0; }
  .manifesto { padding-top: 88px; }
  .h2.fill-text { font-size: clamp(2rem, 8vw, 2.6rem); }
  .tr { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 18px 0; }
  .tr.th { display: none; }
  .tr span:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .tr .name { font-size: 24px; }
  .tr span:nth-child(3) { grid-column: 1 / -1; color: var(--cream-dim); }
  .tr span:nth-child(5) { justify-self: end; }
  .window-video { object-position: 68% 60%; }
  .window-stages { min-height: 230px; }
  .window-meter { bottom: 6vh; }
  .window-meter .small { min-width: 0; }
  .patch-track { padding-right: var(--gutter); }
  .patch { width: 78vw; padding: 20px; }
  .patch h3 { font-size: 34px; }
  .stack-card { top: calc(14vh + var(--i) * 14px); margin-bottom: 8vh; padding: 26px 22px; }
  .calc-input { padding-top: 32px; }
  .calc-value { font-size: 5.6rem; }
  .calc-total { padding-top: 0; }
  .quote-text { font-size: clamp(2rem, 9vw, 2.9rem); max-width: 100%; }
  .quote-bg { object-position: 40% 50%; }
  .accordion summary { font-size: 1.45rem; }
  .closing-title { font-size: clamp(3.4rem, 17vw, 5rem); }
  .btn-large { padding: 17px 26px; font-size: 16px; }
  .footer-top { margin-bottom: 48px; }
  .media-card figcaption { font-size: 10px; right: 12px; }
}

/* Reduced motion: static, no pins, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  .light-leak, .grain { animation: none !important; display: none !important; }
  .window, .patches { height: auto; }
  .window-sticky, .patches-sticky { position: relative; height: auto; padding: 120px 0; }
  .stage { position: relative; display: none; }
  .stage.is-on, .stage:first-child { display: block; opacity: 1; transform: none; }
  .window-meter { display: none; }
  .patch-track { flex-wrap: wrap; }
  .fill-text .w { color: var(--cream); }
  .stack-card { position: relative; top: auto; margin-bottom: 24px; min-height: auto; }
  .hero-video { transform: none !important; }
}
