/* ------------------------------------------------------------------
   Two worlds, one page.
   NIGHT (them): near-black, Geist Mono, static, one highlight: red.
   DAY   (us):   snow/white, PP Mori + Hauora, clean, one highlight: blue.
   The page moves STATIC → SIGNAL → EVIDENCE → CLARITY; overlays fade
   out as the visitor scrolls toward "The signal clears".
------------------------------------------------------------------- */
@font-face { font-family: "PP Mori"; src: url(PPMori-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hauora"; src: url(Hauora-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hauora"; src: url(Hauora-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --n-bg: #070707;
  --n-surface: #101010;
  --n-line: rgba(239, 237, 234, 0.14);
  --n-ink: #efedea;          /* dirty white */
  --n-body: rgba(239, 237, 234, 0.74);
  --n-mute: rgba(239, 237, 234, 0.52);
  --red: #ff453a;            /* phosphor: warnings, REC, matches, ✕ */

  --d-bg: #f4f4f4;           /* light grey */
  --d-surface: #ffffff;
  --d-ink: #080a10;          /* pd-midnight */
  --d-body: #5b4e52;
  --d-mute: #7d7377;
  --d-line: #e4e4e4;
  --blue: #008cff;           /* CTAs and links only */

  --display: "PP Mori", "Helvetica Neue", Arial, sans-serif;
  --text: "Hauora", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --tape: "Courier New", Courier, monospace;

  --wrap: 1200px;
  --gut: clamp(22px, 5.5vw, 72px);
  --fold: clamp(80px, 11vh, 128px);   /* one vertical rhythm for every fold */
  --h1: clamp(34px, 6.6vw, 96px);     /* every page's H1, one size */
  --static: 0.07;            /* global grain, driven by scroll */
  --scan: 0.32;              /* global scanlines, driven by scroll */
  --noise: none;             /* noise tile, generated at load */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--n-bg); color: var(--n-body); font: 400 16px/1.6 var(--mono); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.day :focus-visible { outline-color: var(--blue); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- labels / type ---------- */
.lbl { font: 500 11px/1.3 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--n-mute); }
.lbl.red, .red { color: var(--red); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; margin-right: 8px; }
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.n-h { font: 600 clamp(40px, 8.2vw, 112px)/0.92 var(--display); letter-spacing: -0.035em; text-transform: uppercase; color: var(--n-ink); text-wrap: balance; }
h1.n-h { font-size: var(--h1); }
.n-h2 { font: 600 clamp(34px, 6vw, 80px)/0.95 var(--display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--n-ink); text-wrap: balance; }
.n-sub { font: 400 clamp(16px, 1.7vw, 19px)/1.55 var(--text); color: var(--n-body); max-width: 56ch; }
.n-sub strong { color: var(--n-ink); font-weight: 500; }
.sec-tag { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.sec-tag .num { color: var(--red); }

/* ---------- global overlays (never more than ~8% over text) ---------- */
.ov { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.ov-grain { overflow: hidden; opacity: var(--static); mix-blend-mode: screen; }
.ov-grain::before, .tv-static::before, .burst::before, .cam-static::before, .clear-static::before, .ex-static::before {
  content: ""; position: absolute; inset: -60%;
  background-image: var(--noise); background-size: 160px 160px;
  animation: grain 0.42s steps(4) infinite;
}
/* paint containment keeps animated noise clipped to its box (overflow + radius alone leaks on some mobile GPUs) */
.ov-grain, .tv-static, .burst, .cam-static, .clear-static, .ex-static { contain: paint; }
.screen { clip-path: inset(0 round 14px); }
.ov-scan { opacity: var(--scan); background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,0.38) 2px 3px); }
.ov-flick { background: #fff; opacity: 0; }
.ov-flick.on { animation: flick 160ms steps(2) 1; }
@keyframes flick { 0% { opacity: 0.035; } 50% { opacity: 0; } 100% { opacity: 0.02; } }
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-7%, 4%); }
  50% { transform: translate(5%, -6%); } 75% { transform: translate(-3%, 8%); } 100% { transform: translate(8%, 2%); }
}
.burst { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; overflow: hidden; background: #111; }
.burst::before { background-size: 220px 220px; image-rendering: pixelated; }
.burst.on { animation: burst 230ms steps(3) 1; }
@keyframes burst { 0% { opacity: 0.92; } 40% { opacity: 0.75; transform: translateX(-6px); } 70% { opacity: 0.55; transform: translateX(4px); } 100% { opacity: 0; } }

/* ---------- glitch on headline entrance (< 450ms, once) ---------- */
.gl.go { animation: gl 420ms steps(1) 1; }
@keyframes gl {
  0%   { transform: translateX(0);   text-shadow: 3px 0 rgba(255,69,58,.85), -3px 0 rgba(0,210,230,.7); clip-path: inset(0 0 55% 0); }
  15%  { transform: translateX(-7px); text-shadow: -4px 0 rgba(255,69,58,.85), 4px 0 rgba(0,210,230,.7); clip-path: inset(30% 0 20% 0); }
  30%  { transform: translateX(5px);  clip-path: inset(0 0 0 0); }
  45%  { transform: translateX(-2px); text-shadow: 2px 0 rgba(255,69,58,.6), -2px 0 rgba(0,210,230,.5); }
  65%  { transform: translateX(1px);  text-shadow: none; }
  100% { transform: none; text-shadow: none; clip-path: none; }
}

/* ---------- site nav ---------- */
.chrome { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); padding-top: env(safe-area-inset-top, 0); background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease-out, border-color .25s ease-out, color .25s; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; color: var(--n-ink); text-decoration: none; white-space: nowrap; }
.brandmark .dot { margin-right: 0; }
.navlinks { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.navlinks a { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--n-mute); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.navlinks a:hover { color: var(--n-ink); }
.navlinks a[aria-current="page"] { color: var(--n-ink); border-bottom-color: var(--red); }
.navlinks .soon { color: var(--red); letter-spacing: .1em; }
.chrome a.cta-mini { white-space: nowrap; font: 600 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--blue); border: 1px solid var(--blue); padding: 10px 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--n-line); color: var(--n-ink); font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 10px 12px; cursor: pointer; }
.chrome.lite { background: var(--d-bg); border-color: var(--d-line); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.chrome.lite .brandmark { color: var(--d-ink); }
.chrome.lite .brandmark .dot { background: var(--d-ink); animation: none; }
.chrome.lite .navlinks a { color: var(--d-mute); }
.chrome.lite .navlinks a:hover, .chrome.lite .navlinks a[aria-current="page"] { color: var(--d-ink); }
.chrome.lite .navlinks a[aria-current="page"] { border-bottom-color: var(--d-ink); }
.chrome.lite .menu-btn { color: var(--d-ink); border-color: var(--d-line); }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; margin-left: auto; }
  .chrome .cta-mini { display: none; }
  .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gut) 20px; background: #070707; border-bottom: 1px solid var(--n-line); }
  .chrome.open .navlinks { display: flex; }
  .navlinks a { font-size: 13px; padding: 16px 0; border-bottom: 1px solid var(--n-line); }
  .navlinks a[aria-current="page"] { border-bottom-color: var(--n-line); color: var(--red); }
  .navlinks .cta-in-menu { display: block; margin-top: 16px; text-align: center; color: #fff; background: var(--blue); border: 0; padding: 16px; }
  .chrome.lite .navlinks { background: var(--d-bg); border-color: var(--d-line); }
  .chrome.lite .navlinks a { border-bottom-color: var(--d-line); }
}
@media (min-width: 901px) { .navlinks .cta-in-menu { display: none; } }
@media (max-width: 420px) { .brandmark { font-size: 16px; } }

/* =================================================================
   01 · TRANSMISSION
================================================================= */
.s01 { position: relative; padding: calc(56px + clamp(56px, 9vh, 104px)) 0 var(--fold); }
.s01 .head { display: grid; gap: 22px; margin-bottom: clamp(36px, 6vh, 56px); }
.s01 .bug { display: inline-flex; align-items: center; gap: 0; align-self: start; justify-self: start; background: #000; border: 1px solid var(--n-line); padding: 9px 14px; }
.s01 .n-sub { font-size: clamp(16px, 1.8vw, 20px); }

/* the television */
.tv { position: relative; margin: 0; background: linear-gradient(#1a1a1a, #0d0d0d); border: 1px solid #262626; border-radius: 22px; padding: clamp(8px, 1.4vw, 16px); box-shadow: 0 40px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06); }
.tv-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 8px 10px; }
.tv-bar.b { padding: 10px 8px 2px; }
.tv-bar .grp { display: flex; gap: 16px; align-items: center; }
.trk { display: inline-flex; gap: 3px; vertical-align: -1px; }
.trk i { width: 4px; height: 10px; background: var(--n-mute); opacity: .9; }
.trk i.off { opacity: .2; }
.screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px / 18px; background: #000; isolation: isolate; cursor: pointer; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.screen .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.62); transform: scale(1.02); }
.tv-static { position: absolute; inset: 0; overflow: hidden; opacity: .5; transition: opacity .25s; z-index: 2; pointer-events: none; }
.tv-static::before { background-size: 260px 260px; image-rendering: pixelated; animation-duration: .28s; }
.tv-band { position: absolute; left: 0; right: 0; height: 22%; top: 0; z-index: 3; pointer-events: none; background: linear-gradient(transparent, rgba(255,255,255,.07) 40%, rgba(255,255,255,.13) 50%, rgba(255,255,255,.07) 60%, transparent); animation: roll 5.5s linear infinite; }
@keyframes roll { from { transform: translateY(-120%); } to { transform: translateY(560%); } }
.tv-scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.42) 2px 3px); }
.tv-vig { position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 120px rgba(0,0,0,.85), inset 0 0 30px rgba(0,0,0,.6); border-radius: inherit; }
.tv-ui { position: absolute; inset: 0; z-index: 6; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(10px, 2.2vw, 24px); pointer-events: none; }
.tv-ui .tl, .tv-ui .bl { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chip { background: rgba(0,0,0,.82); padding: 7px 10px; font: 600 clamp(9px, 1vw, 11px)/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--n-ink); white-space: nowrap; }
.tv-mid { display: grid; place-items: center; align-content: center; gap: clamp(10px, 2vw, 22px); text-align: center; }
.tv-title { font: 900 clamp(30px, 7.4vw, 96px)/0.98 var(--tape); color: var(--red); letter-spacing: -0.01em; text-shadow: 3px 0 rgba(0,210,230,.35), -2px 0 rgba(255,69,58,.5), 0 0 24px rgba(255,69,58,.35); }
.play { pointer-events: auto; width: clamp(58px, 8vw, 92px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--n-ink); background: rgba(10,10,10,.88); display: grid; place-items: center; cursor: pointer; transition: transform .2s ease-out, background .2s; }
.play svg { width: 34%; margin-left: 8%; fill: var(--n-ink); }
.screen:hover .play { transform: scale(1.06); background: #000; }
.screen:hover .tv-static { opacity: .72; }
.screen:hover .tv-band { animation-duration: 1.6s; }
.screen .endcard { display: none; }
/* playing: static clears to a whisper so the film is easy to watch */
.tv[data-state="playing"] .tv-static, .tv[data-state="paused"] .tv-static { opacity: .05; }
.tv[data-state="playing"] .tv-scan, .tv[data-state="paused"] .tv-scan { opacity: .22; }
.tv[data-state="playing"] .tv-band { opacity: .25; }
.tv[data-state="playing"] .still, .tv[data-state="paused"] .still,
.tv[data-state="playing"] .tv-mid, .tv[data-state="paused"] .tv-mid,
.tv[data-state="playing"] .tv-ui, .tv[data-state="paused"] .tv-ui { display: none; }
.tv[data-state="playing"] .screen, .tv[data-state="paused"] .screen { cursor: default; }
.tv[data-state="ended"] .tv-mid .play, .tv[data-state="ended"] .tv-title, .tv[data-state="ended"] .tv-mid > .chip { display: none; }
.tv[data-state="ended"] .endcard { display: grid; gap: 14px; justify-items: center; pointer-events: auto; }
.endcard .big { font: 600 clamp(22px, 4vw, 44px)/1 var(--mono); letter-spacing: .04em; color: var(--n-ink); text-transform: uppercase; }
.btn-n { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; background: var(--n-ink); color: #0a0a0a; border: 0; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-n.ghost { background: transparent; color: var(--n-ink); border: 1px solid var(--n-line); }
.btn-n.redb { background: var(--red); color: #0a0a0a; }
.tv-note { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .tv { border-radius: 14px; }
  .tv-bar .hide-s, .tv-ui .hide-s { display: none; }
  .tv-ui .bl, .tv-mid > .chip { display: none; }
  .tv-ui { grid-template-rows: auto 1fr; }
  .tv-mid { gap: 10px; }
}

/* =================================================================
   CUT · 12 sellers. One story.
================================================================= */
.cut { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: var(--fold) var(--gut); position: relative; border-top: 1px solid var(--n-line); }
.cut .n-h { font-size: clamp(48px, 11vw, 168px); }
.cut .lbl { margin-bottom: 28px; display: block; }
.cut p.n-sub { margin: 28px auto 0; text-align: center; }

/* =================================================================
   02 · WHAT WE FOUND (evidence board)
================================================================= */
.s02 { padding: var(--fold) 0; }
.s02 .intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .s02 .intro { grid-template-columns: minmax(0, 1fr); } }
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--n-line); border: 1px solid var(--n-line); }
@media (max-width: 960px) { .files { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .files { grid-template-columns: minmax(0, 1fr); } }
.file { position: relative; background: var(--n-surface); padding: 22px; display: grid; gap: 18px; align-content: start; min-width: 0; transition: background .25s; }
.file:hover { background: #151515; }
.file .fhead { display: flex; justify-content: space-between; gap: 12px; }
.file h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.02 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--n-ink); }
.file p { font-size: 14.5px; line-height: 1.6; color: var(--n-body); }
.file .src { font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--n-mute); border-top: 1px dashed var(--n-line); padding-top: 12px; }
.file .src a { text-decoration-color: rgba(239,237,234,.3); text-underline-offset: 3px; }
.ex { position: relative; aspect-ratio: 16 / 9; background: #0a0a0a; border: 1px solid var(--n-line); overflow: hidden; display: grid; place-items: center; }
.ex-static { position: absolute; inset: 0; opacity: .07; overflow: hidden; pointer-events: none; transition: opacity .2s; }
.file:hover .ex-static { opacity: .2; }
.ex .ex-tag { position: absolute; left: 8px; top: 8px; z-index: 2; }
/* exhibit A: twelve sheets, one catalogue */
.sheets { position: relative; width: 62%; height: 72%; }
.sheets i { position: absolute; inset: 0; background: #e9e6e0; border: 1px solid #bbb; transform-origin: 50% 120%; transform: rotate(calc((var(--k) - 5.5) * 3.2deg)) translateY(calc(var(--k) * -1px)); box-shadow: 0 2px 6px rgba(0,0,0,.5); padding: 8% 9%; display: grid; align-content: start; gap: 7%; }
.sheets i::before { content: attr(data-s); font: 700 8px/1 var(--mono); letter-spacing: .14em; color: #222; }
.sheets i::after { content: ""; display: block; height: 58%; background: repeating-linear-gradient(to bottom, #1a1a1a 0 5px, transparent 5px 10px); background-size: 100% 10px; -webkit-mask: linear-gradient(90deg, #000 70%, transparent 70% 76%, #000 76%); mask: linear-gradient(90deg, #000 70%, transparent 70% 76%, #000 76%); opacity: .82; }
.sheets i:last-child { outline: 2px solid var(--red); outline-offset: 3px; }
/* exhibit B: the code */
.codes { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 16px; font: 600 clamp(14px, 1.6vw, 18px)/1 var(--mono); color: rgba(239,237,234,.25); letter-spacing: .08em; }
.codes span:nth-child(6) { color: var(--red); outline: 1px solid var(--red); outline-offset: 4px; }
/* exhibit C: same mistake, twelve times */
.lines { width: 78%; display: grid; gap: 7px; }
.lines div { display: grid; grid-template-columns: 22px 1fr 34px 1fr; gap: 8px; align-items: center; font: 600 8.5px/1 var(--mono); color: var(--n-mute); letter-spacing: .1em; }
.lines div b { height: 6px; background: rgba(239,237,234,.32); }
.lines div em { font-style: normal; color: var(--red); text-align: center; border: 1px solid var(--red); padding: 1px 0; }
/* exhibit D: no tests */
.checks { display: grid; gap: 8px; width: 70%; font: 600 clamp(11px, 1.15vw, 13px)/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--n-body); }
.checks div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--n-line); padding-bottom: 7px; }
.checks div span:last-child { color: var(--red); }
.paybig { font: 600 clamp(18px, 2.2vw, 26px)/1.2 var(--mono); color: var(--n-ink); letter-spacing: .06em; text-align: center; }
.chat { width: 70%; display: grid; gap: 8px; }
.chat div { font: 500 11px/1.4 var(--mono); padding: 8px 10px; border: 1px solid var(--n-line); color: var(--n-body); max-width: 80%; }
.chat div.me { justify-self: end; color: var(--n-ink); border-color: rgba(239,237,234,.4); }
.chat div.they { color: var(--n-mute); }
.files-note { margin-top: 16px; }

/* =================================================================
   03 · 0 OF 12
================================================================= */
.s03 { padding: var(--fold) 0; border-top: 1px solid var(--n-line); position: relative; }
.zero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: end; }
@media (max-width: 860px) { .zero { grid-template-columns: minmax(0, 1fr); } }
.zero .fig { font: 600 clamp(150px, 30vw, 380px)/0.78 var(--display); letter-spacing: -0.06em; color: var(--red); display: flex; align-items: baseline; gap: .08em; }
.zero .fig small { font: 600 clamp(28px, 5vw, 64px)/1 var(--display); letter-spacing: -0.02em; color: var(--n-ink); text-transform: uppercase; }
.zero .copy { display: grid; gap: 20px; padding-bottom: 12px; }
.grid12 { margin-top: clamp(48px, 8vh, 80px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 860px) { .grid12 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .grid12 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sup { border: 1px solid var(--n-line); background: var(--n-surface); padding: 12px; display: grid; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .15; transition: opacity .2s; }
.sup.on { opacity: 1; animation: tick 260ms steps(2) 1; }
@keyframes tick { 0% { transform: translateX(-3px); filter: brightness(2); } 100% { transform: none; filter: none; } }
.sup b { font-weight: 700; color: var(--n-ink); letter-spacing: .16em; margin-bottom: 4px; }
.sup span { display: flex; justify-content: space-between; color: var(--n-mute); }
.sup span i { font-style: normal; color: var(--red); }

/* =================================================================
   04 · WHAT'S ACTUALLY IN THE VIAL?
================================================================= */
.s04 { padding: var(--fold) 0; border-top: 1px solid var(--n-line); }
.s04 .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 64px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .s04 .cols { grid-template-columns: minmax(0, 1fr); } }
.spec { border: 1px solid var(--n-line); background: var(--n-surface); }
.spec-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--n-line); }
.spec dl { margin: 0; }
.spec .row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--n-line); }
.spec .row:last-child { border-bottom: 0; }
.spec dt { font: 500 11px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--n-mute); }
.spec dd { margin: 0; font: 400 15px/1.5 var(--mono); color: var(--n-ink); }
.spec dd .x { color: var(--red); margin-right: 8px; }
.spec dd .surf { color: var(--n-mute); }
.redact { display: inline-block; background: var(--n-ink); color: transparent; width: 9ch; height: 1em; vertical-align: -2px; opacity: .85; }
@media (max-width: 520px) { .spec .row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.stamp { border: 2px dashed rgba(255,69,58,.85); color: var(--red); transform: rotate(-3deg); padding: 9px 14px; font: 700 11px/1.7 var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.cams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cam { position: relative; margin: 0; overflow: hidden; background: #000; aspect-ratio: 16 / 10; border: 1px solid var(--n-line); }
.cam.wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.7); }
.cam-static { position: absolute; inset: 0; opacity: .12; overflow: hidden; }
.cam::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.4) 2px 3px); }
.cam figcaption { position: absolute; z-index: 2; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; }
.cam .ts { position: absolute; z-index: 2; left: 10px; bottom: 10px; }
.cams-note { margin-top: 12px; }

/* =================================================================
   05 · "AMERICAN MADE" (look out for this)
================================================================= */
.s05a { padding: var(--fold) 0; border-top: 1px solid var(--n-line); position: relative; }
.s05a .head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
@media (max-width: 900px) { .s05a .head { grid-template-columns: minmax(0, 1fr); } }
.s05a .n-h2 em { font-style: normal; color: var(--red); }
.fake { position: relative; border: 1px solid var(--n-line); background: var(--n-surface); padding: 22px; display: grid; gap: 14px; align-content: start; }
.fake .lab { background: #e9e6e0; color: #111; padding: 18px 20px; display: grid; gap: 10px; transform: rotate(-1.5deg); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.fake .lab .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.fake .lab .usa { font: 700 clamp(28px, 3.4vw, 40px)/0.95 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.fake .lab .usa sup { color: #d22c22; font-size: .6em; vertical-align: .55em; }
.fake .lab .meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #333; }
.fake .lab .meta b { font-weight: 700; color: #111; }
.fake .foot-n { font: 500 12px/1.6 var(--mono); color: var(--n-body); border-top: 1px dashed var(--n-line); padding-top: 12px; }
.fake .foot-n span { color: var(--red); }
.flags { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; align-items: start; }
@media (max-width: 900px) { .flags { grid-template-columns: minmax(0, 1fr); } }
.flag-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--n-line); }
.flag-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--n-line); }
.flag-list .w { font: 600 10.5px/1.9 var(--mono); letter-spacing: .16em; color: var(--red); }
.flag-list b { display: block; font: 600 clamp(17px, 1.7vw, 20px)/1.25 var(--display); letter-spacing: -0.01em; color: var(--n-ink); margin-bottom: 4px; }
.flag-list p { font-size: 14.5px; line-height: 1.6; color: var(--n-body); }
.too-good { margin-top: clamp(56px, 9vh, 96px); border: 1px solid rgba(255,69,58,.5); background: linear-gradient(180deg, rgba(255,69,58,.06), transparent 70%); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; }
@media (max-width: 900px) { .too-good { grid-template-columns: minmax(0, 1fr); } }
.too-good q { quotes: none; display: block; font: 600 clamp(32px, 5.2vw, 68px)/0.98 var(--display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--n-ink); text-wrap: balance; }
.too-good q em { font-style: normal; color: var(--red); }
.too-good p { color: var(--n-body); font-size: 15px; line-height: 1.65; }
.ask-them { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--n-line); }
.ask-them div { display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; border-bottom: 1px solid var(--n-line); font: 500 14px/1.5 var(--mono); color: var(--n-ink); }
.ask-them div span { color: var(--red); }

/* =================================================================
   06 · NIGHT / DAY (row-by-row comparison; stacks into cards on phones)
================================================================= */
.vs { padding: var(--fold) 0; border-top: 1px solid var(--n-line); }
.vs .n-h2 em { font-style: normal; color: var(--red); }
.vs-table { margin-top: 48px; border: 1px solid var(--n-line); }
.vs-head, .vs-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); }
.vs-head > *, .vs-row > * { padding: 24px 28px; min-width: 0; }
.vs-row { border-top: 1px solid var(--n-line); }
.vs .k { font: 500 10.5px/1.9 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--n-mute); }
.vs .vt { background: #0c0c0c; color: var(--n-ink); font: 400 13.5px/1.65 var(--mono); }
.vs .vu { background: #fff; color: var(--d-ink); font: 500 15.5px/1.5 var(--display); letter-spacing: 0; position: relative; z-index: 61; /* clean: sits above the global static */ }
.vs-head .vt, .vs-head .vu { display: grid; gap: 12px; align-content: start; }
.vs .t-n { font: 700 clamp(32px, 4.4vw, 56px)/0.9 var(--mono); letter-spacing: -0.03em; text-transform: uppercase; color: var(--n-ink); }
.vs .t-d { font: 600 clamp(36px, 4.8vw, 62px)/0.88 var(--display); letter-spacing: -0.05em; color: var(--d-ink); }
.vs .stamp { justify-self: start; }
.vs .boxd { justify-self: start; }
.vs .tag-d { font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--d-ink); display: flex; gap: 10px; align-items: center; }
.vs .tag-d img { height: 12px; filter: invert(1); }
.vs .x { color: var(--red); margin-right: 10px; }
.vs .ok { color: var(--blue); margin-right: 10px; font-family: var(--mono); }
.vs .who { display: none; }
.vs-src { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.vs-src .lbl { font-size: 10px; letter-spacing: .12em; }
.vs-src a { text-underline-offset: 3px; }
@media (max-width: 760px) {
  .vs-table { border: 0; display: grid; gap: 14px; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--n-line); }
  .vs-row > * { padding: 14px 16px; }
  .vs-row .k { background: var(--n-surface); color: var(--n-ink); }
  .vs .who { display: block; font: 600 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
  .vs .vt .who { color: var(--red); }
  .vs .vu .who { color: var(--d-mute); }
  .vs .vu { font-size: 15px; }
}
.btn-d { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; background: var(--blue); color: #fff; border: 0; border-radius: 2px; font: 600 14px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn-d:hover { background: #0077dd; }
.boxd { border: 1px solid var(--d-ink); color: var(--d-ink); padding: 9px 14px; font: 500 11px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* =================================================================
   DAY WORLD (07, 08, 09)
================================================================= */
.day { background: var(--d-bg); color: var(--d-body); font: 400 17px/1.6 var(--text); }
.day .lbl { color: var(--d-mute); }
.pill { display: inline-block; border: 1px solid var(--d-ink); color: var(--d-ink); border-radius: 999px; padding: 7px 13px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.d-h2 { font: 600 clamp(40px, 6.4vw, 88px)/0.95 var(--display); letter-spacing: -0.04em; color: var(--d-ink); text-wrap: balance; }
.d-lede { font: 400 clamp(17px, 1.7vw, 20px)/1.55 var(--text); color: var(--d-body); max-width: 50ch; }
.d-lede strong { color: var(--d-ink); font-weight: 500; }
.ticks { position: relative; }
.ticks::before, .ticks::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--d-ink); pointer-events: none; }
.ticks::before { top: 24px; left: var(--gut); border-right: 0; border-bottom: 0; }
.ticks::after { top: 24px; right: var(--gut); border-left: 0; border-bottom: 0; }

.s07 { padding: var(--fold) 0; position: relative; overflow: hidden; background: #fff; }
.topo { position: absolute; right: -10%; top: -6%; width: 70%; max-width: 900px; opacity: .55; pointer-events: none; }
.s07 .head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; position: relative; }
@media (max-width: 860px) { .s07 .head { grid-template-columns: minmax(0, 1fr); } }
.s07 .head .pill { margin-bottom: 22px; }
.ours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 56px; align-items: start; position: relative; }
@media (max-width: 900px) { .ours { grid-template-columns: minmax(0, 1fr); } }
.label-card { background: #fff; border: 1px solid var(--d-ink); }
.label-card .lh { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--d-ink); }
.label-card .lh img { height: 18px; filter: invert(1); }
.label-card dl { margin: 0; }
.label-card .row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--d-line); }
.label-card .row:last-child { border-bottom: 0; }
.label-card dt { font: 500 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); }
.label-card dd { margin: 0; font: 500 16px/1.45 var(--text); color: var(--d-ink); }
.label-card dd a { color: var(--blue); text-underline-offset: 3px; }
.label-card .bc { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--d-ink); background: var(--d-bg); }
@media (max-width: 520px) { .label-card .row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.photos figure { margin: 0; display: grid; gap: 8px; }
.photos figure.wide { grid-column: 1 / -1; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figure.wide img { aspect-ratio: 16 / 8; }
.photos figcaption { font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); }
.caps { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--d-ink); }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .caps { grid-template-columns: minmax(0, 1fr); } }
.caps div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--d-line); display: grid; gap: 6px; }
.caps b { font: 500 18px/1.2 var(--display); color: var(--d-ink); letter-spacing: -0.01em; }
.caps span { font-size: 14px; line-height: 1.5; }

.s08 { padding: var(--fold) 0; }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px 72px; align-items: start; }
@media (max-width: 900px) { .ask { grid-template-columns: minmax(0, 1fr); } }
.ask .pill { margin-bottom: 22px; }
.ask .d-lede { margin-top: 22px; }
.offer { margin-top: 32px; border: 1px solid var(--d-ink); background: #fff; padding: 24px; display: grid; gap: 10px; }
.offer h3 { font: 500 22px/1.2 var(--display); color: var(--d-ink); letter-spacing: -0.01em; }
.offer p { font-size: 15.5px; line-height: 1.6; }
.steps { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--d-line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: 15px 0; border-bottom: 1px solid var(--d-line); color: var(--d-ink); font-size: 16px; }
.steps li span { font: 500 12px/2 var(--mono); color: var(--d-mute); }
.form { background: #fff; border: 1px solid var(--d-line); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; }
.form h3 { font: 500 26px/1.15 var(--display); color: var(--d-ink); letter-spacing: -0.015em; }
.form .hint { font-size: 14.5px; margin-top: -12px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--d-ink); }
.field label small { color: var(--d-mute); font: inherit; letter-spacing: inherit; }
.field input, .field select { height: 52px; border: 1px solid #d9d4d4; background: #fff; border-radius: 2px; padding: 0 14px; color: var(--d-ink); font: 400 16px var(--text); width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--d-ink) 50%), linear-gradient(135deg, var(--d-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #c4271d; }
.err { font-size: 13.5px; color: #c4271d; min-height: 0; }
.form .fine { font-size: 13px; line-height: 1.5; color: var(--d-mute); }
.form .fine a { color: var(--blue); }
.form .row-sub { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form .done { display: none; gap: 10px; }
.form.sent .fields { display: none; }
.form.sent .done { display: grid; }
.done .big { font: 500 26px/1.2 var(--display); color: var(--d-ink); }

.s09 { background: #fff; padding: var(--fold) 0; text-align: center; border-top: 1px solid var(--d-line); position: relative; overflow: hidden; }
.s09 h2 { font: 600 clamp(44px, 8.6vw, 128px)/0.92 var(--display); letter-spacing: -0.045em; color: var(--d-ink); text-wrap: balance; max-width: 14ch; margin: 0 auto; }
.s09 .lines2 { margin: 32px auto 40px; display: grid; gap: 4px; font: 400 clamp(18px, 2vw, 22px)/1.45 var(--text); color: var(--d-body); }
.s09 .faint { position: absolute; left: 0; right: 0; bottom: 24px; }

/* ---------- footer (locked component, reproduced) ---------- */
.foot { background: #080a10; color: rgba(255,255,255,.78); font: 400 16px/1.55 var(--text); padding: 72px 0 28px; }
.foot .cols { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 40px 48px; align-items: start; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: minmax(0, 1fr); } }
.foot .brand { padding-right: 32px; border-right: 1px solid rgba(255,255,255,.18); }
.foot .brand .bcw { width: 150px; }
.foot .brand img { width: 150px; height: auto; }
@media (max-width: 900px) { .foot .brand { border-right: 0; grid-column: 1 / -1; } }
.foot h4 { margin: 0 0 14px; font: 500 22px/1 var(--display); color: #fff; text-transform: uppercase; letter-spacing: 0; }
.foot p { margin: 0 0 6px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .ic { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.foot .ic img { width: 20px; height: 20px; }
.disc { margin: 56px auto 0; max-width: 880px; border: 1px solid rgba(255,255,255,.85); padding: 24px 32px; font-size: 11.5px; line-height: 1.6; text-align: center; color: rgba(255,255,255,.75); }
.foot-copy { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; text-align: center; font-size: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.foot-copy img { width: 14px; height: 14px; }

/* ---------- cursor tag (fine pointers only) ---------- */
.ctag { position: fixed; z-index: 95; left: 0; top: 0; pointer-events: none; background: var(--red); color: #0a0a0a; font: 700 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; padding: 7px 9px; transform: translate(-999px, -999px); opacity: 0; transition: opacity .15s; }
.ctag.on { opacity: 1; }
.ctag.dayc { background: var(--d-ink); color: #fff; }
@media (hover: none), (pointer: coarse) { .ctag { display: none; } }

/* ---------- reduced motion: no grain motion, no glitch, no bursts ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .burst, .ov-flick { display: none; }
}

/* anchor jumps clear the fixed nav */
section[id], form[id] { scroll-margin-top: 64px; }

/* whatsinyourvial.com footer */
.foot .cols { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 720px) { .foot .cols { grid-template-columns: minmax(0, 1fr); } }
.foot .brand { border-right: 0; padding-right: 0; display: grid; gap: 16px; align-content: start; }
.foot .brandmark { color: #fff; font-size: 24px; }
.foot .brandmark:hover { text-decoration: none; color: #fff; }

.foot-tag { color: rgba(255,255,255,.6); font: 400 15px/1.5 var(--mono); }
.foot h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.55); font-weight: 500; }

/* ---------- evidence: open-file CTA + case-file dialog ---------- */
.open-file { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: transparent; color: var(--n-ink); border: 1px solid rgba(255,69,58,.7); font: 600 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.open-file:hover, .file:hover .open-file { background: var(--red); color: #0a0a0a; border-color: var(--red); }
.file { cursor: pointer; }
.file-more { display: none; }
dialog.filebox { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--n-line); background: #0e0e0e; color: var(--n-body); font: 400 15px/1.6 var(--mono); overflow: auto; }
dialog.filebox::backdrop { background: rgba(0,0,0,.82); }
.filebox .fb-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #0e0e0e; border-bottom: 1px solid var(--n-line); }
.filebox .fb-close { background: none; border: 1px solid var(--n-line); color: var(--n-ink); font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 10px 12px; cursor: pointer; }
.filebox .fb-body { padding: 22px 20px 28px; display: grid; gap: 20px; }
.filebox .ex { aspect-ratio: 16 / 7; }
.filebox h3 { font: 600 clamp(28px, 4vw, 40px)/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--n-ink); }
.filebox .fm-block { display: grid; gap: 6px; border-top: 1px dashed var(--n-line); padding-top: 14px; }
.filebox .fm-block p { color: var(--n-ink); }
.filebox .src { font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--n-mute); }
.filebox .fb-note { font: 500 10px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--n-mute); }
.s01 .n-h { font-size: var(--h1); max-width: 17ch; }

/* footer spacing: these beat the generic `.foot p` margin reset */
.foot { padding: clamp(64px, 9vh, 96px) 0 32px; }
.foot .cols { gap: 40px clamp(32px, 5vw, 72px); }
.foot .brand { gap: 14px; }
.foot h4 { margin: 4px 0 18px; }
.foot .cols p { margin: 0 0 10px; }
.foot .disc { margin: clamp(48px, 7vh, 72px) auto 0; max-width: 880px; padding: 24px clamp(20px, 4vw, 40px); }
.foot .foot-copy { margin: 40px 0 0; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.6); }

/* footer static: the same TV grain and scanlines as the Night half, on every page */
.foot { position: relative; overflow: hidden; contain: paint; }
.foot > .wrap { position: relative; z-index: 1; }
.foot::before { content: ""; position: absolute; inset: -60%; background-image: var(--noise); background-size: 160px 160px; opacity: .1; mix-blend-mode: screen; pointer-events: none; animation: grain 0.42s steps(4) infinite; }
.foot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0,0,0,.35) 2px 3px); opacity: .5; }

/* ---------- evidence viewer: flip book + comparison ---------- */
.files-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.open-all { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; background: var(--red); color: #0a0a0a; border: 0; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
dialog.filebox { width: min(1320px, calc(100% - 24px)); height: calc(100vh - 24px); height: calc(100dvh - 24px); max-height: none; }
.filebox .fb-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); min-height: calc(100% - 50px); }
.fb-book { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; padding: 16px; border-right: 1px solid var(--n-line); min-width: 0; }
.sup-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sup-tabs button { width: 38px; height: 34px; background: transparent; border: 1px solid var(--n-line); color: var(--n-mute); font: 600 12px/1 var(--mono); cursor: pointer; }
.sup-tabs button:hover { color: var(--n-ink); border-color: var(--n-ink); }
.sup-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #0a0a0a; }
.book-stage { position: relative; min-height: 360px; display: grid; place-items: center; background: radial-gradient(ellipse at center, #1c1c1c, #0a0a0a 70%); overflow: hidden; }
.book-stage .book { margin: 0 auto; }
.book-stage .pg { background: #fff; overflow: hidden; }
.book-stage .pg img { width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; user-select: none; }
.book-stage .book.plain { position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.book-stage .book.plain .pg { position: absolute; inset: 0; }
.book-ctl { display: flex; justify-content: center; align-items: center; gap: 16px; }
.book-ctl button { width: 44px; height: 44px; border: 1px solid var(--n-line); background: transparent; color: var(--n-ink); font: 400 22px/1 var(--mono); cursor: pointer; }
.book-ctl button:disabled { opacity: .3; cursor: default; }
.book-ctl .lbl { min-width: 0; text-align: center; color: var(--n-ink); }
.fb-side { padding: 22px 20px 28px; display: grid; gap: 18px; align-content: start; overflow: auto; }
.fb-side h3 { font: 600 clamp(26px, 3vw, 36px)/1 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--n-ink); }
.fb-side .fm { display: grid; gap: 14px; }
.fb-side .fm-intro { color: var(--n-body); font-size: 14px; }
.cmp { display: grid; gap: 12px; border-top: 1px solid var(--n-line); padding-top: 16px; }
.cmp-stat { font: 500 15px/1.5 var(--mono); color: var(--n-ink); }
.cmp-stat b { color: var(--red); font-weight: 700; }
.cmp-tbl { display: grid; border: 1px solid var(--n-line); font: 500 11.5px/1 var(--mono); }
.cmp-r { display: grid; grid-template-columns: 34px repeat(var(--cols, 6), minmax(0, 1fr)) 64px; align-items: center; border-top: 1px solid var(--n-line); }
.cmp-r:first-child { border-top: 0; }
.cmp-r > span { padding: 7px 4px; text-align: center; min-width: 0; }
.cmp-r > span:first-child { font-weight: 700; color: var(--n-ink); }
.cmp-h { background: #151515; color: var(--n-mute); font-size: 10px; letter-spacing: .06em; }
.cmp-r .y { color: var(--n-ink); }
.cmp-r .n { color: var(--n-mute); }
.cmp-r .x { color: var(--red); }
.cmp-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--n-line); }
.cmp-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--n-line); font: 400 13px/1.45 var(--mono); color: var(--n-body); }
.cmp-list li.grp { display: grid; gap: 8px; justify-content: stretch; }
.cmp-list li.grp > div { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font: 400 13.5px/1.45 var(--mono); color: var(--n-body); }
.cmp-facts b { color: var(--red); }
.jump { background: transparent; border: 1px solid rgba(255,69,58,.55); color: var(--n-ink); font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 9px; cursor: pointer; white-space: nowrap; }
.jump:hover { background: var(--red); color: #0a0a0a; }
.cmp-r .jump { padding: 6px 6px; border-color: var(--n-line); }
@media (max-width: 900px) {
  dialog.filebox { height: calc(100dvh - 16px); width: calc(100% - 16px); }
  .filebox .fb-grid { grid-template-columns: minmax(0, 1fr); }
  .fb-book { border-right: 0; border-bottom: 1px solid var(--n-line); padding: 12px; }
  .book-stage { min-height: 0; height: 66dvh; }
  .sup-tabs button { width: calc((100% - 30px) / 6); }
}
