/* TDT Talks · "The listening room"
   Warm, intimate, unhurried. Near-black with amber light; the red, orange
   and yellow palette glows rather than shouts. Speech-bubble geometry comes
   from the Talks submark: slanted panels with a tail. */

:root {
  --room: #0b0604;          /* black, warmed toward Deep Red */
  --room-2: #160b06;
  --room-3: #23120a;
  --surface: var(--room);
  --surface-2: var(--room-2);
  --on-surface: var(--white);
  --on-surface-muted: rgb(255 255 255 / 0.64);
  --line: rgb(255 214 170 / 0.14);
  --accent-1: var(--talks-orange);
  --accent-2: var(--talks-golden-yellow);
  --on-accent: #1a0b03;
  --accent-grad: linear-gradient(100deg, var(--talks-deep-red), var(--talks-orange) 55%, var(--talks-golden-yellow));
  --focus: var(--talks-golden-yellow);
  --label-color: var(--talks-orange);
  --mast-bg: var(--room);
  --mast-line: var(--line);
  --nav-active-bg: var(--talks-orange);
  --nav-active-fg: #1a0b03;
  --logo-h: 40px;
  --foot-bg: #000;
  --link: var(--talks-golden-yellow);
}
body { background: var(--room); }
.section--tight { padding-block: var(--s-7) var(--section-y); }
.btn--explore .btn__chip { background: var(--talks-orange); color: #1a0b03; }

/* On-air sign in the masthead (unlit: the show is in development) */
.onair {
  display: inline-flex; align-items: center; gap: 0.55em; padding: 0.4em 0.85em; border-radius: 6px;
  border: 1.5px solid rgb(255 255 255 / 0.22); color: rgb(255 255 255 / 0.5);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.onair i { width: 8px; height: 8px; border-radius: 50%; background: rgb(211 30 3 / 0.45); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
@media (max-width: 720px) { .onair { margin-left: auto; } }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(250 131 6 / 0.35), rgb(211 30 3 / 0.12) 55%, transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-8); align-items: center; }
.hero__title { font-size: var(--step-6); font-weight: 600; line-height: 0.96; letter-spacing: -0.045em; margin-top: var(--s-5); }
.hero__title em { font-style: normal; padding: 0 0.04em 0.12em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: var(--step-1); color: var(--on-surface-muted); max-width: 38ch; margin-top: var(--s-5); }
.status {
  display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); padding: var(--s-3) var(--s-5) var(--s-3) var(--s-4);
  border-radius: var(--radius-pill); background: var(--room-2); border: 1px solid var(--line); font-size: 0.9375rem;
}
.status b { color: var(--talks-golden-yellow); font-weight: 600; }
.status__light { width: 10px; height: 10px; border-radius: 50%; background: var(--talks-orange); box-shadow: 0 0 0 0 rgb(250 131 6 / 0.6); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .status__light { animation: breathe 2.8s var(--ease-in-out) infinite; }
  @keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgb(250 131 6 / 0.55); } 50% { box-shadow: 0 0 0 8px rgb(250 131 6 / 0); } }
}

.room { position: relative; margin: 0; }
.room__img { border-radius: 28px 28px 28px 6px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 40px 120px -30px rgb(211 30 3 / 0.5); }
.room__img img { width: 100%; height: 100%; object-fit: cover; }
.room__tag {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); display: flex; justify-content: space-between; gap: var(--s-3);
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: rgb(255 255 255 / 0.85);
}
.room__tag span { padding: 0.45em 0.8em; border-radius: 6px; background: rgb(11 6 4 / 0.7); backdrop-filter: blur(6px); }
/* Speech bubbles: slanted panel + tail, after the Talks submark */
.bubble {
  position: absolute; max-width: 240px; padding: 0.9em 1.15em; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25;
  border-radius: 14px; transform: skewY(-6deg);
}
.bubble::after { content: ""; position: absolute; bottom: -12px; width: 22px; height: 16px; background: inherit; }
.bubble--a { left: -6%; top: 8%; background: var(--talks-grad-hot); color: var(--white); }
.bubble--a::after { left: 22px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble--b { right: -4%; top: 52%; background: var(--talks-golden-yellow); color: #1a0b03; }
.bubble--b::after { right: 22px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
@media (prefers-reduced-motion: no-preference) {
  .js .bubble { animation: pop 0.8s var(--ease-out) both; }
  .js .bubble--a { animation-delay: 0.7s; }
  .js .bubble--b { animation-delay: 1.4s; }
  @keyframes pop { from { opacity: 0; transform: skewY(-6deg) translateY(14px) scale(0.9); } to { opacity: 1; transform: skewY(-6deg); } }
}

/* Waveform: flat and breathing, not yet "live" */
.wave { display: flex; align-items: center; gap: 4px; height: 90px; margin-block: var(--s-7) var(--s-4); }
.wave i {
  flex: 1; min-width: 2px; height: calc(8% + 30% * (0.5 + 0.5 * sin(var(--i) * 0.6)) ); border-radius: 3px;
  background: linear-gradient(180deg, var(--talks-golden-yellow), var(--talks-orange) 50%, var(--talks-deep-red));
  opacity: 0.85; transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 2.4s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -90ms); }
  @keyframes wave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
}

/* ---- Tuner ---------------------------------------------------------------- */
.tuner { background: var(--room-2); border-block: 1px solid var(--line); }
.tuner__head h2 { font-size: var(--step-5); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin-top: var(--s-4); }
.dial { margin-top: var(--s-7); border-radius: var(--radius-l); background: var(--room); border: 1px solid var(--line); padding: var(--s-6); --pos: 16; }
.dial[data-active="gaming"] { --pos: 50; }
.dial[data-active="movies"] { --pos: 84; }
.dial__scale { position: relative; display: flex; justify-content: space-between; align-items: flex-end; height: 40px; padding-inline: 2px; }
.dial__scale i { width: 2px; height: 12px; background: rgb(255 255 255 / 0.25); border-radius: 2px; }
.dial__scale i.major { height: 24px; background: rgb(255 255 255 / 0.5); }
.dial__needle {
  position: absolute; top: -8px; bottom: -8px; left: calc(var(--pos) * 1%); width: 3px; translate: -50% 0; border-radius: 3px;
  background: var(--talks-orange); box-shadow: 0 0 18px var(--talks-orange);
  transition: left var(--dur-4) var(--ease-out);
}
.dial__stations { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-5); }
.station {
  display: grid; justify-items: center; gap: 4px; padding: var(--s-4); border-radius: var(--radius-m); border: 1px solid transparent; text-align: center;
  transition: background-color var(--dur-2), border-color var(--dur-2);
}
.station:hover { background: var(--room-2); }
.station[aria-checked="true"] { border-color: var(--talks-orange); background: rgb(250 131 6 / 0.08); }
.station__freq { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--on-surface-muted); }
.station__n { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--talks-orange); }
.station__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.02em; }
.dial__readout { margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px dashed var(--line); min-height: 150px; }
.readout { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center; }
.readout[hidden] { display: none; }
.readout__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); letter-spacing: -0.05em; line-height: 1.08; padding: 0 0.08em 0.06em 0; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.readout__line { font-size: var(--step-2); font-family: var(--font-display); font-weight: 500; line-height: 1.25; max-width: 26ch; letter-spacing: -0.015em; }
@media (prefers-reduced-motion: no-preference) {
  .readout:not([hidden]) { animation: tune 600ms var(--ease-out) both; }
  @keyframes tune { 0% { opacity: 0; filter: blur(8px); transform: translateX(-12px); } 100% { opacity: 1; filter: none; transform: none; } }
}
.dial { display: none; }
.js .dial { display: block; }
.js .topics { display: none; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); list-style: none; padding: 0; }
.topic { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border-radius: 18px 18px 18px 4px; background: var(--room); border: 1px solid var(--line); }
.topic__n { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--on-surface-muted); }
.topic h3 { font-size: var(--step-3); font-weight: 600; margin-top: var(--s-6); }
.topic p { color: var(--on-surface-muted); margin-top: var(--s-2); }
.topic::before { content: ""; position: absolute; left: var(--s-5); top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; }
.topic--tech::before { background: var(--talks-deep-red); }
.topic--gaming::before { background: var(--talks-orange); }
.topic--movies::before { background: var(--talks-golden-yellow); }

/* ---- Pull quote ---------------------------------------------------------- */
.pull__inner { display: grid; grid-template-columns: auto 1fr; gap: var(--s-7); align-items: center; }
.pull img { width: clamp(80px, 10vw, 140px); }
.pull blockquote p { font-family: var(--font-display); font-weight: 500; font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.035em; max-width: 24ch; }
.pull__ctas { grid-column: 2; display: flex; gap: var(--s-3); flex-wrap: wrap; }
.btn--grad { color: #1a0b03; }

/* ---- Inner pages --------------------------------------------------------- */
.page-hero { padding-block: var(--s-9) var(--s-6); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; right: -15vw; top: -25vw; border-radius: 50%; background: radial-gradient(closest-side, rgb(250 131 6 / 0.25), transparent); }
.page-hero h1 { font-size: var(--step-6); font-weight: 600; line-height: 0.95; letter-spacing: -0.05em; margin-top: var(--s-4); max-width: 15ch; }
.page-hero__lede { font-size: var(--step-1); color: var(--on-surface-muted); max-width: 46ch; margin-top: var(--s-5); }

.empty { border-radius: var(--radius-l); background: var(--room-2); border: 1px solid var(--line); padding: var(--s-7); }
.empty__count { display: flex; align-items: baseline; gap: var(--s-4); }
.empty__count .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 2rem + 8vw, 9rem); line-height: 0.8; letter-spacing: -0.06em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty__count span:last-child { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--on-surface-muted); }
.empty .wave { height: 40px; opacity: 0.4; }
.empty p { color: var(--on-surface-muted); max-width: 56ch; }
.slots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-4); }
.slot { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius-m); border: 1.5px dashed var(--line); }
.slot__n { font-size: 0.75rem; letter-spacing: 0.14em; font-weight: 600; color: var(--on-surface-muted); }
.slot__bar { height: 12px; width: 80%; border-radius: 6px; background: rgb(255 255 255 / 0.06); }
.slot__bar--short { width: 50%; }
.slot__state { font-size: 0.75rem; color: rgb(255 255 255 / 0.4); }

.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.about .prose a { color: var(--talks-golden-yellow); }
.facts { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.facts span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--on-surface-muted); }
.facts b { font-weight: 600; text-align: right; }
.facts a { color: inherit; }
.facts__status { display: inline-flex; align-items: center; gap: 0.5em; color: var(--talks-golden-yellow); }
.facts__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--talks-orange); }

.booth { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; border-radius: var(--radius-l); background: var(--room-2); border: 1px solid var(--line); padding: var(--s-7); }
.booth__sign {
  display: grid; justify-items: center; gap: var(--s-4); padding: var(--s-7) var(--s-5); border-radius: var(--radius-m);
  background: #000; border: 2px solid rgb(255 255 255 / 0.1);
}
.booth__lamp { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5a1a10, #2a0b05); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.08); }
.booth__word { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); letter-spacing: 0.06em; text-transform: uppercase; color: rgb(255 255 255 / 0.32); text-align: center; }
.booth__copy h2 { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; }
.booth__copy p { color: var(--on-surface-muted); margin-block: var(--s-4) var(--s-6); max-width: 44ch; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid, .about, .booth { grid-template-columns: 1fr; }
  .room { margin-inline: var(--s-4); }
  .topics, .slots { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr; gap: var(--s-3); }
  .pull__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .pull__ctas { grid-column: 1; }
}
@media (max-width: 560px) {
  .dial { padding: var(--s-4); }
  .station { padding: var(--s-3) var(--s-1); }
  .station__n { font-size: 0.5625rem; letter-spacing: 0.08em; }
  .bubble { font-size: 0.8125rem; max-width: 170px; }
  .bubble--a { left: -4%; top: -6%; }
  .bubble--b { right: -4%; top: auto; bottom: 18%; }
  .empty, .booth { padding: var(--s-5); }
  .room__tag span:last-child { display: none; }
}
@media (max-width: 600px) { .wave i:nth-child(2n) { display: none; } }

/* ---- Episode list and episode page --------------------------------------
   No design snapshot exists for these (no episode is published yet); they use
   the Talks vocabulary: page hero, facts list, prose, mono numerals. */
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.episode-row { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: var(--s-3) var(--s-5); align-items: baseline; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.episode-row__n { color: var(--accent-2); font-size: var(--step--1); letter-spacing: 0.12em; }
.episode-row__title { margin: 0 0 var(--s-2); font-size: var(--step-2); line-height: var(--leading-snug); }
.episode-row__title a { color: inherit; text-decoration: none; }
.episode-row__title a:hover, .episode-row__title a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.episode-row p { margin: 0; color: var(--on-surface-muted); }
.episode-row__meta { font-size: var(--step--1); white-space: nowrap; }
.episode-meta { margin-top: var(--s-4); color: var(--on-surface-muted); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; }
.page-hero .label a { color: inherit; }
.episode-guest-note { display: block; margin-top: 0.25em; font-weight: 400; color: var(--on-surface-muted); }
@media (max-width: 720px) { .episode-row { grid-template-columns: 1fr; } .episode-row__meta { white-space: normal; } }
