/* =========================================================
   zeigarn: one episode, one day.
   Tokens come from brand/zeigarn-dna.json (colors measured from the thumbnails).
   Cartoon rules: ink outlines, hard offset shadows, Anton titles like the thumbnails.
   The page ground is the sky of the current scroll hour (--sky, set by main.js).
   ========================================================= */
:root {
  --ink: #0B0910;
  --night: #1E152A;
  --night-2: #272739;
  --indigo: #3B447B;
  --violet: #983396;
  --yellow: #FAEF0C;
  --cyan: #12D3CC;
  --coral: #F26244;
  --gold: #F4B15E;
  --cream: #FBF8F2;
  --mist: #E6E5E0;
  --steel: #86A3AD;

  --sky: var(--night);           /* driven by the day clock */

  --title: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --m: clamp(16px, 3vw, 48px);
  --gap: clamp(12px, 1.6vw, 24px);
  --line: 2.5px;
  --pop: cubic-bezier(.34, 1.4, .64, 1);
  --glide: cubic-bezier(.16, 1, .3, 1);
}

/* section tone: text colors for the sky behind it */
[data-tone="dark"] { --fg: var(--cream); --soft: rgba(251, 248, 242, .72); --panel: var(--night); }
[data-tone="light"] { --fg: var(--ink); --soft: rgba(11, 9, 16, .7); --panel: var(--cream); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--sky); }
body {
  margin: 0; background: var(--sky); color: var(--cream);
  font: 400 1.0625rem/1.55 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip;
}
.hour { position: relative; color: var(--fg); }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, input { touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding: 0 var(--m); max-width: 1440px; margin: 0 auto; }
.soft { color: var(--soft); }
::selection { background: var(--yellow); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 80; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; border: var(--line) solid var(--ink); }
.skip:focus { left: 8px; }

/* ---------- titles: set like the thumbnails ---------- */
.title { font-family: var(--title); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .9; text-wrap: balance; }
.title .ln { display: block; }
.title .ln.is-dropping { overflow: clip; overflow-clip-margin: .45em; }
/* Languages with accented capitals need room above each line, or the marks run into the line above. */
:root:not(:lang(en)) .title { line-height: 1.14; }
:root:not(:lang(en)) .title-xl, :root:not(:lang(en)) .hero .title-xl { line-height: 1.12; }
.title-xl { font-size: clamp(3.4rem, 8.6vw, 9.4rem); line-height: .86; }
.title-lg { font-size: clamp(2.8rem, 6.4vw, 6.6rem); }
.title-md { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.title-sm { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
/* thumbnail treatment: ink stroke under the fill + hard ink shadow */
.title .ln-hot, [data-tone="dark"] .title {
  -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill;
  text-shadow: .045em .06em 0 var(--ink);
}
.title .ln-hot { color: var(--yellow); }
[data-tone="light"] .title { color: var(--ink); }
[data-tone="dark"] .title { color: var(--cream); }

/* hour stamp: the only label on the page, and it's the time */
.stamp { display: inline-flex; margin-bottom: clamp(16px, 2vw, 24px); }
.stamp time {
  font: 600 .9375rem/1 var(--mono); letter-spacing: .02em; padding: 7px 10px 6px; border-radius: 8px;
  background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}

/* =========================================================
   Buttons: cartoon press. Fill, ink outline, offset shadow that collapses.
   ========================================================= */
.btn {
  --b-bg: var(--cream); --b-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  background: var(--b-bg); color: var(--b-fg); border: var(--line) solid var(--ink); border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 1rem/1 var(--sans); letter-spacing: -0.01em;
  transition: transform .35s var(--pop), box-shadow .35s var(--pop), background-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; transition: transform .45s var(--pop); }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 var(--ink); }
.btn:hover svg { transform: translateX(3px) scale(1.1); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); transition-duration: .08s; }
.btn-yellow { --b-bg: var(--yellow); }
.btn-white { --b-bg: var(--cream); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--cream); box-shadow: 0 5px 0 var(--cyan); }
.btn-ink:hover { box-shadow: 0 8px 0 var(--cyan); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9375rem; border-radius: 11px; box-shadow: 0 4px 0 var(--ink); }
.btn-lg { height: 62px; padding: 0 28px; font-size: 1.125rem; border-radius: 16px; box-shadow: 0 6px 0 var(--ink); }
.btn:disabled { opacity: .55; cursor: progress; }

/* round-ish key, like a remote button */
.key {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  transition: transform .3s var(--pop), box-shadow .3s var(--pop);
}
.key svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.key:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.key:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }

/* =========================================================
   Top bar: wordmark + one action. The clock is the navigation.
   ========================================================= */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px var(--m);
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.top > * { pointer-events: auto; }
.top-end { display: flex; align-items: center; gap: 10px; }

/* language switcher: same cartoon key + popover as the clock */
.i18n-wait body { opacity: 0; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; cursor: pointer;
  background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 11px; box-shadow: 0 4px 0 var(--ink);
  font: 600 .8125rem/1 var(--mono); transition: transform .3s var(--pop), box-shadow .3s var(--pop);
}
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.lang-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.lang-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 14px); margin: 0; padding: 8px; list-style: none; min-width: 200px;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink);
  transform-origin: 90% 0; transform: scale(.85) translateY(-10px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--pop), opacity .25s, visibility 0s .4s;
}
.lang.is-open .lang-list { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--pop), opacity .25s; }
.lang-list a { display: flex; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang-list a b { font: 600 .75rem/1 var(--mono); min-width: 2.2em; color: rgba(11, 9, 16, .6); }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--yellow); }
.dial-lang { display: none; }
.dial-lang a { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 6px; margin: 2px; border-radius: 9px; border: 2px solid var(--ink); text-decoration: none; font: 600 .75rem/1 var(--mono); }
.dial-lang a[aria-current] { background: var(--yellow); }
/* a band of the current sky behind the bar, so passing titles never collide with it */
.top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--sky) 55%, transparent); }
.hero-stage .hero-copy { z-index: 1; }
.wordmark {
  font: 400 1.75rem/1 var(--title); letter-spacing: .03em; text-decoration: none; color: var(--cream);
  -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; text-shadow: .05em .07em 0 var(--ink);
  transition: transform .4s var(--pop);
}
.wordmark:hover { transform: rotate(-3deg) scale(1.05); }

/* =========================================================
   The day clock
   ========================================================= */
/* hangs at the top centre like a wall clock, clear of the content columns */
.dial { position: fixed; left: 50%; top: 10px; translate: -50% 0; z-index: 55; }
.dial-face {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; padding: 0; cursor: pointer;
  border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  transition: transform .4s var(--pop), box-shadow .4s var(--pop);
}
.dial-face:hover { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 8px 0 var(--ink); }
.dial-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-ring .tick { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.dial-ring .tick.major { stroke-width: 2.6; }
.dial-ring .lived { fill: none; stroke: var(--cyan); stroke-width: 7; stroke-linecap: butt; }
.dial-ring .stop { fill: var(--cream); stroke: var(--ink); stroke-width: 2; }
.dial-ring .stop.done { fill: var(--yellow); }
.dial-ring .hand { stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; }
.dial-ring .hand-tip { fill: var(--coral); stroke: var(--ink); stroke-width: 2; }
.dial-ring .hub { fill: var(--ink); }
.dial.is-midnight .dial-face { background: var(--yellow); }
/* 24:00: the clock rings like an alarm for a few seconds */
.dial.is-ringing .dial-face { animation: ring .09s linear 26 alternate, ring-settle .5s var(--pop) 2.34s; }
.dial.is-ringing .dial-face::before,
.dial.is-ringing .dial-face::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--yellow); pointer-events: none;
  animation: ring-wave .7s ease-out 4;
}
.dial.is-ringing .dial-face::after { animation-delay: .35s; }
@keyframes ring {
  from { transform: translate(-2px, 0) rotate(-9deg); }
  to { transform: translate(2px, -2px) rotate(9deg); }
}
@keyframes ring-settle { 0% { transform: rotate(5deg); } 100% { transform: none; } }
@keyframes ring-wave { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.dial-time { position: relative; margin-top: 30px; font: 600 .8125rem/1 var(--mono); color: var(--ink); background: var(--cream); padding: 2px 4px; border-radius: 4px; }

.dial-hours {
  position: absolute; left: 50%; top: calc(100% + 16px); margin: 0 0 0 -125px; padding: 8px; list-style: none; min-width: 250px;
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink);
  transform-origin: 50% 0; transform: scale(.85) translateY(-10px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--pop), opacity .25s, visibility 0s .4s;
}
.dial.is-open .dial-hours { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--pop), opacity .25s; }
.dial-hours a { display: flex; gap: 12px; align-items: baseline; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.dial-hours a:hover, .dial-hours a.is-now { background: var(--yellow); }
.dial-hours time { font: 600 .8125rem/1 var(--mono); color: rgba(11, 9, 16, .6); }

/* =========================================================
   00:00 Hero
   ========================================================= */
.hero { background: var(--night); }
.hero-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.2s ease; }
.hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: 0; }
.has-3d .hero-canvas { opacity: 1; }
/* the still only appears when the 3D portal can't run; otherwise it would flash before the scene fades in */
.no-3d .hero-fallback { opacity: .6; transition: opacity .6s ease; }
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 75% at 0% 100%, rgba(30, 21, 42, .9) 0%, rgba(30, 21, 42, .5) 40%, transparent 70%);
}
.hero-copy { position: absolute; left: var(--m); bottom: clamp(150px, 20svh, 200px); width: min(820px, calc(100% - 2 * var(--m))); }
.hero .title-xl { font-size: clamp(3.4rem, 7.8vw, 8.6rem); }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--soft); max-width: 31em; margin: 24px 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-now { position: absolute; right: var(--m); bottom: 30px; max-width: 22em; text-align: right; font-size: .875rem; color: rgba(251, 248, 242, .62); }
.hero-now time { font-family: var(--mono); font-weight: 600; color: var(--cyan); }

/* =========================================================
   07:00 Meet him
   ========================================================= */
.host { padding: clamp(140px, 16vw, 220px) 0 clamp(100px, 12vw, 160px); }
.host-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.host-copy .title { margin-bottom: 28px; }
.host-copy p:not(.stamp) { font-size: 1.125rem; max-width: 30em; margin-bottom: 14px; }
.faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.faces li {
  position: relative; aspect-ratio: 3 / 4.2; margin: 0 -6px; border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; overflow: hidden;
}
/* the hover transition only switches on after the entrance animation has let go of transform */
.faces.is-in li, .no-js-motion .faces li { transition: transform .5s var(--pop); }
.faces li:nth-child(1) { background: var(--yellow); transform: rotate(-4deg); }
.faces li:nth-child(2) { background: var(--cyan); transform: rotate(3deg) translateY(18px); }
.faces li:nth-child(3) { background: var(--coral); transform: rotate(-2deg); }
.faces li:nth-child(4) { background: #C9A4E8; transform: rotate(4deg) translateY(14px); }
.faces li:hover { transform: rotate(0) translateY(-10px) scale(1.04); z-index: 2; }
.faces img { position: absolute; left: 50%; top: 9%; height: 66%; width: auto; translate: -50% 0; filter: drop-shadow(0 4px 0 rgba(11, 9, 16, .35)); }
.faces span { position: relative; font: 700 1rem/1.15 var(--sans); color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 8px; padding: 5px 8px; align-self: flex-start; }

/* =========================================================
   10:00 The TV
   ========================================================= */
.tv-section { padding: clamp(110px, 12vw, 170px) 0 clamp(80px, 9vw, 130px); }
.tv-layout { display: grid; grid-template-columns: 4fr 8fr; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 64px); }
.tv-head { grid-column: 1; grid-row: 1; }
.tv-head .title { margin-bottom: 20px; }
.tv-head p:not(.stamp) { max-width: 22em; font-size: 1.125rem; }
.tv-stage { grid-column: 2; grid-row: 1 / 3; position: relative; min-height: min(78svh, 760px); }
.tv-canvas { position: absolute; inset: -4% -6% -2%; width: 112%; height: 106%; max-width: none; opacity: 0; transition: opacity 1s ease; }
.has-tv .tv-canvas { opacity: 1; }
.tv-stage.is-hot { cursor: pointer; }
.tv-fallback {
  position: absolute; inset: 14% 8%; display: block; border-radius: 26px; overflow: hidden;
  background: var(--ink); border: 14px solid var(--indigo); outline: 3px solid var(--ink); box-shadow: 0 10px 0 var(--ink);
}
.tv-fallback img { width: 100%; height: 100%; object-fit: cover; }
.has-tv .tv-fallback { display: none; }
.tv-remote { grid-column: 1; grid-row: 2; align-self: end; margin-top: 40px; }
.channels { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.ch {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px;
  text-decoration: none; color: var(--ink); border: var(--line) solid transparent; transition: background-color .3s, border-color .3s, transform .4s var(--pop);
}
.ch-no { font: 600 .8125rem/1 var(--mono); }
.ch-title { font-weight: 650; font-size: 1.0625rem; line-height: 1.25; letter-spacing: -0.015em; }
.ch-meta { grid-column: 2; font-size: .8125rem; color: rgba(11, 9, 16, .62); }
.ch-meta .live { color: #B3260C; font-weight: 600; }
.ch:hover { background: rgba(251, 248, 242, .6); }
.ch.is-on { background: var(--cream); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); transform: translateX(6px); }
.tv-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tv-count { font: 600 .9375rem/1 var(--mono); min-width: 5ch; text-align: center; }
.tv-watch { margin-left: 6px; }

/* =========================================================
   16:00 Golden hour under the tree
   ========================================================= */
.story { background: var(--night); }
.story-pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.story-scene {
  position: absolute; inset: 0; overflow: hidden; background: #2a1b14;
  clip-path: inset(var(--inset-y, 0%) var(--inset-x, 0%) round var(--inset-r, 0px));
}
.story-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 45%; }
.cherry-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.story-panel {
  position: relative; z-index: 2; margin-left: var(--m); width: min(460px, calc(100% - 2 * var(--m)));
  padding: clamp(22px, 2.4vw, 30px); border-radius: 22px; background: rgba(30, 21, 42, .9); color: var(--cream);
  border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink);
}
.story-panel .title { margin-bottom: 22px; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.beats li { display: grid; grid-template-columns: 58px 1fr; gap: 0 14px; font-size: .9375rem; line-height: 1.45; color: rgba(251, 248, 242, .78); transition: opacity .4s; }
.beats time { grid-row: span 2; align-self: start; text-align: center; font: 600 .8125rem/1 var(--mono); padding: 6px 0 5px; border-radius: 7px; background: var(--night-2); color: var(--cream); border: 2px solid var(--ink); transition: background-color .3s, color .3s; }
.beats b { color: var(--cream); font-weight: 650; }
.js-motion .beats li { opacity: .38; }
.js-motion .beats li.on { opacity: 1; }
.beats li.on time { background: var(--yellow); color: var(--ink); }
.video-toggle { position: absolute; right: var(--m); bottom: 28px; z-index: 3; }
.video-toggle svg { fill: currentColor; stroke: none; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }

/* =========================================================
   19:00 Vote
   ========================================================= */
.vote { padding: clamp(130px, 14vw, 200px) 0; }
.vote-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 64px); }
.vote-head .title { margin-bottom: 22px; }
.vote-head p:not(.stamp) { font-size: 1.125rem; max-width: 34em; }
.vote-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.poll-status { color: var(--soft); }
.poll-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.poll-opt {
  position: relative; width: 100%; min-height: 128px; display: grid; grid-template-rows: 1fr auto; gap: 14px; text-align: left;
  padding: 18px; border: var(--line) solid var(--ink); border-radius: 18px; background: var(--cream); color: var(--ink); cursor: pointer; overflow: hidden;
  box-shadow: 0 5px 0 var(--ink); font-family: var(--sans);
  transition: transform .4s var(--pop), box-shadow .4s var(--pop), background-color .3s;
}
.poll-opt .label { font: 400 clamp(1.35rem, 1.9vw, 1.75rem)/1 var(--title); text-transform: uppercase; letter-spacing: .01em; position: relative; z-index: 1; }
.poll-opt .row { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; font-weight: 600; font-size: .875rem; }
.poll-opt .pct { font: 600 1rem/1 var(--mono); }
.poll-opt .bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: rgba(18, 211, 204, .35); transition: width 1.4s var(--glide); }
.poll-opt:not(:disabled):hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 9px 0 var(--ink); }
.poll-opt:not(:disabled):active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.poll-opt:disabled { cursor: default; }
.poll-opt.chosen { background: var(--yellow); }
.poll-opt.chosen .bar { background: rgba(11, 9, 16, .12); }
.poll-total { margin-top: 16px; font-weight: 600; }

.suggest {
  position: relative; padding: 24px; border-radius: 22px; background: var(--night); color: var(--cream);
  border: 3px solid var(--ink); box-shadow: 0 7px 0 var(--ink); display: flex; flex-direction: column;
}
.suggest-face { position: absolute; right: 18px; top: -70px; width: 84px; filter: drop-shadow(0 5px 0 rgba(11, 9, 16, .4)); }
.suggest label { color: var(--cream); -webkit-text-stroke: .09em var(--ink); paint-order: stroke fill; text-shadow: .045em .06em 0 var(--ink); }
.suggest .title { color: var(--cream); }
.suggest-hint { color: rgba(251, 248, 242, .72); margin: 10px 0 20px; font-size: .9375rem; }
.idea-field { display: flex; align-items: center; gap: 8px; background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 14px; padding: 12px 14px; margin-bottom: 20px; }
.idea-field:focus-within { outline: 3px solid var(--cyan); outline-offset: 2px; }
.idea-field span { color: rgba(11, 9, 16, .6); white-space: nowrap; font-weight: 600; }
.idea-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1rem var(--sans); color: var(--ink); padding: 0; outline: 0; }
.idea-field input::placeholder { color: rgba(11, 9, 16, .38); }
.suggest .btn { align-self: flex-start; }
.form-msg { margin-top: 14px; font-size: .9375rem; min-height: 1.4em; }
.form-msg.ok { color: var(--cyan); }
.form-msg.err { color: var(--gold); }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   21:00 Commercial break
   ========================================================= */
.partners { padding: clamp(120px, 13vw, 190px) 0; }
.bumper {
  position: relative; overflow: hidden; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 8px 0 var(--ink);
  padding: clamp(36px, 6vw, 88px) clamp(24px, 4vw, 64px); text-align: center; background: var(--night-2);
  clip-path: inset(0 0 0 0 round 28px);
}
/* TV test-card bars in the channel colors: the "we'll be right back" card */
.bumper::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9;
  background: linear-gradient(90deg, var(--cream) 0 14.28%, var(--yellow) 0 28.57%, var(--cyan) 0 42.85%, #3FCB8E 0 57.14%, var(--violet) 0 71.42%, var(--coral) 0 85.71%, var(--indigo) 0);
  -webkit-mask: linear-gradient(180deg, #000 0 68%, transparent 68%); mask: linear-gradient(180deg, #000 0 68%, transparent 68%);
}
.bumper::after { content: ""; position: absolute; inset: 68% 0 0; z-index: 0; background: linear-gradient(90deg, var(--ink) 0 25%, var(--cream) 0 37.5%, var(--ink) 0 50%, var(--night) 0); }
.bumper > * { position: relative; z-index: 1; }
.bumper .title { color: var(--cream); }
.bumper-sub { display: inline-block; margin-top: 22px; font-weight: 700; font-size: 1.125rem; color: var(--ink); background: var(--cream); border: var(--line) solid var(--ink); border-radius: 12px; padding: 8px 14px; box-shadow: 0 4px 0 var(--ink); }
.pitch { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.pitch-lead { font-size: clamp(1.375rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.rate-card {
  margin: 0; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 7px 0 var(--ink);
  padding: 8px 24px; transform: rotate(-1deg);
}
.rate-card div { padding: 18px 0; }
.rate-card div + div { border-top: 2.5px dashed rgba(11, 9, 16, .35); }
.rate-card dt { font: 400 1.6rem/1 var(--title); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 8px; }
.rate-card dd { margin: 0; color: rgba(11, 9, 16, .75); }
.pitch-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.pitch-cta p { color: var(--soft); }

/* =========================================================
   22:30 Late night: the quiet before midnight
   ========================================================= */
.late { padding: clamp(110px, 12vw, 170px) 0 clamp(140px, 16vw, 220px); }
.late-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.late .title { margin-bottom: 16px; }
.guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.guide a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 4px; text-decoration: none; border-bottom: 2px dotted rgba(251, 248, 242, .22); transition: color .25s, padding .45s var(--pop); }
.guide b { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 650; letter-spacing: -0.025em; }
.guide span { font: 500 .8125rem/1 var(--mono); color: rgba(251, 248, 242, .55); }
.guide a:hover, .guide a:focus-visible { color: var(--yellow); padding-left: 12px; }

/* =========================================================
   23:59 Midnight
   ========================================================= */
.finale-stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: var(--night); }
.eyes-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1s ease; }
.eyes-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-eyes .eyes-canvas { opacity: 1; }
.finale-kicker {
  position: absolute; left: 50%; bottom: 8%; translate: -50% 0; display: flex; gap: 10px; align-items: center;
  padding: 10px 16px; border-radius: 14px; background: var(--cream); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--ink); font-weight: 700;
}
.finale-kicker time { font: 600 .875rem/1 var(--mono); }
.finale-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--m); }
.js-motion.has-eyes .finale-end { opacity: 0; }
.finale-end .title { margin-bottom: 18px; }
.finale-line { font-size: 1.1875rem; color: rgba(251, 248, 242, .85); margin-bottom: 32px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: rgba(251, 248, 242, .6); padding: 22px var(--m); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .9375rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }

/* 404 */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 32px var(--m); text-align: center; background: var(--night); color: var(--cream); }
.lost img { width: 140px; }
.lost p { color: rgba(251, 248, 242, .72); max-width: 30em; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .host-grid, .tv-layout, .vote-grid, .pitch, .late-grid { grid-template-columns: 1fr; }
  .tv-head, .tv-stage, .tv-remote { grid-column: 1; grid-row: auto; }
  .tv-stage { min-height: 0; aspect-ratio: 1 / .95; margin-top: 16px; }
  .tv-canvas { inset: 0; width: 100%; height: 100%; }
  .tv-remote { margin-top: 24px; }
  .suggest { margin-top: 70px; }
  .rate-card { transform: none; }
}
@media (max-width: 700px) {
  .top .lang { display: none; }
  .dial-lang { display: flex; flex-wrap: wrap; padding: 8px 6px 4px; margin-top: 6px; border-top: 2px dashed rgba(11, 9, 16, .2); }
  .faces { grid-template-columns: repeat(2, 1fr); gap: 22px 4px; }
  .poll-list, .guide { grid-template-columns: 1fr; }
  .hero-copy { bottom: 128px; }
  .hero-now { display: none; }
  .dial { top: 8px; }
  .dial-face { width: 64px; height: 64px; border-width: 2.5px; box-shadow: 0 4px 0 var(--ink); }
  .dial-time { margin-top: 20px; font-size: .625rem; }
  .wordmark { font-size: 1.375rem; }
  .story-pin { height: auto; min-height: 0; display: block; }
  .story-scene { position: relative; inset: auto; aspect-ratio: 4 / 5; clip-path: none; }
  .story-panel { margin: -110px var(--m) 0; width: auto; }
  .story { padding-bottom: 64px; }
  .video-toggle { bottom: auto; top: 80px; }

  .idea-field { flex-wrap: wrap; }
  .idea-field input { flex-basis: 100%; }
  .btn { height: 50px; padding: 0 18px; }
  .tv-watch { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Text pages (privacy): night sky, one readable column
   ========================================================= */
.doc-page { --sky: var(--night); }
.doc { padding: clamp(110px, 14vw, 160px) var(--m) clamp(80px, 10vw, 120px); }
.doc-wrap { max-width: 720px; margin: 0 auto; }
.doc-back { display: inline-block; margin-bottom: 28px; font-weight: 600; color: var(--cyan); }
.doc .title { margin-bottom: 14px; }
.doc-updated { font: 500 .875rem/1.4 var(--mono); color: var(--soft); margin-bottom: 40px; }
.doc section { padding: 22px 0; border-top: 2px dashed rgba(251, 248, 242, .16); }
.doc h2 { font: 400 1.6rem/1.1 var(--title); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.doc p { color: rgba(251, 248, 242, .82); }
.doc a { color: var(--yellow); }
.doc code { font: 500 .9em var(--mono); background: var(--night-2); padding: 1px 6px; border-radius: 6px; }
