/* The client's event page (client eyes: docs/BLUEPRINT.md B17). Light paper, the client's colour in the hero
   (look.css: --brand, --accent, --mark - contrast-checked by the generator), our own copy of two open fonts.
   The look follows QPTGFX (lib/look.mjs PAGE_LOOKS): look.css sets the tokens below per on-air preset - the heading
   face, corners, rules, the paper's tone, how Now/Next and the countdown move. The defaults here = the neutral look.
   Universal design: AA contrast or better, visible focus, keyboard everywhere, text that scales, reduced motion. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/source-sans-3.woff2) format("woff2"); }

:root {
  --brand: #163a5c; --accent: #d9c6a3; --mark: #163a5c;
  --paper: #f6f4ef; --sheet: #ffffff; --ink: #17212b; --mute: #4f5b67; --rule: #dedbd3; --wash: #eef1f5;
  --on-brand: #ffffff; --on-brand-mute: color-mix(in srgb, var(--on-brand) 84%, transparent);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --head: var(--serif); --head-weight: 400; --h3-weight: 400; --head-scale: 1; --h3-face: var(--head); --em-style: italic;
  --radius: 6px; --radius-sm: 4px; --rule-w: 1px; --rule-style: solid; --bar: none; --hero-rule: rgba(255, 255, 255, .28);
  --motion-dur: 700ms; --motion-ease: cubic-bezier(.2, .7, .2, 1); --motion-shift: 0px;
  --line: var(--rule-w) var(--rule-style) var(--rule);
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --focus: #ffbf47;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
@media (min-width: 1700px) { html { font-size: 118.75%; } }           /* a TV / big screen: everything a little larger */
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
h3 { font-family: var(--h3-face); font-weight: var(--h3-weight); }
p { margin: 0; }
a { color: var(--mark); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--sheet); color: var(--ink); padding: .5rem 1rem; z-index: 10; border-radius: 4px; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 1700px) { .wrap { max-width: 1440px; } }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mute); }

/* top */
.top { background: var(--sheet); border-bottom: var(--line); }
.topin { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand .client { font-family: var(--head); font-weight: var(--h3-weight); font-size: 1.2rem; }
.brand .logo { display: block; height: 2.75rem; width: auto; max-width: 14rem; }
.top nav { display: flex; gap: 1.5rem; font-size: .92rem; font-weight: 500; }
.top nav[hidden] { display: none; }
.top nav a { color: var(--mute); text-decoration: none; padding: .25rem 0; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

/* hero (before, between, ended, after) */
.hero { background: var(--brand); color: var(--on-brand); }
.heroin { padding: 3.5rem 2rem 3rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: end; }
.heroin.one { grid-template-columns: minmax(0, 1fr); }
.hero .eyebrow { color: var(--on-brand-mute); }
.hero .eyebrow::before { content: ""; display: var(--bar); width: 2.5rem; height: 3px; background: var(--accent); margin-bottom: .9rem; border-radius: 1px; }
.heroin > div:first-child { container-type: inline-size; }
.hero h1 { font-size: min(calc(clamp(2.3rem, 5.2vw, 3.9rem) * var(--head-scale)), var(--title-fit, 100vw)); line-height: 1.05; letter-spacing: -.015em; margin-top: .75rem; }
.hero h1 em { font-style: var(--em-style); color: var(--accent); }
.hero h1 { overflow-wrap: break-word; }                 /* one long word (Bompengekonferansen) never pushes the page sideways */
.hero .sub { color: var(--on-brand-mute); margin-top: 1rem; font-size: 1.12rem; max-width: 40ch; }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid currentColor; border-radius: var(--radius-sm); padding: .55rem 1.1rem;
  font: 600 .92rem/1.2 var(--sans); text-decoration: none; color: inherit; background: transparent; cursor: pointer; min-height: 2.75rem; }
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn.solid { background: var(--mark); color: #fff; border-color: var(--mark); }
.btn.big { font-size: 1.05rem; padding: .8rem 1.5rem; }
.count { border-left: 1px solid var(--hero-rule); padding-left: 1.75rem; }
.count .n { display: flex; gap: 1.4rem; }
.count b { display: block; font-family: var(--head); font-weight: var(--h3-weight); font-size: calc(clamp(2.4rem, 4.5vw, 3.5rem) * var(--head-scale)); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.count .n span { font-size: .8rem; color: var(--on-brand-mute); letter-spacing: .08em; text-transform: uppercase; }
.count .when { margin-top: .9rem; color: var(--on-brand-mute); font-size: .95rem; max-width: 34ch; }

/* live */
.live { padding-top: 1.75rem; }
.livein { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 1.75rem; align-items: start; }
.player { aspect-ratio: 16 / 9; background: #0c141c; border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.still, .gate { display: grid; place-items: center; text-align: center; }
.gate { position: absolute; inset: 0; background: linear-gradient(160deg, var(--brand) 0%, #0c141c 80%); gap: .75rem; align-content: center; }
.gate p { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.play { display: inline-flex; align-items: center; gap: .75rem; font: 600 1.1rem/1 var(--sans); color: var(--ink); background: #fff;
  border: 0; border-radius: 999px; padding: .9rem 1.6rem .9rem 1.2rem; cursor: pointer; min-height: 3rem; }
.play:hover { background: var(--wash); }
.tri { width: 0; height: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.player.still { background: linear-gradient(160deg, var(--brand) 0%, #0c141c 80%); }
/* the office swapped the player: a calm cover over the box while it changes, then it fades away (page.mjs swapPlayer) */
.stage { position: relative; }
.swapnote { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 1.5rem;
  background: linear-gradient(160deg, var(--brand) 0%, #0c141c 80%); color: #fff; border-radius: var(--radius); text-align: center;
  opacity: 0; transition: opacity .4s var(--motion-ease); pointer-events: none; z-index: 2; }
.swapnote.on { opacity: 1; }
.swapnote p { font: 400 1.15rem/1.4 var(--sans); letter-spacing: .01em; color: rgba(255, 255, 255, .92); }
.stillbox { display: grid; gap: .9rem; justify-items: center; padding: 1.5rem; }
.stillbox .eyebrow { color: rgba(255, 255, 255, .8); }
.stillbox h3 { font-size: 1.6rem; }
.stillbox .btn.solid { background: #fff; color: var(--ink); border-color: #fff; }
.under { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .7rem; color: var(--mute); font-size: .92rem; }
.watch { font-weight: 600; }
.meta { color: var(--mute); font-size: .92rem; margin-top: .4rem; }
.nowbox { background: var(--sheet); border: var(--line); border-radius: var(--radius); overflow: hidden; }
.nowbox .k { padding: 1rem 1.25rem; border-top: var(--line); }
.nowbox .k.cur { border-top: 0; background: var(--wash); box-shadow: inset 4px 0 0 var(--mark); }
.nowbox .k.cur .eyebrow { color: var(--mark); }
.nowbox h3 { font-size: calc(1.28rem * var(--h3-scale, 1)); line-height: 1.25; margin-top: .3rem; }
.nowbox .who { color: var(--mute); font-size: .92rem; margin-top: .3rem; }
.nowbox .planned { padding: .7rem 1.25rem; border-top: var(--line); color: var(--mute); font-size: .85rem; }
.side .acts .btn { color: var(--mark); }
.msg { margin-top: 1.25rem; padding: .8rem 1rem; background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--mark); border-radius: var(--radius-sm); }

/* programme */
.sec { margin-top: 2.5rem; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 1.25rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.head h2 { font-size: calc(2rem * var(--head-scale)); line-height: 1.1; }
.head p { color: var(--mute); max-width: 52ch; }
.days { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; background: var(--sheet); }
.days[hidden] { display: none; }
.days button { font: 600 .9rem/1.2 var(--sans); border: 0; background: transparent; color: var(--mute); padding: .6rem 1rem; cursor: pointer; min-height: 2.75rem; }
.days button + button { border-left: 1px solid var(--rule); }
.days button[aria-pressed="true"] { background: var(--mark); color: #fff; }
.day + .day { margin-top: 2rem; }
.dayhead { font-size: 1.15rem; margin: 0 0 .6rem; }
.dayhead span { color: var(--mute); font-family: var(--sans); font-size: .95rem; }
.prog { list-style: none; margin: 0; padding: 0; background: var(--sheet); border: var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1.1rem; padding: .9rem 1.25rem; border-top: var(--line); align-items: baseline; }
.row:first-child { border-top: 0; }
.row .t { font-weight: 600; color: var(--mark); font-variant-numeric: tabular-nums; display: grid; }
.row .t .chap { font-weight: 400; color: var(--mute); font-size: .82rem; }
.row h3 { font-size: calc(1.13rem * var(--h3-scale, 1)); line-height: 1.3; }
.row .who { color: var(--mute); font-size: .92rem; margin-top: .15rem; }
.row.brk { background: var(--paper); }
.row.brk h3 { font-size: calc(1rem * var(--h3-scale, 1)); font-style: var(--em-style); color: var(--mute); }
.row.brk .t { color: var(--mute); font-weight: 500; }
.row .tag { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--mark); white-space: nowrap; }
.row.now { background: var(--wash); box-shadow: inset 4px 0 0 var(--mark); }
.row.done h3, .row.done .t { color: var(--mute); }
.medias { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .45rem; font-size: .92rem; align-items: baseline; }
.media { font-weight: 600; }
.media span { font-weight: 400; color: var(--mute); }
.soon { color: var(--mute); font-style: italic; }
.credit { color: var(--mute); font-size: .85rem; }

/* after */
.splash .heroin { align-items: center; }
.facts { max-width: 40rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--hero-rule); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dd { margin: 0; font-family: var(--head); font-weight: var(--h3-weight); font-size: calc(1.9rem * var(--head-scale)); font-variant-numeric: lining-nums; line-height: 1.1; }
.facts dt { color: var(--on-brand-mute); font-size: .85rem; }
.reel { display: flex; align-items: center; justify-content: center; gap: .9rem; aspect-ratio: 16 / 9; border-radius: var(--radius); color: #fff; text-decoration: none;
  background: linear-gradient(200deg, rgba(255, 255, 255, .16) 0%, rgba(0, 0, 0, .35) 80%); font-weight: 600; font-size: 1.1rem; border: 1px solid rgba(255, 255, 255, .3); }
.recs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.nexty { margin-top: 2.5rem; }

/* foot */
.foot { margin-top: 3.5rem; border-top: var(--line); background: var(--sheet); }
.footin { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding-top: 1.3rem; padding-bottom: 1.3rem; color: var(--mute); font-size: .85rem; }

/* phone */
@media (max-width: 760px) {
  .wrap { padding: 0 1rem; }
  .heroin { grid-template-columns: minmax(0, 1fr); padding: 2.25rem 1rem 2rem; gap: 1.5rem; }
  .hero h1 { font-size: min(calc(2.3rem * var(--head-scale)), var(--title-fit, 100vw)); }
  .count { border-left: 0; border-top: 1px solid var(--hero-rule); padding: 1.25rem 0 0; }
  .livein { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .live { padding-top: 0; }
  .live .wrap { padding: 0; }
  .live .player, .live .swapnote { border-radius: 0; }
  .live .meta, .live .under, .live .side { padding: 0 1rem; }
  .row { grid-template-columns: 3.4rem minmax(0, 1fr); padding: .8rem 1rem; gap: .75rem; }
  .row .tag { grid-column: 2; }
  .top nav { gap: 1rem; }
  .head h2 { font-size: calc(1.6rem * var(--head-scale)); }
  .facts dd { font-size: calc(1.3rem * var(--head-scale)); }
}
/* ===== A QPTGFX look's own rules (html[data-look], lib/look.mjs; design board 17 Oct 2026). The neutral look has no
   data-look and none of this applies to it. Colours come from look.css, each pair contrast-checked (lookPairs). ===== */
/* colour roles: the accent as a fill with its own text colour */
[data-look] .row .tag { justify-self: start; }
[data-look] .row.now .tag { background: var(--accent-fill); color: var(--on-fill); padding: .28em .7em; border-radius: var(--radius-sm); }
[data-look] .play { background: var(--play-fill); color: var(--on-play); }
[data-look] .play:hover { background: color-mix(in srgb, var(--play-fill) 88%, #fff); }
[data-look] .days button[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-fill); box-shadow: inset 0 -3px 0 var(--mark); }

/* the backup cover in the client's look: brand light from above into the deep brand, their on-dark logo, the look's
   heading face, a thin accent line running along its foot while the player changes */
[data-look] .swapnote { background: radial-gradient(120% 90% at 50% 0%, var(--brand) 0%, var(--deep) 75%); align-content: center; gap: .9rem; overflow: hidden; }
[data-look] .swapnote p { font-family: var(--head); font-weight: var(--h3-weight); font-size: calc(1.15rem * var(--h3-scale, 1)); line-height: 1.35; color: #fff; max-width: 30ch; }
[data-look] .swapnote .clogo { display: block; height: 1.9rem; width: auto; max-width: 60%; }
[data-look] .swapnote .run { position: absolute; left: 0; bottom: 0; height: 3px; width: 62%; background: var(--accent); animation: cover-run 2.4s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes cover-run { from { width: 0; } to { width: 100%; } }
@media (min-width: 761px) { [data-look] .swapnote .clogo { height: 2.6rem; } [data-look] .swapnote p { font-size: calc(1.4rem * var(--h3-scale, 1)); } }

/* the light hero (PAGE_LOOKS hero = 'paper': Paper, Nordic): look.css sets --hero-*; a slab look keeps the brand hero */
[data-look] .hero { background: var(--hero-bg, var(--brand)); color: var(--hero-ink, var(--on-brand)); }
[data-look] .hero .eyebrow, [data-look] .count .n span, [data-look] .count .when, [data-look] .facts dt { color: var(--hero-mute, var(--on-brand-mute)); }
[data-look] .hero .sub { color: var(--hero-ink, var(--on-brand-mute)); }
[data-look] .hero h1, [data-look] .facts dd, [data-look] .count b { color: var(--hero-title, inherit); }
[data-look] .hero h1 em { text-decoration: underline; text-decoration-color: var(--em-line, transparent); text-decoration-thickness: .09em; text-underline-offset: .12em; }
:is([data-look="paper"], [data-look="nordic"]) .hero { border-bottom: var(--line); }
:is([data-look="paper"], [data-look="nordic"]) .hero h1 em { color: var(--hero-title); }
:is([data-look="paper"], [data-look="nordic"]) .hero .btn:hover { background: var(--wash); }
:is([data-look="paper"], [data-look="nordic"]) .reel { background: linear-gradient(200deg, var(--brand) 0%, var(--deep) 100%); border: 0; }
[data-look="paper"] .hero { border-top: .5rem solid var(--brand); }

/* ---- the live band (PAGE_LOOKS stage; look.css --stage-*): the player + Now/Next on the client colour (Glass), near-black
   (Neon) or velvet (Spotlight); the other looks keep the paper. Muted text and the accent lifted to 4.5:1 (lookPairs). ---- */
[data-look] .live { background: var(--stage-bg, transparent); color: var(--on-stage, inherit); padding-bottom: var(--stage-pad, 0); }
[data-look] .live .under { color: var(--stage-mute, var(--mute)); }
[data-look] .live .under a, [data-look] .side .acts .btn { color: var(--stage-link, var(--mark)); }
/* times + labels in the heading face when the look is a monospace (Terminal: --meta-face) */
[data-look] .eyebrow, [data-look] .row .t { font-family: var(--meta-face, inherit); }
[data-look] .dayhead span { font-family: var(--meta-face, var(--sans)); }
/* the "Direkte" badge on the player (Broadcast) */
.onair { display: none; }
[data-look="classic"] .onair { position: absolute; top: 1rem; left: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem .3rem .6rem;
  border-radius: var(--radius-sm); background: rgba(8, 10, 14, .62); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; pointer-events: none; }
[data-look="classic"] .onair i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent-fill); }

/* Broadcast: the Now card carries the on-air strip - the brand with the accent column, like the lower third on the stream */
[data-look="classic"] .nowbox .k.cur { background: var(--brand); color: var(--on-brand); box-shadow: inset .4rem 0 0 var(--accent); padding-left: 1.6rem; }
[data-look="classic"] .nowbox .k.cur .eyebrow, [data-look="classic"] .nowbox .k.cur .who { color: var(--on-brand-mute); }
[data-look="classic"] .nowbox .k.cur .lbl { color: var(--on-brand); }

/* Glass: the band in the brand, Now/Next as frosted panels */
[data-look="glass"] .nowbox { background: transparent; border: 0; display: grid; gap: .8rem; overflow: visible; }
[data-look="glass"] .nowbox .k, [data-look="glass"] .nowbox .k.cur { position: relative; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .26); border-radius: var(--radius);
  background: color-mix(in srgb, #fff 14%, transparent); box-shadow: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
[data-look="glass"] .nowbox .eyebrow, [data-look="glass"] .nowbox .k.cur .eyebrow, [data-look="glass"] .nowbox .who { color: var(--stage-mute); }
[data-look="glass"] .nowbox .k.cur .lbl { color: var(--acc-stage); }
[data-look="glass"] .nowbox .planned { border: 0; padding: 0 .2rem; color: var(--stage-mute); }
[data-look="glass"] .player { box-shadow: 0 2rem 3rem -2rem rgba(0, 0, 0, .6); }
[data-look="glass"] .hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--brand) 0%, var(--deep) 100%); }
[data-look="glass"] .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .07) 55%, transparent 70%); pointer-events: none; }

/* Bold: a heavy accent column + the time as a large numeral; an accent column on the hero's edge */
[data-look="bold"] .nowbox .k.cur { position: relative; background: var(--sheet); box-shadow: none; padding-left: 2.1rem; }
[data-look="bold"] .nowbox .k.cur::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .9rem; background: var(--accent-fill); transform-origin: top; }
[data-look="bold"] .nowbox .k.cur .eyebrow { display: flex; flex-direction: column; gap: .1rem; color: var(--ink); }
[data-look="bold"] .nowbox .k.cur .sep { display: none; }
[data-look="bold"] .nowbox .k.cur .tm { font-family: var(--head); font-weight: 800; font-size: 2.65rem; letter-spacing: -.02em; line-height: 1; color: var(--mark); text-transform: none; }
[data-look="bold"] .nowbox .k.cur h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
[data-look="bold"] .hero { position: relative; }
[data-look="bold"] .hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.1rem; background: var(--accent); }
[data-look="bold"] .hero .eyebrow::before { display: none; }
[data-look="bold"] .head h2 { letter-spacing: -.02em; }

/* Paper: a printed card with a brand band on top, the stream framed like a photo print */
[data-look="paper"] .player { box-shadow: 0 0 0 .55rem var(--sheet), 0 0 0 calc(.55rem + 1px) var(--rule); }
[data-look="paper"] .live { padding-top: 2.3rem; }
[data-look="paper"] .nowbox { border-top: .4rem solid var(--brand); }
[data-look="paper"] .nowbox .k.cur { background: var(--sheet); box-shadow: none; }
[data-look="paper"] .nowbox .k.cur h3 { font-size: 1.42rem; }

/* Terminal: monospace meta, dashed rules, a caret that rests after the Now title and fades */
[data-look="terminal"] .eyebrow { text-transform: none; letter-spacing: .02em; font-size: .82rem; }
[data-look="terminal"] .row .t, [data-look="terminal"] .dayhead span { letter-spacing: .02em; }
[data-look="terminal"] .nowbox .k.cur { box-shadow: none; background: var(--sheet); }
[data-look="terminal"] .nowbox .k.cur .lbl::before { content: "▸ "; }
[data-look="terminal"] .nowbox .k.cur h3::after { content: ""; display: inline-block; width: .5em; height: 1em; background: var(--mark); margin-left: .25em; vertical-align: -.12em; opacity: 0; }
[data-look="terminal"] .hero { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px), var(--brand); }
[data-look="terminal"] .facts { border-top-style: dashed; }
[data-look="terminal"] .head h2 { letter-spacing: -.03em; }

/* Neon: the band near-black, one ring of light round the stream in the accent */
[data-look="neon"] .player { box-shadow: 0 0 0 1px var(--acc-stage), 0 0 2.6rem -.3rem color-mix(in srgb, var(--accent) 55%, transparent); }
[data-look="neon"] .nowbox { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); }
[data-look="neon"] .nowbox .k { border-top-color: rgba(255, 255, 255, .14); color: #fff; }
[data-look="neon"] .nowbox .k.cur { background: transparent; box-shadow: inset 3px 0 0 var(--acc-stage); }
[data-look="neon"] .nowbox .eyebrow, [data-look="neon"] .nowbox .who, [data-look="neon"] .nowbox .planned { color: var(--stage-mute); }
[data-look="neon"] .nowbox .planned { border-top-color: rgba(255, 255, 255, .14); }
[data-look="neon"] .nowbox .k.cur .eyebrow { color: var(--acc-stage); }
[data-look="neon"] .hero { background: radial-gradient(90% 140% at 15% 0%, var(--brand) 0%, var(--deep) 80%); }
[data-look="neon"] .hero h1 em { text-shadow: 0 0 .5em color-mix(in srgb, var(--accent) 45%, transparent); }

/* Nordic: Now/Next as a branch - one thin line, two nodes */
[data-look="nordic"] .nowbox { position: relative; background: transparent; border: 0; overflow: visible; padding-left: 1.6rem; }
[data-look="nordic"] .nowbox::before { content: ""; position: absolute; left: .45rem; top: 1.2rem; bottom: 3.2rem; width: 2px; border-radius: 1px; background: color-mix(in srgb, var(--brand) 35%, var(--rule)); transform-origin: top; }
[data-look="nordic"] .nowbox .k, [data-look="nordic"] .nowbox .k.cur { position: relative; border: 0; padding: .3rem 0 1.6rem; background: transparent; box-shadow: none; }
[data-look="nordic"] .nowbox .k::before { content: ""; position: absolute; left: -1.5rem; top: .45rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule); }
[data-look="nordic"] .nowbox .k.cur::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--brand) 16%, transparent); }
[data-look="nordic"] .nowbox .k.cur .eyebrow { color: var(--mark); }
[data-look="nordic"] .nowbox .k.cur h3 { font-size: 1.55rem; }
[data-look="nordic"] .nowbox .planned { border: 0; padding: 0; }

/* Spotlight: velvet, a light from above, the current talk in large italic, accent lines between Now and Next */
[data-look="spotlight"] .nowbox { background: transparent; border: 0; border-top: 1px solid var(--acc-stage); border-radius: 0; }
[data-look="spotlight"] .nowbox .k { border-top: 1px solid color-mix(in srgb, var(--acc-stage) 60%, transparent); padding-left: 0; padding-right: 0; color: #fff; }
[data-look="spotlight"] .nowbox .k.cur { background: transparent; box-shadow: none; border-top: 0; }
[data-look="spotlight"] .nowbox .eyebrow, [data-look="spotlight"] .nowbox .who, [data-look="spotlight"] .nowbox .planned { color: var(--stage-mute); }
[data-look="spotlight"] .nowbox .planned { border-top-color: color-mix(in srgb, var(--acc-stage) 60%, transparent); padding-left: 0; padding-right: 0; }
[data-look="spotlight"] .nowbox .k.cur .eyebrow { color: var(--acc-stage); }
[data-look="spotlight"] .nowbox .k.cur h3 { font-style: var(--em-style); font-size: 1.95rem; line-height: 1.1; }
[data-look="spotlight"] .nowbox .k + .k h3 { font-size: 1.4rem; }
[data-look="spotlight"] .hero { background: radial-gradient(70% 110% at 30% -20%, var(--spot) 0%, var(--brand) 35%, var(--deep) 100%); background-size: 140% 140%; background-position: 50% 0%; }

@media (max-width: 760px) {
  [data-look] .live { padding-bottom: var(--stage-pad, 0); }
  [data-look] .live .nowbox { margin: 0 1rem; }
  [data-look] .live .side { padding: 0; }
  [data-look] .live .side .acts { padding: 0 1rem; }
  [data-look="paper"] .player, [data-look="paper"] .live { box-shadow: none; padding-top: 0; }
  [data-look="nordic"] .live .nowbox { margin-left: 1.6rem; }
  [data-look="bold"] .hero::before { width: .6rem; }
  .onair { display: none !important; }
  [data-look="neon"] .player { box-shadow: 0 1px 0 0 var(--acc-stage), 0 1.4rem 2rem -1.2rem color-mix(in srgb, var(--accent) 55%, transparent); animation: none; }
}

/* ---- the recording page as a showcase (a QPTGFX look): a still per cleared talk, the Klipp row, each whole day with
   its chapters. Consent stays per talk (publicEvent): a talk without a yes shows title and speaker only. ---- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-look] .subhead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .5rem 0 1rem; }
[data-look] .subhead h3 { font-size: calc(1.4rem * var(--h3-scale, 1)); }
[data-look] .subhead p { color: var(--mute); }
[data-look] .cl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
[data-look] .clip { display: block; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
[data-look] .clip .th, [data-look] .thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0c141c; }
[data-look] .clip .th img, [data-look] .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--motion-ease); }
[data-look] .clip:hover .th img, [data-look] .thumb:hover img { transform: scale(1.025); }
[data-look] .dur { position: absolute; right: .55rem; bottom: .55rem; font-size: .8rem; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(8, 10, 14, .78);
  padding: .1rem .45rem; border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; }
[data-look] .clip .ct { display: block; margin-top: .7rem; font-family: var(--h3-face); font-weight: var(--h3-weight); font-size: calc(1.15rem * var(--h3-scale, 1)); line-height: 1.3; }
[data-look] .clip:hover .ct { color: var(--mark); text-decoration: underline; text-underline-offset: .18em; }
[data-look] .clip .who { display: block; color: var(--mute); font-size: .9rem; margin-top: .2rem; }
[data-look] .wholes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; margin-top: 2rem; }
[data-look] .whole { background: var(--sheet); border: var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
[data-look] .whole h3 { font-size: calc(1.15rem * var(--h3-scale, 1)); margin-bottom: .35rem; }
[data-look] .chapters { list-style: none; margin: .8rem 0 0; padding: .65rem 0 0; border-top: var(--line); display: grid; gap: .35rem; font-size: .9rem; }
[data-look] .chapters li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .5rem; }
[data-look] .chapters span { color: var(--mark); font-weight: 600; font-variant-numeric: tabular-nums; font-family: var(--meta-face, inherit); }
[data-look] .row.has-still { grid-template-columns: 4.5rem minmax(0, 1fr) 11.5rem; align-items: start; }
[data-look] .row.has-still .thumb { border-radius: var(--radius-sm); }
@media (max-width: 760px) {
  [data-look] .cl { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  [data-look] .cl > li { scroll-snap-align: start; }
  [data-look] .row.has-still { grid-template-columns: 3.4rem minmax(0, 1fr); }
  [data-look] .row.has-still .thumb { grid-column: 2; max-width: 13rem; margin-top: .4rem; }
}

/* ---- motion per look (CSS only; prefers-reduced-motion turns every one of them off, below) ---- */
@keyframes look-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes look-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes look-grow { from { transform: scaleY(0); } }
@keyframes look-settle { from { opacity: 0; transform: translateY(-4px); } }
@keyframes look-caret { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes look-glow { from { box-shadow: 0 0 0 1px var(--acc-stage), 0 0 0 -.3rem transparent; } }
@keyframes look-flare { from { box-shadow: inset 6px 0 0 #fff; } }
@keyframes look-draw { from { transform: scaleY(0); } }
@keyframes look-drift { from { background-position: 0% 0%; } }
[data-look="classic"] .nowbox .k.cur { animation: look-wipe 300ms cubic-bezier(.3, 0, 0, 1) both; }
[data-look="glass"] .nowbox .k.cur::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(100%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .13) 48%, transparent 62%); animation: look-sweep 1.2s ease-in-out .2s both; }
[data-look="bold"] .nowbox .k.cur::before { animation: look-grow 220ms cubic-bezier(.3, 0, 0, 1) both; }
[data-look="bold"] .nowbox .k.cur .tm { animation: look-in 220ms cubic-bezier(.3, 0, 0, 1) 160ms both; }
[data-look="paper"] .nowbox .k { animation: look-settle 700ms cubic-bezier(.2, .7, .2, 1) both; }
[data-look="terminal"] .nowbox .k.cur h3::after { animation: look-caret 1.8s steps(1, end) .25s both; }
[data-look="neon"] .player { animation: look-glow 600ms ease-out both; }
[data-look="neon"] .nowbox .k.cur { animation: look-in var(--motion-dur) var(--motion-ease) both, look-flare 900ms ease-out both; }
[data-look="nordic"] .nowbox::before { animation: look-draw 700ms cubic-bezier(.2, .7, .2, 1) both; }
[data-look="spotlight"] .hero { animation: look-drift 6s cubic-bezier(.2, .7, .2, 1) both; }

/* motion (the preset's: calm fade, crisp lift, typed steps) - only what changed moves, never the page */
@keyframes look-in { from { opacity: 0; transform: translateY(var(--motion-shift)); } }
.nowbox .k, .count .chg b { animation: look-in var(--motion-dur) var(--motion-ease) both; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .top nav, #hero .acts, .player, #labpanel { display: none; } .hero { background: none; color: var(--ink); } }
