/* Tap Into An Expert: site styles. Colours, type and spacing come from the original mockup. */

@font-face { font-family: "Druk"; src: url("../fonts/druk.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Druk"; src: url("../fonts/druk-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
/* Druk Wide Medium for eyebrow labels (same file as the TDC story pages) */
@font-face { font-family: "Druk Wide"; src: url("../fonts/druk-wide-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gold: #AB854A;
  --grey: #DFDEDE;
  --grey-2: #E8E8E8;
  --ink-soft: rgba(0, 0, 0, 0.72);
  --ink-muted: rgba(0, 0, 0, 0.65);
  --paper-soft: rgba(255, 255, 255, 0.75);
  --line-dark: rgba(223, 222, 222, 0.2);

  --display: Druk, Anton, "Arial Narrow", sans-serif;
  --label: "Druk Wide", Lato, system-ui, sans-serif;
  --body: Lato, system-ui, sans-serif;

  --gutter: max(16px, 4vw);
  --maxw: 1280px;
  --section-y: clamp(56px, 8vw, 96px);
  --text: clamp(17px, 0.45vw + 15px, 20px);
  --player-h: 0px;

  /* Letter spacing, matched to the TDC story pages */
  --track-display: 0.05em;  /* Druk headlines */
  --track-accent: 0.02em;   /* italic Druk accent words */
  --track-label: 0.08em;    /* small uppercase labels */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
html, body { margin: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "lnum" 1;
  padding-bottom: var(--player-h);
}
body.has-player { --player-h: 88px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
p { margin: 0; }
#app:focus { outline: none; }

a { color: inherit; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--black); padding: 12px 18px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--black); }
.section--grey { background: var(--grey); color: var(--black); }
.section--gold { background: var(--gold); color: var(--black); }
.section--light a:hover, .section--grey a:hover, .section--gold a:hover { color: inherit; text-decoration-color: var(--gold); }
.section--gold a:hover { text-decoration-color: var(--white); }
.section--light, .section--grey, .section--gold { --focus: var(--black); }

.stack-4, .stack-8, .stack-12, .stack-16, .stack-20, .stack-24, .stack-32, .stack-40 { display: flex; flex-direction: column; min-width: 0; }
.stack-4 { gap: 4px; } .stack-8 { gap: 8px; } .stack-12 { gap: 12px; } .stack-16 { gap: 16px; }
.stack-20 { gap: 20px; } .stack-24 { gap: 24px; } .stack-32 { gap: 32px; } .stack-40 { gap: 40px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.section-head--center { align-items: center; }
.section-head__text { flex: 1 1 420px; max-width: 62ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--tight { gap: 8px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--display); font-weight: 500; line-height: 0.95;
  text-transform: uppercase; letter-spacing: var(--track-display); margin: 0;
}
.display em { font-style: italic; font-weight: 1000; letter-spacing: var(--track-accent); }
.display em.gold { color: var(--gold); font-weight: 400; }
.display--hero { font-size: clamp(48px, 7vw, 104px); line-height: 0.9; }
.display--xl { font-size: clamp(44px, 6vw, 72px); line-height: 0.92; }
.display--l { font-size: clamp(36px, 5vw, 60px); }
.display--m { font-size: clamp(24px, 2.4vw, 30px); line-height: 1; }
.display--sub { font-size: 24px; line-height: 1; color: var(--paper-soft); }
.display--sm { font-size: 24px; line-height: 1; }
.display--s { font-size: 26px; line-height: 1; }
.display--xs { font-size: 22px; line-height: 1; }
.display--guest { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; font-style: italic; font-weight: 400; letter-spacing: var(--track-accent); }
.display a { text-decoration: none; }

.eyebrow { font-family: var(--label); font-weight: 500; font-size: 13px; line-height: 1.2; letter-spacing: var(--track-label); text-transform: uppercase; margin: 0; }
.eyebrow--small { font-size: 12px; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--rule { font-size: 20px; }
.eyebrow--rule::after { content: ""; display: block; width: 3em; border-bottom: 2px solid currentColor; margin-top: 4px; }
/* Drawn as a background so the scroll animation can grow it from left to right */
.underline-gold { padding-bottom: 2px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 2px no-repeat; }
.gold { color: var(--gold); }

.lede { max-width: 60ch; font-size: var(--text); line-height: 1.6; color: var(--paper-soft); }
.lede--dark { color: var(--ink-soft); }
.body-copy { font-size: var(--text); line-height: 1.65; }
.tagline {
  font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1; text-transform: uppercase; color: var(--gold); letter-spacing: var(--track-accent);
}
.meta { font-weight: 700; font-size: 12px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-muted); }
.time { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: clamp(16px, 0.4vw + 14px, 20px); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--caps { letter-spacing: var(--track-label); text-transform: uppercase; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--gold); color: var(--black); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: #222; color: var(--white); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: #C29A5C; color: var(--black); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--outline-dark { border-color: var(--black); background: var(--white); color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: var(--white); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--nav { min-height: 44px; padding: 0 18px; font-size: 18px; letter-spacing: 0; text-transform: none; }

.pill-toggle {
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--black);
  background: transparent; color: var(--black); font-weight: 700; font-size: clamp(16px, 0.4vw + 14px, 20px); cursor: pointer;
}
.pill-toggle:hover { background: rgba(0, 0, 0, 0.08); }
.pill-toggle[aria-pressed="true"] { background: var(--black); color: var(--white); }
.filter-note { font-size: clamp(18px, 1vw + 12px, 25px); color: var(--ink-soft); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
}
.icon-btn:hover { color: var(--gold); }

/* Round play buttons */
.play-fab, .inline-player__play, .ep-player__play, .player-bar__play, .play-mini {
  flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  transition: transform .15s, background-color .15s;
}
.play-fab:hover, .inline-player__play:hover, .ep-player__play:hover, .player-bar__play:hover { transform: scale(1.06); }
.inline-player__play { width: 48px; height: 48px; background: var(--black); color: var(--white); }
.ep-player__play { width: 56px; height: 56px; background: var(--white); color: var(--black); }
.player-bar__play { width: 48px; height: 48px; background: var(--white); color: var(--black); }
.play-fab {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 52px; height: 52px;
  background: var(--gold); color: var(--black); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.play-fab.is-playing { background: var(--white); }
.play-mini { width: 32px; height: 32px; background: var(--black); color: var(--white); }
.section--dark .play-mini { background: var(--gold); color: var(--black); }

/* ---------- Range (seek bars) ---------- */

.range {
  --pct: 0%; --track: rgba(255, 255, 255, 0.25); --fill: var(--white); --thumb: var(--white);
  -webkit-appearance: none; appearance: none; flex: 1 1 200px; min-width: 120px; height: 24px; margin: 0;
  background: transparent; cursor: pointer;
}
.range--dark { --track: rgba(0, 0, 0, 0.2); --fill: var(--black); --thumb: var(--black); }
.range::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--fill) var(--pct), var(--track) var(--pct));
}
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--fill); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--thumb); border: 0;
}
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--thumb); border: 0; }
.range:focus-visible { outline-offset: 4px; }

/* ---------- Header + footer ---------- */

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 20px var(--gutter); background: var(--black); border-bottom: 1px solid var(--line-dark);
}
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: clamp(48px, 5vw, 68px); width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-weight: 700; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--gold); }

.site-footer { background: var(--black); padding: 48px 0; border-top: 1px solid var(--line-dark); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.site-footer__brand img:first-child { height: 36px; width: auto; }
.site-footer__brand img:last-child { height: 20px; width: auto; }
.site-footer__brand .display { font-size: 24px; line-height: 1; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer__legal { flex-basis: 100%; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ---------- Home ---------- */

.hero { position: relative; overflow: hidden; background: var(--black); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__inner { position: relative; padding-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px; }
.hero__copy { flex: 1 1 520px; min-width: 0; padding-bottom: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__wordmark { margin: 0; line-height: 0; }
.hero__wordmark img { width: min(560px, 100%); height: auto; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__art img { width: min(520px, 100%); height: auto; margin-bottom: clamp(24px, 4vw, 56px); }
.presented {
  position: relative; background: var(--white); color: var(--black); padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px;
}
.presented .display { font-style: italic; letter-spacing: var(--track-accent); font-size: clamp(32px, 4vw, 45px); line-height: 1; }
.presented img { height: 30px; width: auto; }

.s2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.s2-card { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s2-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.s2-card img.is-landscape { aspect-ratio: auto; object-fit: contain; }
.s2-card a:hover img { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Season 2 option dropdowns (used while comparing thumbnail styles) */
.s2-option summary {
  list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  min-height: 64px; padding: 16px 24px; border-radius: 16px;
}
.s2-option summary::-webkit-details-marker { display: none; }
.s2-option summary:hover { background: rgba(255, 255, 255, 0.05); }
.s2-option__label { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1; text-transform: uppercase; letter-spacing: var(--track-display); }
.s2-option__hint { font-weight: 700; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); }
.s2-option__chev { margin-left: auto; transition: transform .2s; }
.s2-option[open] .s2-option__chev { transform: rotate(180deg); }
.s2-option__body { padding: 16px 24px 32px; }
@media (max-width: 520px) { .s2-option__body, .s2-option summary { padding-left: 16px; padding-right: 16px; } }
.s2-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.s2-card__status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12px; letter-spacing: var(--track-label); text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.s2-card__status a { color: var(--white); }

.latest { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.latest__art { flex: 1 1 380px; min-width: 0; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.latest__copy { flex: 1 1 480px; }
.latest--video { align-items: flex-start; }
.latest--video .latest__copy { flex: 1 1 400px; }
.latest__media { position: relative; flex: 1.4 1 560px; min-width: 0; }
.latest__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--black); }
/* YouTube version of the featured video (hosted site) */
.latest__yt { position: relative; overflow: hidden; background: var(--black) center / cover no-repeat; }
.latest__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.unmute {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grey); color: var(--black); font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.unmute:hover { background: #C9C8C8; }
.unmute[hidden] { display: none; }
.inline-player { display: flex; align-items: center; gap: 12px 16px; background: var(--grey); border-radius: 999px; padding: 8px 20px 8px 8px; }
.inline-player .range { min-width: 60px; }

.season-heading { margin-top: 8px; }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.ep-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); color: var(--black);
  border-radius: 16px; overflow: hidden; min-width: 0; transition: transform .2s, box-shadow .2s;
}
.ep-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.ep-card__media { position: relative; background: var(--black); }
.ep-card__media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ep-card__media img.is-contain { object-fit: contain; }
.ep-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ep-card__desc { line-height: 1.5; color: var(--ink-soft); }
.ep-card__guest { margin-top: auto; padding-top: 8px; font-weight: 700; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ep-card .stretched:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.host { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.host > .stack-20 { flex: 1 1 480px; }
.host__photo { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; border-radius: 50%; }

/* ---------- Episode ---------- */

.ep-hero { position: relative; overflow: hidden; background: var(--t-bg); color: var(--t-ink); }
.ep-hero a:hover { color: inherit; text-decoration: underline; }
.ep-hero__beam { position: absolute; inset: 0; background: var(--t-beam); clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 0% 85%); }
.ep-hero__inner { position: relative; padding-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ep-hero__copy { flex: 1 1 560px; }
.ep-hero__art { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.crumbs { font-size: clamp(16px, 1vw + 10px, 20px); font-weight: 700; }
.crumbs a { text-decoration: none; }
.ep-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 15px; letter-spacing: var(--track-label); text-transform: uppercase; }

.ep-player { background: var(--black); color: var(--white); padding: 20px 0; }
.ep-player__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }

/* Full-width white band with content centred at the site's max width */
.ep-body {
  max-width: none; background: var(--white); color: var(--black);
  padding: 64px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))) 96px;
  display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start;
}
.ep-main { flex: 999 1 600px; }
.ep-aside { flex: 1 1 320px; }
.ep-body a:hover { color: var(--accent); }

.tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--grey); }
.tabs [role="tab"] {
  margin-bottom: -2px; min-height: 48px; padding: 0 20px; border: 0; border-bottom: 4px solid transparent; background: none;
  font-weight: 700; font-size: clamp(16px, 0.4vw + 14px, 20px); letter-spacing: var(--track-label); text-transform: uppercase; cursor: pointer; color: var(--ink-muted);
}
.tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--accent); color: var(--black); }

.prose { display: flex; flex-direction: column; gap: 18px; font-size: var(--text); line-height: 1.6; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--grey); font-weight: 700; font-size: 16px; }
.credit { color: var(--ink-muted); }
.notice { padding: 14px 16px; background: var(--grey); border-radius: 8px; line-height: 1.5; }
.notice a { color: var(--black); font-weight: 700; }

.transcript-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.t-label { font-weight: 700; font-size: 14px; }
#t-search { flex: 1 1 260px; min-width: 0; min-height: 44px; padding: 0 14px; border: 2px solid var(--black); border-radius: 999px; font: inherit; font-size: 16px; }
.transcript { display: flex; flex-direction: column; gap: 16px; }
.t-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 8px 8px 16px; border-bottom: 1px solid var(--grey); border-radius: 8px; transition: background-color .2s; }
.t-line.is-active { background: #F3F0EA; }
.t-time { align-self: start; padding: 4px 0; border: 0; background: none; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--accent); text-align: left; cursor: pointer; }
.t-time:hover { text-decoration: underline; }
.t-body { display: flex; flex-direction: column; gap: 4px; }
.t-speaker { font-weight: 700; font-size: 14px; }
.t-body p { line-height: 1.6; color: var(--ink-soft); }
mark { background: #F5E3B8; color: inherit; padding: 0 2px; border-radius: 2px; }

.card { border-radius: 16px; padding: 24px; }
.card--grey { background: var(--grey-2); }
.card--dark { background: var(--black); color: var(--white); }
.card--dark a:hover { color: var(--gold); }
.host-card { display: flex; align-items: center; gap: 16px; }
.guest-row { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--grey); }
.avatar--72 { width: 72px; height: 72px; }
.avatar--104 { width: 104px; height: 104px; }

.up-next { list-style: none; margin: 8px 0 0; padding: 0; }
.up-next li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--grey); }
.up-next li:last-child { border-bottom: 1px solid var(--grey); }
.up-next a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; min-width: 0; }

/* ---------- About ---------- */

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split__main { flex: 1 1 560px; }
.split__art { flex: 0 1 400px; width: 400px; max-width: 100%; height: auto; border-radius: 16px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; }
.audience-list { border-top: 2px solid var(--gold); }
.audience-list > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--grey); }
.audience-list > div p:last-child { color: var(--ink-soft); }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px;
  background: rgba(223, 222, 222, 0.25); border: 1px solid rgba(223, 222, 222, 0.25); border-radius: 12px; overflow: hidden;
}
.facts > div { background: var(--black); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.guest-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.guest-grid li { background: var(--white); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 20px; min-width: 0; }
.guest-grid li span:last-child { color: var(--ink-soft); line-height: 1.5; }

.state { min-height: 50vh; display: flex; align-items: center; }

/* ---------- Persistent player bar ---------- */

.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.96); color: var(--white); border-top: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom);
}
.player-bar[hidden] { display: none; }
.player-bar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--gutter);
  display: grid; align-items: center; gap: 8px 16px;
  grid-template-columns: 56px minmax(140px, 1fr) auto minmax(200px, 2fr) auto auto;
  grid-template-areas: "art meta controls timeline rate close";
}
.player-bar__art { grid-area: art; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #222; }
.player-bar__meta { grid-area: meta; min-width: 0; display: flex; flex-direction: column; }
.player-bar__title { font-family: var(--display); font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: var(--track-display); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar__sub { font-size: 13px; color: rgba(255, 255, 255, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar__controls { grid-area: controls; display: flex; align-items: center; gap: 4px; }
.player-bar__timeline { grid-area: timeline; display: flex; align-items: center; gap: 10px; min-width: 0; }
.player-bar__rate { grid-area: rate; min-width: 64px; }
#pb-close { grid-area: close; }

@media (max-width: 900px) {
  body.has-player { --player-h: 128px; }
  .player-bar__inner {
    grid-template-columns: 48px minmax(0, 1fr) auto auto;
    grid-template-areas: "art meta controls close" "timeline timeline timeline rate";
    padding-top: 10px; padding-bottom: 10px;
  }
  .player-bar__art { width: 48px; height: 48px; }
  .player-bar__title { font-size: 18px; }
  .player-bar__rate { min-height: 36px; }
}
@media (max-width: 520px) {
  #pb-back, #pb-fwd { display: none; }
  .inline-player { border-radius: 24px; flex-wrap: wrap; }
  .t-line { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
}

/* ---------- Scroll animation support (js/motion.js) ---------- */

.m-line { display: block; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.has-motion .hero__bg { will-change: transform; scale: 1.15; } /* room for the parallax drift */

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