/* Breaking News — marketing site.
 * Control Room look: values from docs/design/tokens.css and the mockups. Dark only. */

:root {
  color-scheme: dark;

  --ground: #0b0d10;
  --surface: #15191f;
  --surface-2: #0f1216;
  --surface-3: #1d232b;
  --line: #22272f;
  --line-2: #2f3640;

  --ink: #f2f4f7;
  --ink-2: #c4ccd6;
  --ink-3: #9aa5b3;
  --ink-4: #6b7684;
  --ink-dark: #0b0d10;
  --ink-dark-2: #4a5260;

  --red: #ff3b3b;
  --red-deep: #8e1726;
  --yellow: #ffd23f;
  --yellow-edge: #8a6d10;
  --cyan: #5cc8ff;
  --purple: #7c66ff;
  --purple-ink: #b9adff;
  --purple-frame: #2d2560;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', 'Helvetica Neue', sans-serif;
  --f-mono: 'JetBrains Mono', Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
  --wire-h: 34px;
  --gutter: 16px;
  --max: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: var(--wire-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain over everything — still, never animated */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: var(--yellow); }
b, strong { color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
.c { color: var(--cyan) !important; }
.y { color: var(--yellow) !important; }
.r { color: var(--red) !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--ink-dark); padding: 8px 12px; font-family: var(--f-mono); font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--f-mono); font-weight: 700; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow);
}
.kicker::before { content: ''; width: 28px; height: 3px; background: currentColor; }
.kicker.purple { color: var(--purple-ink); }
.kicker.red { color: var(--red); }
.display {
  margin: 0 0 28px;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(44px, 8.4vw, 112px);
  line-height: 0.9; letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--ink);
  text-wrap: balance;
}
.display.sm { font-size: clamp(40px, 5.6vw, 76px); }
.display .hl { color: var(--ink-3); }
.lede { max-width: 720px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); text-wrap: pretty; }
.lede em { font-style: normal; color: var(--ink); font-weight: 600; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
}
.eyebrow.center { justify-content: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; text-decoration: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  transition: transform 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease), color 160ms;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
.btn-red:hover { background: #ff5252; box-shadow: 0 10px 40px -8px rgba(255, 59, 59, 0.65); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--yellow); color: var(--yellow); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 17px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 24px; }
.btn-xl { height: 72px; padding: 0 48px; font-size: 32px; }
.btn-lg.btn-red::after, .btn-xl.btn-red::after { content: '▶'; font-size: 0.6em; }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.top.solid { background: rgba(11, 13, 16, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--f-display); font-weight: 800; line-height: 1; flex: none; }
.logo-tag { background: var(--red); color: #fff; font-size: 17px; letter-spacing: 0.04em; padding: 6px 8px 4px; }
.logo-bar { background: var(--ink); color: var(--ink-dark); font-size: 17px; padding: 6px 8px 4px; box-shadow: inset 0 -3px 0 var(--yellow); }
.nav { display: none; gap: 26px; margin-left: 16px; }
.nav a { color: var(--ink-3); text-decoration: none; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: color 120ms; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { box-shadow: 0 2px 0 var(--yellow); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.tally, .timecode { display: none; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.tally { align-items: center; gap: 7px; color: var(--red); }
.tally i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(1) infinite; }
.timecode { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .nav { display: flex; } .tally { display: inline-flex; } }
@media (min-width: 1100px) { .timecode { display: inline; } }

/* ---------- cards (exact mockup values at 320×448, scaled with --k) ---------- */
.cardbox { position: relative; width: calc(320px * var(--k, 1)); height: calc(448px * var(--k, 1)); flex: none; }
.bn-card {
  position: absolute; top: 0; left: 0;
  width: 320px; height: 448px;
  transform: scale(var(--k, 1)); transform-origin: 0 0;
  background: #0b0d10; border: 6px solid #22272f;
  display: flex; flex-direction: column; overflow: hidden;
  font-family: var(--f-display); color: #f2f4f7;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.bn-card .k-top { display: flex; align-items: center; gap: 8px; height: 30px; flex: none; padding: 0 10px 0 0; background: #15191f; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: #9aa5b3; }
.bn-card .k-top > span { white-space: nowrap; }
.bn-card .k-top > .k-risk { height: 100%; display: flex; align-items: center; padding: 0 10px; background: var(--cc); color: #0b0d10; font-weight: 700; }
.bn-card .k-top > .k-sp { flex: 1; }
.bn-card .k-top > .k-twin { border: 1px solid #ffd23f; color: #ffd23f; padding: 1px 6px; font-weight: 700; }
.bn-card .k-mon { flex: 1; position: relative; background: radial-gradient(120% 80% at 50% 30%, #2b3440 0%, #12161b 70%); display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.bn-card .k-mon::before, .bn-card .k-mon::after { content: ''; position: absolute; top: 12px; width: 16px; height: 16px; border-top: 2px solid rgba(255, 255, 255, 0.3); }
.bn-card .k-mon::before { left: 12px; border-left: 2px solid rgba(255, 255, 255, 0.3); }
.bn-card .k-mon::after { right: 12px; border-right: 2px solid rgba(255, 255, 255, 0.3); }
.bn-card .k-num { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 0.85; }
.bn-card .k-num > b { font-weight: 800; font-size: 104px; letter-spacing: -0.02em; color: #f2f4f7; }
.bn-card .k-num > small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: #9aa5b3; margin-top: 6px; }
.bn-card .k-chy { display: flex; flex-direction: column; }
.bn-card .k-chy > .k-kind { align-self: flex-start; background: var(--cc); color: #0b0d10; font-weight: 800; font-size: 17px; letter-spacing: 0.06em; padding: 2px 10px; text-transform: uppercase; }
.bn-card .k-chy > .k-head { background: #f2f4f7; color: #0b0d10; font-weight: 700; font-size: 21px; line-height: 1.04; text-transform: uppercase; padding: 8px 10px; text-wrap: balance; }
.bn-card .k-chy > .k-rule { height: 4px; background: var(--cc); }
.bn-card .k-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #22272f; padding-top: 2px; height: 50px; flex: none; }
.bn-card .k-stats > div { background: #15191f; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; }
.bn-card .k-stats > div > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; }
.bn-card .k-stats > div > b { font-weight: 800; font-size: 24px; color: #f2f4f7; }
.bn-card .k-norisk { background: #15191f; border-top: 2px solid #22272f; height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.bn-card .k-norisk > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: #c4ccd6; }
.bn-card .k-norisk > b { font-weight: 800; font-size: 22px; color: #8b95a3; }

/* Exclusive */
.bn-card.excl { border-color: #2d2560; }
.bn-card.excl .k-top { background: #15122a; color: #b9adff; }
.bn-card.excl .k-mon { background: radial-gradient(120% 80% at 50% 30%, #2e2758 0%, #120f22 72%); }
.bn-card.excl .k-mon::before, .bn-card.excl .k-mon::after { border-color: rgba(185, 173, 255, 0.4); }
.bn-card.excl .k-num > small { color: #b9adff; }
.bn-card.excl .k-stats { background: #2d2560; }
.bn-card.excl .k-stats > div { background: #15122a; }

/* Technical Difficulties */
.bn-card.td .k-bars { position: relative; height: 150px; flex: 0 0 150px; overflow: hidden; }
.bars7, .bars7b, .bars6 { display: grid; }
.bars7 { grid-template-columns: repeat(7, 1fr); height: 112px; }
.bars7b { grid-template-columns: repeat(7, 1fr); height: 12px; }
.bars6 { grid-template-columns: repeat(6, 1fr); height: 26px; }
.bn-card.td .k-static { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.bn-card.td .k-slate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #0b0d10; border: 2px solid var(--cc); padding: 6px 12px; font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; white-space: nowrap; }
.bn-card.td .k-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; }
.bn-card.td .k-body > b { font-weight: 800; font-size: 25px; line-height: 1.02; text-transform: uppercase; text-wrap: balance; color: #f2f4f7; }
.bn-card.td .k-body > p { margin: 0; font-family: var(--f-body); font-weight: 500; font-size: 15px; line-height: 1.3; color: #c4ccd6; text-wrap: pretty; }
.bn-card.td .k-fix { background: #15191f; border-top: 2px solid #22272f; height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.bn-card.td .k-fix > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: #9aa5b3; }
.bn-card.td .k-fix > b { font-weight: 800; font-size: 22px; }

/* Backs */
.bn-card.back-story > .bars7 { height: 14px; }
.bn-card.back-story .k-face { flex: 1; background: radial-gradient(100% 70% at 50% 50%, #2b3440 0%, #0b0d10 75%); display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.bn-card.back-story .k-face > span:nth-child(1) { align-self: flex-start; background: #ff3b3b; color: #fff; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: 0.02em; padding: 6px 12px 4px; }
.bn-card.back-story .k-face > span:nth-child(2) { background: #f2f4f7; color: #0b0d10; font-weight: 800; font-size: 76px; line-height: 0.9; padding: 8px 12px 4px; letter-spacing: -0.01em; }
.bn-card.back-story .k-face > span:nth-child(3) { height: 6px; background: #ffd23f; }
.bn-card.back-story .k-foot { height: 28px; flex: none; display: flex; align-items: center; justify-content: center; background: #15191f; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; color: #9aa5b3; }
.bn-card.back-excl { background: radial-gradient(100% 70% at 50% 45%, #3a2f7a 0%, #120f22 75%); border-color: #2d2560; align-items: center; justify-content: center; gap: 14px; }
.bn-card.back-excl .k-tl { display: flex; flex-direction: column; align-items: center; line-height: 0.9; }
.bn-card.back-excl .k-tl > b { font-weight: 800; font-size: 72px; letter-spacing: 0.01em; color: #f2f4f7; }
.bn-card.back-excl .k-tl > span { background: #7c66ff; color: #0b0d10; font-weight: 800; font-size: 20px; letter-spacing: 0.12em; padding: 4px 12px 2px; margin-top: 10px; }

/* ---------- parallax wrappers ---------- */
.px { will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
  overflow: hidden; isolation: isolate;
  background-color: #101318;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px);
}
.hero-bg { position: absolute; inset: -10% -5% -30%; z-index: -3; }
.monitor-wall {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 14px;
  opacity: 0.32;
  transform: perspective(1400px) rotateX(8deg) scale(1.08);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.monitor-wall i { background: radial-gradient(120% 80% at 50% 30%, #2b3440 0%, #12161b 70%); border: 3px solid #1d232b; }
.monitor-wall i.bars { background: linear-gradient(90deg, #c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%, #c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0); opacity: 0.5; }
.monitor-wall i.live { position: relative; }
.monitor-wall i.live::after { content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(1) infinite; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 50% at 30% 55%, rgba(11, 13, 16, 0.92) 0%, rgba(11, 13, 16, 0.4) 70%, transparent 100%), linear-gradient(180deg, transparent 60%, var(--ground) 100%); }

.hero-cards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hc { position: absolute; }
.hc-in {
  transform: translate3d(calc(var(--mx, 0) * var(--tilt, 20) * 1px), calc(var(--my, 0) * var(--tilt, 20) * 1px), 0) rotate(var(--rot));
  transition: transform 600ms var(--ease);
  animation: hc-drop 1100ms var(--ease) both; animation-delay: var(--d);
}
@keyframes hc-drop { from { opacity: 0; translate: 0 60px; rotate: 6deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
.hc-1 { right: 22%; top: 14%; --rot: -7deg; --d: 500ms; }
.hc-2 { right: 3%; top: 30%; --rot: 8deg; --d: 650ms; }
.hc-3 { right: 34%; top: 56%; --rot: 11deg; --d: 800ms; filter: brightness(0.6) blur(1.5px); }
.hc-4 { right: 12%; top: 64%; --rot: -4deg; --d: 950ms; }
.hc-5 { right: 40%; top: -4%; --rot: 14deg; --d: 1100ms; filter: brightness(0.55) blur(2px); }

.hero-copy { position: relative; max-width: 640px; }
.mega-chyron { margin: 0 0 26px; display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 800; line-height: 1; }
.mc-tag { align-self: flex-start; background: var(--red); color: #fff; font-size: clamp(36px, 6vw, 72px); letter-spacing: 0.02em; padding: 0.17em 0.3em 0.08em; animation: wipe 600ms var(--ease) 150ms both; }
.mc-bar { background: var(--ink); color: var(--ink-dark); font-size: clamp(110px, 19vw, 230px); line-height: 0.86; letter-spacing: -0.01em; padding: 0.08em 0.12em 0; animation: wipe 700ms var(--ease) 400ms both; }
.mc-rule { height: clamp(6px, 0.8vw, 10px); background: var(--yellow); transform-origin: left; animation: rule 600ms var(--ease) 850ms both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lede { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); max-width: 560px; animation: rise 700ms var(--ease) 1000ms both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; animation: rise 700ms var(--ease) 1150ms both; }
.hero-meta { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); animation: rise 700ms var(--ease) 1300ms both; }
.hero-meta b { color: var(--red); }
.hero .eyebrow { animation: rise 500ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); text-decoration: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue i { width: 2px; height: 36px; background: linear-gradient(var(--yellow), transparent); animation: cue 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 899px) {
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-glow { background: linear-gradient(180deg, rgba(11, 13, 16, 0.2) 0%, rgba(11, 13, 16, 0.75) 45%, var(--ground) 82%); }
  .hc-1 { right: auto; left: 4%; top: 9%; }
  .hc-2 { right: -12%; top: 12%; }
  .hc-3, .hc-5 { display: none; }
  .hc-4 { display: none; }
  .hero-cards { opacity: 0.5; }
  .hc-1 { top: 7%; }
  .hc-2 { top: 9%; }
  .hc .cardbox { --k: 0.5 !important; }
  .scroll-cue { display: none; }
}

/* =========================================================
   2. PITCH — the deal
   ========================================================= */
.pitch { position: relative; padding: 140px 0 120px; }
.deal {
  --dk: 0.62;
  display: flex; justify-content: center; gap: 18px;
  margin: 40px auto 64px; padding: 20px var(--gutter);
  perspective: 1600px;
}
.deal-card { width: calc(320px * var(--dk)); height: calc(448px * var(--dk)); flex: none; transform: translateY(calc((1 - var(--p, 0)) * 120px)) rotate(calc((var(--i) - 2) * 4deg * (1 - var(--p, 0)))); opacity: calc(0.2 + var(--p, 0) * 0.8); }
.deal-card:nth-child(odd) { margin-top: 30px; }
.flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 900ms var(--ease); transition-delay: calc(var(--i) * 140ms); }
.deal.flipped .flip { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.front { transform: rotateY(180deg); }
.pitch-foot { display: flex; justify-content: center; }
.pitch-foot .lede { text-align: center; }
@media (max-width: 1100px) { .deal { --dk: 0.5; gap: 12px; } }
@media (max-width: 760px) {
  .deal { --dk: 0.46; flex-wrap: wrap; gap: 10px; }
  .deal-card:nth-child(odd) { margin-top: 0; }
}
@media (max-width: 400px) { .deal { --dk: 0.42; } }

/* =========================================================
   3. A DAY — sticky monitor
   ========================================================= */
.day { position: relative; padding: 120px 0 80px; background: linear-gradient(180deg, var(--ground), #0e1115 40%, var(--ground)); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.day-stage { position: sticky; top: var(--header-h); overflow-x: clip; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 14px 0 12px; background: linear-gradient(180deg, var(--ground) 85%, transparent); }
.day-steps { position: relative; z-index: 1; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; max-width: 520px; opacity: 0.25; transition: opacity 400ms var(--ease); }
.step.on { opacity: 1; }
.step-n { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; color: var(--yellow); margin-bottom: 12px; }
.step-title { margin: 0 0 18px; display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; }
.step-title span { align-self: flex-start; background: var(--ink); color: var(--ink-dark); font-size: clamp(32px, 4vw, 52px); line-height: 1; padding: 8px 14px 4px; box-shadow: 0 5px 0 var(--yellow); }
.step p { font-size: 18px; }
.step-note { font-family: var(--f-mono); font-size: 12px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border-left: 3px solid var(--line-2); padding-left: 12px; }

@media (min-width: 900px) {
  .day-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .day-stage { order: 2; top: calc(50vh - 290px + var(--header-h) / 2); background: none; padding: 0; }
  .day-steps { order: 1; }
  .step { min-height: 90vh; }
}
@media (max-width: 899px) {
  .step { min-height: 60vh; background: linear-gradient(180deg, transparent, rgba(11, 13, 16, 0.92) 18%); }
}

/* the mock phone screen */
.monitor {
  --mw: 380px;
  position: relative; width: var(--mw); height: 560px;
  background: var(--ground); border: 8px solid #1a1f26; border-radius: 26px;
  box-shadow: 0 0 0 1px #2f3640, 0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(92, 200, 255, 0.25);
  overflow: hidden; display: flex; flex-direction: column;
  font-family: var(--f-display); color: var(--ink);
}
.mon-head { flex: none; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mon-bug { background: var(--red); color: #fff; display: flex; flex-direction: column; line-height: 0.95; padding: 4px 8px; }
.mon-bug b { color: #fff; font-weight: 800; font-size: 18px; }
.mon-bug small { font-family: var(--f-mono); font-weight: 700; font-size: 9px; letter-spacing: 0.1em; }
.mon-day { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); }
.mon-sp { flex: 1; }
.mon-stat { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.mon-stat small { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-3); }
.mon-stat b { font-size: 20px; font-weight: 800; }
.mon-body { flex: 1; position: relative; padding: 10px; overflow: hidden; }
.mon-legend { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); margin: 0 0 8px; }
.mon-legend b { font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.row {
  position: relative; display: flex; align-items: stretch; min-height: 58px;
  background: var(--surface); border: 1px solid var(--line-2); border-left: 6px solid var(--risk);
  transition: background 400ms var(--ease), opacity 400ms var(--ease), transform 500ms var(--ease), box-shadow 300ms;
}
.rh { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 8px; font-weight: 700; font-size: 15px; line-height: 1.05; text-transform: uppercase; }
.rh em { font-style: normal; display: flex; gap: 10px; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); }
.rr { flex: none; width: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--line-2); line-height: 0.9; }
.rr b { font-size: 28px; font-weight: 800; }
.rr small { font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.1em; color: var(--ink-3); }
.row-crew .rh { padding-right: 40px; }
.crew-chip { position: absolute; right: 60px; top: -8px; background: var(--yellow); color: var(--ink-dark); font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 6px; opacity: 0; transform: scale(0.6); transition: 300ms var(--ease) 500ms; }
.crewbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: var(--surface-2); border: 1px solid var(--line-2); transition: transform 500ms var(--ease), opacity 400ms; }
.crewbar small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.token { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); box-shadow: 0 3px 0 var(--yellow-edge), inset 0 0 0 3px rgba(11, 13, 16, 0.25); transition: transform 900ms var(--ease); }
.token.ghost { background: none; box-shadow: inset 0 0 0 2px var(--line-2); }
.crew-hint { font-family: var(--f-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; margin-left: auto; }

.ros { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: var(--surface-2); border-top: 2px solid var(--yellow); display: flex; flex-direction: column; gap: 5px; transform: translateY(105%); transition: transform 600ms var(--ease); }
.ros-head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 2px; }
.ros-head b { color: var(--ink); }
.slot { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; background: var(--ink); color: var(--ink-dark); font-weight: 700; font-size: 16px; text-transform: uppercase; }
.slot i { font-style: normal; flex: none; width: 62px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-dark-2); }
.slot span { flex: 1; }
.slot b { color: var(--ink-dark); font-size: 20px; font-weight: 800; }
.slot.lead { box-shadow: inset 6px 0 0 var(--red); }
.slot.lead i { color: var(--red); font-weight: 700; }
.ros-go { margin-top: 4px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 0.08em; }

.reveal-scr { position: absolute; inset: 0; padding: 14px 12px; background: radial-gradient(120% 80% at 50% 0%, #1d232b, var(--ground) 70%); display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: scale(1.04); transition: opacity 500ms var(--ease), transform 600ms var(--ease); pointer-events: none; }
.rv-tag { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); }
.rv-tag span { background: var(--red); color: #fff; padding: 2px 6px; }
.rv-title { font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.rv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-list li { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 0; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; opacity: 0; transform: translateX(-20px); transition: 400ms var(--ease); }
.rv-list li:nth-child(2) { transition-delay: 120ms; } .rv-list li:nth-child(3) { transition-delay: 240ms; } .rv-list li:nth-child(4) { transition-delay: 360ms; }
.rv-bug { flex: none; align-self: stretch; width: 70px; display: flex; align-items: center; justify-content: center; background: #2a3039; font-weight: 800; font-size: 16px; }
.rv-list li:first-child .rv-bug { background: var(--red); }
.rv-h { flex: 1; display: flex; flex-direction: column; font-weight: 700; font-size: 16px; text-transform: uppercase; line-height: 1.05; }
.rv-h small { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em; margin-top: 3px; }
.rv-list b { font-size: 26px; font-weight: 800; }
.rv-list li.scooped { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1' seed='11'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.rv-list li.scooped .rv-h, .rv-list li.scooped b { opacity: 0.55; }
.rv-list .stamp { position: absolute; right: 44px; top: 50%; font-size: 18px; transform: translateY(-50%) rotate(-8deg) scale(1.8); opacity: 0; transition: 300ms var(--ease) 900ms; }
.rv-win { margin-top: auto; display: flex; flex-direction: column; opacity: 0; transform: translateY(12px); transition: 500ms var(--ease) 700ms; }
.rv-win span { align-self: flex-start; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 0.08em; padding: 2px 8px; }
.rv-win b { background: var(--ink); color: var(--ink-dark); font-weight: 800; font-size: 24px; text-transform: uppercase; padding: 6px 10px 3px; }
.rv-win i { height: 5px; background: var(--yellow); }

.mon-wire { flex: none; height: 28px; display: flex; align-items: center; background: var(--yellow); color: var(--ink-dark); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-transform: uppercase; }
.mon-wire b { position: relative; z-index: 1; flex: none; height: 100%; display: flex; align-items: center; padding: 0 9px; background: var(--ink-dark); color: var(--yellow); font-weight: 800; }
.mon-wire span { padding-left: 10px; animation: crawl-sm 16s linear infinite; }
@keyframes crawl-sm { from { transform: translateX(30%); } to { transform: translateX(-100%); } }

.mon-progress { display: flex; gap: 6px; margin-top: 16px; }
.mon-progress i { width: 36px; height: 4px; background: var(--line-2); transition: background 300ms; }
.mon-progress i.on { background: var(--yellow); }

/* states */
.monitor[data-show="2"] .row-crew,
.monitor[data-show="3"] .row-crew { box-shadow: inset 0 0 0 2px var(--yellow); }
.monitor[data-show="2"] .crew-chip,
.monitor[data-show="3"] .crew-chip { opacity: 1; transform: none; }
.monitor[data-show="2"] .token:not(.ghost) { transform: translate(var(--tx, 150px), var(--ty, -110px)) scale(0.6); }
.monitor[data-show="3"] .crewbar, .monitor[data-show="4"] .crewbar { opacity: 0; transform: translateY(20px); }
.monitor[data-show="3"] .ros { transform: none; }
.monitor[data-show="3"] .row-cut { opacity: 0.35; }
.monitor[data-show="3"] .rows { transform: translateY(0); }
.monitor[data-show="4"] .reveal-scr { opacity: 1; transform: none; pointer-events: auto; }
.monitor[data-show="4"] .rv-list li { opacity: 1; transform: none; }
.monitor[data-show="4"] .rv-list .stamp { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(1); }
.monitor[data-show="4"] .rv-win { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .monitor { transform: scale(var(--ms, 0.62)); transform-origin: top center; margin-bottom: calc(560px * (var(--ms, 0.62) - 1)); }
}
@media (max-width: 899px) and (min-height: 800px) { .monitor { --ms: 0.72; } }
@media (max-width: 380px) { .monitor { --ms: 0.56; } }

/* stamp (shared) */
.stamp { display: inline-block; font-family: var(--f-display); font-weight: 800; letter-spacing: 0.08em; color: var(--red); border: 3px solid var(--red); padding: 2px 8px 0; text-transform: uppercase; background: rgba(11, 13, 16, 0.6); }

/* =========================================================
   4. MATH
   ========================================================= */
.math { position: relative; padding: 140px 0; overflow: hidden; }
.math-bg { position: absolute; right: -6%; top: 0; z-index: -1; pointer-events: none; }
.math-bg span { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(400px, 60vw, 900px); line-height: 0.8; color: transparent; -webkit-text-stroke: 2px rgba(92, 200, 255, 0.1); }
.eq { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 48px 0 56px; }
.eq-cell { flex: 1 1 180px; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; padding: 18px 20px 12px; background: var(--surface); border: 1px solid var(--line-2); border-top: 4px solid var(--ink-3); }
.eq-cell small { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; color: var(--ink-3); }
.eq-cell b { font-family: var(--f-display); font-weight: 800; font-size: clamp(80px, 10vw, 140px); line-height: 0.85; color: var(--ink); font-variant-numeric: tabular-nums; }
.eq-cell.trust { border-top-color: var(--cyan); }
.eq-cell.trust b { color: var(--cyan); }
.eq-cell.final { background: var(--ink); border-color: var(--ink); border-top-color: var(--yellow); }
.eq-cell.final small { color: var(--ink-dark-2); }
.eq-cell.final b { color: var(--ink-dark); }
.eq-op { display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 64px; color: var(--ink-4); width: 40px; }
@media (max-width: 720px) {
  .eq { gap: 6px; }
  .eq-cell { flex: 1 1 0; min-width: 0; min-height: 120px; padding: 12px 10px 8px; }
  .eq-cell small { font-size: 10px; letter-spacing: 0.1em; }
  .eq-cell b { font-size: clamp(44px, 13vw, 80px); }
  .eq-op { width: auto; font-size: 30px; }
}

.book { background: var(--surface-2); border: 1px solid var(--line-2); padding: 20px; }
.book-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.book-row { display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: 16px; padding: 10px 0; }
.b-bug { display: flex; align-items: center; justify-content: center; height: 44px; background: #2a3039; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.book-row.win .b-bug { background: var(--red); }
.b-bars { display: flex; flex-direction: column; gap: 5px; }
.b-bars i { display: block; height: 12px; width: 0; transition: width 1200ms var(--ease) 300ms; }
.book.in .b-bars i { width: calc(var(--w) * 100%); }
.b-r { background: var(--line-2); }
.b-s { background: var(--cyan); }
.book-row.win .b-s { background: var(--yellow); }
.b-math { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-math b { color: var(--ink); font-weight: 800; }
.b-tag { font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; background: var(--yellow); color: var(--ink-dark); padding: 4px 8px; white-space: nowrap; }
.b-tag.ghost { background: none; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.book-note { margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 760px; }
.book-legend { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.book-legend i { width: 18px; height: 8px; display: inline-block; }
.book-legend i.b-s { background: var(--yellow); margin-left: 10px; }
.book-legend span { margin-left: auto; color: var(--ink-4); }
@media (max-width: 720px) {
  .book { padding: 14px; }
  .book-row { grid-template-columns: 72px 1fr; gap: 8px 12px; }
  .b-bug { font-size: 17px; height: 38px; }
  .b-math { grid-column: 1 / -1; font-size: 22px; }
  .b-tag { grid-column: 1 / -1; justify-self: start; }
  .book-row .b-math, .book-row .b-tag { margin-top: -2px; }
}

/* =========================================================
   5. DECK
   ========================================================= */
.deck { position: relative; padding: 120px 0; background: linear-gradient(180deg, var(--ground), #0f1318 50%, var(--ground)); }
.rail {
  --rk: 0.72;
  display: flex; gap: 28px; justify-content: center;
  margin: 56px 0 72px; padding: 24px var(--gutter) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.rail-item { margin: 0; flex: none; scroll-snap-align: center; display: flex; flex-direction: column; gap: 16px; width: calc(320px * var(--rk)); }
.rail-item .cardbox { transition: transform 300ms var(--ease); }
.rail-item:hover .cardbox { transform: translateY(-8px) rotate(-1.5deg); }
.rail-item figcaption { font-size: 15px; line-height: 1.4; color: var(--ink-3); }
.rail-item figcaption b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; color: var(--ink); }
.rail-item figcaption b::before { content: ''; width: 14px; height: 14px; background: var(--risk); }
@media (max-width: 1500px) { .rail { justify-content: flex-start; } }
@media (min-width: 1200px) and (max-width: 1500px) { .rail { --rk: 0.62; justify-content: center; gap: 20px; } }
@media (max-width: 720px) { .rail { --rk: 0.62; gap: 16px; } }

.cts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ct { position: relative; padding: 24px 22px 10px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; }
.ct-label { font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; }
.ct-big { font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 0.95; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.ct:nth-child(1) { border-top: 4px solid var(--cyan); }
.ct:nth-child(2) { border-top: 4px solid var(--yellow); }
.ct-scoop { border-top: 4px solid var(--red); background-color: #1a1214; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.ct-scoop .stamp { position: absolute; right: 16px; top: 20px; font-size: 26px; transform: rotate(8deg); }
.aside { margin: 32px 0 0; max-width: 760px; font-size: 17px; color: var(--ink-3); border-left: 3px solid var(--red); padding-left: 16px; }
.aside em { color: var(--ink); font-style: normal; font-weight: 600; }
@media (max-width: 860px) { .cts { grid-template-columns: 1fr; } }

/* =========================================================
   6. PRIVATE CARDS
   ========================================================= */
.private { padding: 120px 0; overflow: hidden; }
.private-grid { --pk: 0.86; --pk2: 0.7; display: flex; flex-direction: column; gap: 140px; }
.pv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pv-td .pv-art { order: 2; }
.pv-art { position: relative; height: calc(448px * var(--pk) + 80px); }
.pv-glow { position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(124, 102, 255, 0.35), transparent); filter: blur(30px); }
.pv-c1, .pv-c2 { position: absolute; }
.pv-c1 { left: 8%; top: 40px; }
.pv-c1 > .cardbox { transform: rotate(-4deg); }
.pv-c2 { left: 46%; top: 0; }
.pv-c2 > .cardbox { transform: rotate(9deg); filter: brightness(0.75); }
.pv-td .pv-c1 { left: auto; right: 8%; }
.pv-td .pv-c1 > .cardbox { transform: rotate(3deg); }
.pv-td .pv-c2 { left: auto; right: 46%; }
.pv-td .pv-c2 > .cardbox { transform: rotate(-10deg); }
.pv-excl .bn-card { box-shadow: 0 40px 100px -20px rgba(124, 102, 255, 0.45); }
.pv-td .pv-c1 .bn-card { box-shadow: 0 40px 100px -20px rgba(255, 59, 59, 0.35); }
.pv-copy p:not(.kicker) { font-size: 19px; max-width: 520px; }
@media (max-width: 900px) {
  .private-grid { --pk: 0.62; --pk2: 0.5; gap: 80px; }
  .pv { grid-template-columns: 1fr; gap: 24px; }
  .pv-td .pv-art { order: 0; }
  .pv .px { transform: none; }
  .pv-c1 { left: 4%; }
  .pv-c2 { left: 46%; }
}

/* =========================================================
   7. RATINGS WINDOW
   ========================================================= */
.window { position: relative; padding: 140px 0; background: var(--yellow); color: var(--ink-dark); overflow: hidden; isolation: isolate; }
.win-stripes { position: absolute; inset: -30% 0; z-index: -2; background: repeating-linear-gradient(135deg, rgba(11, 13, 16, 0.07) 0 22px, transparent 22px 44px); }
.win-x { position: absolute; right: -2%; top: 50%; margin-top: -0.5em; z-index: -1; font-family: var(--f-display); font-weight: 800; font-size: clamp(260px, 42vw, 640px); line-height: 1; color: rgba(11, 13, 16, 0.1); letter-spacing: -0.04em; }
.win-tag { display: inline-block; background: var(--ink-dark); color: var(--yellow); font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px 2px; margin-bottom: 18px; }
.win-title { margin: 0 0 16px; font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 10vw, 150px); line-height: 0.86; text-transform: uppercase; letter-spacing: -0.01em; max-width: 11ch; }
.win-sub { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; max-width: 520px; color: #2a2508; }

/* =========================================================
   8. MODES
   ========================================================= */
.modes { padding: 140px 0 120px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.mode { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); padding: 0 0 12px; transition: transform 300ms var(--ease), border-color 300ms; }
.mode:hover { transform: translateY(-6px); border-color: var(--ink-4); }
.mode > :not(.mode-art) { padding: 0 22px; }
.mode h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.mode p { font-size: 16px; }
.mode-tag { margin: 22px 0 8px; font-family: var(--f-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.mode-art { height: 240px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; background: var(--ground); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 12px); border-bottom: 1px solid var(--line-2); }

.phone { width: 128px; height: 260px; margin-top: 70px; border: 5px solid #1a1f26; border-radius: 18px; background: var(--ground); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -10px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; overflow: hidden; transition: transform 400ms var(--ease); }
.mode:hover .phone { transform: translateY(-20px); }
.ph-bug { align-self: flex-start; margin: 8px; background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 13px; line-height: 0.95; padding: 3px 5px; display: flex; flex-direction: column; }
.ph-bug small { font-family: var(--f-mono); font-size: 6px; }
.ph-rows { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
.ph-rows i { height: 18px; background: var(--surface); border-left: 4px solid var(--risk); }
.ph-btn { margin: 8px; background: var(--red); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 10px; text-align: center; padding: 5px 0; letter-spacing: 0.06em; }
.ph-wire { margin-top: auto; height: 10px; background: var(--yellow); }

.code-label { margin: 0 0 10px; font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); }
.code { display: flex; gap: 6px; }
.code i { font-style: normal; width: 38px; height: 54px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--ink-dark); font-family: var(--f-display); font-weight: 800; font-size: 38px; box-shadow: 0 4px 0 var(--yellow); }
.code i:nth-child(3) { margin-right: 10px; }
.seats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 22px; padding: 0 12px; }
.seats span { font-family: var(--f-mono); font-weight: 700; font-size: 10px; letter-spacing: 0.08em; padding: 3px 7px; }
.seats .on { background: var(--surface-3); color: var(--ink); }
.seats .on::before { content: '● '; color: #2bb59a; }
.seats .wait { color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); animation: blink 1.2s steps(1) infinite; }

.tv { width: 240px; aspect-ratio: 16 / 9; border: 6px solid #1a1f26; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(255, 59, 59, 0.3); transition: transform 400ms var(--ease); }
.mode:hover .tv { transform: scale(1.05); }
.tv-in { width: 100%; height: 100%; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 30% 20%, #161c24 0%, #0b0d10 60%); }
.tv-tag { margin: 8px 8px 6px; font-family: var(--f-mono); font-size: 7px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); display: flex; gap: 5px; align-items: center; }
.tv-tag span { background: var(--red); color: #fff; padding: 1px 3px; }
.tv-rows { display: flex; flex-direction: column; gap: 4px; padding: 0 8px; }
.tv-rows i { height: 12px; width: calc(var(--w) * 100%); background: var(--ink); box-shadow: inset 5px 0 0 var(--red); }
.tv-rows i:nth-child(n + 2) { background: var(--surface-3); box-shadow: none; }
.tv-wire { margin-top: auto; height: 9px; background: var(--yellow); }
.tv-stand { width: 70px; height: 8px; margin-top: 10px; background: #1a1f26; }
@media (max-width: 960px) { .mode-grid { grid-template-columns: 1fr; } .mode-art { height: 220px; } }

/* =========================================================
   9. FINALE
   ========================================================= */
.finale { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 120px var(--gutter); overflow: hidden; isolation: isolate; text-align: center; }
.finale-bars { position: absolute; inset: -20% 0; z-index: -2; display: grid; grid-template-columns: repeat(7, 1fr); opacity: 0.34; filter: saturate(0.7) blur(1px); }
.finale-bars i:nth-child(1) { background: #c0c0c0; } .finale-bars i:nth-child(2) { background: #c0c000; } .finale-bars i:nth-child(3) { background: #00c0c0; } .finale-bars i:nth-child(4) { background: #00c000; } .finale-bars i:nth-child(5) { background: #c000c0; } .finale-bars i:nth-child(6) { background: #c00000; } .finale-bars i:nth-child(7) { background: #0000c0; }
.finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(11, 13, 16, 0.75), var(--ground) 90%); }
.finale-in { display: flex; flex-direction: column; align-items: center; max-width: 960px; }
.finale-chyron { margin: 0 0 44px; display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; text-align: left; }
.fc-tag { align-self: flex-start; background: var(--red); color: #fff; font-size: clamp(20px, 2.6vw, 32px); letter-spacing: 0.08em; padding: 4px 14px 2px; }
.fc-bar { background: var(--ink); color: var(--ink-dark); font-size: clamp(48px, 8.6vw, 120px); line-height: 0.88; padding: 14px 18px 6px; letter-spacing: -0.01em; }
.fc-rule { height: 8px; background: var(--yellow); }
.finale-chyron.in .fc-bar { animation: wipe 700ms var(--ease) both; }
.finale-chyron.in .fc-rule { animation: rule 600ms var(--ease) 400ms both; }
.finale-sub { margin-top: 18px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 40px; }
.foot p { margin: 0; font-size: 13px; color: var(--ink-4); line-height: 1.6; }
.foot p a { color: var(--ink-3); text-decoration: none; box-shadow: inset 0 -1px 0 var(--line-2); transition: color 120ms; }
.foot p a:hover { color: var(--yellow); box-shadow: inset 0 -1px 0 var(--yellow); }

/* ---------- the wire (fixed) ---------- */
.wire {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  height: var(--wire-h); padding-bottom: env(safe-area-inset-bottom);
  box-sizing: content-box;
  display: flex; align-items: center;
  background: var(--yellow); color: var(--ink-dark);
  font-family: var(--f-display); font-weight: 700; font-size: 17px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}
.wire-tag { flex: none; height: 100%; display: flex; align-items: center; padding: 0 12px; background: var(--ink-dark); color: var(--yellow); font-weight: 800; position: relative; z-index: 1; }
.wire-track { flex: 1; overflow: hidden; }
.wire-crawl { display: inline-flex; animation: crawl var(--wire-dur, 120s) linear infinite; will-change: transform; }
.wire-crawl span { padding-left: 14px; }
.wire-crawl span::after { content: '•'; margin-left: 14px; opacity: 0.5; }
@keyframes crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .px { transform: none !important; }
  .deal-card { transform: none !important; opacity: 1 !important; }
  .book .b-bars i { width: calc(var(--w) * 100%); }
}
