/* ============================================================
   SHIFT Podcast — Design System
   Colors extracted from brand artwork
   ============================================================ */


:root {
  /* Brand colors */
  --bg:           #18165c;
  --bg-card:      #211f70;
  --bg-card-2:    #2a287c;
  --bg-hover:     #2e2b88;
  --teal:         #3ce8b5;
  --teal-dim:     #2ab898;
  --orange:       #ff7235;
  --orange-dim:   #d95a22;
  --white:        #ffffff;
  --text:         rgba(255,255,255,0.95);
  --text-muted:   rgba(255,255,255,0.60);
  --text-dim:     rgba(255,255,255,0.35);
  --border:       rgba(255,255,255,0.10);
  --border-teal:  rgba(60,232,181,0.25);

  /* Layout */
  --max-w:        1200px;
  --pad:          clamp(16px, 4vw, 40px);
  --radius:       12px;
  --radius-sm:    8px;
  --player-h:     72px;

  /* Typography */
  --font-head:    'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: var(--player-h);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Layout Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ---- Background Pattern ---- */
.bg-pattern {
  background-image:
    linear-gradient(rgba(60,232,181,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,232,181,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---- Grid accent — used on page headers ---- */
.grid-accent {
  position: relative;
}
.grid-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(60,232,181,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,232,181,0.10) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.grid-accent > * { position: relative; z-index: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 22, 92, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
  padding-left: clamp(8px, 2vw, 24px);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.site-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--teal);
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.header-cta {
  margin-left: auto;
}
.btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--teal);
  padding: 8px 16px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-subscribe:hover {
  background: var(--teal-dim);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(60,232,181,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 50% at 85% 20%, rgba(255,114,53,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
}
/* Artwork is first in DOM but lives in the right column on desktop */
.hero-artwork-wrap { grid-column: 2; grid-row: 1; }
.hero-text         { grid-column: 1; grid-row: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-artwork-wrap {
  position: relative;
  flex-shrink: 0;
  width: clamp(200px, 28vw, 340px);
}
.hero-artwork {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.hero-artwork img { width: 100%; height: 100%; object-fit: cover; }

/* Latest episode thumbnail badge */
.hero-ep-thumb {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 2px var(--bg);
  display: block;
  transition: transform 0.2s;
}
.hero-ep-thumb:hover { transform: scale(1.06); }
.hero-ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-ep-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(60,232,181,0.9);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 99px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--bg);
}
.btn-primary:hover { background: var(--teal-dim); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-dim); transform: translateY(-1px); }
.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* Play button specific */
.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,114,53,0.4);
}
.play-btn:hover { background: var(--orange-dim); transform: scale(1.08); }
.play-btn svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }
.play-btn.playing { background: var(--teal); box-shadow: 0 4px 16px rgba(60,232,181,0.4); }
.play-btn.playing svg { margin-left: 0; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-season {
  background: rgba(60,232,181,0.15);
  color: var(--teal);
  border: 1px solid rgba(60,232,181,0.25);
}
.badge-s1 { background: rgba(255,114,53,0.12); color: var(--orange); border-color: rgba(255,114,53,0.25); }
.badge-s2 { background: rgba(60,232,181,0.12); color: var(--teal); border-color: rgba(60,232,181,0.25); }
.badge-s3 { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.2); }
.duration-badge {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
  padding: clamp(40px, 7vw, 80px) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* ============================================================
   EPISODE CARDS
   ============================================================ */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.episode-grid.list-view {
  grid-template-columns: 1fr;
}
.episode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
}
.episode-card:hover {
  border-color: var(--border-teal);
  background: var(--bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.episode-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.episode-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.episode-card:hover .episode-card-img img { transform: scale(1.04); }
.episode-card-play {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s;
}
.episode-card:hover .episode-card-play { opacity: 1; transform: scale(1); }
.play-btn-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.play-btn-sm:hover { background: var(--orange-dim); transform: scale(1.1); }
.play-btn-sm svg { width: 16px; height: 16px; fill: white; margin-left: 2px; }
.episode-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  flex: 1;
}
.episode-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* List view card */
.episode-grid.list-view .episode-card {
  flex-direction: row;
  height: 100px;
}
.episode-grid.list-view .episode-card-img {
  width: 100px;
  aspect-ratio: auto;
  flex-shrink: 0;
}
.episode-grid.list-view .episode-card-body { padding: 14px 16px; }
.episode-grid.list-view .episode-card-desc { display: none; }

/* ============================================================
   SEASON TABS / FILTERS
   ============================================================ */
.season-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.season-tab {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.season-tab:hover { border-color: var(--teal); color: var(--teal); }
.season-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--bg);
}

/* ============================================================
   PRESS / AWARDS BAR
   ============================================================ */
.press-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.press-bar-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 20px;
}
.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}
.press-logo {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.press-logo:hover { color: var(--text-muted); }

/* ============================================================
   PLATFORMS
   ============================================================ */
.platforms-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.platform-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--bg-hover); }
.platform-btn svg, .platform-btn img { width: 18px; height: 18px; object-fit: contain; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}
.newsletter-section .section-title { margin-bottom: 8px; }
.newsletter-section p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 99px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form input:focus { border-color: var(--teal); }

/* ============================================================
   SEASON CARDS (homepage browse section)
   ============================================================ */
.season-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.season-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.season-card:hover {
  border-color: var(--border-teal);
  background: var(--bg-hover);
  transform: translateY(-3px);
}
.season-card-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.3;
}
.season-card-label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.season-card-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.season-card-arrow {
  color: var(--teal);
  font-size: 18px;
  margin-top: auto;
  opacity: 0;
  transition: all 0.2s;
}
.season-card:hover .season-card-arrow { opacity: 1; transform: translateX(4px); }

/* ============================================================
   INDIVIDUAL EPISODE PAGE
   ============================================================ */
.episode-page {
  padding: clamp(32px, 6vw, 64px) 0;
}
.episode-page-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.episode-page-art {
  width: 240px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.episode-page-art img { width: 100%; height: 100%; object-fit: cover; }
.episode-page-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.episode-page-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
}
.episode-page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.episode-page-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}
.episode-body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.episode-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}
.episode-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: clamp(48px, 8vw, 80px) 0;
}
.about-hero p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}
@media (max-width: 700px) {
  .about-hero .container > div {
    grid-template-columns: 1fr !important;
  }
  .about-hero .container > div > div:last-child {
    display: none;
  }
}
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(32px, 6vw, 64px) 0;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
}
.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  /* stretch image to fill the full card height */
  align-self: stretch;
}
.team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card-body {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.team-card-role {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.team-card-name {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
.team-card-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.team-card-bio + .team-card-bio {
  margin-top: 12px;
}

/* ============================================================
   LOADING STATE
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-2) 50%, var(--bg-card) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.loading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.loading-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.loading-card .sk-img { aspect-ratio: 1; }
.loading-card .sk-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.loading-card .sk-line { height: 12px; }
.loading-card .sk-line.short { width: 60%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 60px) 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo-text {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-platforms h4 {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }

/* ============================================================
   AUDIO PLAYER (fixed bottom)
   ============================================================ */
#shift-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--player-h);
  background: rgba(20,18,80,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-teal);
  display: none;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad);
  z-index: 200;
}
#shift-player.visible { display: flex; }
.player-art {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.player-art img { width: 100%; height: 100%; object-fit: cover; }
.player-info {
  flex: 1;
  min-width: 0;
}
.player-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}
.player-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.player-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.player-play-btn:hover { background: var(--orange-dim); }
.player-play-btn svg { width: 16px; height: 16px; fill: white; }
.player-play-btn.playing { background: var(--teal); }
.player-skip {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s;
  border: none;
  background: none;
  padding: 4px;
  display: flex;
  align-items: center;
}
.player-skip:hover { color: var(--white); }
.player-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
  max-width: 360px;
}
.player-time {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}
.player-close {
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
  font-size: 20px;
  transition: color 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
}
.player-close:hover { color: var(--text); }

/* ============================================================
   ERROR / EMPTY STATES
   ============================================================ */
.state-error, .state-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.state-error h3, .state-empty h3 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.state-error p, .state-empty p { font-size: 14px; }

/* ============================================================
   BACK LINK
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Artwork is first in DOM, so a plain column stack puts it on top naturally */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* override desktop align-items:center so text fills full width */
    gap: 32px;
  }
  .hero-artwork-wrap {
    width: clamp(160px, 50vw, 240px);
    align-self: center;
    margin: 0 auto;
    grid-column: unset;
    grid-row: unset;
  }
  /* Explicit square — avoids aspect-ratio which isn't supported on iOS < 15 */
  .hero-artwork {
    width: clamp(160px, 50vw, 240px);
    height: clamp(160px, 50vw, 240px);
    aspect-ratio: unset;
  }
  .hero-text { width: 100%; }
  .hero-ep-thumb { display: none; }
  .season-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .episode-page-hero { grid-template-columns: 1fr; }
  .episode-page-art { width: 180px; }
  .team-card { grid-template-columns: 180px 1fr; }
}
@media (max-width: 640px) {
  .team-card { grid-template-columns: 1fr; }
  .team-card-img {
    aspect-ratio: 4/3;
    width: 100%;
    align-self: auto; /* let aspect-ratio control height, not stretch */
  }
  .team-card-img img { object-position: center 20%; }
  /* Hero text: center-align when artwork stacks above */
  .hero-label, .hero-title, .hero-subtitle, .hero-meta, .hero-actions {
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--pad);
    gap: 16px;
  }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .season-cards { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .player-progress { display: none; }
  .episode-grid { grid-template-columns: 1fr 1fr; }
  /* Footer bottom: wrap links gracefully on narrow screens */
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-bottom nav {
    justify-content: center;
  }
}
@media (max-width: 400px) {
  .episode-grid { grid-template-columns: 1fr; }
}
