:root {
  --bg: #f1ece3;
  --paper: rgba(248, 243, 235, 0.94);
  --panel: #fcf8f1;
  --panel-strong: #fffdf8;
  --ink: #18221b;
  --muted: #5d655d;
  --line: rgba(24, 34, 27, 0.12);
  --gold: #eba14a;
  --gold-deep: #c97c22;
  --green: #0f4d2a;
  --green-soft: #1d6540;
  --navy: #112132;
  --clay: #b86d1f;
  --shadow: 0 24px 60px rgba(17, 31, 24, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(235, 161, 74, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 77, 42, 0.18), transparent 26%),
    linear-gradient(180deg, #f4efe5 0%, #ece4d6 100%);
}

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

.page-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.card-rail,
.profile-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(17, 33, 50, 0.42), rgba(17, 33, 50, 0.58)),
    linear-gradient(180deg, rgba(15, 77, 42, 0.26), rgba(17, 33, 50, 0.42)),
    url("./assets/Francois and Mandela.jpg");
  background-size: cover;
  background-position: center 24%;
  color: #f6efe3;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(235, 161, 74, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 33, 50, 0.02), rgba(17, 33, 50, 0.16));
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(138px, 24vw);
  margin-bottom: 14px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.25));
}

.eyebrow,
.section-label,
.block-label,
.profile-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.eyebrow,
.profile-kicker {
  color: var(--gold);
}

.hero h1,
.rail-header h2,
.profile-name,
.profile-block h3 {
  margin: 0;
  font-family: "Oswald", "Montserrat", sans-serif;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  text-transform: uppercase;
}

.hero-text,
.profile-summary,
.profile-block p,
.profile-block li,
.source-list a {
  line-height: 1.6;
}

.hero-text {
  max-width: 60ch;
  margin: 12px 0 18px;
  color: rgba(246, 239, 227, 0.88);
  font-size: 0.94rem;
  font-weight: 500;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.profile-pills span {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-meta span {
  background: rgba(255, 248, 235, 0.08);
  border: 1px solid rgba(235, 161, 74, 0.18);
}

.dashboard {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
}

.card-rail {
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(252, 248, 241, 0.98), rgba(244, 238, 227, 0.95));
}

.card-rail::-webkit-scrollbar {
  width: 10px;
}

.card-rail::-webkit-scrollbar-thumb {
  background: rgba(17, 33, 50, 0.18);
  border-radius: 999px;
  border: 2px solid rgba(252, 248, 241, 0.9);
}

.card-rail::-webkit-scrollbar-track {
  background: transparent;
}

.rail-header {
  margin-bottom: 20px;
}

.rail-header h2 {
  font-size: 2rem;
}

.section-label,
.block-label {
  color: var(--gold-deep);
}

.guest-cards {
  display: grid;
  gap: 16px;
}

.season-nav {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.episode-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.episode-tab {
  display: grid;
  gap: 1px;
  width: 100%;
  padding: 8px 9px;
  text-align: left;
  border-radius: 11px;
  border: 1px solid rgba(23, 53, 46, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.episode-tab:hover,
.episode-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(159, 107, 24, 0.25);
  box-shadow: 0 14px 24px rgba(30, 40, 31, 0.08);
  outline: none;
}

.episode-tab.is-active {
  border-color: rgba(235, 161, 74, 0.42);
  background: linear-gradient(180deg, rgba(255, 247, 235, 0.96), rgba(248, 236, 216, 0.96));
}

.episode-tab.is-tbc {
  opacity: 0.82;
}

.episode-label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold-deep);
}

.episode-title {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.episode-status {
  font-size: 0.66rem;
  color: var(--muted);
}

.episode-summary {
  padding: 9px 10px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 77, 42, 0.07), rgba(235, 161, 74, 0.08));
  border: 1px solid rgba(15, 77, 42, 0.1);
}

.episode-summary h3 {
  margin: 0 0 6px;
  font-size: 0.88rem;
  font-family: "Oswald", "Montserrat", sans-serif;
}

.episode-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.3;
  font-size: 0.8rem;
}

.guest-card {
  width: 100%;
  text-align: left;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf8 0%, #faf4ea 100%);
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 14px 30px rgba(30, 40, 31, 0.08);
}

.guest-card:hover,
.guest-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(159, 107, 24, 0.25);
  box-shadow: 0 20px 34px rgba(30, 40, 31, 0.12);
  outline: none;
}

.guest-card.is-active {
  border-color: rgba(201, 146, 46, 0.45);
  box-shadow: 0 18px 36px rgba(27, 51, 45, 0.16);
}

.card-image-wrap {
  aspect-ratio: 1.12 / 1;
  background: linear-gradient(135deg, var(--green), var(--navy));
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(235, 161, 74, 0.34), transparent 34%),
    linear-gradient(135deg, var(--green), var(--navy));
  color: #f5e8c8;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-copy {
  padding: 18px 18px 20px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold-deep);
}

.card-name {
  margin: 0 0 6px;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.card-role {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.45;
}

.card-tags,
.profile-pills,
.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags li,
.profile-pills span {
  background: rgba(23, 53, 46, 0.08);
  color: var(--green-soft);
  border: 1px solid rgba(23, 53, 46, 0.08);
}

.card-tags li {
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-panel {
  border-radius: var(--radius-xl);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 243, 235, 0.96));
}

.profile-header {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-photo-wrap {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--navy));
  aspect-ratio: 0.9 / 1;
  box-shadow: 0 20px 36px rgba(17, 31, 24, 0.16);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback-large {
  font-size: 4.4rem;
}

.profile-name {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.profile-role {
  margin: 0 0 14px;
  color: var(--green-soft);
  font-weight: 700;
  font-size: 1.08rem;
}

.profile-summary {
  margin: 0 0 18px;
  font-size: 1.02rem;
  max-width: 62ch;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-block {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, rgba(252, 248, 241, 0.98), rgba(249, 243, 233, 0.96));
  border: 1px solid var(--line);
}

.profile-block h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.profile-block p {
  margin: 0;
}

.profile-block.block-full {
  grid-column: 1 / -1;
}

.spotlight {
  background:
    linear-gradient(135deg, rgba(235, 161, 74, 0.2), rgba(255, 250, 242, 0.98)),
    var(--panel);
}

.sections-list {
  display: grid;
  gap: 18px;
}

.handles-list {
  display: grid;
  gap: 12px;
}

.handle-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(23, 53, 46, 0.05);
  border: 1px solid rgba(23, 53, 46, 0.08);
}

.handle-item h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-soft);
  font-family: "Oswald", "Montserrat", sans-serif;
}

.handle-item p {
  margin: 0 0 8px;
  color: var(--muted);
}

.handle-item a {
  color: var(--green-soft);
  text-decoration-thickness: 1px;
  word-break: break-word;
}

.section-entry + .section-entry {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-entry h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay);
  font-family: "Oswald", "Montserrat", sans-serif;
}

.section-entry p {
  color: var(--ink);
}


.signal-list,
.controversy-list,
.thread-list,
.question-list,
.source-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.signal-list li,
.controversy-list li,
.thread-list li,
.question-list li {
  line-height: 1.55;
}

.source-list {
  padding-left: 18px;
}

.source-list a {
  color: var(--green-soft);
  text-decoration-thickness: 1px;
}

.source-list a:hover {
  color: var(--clay);
}

@media (max-width: 1080px) {
  .hero,
  .dashboard,
  .profile-header,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .card-rail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .episode-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-photo-wrap {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1400px);
    padding-top: 16px;
  }

  .hero-copy,
  .hero-note,
  .card-rail,
  .profile-panel,
  .profile-block {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    max-width: none;
  }

  .episode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
