/* =========================================================
   ON THE MEND – SITE STYLES
   Brand palette:
   Teal #89BAB3 · Coral #FE7B6E · Off-white #E8F1E8 · Navy #214767
   Support: #0D2B50, #000829
   ========================================================= */
:root {
  --teal: #89BAB3;
  --coral: #FE7B6E;
  --offwhite: #E8F1E8;
  --navy: #214767;
  --navy-dark: #0D2B50;
  --navy-deep: #000829;
  --white: #FDFEFD;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(13, 43, 80, .14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; opacity: .88; max-width: 56ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(232, 241, 232, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 71, 103, .1);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: background .2s;
}
.nav a:hover { background: rgba(137, 186, 179, .25); }
.nav a.active { background: var(--navy); color: var(--offwhite); }
.nav .cta { background: var(--coral); color: var(--navy-deep); margin-left: 8px; }
.nav .cta:hover { background: #ff8f84; }
.menu-btn { display: none; margin-left: auto; background: none; border: none; cursor: pointer; }
.menu-btn svg { width: 30px; height: 30px; stroke: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; font-family: var(--font-body);
  border: none; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; }
.btn-coral { background: var(--coral); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--offwhite); }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-white { background: var(--offwhite); color: var(--navy); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--offwhite); overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(137,186,179,.25), transparent 70%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding-top: 84px; padding-bottom: 84px;
  position: relative; z-index: 1;
}
.hero h1 .accent { color: var(--teal); font-style: italic; }
.hero .lede { color: rgba(232, 241, 232, .85); margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 8, 41, .45); }
.hero-chip {
  position: absolute; top: -16px; right: -8px;
  background: var(--coral); color: var(--navy-deep);
  font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.now-chip {
  position: absolute; left: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 14px;
  background: rgba(0, 8, 41, .82); backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 241, 232, .18);
  border-radius: 16px; padding: 13px 20px;
  box-shadow: 0 18px 44px rgba(0, 8, 41, .45);
  animation: floaty 6s ease-in-out infinite;
  max-width: 78%;
  transition: border-color .25s;
}
.now-chip:hover { border-color: var(--coral); }
.now-chip .eq { display: flex; gap: 3px; align-items: flex-end; height: 20px; flex-shrink: 0; }
.now-chip .eq i {
  width: 4px; background: var(--coral); border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
}
.now-chip .eq i:nth-child(2) { animation-delay: .25s; }
.now-chip .eq i:nth-child(3) { animation-delay: .5s; }
.now-chip .eq i:nth-child(4) { animation-delay: .12s; }
.now-text { line-height: 1.3; min-width: 0; }
.now-text b { display: block; font-size: .82rem; color: var(--offwhite); }
.now-text small { display: block; font-size: .76rem; color: rgba(232, 241, 232, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .now-chip, .now-chip .eq i, .marquee-track { animation: none; }
}
.platform-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.platform-row span { font-size: .85rem; font-weight: 600; opacity: .7; margin-right: 6px; }
.platform-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(232, 241, 232, .12);
  transition: background .2s, transform .2s;
}
.platform-row a:hover { background: var(--coral); transform: translateY(-3px); }
.platform-row a:hover svg { fill: var(--navy-deep); }
.platform-row svg { width: 20px; height: 20px; fill: var(--offwhite); }

/* ---------- Marquee ---------- */
.marquee { background: var(--coral); color: var(--navy-deep); overflow: hidden; padding: 14px 0; }
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.marquee-track span::after { content: "✦"; margin-left: 48px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section.alt { background: var(--white); }
.section.navy { background: var(--navy); color: var(--offwhite); }
.section.navy .eyebrow { color: var(--teal); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 18px rgba(13, 43, 80, .07);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s; background: rgba(0, 8, 41, .35);
}
.card:hover .card-media .play { opacity: 1; }
.play-badge {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--coral); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.play-badge svg { width: 24px; height: 24px; fill: var(--navy-deep); margin-left: 3px; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.28rem; }
.card-meta { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.card-desc { font-size: .95rem; opacity: .85; flex: 1; }
.card-guest { font-size: .88rem; opacity: .7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .78rem; font-weight: 600;
  background: rgba(137, 186, 179, .22); color: var(--navy);
  padding: 4px 12px; border-radius: 999px;
}
.tag-loc {
  background: transparent;
  border: 1.5px solid rgba(33, 71, 103, .35);
  display: inline-flex; align-items: center; gap: 5px;
}
.tag-loc::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.card-actions .btn { padding: 10px 18px; font-size: .88rem; }

.coming-card .card-media {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
}
.coming-card .card-media .badge-art { font-family: var(--font-display); color: var(--teal); font-size: 1.4rem; font-style: italic; padding: 20px; text-align: center; }

/* ---------- Clips row ---------- */
.clips-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px;
  gap: 20px; overflow-x: auto; padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.clip-card { scroll-snap-align: start; }
.clip-card .card-media { aspect-ratio: 9/16; }
.clip-card .card-body { padding: 16px; }
.clip-card h3 { font-size: .98rem; font-family: var(--font-body); font-weight: 700; }

/* ---------- Search ---------- */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 999px;
  padding: 8px 12px 8px 24px;
  box-shadow: 0 4px 18px rgba(13, 43, 80, .08);
  border: 2px solid transparent;
  max-width: 640px;
}
.search-bar:focus-within { border-color: var(--teal); }
.search-bar svg { width: 22px; height: 22px; stroke: var(--navy); flex-shrink: 0; opacity: .6; }
.search-bar input {
  flex: 1; border: none; outline: none; background: none;
  font-family: var(--font-body); font-size: 1.05rem; color: var(--navy);
  padding: 10px 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  border: 1.5px solid rgba(33, 71, 103, .3); background: transparent;
  color: var(--navy); font-weight: 600; font-size: .88rem;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  transition: all .2s; font-family: var(--font-body);
}
.chip:hover, .chip.active { background: var(--navy); color: var(--offwhite); border-color: var(--navy); }
.results-count { font-size: .92rem; opacity: .7; margin: 28px 0 18px; }
.no-results {
  text-align: center; padding: 70px 20px;
  background: var(--white); border-radius: var(--radius);
}
.no-results h3 { margin-bottom: 8px; }

/* ---------- Platform cards ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.platform-card {
  background: rgba(232, 241, 232, .08);
  border: 1px solid rgba(232, 241, 232, .15);
  border-radius: var(--radius); padding: 28px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; font-weight: 700;
  transition: transform .2s, background .2s;
}
.platform-card:hover { transform: translateY(-5px); background: rgba(232, 241, 232, .16); }
.platform-card svg { width: 34px; height: 34px; fill: var(--offwhite); }
.platform-card small { font-weight: 500; opacity: .65; font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--offwhite); border-radius: 28px;
  padding: 64px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: -100px; bottom: -140px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254,123,110,.35), transparent 70%);
}
.cta-band h2 { margin-bottom: 14px; position: relative; }
.cta-band p { max-width: 54ch; margin: 0 auto 30px; opacity: .85; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white); border-radius: 16px;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 3px 12px rgba(13, 43, 80, .06);
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
  color: var(--navy); text-align: left;
}
.faq-q .icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--offwhite); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
  transition: transform .25s, background .25s;
}
.faq-item.open .icon { transform: rotate(45deg); background: var(--coral); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; opacity: .88; }
.faq-a-inner a { color: var(--coral); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 4px 18px rgba(13, 43, 80, .07);
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.contact-icon.teal { background: rgba(137, 186, 179, .3); }
.contact-icon.coral { background: rgba(254, 123, 110, .25); }
.contact-icon.navy { background: rgba(33, 71, 103, .12); }
.contact-card p { font-size: .95rem; opacity: .85; flex: 1; }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: start; }
.step-num {
  counter-increment: step; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); font-size: 1.15rem;
}
.step-num::before { content: counter(step); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: rgba(137, 186, 179, .16);
  border-left: 4px solid var(--teal);
  border-radius: 12px; padding: 20px 24px;
  font-size: .92rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(232, 241, 232, .8); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--offwhite); font-family: var(--font-display); margin-bottom: 14px; font-size: 1.05rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a:hover { color: var(--coral); }
.footer-brand img { height: 52px; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 40ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(232, 241, 232, .1);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--coral); }
.footer-social a:hover svg { fill: var(--navy-deep); }
.footer-social svg { width: 17px; height: 17px; fill: rgba(232, 241, 232, .85); }
.footer-legal {
  border-top: 1px solid rgba(232, 241, 232, .12);
  padding-top: 26px; font-size: .82rem; opacity: .75;
  display: flex; flex-direction: column; gap: 8px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--offwhite); padding: 72px 0 64px; }
.page-hero .lede { color: rgba(232, 241, 232, .85); margin-top: 16px; }

/* ---------- Responsive ---------- */
/* Seven menu items plus the YouTube button need about 1100px on one line */
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--offwhite); flex-direction: column; padding: 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: center; }
  .menu-btn { display: block; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .now-chip { left: 8px; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 48px 26px; }
  .section { padding: 60px 0; }
}

/* ---------- Partner clinic view ---------- */
.partner-banner {
  background: var(--navy); color: var(--offwhite);
  border-radius: 16px; padding: 20px 26px; margin-bottom: 30px;
  display: flex; flex-direction: column; gap: 4px;
}
.partner-banner strong { font-family: var(--font-display); font-size: 1.15rem; }
.partner-banner span { font-size: .9rem; opacity: .8; }
.tag-yours { background: var(--coral); color: var(--navy-deep); }

/* ---------- Code block (For clinics page) ---------- */
.code-block {
  background: var(--navy-deep); color: #cfe0cf;
  border-radius: 12px; padding: 18px 22px;
  font-family: Consolas, Menlo, monospace; font-size: .85rem;
  line-height: 1.6; overflow-x: auto; white-space: pre;
}

/* ---------- Episode transcript (collapsible) ---------- */
.transcript { border-top: 1px solid rgba(33,71,103,.14); padding: 56px 0 40px; }
.transcript details { max-width: 820px; }
.transcript summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy);
  padding: 4px 0; user-select: none;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary .tx-ico {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--offwhite); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1.15rem;
  transition: transform .25s, background .25s;
}
.transcript details[open] summary .tx-ico { transform: rotate(45deg); background: var(--coral); }
.transcript .tx-note { font-size: .9rem; opacity: .6; margin: 6px 0 0; max-width: 60ch; }
.transcript .tx-body { margin-top: 24px; font-size: .96rem; line-height: 1.7; color: var(--navy); }
.transcript .tx-body p { margin: 0 0 16px; }
.transcript .tx-body .sp { font-weight: 700; color: var(--coral); }


/* ---------- Episode chapters ("Jump to a moment") ---------- */
.chapters-wrap { max-width: 900px; margin: 30px auto 0; }
.chapters-wrap .eyebrow { display: block; margin-bottom: 14px; }
.chapters {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 22px;
}
.chapters a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: var(--navy);
  transition: background .18s ease, transform .18s ease;
}
.chapters a:hover { background: rgba(137,186,179,.16); transform: translateX(2px); }
.chapters .ch-t {
  flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 700;
  font-size: .82rem; color: var(--coral); min-width: 44px;
}
.chapters .ch-n { font-size: .94rem; line-height: 1.45; }
@media (max-width: 720px) {
  .chapters { grid-template-columns: 1fr; }
}


/* ---------- Grouped search results (Episodes page) ---------- */
.result-group + .result-group { margin-top: 64px; }
.group-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
  padding-bottom: 16px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(33,71,103,.14);
}
.group-head h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  margin: 0; color: var(--navy);
}
.group-head .group-count {
  display: inline-block; margin-left: 4px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  color: var(--coral); background: rgba(254,123,110,.13);
  border-radius: 999px; padding: 3px 10px; vertical-align: middle;
}
.group-head p { margin: 0; font-size: .92rem; opacity: .68; }
.clip-card .card-meta a, .card-meta a { color: var(--coral); text-decoration: none; font-weight: 700; }
.card-meta a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .group-head { display: block; }
  .group-head p { margin-top: 6px; }
}


/* ---------- Short clip lightbox ---------- */
.short-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.short-modal.open { display: flex; animation: smIn .22s ease; }
@keyframes smIn { from { opacity: 0; } to { opacity: 1; } }
.sm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,8,41,.82); backdrop-filter: blur(4px);
}
.sm-box {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-height: 100%;
}
.sm-frame {
  position: relative; width: min(78vh * 0.5625, 92vw);
  aspect-ratio: 9 / 16; max-height: 78vh;
  border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 26px 70px rgba(0,8,41,.55);
}
.sm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sm-close {
  position: absolute; top: -46px; right: -4px;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(232,241,232,.16); color: var(--offwhite);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.sm-close:hover { background: var(--coral); color: var(--navy-deep); transform: scale(1.06); }
.sm-foot { text-align: center; }
.sm-title {
  margin: 0 0 8px; color: var(--offwhite); font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; max-width: 34ch;
}
.sm-yt {
  display: inline-block; color: var(--teal); font-size: .84rem;
  font-weight: 600; text-decoration: none; opacity: .85;
}
.sm-yt:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 600px) {
  .short-modal { padding: 16px; }
  .sm-frame { width: min(70vh * 0.5625, 96vw); max-height: 70vh; }
  .sm-close { top: -42px; right: 0; }
}

.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid rgba(33,71,103,.1); font-size: .95rem; }
.plain-list a { color: var(--navy); font-weight: 700; text-decoration: none; }
.plain-list a:hover { color: var(--coral); }

/* ---------- Episode page clip grid ---------- */
/* auto-fit collapses unused tracks, so the row always fills:
   4 clips sit 4 across, 5 clips sit 5 across, no orphan on a new line. */
.clip-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 230px));   /* portrait clips stay clip-sized, even when only one or two are out */
}
@media (max-width: 900px) {
  .clip-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 200px)); gap: 18px; }
}
@media (max-width: 560px) {
  .clip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ---------- Coming next band (home) ---------- */
#home-next:empty { display: none; }
.next-band {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 22px 28px 22px 22px;
  box-shadow: var(--shadow); border: 1.5px dashed rgba(33, 71, 103, .25);
}
.next-badge {
  width: 132px; aspect-ratio: 1; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--teal); font-family: var(--font-display); font-style: italic; font-size: 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2;
}
.next-badge span { display: block; color: var(--offwhite); font-style: normal; font-weight: 600; font-size: 1.25rem; margin-bottom: 4px; }
.next-text h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 4px 0 6px; line-height: 1.25; }
.next-text p { margin: 0 0 4px; }
.next-text .card-guest { margin-top: 6px; }
@media (max-width: 760px) {
  .next-band { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .next-badge { width: 100%; aspect-ratio: auto; padding: 18px; flex-direction: row; gap: 8px; }
  .next-badge span { margin: 0; }
  .next-band .btn { justify-self: start; }
}

/* ---------- Clips still to be released (episode page) ---------- */
.clips-pending {
  background: var(--white); border-radius: var(--radius); padding: 22px 26px;
  border: 1.5px dashed rgba(33, 71, 103, .25); max-width: 760px;
}
.clips-pending a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Guest list (about) ---------- */
.guest-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guest-list li > a, .guest-list li > span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  background: var(--white); border-radius: 16px; padding: 20px 22px; box-shadow: 0 6px 20px rgba(13, 43, 80, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.guest-list li > a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guest-list li > span { border: 1.5px dashed rgba(33, 71, 103, .25); box-shadow: none; }
.guest-list .gl-ep { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.guest-list strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.guest-list .gl-credit { font-size: .88rem; opacity: .7; }
.guest-list .gl-topic { font-size: .95rem; margin-top: 6px; }

/* ---------- 404 ---------- */
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Where to go next (episode pages) ---------- */
.next-steps { margin-top: 56px; padding-top: 44px; border-top: 1px solid rgba(33,71,103,.14); }
.next-steps h2 { margin: 6px 0 12px; }
.next-steps .ns-gp { margin: 0 0 22px; max-width: 640px; }
.ns-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ns-list li { background: var(--white); border: 1px solid rgba(33,71,103,.12); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ns-list a { font-weight: 700; color: var(--navy); text-decoration: none; }
.ns-list a:hover { color: var(--coral); text-decoration: underline; }
.ns-list a::after { content: " \2197"; font-weight: 400; color: var(--coral); }
.ns-by { font-size: .8rem; letter-spacing: .02em; color: var(--teal); font-weight: 600; }
.ns-note { font-size: .92rem; opacity: .78; line-height: 1.5; }

/* =========================================================
   2026 REDESIGN: interactive home page
   ========================================================= */
:root {
  --coral-ink: #B04A3F;   /* small coral text on light grounds (4.7:1) */
  --teal-ink: #3B746C;    /* small teal text on light grounds */
  --teal-soft: #D3E6E1;
  --ink-muted: #4E6F86;
  --line: #CBD8D4;
}

/* In-page jumps land below the sticky header */
section[id] { scroll-margin-top: 72px; }

/* Small coral text on light grounds uses the darker ink for contrast */
.section:not(.navy) .eyebrow, .card-meta, .card-meta a, .clip-card .card-meta a,
.guest-list .gl-ep, .group-head .group-count, .chapters .ch-t, .transcript .tx-body .sp,
.faq-a-inner a { color: var(--coral-ink); }

/* One italic accent phrase per heading: coral on light, teal on navy */
h2 .accent { font-style: italic; color: var(--coral); }
.section.navy h2 .accent, .page-hero h2 .accent { color: var(--teal); }
.section-lede { margin-top: 12px; font-size: 1.08rem; color: var(--ink-muted); max-width: 56ch; }
.section.navy .section-lede { color: rgba(232, 241, 232, .85); }

/* ---------- Hero additions ---------- */
.eyebrow-live { display: inline-flex; align-items: center; gap: 10px; }
.pulse-dot, .hero-play .play-badge { animation: pulse 2.4s ease-out infinite; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(254, 123, 110, .55); } 100% { box-shadow: 0 0 0 20px rgba(254, 123, 110, 0); } }
.hero-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: rgba(0, 8, 41, .12); transition: background .25s;
}
.hero-play:hover { background: rgba(0, 8, 41, .3); }
.hero-play .play-badge { width: 88px; height: 88px; transition: transform .25s; }
.hero-play:hover .play-badge { transform: scale(1.08); }
.hero-play .play-badge svg { width: 32px; height: 32px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(232, 241, 232, .18);
}
.hero-stats:empty { display: none; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--offwhite); }
.stat span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* ---------- Stream colours on cards ---------- */
.stream-flag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; color: var(--navy-deep); background: var(--teal);
}
.stream-behind .stream-flag { background: var(--coral); }
.card.stream-health { border-top: 4px solid var(--teal); }
.card.stream-behind { border-top: 4px solid var(--coral); }

/* ---------- What brings you in today? ---------- */
.stream-toggle {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.stream-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; color: var(--navy);
  font: 700 .95rem var(--font-body); cursor: pointer; transition: background .2s, color .2s;
}
.stream-btn:hover { background: var(--teal-soft); }
.stream-btn.active { background: var(--navy); color: var(--offwhite); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-all { background: var(--navy); }
.stream-btn.active .dot-all { background: var(--offwhite); }
.dot-health { background: var(--teal); }
.dot-behind { background: var(--coral); }
/* Topic filter (Episodes page) */
.chip-row { align-items: center; }
.chip-row .chip { min-height: 44px; background: var(--white); border-color: var(--line); }
.chip-row .chip:hover { background: var(--teal-soft); color: var(--navy); border-color: var(--teal); }
.chip-row .chip.active { background: var(--coral); color: var(--navy-deep); border-color: var(--coral); }
.chip-label { flex-basis: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.chip-row-places { margin-top: 14px; }
.finder-more { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Buttons added for the redesign ---------- */
.btn-deep { background: var(--navy-deep); color: var(--offwhite); align-self: flex-start; margin-top: 10px; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* ---------- Myth or fact ---------- */
.quiz-card {
  background: var(--offwhite); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 18px; border: 2px solid transparent;
  transition: border-color .3s, transform .25s, box-shadow .25s;
}
.quiz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quiz-card.is-right { border-color: var(--teal); }
.quiz-card.is-wrong { border-color: var(--coral); }
.quiz-num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.quiz-claim { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.quiz-actions { display: flex; gap: 10px; margin-top: auto; }
.quiz-actions .btn { flex: 1; justify-content: center; padding: 12px 18px; }
.quiz-answer { display: none; flex-direction: column; gap: 10px; margin-top: auto; outline: none; }
.quiz-card.answered .quiz-actions { display: none; }
.quiz-card.answered .quiz-answer { display: flex; animation: smIn .3s ease; }
.quiz-verdict { display: flex; align-items: center; gap: 10px; }
.verdict { padding: 5px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-deep); }
.verdict-fact { background: var(--teal); }
.verdict-myth { background: var(--coral); }
.quiz-result { font-weight: 700; font-size: .95rem; }
.is-right .quiz-result { color: var(--teal-ink); }
.is-wrong .quiz-result { color: var(--coral-ink); }
.quiz-source { font-size: .9rem; font-weight: 700; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.quiz-note { margin-top: 26px; font-size: .88rem; color: var(--ink-muted); }

/* ---------- Docked episode player ---------- */
.player-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; width: min(400px, calc(100vw - 32px));
  background: var(--navy-dark); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 8, 41, .45); display: none;
}
.player-dock.open { display: block; animation: dockIn .3s ease; }
@keyframes dockIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pd-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.pd-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-bar { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 16px; color: var(--offwhite); }
.player-dock .eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; flex-shrink: 0; }
.player-dock .eq i { width: 4px; background: var(--coral); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.player-dock .eq i:nth-child(2) { animation-delay: .25s; }
.player-dock .eq i:nth-child(3) { animation-delay: .5s; }
.player-dock .eq i:nth-child(4) { animation-delay: .12s; }
.pd-text { flex: 1; min-width: 0; line-height: 1.3; }
.pd-text b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.pd-title { display: block; font-size: .92rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-title:hover { text-decoration: underline; }
.pd-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%; flex-shrink: 0;
  background: rgba(232, 241, 232, .1); color: var(--offwhite); font-size: 1.5rem; cursor: pointer;
}
.pd-close:hover { background: var(--coral); color: var(--navy-deep); }

/* ---------- Episode pages: the chapter that is playing ---------- */
.chapters a.playing { background: var(--navy); color: var(--offwhite); }
.chapters a.playing .ch-t { color: var(--coral); }

/* =========================================================
   2026 REDESIGN: inner page headers and line icons
   ========================================================= */
.page-hero { position: relative; overflow: hidden; padding: 84px 0 76px; }
.page-hero::before {
  content: ""; position: absolute; right: -160px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  border: 2px solid rgba(137, 186, 179, .16); box-shadow: 0 0 0 80px rgba(137, 186, 179, .04), 0 0 0 160px rgba(137, 186, 179, .03);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; right: 18%; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 123, 110, .22), transparent 70%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--coral); }
.page-hero .eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.page-hero h1 { max-width: 20ch; text-wrap: balance; }
.page-hero h1 .accent { font-style: italic; color: var(--teal); }

/* Episodes page: search beside the stream filter */
.finder-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.finder-bar .search-bar { flex: 1 1 360px; }

/* Line icons in the icon boxes (About, For clinics, Contact) */
.contact-icon { color: var(--navy); }
.contact-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   2026 REDESIGN: episode pages
   ========================================================= */
.ep-hero { background: var(--navy); color: var(--offwhite); position: relative; overflow: hidden; }
.ep-hero::after {
  content: ""; position: absolute; right: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(137,186,179,.18), transparent 70%); pointer-events: none;
}
.ep-hero-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px; align-items: start; padding-top: 56px; padding-bottom: 72px;
}
.ep-hero .eyebrow { color: var(--coral); }
.ep-hero .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ep-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2px 0 16px; }
.stream-pill { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: var(--navy-deep); }
.stream-pill-health { background: var(--teal); }
.stream-pill-behind { background: var(--coral); }
.ep-meta { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.ep-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-wrap: balance; }
.ep-hero .lede { color: rgba(232, 241, 232, .88); margin: 18px 0 10px; }
.ep-hero .card-guest { color: rgba(232, 241, 232, .75); opacity: 1; margin-bottom: 22px; }
.ep-hero .hero-actions { margin-bottom: 30px; }
.ep-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-dark); box-shadow: 0 30px 60px rgba(0, 8, 41, .45);
}
.ep-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-lower-third {
  display: inline-flex; flex-direction: column; gap: 2px; margin-top: 14px;
  padding: 10px 16px; border-left: 4px solid var(--coral); border-radius: 0 12px 12px 0;
  background: rgba(0, 8, 41, .45);
}
.ep-lower-third strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.ep-lower-third span { font-size: .85rem; color: #A9BCCB; }

/* Chapters beside the video */
.ep-chapters .eyebrow { display: block; margin-bottom: 14px; }
.ep-chapters .chapters { grid-template-columns: 1fr; gap: 4px; }   /* the full list shows: no scroll box inside the page */
.ep-chapters .chapters a {
  color: var(--offwhite); background: rgba(232, 241, 232, .06); border-radius: 12px; padding: 7px 12px; align-items: center;
}
.ep-chapters .chapters a:hover { background: rgba(232, 241, 232, .14); }
.ep-chapters .chapters .ch-t {
  flex-shrink: 0; min-width: 52px; text-align: center; padding: 4px 8px; border-radius: 999px;
  background: rgba(232, 241, 232, .14); color: var(--offwhite);
}
.ep-chapters .chapters a.playing { background: var(--offwhite); color: var(--navy); }
.ep-chapters .chapters a.playing .ch-t { background: var(--coral); color: var(--navy-deep); }

/* Body: tabs and content beside a side panel */
.ep-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.ep-content { min-width: 0; }
.ep-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.ep-tabs[hidden] { display: none; }
.ep-tabs button {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  color: var(--navy); font: 700 .95rem var(--font-body); cursor: pointer;
}
.ep-tabs button:hover { background: var(--teal-soft); }
.ep-tabs button[aria-selected="true"] { background: var(--navy); color: var(--offwhite); }
.ep-panel { background: var(--white); border-radius: var(--radius); padding: 36px; margin-bottom: 28px; }
.ep-panel h2 { margin-bottom: 18px; }
.ep-content.tabs-ready .ep-panel[hidden] { display: none; }
.transcript-panel .tx-note { font-size: .9rem; color: var(--ink-muted); max-width: 60ch; margin: 0 0 18px; }
.transcript-panel .tx-body { font-size: .98rem; line-height: 1.7; }
.transcript-panel .tx-body p { margin: 0 0 16px; }
.ep-guest { margin-top: 8px; }
.ep-guest .grid-2 { gap: 32px !important; }
.ep-content .next-steps { margin-top: 44px; }

/* Side panel */
.ep-side { display: flex; flex-direction: column; gap: 20px; }
.side-card { border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.side-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.side-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.side-clip { background: var(--teal); color: var(--navy-deep); }
.side-clip .btn { margin-top: 4px; }
.side-clip-media { display: flex; gap: 14px; align-items: center; color: inherit; }
.side-clip-media img { width: 64px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.side-upnext { background: var(--white); }
.side-upnext .side-eyebrow, .side-share .side-eyebrow { color: var(--coral-ink); }
.side-share .side-eyebrow { color: var(--coral); }
.upnext-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.upnext-list a { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; transition: background .2s; }
.upnext-list a:hover { background: var(--teal-soft); }
.upnext-list img { width: 92px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.upnext-list .stream-health img { border-bottom: 3px solid var(--teal); }
.upnext-list .stream-behind img { border-bottom: 3px solid var(--coral); }
.upnext-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.upnext-text small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.upnext-text b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.side-share { background: var(--navy); color: var(--offwhite); }
.side-share p { font-size: .95rem; }
.side-share .btn { align-self: flex-start; }

@media (max-width: 1040px) {
  .ep-hero-grid, .ep-body { grid-template-columns: 1fr; }
  .ep-chapters, .ep-side { position: static; }
  .ep-chapters .chapters { max-height: none; grid-template-columns: repeat(2, 1fr); }
  .ep-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 620px) {
  .ep-chapters .chapters { grid-template-columns: 1fr; }
  .ep-panel { padding: 24px; }
  .ep-tabs { display: flex; border-radius: 20px; }
  .ep-tabs button { flex: 1 1 auto; }
}

@media (max-width: 620px) {
  .stream-toggle { border-radius: 20px; width: 100%; }
  .stream-btn { flex: 1 1 auto; justify-content: center; }
  .player-dock { right: 16px; bottom: 16px; }
  .quiz-claim { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .hero-play .play-badge, .player-dock .eq i, .player-dock.open, .quiz-card.answered .quiz-answer { animation: none; }
  .quiz-card, .hero-play .play-badge { transition: none; }
}

/* =========================================================
   GUESTS: "Recorded with" strip (home) and the Be a guest page
   ========================================================= */
/* Guest photos are cropped from each episode's 16:9 still; build.js
   positions the image so the guest's face sits in the circle */
.gp-photo {
  position: relative; display: block; width: 76px; aspect-ratio: 1; flex-shrink: 0;
  border-radius: 50%; overflow: hidden; background: var(--teal-soft);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--teal);
}
.gp-photo img { position: absolute; max-width: none; height: auto; }
.gp-photo img:not([style]) { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.gp-role { font-size: .86rem; color: var(--ink-muted); line-height: 1.35; }
.gp-ep { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }

.recorded { padding: 40px 0 8px; }
.recorded-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.recorded-link { font-weight: 700; color: var(--coral-ink); text-decoration: underline; text-underline-offset: 4px; }
.guest-strip {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px;
}
.guest-strip a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px 14px 14px; border-radius: 18px; background: var(--white); transition: transform .2s, box-shadow .2s; }
.guest-strip a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guest-strip .gp-photo { width: 56px; box-shadow: 0 0 0 2px var(--teal); }
.guest-strip a > span:last-child, .guest-gallery a > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.guest-gallery {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px;
}
.guest-gallery a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%;
  padding: 30px 20px 24px; border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s;
}
.guest-gallery a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guest-gallery .gp-photo { width: 120px; margin-bottom: 12px; }
.guest-gallery .gp-name { font-size: 1.2rem; }

.page-hero .hero-actions { margin: 30px 0 0; }
.page-hero .btn-ghost { color: var(--offwhite); }
.guest-facts .contact-card h3 { font-size: 1.5rem; }
.guest-facts .contact-card p { flex: 0; }
.tick-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tick-list li { position: relative; padding-left: 28px; }
.tick-list li::before { content: "✦"; position: absolute; left: 0; color: var(--coral-ink); }
.section.navy .tick-list li::before { color: var(--teal); }
.guest-terms .contact-card h3 { margin-bottom: 4px; }
.guest-terms .note { margin-top: 26px; font-size: .92rem; color: var(--ink-muted); max-width: 70ch; }

@media (max-width: 620px) {
  .guest-strip { grid-template-columns: 1fr; }
  .guest-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .guest-gallery a { padding: 22px 12px 18px; }
  .guest-gallery .gp-photo { width: 88px; }
}

/* ---------- Suggest a topic (Contact page) ---------- */
.ask-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; margin: 0 auto; }  /* Google Forms needs about 640px, so the form sits under the intro */
.ask-rules { margin-top: 26px; font-size: .98rem; }
.ask-box { background: var(--offwhite); border-radius: var(--radius); padding: 10px; min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.ask-box > .btn { align-self: center; }
.ask-frame { display: block; width: 100%; height: 1180px; border: 0; border-radius: 14px; background: var(--white); }
.ask-alt { padding: 12px 10px 4px; font-size: .9rem; color: var(--ink-muted); }
.ask-alt a { color: var(--coral-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Waiting-room page (/watch/) ---------- */
.watch-hero { padding: 56px 0 48px; }
.watch-latest-section { padding-top: 56px; }
.watch-latest { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.watch-latest-text h2 { margin: 10px 0 10px; }
.watch-latest-text .card-guest { margin-bottom: 22px; }
.watch-latest-text .hero-actions { margin-bottom: 0; }
.watch-latest .ep-video img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .watch-latest { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Episode pages: chapters beside the video ----------
   Title, description and buttons run across the top; the video and
   "Jump to a moment" then start side by side, so a chapter sits next
   to the player it controls. Below 1041px everything stacks. */
@media (min-width: 1041px) {
  .ep-hero-main { display: contents; }
  .ep-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px; column-gap: 44px; row-gap: 0;
    grid-template-areas: "crumb crumb" "tags tags" "title title" "lede lede" "guest guest" "actions actions" "video chap" "lower chap";
  }
  .ep-hero-main > .eyebrow { grid-area: crumb; }
  .ep-hero-main > .ep-tags { grid-area: tags; }
  .ep-hero-main > h1 { grid-area: title; max-width: 24ch; }
  .ep-hero-main > .lede { grid-area: lede; max-width: 70ch; }
  .ep-hero-main > .card-guest { grid-area: guest; }
  .ep-hero-main > .hero-actions { grid-area: actions; }
  .ep-hero-main > .ep-video { grid-area: video; }
  .ep-hero-main > .ep-lower-third { grid-area: lower; justify-self: start; }
  .ep-chapters { grid-area: chap; }
  .ep-chapters .eyebrow { margin: -26px 0 10px; }
}
