/* ==========================================================================
   The Inside Baseball of... - homepage hero
   Editorial layout. All hero geometry is derived from the approved 1680px
   reference and scaled with --u (1px at >=1680px, shrinking with the viewport).
   ========================================================================== */

/* Self-hosted fonts: latin subsets, SIL Open Font License (see fonts/LICENSES.md). */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Anton-400.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-Italic-VF.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/LibreCaslonText-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Archivo-VF.woff2") format("woff2");
}

:root {
  --cream: #f7f4ed;
  --ink: #111820;
  --muted: #8a8b88;
  --red: #a20f16;
  --red-deep: #8d0c12;
  --body-bg: #151719;
  --rule: rgba(17, 24, 32, 0.16);
  --rule-strong: rgba(17, 24, 32, 0.32);

  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --serif-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
  --sans-heavy: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* 1px at the 1680px reference width, scaling down below it */
  --u: min(1px, calc(100vw / 1680));
  --pad: calc(88 * var(--u));
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* Site canvas ----------------------------------------------------------- */
.site {
  width: 100%;
  max-width: 1680px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  overflow-x: clip;
}

/* Header ---------------------------------------------------------------- */
.header {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
}

.header__logo {
  font-size: 22px;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  gap: 46px;
  margin-left: calc(118 * var(--u));
  font-size: 18px;
}

.header__nav a,
.header__logo { transition: color 0.15s ease; }
.header__nav a:hover,
.header__logo:hover { color: var(--red); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
}

.header__search {
  display: inline-flex;
  color: var(--ink);
}
.header__search:hover { color: var(--red); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-size: 18px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.header__cta:hover { background: var(--red-deep); }
.header__cta .arrow { font-family: var(--sans); font-weight: 400; }

/* Nav, search and the YouTube button are hidden until their destinations exist.
   Remove this block to bring them back; the markup is still in place. */
.header__nav,
.header__actions { display: none; }
/* Same for the hero buttons: no episodes to watch or browse yet. */
.hero .cta { display: none; }
/* Strip until the first episode: the four questions alone, centred.
   Remove these three rules to bring back "Latest episode" and the tagline. */
.strip { justify-content: center; }
.strip .strip__latest,
.strip .strip__tagline { display: none; }
/* Dividers between the words only, no rails at the ends. */
.strip .strip__cats { border-left: 0; }
.strip .strip__cats li:last-child { border-right: 0; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: calc(772 * var(--u));
  min-height: 580px;
  padding: calc(48 * var(--u)) var(--pad) 0;
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: calc(880 * var(--u));
}

/* Title */
.title {
  margin: 0 0 0 calc(-4 * var(--u));
  font-weight: 400;
  color: var(--ink);
}
.title > span { display: block; }

.title__the {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: calc(84 * var(--u));
  line-height: 1;
  margin-bottom: calc(2 * var(--u));
  padding-left: calc(4 * var(--u));
}

.title__inside,
.title__baseball {
  font-family: var(--sans-heavy);
  font-weight: 400;
  text-transform: uppercase;
  font-size: calc(151 * var(--u));
  line-height: calc(141 * var(--u));
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.title__inside { color: var(--red); }
.title__baseball { color: var(--ink); }

.title__of {
  display: inline;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: calc(112 * var(--u));
  line-height: 0.6;
  letter-spacing: 0;
  margin-left: calc(-3 * var(--u));
  color: var(--ink);
}
.title__dots {
  font-weight: 700;
  letter-spacing: -0.06em;
  margin-left: 0.02em;
}

/* Host line: name + rule that runs underneath the photo layer */
.host {
  display: flex;
  align-items: center;
  margin: calc(28 * var(--u)) 0 0;
  /* let the rule run to the right edge of the hero, under Peter */
  width: calc(100% + 712 * var(--u));
  max-width: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: max(15px, calc(22 * var(--u)));
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.host__name { white-space: nowrap; }
.host__rule {
  flex: 1 1 auto;
  height: 2px;
  margin-left: calc(14 * var(--u));
  background: var(--ink);
}

/* Intro */
.intro {
  max-width: calc(520 * var(--u));
  margin: calc(36 * var(--u)) 0 0;
  font-size: max(24px, calc(32 * var(--u)));
  line-height: 1.22;
  color: var(--ink);
}

/* CTA row */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: calc(17 * var(--u));
  margin-top: calc(40 * var(--u));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: max(60px, calc(76 * var(--u)));
  border-radius: 14px;
  font-size: max(19px, calc(23 * var(--u)));
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  width: calc(325 * var(--u));
  min-width: 260px;
  justify-content: flex-start;
  padding-left: calc(24 * var(--u));
  gap: calc(24 * var(--u));
  background: var(--red);
  color: var(--cream);
}
.btn--primary:hover { background: var(--red-deep); }

.btn__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max(26px, calc(31 * var(--u)));
  height: max(26px, calc(31 * var(--u)));
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  flex: none;
}
.btn__play svg { width: 42%; height: 42%; margin-left: 8%; }

.btn--secondary {
  width: calc(218 * var(--u));
  min-width: 180px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--secondary:hover { background: var(--ink); color: var(--cream); }

/* Photo layer: sits above the title and the host rule */
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero__photo picture,
.hero__photo img {
  height: 100%;
  width: auto;
  max-width: none;
}

/* Latest episode strip ------------------------------------------------- */
.strip {
  display: flex;
  align-items: center;
  padding: 32px var(--pad);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

.strip__latest {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-right: calc(66 * var(--u));
}

.strip__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.strip__title {
  font-size: 25px;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.strip__title:hover { color: var(--red); }
.strip__title .arrow { color: var(--red); font-family: var(--sans); font-weight: 400; margin-left: 0.15em; }
.strip__title .nowrap { white-space: nowrap; }

.strip__cats {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--rule-strong);
}
.strip__cats li {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--rule-strong);
}
.strip__cats a,
.strip__cats span {
  display: block;
  padding: 12px 33px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.15s ease;
}
.strip__cats a:hover { color: var(--red); }

.strip__tagline {
  margin: 0 0 0 auto;
  padding-left: 32px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Wide-desktop to laptop adjustments ------------------------------------ */
@media (max-width: 1500px) {
  .strip__cats a { padding: 12px 24px; font-size: 13px; }
  .strip__tagline { font-size: 12px; padding-left: 24px; }
  .strip__latest { margin-right: calc(48 * var(--u)); }
}
@media (max-width: 1300px) {
  .strip__tagline { display: none; }
  .strip__title { font-size: 23px; }
}
@media (max-width: 1180px) {
  .header__nav { margin-left: 56px; gap: 32px; font-size: 17px; }
  .header__actions { gap: 28px; }
}

/* ==========================================================================
   Tablet (<=1080px): hierarchy kept, type reduced, Peter ~50% width,
   overlap preserved. --u no longer drives the hero.
   ========================================================================== */
@media (max-width: 1080px) {
  :root { --pad: 40px; }

  .header { height: 64px; }
  .header__logo { font-size: 20px; }
  .header__nav { margin-left: 48px; gap: 32px; font-size: 17px; }
  .header__actions { gap: 24px; }
  .header__cta { height: 38px; padding: 0 18px; font-size: 16px; }

  .hero {
    height: auto;
    min-height: 0;
    padding: 40px var(--pad) 48px;
  }
  .hero__copy { max-width: 62%; }

  .title { margin-left: -3px; }
  .title__the { font-size: 60px; margin-bottom: 0; padding-left: 3px; }
  .title__inside,
  .title__baseball { font-size: clamp(80px, 11.2vw, 112px); line-height: 0.93; letter-spacing: 0.09em; }
  .title__of { font-size: clamp(56px, 8vw, 80px); margin-left: -2px; }

  .host {
    width: calc(100% + 38%);
    margin-top: 22px;
    font-size: 16px;
    letter-spacing: 0.26em;
  }
  .host__rule { margin-left: 12px; }

  .intro { max-width: 440px; margin-top: 28px; font-size: 26px; }
  .cta { gap: 14px; margin-top: 32px; }
  .btn { height: 64px; font-size: 19px; }
  .btn--primary { width: 250px; min-width: 0; padding-left: 20px; gap: 16px; }
  .btn--secondary { width: 170px; min-width: 0; }

  /* Photo box fills the hero height; the layer is cover-cropped on the
     right so Peter and the microphone stay the focal point. */
  .hero__photo {
    top: 0;
    bottom: 0;
    height: auto;
    width: 50%;
  }
  .hero__photo picture,
  .hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% bottom;
  }

  .strip { padding: 28px var(--pad); flex-wrap: wrap; row-gap: 16px; }
  .strip__latest { margin-right: 40px; }
  .strip__title { font-size: 22px; }
  .strip__cats a { padding: 10px 22px; font-size: 13px; }
  .strip__tagline { display: none; }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .hero__copy { max-width: 54%; }
  .hero__photo { width: 46%; }
  .hero__photo picture,
  .hero__photo img { object-position: 22% bottom; }
}

/* ==========================================================================
   Mobile (<=720px): simplified header, title first, Peter below, stacked
   CTAs, horizontally scrollable strip. No horizontal page overflow.
   ========================================================================== */
@media (max-width: 720px) {
  :root { --pad: 20px; }

  .header { height: 56px; }
  .header__logo { font-size: 17px; }
  .header__nav,
  .header__search { display: none; }
  .header__cta { height: 34px; padding: 0 14px; font-size: 14px; }
  .header__cta-long { display: none; }

  .hero { display: flex; flex-direction: column; padding: 28px var(--pad) 40px; }
  .hero__copy { display: contents; }

  .title { order: 1; margin-left: -2px; }
  .title__the { font-size: 42px; padding-left: 2px; }
  .title__inside,
  .title__baseball { font-size: 15.2vw; line-height: 0.93; letter-spacing: 0.07em; }
  .title__of { font-size: 11vw; margin-left: -1px; }

  .hero__photo {
    order: 2;
    position: relative;
    top: auto;
    bottom: auto;
    width: calc(100% + 2 * var(--pad));
    height: auto;
    margin: 10px calc(-1 * var(--pad)) 0;
    overflow: hidden;
    aspect-ratio: 5 / 6;
  }
  .hero__photo picture {
    position: absolute;
    left: -34%;
    bottom: 0;
    width: 150%;
    height: auto;
  }
  .hero__photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .host {
    order: 3;
    width: calc(100% + var(--pad));
    margin-top: 22px;
    font-size: 14px;
    letter-spacing: 0.24em;
  }
  .host__rule { margin-left: 12px; height: 1.5px; }

  .intro { order: 4; max-width: none; margin-top: 22px; font-size: 24px; }

  .cta { order: 5; flex-direction: column; gap: 12px; margin-top: 30px; }
  .btn,
  .btn--primary,
  .btn--secondary { width: 100%; min-width: 0; height: 60px; font-size: 18px; }
  .btn--primary { justify-content: center; padding-left: 0; gap: 14px; }

  .strip { display: block; padding: 28px 0 30px; }
  .strip__latest { padding: 0 var(--pad); margin: 0 0 16px; }
  .strip__title { font-size: 19px; white-space: normal; }
  .strip__cats {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    border-left: 0;
    padding: 0 var(--pad);
  }
  .strip__cats li:nth-child(even) { border-right: 0; }
  .strip__cats a,
  .strip__cats span { padding: 8px 18px; font-size: 12px; white-space: nowrap; }
  .strip__tagline { display: none; }
}

@media (max-width: 380px) {
  .title__the { font-size: 36px; }
}

/* ==========================================================================
   Editorial sections below the hero
   Typography, spacing and thin rules; no cards. Whitespace is deliberate.
   ========================================================================== */
:root {
  --wrap: 1200px;
  --prose: 720px;
  --section-pad: 124px;
  --cream-warm: #f0ebe0;
  --ink-muted: #5b6068;
  --red-on-dark: #d94a50;
  --rule-cream: rgba(247, 244, 237, 0.18);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.wrap--narrow { max-width: 900px; text-align: center; }

.section { padding: var(--section-pad) 0; }

.eyebrow {
  margin: 0 0 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* Short display heading: the heavy sans from the title */
.display {
  margin: 0 0 32px;
  font-family: var(--sans-heavy);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(48px, 4.2vw, 68px);
  line-height: 0.96;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* Primary statement: editorial serif, italic serif for the expressive phrase */
.statement {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.15;
  color: var(--ink);
}
.statement em,
.lede em,
.prose em.show {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
}

.rule { border: 0; height: 1px; background: var(--rule); margin: 72px 0 64px; }

/* Two sections on the same cream: a hairline marks the break and the
   paddings on either side of it are tightened so they do not stack. */
.section--premise { padding-bottom: 96px; }
.section--investigation { padding-top: 0; }
.rule--section { margin: 0 0 96px; }

.prose { max-width: var(--prose); }
.prose p { margin: 0 0 1.25em; font-size: 22px; line-height: 1.6; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose .prose__close { margin-top: 2em; font-size: 25px; }

.prose .eyebrow { margin: 0 0 24px; font-size: 13px; line-height: 1.5; color: var(--red); }
.host-note .host-note__lead {
  margin-bottom: 0.6em;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 34px;
  line-height: 1.2;
}

/* Long sentence headings stay in the serif, sentence case */
.lede {
  max-width: 1000px;
  margin: 0;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.15;
  color: var(--ink);
}
.lede--large { max-width: none; font-size: clamp(34px, 3.6vw, 56px); }

.section__intro { max-width: var(--prose); margin: 32px 0 0; font-size: 22px; line-height: 1.6; color: var(--ink); }
.section__close { max-width: var(--prose); margin: 64px 0 0; font-size: 22px; line-height: 1.6; color: var(--ink); }

/* The investigation: six questions on a two-column ruled grid */
.questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 88px;
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--rule);
}
.q { border-top: 1px solid var(--rule); padding: 40px 0 48px; }
.q__num {
  display: block;
  font-family: var(--sans-heavy);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.q__title {
  max-width: 480px;
  margin: 22px 0 0;
  font-weight: 400;
  font-size: clamp(24px, 1.9vw, 29px);
  line-height: 1.25;
  color: var(--ink);
}
.q__support { max-width: 440px; margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-muted); }

/* Example industries: a contents page on a warmer cream */
.section--industries { background: var(--cream-warm); }
.contents { list-style: none; margin: 80px 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.contents__row {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  column-gap: 48px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.contents__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.contents__title { font-size: clamp(22px, 1.9vw, 29px); line-height: 1.25; color: var(--ink); }
.contents__arrow { font-family: var(--sans); font-size: 28px; line-height: 1; color: var(--red); }

/* The extraction: dark, intimate */
.section--extraction { background: var(--ink); color: var(--cream); }
.section--extraction .eyebrow { color: var(--red-on-dark); }
.section--extraction .lede { color: var(--cream); }
.section--extraction .section__intro,
.section--extraction .section__close { color: rgba(247, 244, 237, 0.78); }
.probes {
  max-width: 900px;
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  border-bottom: 1px solid var(--rule-cream);
}
.probes li {
  border-top: 1px solid var(--rule-cream);
  padding: 30px 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.1;
  color: var(--cream);
}

/* Guest invitation */
.section--guest { padding: 150px 0 140px; }
.section--guest .eyebrow { margin-bottom: 30px; }
.section--guest .section__intro { margin: 32px auto 0; }
.section--guest .section__intro--follow { margin-top: 20px; }
.guest__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 56px;
}
.btn--auto { width: auto; min-width: 0; height: 72px; padding: 0 40px; gap: 14px; justify-content: center; font-size: 22px; }
.btn--auto .arrow,
.textlink .arrow { font-family: var(--sans); }
.textlink {
  font-size: 22px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(17, 24, 32, 0.35);
  text-underline-offset: 6px;
  transition: color 0.15s ease;
}
.textlink:hover { color: var(--red); }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding: 36px 0 44px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__name { color: var(--ink); }

@media (max-width: 1080px) {
  :root { --section-pad: 96px; }
  .questions { column-gap: 56px; }
  .contents__row { grid-template-columns: 220px 1fr auto; column-gap: 32px; }
}

@media (max-width: 720px) {
  :root { --section-pad: 72px; }
  .wrap { padding: 0 var(--pad); }
  .eyebrow { margin-bottom: 20px; }
  .display { margin-bottom: 24px; }
  .rule { margin: 48px 0 40px; }
  .section--premise { padding-bottom: 56px; }
  .rule--section { margin: 0 0 56px; }
  .prose p,
  .section__intro,
  .section__close { font-size: 19px; line-height: 1.55; }
  .prose .prose__close { font-size: 21px; }
  .host-note .host-note__lead { font-size: 28px; }
  .section__intro { margin-top: 24px; }
  .questions { grid-template-columns: 1fr; margin-top: 48px; }
  .q { padding: 28px 0 32px; }
  .q__num { font-size: 44px; }
  .q__title { font-size: 22px; }
  .q__support { font-size: 17px; }
  .contents { margin-top: 48px; }
  .contents__row { grid-template-columns: 1fr auto; row-gap: 10px; padding: 24px 0; }
  .contents__label { grid-column: 1 / -1; }
  .contents__title { font-size: 21px; }
  .contents__arrow { font-size: 22px; }
  .probes { margin-top: 48px; }
  .probes li { padding: 20px 0; font-size: 28px; }
  .section__close { margin-top: 40px; }
  .section--guest { padding: 88px 0 80px; }
  .wrap--narrow { text-align: left; }
  .section--guest .section__intro { margin-left: 0; }
  .guest__actions { justify-content: flex-start; gap: 24px; margin-top: 40px; }
  .guest__actions .btn--auto { width: 100%; height: 60px; font-size: 18px; }
  .textlink { font-size: 19px; }
  .footer { padding: 28px 0 32px; }
  .footer__inner { flex-direction: column; gap: 10px; }
}

/* Guest page ----------------------------------------------------------- */
.section--page { padding-bottom: 96px; }
.section--terms { padding-top: 0; }
.display--small { font-size: clamp(36px, 3vw, 48px); margin-bottom: 56px; }
.terms { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); max-width: 1000px; }
.terms__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  column-gap: 48px;
  align-items: start;
  padding: 30px 0 34px;
  border-top: 1px solid var(--rule);
}
.terms__label {
  padding-top: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.terms__body { margin: 0; font-size: 21px; line-height: 1.6; color: var(--ink); }
.terms__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(17, 24, 32, 0.35); }
.terms__body a:hover { color: var(--red); }
.guest__actions--left { justify-content: flex-start; margin-top: 64px; }

@media (max-width: 720px) {
  .section--page { padding-bottom: 56px; }
  .display--small { margin-bottom: 36px; }
  .terms__row { grid-template-columns: 1fr; row-gap: 8px; padding: 22px 0 26px; }
  .terms__label { padding-top: 0; }
  .terms__body { font-size: 19px; line-height: 1.55; }
  .guest__actions--left { margin-top: 44px; }
}

/* ==========================================================================
   Episodes gallery ("Going inside"). Cards are rendered by js/episodes.js
   from js/episodes-data.js.
   ========================================================================== */
:root { --card: #fbf9f4; }
.wrap--episodes { max-width: 1360px; }

/* Topic filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 56px 0 0;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--rule);
}
.filter {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(251, 249, 244, 0.6);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter:hover { border-color: var(--ink); background: var(--card); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); font-weight: 600; }

.episodes__count {
  margin: 24px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-muted);
}
.episodes__empty {
  margin: 24px 0 0;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  font-size: 21px;
  color: var(--ink-muted);
}

/* Grid */
.episodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.ep[hidden] { display: none; }
.ep.is-in { animation: ep-in 0.4s ease both; }
@keyframes ep-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Card */
.ep article {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Thumbnail */
.ep__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  text-align: left;
}
button.ep__media { cursor: pointer; }
.ep__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Split: guest left, host right */
.ep__split {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--card);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ep__half { position: relative; overflow: hidden; }
.ep__half img,
.ep__half picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.ep__half--host img { object-position: 30% 20%; }
.ep__half--guest {
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(162, 15, 22, 0.22) 0%, rgba(162, 15, 22, 0) 60%),
    var(--ink);
}
.ep__guest-ph {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16%;
  gap: 10px;
  color: rgba(247, 244, 237, 0.2);
  text-align: center;
}
.ep__guest-ph svg { width: 34%; height: auto; }
.ep__guest-ph span {
  padding: 0 12px;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(247, 244, 237, 0.7);
}
.ep__soon {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.78);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

/* Red hook banner across the bottom of the thumbnail */
.ep__hook {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 27%;
  padding: 8px 14px 6px;
  background: var(--red);
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
}
.ep__hook span {
  font-family: var(--sans-heavy);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  text-wrap: balance;
}

.ep__play {
  position: absolute;
  top: 36%; left: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--red);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ep__play svg { width: 18px; height: 18px; margin-left: 3px; }

/* Hover */
@media (hover: hover) {
  .ep:hover article { transform: translateY(-4px); border-color: var(--rule-strong); box-shadow: 0 20px 40px -22px rgba(17, 24, 32, 0.4); }
  .ep:hover .ep__thumb,
  .ep:hover .ep__split { transform: scale(1.035); }
  .ep:hover .ep__play { opacity: 1; transform: scale(1); }
}
.ep__media:focus-visible .ep__play { opacity: 1; transform: scale(1); }

/* Card text */
.ep__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.ep__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--sans);
}
.ep__topic {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.ep__duration { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }
.ep__title {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(21px, 1.55vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.ep__with { margin: 10px 0 0; font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--ink-muted); }
.ep__dot { margin: 0 4px; }
.ep__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--sans);
}
.ep__watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: color 0.15s ease, gap 0.2s ease;
}
.ep__watch:hover { color: var(--red); gap: 10px; }
.ep__yt { font-size: 15px; color: var(--ink-muted); transition: color 0.15s ease; }
.ep__yt:hover { color: var(--red); }
.ep__pending {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* On-page player */
.player {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}
.player::backdrop { background: rgba(10, 12, 15, 0.9); }
.player[open] { animation: ep-in 0.25s ease both; }
.player__frame { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); margin: 0 auto; background: #000; border-radius: 4px; overflow: hidden; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; }
.player__yt,
.player__close {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.15s ease;
}
.player__yt:hover,
.player__close:hover { color: var(--red-on-dark); }
.player__close span { font-size: 20px; letter-spacing: 0; vertical-align: -2px; margin-left: 4px; }
html.player-open { overflow: hidden; }

/* Tablet: two per row */
@media (max-width: 1080px) {
  .episodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .filters { margin-top: 44px; }
  .ep__hook span { font-size: clamp(22px, 3.4vw, 32px); }
}

/* Mobile: one per row, filters scroll sideways */
@media (max-width: 720px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 36px calc(-1 * var(--pad)) 0;
    padding: 0 var(--pad) 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; height: 38px; padding: 0 15px; font-size: 14px; }
  .episodes { grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
  .ep__hook span { font-size: 7.4vw; }
  .ep__play { opacity: 1; transform: scale(1); width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .ep__body { padding: 18px 18px 20px; }
  .ep__title { font-size: 21px; }
  .player { width: 100vw; }
  .player__frame { border-radius: 0; }
  .player__bar { padding: 14px 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ep.is-in, .player[open] { animation: none; }
  .ep article, .ep__thumb, .ep__split { transition: none; }
}

/* Focus / motion -------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
