/* ============================================================
   Tonight's Programme — base styles
   Rule of thumb: one focal point per screen, extreme scale
   contrast, cuts not fades, nothing that flashes.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--glow);
  font-family: var(--font-mono);
  font-size: var(--step-mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;            /* every view is a full-screen "screen" */
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-synthesis: none; letter-spacing: .01em; }
.mono-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--ink-dim); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: fixed; left: -9999px; }
.skip-link:focus { left: var(--gutter); top: var(--gutter); z-index: 100; }

/* ---------- Persistent chrome ---------- */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 40; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(var(--gutter) * .9) var(--gutter);
}
.chrome > * { pointer-events: auto; }
.chrome__id { letter-spacing: .32em; font-size: 11px; text-transform: uppercase; }
.osd { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; color: var(--ink-dim); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.osd__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 1px var(--accent); }
.osd__ch { color: var(--glow); }

.subtitle {
  position: fixed; left: 50%; bottom: calc(var(--gutter) * 1.4); transform: translateX(-50%);
  margin: 0; z-index: 40; width: min(46rem, 86vw); text-align: center;
  font-size: clamp(14px, 1.15vw, 18px); line-height: 1.5; letter-spacing: .02em; min-height: 1.5em;
  text-shadow: 0 1px 12px rgba(0,0,0,.9);
}
.subtitle .cur { display: inline-block; width: .5em; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: currentColor; opacity: .8; }

/* Film grain + vignette: static texture, gently re-positioned (never flashes) */
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: screen;
  background-size: 160px 160px; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 49; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%); }

/* ---------- Views ---------- */
#app { position: fixed; inset: 0; outline: none; }
.view { position: absolute; inset: 0; }

/* Cold open */
.cold { background: #000; }
.cold__mark { position: absolute; inset: 0; display: grid; place-items: center; background: #000;
  clip-path: inset(50% 0 50% 0); }
.cold__word { font-size: 25.5vw; line-height: .78; margin: 0; letter-spacing: .015em; color: var(--glow);
  text-shadow: 0 0 40px rgba(230,236,255,.25); white-space: nowrap; }

/* Programme */
.programme { display: grid; align-content: center; padding: 0 var(--gutter); }
.programme__bg { position: absolute; inset: 0; opacity: 0; }
.film { position: absolute; inset: 0; overflow: hidden; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.programme__bg .film { visibility: hidden; opacity: .62; }
.programme__bg .film.is-on { visibility: visible; }
.cold__mark .film { opacity: .5; }
.cold__word { position: relative; }
.film--card { opacity: .34; }
.film--quiet { opacity: .22; }
.film--quiet + * { position: relative; }
.programme__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, rgba(7,7,10,.6) 60%, rgba(7,7,10,.85)); }
.programme__list { position: relative; list-style: none; margin: 0; padding: 0 0 0 clamp(0px, 4vw, 80px); }
.slot { display: grid; grid-template-columns: 9ch 1fr; align-items: baseline; column-gap: clamp(12px, 2vw, 32px); }
.slot__time { font-size: 12px; letter-spacing: .14em; color: var(--ink-dim); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.slot__time i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); visibility: hidden; }
.slot__title { font-size: min(clamp(46px, 9.4vw, 172px), 12.6vh);   /* six slots must fit the height too */ 
   line-height: .9; display: inline-block; padding: .02em 0; transition: color 0s; }
.programme.is-tuned .slot__title { color: var(--ink-faint); }
.programme.is-tuned .slot.is-on .slot__title { color: var(--glow); }
.slot.is-on .slot__time i { visibility: visible; }
.slot.is-on .slot__time { color: var(--glow); }
.slot__row { display: inline-flex; align-items: baseline; gap: clamp(10px, 1.4vw, 22px); }
.slot__now { color: var(--accent); white-space: nowrap; }
.midnight { margin: clamp(10px, 2vh, 24px) 0; padding-left: calc(9ch + clamp(12px, 2vw, 32px)); }
.programme__foot { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) * 1.4); display: flex; gap: 28px; }
.programme__foot a:hover, .programme__foot a:focus-visible { color: var(--accent); }

/* Episode — a trailer of cuts */
.episode { background: var(--bg); }
.shot { position: absolute; inset: 0; display: grid; place-items: center; visibility: hidden; }
.shot.is-live { visibility: visible; }
/* Title card: the channel's name sits on the bottom edge and runs off it, like a film title on the frame line */
.shot--card { display: block; }
.card__slot, .card__line, .card__hint { position: absolute; margin: 0; }
.card__slot { left: var(--gutter); top: calc(var(--gutter) * 4.2); color: var(--glow); }
.card__line { right: var(--gutter); top: calc(var(--gutter) * 4.2); text-align: right; max-width: 28ch; }
.card__hint { right: var(--gutter); top: calc(var(--gutter) * 4.2 + 2.2em); color: var(--ink-faint); }
.card__title { position: absolute; left: calc(var(--gutter) * .6); bottom: 0; margin: 0; white-space: nowrap;
  font-size: min(calc(132vw / var(--len, 7)), 58vh); line-height: .74; transform: translateY(.07em); }
.shot--still figure { margin: 0; width: min(82vw, 1500px); display: grid; place-items: center; }
.shot--still img { display: block; width: auto; max-width: 100%; height: auto; max-height: 64vh;
  box-shadow: 0 0 0 1px rgba(230,236,255,.06), 0 30px 120px rgba(170,190,255,.10); }
.shot--hero figure { width: min(92vw, 1700px); }
.shot--hero img { max-height: 72vh; }

/* Insofar UI excerpts: typeset from the real demo values, on the product's own paper */
.shot--ui { padding: 0 var(--gutter); }
.ui-card { width: min(600px, 88vw); background: #f3f0e8; color: #1d1c1a; padding: clamp(22px, 2.6vw, 38px); border-radius: 3px;
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 40px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); display: grid; gap: 14px; }
.ui-card p { margin: 0; }
.ui-card__label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #55524b; }
.ui-card__title { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.005em; }
.ui-card__figure { font-size: clamp(56px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.03em; line-height: 1; display: flex; align-items: baseline; gap: 12px; }
.ui-card__figure span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: #3b3934; }
.ui-card__flag { font-size: clamp(44px, 5.4vw, 80px); font-weight: 700; letter-spacing: .04em; color: #a4472b; line-height: 1; }
.ui-card__meta { font-size: 14px; color: #3b3934; }
.ui-card__note { font-size: 13px; line-height: 1.5; color: #55524b; max-width: 44ch; }
.ui-card__src { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #8e8a80; padding-top: 10px; border-top: 1px solid #ddd8cc; }

/* Insofar case: a listing, stamped */
.shot--case { padding: 0 var(--gutter); }
.case { width: min(1280px, 100%); }
.case__head { display: grid; gap: 10px; margin-bottom: clamp(24px, 5vh, 56px); }
.case__addr { font-size: clamp(30px, 4.4vw, 76px); line-height: .95; margin: 0; }
.case__head p { margin: 0; }
.case__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-faint); }
.claim { display: grid; grid-template-columns: 17ch 1fr auto; align-items: baseline; column-gap: 24px;
  padding: clamp(10px, 1.7vh, 18px) 0; border-bottom: 1px solid var(--ink-faint); cursor: default; }
.claim__v { font-size: clamp(24px, 3vw, 52px); line-height: 1; }
.claim__stamp { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim);
  border: 1px solid currentColor; padding: 6px 10px; white-space: nowrap; clip-path: inset(0 100% 0 0); }
.claim.is-stamped .claim__stamp { clip-path: inset(0 0 0 0); }
.claim.is-stamped .claim__v { color: var(--ink-dim); }
.claim--unknown.is-stamped .claim__v { color: var(--glow); }
.claim--unknown .claim__stamp { color: var(--accent); }
.case__verdict, .case__reality { display: none; text-align: center; justify-items: center; gap: 18px; }
.case__verdict p, .case__reality p { margin: 0; }
.case__big { font-size: clamp(40px, 9vw, 180px); line-height: .85; white-space: nowrap; }
.case__fig { font-size: clamp(90px, 19vw, 340px); line-height: .8; }
.case__note { max-width: 46ch; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.5; color: var(--ink-dim); }
.case[data-phase="verdict"] > :not(.case__verdict), .case[data-phase="reality"] > :not(.case__reality) { display: none; }
.case[data-phase="verdict"] .case__verdict, .case[data-phase="reality"] .case__reality { display: grid; }

.shot--text { padding: 0 var(--gutter); }
.shot--facts dl { display: grid; grid-template-columns: auto auto; gap: 18px 6vw; margin: 0; font-size: clamp(15px, 1.4vw, 22px); }
.shot--facts dt { color: var(--ink-dim); text-transform: uppercase; letter-spacing: .16em; font-size: .7em; padding-top: .35em; }
.shot--facts dd { margin: 0; }
.shot--end { align-content: center; justify-items: center; gap: 6vh; }
.live-link { font-size: clamp(40px, 8vw, 132px); line-height: .9; }
.live-link span { color: var(--accent); }
.live-link:hover, .live-link:focus-visible { color: var(--accent); }
.next { display: flex; gap: 14px; align-items: baseline; }
.next:hover .display, .next:focus-visible .display { color: var(--accent); }
.next .display { font-size: clamp(22px, 2.6vw, 40px); }
.reel { position: fixed; right: var(--gutter); bottom: calc(var(--gutter) * 1.4); z-index: 41; font-variant-numeric: tabular-nums; }
.back { }
.back:hover, .back:focus-visible { color: var(--accent); }
.hint { position: fixed; left: var(--gutter); bottom: calc(var(--gutter) * 1.4); z-index: 41; }

.segment__link { color: var(--glow); }
.segment__link:hover, .segment__link:focus-visible { color: var(--accent); }
.previously { display: flex; gap: 14px; align-items: baseline; color: var(--ink-dim); }
.previously .display { font-size: clamp(16px, 1.6vw, 24px); }
.previously:hover, .previously:focus-visible { color: var(--glow); }

/* Stand-by card: static, sits under the chrome and subtitle */
.standby { position: fixed; inset: 0; z-index: 39; background: var(--signal); display: grid; place-items: center; cursor: default; }
.standby__card { margin: 0; font-size: clamp(28px, 5vw, 84px); color: #fff; letter-spacing: .04em; }

/* Inside an episode the bottom edge belongs to the picture: navigation moves under the station ident */
.episode .reel { top: calc(var(--gutter) * 2.3); bottom: auto; }
.episode .back { left: auto; right: var(--gutter); top: calc(var(--gutter) * 2.3 + 1.9em); bottom: auto; }
.card__line { display: grid; gap: 10px; justify-items: end; }
.card__title .w { display: inline-block; white-space: nowrap; }
.card__title .ch { display: inline-block; will-change: transform; }
/* A segment's words sit with its title, on the left, just above the frame line */
.seg__with { position: absolute; left: var(--gutter); bottom: calc(min(calc(132vw / var(--len, 7)), 58vh) * .74 + 2vh); display: grid; gap: 14px; justify-items: start; max-width: 46ch; }
.seg__with:empty { display: none; }
.seg__line { margin: 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.5; color: var(--ink-dim); }
.seg__link { font-size: clamp(22px, 2.4vw, 40px); line-height: 1; }
.seg__link span { color: var(--accent); }
.seg__link:hover, .seg__link:focus-visible { color: var(--accent); }
.card__line p { margin: 0; }
.nosignal { background: var(--signal); }
.nosignal .signoff__line, .nosignal a { color: #fff; }

/* Late News — the running order */
.shot--rundown { padding: calc(var(--gutter) * 4.4) var(--gutter) calc(var(--gutter) * 3.4); }
.rundown { width: min(1200px, 100%); }
.rundown__head { margin: 0 0 4vh; }
.rundown__head span:last-child { color: var(--ink-faint); }
.rundown__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-faint); }
.bulletin { border-bottom: 1px solid var(--ink-faint); }
.bulletin__hit { display: grid; grid-template-columns: minmax(12ch, 15ch) 1fr; column-gap: clamp(14px, 2.4vw, 40px); padding: clamp(14px, 2.4vh, 24px) 0; cursor: pointer; align-items: baseline; }
.bulletin__file { display: grid; gap: 8px; align-self: start; padding-top: .35em; }
.bulletin__date { font-size: clamp(18px, 1.7vw, 28px); line-height: 1; color: var(--ink-dim); }
.bulletin__title { grid-column: 2; font-size: clamp(22px, 2.5vw, 40px); line-height: 1; color: var(--ink-dim); max-width: 24ch; }
.bulletin__more { grid-column: 2; display: none; gap: 14px; margin-top: 16px; }
.bulletin.is-on .bulletin__title { font-size: clamp(34px, 4.8vw, 84px); line-height: .95; color: var(--glow); max-width: 18ch; }
.bulletin.is-on .bulletin__date { color: var(--glow); }
.bulletin.is-on .bulletin__more { display: grid; }
.bulletin__dek { max-width: 52ch; font-family: var(--font-text); font-style: italic; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; color: var(--ink-dim); }
.bulletin__corr { display: grid; grid-template-columns: auto; gap: 4px; font-family: var(--font-text); font-size: 15px; line-height: 1.45; border-left: 1px solid var(--ink-faint); padding-left: 14px; max-width: 56ch; }
.bulletin__corr s { color: var(--ink-dim); text-decoration-color: rgba(255,90,31,.7); }
.bulletin__meta { display: flex; gap: 18px; align-items: baseline; }
.bulletin__meta b { font-weight: 400; color: var(--glow); }
.bulletin__hit:hover .bulletin__meta b, .bulletin__hit:focus-visible .bulletin__meta b { color: var(--accent); }
.rundown__year { padding: 14px 0; text-align: center; color: var(--ink-faint); border-bottom: 1px solid var(--ink-faint); }
.rundown__head { display: flex; justify-content: space-between; gap: 24px; }
.rundown__note { margin-top: 3vh; color: var(--ink-dim); }
.rundown__more summary { cursor: pointer; margin-top: 3vh; list-style: none; }
.rundown__list--small .bulletin__title { font-size: clamp(22px, 2.6vw, 40px); }

/* Late News — the transcript (reading view) */
.transcript { overflow-y: auto; overscroll-behavior: contain; outline: none; }
.tx-back { position: fixed; right: var(--gutter); top: calc(var(--gutter) * 2.3); z-index: 3; }
.tx-back span { color: var(--ink-faint); margin-left: 8px; }
.tx-back:hover, .tx-back:focus-visible { color: var(--accent); }
.tx-mask { position: fixed; left: 0; right: 0; top: 0; height: calc(var(--gutter) * 2.2 + 44px); z-index: 2; pointer-events: none;
  background: linear-gradient(var(--bg) 62%, transparent); }
.tx { width: min(1040px, 100%); margin: 0 auto; padding: 18vh var(--gutter) 22vh; }
.tx-head { display: grid; gap: 18px; max-width: 900px; }
.tx-head p { margin: 0; }
.tx-title { font-size: clamp(42px, 6.4vw, 104px); line-height: .92; margin: 0; }
.tx-dek { font-family: var(--font-text); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: var(--ink-dim); max-width: 40ch; }
.tx-corr { margin: 9vh 0 10vh; border-top: 1px solid var(--glow); padding-top: 18px; }
.tx-corr__head { color: var(--glow); margin: 0 0 14px; }
.tx-corr ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.tx-corr li { display: grid; grid-template-columns: 12ch 1fr 1fr; column-gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--ink-faint);
  font-family: var(--font-text); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; }
.tx-corr li .mono-label { padding-top: .25em; }
.tx-corr s { color: var(--ink-dim); text-decoration-color: rgba(255,90,31,.7); text-decoration-thickness: 1px; }
.tx-body { font-family: var(--font-text); font-size: clamp(17px, 1.25vw, 20px); line-height: 1.68; color: #d5dae7; }
.tx-body > p, .tx-body > ul, .tx-body > ol, .tx-body > h2 { max-width: 640px; }
.tx-body p { margin: 0 0 1.1em; }
.tx-body strong { color: var(--glow); font-weight: 600; }
.tx-h2 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1; margin: 2.6em 0 .9em; color: var(--glow); }
.tx-list { margin: 0 0 1.4em; padding-left: 1.1em; }
.tx-list li { margin: 0 0 .75em; padding-left: .3em; }
.tx-list--num li::marker { font-family: var(--font-mono); font-size: .8em; color: var(--ink-dim); }
.ref { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-left: .25em; border: 1px solid var(--ink-dim); border-radius: 50%;
  font-family: var(--font-mono); font-size: .58em; line-height: 1; vertical-align: .35em; color: var(--ink-dim); cursor: default; }
.ref:hover, .ref:focus-visible { border-color: var(--accent); color: var(--accent); }
.tx-fig { margin: 7vh 0 8vh; }
.tx-fig__open { display: grid; grid-template-columns: 37fr 63fr; gap: clamp(12px, 1.6vw, 24px); align-items: end; width: 100%; text-align: left; cursor: zoom-in; }
.tx-fig__open > span { display: grid; gap: 10px; }
.tx-fig img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(230,236,255,.08); }
.tx-fig__b img { opacity: .78; }
.tx-fig__img { position: relative; display: block; }
.tx-fig figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; font-family: var(--font-text); font-style: italic; font-size: 15px; color: var(--ink-dim); }
.mark { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--glow); border: 1px solid var(--glow); font-family: var(--font-mono); font-size: 11px; line-height: 1; pointer-events: none; }
.mark.is-lit { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.tx-foot { margin-top: 14vh; border-top: 1px solid var(--ink-faint); padding-top: 24px; display: grid; gap: 22px; }
.tx-sign { margin: 0; font-family: var(--font-text); font-style: italic; color: var(--ink-dim); }
.tx-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.tx-nav a:hover, .tx-nav a:focus-visible { color: var(--accent); }
.frame { position: fixed; inset: 0; z-index: 60; background: #000; display: grid; grid-template-rows: 1fr auto; }
.frame__pic { position: relative; place-self: center; max-width: 92vw; }
.frame__pic img { display: block; max-width: 92vw; max-height: 80vh; width: auto; height: auto; }
.frame__marks { position: absolute; inset: 0; }
.frame__bar { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; padding: 18px var(--gutter) 24px; border-top: 1px solid var(--ink-faint); }
.frame__bar button { color: var(--ink-dim); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.frame__bar button[aria-pressed="true"] { color: var(--glow); }
.frame__bar [data-close] { margin-left: auto; }
.frame__notes { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-dim); letter-spacing: .08em; text-transform: none; font-size: 12px; }
.frame__notes b { color: var(--glow); font-weight: 400; margin-right: 4px; }

/* Credits & sign-off */
.credits { display: grid; place-items: center; text-align: center; overflow: hidden; }
.credits__roll { display: grid; gap: 7vh; justify-items: center; }
.credits dl { display: grid; gap: 14px; margin: 0; }
.credits dl div { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: baseline; }
.credits dt { text-align: right; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); }
.credits dd { margin: 0; text-align: left; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(14px, 1.15vw, 18px); letter-spacing: .14em; }
.credits__note { margin: 0; font-size: 10px; line-height: 2; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); }
.signoff { display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.signoff__line { font-size: clamp(36px, 7.4vw, 130px); line-height: .92; margin: 0 0 5vh; }
.signoff__meta { display: grid; gap: 12px; justify-items: center; }
.signoff__who { margin: 0 0 1.5vh; color: var(--glow); letter-spacing: .14em; }
.signoff__meta a:hover, .signoff__meta a:focus-visible { color: var(--accent); }

/* Lab: the blue as light, not as a swatch */
.blue, .standby, .nosignal { background: var(--signal-lit); }
.blue::after, .standby::after, .nosignal::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 22vmin rgba(2,4,30,.55); animation: breathe 7s ease-in-out infinite; }
.blue p, .standby__card, .nosignal .signoff__line { text-shadow: 0 0 22px rgba(255,255,255,.28), 0 0 2px rgba(255,255,255,.5); }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
.cold__blue { position: absolute; inset: 0; z-index: 2; }
.cold__blue i { position: absolute; left: 0; width: 100%; background: var(--signal-lit); background-size: 100vw 100vh; will-change: transform; }
.cold__ns { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,.8) !important; letter-spacing: .3em; }
.programme__bg.is-idle .film { opacity: .26; }
.programme__bg.is-idle::after { background: linear-gradient(90deg, var(--bg) 22%, rgba(7,7,10,.72) 60%, rgba(7,7,10,.9)); }
@media (prefers-reduced-motion: reduce) { .blue::after, .standby::after, .nosignal::after { animation: none; } }

/* Station transition: raster tear */
.tear { position: fixed; inset: 0; z-index: 38; pointer-events: none; }
.tear__band { position: absolute; inset: 0; will-change: transform; }
.tear__band > .view { position: absolute; inset: 0; background: var(--bg); }   /* every picture is a black slab */
.blue { position: fixed; inset: 0; z-index: 37; background: var(--signal); display: grid; place-items: center; pointer-events: none; }
.blue p { margin: 0; color: #fff; }
.blue__name { font-size: clamp(40px, 7vw, 120px); line-height: .9; text-align: center; padding: 0 var(--gutter); }
.blue__bump { font-size: clamp(18px, 1.9vw, 30px); line-height: 1.45; text-align: center; display: grid; gap: .1em; padding: 0 var(--gutter); }
.blue__hold { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) * 1.4); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72) !important; }
.bug { position: fixed; left: var(--gutter); top: calc(var(--gutter) * 2.2); margin: 0; z-index: 41; font-size: clamp(16px, 1.5vw, 24px); line-height: .9; white-space: nowrap; visibility: hidden; pointer-events: none; }
.bug.on { visibility: visible; }
.fly { position: fixed; z-index: 45; margin: 0; transform-origin: 0 0; white-space: nowrap; pointer-events: none; }

/* Match-cut clone */
.match { position: fixed; z-index: 45; margin: 0; transform-origin: 0 0; pointer-events: none; white-space: nowrap; }

@media (max-width: 720px) {
  .subtitle { bottom: calc(var(--gutter) * 1.4 + 30px); }
  .slot { grid-template-columns: 1fr; }
  .slot__title { font-size: min(13.5vw, 9.4vh); }
  .midnight { padding-left: 0; }
  .programme__list { padding: 0; }
  .shot--still figure { width: 92vw; }
  .card__title { white-space: normal; font-size: min(30vw, calc(138vw / var(--wlen, 7))); line-height: .8; }
  .card__line { display: none; }
  .seg__with { bottom: calc(min(30vw, calc(138vw / var(--wlen, 7))) * .8 * 2 + 7vh); }
  .shot--facts dl { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .shot--facts dd { margin-bottom: 14px; }
  .claim { grid-template-columns: 1fr auto; row-gap: 6px; }
  .bulletin__hit { grid-template-columns: 1fr; row-gap: 8px; }
  .bulletin__file { display: flex; gap: 14px; align-items: baseline; padding-top: 0; }
  .bulletin__title, .bulletin__more { grid-column: 1; }
  .tx-back span { display: none; }
  .tx { padding-top: 14vh; }
  .tx-corr li { grid-template-columns: 1fr; row-gap: 4px; }
  .tx-fig__open { grid-template-columns: 1fr; }
  .tx-fig figcaption { flex-direction: column; gap: 6px; }
  .mark { width: 18px; height: 18px; font-size: 9px; }
  .claim__k { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}
@media (max-height: 520px) and (min-width: 721px) { .slot__title { font-size: min(clamp(30px, 9.4vw, 172px), 11vh); } }   /* phones on their side */

/* Cold open v2 (lab ?co=2, js/coldopen-gl.js): one WebGL picture, the name over it once it locks */
.cold--gl { display: grid; place-items: center; background: #000; }
.cold__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cold--gl .cold__word { position: relative; z-index: 2; visibility: hidden; }
.blue--gl { background: none !important; }
.blue--gl::after { display: none; }

/* THE PROGRAMME: your name on the air */
.shot--yours { padding: 0 var(--gutter); }
.yours { width: min(92vw, 1100px); display: grid; gap: 22px; justify-items: start; }
.yours__form { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 28px; width: 100%; }
.yours__form[hidden], .yours__after[hidden] { display: none; }
.yours__name { flex: 0 1 auto; width: min(100%, 10ch); min-width: 0; font-size: clamp(48px, 9vw, 150px); line-height: .9; background: none; border: 0; border-bottom: 1px solid var(--ink-faint);
  color: var(--glow); padding: 0 0 .06em; outline: none; text-transform: uppercase; }
.yours__name::placeholder { color: var(--ink-faint); }
.yours__name:focus { border-bottom-color: var(--accent); }
.yours__go { background: none; border: 0; padding: 8px 0; color: var(--glow) !important; cursor: pointer; letter-spacing: .2em; }
.yours__go:hover, .yours__go:focus-visible { color: var(--accent) !important; outline: none; }
.yours__line { margin: 0; max-width: 34ch; font: 400 clamp(18px, 2vw, 30px)/1.35 var(--font-mono); }
.yours__acts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 32px; margin: 0; }
.yours__again { background: none; border: 0; padding: 6px 0; cursor: pointer; }
.yours__again:hover, .yours__again:focus-visible { color: var(--glow); outline: none; }
