:root {
  --cream: #f4efe6;
  --cream-deep: #ebe3d4;
  --ink: #2a2a2a;
  --ink-soft: #4a4a4a;
  --gold: #c9a227;
  --gold-soft: #d4b84a;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(42, 42, 42, 0.18);
  --font: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.wordmark {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  border-bottom-color: var(--gold);
  color: var(--ink);
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  border-bottom-color: var(--gold);
}

/* Home hero: full-bleed cover */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--ink) center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.88) 0%,
    rgba(20, 20, 20, 0.45) 42%,
    rgba(20, 20, 20, 0.2) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-line {
  width: 0;
  height: 3px;
  border: 0;
  margin: 0 0 1.1rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
  animation: draw-line 1s 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-lede {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 253, 248, 0.92);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.8s 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 253, 248, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

.featured {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.featured-visual {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  min-height: 280px;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.featured-meta {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.featured-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.featured-summary {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(42, 42, 42, 0.12);
}

.episode-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.12);
  text-decoration: none;
  transition: padding-left 0.25s ease, color 0.2s ease;
}

.episode-row:hover {
  padding-left: 0.4rem;
  color: var(--ink);
}

.episode-num {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.episode-title {
  font-weight: 600;
}

.episode-guest {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.episode-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid rgba(42, 42, 42, 0.12);
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Episode page */
.page-hero {
  padding: 6.5rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.crumb {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.crumb a {
  text-decoration: none;
}

.ep-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.ep-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  max-width: 16ch;
}

.ep-byline {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.player-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--white);
  background:
    linear-gradient(to top, rgba(20, 20, 20, 0.82), rgba(20, 20, 20, 0.45)),
    center / cover no-repeat;
}

.player-placeholder p {
  margin: 0.4rem 0 0;
  max-width: 28rem;
  color: rgba(255, 253, 248, 0.88);
}

.player-placeholder strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ep-body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.ep-body p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.ep-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hidden {
  display: none !important;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  to {
    width: min(12rem, 40vw);
  }
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

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

  .episode-row {
    grid-template-columns: 3rem 1fr;
  }

  .episode-date {
    grid-column: 2;
  }

  .hero-copy {
    padding-bottom: 3.25rem;
  }
}
