:root {
  --bg: #efe5cf;
  --bg-deep: #dcc7a1;
  --paper: rgba(253, 249, 240, 0.88);
  --ink: #1e2b2a;
  --muted: #5a665f;
  --accent: #7d2b2b;
  --accent-soft: #c5845f;
  --line: rgba(31, 43, 42, 0.12);
  --shadow: 0 24px 70px rgba(40, 28, 17, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  background:
    radial-gradient(circle at top left, rgba(125, 43, 43, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 74, 72, 0.18), transparent 30%),
    linear-gradient(180deg, #f5edda 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(30, 43, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 43, 42, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr minmax(220px, 340px);
  gap: 2rem;
  align-items: end;
  overflow: hidden;
  min-height: 420px;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    linear-gradient(135deg, rgba(24, 34, 33, 0.92), rgba(75, 34, 34, 0.84)),
    linear-gradient(180deg, rgba(252, 247, 236, 0.08), rgba(252, 247, 236, 0));
  box-shadow: var(--shadow);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 199, 161, 0.22), transparent 25%),
    radial-gradient(circle at 80% 35%, rgba(197, 132, 95, 0.22), transparent 26%);
}

.hero__content,
.hero__artwork-frame {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 245, 232, 0.82);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel .eyebrow {
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.panel__header h2,
.episode-card__title {
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
}

.hero h1 {
  max-width: 10ch;
  color: #fff7ea;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  text-wrap: balance;
}

.hero__summary,
.feature-copy,
.section-copy,
.episode-card__summary,
.meta {
  margin: 0;
  line-height: 1.6;
}

.hero__summary {
  max-width: 62ch;
  margin-top: 1rem;
  color: rgba(255, 243, 228, 0.86);
  font-size: 1.08rem;
}

.hero__actions,
.episode-card__actions,
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__actions {
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  color: #fff6ed;
  background: linear-gradient(135deg, var(--accent), #a3472f);
  border: 1px solid transparent;
}

.button--ghost {
  color: inherit;
  background: rgba(255, 251, 245, 0.72);
  border: 1px solid rgba(30, 43, 42, 0.12);
}

.hero .button--ghost {
  color: #fff7ea;
  background: rgba(255, 247, 234, 0.08);
  border-color: rgba(255, 247, 234, 0.18);
}

.hero__artwork-frame {
  justify-self: end;
  width: min(100%, 320px);
  aspect-ratio: 1;
  padding: 0.9rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 244, 224, 0.26), rgba(255, 244, 224, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.hero__artwork {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.content {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.panel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel--feature {
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.88), rgba(247, 236, 220, 0.9)),
    rgba(253, 249, 240, 0.92);
}

.panel__header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-wrap: balance;
}

.meta,
.section-copy,
.episode-card__topline {
  color: var(--muted);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
}

.meta {
  margin-top: 0.6rem;
}

.feature-copy {
  max-width: 72ch;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.feature-actions {
  margin-top: 1.3rem;
}

.feature-player {
  width: 100%;
  margin-top: 1rem;
}

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

.section-heading h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.section-copy {
  max-width: 24ch;
  text-align: right;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 251, 245, 0.94));
}

.episode-card:target {
  border-color: rgba(125, 43, 43, 0.35);
  box-shadow: 0 0 0 4px rgba(125, 43, 43, 0.12);
}

.episode-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.episode-card__title {
  font-size: 1.35rem;
  text-wrap: balance;
}

.episode-card__summary {
  flex: 1;
  color: #33403b;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }

  .hero__artwork-frame {
    justify-self: start;
    width: min(72vw, 280px);
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .section-copy {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
    padding-top: 0.5rem;
  }

  .panel,
  .panel--feature {
    padding: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero__actions,
  .episode-card__actions,
  .feature-actions {
    flex-direction: column;
  }

  .episode-card__topline {
    flex-direction: column;
    gap: 0.25rem;
  }
}
