/* CUBECRUSHERS site, cinematic draft. No outside fonts, scripts or trackers.
   House rules kept here: no blur on anything, and no colour tint on game pictures.
   Pictures only get a plain black fade behind words so the words can be read. */

@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #04060d;
  --navy: #070b1a;
  --navy2: #0c1330;
  --blue: #1c3a9c;
  --blue-dark: #0f1f5c;
  --yel: #ffc41a;
  --yel2: #ffd95a;
  --yel-dark: #a87400;
  --paper: #f4efe1;
  --dim: #aab2cb;
  --line: rgba(255, 255, 255, .14);
  --bar: 7vh;
  --head: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", "SF Mono", Menlo, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yel); }
a:hover { color: var(--yel2); }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 2 * clamp(18px, 5vw, 64px)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--yel); color: #0a0f24; padding: .6em 1em; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- VCR read-out ---------- */
.progress {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 100%; height: 3px; background: var(--yel);
  transform: scaleX(0); transform-origin: 0 50%;
}
.osd {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--bar); background: #000;
  display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(14px, 3vw, 40px);
  font-family: var(--mono); font-size: clamp(.8rem, 1.5vw, 1.05rem); letter-spacing: .14em;
  color: #fff; text-shadow: 2px 2px 0 #000; pointer-events: none;
}
.osd-play i {
  display: inline-block; margin-right: .55em;
  border-left: .7em solid currentColor; border-top: .42em solid transparent; border-bottom: .42em solid transparent;
}
.osd-clock b { font-weight: 400; color: var(--yel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--head); font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.1;
  text-transform: uppercase; letter-spacing: .07em; text-decoration: none;
  padding: .8em 1.5em; border-radius: 6px;
  background: var(--yel); color: #0a0f24;
  box-shadow: 0 5px 0 var(--yel-dark);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { background: var(--yel2); color: #0a0f24; transform: translateY(-2px); box-shadow: 0 7px 0 var(--yel-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--yel-dark); }
.btn-ghost { background: rgba(0, 0, 0, .7); color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn-ghost:hover { background: var(--paper); color: #0a0f24; box-shadow: inset 0 0 0 2px var(--paper); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--paper); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 5px 0 var(--blue-dark); }
.btn-blue:hover { background: #2548bd; color: #fff; box-shadow: 0 7px 0 var(--blue-dark); }
.btn-blue:active { box-shadow: 0 2px 0 var(--blue-dark); }
.tri {
  display: inline-block;
  border-left: .7em solid currentColor; border-top: .45em solid transparent; border-bottom: .45em solid transparent;
}

/* ---------- Small shared type ---------- */
.slate {
  font-family: var(--mono); font-size: clamp(.92rem, 1.2vw, 1.05rem);
  text-transform: uppercase; letter-spacing: .2em; color: var(--yel);
  margin-bottom: .9em;
}
.slate span { color: var(--dim); }
.slate span::before { content: "/"; margin: 0 .7em; color: var(--line); }
.big, .huge, .mid, .story h2, .reel h3 {
  font-family: var(--head); font-weight: 400; text-transform: uppercase; line-height: 1.04; letter-spacing: .01em;
}
.big { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.huge { font-size: clamp(3.2rem, 11vw, 9rem); }
.mid { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .6em; }
.lead { font-size: clamp(1.2rem, 2vw, 1.5rem); max-width: 36em; color: var(--paper); margin-top: .7em; }
.small { font-size: .98rem; color: var(--dim); }
.when {
  font-family: var(--mono); font-size: clamp(.85rem, 1.3vw, 1.05rem);
  text-transform: uppercase; letter-spacing: .18em; color: var(--paper);
}
.when b { color: var(--yel); font-weight: 400; }
.when span { margin: 0 .5em; color: var(--dim); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  background: #000;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img {
  object-fit: cover; object-position: 50% 60%;
  transform-origin: 62% 58%;
  animation: drift 38s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.17) translate(-1.6%, -1.2%); }
}
/* A plain black fade so the logo and words stand out. It adds no colour. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 38%, rgba(0, 0, 0, .2) 62%, rgba(0, 0, 0, .8));
}
.bar {
  position: absolute; left: 0; right: 0; z-index: 3; height: var(--bar); background: #000;
  animation: open 1.5s cubic-bezier(.7, 0, .2, 1) .25s both;
}
.bar-top { top: 0; }
.bar-bottom { bottom: 0; }
@keyframes open { from { height: 51vh; } to { height: var(--bar); } }

.hero-in {
  position: relative; z-index: 4;
  padding: calc(var(--bar) + 3vh) clamp(18px, 5vw, 64px) calc(var(--bar) + 9vh);
  display: grid; justify-items: center; gap: clamp(10px, 2.4vh, 28px);
}
.hero-in > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(1) { animation-delay: 1.25s; }
.hero-in > :nth-child(2) { animation-delay: 1.45s; }
.hero-in > :nth-child(3) { animation-delay: 1.75s; }
.hero-in > :nth-child(4) { animation-delay: 2s; }
.hero-in > :nth-child(5) { animation-delay: 2.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.presents {
  font-family: var(--mono); font-size: clamp(.8rem, 1.3vw, 1.05rem);
  text-transform: uppercase; letter-spacing: .5em; text-indent: .5em; color: var(--paper);
}
.logo { width: min(860px, 88vw, 100vh); }
.tag {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; line-height: 1.2;
  font-size: clamp(1.25rem, 3vw, 2.3rem); color: #fff; text-shadow: 2px 3px 0 #000;
}
.tag span { display: block; color: var(--yel); }
.cta { display: flex; flex-wrap: wrap; gap: 16px 18px; justify-content: center; }

.cue {
  position: absolute; z-index: 4; left: 0; right: 0; margin-inline: auto; width: max-content; bottom: calc(var(--bar) + 10px);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; text-indent: .3em;
  color: var(--paper); text-decoration: none; text-shadow: 1px 1px 0 #000;
  padding: 6px 10px 22px;
  animation: rise 1s ease 2.6s both;
}
.cue::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; margin-left: -6px;
  border-top: 9px solid var(--yel); border-left: 6px solid transparent; border-right: 6px solid transparent;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Story: the picture stays put while the words scroll by ---------- */
.story { position: relative; background: #000; }
.story-bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.16); transform-origin: 100% 100%;
  opacity: 0; transition: opacity 1.3s ease;
}
.story-bg img.on { opacity: 1; }
.story-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 84%, #000 100%);
}
.story-lines { position: relative; margin-top: -100vh; margin-top: -100svh; }
.beat {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 14vh clamp(18px, 6vw, 96px);
}
.beat:nth-child(2) { justify-content: flex-end; }
.card {
  max-width: 35rem; padding: clamp(22px, 3.4vw, 44px);
  background: rgba(0, 0, 0, .93); border-left: 6px solid var(--yel);
}
.story h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); margin-bottom: .45em; }
.card p:not(.slate) { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.card b { color: var(--yel); }
.js .card { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .beat.in .card { opacity: 1; transform: none; }

/* ---------- Numbers ---------- */
.stats {
  background: var(--blue);
  border-top: 4px solid var(--yel); border-bottom: 4px solid var(--yel);
  box-shadow: inset 0 8px 0 var(--blue-dark), inset 0 -8px 0 var(--blue-dark);
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 64px);
}
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; max-width: 1180px; margin: 0 auto; text-align: center; }
.stats b {
  display: block; font-family: var(--head); font-weight: 400; line-height: 1;
  font-size: clamp(3rem, 8vw, 6.4rem); color: var(--yel); text-shadow: 0 5px 0 #0a1440;
}
.stats span { display: block; margin-top: .5em; font-size: clamp(1rem, 1.5vw, 1.2rem); color: #fff; }

/* ---------- How it plays ---------- */
.play { padding: clamp(70px, 11vw, 150px) 0 0; background: linear-gradient(180deg, var(--ink), var(--navy) 30%, var(--navy2)); }
.reel {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  gap: clamp(22px, 5vw, 72px); margin-top: clamp(56px, 9vw, 120px);
}
.reel.flip { grid-template-columns: 1fr 1.25fr; }
.reel.flip .screen { order: 2; }
.reel.wide { grid-template-columns: 1fr; gap: clamp(18px, 3vw, 36px); }
.reel.wide .words { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(16px, 3vw, 40px); }
.reel.wide .num { grid-row: span 2; }
.reel.wide h3 { margin: 0; }
.screen {
  border-radius: 10px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 0 0 10px #0a0f24, 0 0 0 12px var(--blue), 0 30px 70px rgba(0, 0, 0, .6);
}
.screen video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.screen.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.num {
  font-family: var(--head); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--yel);
}
.reel h3 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin: .2em 0 .35em; }
.reel .words p:not(.num) { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: var(--paper); max-width: 26em; }

.marquee {
  margin-top: clamp(70px, 11vw, 150px); overflow: hidden; white-space: nowrap;
  background: #000; border-top: 2px solid var(--blue); border-bottom: 2px solid var(--blue); padding: 18px 0;
}
.marquee-in { display: inline-flex; align-items: center; animation: roll 34s linear infinite; }
.marquee span, .marquee b {
  font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem); padding: 0 .9em;
}
.marquee span { color: var(--dim); }
.marquee b { color: var(--yel); }
.marquee b::before, .marquee span::before { content: ""; display: inline-block; width: .42em; height: .42em; background: var(--blue); margin-right: 1.8em; transform: rotate(45deg) translateY(-.18em); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- Trailers ---------- */
.trailers { padding: clamp(70px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); background: var(--ink); }
.bill { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(30px, 5vw, 56px); align-items: start; }
.poster { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; color: var(--paper); text-decoration: none; }
.poster .frame {
  position: relative; display: block; overflow: hidden; border-radius: 8px; background: #000;
  box-shadow: 0 0 0 2px var(--line); grid-column: 1 / -1; margin-bottom: 16px;
}
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.poster:hover img { transform: scale(1.05); }
.poster:hover .frame { box-shadow: 0 0 0 3px var(--yel); }
.poster:hover .go { background: var(--yel2); }
.go {
  position: relative; grid-row: 2 / span 2; width: clamp(52px, 5vw, 66px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yel); box-shadow: 0 5px 0 var(--yel-dark);
}
.go::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 1.25em solid #0a0f24; border-top: .8em solid transparent; border-bottom: .8em solid transparent;
}
.poster .name { display: block; align-self: end; font-family: var(--head); text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .03em; line-height: 1.1; }
.poster .len { display: block; font-family: var(--mono); font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); align-self: start; margin-top: .3em; }

/* ---------- Film strip ---------- */
.gallery { padding: clamp(30px, 4vw, 56px) 0 clamp(36px, 5vw, 72px); background: linear-gradient(180deg, var(--ink), var(--navy) 60%, #000); }
.strip { position: relative; margin-top: clamp(30px, 5vw, 56px); background: #000; padding: 34px 0; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(90deg, #262c42 0 18px, #000 18px 36px);
}
.strip::before { top: 10px; }
.strip::after { bottom: 10px; }
.shots {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0 clamp(18px, 5vw, 64px); scrollbar-width: thin; scrollbar-color: var(--blue) #000;
}
.shots li { flex: 0 0 min(78vw, 620px); scroll-snap-align: center; }
.shots a { display: block; overflow: hidden; border-radius: 3px; background: #05070f; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.shots a:hover img, .shots a:focus-visible img { transform: scale(1.04); }
.nudge {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yel); box-shadow: 0 4px 0 var(--yel-dark);
}
.nudge-l { left: 14px; }
.nudge-r { right: 14px; }
.nudge i { position: absolute; left: 50%; top: 50%; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.nudge-l i { border-right: 15px solid #0a0f24; transform: translate(-60%, -50%); }
.nudge-r i { border-left: 15px solid #0a0f24; transform: translate(-40%, -50%); }
.nudge:hover { background: var(--yel2); }
.hint { text-align: center; margin-top: 18px; font-family: var(--mono); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ---------- Closing shot ---------- */
.finale {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: #000;
}
.finale-bg { position: absolute; inset: 0; z-index: -2; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; }
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .62), rgba(0, 0, 0, .25) 70%),
    linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 78%, #000 100%);
}
.finale-in { padding: 14vh clamp(18px, 5vw, 64px); display: grid; justify-items: center; gap: clamp(12px, 2.4vh, 24px); }
.finale .huge { color: #fff; text-shadow: 4px 6px 0 #000; }
.finale-in > p:not(.slate):not(.when):not(.cta) { font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: #fff; text-shadow: 2px 2px 0 #000; }
.finale .slate span { color: var(--paper); }
.finale .when { text-shadow: 1px 1px 0 #000, 2px 2px 0 #000; }
.finale .slate { background: #000; padding: .45em 1em; }

/* ---------- Follow: the channel guide (also used on links.html) ---------- */
.follow { padding: clamp(70px, 11vw, 150px) 0; background: linear-gradient(180deg, #000, var(--navy) 30%, var(--navy)); }
.guide { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(26px, 4vw, 48px); }
.guide.one { grid-template-columns: 1fr; margin-top: 8px; text-align: left; }
.guide li:first-child { grid-column: 1 / -1; }
.chan {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 20px;
  min-height: 84px; padding: 14px 22px; border-radius: 6px; text-decoration: none;
  background: #000; color: var(--paper); border: 2px solid var(--line); border-left: 8px solid var(--blue);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s;
}
.chan .no { font-family: var(--mono); font-size: .95rem; letter-spacing: .14em; color: var(--yel); white-space: nowrap; }
.chan .nm { font-family: var(--head); text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.chan .what { display: block; margin-top: .3em; font-family: var(--sans); font-size: 1.02rem; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--dim); }
.chan .arrow { grid-column: 4; width: 0; height: 0; border-left: 14px solid var(--yel); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.chan .tag { grid-column: 3; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yel); border: 1px dashed var(--yel); padding: .25em .6em; white-space: nowrap; }
.chan:hover, .chan:focus-visible { color: var(--paper); border-color: var(--yel); transform: translateX(6px); }
.chan.top { background: var(--yel); color: #0a0f24; border-color: var(--yel); border-left-color: var(--blue); box-shadow: 0 5px 0 var(--yel-dark); }
.chan.top .no, .chan.top .what { color: #0a0f24; }
.chan.top .arrow { border-left-color: #0a0f24; }
.chan.top:hover, .chan.top:focus-visible { background: var(--yel2); color: #0a0f24; }
.chan.need { border-left-color: var(--dim); }

/* ---------- links.html: the one page to put in every bio ---------- */
.hub { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 28px 16px 40px; background: #000; }
.hub-bg { position: fixed; inset: 0; z-index: -2; }
.hub-bg img { width: 100%; height: 100%; object-fit: cover; }
.hub::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0, 0, 0, .58); }
.hub-in { width: min(520px, 100%); display: grid; gap: 14px; text-align: center; }
.hub .logo { width: 100%; }
.hub-line { font-size: 1.2rem; color: #fff; text-shadow: 2px 2px 0 #000, 0 0 2px #000; }
.hub-line, .hub .small, .chan .what { text-wrap: balance; }
.hub .small { color: var(--paper); text-shadow: 1px 1px 0 #000; }
.hub .small a { display: inline-block; padding: .3em 0; }

/* ---------- Facts, like end credits ---------- */
.facts { padding: clamp(60px, 9vw, 120px) 0; background: var(--ink); }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.facts dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 0 1.4em; padding: .55em 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .9rem; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); text-align: right; padding-top: .2em; }
.facts dd { font-weight: 600; }
.facts p { margin-bottom: 1em; }

/* ---------- Footer ---------- */
footer { background: #000; border-top: 4px solid var(--blue); padding: 48px 0 56px; text-align: center; }
.foot-logo { width: min(320px, 70vw); margin: 0 auto 22px; }
footer p { margin-top: .6em; }
footer a { margin: 0 .8em; padding: .4em 0; display: inline-block; font-size: 1.15rem; }

/* ---------- Big picture viewer ---------- */
.lightbox, .cinema {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0, 0, 0, .95); align-items: center; justify-content: center;
}
.lightbox.open, .cinema.open { display: flex; }
.lightbox figure { max-width: min(94vw, 1600px); }
.lightbox figure img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; transition: opacity .2s; }
.lightbox figcaption { text-align: center; padding: 14px 10px 0; font-size: 1.05rem; }
.lightbox .count { font-family: var(--mono); color: var(--yel); letter-spacing: .1em; }
.lightbox button, .cinema button {
  font-family: var(--head); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--yel); color: #0a0f24; border: 0; border-radius: 6px; cursor: pointer;
}
.lightbox .close, .cinema .close { position: absolute; top: 16px; right: 16px; padding: .5em 1em; z-index: 2; }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; z-index: 2; }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .prev i, .lightbox .next i { position: absolute; left: 50%; top: 50%; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.lightbox .prev i { border-right: 15px solid #0a0f24; transform: translate(-60%, -50%); }
.lightbox .next i { border-left: 15px solid #0a0f24; transform: translate(-40%, -50%); }
.cinema video { width: min(94vw, 150vh); max-height: 84vh; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 2px var(--line); }

/* ---------- Things slide in as you scroll (only when the script runs) ---------- */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.stats li:nth-child(2), .bill .poster:nth-child(2) { transition-delay: .12s; }
.stats li:nth-child(3) { transition-delay: .24s; }
.stats li:nth-child(4) { transition-delay: .36s; }

/* ---------- Privacy page ---------- */
.page-top { background: #000; border-bottom: 4px solid var(--blue); padding: 22px 0; }
.page-top .logo { width: min(360px, 70vw); margin: 0 auto; }
.doc { max-width: 46rem; padding: 48px 0 72px; }
.doc h1 { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.doc h2 { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.6rem; margin: 1.6em 0 .4em; color: var(--yel); }
.doc p, .doc ul { margin-bottom: .9em; }
.doc ul { list-style: disc; padding-left: 1.4em; }
.doc .date { color: var(--dim); font-family: var(--mono); font-size: .95rem; }

/* ---------- Phones and small screens ---------- */
@media (max-width: 800px) {
  :root { --bar: 5.5vh; }
  body { font-size: 1.08rem; }
  .cta { flex-direction: column; align-items: stretch; width: min(360px, 100%); }
  .beat, .beat:nth-child(2) { align-items: flex-end; justify-content: flex-start; padding: 10vh 16px 9vh; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .reel, .reel.flip { grid-template-columns: 1fr; }
  .reel.wide .words { display: block; order: 2; }
  .hero .when span { display: block; height: 0; overflow: hidden; }
  .reel.wide h3 { margin: .2em 0 .35em; }
  .screen.two { grid-template-columns: 1fr; }
  .reel.flip .screen { order: 0; }
  .bill, .two-col { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .chan { grid-template-columns: auto 1fr auto; padding: 12px 14px; gap: 8px 14px; }
  .chan .tag { grid-column: 2; grid-row: 2; justify-self: start; }
  .chan .arrow { grid-column: 3; grid-row: 1; }
  .nudge { display: none; }
  .facts dl > div { grid-template-columns: 7em 1fr; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 14px; transform: none; }
}

/* ---------- Calm mode: for people who ask for less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .card { opacity: 1; transform: none; }
}
