/* Proof & Practice
   Modern, card-based layout. Two accents carry the show's two halves:
   amber = the pour, teal = the practice. */

:root {
  --bg: #f5f1ea; /* warm paper */
  --surface: #ffffff;
  --surface-2: #f3eee6;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(45, 33, 22, 0.1);
  --line-2: rgba(45, 33, 22, 0.18);
  --cream: #211a13; /* main text ink */
  --muted: #6c6054;
  --faint: #9a8d7f;
  --field-bg: #ffffff;
  --btn-hover: #3b2f24;
  --error: #b4432a;

  --amber: #b9752c;
  --amber-2: #9c5c18;
  --clinic: #2b8aa1;
  --clinic-2: #1d6c80;
  --clinic-ink: #1c6a7c;
  --scotch: #6f9182;
  --bourbon: #c56a33;

  --lab: #e7eef0; /* cool clinical band */
  --lab-card: #ffffff;
  --lab-ink: #121518;
  --lab-muted: #56606a;
  --lab-line: rgba(18, 21, 24, 0.09);

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --split: linear-gradient(90deg, var(--amber), var(--clinic));
}

/* Anything sitting on a photo keeps the original dark palette so text stays readable. */
.on-photo,
.pane,
.badge,
.defs-wrap,
.host,
.listen,
.page-hero .frame,
.player,
.ep-media,
.slot-card:has(> img) {
  --bg: #0c0a08;
  --surface: #16120e;
  --surface-2: #1f1914;
  --glass: rgba(28, 23, 18, 0.62);
  --line: rgba(255, 245, 230, 0.09);
  --line-2: rgba(255, 245, 230, 0.16);
  --cream: #f3ebdf;
  --muted: #b5a995;
  --faint: #8a7d6e;
  --field-bg: rgba(0, 0, 0, 0.35);
  --btn-hover: #ffffff;
  --error: #f0a08a;
  --amber: #db9a4c;
  --amber-2: #f0c27f;
  --clinic: #74c0d2;
  --clinic-2: #b0dfe9;
  --scotch: #a9c0b3;
  --bourbon: #d97d43;
  color: var(--cream);
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

::selection {
  background: var(--clinic);
  color: var(--bg);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 em,
h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--amber-2);
}

em.c {
  color: var(--clinic);
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.pill {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
}

.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clinic);
  box-shadow: 0 0 0 0 rgba(116, 192, 210, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(116, 192, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(116, 192, 210, 0); }
}

.muted {
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  flex: none;
}

.dot.scotch { background: var(--scotch); }
.dot.bourbon { background: var(--bourbon); }

img.wm-inline {
  display: inline-block;
  height: 1.5em;
  width: auto;
  vertical-align: -0.45em;
  margin: 0 0.1em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--bg);
  font: 600 0.92rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(43, 138, 161, 0.45);
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-2);
}

.btn.ghost:hover {
  border-color: var(--cream);
  box-shadow: none;
}

.btn.small {
  padding: 10px 16px;
  font-size: 0.82rem;
}

/* ---------- Progress + floating nav ---------- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 60;
  background: var(--split);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  transition: top 0.4s var(--ease);
}

.nav-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: padding 0.4s var(--ease), background 0.4s, max-width 0.5s var(--ease), box-shadow 0.4s;
}

.scrolled .nav-wrap {
  top: 8px;
}

.scrolled .nav-bar {
  max-width: 980px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px -16px rgba(45, 33, 22, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand .wordmark {
  height: 30px;
  width: auto;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  font: 500 0.9rem/1 var(--sans);
  text-decoration: none;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cream);
  background: var(--surface-2);
}

@media (max-width: 760px) {
  .nav-bar {
    gap: 8px;
  }
  .nav-bar > .btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
  .nav-bar > .btn .arrow {
    display: none;
  }
}

/* Phones: drop the seal and the Topics link so Subscribe stays in reach. */
@media (max-width: 520px) {
  .nav-bar {
    padding: 8px 8px 8px 14px;
  }
  .brand-mark {
    display: none;
  }
  .brand .wordmark {
    height: 22px;
  }
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding: 9px 8px;
    font-size: 0.82rem;
  }
  .nav-links a.hide-sm {
    display: none;
  }
}

@media (max-width: 360px) {
  .nav-bar {
    gap: 6px;
  }
  .nav-links a.hide-xs {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
  font-size: 1.05rem;
}

@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* Light (practice) sections: clean surface, no grid */

.light {
  background: var(--lab);
  color: var(--lab-ink);
  border-radius: var(--r-xl);
  margin: 0 clamp(8px, 1.5vw, 20px);
}

.light h2 {
  color: var(--lab-ink);
}

.light h2 em {
  color: #a8651f;
}

.light em.c,
.light h2 em.c {
  color: var(--clinic-ink);
}

.light .eyebrow {
  color: var(--clinic-ink);
}

.light .section-head p {
  color: var(--lab-muted);
}

/* ---------- Hero ---------- */

.hero {
  padding: 120px 0 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  background:
    radial-gradient(600px 360px at 18% 10%, rgba(219, 154, 76, 0.18), transparent 70%),
    radial-gradient(600px 360px at 85% 0%, rgba(116, 192, 210, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(24px, 5vw, 56px);
}

.hero h1 {
  margin-top: 22px;
  line-height: 0;
}

.hero h1 img {
  width: min(660px, 100%);
  height: auto;
}

.hero-side .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 26px;
}

.hero-side .lede strong {
  color: var(--cream);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 880px) {
  .hero-top {
    grid-template-columns: 1fr;
  }
}

/* Diptych: the pour | the work */

.diptych {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  height: min(58vh, 600px);
  min-height: 320px;
}

.pane {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.pane img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(var(--py, 0));
  will-change: transform;
}

.pane.pour img {
  object-position: 72% 60%;
}

.pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 6, 5, 0.8) 0%, rgba(8, 6, 5, 0) 50%);
}

.pane.practice::after {
  background: linear-gradient(0deg, rgba(6, 18, 24, 0.85) 0%, rgba(6, 18, 24, 0) 55%);
}

.pane figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.pane figcaption b {
  display: block;
  font: 600 clamp(1.3rem, 2.4vw, 1.9rem) / 1.1 var(--sans);
  letter-spacing: -0.02em;
}

.pane figcaption small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.tag.amber {
  color: var(--amber-2);
  background: rgba(219, 154, 76, 0.16);
  border: 1px solid rgba(219, 154, 76, 0.35);
}

.tag.clinic {
  color: var(--clinic-2);
  background: rgba(116, 192, 210, 0.14);
  border: 1px solid rgba(116, 192, 210, 0.35);
}

/* Rotating badge on the seam */

.badge {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(12, 10, 8, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

.badge svg.ring {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: spin 22s linear infinite;
}

.badge img {
  width: 46px;
  height: 46px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .diptych {
    grid-template-columns: 1fr;
    height: auto;
  }
  .pane {
    height: 52vw;
    min-height: 220px;
  }
  .badge {
    width: 96px;
    height: 96px;
    left: auto;
    right: 18px;
    transform: translateY(-50%);
  }
  .badge img {
    width: 34px;
    height: 34px;
  }
}

/* Standards marquee */

.marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  font: 500 0.78rem/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--clinic-2);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(116, 192, 210, 0.25);
  background: rgba(116, 192, 210, 0.06);
  white-space: nowrap;
}

.marquee span.w {
  color: var(--amber-2);
  border-color: rgba(219, 154, 76, 0.28);
  background: rgba(219, 154, 76, 0.07);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Format (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tile {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -32px rgba(45, 33, 22, 0.4);
}

.tile .n {
  font: 600 4.5rem/1 var(--sans);
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--cream), rgba(33, 26, 19, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: auto;
}

.tile .kind {
  position: absolute;
  top: 24px;
  right: 22px;
}

.tile h3 {
  margin: 28px 0 10px;
}

.tile p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

.tile.w {
  background: radial-gradient(400px 220px at 100% 0%, rgba(219, 154, 76, 0.14), transparent 70%), var(--surface);
}

.tile.d {
  background: radial-gradient(400px 220px at 100% 0%, rgba(116, 192, 210, 0.14), transparent 70%), var(--surface);
}

.tile.d h3 {
  color: var(--clinic-2);
}

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 0;
  }
}

/* Spotlight that follows the cursor on cards */

.spot {
  --x: 50%;
  --y: 50%;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--x) var(--y), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}

.spot:hover::before {
  opacity: 1;
}

/* ---------- Topics (editorial rows) ---------- */

.topic-list {
  display: grid;
  gap: 14px;
}

.topic-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0;
  border-radius: var(--r-xl);
  background: var(--lab-card);
  border: 1px solid var(--lab-line);
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.topic-row:hover {
  box-shadow: 0 30px 70px -40px rgba(18, 21, 24, 0.45);
  transform: translateY(-3px);
}

.topic-row.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.topic-row.flip .topic-media {
  order: 2;
}

.topic-row .spot::before,
.light .spot::before {
  background: radial-gradient(320px circle at var(--x) var(--y), rgba(116, 192, 210, 0.12), transparent 60%);
}

.topic-media {
  position: relative;
  display: block;
  min-height: 340px;
  margin: 10px;
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
}

.topic-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.topic-row:hover .topic-media img {
  transform: scale(1.05);
}

.topic-num {
  position: absolute;
  left: 18px;
  bottom: 12px;
  font: 600 3.4rem/1 var(--sans);
  letter-spacing: -0.05em;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.topic-body {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--lab-ink);
}

.topic-body h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.topic-body .scope {
  color: var(--lab-muted);
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 22px;
}

.topic-body h4.eyebrow {
  font-size: 0.68rem;
  margin-bottom: 12px;
}

.covers {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.covers li {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(116, 192, 210, 0.12);
  color: var(--clinic-ink);
  border: 1px solid rgba(28, 106, 124, 0.16);
}

.topic-body .glass {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(219, 154, 76, 0.1);
  color: #6f4615;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 62ch;
}

.topic-body .glass .eyebrow {
  display: block;
  font-style: normal;
  color: #a8651f;
  margin-bottom: 6px;
  font-size: 0.64rem;
}

.light .btn.ghost {
  color: var(--lab-ink);
  border-color: rgba(18, 21, 24, 0.2);
}

.light .btn.ghost:hover {
  border-color: var(--lab-ink);
}

@media (max-width: 860px) {
  .topic-row,
  .topic-row.flip {
    grid-template-columns: 1fr;
  }
  .topic-row.flip .topic-media {
    order: 0;
  }
  .topic-media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
}

/* Chips shared by episode cards and episode pages */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chips span {
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--clinic-2);
  background: rgba(116, 192, 210, 0.14);
  border: 1px solid rgba(116, 192, 210, 0.28);
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Practice carousel ---------- */

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.carousel-head > div:first-child {
  max-width: 760px;
}

.carousel-head .eyebrow {
  margin-bottom: 20px;
}

.carousel-head p {
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 54ch;
}

.arrows {
  display: flex;
  gap: 8px;
  flex: none;
}

.arrows button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.arrows button:hover {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 380px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 4px var(--gutter) 24px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.qcard {
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--r-lg);
  padding: 26px;
  min-height: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}

.qcard:hover {
  border-color: rgba(116, 192, 210, 0.4);
  transform: translateY(-4px);
}

.qcard .ref {
  display: flex;
  justify-content: space-between;
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.1em;
  color: var(--faint);
}

.qcard .ref b {
  color: var(--clinic);
  font-weight: 500;
}

.qcard p {
  margin: auto 0 0;
  padding-top: 40px;
  font: 500 clamp(1.25rem, 2vw, 1.5rem) / 1.3 var(--sans);
  letter-spacing: -0.02em;
}

.qcard .bar {
  margin-top: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.qcard .bar i {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--split);
  border-radius: 3px;
}

@media (max-width: 640px) {
  .carousel-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Definitions ---------- */

.defs-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(20px, 6vw, 80px);
  isolation: isolate;
}

.defs-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.defs-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 8, 6, 0.55);
}

.defs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.def {
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.def dt {
  font: 400 clamp(2.4rem, 5vw, 3.8rem) / 1 var(--serif);
  font-style: italic;
  color: var(--amber-2);
  margin-bottom: 22px;
}

.def.practice dt {
  color: var(--clinic-2);
}

.def dt span {
  display: block;
  margin-top: 12px;
  font: 400 0.75rem var(--mono);
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.def dd {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  display: flex;
  gap: 12px;
}

.def dd b {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 0.75rem var(--mono);
  background: rgba(219, 154, 76, 0.2);
  color: var(--amber-2);
}

.def.practice dd b {
  background: rgba(116, 192, 210, 0.2);
  color: var(--clinic-2);
}

@media (max-width: 760px) {
  .defs {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hosts ---------- */

.hosts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.host {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.host > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.4s var(--ease);
}

.host:hover > img {
  transform: scale(1.04);
}

.host::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.6) 35%, rgba(10, 8, 6, 0) 65%);
}

.host-body {
  margin: 14px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  width: calc(100% - 28px);
}

.host-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.host h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 6px;
}

.host .role {
  font: 500 0.74rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clinic-2);
  margin-bottom: 12px;
}

.host p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.swap {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--bg);
  box-shadow: 0 0 0 8px var(--bg);
}

.swap svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 820px) {
  .hosts {
    grid-template-columns: 1fr;
  }
  .host {
    min-height: 520px;
  }
  .swap {
    top: 50%;
  }
  .swap svg {
    transform: rotate(90deg);
  }
}

/* ---------- Episodes ---------- */

.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}

.ep-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -32px rgba(45, 33, 22, 0.4);
}

.ep-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 8px 8px 0;
  border-radius: calc(var(--r-lg) - 8px);
}

.ep-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.ep-card:hover .ep-media img {
  transform: scale(1.06);
}

.ep-num {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font: 600 2.6rem/1 var(--sans);
  letter-spacing: -0.04em;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.ep-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font: 500 0.66rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.6);
  backdrop-filter: blur(8px);
  color: var(--cream);
}

.ep-status.live {
  background: var(--clinic);
  color: var(--bg);
}

.ep-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ep-body h3 {
  margin: 10px 0 8px;
}

.ep-body p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-pours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font: 400 0.76rem var(--mono);
  color: var(--faint);
}

.ep-body .chips {
  margin: 14px 0 0;
}

@media (max-width: 1000px) {
  .ep-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .ep-grid {
    grid-template-columns: 1fr;
  }
}

/* Skeletons while episode data loads */

.skeleton {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(45, 33, 22, 0.06) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
  transform: translateX(-100%);
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* Filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  width: max-content;
  max-width: 100%;
}

.chip {
  font: 500 0.86rem/1 var(--sans);
  padding: 11px 16px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.chip:hover {
  color: var(--cream);
}

.chip[aria-pressed="true"] {
  background: var(--cream);
  color: var(--bg);
}

@media (max-width: 700px) {
  .filters {
    border-radius: var(--r-lg);
    width: 100%;
  }
}

/* ---------- Listen ---------- */

.listen {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(24px, 6vw, 72px);
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.listen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.listen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 14, 18, 0.94) 0%, rgba(8, 14, 18, 0.75) 55%, rgba(8, 14, 18, 0.45) 100%);
}

.listen h2 {
  margin: 18px 0 16px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.platforms a:hover {
  background: var(--cream);
  color: var(--bg);
}

.notify {
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.notify h3 {
  margin: 14px 0 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 860px) {
  .listen {
    grid-template-columns: 1fr;
  }
}


/* ---------- Inner page heads ---------- */

.page-hero {
  padding: 96px 0 0;
}

.page-hero .frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(80px, 14vw, 180px) clamp(22px, 5vw, 64px) clamp(28px, 5vw, 56px);
  isolation: isolate;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero .frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.4) 60%, rgba(10, 8, 6, 0.2) 100%);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-top: 18px;
}

.page-hero .lede {
  margin: 18px 0 0;
  max-width: 56ch;
  color: rgba(243, 235, 223, 0.85);
  font-size: 1.1rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.5);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  color: var(--cream);
}

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

.player {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}

.cask .cask-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.4);
  transform: scale(1.1);
}

.cask > :not(.cask-img) {
  position: relative;
}

.cask .play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}

.cask .play img {
  width: 36px;
}

.cask strong {
  font: 600 clamp(1.3rem, 3vw, 1.9rem) var(--sans);
  letter-spacing: -0.02em;
}

.ep-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  padding: 14px 0 clamp(80px, 10vw, 120px);
  align-items: start;
}

@media (max-width: 900px) {
  .ep-layout {
    grid-template-columns: 1fr;
  }
}

.panel {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 14px;
}

.panel > .eyebrow {
  display: flex;
  margin-bottom: 18px;
}

.connection {
  font: 400 clamp(1.3rem, 2.4vw, 1.75rem) / 1.4 var(--serif);
  font-style: italic;
  margin: 0;
}

.panel .chips span {
  font-size: 0.78rem;
  padding: 9px 12px;
}

.bottle {
  border-radius: var(--r-md);
  padding: 20px 20px 20px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.bottle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.bottle.scotch::before { background: var(--scotch); }
.bottle.bourbon::before { background: var(--bourbon); }

.bottle .who {
  font: 500 0.7rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bottle h4 {
  font-size: 1.3rem;
  margin: 10px 0 4px;
}

.bottle .sub {
  font: 400 0.8rem var(--mono);
  color: var(--faint);
}

.bottle dl {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.bottle dt {
  font: 500 0.66rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.bottle dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.bottle.tbd h4 {
  color: var(--faint);
}

.chapters {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chapters li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.chapters time {
  font-family: var(--mono);
  color: var(--clinic);
  min-width: 56px;
}

.refs {
  padding-left: 1.1em;
  color: var(--muted);
  margin: 0;
}

.refs a {
  color: var(--cream);
  text-decoration-color: var(--clinic);
}

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

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.about-card {
  position: relative;
  grid-column: span 6;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.about-card.wide {
  grid-column: span 8;
}

.about-card.narrow {
  grid-column: span 4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(116, 192, 210, 0.12), transparent 60%), var(--surface);
}

.about-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 16px 0 18px;
}

.about-card p {
  color: var(--muted);
}

.about-card p strong {
  color: var(--cream);
  font-weight: 500;
}

.about-card .seal {
  width: min(300px, 90%);
  border-radius: 50%;
}

.about-card.light-card {
  background: var(--lab);
  color: var(--lab-ink);
  border-color: transparent;
}

.about-card.light-card h2 {
  color: var(--lab-ink);
}

.about-card.light-card p {
  color: var(--lab-muted);
}

.about-card.light-card p strong {
  color: var(--lab-ink);
}

.about-card.light-card .eyebrow {
  color: var(--clinic-ink);
}

@media (max-width: 900px) {
  .about-card,
  .about-card.wide,
  .about-card.narrow {
    grid-column: span 12;
  }
}

/* ---------- Footer ---------- */

.footer {
  padding: 0 0 32px;
}

.footer-card {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

.footer-brand .seal {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  flex: none;
}

.footer-wordmark {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.footer-links a:hover {
  color: var(--cream);
  border-color: var(--line-2);
}

.footer-fine {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 22px 8px 0;
  font-size: 0.82rem;
  color: var(--faint);
}

.footer-fine p {
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 760px) {
  .footer-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Cards that also lift on hover keep a fast transform after they've revealed */
.reveal.in.tile,
.reveal.in.topic-row,
.reveal.in.qcard,
.reveal.in.ep-card {
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .badge svg.ring,
  .eyebrow .pulse,
  .skeleton::after {
    animation: none;
  }
  .pane img {
    transform: none;
  }
}

/* ---------- Forms ---------- */

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-row {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  padding: 6px;
  border-radius: 999px;
  background: var(--field-bg);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s;
}

.field-row:focus-within {
  border-color: var(--clinic);
}

.field-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: transparent;
  color: var(--cream);
  border: 0;
  font: 400 0.95rem var(--sans);
}

.field-row input:focus {
  outline: none;
}

.checks {
  border: 0;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--field-bg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.check input:checked {
  background: var(--clinic);
  border-color: var(--clinic);
}

.check input:checked::after {
  opacity: 1;
}

.check input:focus-visible {
  outline: 2px solid var(--clinic);
  outline-offset: 2px;
}

.checks.big {
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 4px;
}

.checks.big legend {
  margin-bottom: 12px;
}

.checks.big .check {
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  width: 100%;
}

.checks.big .check b {
  display: block;
  color: var(--cream);
  font-weight: 600;
}

.checks.big .check small {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
}

.form-msg {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--clinic-2);
  min-height: 1.3em;
}

.form-msg.error {
  color: var(--error);
}

.form-done {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(116, 192, 210, 0.1);
  border: 1px solid rgba(116, 192, 210, 0.3);
}

.form-done b {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.form-done p {
  margin: 0;
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field > span i {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--faint);
}

.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--field-bg);
  color: var(--cream);
  font: 400 0.98rem/1.5 var(--sans);
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
}

.field select,
.toolbar select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  outline: none;
  border-color: var(--clinic);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.form-actions .form-msg {
  margin: 0;
}

button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .field-row {
    flex-direction: column;
    border-radius: var(--r-md);
  }
}

.about-card .stack-form {
  margin-top: 22px;
}

/* ---------- Account pages ---------- */

.narrow-panel {
  max-width: 720px;
  margin: 0 auto;
}

.panel-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 12px 0 14px;
}

.danger-zone {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.danger-zone h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.danger-zone p {
  margin: 0;
}

.danger-zone.rejoin {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.danger-zone.flash,
.form-done.flash {
  animation: flash 1.2s var(--ease);
}

@keyframes flash {
  0% { box-shadow: 0 0 0 0 rgba(116, 192, 210, 0.6); }
  100% { box-shadow: 0 0 0 18px rgba(116, 192, 210, 0); }
}

/* ---------- Admin ---------- */

.admin .page-hero {
  padding-top: 110px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.admin-head h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-top: 16px;
}

.setup-alerts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(219, 154, 76, 0.12);
  border: 1px solid rgba(219, 154, 76, 0.35);
  color: var(--amber-2);
  font-size: 0.92rem;
}

.alert code,
.auto-panel code {
  font-family: var(--mono);
  font-size: 0.85em;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.stat {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.stat b {
  display: block;
  font: 600 2.4rem/1 var(--sans);
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.stat.hl {
  background: radial-gradient(300px 160px at 100% 0%, rgba(116, 192, 210, 0.18), transparent 70%), var(--surface);
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
  margin-top: 12px;
}

.spark i {
  flex: 1;
  background: var(--clinic);
  border-radius: 2px;
  min-height: 2px;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 14px;
}

.tabs button {
  font: 500 0.9rem/1 var(--sans);
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.tabs button[aria-selected="true"] {
  background: var(--cream);
  color: var(--bg);
}

.compose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.preview-panel iframe {
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--bg);
  margin-top: 14px;
}

.auto-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.auto-panel h3 {
  margin: 10px 0 8px;
}

.auto-panel p {
  margin: 0;
  max-width: 70ch;
}

@media (max-width: 1000px) {
  .compose {
    grid-template-columns: 1fr;
  }
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.toolbar input {
  flex: 1;
  min-width: 200px;
  border-radius: 999px;
}

.toolbar select {
  width: auto;
  border-radius: 999px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table th {
  font: 500 0.68rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px;
}

.data-table .icon-btn {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font: 500 0.8rem var(--sans);
}

.data-table .icon-btn:hover {
  color: var(--error);
  border-color: var(--error);
}

.pill {
  display: inline-block;
  font: 500 0.66rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.pill.active,
.pill.sent {
  color: var(--bg);
  background: var(--clinic);
  border-color: var(--clinic);
}

.pill.pending,
.pill.queued,
.pill.sending {
  color: var(--amber-2);
  border-color: rgba(219, 154, 76, 0.5);
}

.pill.failed {
  color: var(--error);
  border-color: var(--error);
}

.progress-bar {
  width: 120px;
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.progress-bar i {
  display: block;
  height: 100%;
  background: var(--split);
}

.sugg-list {
  display: grid;
  gap: 12px;
}

.sugg {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.sugg header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sugg p {
  margin: 0;
  white-space: pre-wrap;
}

.sugg .meta {
  font-size: 0.86rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-weight: 500;
  z-index: 80;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Seasons ---------- */

.season + .season {
  margin-top: clamp(48px, 7vw, 80px);
}

.season-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.season-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.ep-num small {
  font-size: 0.42em;
  letter-spacing: 0.04em;
  margin-right: 6px;
  vertical-align: 0.9em;
  opacity: 0.75;
}

.ep-card.slot {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-2);
}

.ep-card.slot:hover {
  transform: none;
}

.ep-card.slot .ep-media {
  background:
    radial-gradient(circle at 30% 30%, rgba(219, 154, 76, 0.1), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(116, 192, 210, 0.08), transparent 60%),
    var(--surface);
}

.ep-card.slot .ep-num {
  color: var(--faint);
  text-shadow: none;
}

.ep-card.slot h3 {
  color: var(--muted);
  font-size: 1.15rem;
}

.ep-card.slot p a {
  color: var(--clinic-2);
}

.season-card {
  justify-content: center;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(116, 192, 210, 0.14), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, rgba(219, 154, 76, 0.12), transparent 70%),
    var(--surface);
}

.season-count {
  display: block;
  font: 600 6rem/0.9 var(--sans);
  letter-spacing: -0.06em;
  margin: 18px 0 12px;
}

.season-count small {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
  margin-left: 10px;
}

.season-card p {
  -webkit-line-clamp: unset;
  margin-bottom: 20px;
}

.season-card .btn {
  align-self: flex-start;
}

/* ---------- Admin: content management ---------- */

.admin-who {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-who .muted {
  font-size: 0.9rem;
  margin-right: 6px;
}

.key-login {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.key-login summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
}

@media (max-width: 760px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.season-board + .season-board {
  margin-top: 36px;
}

.season-board header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.season-board h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1000px) {
  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .slot-grid {
    grid-template-columns: 1fr;
  }
}

.slot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  min-height: 190px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--cream);
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.2s;
}

.slot-card:hover {
  transform: translateY(-3px);
  border-color: var(--clinic);
}

.slot-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.slot-card:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.95) 10%, rgba(10, 8, 6, 0.35) 100%);
}

.slot-card .slot-num {
  position: absolute;
  top: 12px;
  left: 16px;
  font: 600 1.8rem/1 var(--sans);
  letter-spacing: -0.04em;
}

.slot-card .slot-meta {
  position: absolute;
  top: 14px;
  right: 12px;
  display: flex;
  gap: 4px;
}

.slot-card b {
  font-size: 1.02rem;
  line-height: 1.25;
}

.slot-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.slot-card.empty {
  border-style: dashed;
  background: transparent;
  color: var(--muted);
  align-items: center;
  justify-content: center;
}

.slot-card.empty .slot-num {
  color: var(--faint);
}

.slot-card.empty:hover {
  color: var(--cream);
}

.pill.draft {
  color: var(--muted);
}

.pill.planned {
  color: var(--amber-2);
  border-color: rgba(219, 154, 76, 0.5);
}

.pill.published {
  color: var(--bg);
  background: var(--clinic);
  border-color: var(--clinic);
}

.structure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 1000px) {
  .structure {
    grid-template-columns: 1fr;
  }
}

.structure h3 {
  font-size: 1.15rem;
}

.table-wrap.flat {
  margin-top: 14px;
  background: transparent;
}

.row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.topic-admin-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.topic-admin {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.topic-admin img,
.topic-admin .noimg {
  width: 56px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.topic-admin b {
  display: block;
}

.topic-admin small {
  color: var(--muted);
  font-size: 0.8rem;
}

.image-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.img-opt {
  width: 84px;
  height: 60px;
  padding: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--surface-2);
  overflow: hidden;
  cursor: pointer;
  color: var(--muted);
  font: 500 0.78rem var(--sans);
  display: grid;
  place-items: center;
}

.img-opt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-opt.on {
  border-color: var(--clinic);
  box-shadow: 0 0 0 3px rgba(116, 192, 210, 0.25);
}

.img-opt.upload {
  border: 1px dashed var(--line-2);
}

.img-opt.upload:hover {
  color: var(--cream);
  border-color: var(--cream);
}

/* Slide-in episode editor */

.drawer {
  margin: 0 0 0 auto;
  width: min(760px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--cream);
}

.drawer[open] {
  animation: slide-in 0.45s var(--ease);
}

.drawer::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

@keyframes slide-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.drawer-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 1.6rem;
  margin-top: 10px;
}

.icon-close {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 28px;
}

.drawer-section {
  border: 0;
  padding: 20px 0 6px;
  margin: 0;
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-section:last-child {
  border-bottom: 0;
}

.drawer-section legend {
  font: 500 0.72rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clinic);
  padding: 0;
  margin-bottom: 4px;
}

.bottle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .bottle-grid {
    grid-template-columns: 1fr;
  }
}

.bottle-edit {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border-top: 3px solid var(--scotch);
}

.bottle-edit.bourbon {
  border-top-color: var(--bourbon);
}

.bottle-edit h4 {
  font-size: 1rem;
}

.drawer-foot {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
}

.drawer-foot .form-msg {
  margin: 0;
  flex: 1;
}

.drawer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn.danger:hover {
  color: var(--error);
  border-color: var(--error);
}

.setup-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 16px 0;
  font-size: 0.92rem;
}

.setup-list dt {
  color: var(--muted);
}

.setup-list dd {
  margin: 0;
  word-break: break-word;
}

.sugg-pour {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Platform buttons with no link yet */

.platforms a.soon {
  opacity: 0.55;
  cursor: default;
}

.platforms a.soon:hover {
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
}

.platforms a.soon::after {
  content: "Soon";
  font: 500 0.62rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
}

/* ---------- Episode page: tabs, players, article, transcript ---------- */

.ep-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.ep-tabs {
  margin: 18px 0 14px;
}

.ep-pane > .player {
  margin-bottom: 0;
}

.audio-panel audio {
  width: 100%;
  margin: 4px 0 4px;
}

.audio-panel .platforms {
  margin-top: 14px;
}

.notes-summary {
  font-size: 1.12rem;
  line-height: 1.6;
  margin: 0;
}

.takeaways {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 10px;
}

.takeaways li::marker {
  color: var(--clinic);
  font-weight: 600;
}

.guests {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.guests li b {
  display: block;
}

.guests li span {
  color: var(--muted);
  font-size: 0.92rem;
}

.chapters .seek {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.chapters .seek:hover span {
  text-decoration: underline;
  text-decoration-color: var(--clinic);
}

.article {
  max-width: 820px;
  margin: 0 auto clamp(60px, 8vw, 100px);
  padding: clamp(28px, 5vw, 64px);
}

.article > h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 14px 0 28px;
}

.prose {
  font-size: 1.1rem;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1.2em;
}

.prose h3 {
  font-size: 1.55rem;
  margin: 1.8em 0 0.6em;
}

.prose h4 {
  font-size: 1.2rem;
  margin: 1.5em 0 0.5em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose li::marker {
  color: var(--amber);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--amber);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
}

.prose a {
  color: var(--clinic-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.transcript {
  margin-bottom: clamp(60px, 8vw, 100px);
}

.transcript-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.transcript-tools input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--field-bg);
  color: var(--cream);
  font: 400 0.95rem var(--sans);
}

.transcript-tools input:focus {
  outline: none;
  border-color: var(--clinic);
}

.transcript-note {
  font-size: 0.85rem;
  margin: 12px 0 18px;
}

.transcript-body {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 8px;
}

.tline {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}

.tline > span:only-child {
  grid-column: 1 / -1;
}

.tline b {
  color: var(--amber-2);
  font-weight: 600;
}

.tline .seek {
  align-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--clinic-2);
  font: 500 0.78rem var(--mono);
  cursor: pointer;
  width: max-content;
}

.tline .seek:hover {
  background: var(--clinic);
  border-color: var(--clinic);
  color: #fff;
}

.ep-has {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ep-has span {
  font: 500 0.64rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}

/* Admin editor helpers */

.hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hint code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface-2);
  padding: 1px 5px;
  border-radius: 4px;
}

textarea.mono-ish {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

.file-btn {
  width: max-content;
  cursor: pointer;
}

/* Host headshots beside their names */

.host-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.host-name h3 {
  margin: 0;
}

.avatar {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--scotch);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

.avatar.bourbon {
  border-color: var(--bourbon);
}

@media (max-width: 520px) {
  .avatar {
    width: 52px;
    height: 52px;
  }
}

/* ---------- Accessibility ---------- */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="tab"]:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--clinic);
  outline-offset: 3px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--clinic);
  outline-offset: 1px;
}

/* ---------- Episode page: share, previous/next, signup ---------- */

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font: 500 0.84rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.share-btn:hover {
  background: var(--cream);
  color: var(--bg);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 14px;
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.4s var(--ease);
}

.pager-link:hover {
  border-color: var(--clinic);
  transform: translateY(-2px);
}

.pager-link.next {
  text-align: right;
  align-items: flex-end;
}

.pager-link.empty {
  visibility: hidden;
}

.pager-link small {
  color: var(--muted);
}

.ep-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(43, 138, 161, 0.1), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(185, 117, 44, 0.1), transparent 70%),
    var(--surface);
}

.ep-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 12px 0 10px;
}

.ep-cta p {
  margin: 0;
}

.ep-cta .field-row {
  margin-top: 0;
}

@media (max-width: 760px) {
  .pager,
  .ep-cta {
    grid-template-columns: 1fr;
  }
}

/* Footer follow links */

.footer-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-social a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--btn-hover);
}

@media (max-width: 760px) {
  .footer-side {
    justify-items: start;
  }
}

/* =========================================================
   Home page, tightened: consistent rhythm and compact blocks
   ========================================================= */

.section {
  padding: clamp(52px, 7vw, 92px) 0;
}

.section + .section.light,
.section.light + .section {
  margin-top: 0;
}

.light {
  padding: clamp(52px, 7vw, 88px) 0;
}

.section-head.compact {
  margin-bottom: clamp(24px, 3.5vw, 36px);
  align-items: end;
}

.section-head.compact h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.section-head.compact .eyebrow {
  margin-bottom: 14px;
}

.hero {
  padding-top: 104px;
}

.hero-top {
  padding-top: clamp(12px, 3vw, 32px);
}

.hero h1 img {
  width: min(620px, 100%);
}

.diptych {
  height: min(44vh, 460px);
  min-height: 280px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* Featured episode + season strip */

.featured {
  display: grid;
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-media {
  position: relative;
  display: block;
  min-height: 320px;
  margin: 10px;
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.feature-card:hover .feature-media img {
  transform: scale(1.04);
}

.feature-body {
  padding: clamp(22px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-body h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 12px 0 12px;
}

.feature-body h3 a {
  text-decoration: none;
}

.feature-body > p {
  color: var(--muted);
  margin: 0;
}

.feature-body .ep-pours {
  margin: 16px 0 20px;
  padding: 0;
}

.season-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.strip-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  color: var(--faint);
  text-decoration: none;
  font-size: 0.7rem;
}

.strip-slot b {
  font: 600 1rem/1 var(--sans);
}

.strip-slot.on {
  border-style: solid;
  border-color: var(--clinic);
  color: var(--clinic-2);
}

.strip-slot.lead {
  background: var(--clinic);
  border-color: var(--clinic);
  color: #fff;
}

.strip-all {
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.strip-all:hover {
  color: var(--clinic-2);
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: 1fr;
  }
  .feature-media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .season-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Format: one compact row */

.steps-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-row .tile {
  min-height: 0;
  padding: 22px 22px 24px;
}

.steps-row .tile .n {
  font-size: 2.6rem;
  margin-bottom: 0;
}

.steps-row .tile h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
}

/* Hosts: shorter cards */

.host {
  min-height: 440px;
}

@media (max-width: 820px) {
  .host {
    min-height: 420px;
  }
}

/* Topics: compact cards on the home page */

.tgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.tcard-mini {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--lab-card);
  border: 1px solid var(--lab-line);
  overflow: hidden;
  text-decoration: none;
  color: var(--lab-ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.tcard-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -32px rgba(18, 21, 24, 0.45);
}

.tcard-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  margin: 8px 8px 0;
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
}

.tcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcard-img .tnum {
  position: absolute;
  left: 12px;
  bottom: 8px;
  font: 600 1.6rem/1 var(--sans);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.tcard-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}

.tcard-text b {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.tcard-text > span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--lab-muted);
}

.covers.small {
  margin: 4px 0 0;
}

.covers.small li {
  font-size: 0.74rem;
  padding: 5px 9px;
}

@media (max-width: 1100px) {
  .tgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .tgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .tgrid {
    grid-template-columns: 1fr;
  }
}

.listen {
  padding: clamp(24px, 5vw, 56px);
}

/* =========================================================
   One continuous page: fewer boxes, content on the page itself.
   Bands run edge to edge; dividers are thin rules, not cards.
   ========================================================= */

/* Hero: the split photo is a single image, not two cards */
.diptych {
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.diptych .pane {
  border-radius: 0;
}

/* Section rhythm: hairline rules between plain sections */
main > .section:not(.light):not(:first-of-type) {
  border-top: 1px solid var(--line);
}

main > .section.light + .section,
main > .listen-band + .section {
  border-top: 0;
}

/* Full-width light band */
.light {
  margin: 0;
  border-radius: 0;
}

/* Featured episode: image and text directly on the page */
.feature-card {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  align-items: center;
}

.feature-media {
  margin: 0;
  border-radius: var(--r-lg);
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.feature-body {
  padding: 0;
}

.season-strip {
  margin-top: clamp(20px, 3vw, 32px);
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

@media (max-width: 900px) {
  .feature-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Format: four plain columns separated by thin rules */
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flow-steps li {
  padding: 4px clamp(14px, 2vw, 28px) 0;
  border-left: 1px solid var(--line-2);
}

.flow-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.flow-steps .n {
  font: 600 0.82rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.flow-steps li.w .n {
  color: var(--amber);
}

.flow-steps li.d .n {
  color: var(--clinic);
}

.flow-steps h3 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }
  .flow-steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-steps li {
    padding: 0 0 0 16px;
    border-left: 2px solid var(--line-2);
  }
  .flow-steps li:first-child,
  .flow-steps li:nth-child(3) {
    padding-left: 16px;
    border-left: 2px solid var(--line-2);
  }
}

/* Hosts: keep the photos, drop the box inside them */
.host-body {
  margin: 0;
  width: 100%;
  padding: clamp(22px, 3vw, 32px);
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.host::after {
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.94) 0%, rgba(10, 8, 6, 0.72) 38%, rgba(10, 8, 6, 0) 72%);
}

/* Topics: unboxed columns on the light band */
.tcard-mini {
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.tcard-mini:hover {
  transform: none;
  box-shadow: none;
}

.tcard-mini:hover b {
  color: var(--clinic-ink);
}

.tcard-img {
  margin: 0;
  border-radius: var(--r-md);
}

.tcard-img img {
  transition: transform 0.8s var(--ease);
}

.tcard-mini:hover .tcard-img img {
  transform: scale(1.05);
}

.tcard-text {
  padding: 14px 2px 0;
}

/* Watch & listen: one full-width photo band */
.listen-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0;
  color: var(--cream);
}

.listen-band .band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.listen-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 14, 18, 0.95) 0%, rgba(8, 14, 18, 0.82) 55%, rgba(8, 14, 18, 0.6) 100%);
}

.listen-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.listen-inner h2 {
  margin: 16px 0 14px;
}

.listen-inner p {
  max-width: 46ch;
}

.listen-form h3 {
  margin-bottom: 8px;
}

.listen-form .muted {
  margin: 0;
}

@media (max-width: 860px) {
  .listen-inner {
    grid-template-columns: 1fr;
  }
}

/* Footer: a rule, not a card */
.footer {
  padding-top: clamp(32px, 5vw, 56px);
}

.footer-card {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 0 28px;
}

.footer .footer-fine {
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}

.footer-brand .seal {
  width: 88px;
  height: 88px;
}

/* About: flowing two-column sections instead of a grid of cards */
.prose-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

.prose-row h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 14px 0 16px;
}

.prose-col p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.prose-col p strong {
  color: var(--cream);
  font-weight: 600;
}

.prose-row .about-seal {
  width: min(200px, 60%);
  margin-top: 8px;
  border-radius: 50%;
}

.small-print {
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .prose-row {
    grid-template-columns: 1fr;
  }
}

.platforms-pending {
  margin-top: 6px;
}
