:root {
  --navy: #082c49;
  --navy-soft: #2a4c61;
  --green: #45604a;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --line: rgba(8, 44, 73, .14);
  --shadow: 0 20px 55px rgba(8, 44, 73, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  line-height: 1.65;
}

body.player-open {
  padding-bottom: 104px;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.hero-image img {
  width: min(100%, 560px);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 8.4vw, 8rem);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--navy-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-play {
  margin-top: 28px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(8, 44, 73, .18);
}

.hero-play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.about {
  background: var(--navy);
  color: var(--paper);
  padding: 68px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
}

.about h2,
.episodes h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.7vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.about p {
  margin: 0 0 18px;
  color: rgba(255, 253, 248, .82);
  font-size: 1.05rem;
}

.episodes {
  padding: 84px 0 105px;
}

.episode-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.episode {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 92px;
  gap: 24px;
  align-items: start;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.episode-code {
  padding-top: 3px;
  font-family: var(--serif);
  color: var(--green);
  font-size: 1.35rem;
  font-style: italic;
}

.episode h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.episode-subtitle {
  margin: 8px 0 0;
  color: var(--green);
  font-weight: 800;
}

.episode-description {
  margin: 14px 0 0;
  color: var(--navy-soft);
}

.play-button {
  justify-self: end;
  width: 78px;
  height: 78px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  transition: .2s ease;
}

.play-button:hover,
.play-button.is-playing {
  background: var(--navy);
  color: var(--paper);
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
}

.play-button.is-playing .play-icon {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: 0;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.play-label {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer {
  padding: 34px 0;
  background: var(--green);
  color: var(--paper);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer span {
  color: rgba(255, 253, 248, .75);
}

.player {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 30;
  width: min(1080px, calc(100% - 26px));
  transform: translateX(-50%);
  background: rgba(8, 44, 73, .98);
  color: var(--paper);
  border-radius: 17px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  overflow: hidden;
}

.player-inner {
  min-height: 78px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 50px minmax(180px, .55fr) minmax(260px, 1fr) 32px;
  gap: 14px;
  align-items: center;
}

.player-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.player-toggle-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.player-toggle.is-playing .player-toggle-icon {
  width: 12px;
  height: 15px;
  margin-left: 0;
  border: 0;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.now-playing-code {
  display: block;
  color: #b7c8bb;
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 850;
}

.now-playing-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .9rem;
}

.timeline {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.current-time,
.duration {
  color: rgba(255, 253, 248, .72);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.progress {
  width: 100%;
  accent-color: var(--paper);
}

.player-close {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.7rem;
}

.player-message {
  margin: 0;
  padding: 0 16px;
  color: #f0d1a7;
  font-size: .75rem;
}

.player-message:not(:empty) {
  padding-bottom: 9px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-image {
    width: min(600px, 100%);
    margin: 0 auto;
  }

  .hero-copy {
    order: -1;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 680px) {
  body.player-open {
    padding-bottom: 155px;
  }

  .hero {
    padding: 42px 0 62px;
  }

  h1 {
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .episode {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .play-button {
    grid-column: 2;
    justify-self: start;
    width: auto;
    height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    display: flex;
    gap: 8px;
  }

  .footer .container {
    display: block;
  }

  .footer span {
    display: block;
    margin-top: 6px;
  }

  .player {
    bottom: 8px;
  }

  .player-inner {
    grid-template-columns: 48px minmax(0, 1fr) 30px;
  }

  .timeline {
    grid-column: 1 / -1;
  }

  .player-close {
    grid-column: 3;
    grid-row: 1;
  }
}

.simple-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.simple-header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.home-link:hover {
  color: var(--green);
}

