@font-face {
  font-family: "DisplayGothic1958";
  src: url("DisplayGothic1958-Standard.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #16181d;
  --bg-soft: #23242a;
  --panel: #2b2b31;
  --panel-2: #34353c;
  --text: #f3efe8;
  --text-muted: #c4c0bb;
  --heading: #f6d8ca;
  --border: rgba(255, 255, 255, 0.12);
  --accent-red: #de3f1a;
  --accent-coral: #f15d5c;
  --accent-gold: #dfcf8d;
  --accent-blue: #178ec9;
  --accent-teal: #5aaec0;
  --accent-sand: #bfaea0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 24px;
  --radius-md: 18px;
  --nav-height: 52px;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at top left, rgba(90, 174, 192, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(241, 93, 92, 0.14), transparent 24%),
    linear-gradient(180deg, #101217 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Sticky nav ─────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 24, 29, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-nav__inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.site-nav__brand {
  display: flex;
  align-items: center;
}

.site-nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.site-nav__links {
  display: flex;
  gap: 28px;
}

.site-nav__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.site-nav__links a:hover {
  color: var(--text);
}

/* ── Shared layout ───────────────────────────────────── */

.site-shell {
  min-height: 100vh;
}

.hero__inner,
.section,
footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/* Offset sections so sticky nav doesn't cover headings */
#hosts,
#episodes,
#links {
  scroll-margin-top: var(--nav-height);
}

/* ── Hero ────────────────────────────────────────────── */

.hero {
  padding: 64px 24px 52px;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}

.hero__logo {
  display: flex;
  justify-content: flex-end;
}

.hero__logo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.45);
}

.eyebrow,
.section__kicker {
  margin: 0 0 10px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2 {
  font-family: "DisplayGothic1958", sans-serif;
}

.button,
.episode-card__title,
.link-card__label {
  font-family: "Gothic Compact", "Gothic A1", "Arial Narrow", "Inter", sans-serif;
  font-stretch: condensed;
}

h1,
h2 {
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.5rem, 13vw, 11rem);
  color: var(--heading);
  text-wrap: balance;
}

h2 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  color: var(--text);
}

.hero__lede,
.section__intro,
.hosts-card__body p,
.episode-card__description,
.link-card__meta,
.episode-card__date,
.episode-status {
  color: var(--text-muted);
}

.hero__lede {
  max-width: 52ch;
  font-size: 1.05rem;
  margin: 20px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

.button:hover,
.link-card:hover,
.episode-card__cta:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-coral));
  color: white;
  box-shadow: var(--shadow);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(223, 207, 141, 0.38);
  color: var(--text);
}

/* ── Sections ────────────────────────────────────────── */

.section {
  padding: 52px 0;
}

.section--alt {
  position: relative;
  z-index: 0;
}

.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0));
  z-index: -1;
  pointer-events: none;
}

.section__heading {
  margin-bottom: 24px;
}

.section__intro {
  max-width: 60ch;
  margin-top: 10px;
}

/* ── Episode grid ────────────────────────────────────── */

.episode-grid,
.links-grid {
  display: grid;
  gap: 18px;
}

.episode-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.episode-card,
.link-card,
.hosts-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.episode-card {
  padding: 18px;
}


.episode-card__topline,
.episode-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.episode-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 142, 201, 0.14);
  color: #9ed8ef;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.episode-card__date {
  font-size: 0.87rem;
}

.episode-card__title {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--text);
}

.episode-card__title:hover {
  color: var(--accent-gold);
}

.episode-card__description {
  margin: 14px 0 18px;
  font-size: 0.96rem;
}

.episode-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(223, 207, 141, 0.12);
  border: 1px solid rgba(223, 207, 141, 0.24);
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.episode-card__duration {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Skeleton loading */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 6px;
}


.skeleton--line {
  height: 13px;
  margin-bottom: 10px;
  width: 100%;
}

.skeleton--line-short  { width: 38%; }
.skeleton--line-title  { height: 22px; width: 85%; margin-bottom: 14px; }
.skeleton--line-medium { width: 65%; }

/* Load more */
.load-more-btn {
  display: block;
  margin: 28px auto 0;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
}

/* ── Hosts ───────────────────────────────────────────── */

.hosts-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
}

.hosts-card__media {
  background: #e8ddd4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hosts-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.hosts-card__body {
  padding: 28px;
}

.hosts-portraits {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.host-portrait {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-portrait__img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #e8ddd4;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.host-portrait__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Links grid ──────────────────────────────────────── */

.links-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover {
  border-color: rgba(90, 174, 192, 0.42);
  background: linear-gradient(180deg, rgba(90, 174, 192, 0.08), rgba(255,255,255,0.04));
}

.link-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}

.link-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-card__label {
  font-size: 1.25rem;
  color: var(--text);
}

.link-card__meta {
  font-size: 0.95rem;
}

/* Featured show card (All Mike'd Up) */
.link-card--show {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.link-card--show:hover {
  transform: translateY(-2px);
}

.link-card__show-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.link-card__show-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Episode status ──────────────────────────────────── */

.episode-status {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.episode-status--error p {
  margin: 0 0 8px;
}

.episode-status--error p:last-child {
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 20px;
}

footer nav a:hover {
  color: var(--text);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 820px) {
  .hero {
    padding-top: 48px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__logo {
    order: -1;
    justify-content: center;
  }

  .hero__logo img {
    max-width: min(320px, 72vw);
  }

  .hosts-card {
    grid-template-columns: 1fr;
  }

  .hosts-card__media {
    max-height: 400px;
  }

  .hosts-portraits {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-nav__inner,
  .hero__inner,
  .section {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .episode-card,
  .link-card,
  .hosts-card__body {
    padding: 16px;
  }

  .link-card--show {
    padding: 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 6rem);
  }

  .site-nav__links {
    gap: 18px;
  }
}
