:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --surface-alt: #f3f0ec;
  --ink: #111111;
  --muted: #5f5a56;
  --line: #ded8d2;
  --red: #d71920;
  --red-dark: #a90f15;
  --black: #050505;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.35);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--black);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-image {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.98rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.45rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red-dark);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.hero-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.tagline {
  margin-bottom: 0.8rem;
  color: var(--red-dark);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.subheadline {
  max-width: 660px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 0.82rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-right: 0.5rem;
  object-fit: contain;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
}

.button.secondary:hover {
  background: var(--black);
  color: var(--white);
}

.hero-panel {
  border-left: 5px solid var(--black);
  padding-left: clamp(1.4rem, 3vw, 2rem);
}

.panel-label {
  max-width: 340px;
  margin-bottom: 1.35rem;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.08;
}

.signal-list {
  display: grid;
  gap: 0.7rem;
}

.signal-list span {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-weight: 800;
}

.listen-section,
.episodes-section {
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.listen-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.listen-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.listen-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.listen-panel {
  display: grid;
  gap: 1rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.platform-link {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.platform-link:hover {
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  transform: translateY(-2px);
}

.platform-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.platform-badge {
  width: min(178px, 100%);
  height: auto;
  display: block;
}

.info-grid,
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.episodes-heading {
  align-items: start;
}

.archive-summary {
  max-width: 340px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: right;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.archive-stat {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 800;
}

.archive-stat strong {
  color: var(--red-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.archive-select-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 900;
}

.archive-select {
  min-width: 210px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  padding: 0 2.3rem 0 0.85rem;
}

.archive-select:hover {
  border-color: var(--red);
}

.info-card,
.episode-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
}

.info-card h3 {
  color: var(--red-dark);
}

.info-card p,
.featured-copy p,
.about-copy p {
  color: var(--muted);
}

.featured-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.featured .eyebrow,
.featured-copy p {
  color: #f1babd;
}

.featured-copy p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.episode-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 1.2rem;
}

.season-card {
  background-color: var(--surface);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.78)),
    linear-gradient(90deg, rgba(255, 250, 247, 0.54), rgba(255, 255, 255, 0.68)),
    var(--episode-bg);
  background-position: center;
  background-size: cover;
  border-color: rgba(169, 15, 21, 0.22);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
}

.season-1 {
  --episode-bg: url("assets/season-1-spring.jpg");
}

.season-2 {
  --episode-bg: url("assets/season-2-summer.jpg");
}

.season-3 {
  --episode-bg: url("assets/season-3-fall.jpg");
}

.season-4 {
  --episode-bg: url("assets/season-4-winter.jpg");
}

.episode-number {
  margin-bottom: 1rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.episode-card h3 {
  font-size: 1.18rem;
}

.episode-description {
  flex: 1;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.episode-audio,
.featured-audio {
  width: 100%;
  height: 42px;
}

.episode-audio {
  margin-bottom: 0.85rem;
}

.featured-player {
  margin-bottom: 1rem;
}

.episode-card a {
  width: max-content;
  color: var(--red-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.about-section {
  background: var(--surface-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.about-copy {
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-contact {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.footer-contact p {
  margin-bottom: 0.2rem;
}

.footer-contact a,
.footer-links a {
  color: var(--black);
  font-weight: 800;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.9rem 1rem;
  font-size: 0.92rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-platform-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-youtube-badge {
  width: 96px;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .featured,
  .about-grid,
  .listen-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    border-left: 0;
    border-top: 5px solid var(--black);
    padding-top: 1.4rem;
    padding-left: 0;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .episode-grid {
    grid-template-columns: 1fr;
  }

  .episodes-heading,
  .archive-toolbar {
    display: block;
  }

  .archive-summary {
    max-width: none;
    margin-top: 1rem;
    text-align: left;
  }

  .archive-select-label {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .archive-select {
    width: 100%;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-link {
    min-height: 112px;
  }
}
