@font-face {
  font-family: "Lilita One";
  src: url("../fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Italic-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fefdf8;
  --bg-warm: #fcf4e4;
  --paper: #fffdf6;
  --ink: #16293b;
  --ink-2: #1d4052;
  --muted: #3a5b82;
  --line: #d5e0ea;
  --line-strong: #16293b;
  --accent: #0f5f73;
  --accent-hover: #0a4658;
  --accent-soft: #e4f3f6;
  --gold: #e0a92e;
  --gold-deep: #c98a18;
  --coral: #ef6b4a;
  --coral-deep: #c44b30;
  --orange: #f37e1d;
  --mustard: #eda52a;
  --dorian: #0f5f73;
  --dorian-soft: #e8f4f6;
  --wes: #d9650f;
  --wes-soft: #fde9d2;
  --sample: #4a2a12;
  --sample-bg: #fcebc8;
  --sample-line: #eda52a;
  --danger-soft: #fde8e2;
  --shadow: 5px 5px 0 #16293b;
  --shadow-soft: 8px 8px 0 rgb(22 41 59 / 0.12);
  --font-display: "Lilita One", "Nunito", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-sans: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-label: "Nunito", "Segoe UI", system-ui, sans-serif;
  --wes-text: #b34e00;
  --gold-text: #8a6410;
  --tint-dorian: #d6e8ec;
  --tint-wes: #fcddbc;
  --tint-gold: #f8e8be;
  --measure: 40rem;
  --wrap: 70rem;
  --radius: 1.6rem;
  --radius-sm: 1.1rem;
  --header-h: 4.35rem;
  --outline: 3px solid var(--ink);
  --theme-icon: "☀";
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101c2a;
    --bg-warm: #16293b;
    --paper: #1a3348;
    --ink: #fcf4e4;
    --ink-2: #fcebc8;
    --muted: #b8c5d6;
    --line: #2c4a63;
    --line-strong: #e0a92e;
    --accent: #e0a92e;
    --accent-hover: #f3d27a;
    --accent-soft: #1d4052;
    --gold: #e0a92e;
    --gold-deep: #f3d27a;
    --coral: #ff8f73;
    --coral-deep: #ef6b4a;
    --orange: #f37e1d;
    --mustard: #eda52a;
    --dorian: #8ed4e0;
    --dorian-soft: #1d4052;
    --wes: #ffb56a;
    --wes-soft: #3a2a16;
    --sample: #fcebc8;
    --sample-bg: #3a2a16;
    --sample-line: #eda52a;
    --danger-soft: #3a221c;
    --shadow: 5px 5px 0 #0a121c;
    --shadow-soft: 8px 8px 0 rgb(0 0 0 / 0.35);
    --wes-text: #ffb56a;
    --gold-text: #f3d27a;
    --tint-dorian: #1d4052;
    --tint-wes: #3a2a16;
    --tint-gold: #3a3216;
    --theme-icon: "☽";
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101c2a;
  --bg-warm: #16293b;
  --paper: #1a3348;
  --ink: #fcf4e4;
  --ink-2: #fcebc8;
  --muted: #b8c5d6;
  --line: #2c4a63;
  --line-strong: #e0a92e;
  --accent: #e0a92e;
  --accent-hover: #f3d27a;
  --accent-soft: #1d4052;
  --gold: #e0a92e;
  --gold-deep: #f3d27a;
  --coral: #ff8f73;
  --coral-deep: #ef6b4a;
  --orange: #f37e1d;
  --mustard: #eda52a;
  --dorian: #8ed4e0;
  --dorian-soft: #1d4052;
  --wes: #ffb56a;
  --wes-soft: #3a2a16;
  --sample: #fcebc8;
  --sample-bg: #3a2a16;
  --sample-line: #eda52a;
  --danger-soft: #3a221c;
  --shadow: 5px 5px 0 #0a121c;
  --shadow-soft: 8px 8px 0 rgb(0 0 0 / 0.35);
  --wes-text: #ffb56a;
  --gold-text: #f3d27a;
  --tint-dorian: #1d4052;
  --tint-wes: #3a2a16;
  --tint-gold: #3a3216;
  --theme-icon: "☽";
}

[data-theme="light"] {
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 12% 8%, rgb(14 95 115 / 0.07), transparent 28%),
    radial-gradient(circle at 88% 12%, rgb(243 126 29 / 0.08), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  height: auto;
  min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  border-bottom: var(--outline);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.site-header .wrap,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  height: auto;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark svg {
  width: 2.05rem;
  height: 2.05rem;
}

.wordmark-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
}

.wordmark span {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wordmark .cross {
  color: var(--dorian);
}

.wordmark .talk {
  color: var(--wes-text);
}

.wordmark:hover {
  color: var(--ink);
  transform: rotate(-2deg) scale(1.04);
}

.nav-panel {
  display: flex;
  align-items: center;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-input:focus-visible + .nav-toggle {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: #16293b;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.05rem;
  height: 3px;
  background: #16293b;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.05rem;
  height: 3px;
  background: #16293b;
  border-radius: 2px;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle-input:checked + .nav-toggle .nav-toggle-bars {
  background: transparent;
}

.nav-toggle-input:checked + .nav-toggle .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle-input:checked + .nav-toggle .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem 0.45rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  touch-action: manipulation;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--gold);
  color: #16293b;
}

.theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  box-shadow: 3px 3px 0 var(--ink);
  touch-action: manipulation;
}

.theme-toggle::before {
  content: var(--theme-icon);
}

.theme-toggle[data-mode="system"]::before {
  content: "◌";
  font-size: 1.15rem;
}

.theme-toggle:hover {
  transform: translate(-1px, -2px) rotate(-8deg);
  box-shadow: 4px 5px 0 var(--ink);
}

main {
  flex: 1;
}

.hero {
  padding: 2.4rem 0 2.6rem;
  border-bottom: var(--outline);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.sticker,
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 3px 3px 0 var(--ink);
}

.sticker-teal,
.badge-accent {
  background: var(--dorian);
  color: #fefdf8;
  border-color: var(--ink);
}

.sticker-gold {
  background: var(--gold);
  color: #16293b;
  transform: rotate(-3deg);
}

.sticker-coral {
  background: var(--coral);
  color: #16293b;
  transform: rotate(2.5deg);
}

.badge-sample {
  background: var(--mustard);
  color: #16293b;
  transform: rotate(-2deg);
}

.hero h1,
.page-title,
.episode-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.05rem, 8vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero h1 em,
.page-title em,
.episode-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede,
.page-intro,
.hosts-lead {
  margin: 1.05rem 0 0;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-2);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
}

.badge-row .badge:nth-child(2) {
  transform: rotate(2deg);
}

.badge-row .badge:nth-child(3) {
  transform: rotate(-2deg);
}

.section {
  padding: 2.5rem 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2,
.prose h2,
.site-footer h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.featured,
.player-card,
.signup,
.note,
.transcript,
.notice,
.host-card,
.hosts-banner,
.episode-list {
  background: var(--paper);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured,
.player-card,
.signup {
  padding: 1.35rem 1.4rem 1.3rem;
}

@media (hover: hover) and (pointer: fine) {
  .featured:hover,
  .signup:hover,
  .host-card:hover,
  .player-card:hover {
    transform: translate(-3px, -4px);
    box-shadow: 8px 8px 0 var(--ink);
  }
}

.featured-meta,
.episode-meta,
.row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 0.78rem;
  font-weight: 500;
}

.featured-meta span:not(:first-child)::before,
.episode-meta span:not(:first-child)::before {
  content: "·";
  margin: 0 0.55rem;
  color: var(--muted);
}

.featured h2 {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.featured h2 a,
.episode-list a,
.more-link {
  color: inherit;
  text-decoration: none;
}

.featured h2 a:hover,
.episode-list a:hover,
.more-link:hover {
  color: var(--accent);
}

.featured p,
.player-card .dek {
  margin: 0.75rem 0 0;
  color: var(--ink-2);
  max-width: 40rem;
}

audio {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  height: 2.75rem;
  min-height: 44px;
}

.player-card,
.hero-art,
.hero-copy,
.episode-hero > *,
.featured,
.signup,
.note,
.transcript,
.host-card {
  min-width: 0;
  max-width: 100%;
}

.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--accent);
}

.featured .more-link {
  margin-top: 1rem;
}

.episode-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.5rem;
}

.episode-list li {
  border-bottom: 2px dashed var(--line);
}

.episode-list li:last-child {
  border-bottom: 0;
}

.episode-list a {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 0.9rem 1.1rem;
  align-items: center;
  padding: 0.95rem 0.65rem;
  border-radius: 1rem;
  font-weight: 800;
}

.episode-list a:hover {
  background: var(--accent-soft);
}

.ep-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--muted);
}

.ep-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ep-side {
  color: var(--muted);
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.empty {
  color: var(--muted);
}

.signup h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.5vw, 1.8rem);
  font-weight: 650;
}

.signup p {
  margin: 0.55rem 0 1rem;
  color: var(--ink-2);
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.signup label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup input[type="email"] {
  flex: 1 1 14rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 16px);
  font-weight: 650;
}

.signup button {
  appearance: none;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  touch-action: manipulation;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: #16293b;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.signup button:hover {
  background: var(--mustard);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.form-note,
.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status {
  color: var(--ink-2);
}

.page-header {
  padding: 2.5rem 0 0.35rem;
}

.episode-hero {
  padding: 2.3rem 0 1.4rem;
}

.episode-hero h1 {
  max-width: 16ch;
  margin-top: 0.35rem;
}

.notice {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--sample-bg);
  border-color: var(--ink);
}

.episode-page > .wrap > .notice {
  margin-bottom: -0.35rem;
}

.notice p,
.note p {
  margin: 0;
}

.note {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1.1rem;
  background: var(--danger-soft);
}

.note strong {
  font-weight: 800;
}

.prose {
  max-width: var(--measure);
  overflow-wrap: break-word;
}

.prose a,
.prose code {
  overflow-wrap: anywhere;
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.transcript {
  margin-top: 1rem;
  padding: 1.15rem 1.2rem 1.3rem;
}

.transcript-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-2);
}

.hero-hosts {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.4rem;
  min-height: 18rem;
}

.hero-host {
  flex: 1 1 0;
  margin: 0;
  text-align: center;
  max-width: 18rem;
}

.hero-host img,
.hosts-banner img,
.host-card img {
  width: 100%;
  height: auto;
  background: #fefdf8;
  border: var(--outline);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-host img {
  aspect-ratio: 1;
  object-fit: contain;
}

.hero-host-dorian {
  transform: rotate(-3.5deg) translateY(0.6rem);
  animation: bounce-slow 3.4s ease-in-out infinite;
}

.hero-host-wes {
  transform: rotate(3.5deg) translateY(-0.2rem);
  animation: bounce-slow 3.4s ease-in-out infinite 0.45s;
}

.hero-host figcaption,
.host-card h3 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
}

.hero-art {
  animation: bounce-slow 3.6s ease-in-out infinite;
  --tilt: 0deg;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hosts-lead {
  margin: 0 0 1.2rem;
}

.host-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .host-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.host-card {
  margin: 0;
  padding: 1rem 1rem 1.15rem;
}

.host-card img {
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.host-card.dorian {
  background: var(--tint-dorian, var(--dorian-soft));
}

.host-card.wes {
  background: var(--tint-wes, var(--wes-soft));
}

.host-role {
  display: inline-flex;
  margin: 0.35rem 0 0.55rem;
  padding: 0.15rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--gold);
  color: #16293b;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
}

.host-card p {
  margin: 0;
  color: var(--ink-2);
}

.hosts-banner {
  margin: 0 0 1.25rem;
  overflow: hidden;
  padding: 0;
}

.hosts-banner img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
  background: #4a4470;
}

.site-footer {
  margin-top: 2rem;
  border-top: var(--outline);
  background: var(--bg-warm);
  padding: 2.2rem 0 calc(2.6rem + env(safe-area-inset-bottom, 0px));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .episode-hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: end;
  }

  .episode-hero .player-card {
    margin: 0;
  }

  .episode-hero .signup,
  .episode-hero .sponsor-slot {
    grid-column: 1 / -1;
  }
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.site-footer ul {
  margin: 0;
  padding-left: 1.15rem;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 3px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: inherit;
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: rotate(var(--tilt, -3.5deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--tilt, -3.5deg)) translateY(-10px);
  }
}

.hero-host-dorian {
  --tilt: -3.5deg;
}

.hero-host-wes {
  --tilt: 3.5deg;
}

@media (max-width: 640px) {
  .episode-list a {
    grid-template-columns: 2.6rem 1fr;
  }

  .ep-side {
    grid-column: 2;
    text-align: left;
    margin-top: -0.55rem;
    padding-bottom: 0.15rem;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .hero-hosts {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-art,
  .hero-host-dorian,
  .hero-host-wes,
  .sticker-gold,
  .sticker-coral,
  .badge-sample,
  .badge-row .badge:nth-child(2),
  .badge-row .badge:nth-child(3) {
    transform: none;
  }
}

.featured-art {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  margin: 0 0 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lede,
.page-intro,
.dek,
.note,
.notice,
.hosts-lead {
  overflow-wrap: break-word;
}

@media (max-width: 699px) {
  .wordmark {
    gap: 0.5rem;
  }

  .wordmark span {
    font-size: 1.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: static;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 11;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.85rem max(1rem, env(safe-area-inset-right, 0px)) 1rem max(1rem, env(safe-area-inset-left, 0px));
    background: var(--bg);
    border-bottom: var(--outline);
    box-shadow: 6px 6px 0 rgb(22 41 59 / 0.16);
  }

  .nav-toggle-input:checked ~ .nav {
    display: flex;
  }

  .nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 1.08rem;
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    background: var(--gold);
    color: #16293b;
  }

  .nav .theme-toggle {
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: 44px;
    justify-content: flex-start;
    gap: 0.55rem;
    margin-top: 0.15rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
  }

  .nav .theme-toggle::after {
    content: "Theme";
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .featured,
  .player-card,
  .signup {
    padding: 1.15rem 1rem 1.1rem;
  }

  .signup-row {
    flex-direction: column;
    align-items: stretch;
  }

  .signup input[type="email"],
  .signup button {
    width: 100%;
    flex: 1 1 auto;
  }

  .note,
  .notice,
  .transcript {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}



.hero-copy .signup {
  margin-top: 1.5rem;
}

.episode-hero .signup,
.episode-hero .sponsor-slot {
  margin-top: 0.35rem;
}

.sponsor-slot {
  background: var(--tint-gold, var(--paper));
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem 1.05rem;
}

.sponsor-slot .kicker {
  margin-bottom: 0.55rem;
}

.sponsor-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
}

.sponsor-slot p + p {
  margin-top: 0.4rem;
}

.sponsor-card p:last-child {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
}

.page-header + .prose {
  padding-bottom: 2rem;
}
