/* =========================================================================
   ZAN.E — live fitness show, Singapore.
   One page, mobile first. The visual language is a broadcast gallery:
   condensed cut type, timecode mono, a signal-red on near-black, and a run
   sheet where the hour is laid out as numbered cues.
   No frameworks, no inline styles, no third parties.
   ========================================================================= */

/* ---------------------------------------------------- tokens ------------ */
:root {
  --ink:      #0B0B0C;   /* page ground                                   */
  --ink-2:    #131316;   /* alternating band                              */
  --ink-3:    #1A1A1F;   /* raised panel                                  */
  --line:     #2A2A31;   /* hairline                                      */
  --line-2:   #3A3A44;   /* hairline, emphasised                          */
  --bone:     #F4F2EE;   /* primary text                                  */
  --dim:      #9C9A96;   /* secondary text — 7.0:1 on ink, 6.6:1 on ink-2 */
  --sig:      #FF3B30;   /* signal red — 5.5:1 on ink                     */
  --sig-deep: #D42A20;

  --shell: 1180px;
  --gut: clamp(18px, 5vw, 44px);

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------- reset ------------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(15px, 1.05vw + 12px, 17px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* clears the fixed action bar below the desktop breakpoint */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.015em; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

::selection { background: var(--sig); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--sig);
  color: var(--ink);
  padding: 12px 18px;
  font: 500 14px/1 var(--mono);
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------------------------------------------------- reveals ----------- */
/* Gated on .js-anim so a stalled observer can never serve a blank page.
   Opacity is a static hard cut, never a keyframe — see the template notes. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-anim .reveal.d1 { transition-delay: .08s; }
.js-anim .reveal.d2 { transition-delay: .16s; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------- buttons ----------- */
.btn {
  --btn-pad: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: var(--btn-pad);
  font: 700 clamp(13px, .5vw + 11px, 15px)/1 var(--display);
  font-stretch: 88%;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn svg {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-lg { --btn-pad: 16px 26px; }
.btn-xl { --btn-pad: 18px 32px; }

/* ink-on-red: 5.5:1, and it reads as broadcast signage rather than a banner ad */
.btn-sig { background: var(--sig); color: var(--ink); }
.btn-sig:hover { background: var(--bone); }
.btn-sig:active { transform: translateY(1px); }

.btn-ghost { border-color: var(--line-2); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(244, 242, 238, .06); }
.btn-ghost:active { transform: translateY(1px); }

/* ---------------------------------------------------- header ------------ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sig);
  flex: none;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .55);
  animation: pip 2.4s var(--ease) infinite;
}
.brand-name {
  font-weight: 900;
  font-stretch: 70%;
  font-size: 22px;
  letter-spacing: .05em;
}

@keyframes pip {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 48, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-dot { animation: none; }
}

.site-nav { display: none; gap: 26px; }
.site-nav a {
  font: 500 13px/1 var(--mono);
  letter-spacing: .02em;
  color: var(--dim);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.site-nav a:hover { color: var(--bone); border-bottom-color: var(--sig); }

.head-cta { display: none; }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .head-cta { display: inline-flex; }
}

/* ---------------------------------------------------- hero -------------- */
.hero {
  position: relative;
  padding-top: clamp(34px, 6vw, 70px);
  padding-bottom: clamp(26px, 4vw, 44px);
  overflow: hidden;          /* contains the decorative bleed, not the page */
}
/* broadcast ground: fine scanlines plus one warm signal bloom */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 78% 6%, rgba(255, 59, 48, .16), transparent 68%),
    repeating-linear-gradient(
      to bottom,
      rgba(244, 242, 238, .028) 0 1px,
      transparent 1px 4px
    );
}
.hero > * { position: relative; }

.hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 54px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.eb-mark {
  width: 26px;
  height: 2px;
  background: var(--sig);
  flex: none;
}

.hero-title { display: grid; gap: clamp(10px, 1.6vw, 16px); }
.ht-name {
  display: block;
  font-weight: 900;
  font-stretch: 64%;
  font-size: clamp(74px, 19vw, 188px);
  line-height: .82;
  letter-spacing: -.028em;
  text-transform: uppercase;
}
.ht-line {
  display: block;
  font-weight: 700;
  font-stretch: 84%;
  font-size: clamp(21px, 3.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--bone);
}

.hero-lede {
  margin-top: clamp(18px, 2.6vw, 26px);
  max-width: 46ch;
  color: var(--dim);
  font-size: clamp(15px, .8vw + 13px, 18px);
}

/* the slot: the one fact the page exists to deliver */
.slot {
  margin-top: clamp(22px, 3vw, 30px);
  padding: 16px 0 16px 18px;
  border-left: 3px solid var(--sig);
}
.slot-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}
/* Narrow screens: the day takes its own row so the timezone never orphans
   onto a third line under the time. */
.slot-day { flex: 1 0 100%; }
@media (min-width: 560px) { .slot-day { flex: 0 0 auto; } }
.slot-day {
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(30px, 5.6vw, 46px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.slot-time {
  font: 500 clamp(26px, 5vw, 42px)/1 var(--mono);
  letter-spacing: -.02em;
  color: var(--bone);
}
.slot-dash { color: var(--sig); }
.slot-tz {
  font: 500 13px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--dim);
  align-self: center;
}
.slot-zh {
  margin-top: 9px;
  font-size: 14px;
  color: var(--dim);
  letter-spacing: .02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.4vw, 32px);
}

.handle {
  margin-top: 20px;
  font: 400 13px/1.5 var(--mono);
  color: var(--dim);
}
.handle b { color: var(--bone); font-weight: 500; }
.handle-sep { margin-inline: 9px; color: var(--line-2); }

/* ---- vertical-video frame ---- */
.hero-frame { display: flex; justify-content: center; }

.phone {
  position: relative;      /* the HUD overlays this frame, not the section */
  width: min(78vw, 340px);
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}
.phone-screen {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
}
/* ---- standby slate ----
   What the frame is showing between broadcasts: a gallery slate, driven by the
   same Singapore clock as the rest of the page. It goes red and reads ON AIR
   during the hour. */
.slate {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: 34px;            /* clears the REC / timecode HUD row */
  background: linear-gradient(180deg, #17171C 0%, #0D0D10 58%, #121216 100%);
}
.slate-bars {
  height: 6.5%;
  min-height: 11px;
  background: linear-gradient(90deg,
    #D6D3CC 0 14.28%, #CFC15C 14.28% 28.56%, #5EB6BB 28.56% 42.84%,
    #529E5C 42.84% 57.12%, #AB629C 57.12% 71.40%, #C24A40 71.40% 85.68%,
    #43589F 85.68% 100%);
}

.slate-mid {
  align-self: center;
  padding: 0 clamp(14px, 6%, 26px);
  text-align: center;
}
.slate-state {
  font: 500 10px/1 var(--mono);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.slate[data-on] .slate-state { color: var(--sig); }
.slate-mark {
  font-weight: 900;
  font-stretch: 66%;
  font-size: 42px;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--bone);
}
.slate-meta {
  margin-top: 12px;
  font: 400 11px/1.5 var(--mono);
  letter-spacing: .06em;
  color: var(--dim);
}

.slate-foot {
  margin: 0 clamp(14px, 6%, 22px) clamp(16px, 7%, 26px);
  padding-top: 14px;
  border-top: 1px solid rgba(244, 242, 238, .14);
  text-align: center;
}
.slate-label {
  font: 500 10px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.slate-count {
  font: 500 19px/1 var(--mono);
  letter-spacing: -.01em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.slate[data-on] .slate-count { color: var(--sig); }
/* Scanlines only. The heavy top/bottom scrim this used to carry was there to
   sink a photograph behind the HUD; over the slate it only crushed the
   countdown, so it is gone. */
.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .17) 0 1px, transparent 1px 3px);
}
.phone-hud {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 500 11px/1 var(--mono);
  letter-spacing: .14em;
}
.hud-rec { display: inline-flex; align-items: center; gap: 6px; color: var(--bone); }
.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sig);
  animation: blink 1.6s steps(1, end) infinite;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .18; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }
.hud-tc { color: var(--bone); }

.phone-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px 2px;
  font: 500 10px/1 var(--mono);
  letter-spacing: .18em;
  color: var(--dim);
}
.pf-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 12px; }
.pf-bars i {
  width: 3px;
  background: var(--line-2);
  animation: vu 1.1s var(--ease) infinite alternate;
}
.pf-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.pf-bars i:nth-child(2) { height: 75%; animation-delay: .12s; }
.pf-bars i:nth-child(3) { height: 55%; animation-delay: .26s; }
.pf-bars i:nth-child(4) { height: 95%; animation-delay: .09s; background: var(--sig); }
.pf-bars i:nth-child(5) { height: 35%; animation-delay: .33s; }
@keyframes vu { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.pf-bars i { transform-origin: bottom; }
@media (prefers-reduced-motion: reduce) { .pf-bars i { animation: none; } }

/* ---- live status strip ---- */
.status {
  margin-top: clamp(30px, 4.5vw, 48px);
  display: grid;
  gap: 4px 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  background: var(--ink-2);
}
.status[data-state="live"] { border-left-color: var(--sig); background: rgba(255, 59, 48, .07); }
.status[data-state="soon"] { border-left-color: var(--bone); }

.status-left { display: flex; align-items: center; gap: 9px; }
.status-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  flex: none;
}
.status[data-state="live"] .status-pip { background: var(--sig); animation: blink 1.2s steps(1, end) infinite; }
.status[data-state="soon"] .status-pip { background: var(--bone); }

.status-label {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.status[data-state="live"] .status-label { color: var(--sig); }

.status-main {
  font: 500 clamp(19px, 3.4vw, 30px)/1.05 var(--mono);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.status-sub { font-size: 14px; color: var(--dim); }

@media (min-width: 760px) {
  .status {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .status-sub { text-align: right; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) 340px; }
}

/* ---------------------------------------------------- ticker ------------ */
/* True-loop marquee: no gap on the track, spacing lives on the row, and the
   clone count is decided at runtime. See PATTERNS.md. */
.ticker-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 13px;
}
.ticker {
  display: flex;
  width: max-content;
  animation: slide 28s linear infinite;
}
.ticker-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font: 500 13px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.ticker-row i { color: var(--sig); font-style: normal; font-size: 9px; }
@keyframes slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; } }

/* ---------------------------------------------------- bands ------------- */
.band { padding-block: clamp(52px, 7.4vw, 92px); }
.band-alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 60ch; margin-bottom: clamp(30px, 4.5vw, 52px); }
.sec-num {
  font: 500 12px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sig);
  margin-bottom: 14px;
}
.sec-title {
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.022em;
}
.sec-lede {
  margin-top: 16px;
  color: var(--dim);
  max-width: 52ch;
}

/* ---------------------------------------------------- topics ------------ */
.topics {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.topic {
  min-width: 0;
  background: var(--ink);
  padding: clamp(22px, 3vw, 32px);
}
.band-alt .topic { background: var(--ink-2); }
.topic-idx {
  display: block;
  font: 500 12px/1 var(--mono);
  letter-spacing: .18em;
  color: var(--sig);
  margin-bottom: 16px;
}
.topic h3 {
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(19px, 1.4vw + 15px, 24px);
  margin-bottom: 10px;
}
.topic p { color: var(--dim); font-size: 15px; }

@media (min-width: 680px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------- rundown ----------- */
.rundown {
  border-top: 1px solid var(--line);
  counter-reset: cue;
}
.cue {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .3s var(--ease);
}
.cue-no {
  grid-column: 1;
  font: 500 11px/1.6 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.cue-time {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cue-time b {
  font: 500 clamp(22px, 3.6vw, 30px)/1 var(--mono);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.cue-time i {
  font: 400 11px/1 var(--mono);
  font-style: normal;
  letter-spacing: .1em;
  color: var(--dim);
}
.cue-body { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.cue-body h3 {
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(20px, 1.6vw + 15px, 27px);
  margin-bottom: 8px;
}
.cue-body p { color: var(--dim); font-size: 15px; max-width: 62ch; }

.cue-live {
  grid-column: 2;
  justify-self: start;
  margin-top: 12px;
  padding: 5px 10px;
  background: var(--sig);
  color: var(--ink);
  font: 500 10px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.cue[data-now] { background: rgba(255, 59, 48, .06); }
/* Sits just outside the row rather than bleeding to the viewport edge, so it
   reads as attached to the highlighted cue. -16px stays inside the 18px
   minimum gutter, so it can never open a page overflow at 320px. */
.cue[data-now]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sig);
}

.rundown-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: 22px;
}
.rf-key {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.rf-val {
  font: 500 17px/1 var(--mono);
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.rf-note { font-size: 14px; color: var(--dim); flex: 1 1 24ch; min-width: 0; }

@media (min-width: 720px) {
  .cue { grid-template-columns: 92px 130px minmax(0, 1fr) auto; gap: 0 24px; align-items: center; }
  .cue-no { grid-column: 1; grid-row: 1; }
  .cue-time { grid-column: 2; grid-row: 1; }
  .cue-body { grid-column: 3; grid-row: 1; }
  .cue-live { grid-column: 4; grid-row: 1; margin-top: 0; justify-self: end; }
}

/* ---------------------------------------------------- why --------------- */
.why-grid { display: grid; gap: clamp(30px, 5vw, 50px); }

.reasons { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.reasons > li {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  background: var(--ink);
  padding: clamp(20px, 2.6vw, 28px) 0;
  padding-inline: 2px;
}
.rs-no {
  font: 500 12px/1.5 var(--mono);
  letter-spacing: .16em;
  color: var(--sig);
}
.reasons h3 {
  font-weight: 800;
  font-stretch: 82%;
  font-size: clamp(19px, 1.5vw + 15px, 26px);
  margin-bottom: 8px;
}
.reasons p { color: var(--dim); font-size: 15px; max-width: 58ch; }

/* Wide screens split each reason into letter · claim · explanation, echoing the
   run sheet's cue · time · body so the two list sections read as one system. */
@media (min-width: 900px) {
  .reasons > li { grid-template-columns: 40px 300px minmax(0, 1fr); gap: 0 28px; align-items: baseline; }
  .reasons > li > div { display: contents; }
  .reasons h3 { margin-bottom: 0; }
  .reasons p { max-width: 62ch; }
}

/* ---------------------------------------------------- next live --------- */
.next-grid { display: grid; gap: clamp(20px, 3vw, 28px); }

.next-card {
  min-width: 0;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--sig);
  padding: clamp(24px, 3.4vw, 36px);
}
.nc-kicker {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sig);
  margin-bottom: 18px;
}
.nc-date {
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.nc-time {
  margin-top: 8px;
  font: 500 clamp(19px, 2.2vw, 24px)/1 var(--mono);
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.nc-time span { color: var(--dim); font-size: .62em; letter-spacing: .1em; }
.nc-count {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 400 14px/1.5 var(--mono);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.nc-btn { margin-top: 24px; width: 100%; }

.next-list {
  min-width: 0;
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
}
.nl-head {
  font: 500 11px/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.next-list ul { display: grid; gap: 1px; background: var(--line); margin-bottom: 26px; }
.next-list li {
  background: var(--ink-2);
  padding: 13px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font: 400 15px/1.4 var(--mono);
  color: var(--bone);
}
.next-list li span { color: var(--dim); font-size: 13px; letter-spacing: .06em; }
.nl-empty { color: var(--dim) !important; }

.nl-meta { display: grid; gap: 1px; background: var(--line); margin: 0; }
.nl-meta > div {
  background: var(--ink-2);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
}
.nl-meta dt {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.nl-meta dd { margin: 0; font: 400 14px/1.4 var(--mono); color: var(--bone); }

@media (min-width: 860px) {
  .next-grid { grid-template-columns: 360px minmax(0, 1fr); align-items: start; }
}

/* ---------------------------------------------------- cta --------------- */
.cta {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 70% at 50% 108%, rgba(255, 59, 48, .2), transparent 70%);
}
.cta-inner { position: relative; text-align: center; }
.cta-eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sig);
  margin-bottom: 20px;
}
.cta-title {
  font-weight: 900;
  font-stretch: 68%;
  font-size: clamp(40px, 9vw, 96px);
  line-height: .94;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.cta-lede {
  margin: 22px auto 0;
  max-width: 46ch;
  color: var(--dim);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* ---------------------------------------------------- footer ------------ */
/* Scoped by class so no card's own <footer> ever inherits page chrome. */
.site-foot { border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-bar {
  display: grid;
  gap: 20px;
  padding-block: clamp(30px, 4vw, 44px);
}
.foot-brand {
  font-weight: 900;
  font-stretch: 70%;
  font-size: 20px;
  letter-spacing: .05em;
  display: grid;
  gap: 5px;
}
.foot-brand span {
  font: 400 12px/1 var(--mono);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-nav a {
  font: 500 13px/1 var(--mono);
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.foot-nav a:hover { color: var(--bone); border-bottom-color: var(--sig); }
.foot-legal { font: 400 12px/1.5 var(--mono); color: var(--dim); }

@media (min-width: 760px) {
  .foot-bar { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot-nav { justify-content: center; }
  .foot-legal { text-align: right; }
}

/* ---------------------------------------------------- action bar -------- */
/* Below the desktop breakpoint the header CTA is gone, so this is the only
   persistent call affordance. It is a compact row in landscape, never hidden. */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--gut);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ink-3) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
}
.ab-info { display: grid; gap: 3px; min-width: 0; flex: 1 1 auto; }
.ab-label {
  font: 500 10px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.ab-value {
  font: 500 14px/1.2 var(--mono);
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.action-bar[data-state="live"] .ab-label { color: var(--sig); }
.ab-btn { flex: none; }

body { padding-bottom: 74px; }

@media (orientation: landscape) and (max-height: 460px) {
  .action-bar { padding-block: 5px; padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
  .ab-label { display: none; }
  .ab-btn { --btn-pad: 9px 16px; }
  body { padding-bottom: 54px; }
}

@media (min-width: 900px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}
