/* SWARK Podcasts. Red, black, gold. Readable in light and dark. Phone first. No wobble. */

:root, html[data-theme="dark"] {
  --bg: #0b0807;
  --bg-2: #120c0a;
  --card: #16100d;
  --card-2: #1f1611;
  --ink: #fff8ee;
  --ink-2: #d9cbb8;
  --ink-3: #b6a28c;
  --line: rgba(240, 194, 75, 0.28);
  --line-strong: rgba(240, 194, 75, 0.5);
  --gold: #f0c24b;
  --gold-2: #ffd978;
  --gold-text: #ffd978;
  --red: #e0233f;
  --red-fill: #c8102e;
  --red-text: #ff6b7d;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.85);
  --player-fill: #c8102e;
  --spot: rgba(240, 194, 75, 0.22);
  --spot-2: rgba(224, 35, 63, 0.16);
  --bar: linear-gradient(90deg, #c8102e 0 50%, #d4a017 50% 100%);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f6f1e7;
  --bg-2: #efe6d6;
  --card: #fffdf8;
  --card-2: #fbf3e3;
  --ink: #17110b;
  --ink-2: #3a2f24;
  --ink-3: #5c4c3c;
  --line: rgba(125, 82, 0, 0.28);
  --line-strong: rgba(125, 82, 0, 0.45);
  --gold: #d4a017;
  --gold-2: #7d5200;
  --gold-text: #7d5200;
  --red: #a90c24;
  --red-fill: #c8102e;
  --red-text: #a90c24;
  --shadow: 0 18px 40px -26px rgba(60, 40, 10, 0.45);
  --player-fill: #c8102e;
  --spot: rgba(125, 82, 0, 0.16);
  --spot-2: rgba(169, 12, 36, 0.12);
  --bar: linear-gradient(90deg, #c8102e 0 50%, #d4a017 50% 100%);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #f6f1e7;
    --bg-2: #efe6d6;
    --card: #fffdf8;
    --card-2: #fbf3e3;
    --ink: #17110b;
    --ink-2: #3a2f24;
    --ink-3: #5c4c3c;
    --line: rgba(125, 82, 0, 0.28);
    --line-strong: rgba(125, 82, 0, 0.45);
    --gold: #d4a017;
    --gold-2: #7d5200;
    --gold-text: #7d5200;
    --red: #a90c24;
    --red-fill: #c8102e;
    --red-text: #a90c24;
    --shadow: 0 18px 40px -26px rgba(60, 40, 10, 0.45);
    --player-fill: #c8102e;
    --spot: rgba(125, 82, 0, 0.16);
    --spot-2: rgba(169, 12, 36, 0.12);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 {
  font-family: "Clash Display", "Satoshi", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--bar);
}
.topbar-in {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  flex: 1;
}
.brand:hover { color: inherit; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name {
  font-family: "Clash Display", "Satoshi", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name span { color: var(--gold-text); }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
}
.nav a:hover, .icon-btn:hover { color: var(--ink); background: var(--card-2); }
.icon-btn { width: 44px; padding: 0; border: 1px solid transparent; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: none; }
html:not([data-theme]) .icon-sun { display: none; }
@media (prefers-color-scheme: light) {
  html:not([data-theme]) .icon-sun { display: block; }
  html:not([data-theme]) .icon-moon { display: none; }
}

.wrap { max-width: 980px; margin: 0 auto; padding: 28px 18px 80px; }
@media (min-width: 720px) {
  .topbar-in, .wrap { padding-left: 32px; padding-right: 32px; }
  .wrap { padding-top: 40px; }
}

.kick {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.hero h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); max-width: 16ch; }
.lede {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--ink-2);
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
@media (min-width: 800px) {
  .grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.show-card { display: grid; }
.show-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #0b0807; }
.show-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.show-card h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.show-meta { color: var(--ink-2); font-size: 0.98rem; }
.show-card .tagline { color: var(--ink-2); margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--red-fill); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { background: var(--card-2); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }

.soon {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 24px;
  position: relative;
  isolation: isolate;
  background: var(--card-2);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
}
.soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
  background-image:
    radial-gradient(ellipse 22px 16px at 18% 22%, var(--spot) 0 42%, transparent 44%),
    radial-gradient(ellipse 14px 18px at 78% 18%, var(--spot) 0 40%, transparent 43%),
    radial-gradient(ellipse 18px 14px at 62% 72%, var(--spot-2) 0 40%, transparent 43%),
    radial-gradient(ellipse 12px 12px at 28% 78%, var(--spot) 0 40%, transparent 44%),
    radial-gradient(ellipse 10px 14px at 90% 58%, var(--spot) 0 40%, transparent 44%);
  pointer-events: none;
}
.soon h2 { font-size: 1.55rem; }
.soon p { margin: 8px 0 0; color: var(--ink-2); max-width: 28ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-strong); }

.show-head {
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
}
.show-head img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b0807;
  box-shadow: var(--shadow);
}
.show-head h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
.show-head .host { margin-top: 8px; color: var(--ink-2); font-size: 1.05rem; }
@media (min-width: 700px) {
  .show-head { grid-template-columns: 220px 1fr; align-items: center; }
}

.section-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 12px;
}

.ep-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ep-list li { border-bottom: 1px solid var(--line); }
.ep-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
}
.ep-row:hover { color: inherit; }
.ep-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0807;
}
.ep-row h3 { font-size: 1.08rem; letter-spacing: -0.02em; }
.ep-row .meta { margin-top: 4px; color: var(--ink-3); font-size: 0.9rem; }
.ep-row .go {
  color: var(--gold-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .ep-row { grid-template-columns: 64px 1fr; }
  .ep-row .go { display: none; }
  .ep-row img { width: 64px; height: 64px; }
}

.ep-hero {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
}
.ep-hero img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b0807;
  box-shadow: var(--shadow);
}
.ep-hero h1 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); }
.ep-hero .meta { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 700px) {
  .ep-hero { grid-template-columns: 160px 1fr; align-items: center; }
}

.player {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow);
  margin: 0 0 36px;
}
.player audio { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.player-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}
.play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-fill);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.play:hover { filter: brightness(1.08); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play .icon-pause { display: none; }
.player.is-playing .icon-play { display: none; }
.player.is-playing .icon-pause { display: block; }
.seek-wrap { display: grid; gap: 8px; }
.times {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
}
input[data-seek] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  outline: none;
}
input[data-seek]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0b0807;
  box-shadow: 0 0 0 1px var(--gold);
}
html[data-theme="light"] input[data-seek]::-webkit-slider-thumb { border-color: #fffdf8; }
input[data-seek]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0b0807;
}
input[data-seek]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}
.player-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-left: 70px;
}
@media (max-width: 420px) { .player-tools { padding-left: 0; } }
.tool {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tool:hover { color: var(--ink); border-color: var(--line-strong); }
.tool.is-copied { border-color: var(--gold); color: var(--gold-text); }

.notes h2, .sources h2 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 14px;
  font-family: "Satoshi", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.notes { margin-bottom: 36px; }
.notes .summary { font-size: 1.05rem; color: var(--ink); }
.rundown { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.rundown h3 {
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold-text);
  margin: 0 0 4px;
}
.rundown p { color: var(--ink-2); }
.sources ol {
  margin: 0;
  padding: 0 0 0 1.2em;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}
.sources a { overflow-wrap: anywhere; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.site-footer .in {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 40px;
  display: grid;
  gap: 8px;
}
@media (min-width: 720px) { .site-footer .in { padding-left: 32px; padding-right: 32px; } }
.site-footer p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.made { font-weight: 700; color: var(--ink); }

.notfound { padding: 80px 18px 120px; text-align: left; max-width: 980px; margin: 0 auto; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 12px; }
