/* CourseFM — light modern enterprise brand */
:root {
  --bg-base: #FAFBFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --accent: #2663EB;
  --accent-hover: #1F52C4;
  --accent-subtle: #EEF2FE;
  --accent-text: var(--accent);
  --corp-navy: var(--bg-subtle);
  --corp-navy-deep: var(--bg-base);
  --corp-elevated: var(--bg-surface);
  --corp-card: var(--bg-surface);
  --corp-card-hover: var(--bg-subtle);
  --corp-border: var(--border);
  --corp-gold: var(--accent);
  --corp-gold-light: var(--accent);
  --corp-gold-hover: var(--accent-hover);
  --corp-platinum: var(--text-primary);
  --corp-text: var(--text-primary);
  --corp-text-subdued: var(--text-secondary);
  --corp-text-muted: var(--text-muted);
  --color-primary: var(--text-primary);
  --color-primary-light: var(--bg-subtle);
  --color-accent: var(--accent);
  --color-accent-hover: var(--accent-hover);
  --color-bg: var(--bg-base);
  --color-surface: var(--bg-surface);
  --color-text: var(--text-primary);
  --color-muted: var(--text-secondary);
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-elevated: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-accent: 0 4px 16px rgba(38, 99, 235, 0.25);
  --radius: 8px;
  --radius-pill: 500px;
  --player-height: 88px;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --player-bg: rgba(255, 255, 255, 0.97);
  --player-shadow: 0 -10px 40px rgba(15, 23, 42, 0.14);
  --player-track-bg: var(--border);
}

[data-theme="dark"] {
  --bg-base: #0a0a0c;
  --bg-surface: #121216;
  --bg-subtle: #1e1e24;
  --border: #2a2a35;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #4880F0;
  --accent-hover: #6B9AF5;
  --accent-subtle: #152656;
  --accent-text: #f8fafc;
  --shadow-elevated: 0 4px 24px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(18, 18, 22, 0.92);
  --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --player-bg: rgba(18, 18, 22, 0.97);
  --player-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  --player-track-bg: #3a3a48;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--corp-text);
  background: var(--bg-base);
  padding-bottom: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.player-visible {
  padding-bottom: calc(var(--player-height) + 16px);
}

.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Prestige strip */
.prestige-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}

/* Header */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  color: var(--corp-text);
  position: relative;
  z-index: 100;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--corp-border);
  box-shadow: var(--header-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--corp-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand:hover { color: var(--accent-text); }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-logo { height: 42px; width: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.main-nav a {
  color: var(--corp-text-subdued);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--text-primary); }

.main-nav a.btn-nav-cta,
.main-nav a.btn-nav-cta:hover {
  color: #fff;
}

.nav-enterprise {
  color: var(--accent-text) !important;
}

.nav-enterprise:hover { color: var(--accent-hover) !important; }

.main-nav .nav-login {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--corp-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav .nav-login:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  transform: none;
}

/* Buttons — Spotify pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s, color 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.btn:hover { transform: scale(1.04); }

.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--corp-border);
}

.btn-outline:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  background: var(--accent-subtle);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline-light:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  transform: none;
}

.btn-nav-cta {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.nav-login {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.btn-ghost {
  background: transparent;
  color: var(--corp-text-subdued);
}

.btn-ghost-light {
  background: transparent;
  color: var(--corp-text-subdued);
  border: none;
}

.btn-ghost-light:hover { color: var(--accent-text); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 1rem;
}

.btn-icon:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, var(--accent-subtle) 0%, transparent 60%),
    var(--bg-surface);
  color: var(--corp-text);
  padding: 3.5rem 0 4.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--corp-border);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--corp-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 1rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.hero-sub {
  font-size: 1rem;
  color: var(--corp-text-subdued);
  max-width: 680px;
  margin: 0 0 1.25rem;
  line-height: 1.65;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--corp-border);
}

.value-prop {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--corp-border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.value-prop h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.value-prop p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--corp-text-subdued);
  line-height: 1.5;
}

.search-hero {
  display: flex;
  gap: 0.75rem;
  max-width: 720px;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-hero input[type="search"],
.catalogue-search-row input[type="search"] {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  background: var(--bg-surface);
  color: var(--corp-text);
  outline: none;
}

.search-hero input[type="search"]::placeholder,
.catalogue-search-row input[type="search"]::placeholder {
  color: var(--corp-text-muted);
}

.search-hero input[type="search"]:focus,
.catalogue-search-row input[type="search"]:focus {
  background: var(--bg-surface);
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.15);
}

.search-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--corp-text-subdued);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent-text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-cta-secondary { margin-top: 0.5rem; }

/* Prime-style cinematic hero carousel — movie poster aesthetic */
.hero-cinematic-carousel {
  --movie-gold: #E8C547;
  --movie-gold-deep: #B8860B;
  --movie-cream: #FFF8EB;
  --movie-cream-dim: #E8DFC8;
  --movie-red: #C41E3A;
  --movie-red-deep: #8B0000;
  --font-poster: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-poster-sub: "Oswald", "Arial Narrow", sans-serif;
  --font-poster-body: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --hero-chrome-height: 0px;
  position: relative;
  background: #050508;
  margin-top: -1px;
}

.hero-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-carousel-track::-webkit-scrollbar {
  display: none;
}

.hero-cinematic-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  --hero-type-scale: 1;
}

.hero-cinematic {
  position: relative;
  height: calc(100vh - var(--hero-chrome-height, 0px));
  height: calc(100dvh - var(--hero-chrome-height, 0px));
  min-height: 320px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050508;
  margin-top: -1px;
}

.hero-cinematic-video,
.hero-cinematic-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-cinematic-video {
  filter: brightness(0.68) contrast(1.08) saturate(0.82);
}

.hero-cinematic-fallback {
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-cinematic-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 15%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.hero-cinematic-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.75) 35%, rgba(5, 5, 8, 0.15) 55%, transparent 100%),
    linear-gradient(0deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.35) 35%, transparent 70%);
  pointer-events: none;
}

.hero-cinematic-grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-cinematic-content {
  position: relative;
  z-index: 2;
  padding: 0 0 calc(3.5rem * max(0.65, var(--hero-type-scale, 1)));
  max-width: min(560px, 100%);
  width: 100%;
  color: var(--movie-cream);
  box-sizing: border-box;
}

.hero-poster-frame {
  position: relative;
  padding-left: 0;
  border-left: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-cinematic-badge {
  display: inline-block;
  font-family: var(--font-poster-sub);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--movie-cream);
  background: linear-gradient(135deg, var(--movie-red) 0%, var(--movie-red-deep) 100%);
  border: 1px solid rgba(232, 197, 71, 0.45);
  padding: 0.35rem 0.75rem;
  margin: 0 0 calc(0.85rem * var(--hero-type-scale, 1));
  box-shadow: 0 2px 12px rgba(196, 30, 58, 0.45);
}

.hero-cinematic-studio {
  font-family: var(--font-poster-sub);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--movie-gold);
  margin: 0 0 0.5rem;
}

.hero-cinematic-eyebrow {
  font-family: var(--font-poster-sub);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--movie-cream-dim);
  margin: 0 0 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cinematic-title {
  font-family: var(--font-poster);
  font-size: calc(clamp(2.75rem, 7vw, 5.25rem) * var(--hero-type-scale, 1));
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin: 0 0 calc(0.85rem * var(--hero-type-scale, 1));
  color: var(--movie-cream);
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow:
    0 0 40px rgba(232, 197, 71, 0.15),
    0 2px 0 rgba(0, 0, 0, 0.8),
    0 4px 20px rgba(0, 0, 0, 0.65),
    0 0 2px rgba(255, 248, 235, 0.3);
}

.hero-poster-rule {
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--movie-gold) 0%, transparent 100%);
  margin: 0 0 1rem;
}

.hero-cinematic-subtitle {
  font-family: var(--font-poster-sub);
  font-size: calc(clamp(0.8rem, 1.6vw, 1rem) * var(--hero-type-scale, 1));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--movie-gold);
  margin: 0 0 calc(1.25rem * var(--hero-type-scale, 1));
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-cinematic-slide.hero-type-tight .hero-cinematic-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-cinematic-tagline {
  font-family: var(--font-poster-body);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 248, 235, 0.82);
  margin: 0 0 0.85rem;
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-cinematic-meta {
  font-family: var(--font-poster-sub);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--movie-gold);
  margin: 0 0 1.5rem;
}

.hero-meta-star {
  color: var(--movie-gold);
  margin-right: 0.25rem;
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-left: 0;
}

.hero-cinematic .hero-btn-poster {
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  box-shadow: none;
}

.hero-cinematic .hero-btn-poster:hover {
  background: #fff;
  color: #0a0a0a;
  transform: none;
  box-shadow: none;
}

.btn-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--movie-cream);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-icon:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--movie-cream);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  font-family: var(--font-poster-sub);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
}

.btn-hero-secondary {
  font-family: var(--font-poster-sub);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(5, 5, 8, 0.55);
  color: var(--movie-cream);
  border: 1px solid rgba(232, 197, 71, 0.45);
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(232, 197, 71, 0.12);
  color: var(--movie-cream);
  border-color: var(--movie-gold);
}

.badge-poster-preview {
  font-family: var(--font-poster-sub);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--movie-gold);
  border: 1px solid var(--movie-gold);
}

.hero-cinematic-badge-inline {
  margin-left: 0.25rem;
}

.hero-cinematic-credit {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
}

.hero-cinematic-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.hero-cinematic-credit a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- 6 distinct poster font styles --- */

/* Style 0: Bebas Neue — classic blockbuster (default) */
.poster-style-0 .hero-cinematic-title {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: calc(clamp(2.75rem, 7vw, 5.5rem) * var(--hero-type-scale, 1));
  line-height: 0.92;
}
.poster-style-0 .hero-cinematic-tagline {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
}
.poster-style-0 .hero-poster-frame {
  border: none;
}

/* Style 1: Playfair Display — elegant drama */
.poster-style-1 .hero-cinematic-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.01em;
  font-size: calc(clamp(2.25rem, 6vw, 4.5rem) * var(--hero-type-scale, 1));
  line-height: 1.02;
  text-shadow:
    0 0 50px rgba(232, 197, 71, 0.12),
    0 2px 0 rgba(0, 0, 0, 0.85),
    0 4px 24px rgba(0, 0, 0, 0.6);
}
.poster-style-1 .hero-cinematic-tagline {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.poster-style-1 .hero-poster-frame {
  border: none;
}
.poster-style-1 .hero-poster-rule {
  background: linear-gradient(90deg, var(--movie-red) 0%, transparent 100%);
}

/* Style 2: Anton — bold thriller */
.poster-style-2 .hero-cinematic-title {
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: calc(clamp(2.75rem, 7.5vw, 5.75rem) * var(--hero-type-scale, 1));
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.9),
    0 0 40px rgba(196, 30, 58, 0.2);
}
.poster-style-2 .hero-cinematic-tagline {
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
}
.poster-style-2 .hero-poster-frame {
  border-left: none;
  padding-left: 0;
  border-bottom: none;
}
.poster-style-2 .hero-poster-rule {
  display: none;
}

/* Style 3: Cinzel — epic / historical */
.poster-style-3 .hero-cinematic-title {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: calc(clamp(2rem, 5.5vw, 4rem) * var(--hero-type-scale, 1));
  line-height: 1.05;
  text-shadow:
    0 0 60px rgba(232, 197, 71, 0.18),
    0 2px 0 rgba(0, 0, 0, 0.85),
    0 4px 16px rgba(0, 0, 0, 0.5);
}
.poster-style-3 .hero-cinematic-tagline {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.poster-style-3 .hero-poster-frame {
  border-left: none;
  border-right: none;
  padding: 0;
  text-align: left;
}
.poster-style-3 .hero-poster-rule {
  display: none;
}
.poster-style-3 .hero-cinematic-badge { margin-left: 0; margin-right: 0; }
.poster-style-3 .hero-cinematic-title { text-align: left; }
.poster-style-3 .hero-cinematic-subtitle { text-align: left; margin-left: 0; }

/* Style 4: Righteous — retro sci-fi */
.poster-style-4 .hero-cinematic-title {
  font-family: "Righteous", "Trebuchet MS", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: calc(clamp(2.5rem, 6.5vw, 5rem) * var(--hero-type-scale, 1));
  line-height: 0.95;
  color: #7DD3FC;
  text-shadow:
    0 0 30px rgba(125, 211, 252, 0.3),
    0 0 60px rgba(125, 211, 252, 0.1),
    0 2px 0 rgba(0, 0, 0, 0.8);
}
.poster-style-4 .hero-cinematic-tagline {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgba(125, 211, 252, 0.7);
}
.poster-style-4 .hero-poster-frame {
  border: none;
}
.poster-style-4 .hero-poster-rule {
  background: linear-gradient(90deg, #7DD3FC 0%, transparent 100%);
}
.poster-style-4 .hero-cinematic-studio {
  color: #7DD3FC;
}
.poster-style-4 .hero-cinematic-badge {
  background: linear-gradient(135deg, #0E7490 0%, #164E63 100%);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 2px 12px rgba(14, 116, 144, 0.5);
}

/* Style 5: Teko — military / action */
.poster-style-5 .hero-cinematic-title {
  font-family: "Teko", "Impact", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: calc(clamp(3rem, 8vw, 6rem) * var(--hero-type-scale, 1));
  line-height: 0.85;
  text-transform: uppercase;
  color: #FFF;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.9),
    0 0 30px rgba(255, 255, 255, 0.08);
}
.poster-style-5 .hero-cinematic-tagline {
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}
.poster-style-5 .hero-poster-frame {
  border: none;
}
.poster-style-5 .hero-poster-rule {
  height: 3px;
  width: 5rem;
  background: var(--movie-red);
}
.poster-style-5 .hero-cinematic-badge {
  background: var(--movie-red);
  border: none;
  letter-spacing: 0.35em;
}

.hero-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 300;
  font-family: var(--font-body);
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.hero-carousel-prev { left: 1rem; }
.hero-carousel-next { right: 1rem; }

.hero-mute-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hero-mute-toggle:hover,
.hero-mute-toggle.is-unmuted {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero-mute-icon {
  display: block;
}

.hero-mute-icon[hidden] {
  display: none;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero-carousel-hint {
  position: absolute;
  bottom: 1.35rem;
  right: 1.5rem;
  z-index: 4;
  margin: 0;
  font-family: var(--font-poster-sub, "Oswald", sans-serif);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 197, 71, 0.55);
  pointer-events: none;
}

.hero-toolbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.hero-compact {
  padding: 2.5rem 0 1.5rem;
}

.value-props-compact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero-cinematic {
    height: calc(100vh - var(--hero-chrome-height, 0px));
    height: calc(100dvh - var(--hero-chrome-height, 0px));
    min-height: 300px;
    max-height: 600px;
  }

  .hero-cinematic-content {
    padding-bottom: 2.75rem;
    max-width: 100%;
  }

  .hero-cinematic-title {
    font-size: calc(2.35rem * var(--hero-type-scale, 1));
    letter-spacing: 0.03em;
  }

  .hero-cinematic-subtitle {
    font-size: calc(0.75rem * var(--hero-type-scale, 1));
    margin-bottom: calc(1rem * var(--hero-type-scale, 1));
  }

  .hero-cinematic-actions {
    padding-left: 0;
  }

  .hero-carousel-nav {
    display: none;
  }

  .hero-carousel-hint {
    display: block;
  }

  .hero-carousel-dots {
    bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cinematic {
    max-height: 520px;
  }

  .hero-cinematic-content {
    padding-bottom: 2.25rem;
  }

  .hero-cinematic-title {
    font-size: calc(1.75rem * var(--hero-type-scale, 1));
    letter-spacing: 0.02em;
  }

  .hero-cinematic-subtitle {
    font-size: calc(0.65rem * var(--hero-type-scale, 1));
    letter-spacing: 0.06em;
  }

  .hero-cinematic-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.55rem;
  }

  .hero-btn-play {
    min-width: 120px;
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
  }

  .btn-hero-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
  }
}

@media (max-height: 500px) {
  .hero-cinematic {
    min-height: 260px;
    max-height: 380px;
  }

  .hero-cinematic-content {
    padding-bottom: 1.25rem;
  }

  .hero-cinematic-title {
    font-size: calc(1.5rem * var(--hero-type-scale, 1));
    margin-bottom: calc(0.5rem * var(--hero-type-scale, 1));
  }

  .hero-cinematic-subtitle {
    font-size: calc(0.65rem * var(--hero-type-scale, 1));
    margin-bottom: calc(0.75rem * var(--hero-type-scale, 1));
  }
}

@media (min-width: 1400px) {
  .hero-cinematic {
    max-height: 900px;
  }

  .hero-cinematic-content {
    max-width: 640px;
    padding-bottom: 4rem;
  }

  .hero-cinematic-title {
    font-size: calc(clamp(3.5rem, 5vw, 6rem) * var(--hero-type-scale, 1));
  }
}

@media (min-width: 769px) {
  .hero-carousel-hint {
    display: none;
  }
}

.catalogue-search {
  margin-top: 2rem;
  max-width: 720px;
}

.catalogue-search label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--corp-text-subdued);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.catalogue-search-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.inline-form { display: inline; }

/* Stats */
.stats-bar {
  background: var(--corp-navy-deep);
  padding: 1.5rem 0;
  border-top: 1px solid var(--corp-border);
  border-bottom: 1px solid var(--corp-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--corp-text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--corp-text-subdued);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-highlight .stat-value { color: var(--corp-gold); }

/* Trust */
.trust-bar {
  padding: 1rem 0;
  background: var(--corp-navy);
  border-top: 1px solid var(--corp-border);
}

.trust-headline {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--corp-text-muted);
  font-weight: 600;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.trust-logo {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--corp-text-subdued);
  letter-spacing: 0.05em;
}

/* Sections */
.section { padding: 2rem 0 3rem; }

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--corp-platinum);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

/* Episode cards — Spotify podcast row style */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.episode-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}

.episode-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.episode-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg-subtle), var(--accent-subtle));
}

.episode-play-overlay {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(38, 99, 235, 0.35);
}

.episode-card:hover .episode-play-overlay {
  opacity: 1;
  transform: translateY(0);
}

.episode-card {
  background: var(--corp-card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

.episode-card:hover {
  background: var(--corp-card-hover);
  box-shadow: var(--shadow-elevated);
  transform: none;
}

.episode-card-link {
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.episode-card-link:hover .episode-title {
  text-decoration: underline;
}

.course-ribbon {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corp-gold);
  margin-bottom: 0.35rem;
}

.episode-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--corp-text);
  line-height: 1.3;
}

.episode-teaser {
  font-size: 0.8125rem;
  color: var(--corp-text-subdued);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.episode-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  align-items: center;
}

.badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg-subtle);
  color: var(--corp-text-subdued);
  border-radius: 4px;
  font-weight: 600;
}

.badge-muted {
  background: transparent;
  color: var(--corp-text-muted);
}

.ep-num { font-size: 0.7rem; color: var(--corp-text-muted); }

.episode-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

.episode-actions .btn-outline {
  border-color: var(--corp-border);
  color: var(--corp-text-subdued);
}

.episode-actions .btn-outline:hover {
  color: var(--corp-text);
  border-color: var(--corp-text-subdued);
}

/* Featured — large playlist card */
.featured-section {
  background: var(--bg-base);
}

.featured-card-spotify {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 2rem;
  align-items: end;
  padding: 2rem;
  background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--bg-surface) 55%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}

.featured-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.featured-body { min-width: 0; }

.featured-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
}

.featured-card h3 a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--corp-text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.featured-card h3 a:hover { text-decoration: underline; }

.featured-card p {
  color: var(--corp-text-subdued);
  max-width: 600px;
}

.featured-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.course-tile-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.episode-layout-spotify {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.episode-hero-art { grid-row: 1 / span 2; }

.episode-hero-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.episode-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0.25rem 0 1rem;
}

@media (max-width: 768px) {
  .featured-card-spotify,
  .episode-layout-spotify {
    grid-template-columns: 1fr;
  }
  .episode-hero-art { grid-row: auto; max-width: 280px; }
}

/* Courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.course-tile {
  background: var(--corp-card);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: background 0.2s, box-shadow 0.2s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.course-tile:hover {
  background: var(--corp-card-hover);
  box-shadow: var(--shadow-elevated);
}

.course-tile h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--corp-text);
  line-height: 1.3;
}

.course-count {
  font-size: 0.75rem;
  color: var(--corp-text-subdued);
  display: block;
  margin-top: auto;
}

.course-cta {
  font-size: 0.75rem;
  color: var(--corp-text-subdued);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

.course-tile:hover .course-cta { color: var(--accent-text); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 82%, #000) 0%,
    color-mix(in srgb, var(--accent) 62%, #000) 100%
  );
  color: #FFFFFF;
  padding: 3.5rem 0;
  border-top: none;
}

[data-theme="dark"] .cta-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .cta-strip h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .cta-strip p {
  color: var(--text-secondary);
}

[data-theme="dark"] .cta-strip .btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

[data-theme="dark"] .cta-strip .btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

[data-theme="dark"] .cta-strip .btn-outline-light {
  border-color: var(--border);
  color: var(--text-primary);
}

[data-theme="dark"] .cta-strip .btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  background: var(--accent-subtle);
}

[data-theme="dark"] .cta-strip .btn-ghost-light {
  color: var(--text-secondary);
}

[data-theme="dark"] .cta-strip .btn-ghost-light:hover {
  color: var(--text-primary);
}

[data-theme="dark"] .cta-strip .mode-badge,
[data-theme="dark"] .cta-strip .mode-badges span {
  background: var(--bg-subtle);
  border-color: var(--border);
  color: var(--text-secondary);
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.6;
}

.cta-strip .btn-accent {
  background: #FFFFFF;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cta-strip .btn-accent:hover {
  background: var(--bg-subtle);
  transform: scale(1.03);
}

.cta-strip .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.cta-strip .btn-outline-light:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.cta-strip .btn-ghost-light {
  color: rgba(255, 255, 255, 0.75);
}

.cta-strip .btn-ghost-light:hover { color: #FFFFFF; }

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.mode-badge,
.mode-badges span {
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Episode detail */
.breadcrumb {
  padding: 1.5rem 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--corp-text-subdued);
  font-weight: 600;
}

.breadcrumb a {
  color: var(--corp-text-subdued);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--corp-text);
  text-decoration: underline;
}

.episode-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .episode-layout { grid-template-columns: 1fr; }
}

.episode-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--corp-text);
  margin: 0.5rem 0;
  letter-spacing: -0.03em;
}

.episode-teaser-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
}

.topic-overview {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.topic-overview-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.65rem;
}

.topic-overview-body {
  margin: 0;
  color: var(--corp-text-subdued);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 68ch;
}

.episode-about {
  font-size: 0.8rem;
  color: var(--corp-text-muted);
  margin: 0.35rem 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.transcript {
  max-width: 68ch;
  margin-top: 2rem;
  color: var(--corp-text-subdued);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.transcript p { margin-bottom: 1rem; }

.sell-panel {
  background: var(--bg-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
  position: sticky;
  top: 80px;
}

.sell-panel h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.sell-panel .sell-urgency {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  margin: 0 0 0.75rem;
}

/* Enterprise block */
.enterprise-section {
  padding: 4rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--corp-border);
  border-bottom: 1px solid var(--corp-border);
}

.enterprise-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .enterprise-inner { grid-template-columns: 1fr; }
}

.enterprise-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--corp-platinum);
  margin: 0 0 0.75rem;
}

.enterprise-section p {
  color: var(--corp-text-subdued);
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.enterprise-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}

.enrol-pitch { color: var(--corp-text-subdued); }

.takeaways {
  padding-left: 1.2rem;
  margin: 1rem 0;
  color: var(--corp-text-subdued);
}

.takeaways li { margin-bottom: 0.5rem; }

.lead-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--corp-border);
}

.lead-form label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--corp-text-subdued);
}

.lead-form input {
  width: 100%;
  padding: 0.65rem 1rem;
  margin: 0.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--corp-text);
}

.lead-form input::placeholder { color: var(--corp-text-muted); }

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-weight: 600;
  font-size: 0.875rem;
}

.alert-error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.alert-success {
  background: var(--accent-subtle);
  color: var(--accent-hover);
  border: 1px solid rgba(38, 99, 235, 0.25);
}

/* Player — bottom bar */
.global-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--player-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--corp-border);
  color: var(--corp-text);
  z-index: 200;
  box-shadow: var(--player-shadow);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.global-player.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.global-player[hidden] { display: none; }

.player-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #6366f1 55%, #8b5cf6);
}

.player-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--player-height);
  padding: 0.65rem 0;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.player-play-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: transform 0.15s ease, background 0.2s ease;
}

.player-play-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.06);
}

.player-play-btn:active { transform: scale(0.98); }

.player-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.player-play-btn .player-icon-pause {
  display: none;
}

.player-play-btn.is-playing .player-icon-play {
  display: none;
}

.player-play-btn.is-playing .player-icon-pause {
  display: block;
}

.player-meta {
  min-width: 0;
  flex: 1;
}

.player-label {
  font-size: 0.625rem;
  color: var(--accent-text);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.player-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--corp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.player-center {
  min-width: 0;
}

.player-scrub-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.player-scrub-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--player-track-bg);
  cursor: pointer;
  margin: 0;
}

.player-scrub-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-surface);
  box-shadow: 0 1px 4px rgba(38, 99, 235, 0.35);
  transition: transform 0.15s ease;
}

.player-scrub-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.player-scrub-wrap input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-surface);
  box-shadow: 0 1px 4px rgba(38, 99, 235, 0.35);
}

.player-scrub-wrap input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: var(--player-track-bg);
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.player-time {
  font-size: 0.6875rem;
  color: var(--corp-text-muted);
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.player-right {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.player-speed {
  background: var(--bg-subtle);
  color: var(--corp-text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.player-enrol-btn {
  white-space: nowrap;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

.player-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--corp-text-subdued);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.player-close-btn:hover {
  color: var(--corp-text);
  border-color: var(--accent-text);
  background: var(--accent-subtle);
}

@media (max-width: 900px) {
  :root {
    --player-height: 118px;
  }

  .player-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.65rem 0.75rem;
    padding: 0.75rem 0;
  }

  .player-center {
    grid-column: 1 / -1;
    order: 3;
  }

  .player-enrol-btn { display: none; }
}

@media (max-width: 520px) {
  .player-left { gap: 0.65rem; }

  .player-play-btn {
    width: 40px;
    height: 40px;
  }

  .player-icon {
    width: 20px;
    height: 20px;
  }

  .player-title { font-size: 0.8125rem; }
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  color: var(--corp-text-subdued);
  padding: 2.25rem 0;
  font-size: 0.8125rem;
  border-top: 1px solid var(--corp-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-inner > p {
  margin: 0;
  line-height: 1.5;
}

.footer-tagline {
  color: var(--corp-text-muted);
  margin: 0;
  max-width: 520px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-meta {
  color: var(--corp-text-muted);
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
}

.footer-meta a {
  color: var(--corp-text-subdued);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-meta a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

[data-theme="dark"] .site-footer {
  background: var(--bg-base);
  border-top-color: var(--border);
}

[data-theme="dark"] .footer-meta a {
  color: var(--text-secondary);
}

[data-theme="dark"] .footer-meta a:hover {
  color: #fff;
}

.load-more-wrap { text-align: center; margin-top: 2rem; }

.course-header {
  padding: 2rem 0;
  background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--bg-base) 100%);
}

.course-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--corp-text);
  letter-spacing: -0.03em;
}

.course-desc {
  color: var(--corp-text-subdued);
  max-width: 640px;
}

/* Header search */
.header-search {
  flex: 1;
  max-width: 440px;
  margin: 0 1.25rem;
}

.header-search input[type="search"] {
  width: 100%;
  min-width: 260px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--corp-text);
  font-size: 0.9375rem;
}

.header-search input::placeholder { color: var(--corp-text-muted); }

.header-search input[type="search"]:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.15);
}

/* Theme toggle icon button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--corp-text);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  background: var(--accent-subtle);
  transform: scale(1.08);
}

.theme-toggle-btn .theme-icon {
  width: 18px;
  height: 18px;
  display: block;
  transition: opacity 0.2s;
}

.theme-toggle-btn .theme-icon[hidden] {
  display: none !important;
}

.lang-select,
.lang-select-hero {
  background: var(--bg-subtle);
  color: var(--corp-text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-select-hero { min-width: 120px; }

/* Admin */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: var(--corp-card);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
}

.admin-nav-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.admin-table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--corp-border);
}

.admin-table th {
  color: var(--corp-text-subdued);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.admin-table a { color: var(--corp-gold); }

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-input {
  background: var(--bg-surface);
  color: var(--corp-text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
}

.text-muted { color: var(--corp-text-muted); font-size: 0.75rem; }

.admin-edit-form { margin-top: 1rem; }
.admin-field { margin-bottom: 1.5rem; }
.admin-field-highlight {
  padding: 1.25rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(38, 99, 235, 0.2);
  border-radius: var(--radius);
}
.admin-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.admin-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--corp-text-muted);
  margin-top: 0.35rem;
}
.admin-hint code { color: var(--corp-text-subdued); font-size: 0.7rem; }
.admin-input-wide { width: 100%; max-width: 100%; }
.admin-textarea {
  width: 100%;
  min-height: 4rem;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.admin-textarea-tall { min-height: 280px; }
.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--corp-border);
}
.admin-engine-options {
  border: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.admin-engine-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--corp-border);
  border-radius: 8px;
  background: var(--corp-card);
  cursor: pointer;
}
.admin-engine-option input { margin-top: 0.2rem; }
.admin-engine-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-engine-option-body strong { color: var(--text-primary); }

@media (max-width: 900px) {
  .header-search { display: none; }
}

.badge-audio { background: var(--accent); color: #FFFFFF; }
.badge-audio-pending { background: var(--accent-subtle); color: var(--accent-text); }
.badge-ok { background: #DCFCE7; color: #166534; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.badge-warn { background: #FEF3C7; color: #92400E; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.badge-muted { background: var(--corp-card-hover); color: var(--corp-text-subdued); padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; }
.admin-warn { color: var(--corp-gold); display: block; margin-top: 0.5rem; }
.admin-beds-table .admin-bed-upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 280px;
}
.admin-beds-table td { vertical-align: top; }

.checkout-hero { padding-top: 3rem; }
.checkout-options { display: grid; gap: 1rem; margin-top: 2rem; }
.checkout-card {
  background: var(--corp-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.checkout-card h3 { margin: 0 0 0.5rem; font-weight: 800; }
.checkout-card p { color: var(--corp-text-subdued); font-size: 0.9rem; margin: 0 0 1rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Subscription */
.subscription-section {
  padding: 4rem 0;
  background: var(--accent-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.subscription-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .subscription-inner { grid-template-columns: 1fr; }
}

.subscription-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.subscription-section p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.subscription-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
  align-items: stretch;
}

.subscription-price-inline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.subscription-plan {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
  margin-top: 2rem;
}

.subscription-plan-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.subscription-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-text);
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}

.subscription-benefits {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.subscription-benefits li { margin-bottom: 0.35rem; }

.subscription-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* Auth */
.auth-section { padding-top: 2rem; }
.auth-card { max-width: 420px; margin: 0 auto; }
.auth-sub { color: var(--text-secondary); margin-bottom: 1.5rem; }
.auth-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin: 0.35rem 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}
.auth-checkbox { display: block; margin-bottom: 1rem; color: var(--text-secondary); }
.auth-footer { margin-top: 1.5rem; text-align: center; color: var(--text-secondary); }
.auth-logout { margin-top: 3rem; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.partners-grid-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.partner-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.partner-tile:hover {
  border-color: var(--accent-text);
  box-shadow: var(--shadow-elevated);
}
.partner-tile h2, .partner-tile h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
}
.partner-tile p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.partner-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.partner-logo-lg { width: 72px; height: 72px; }
.partner-logo-placeholder {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.partner-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.preview-note {
  color: var(--text-secondary);
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

/* Continue listening */
.continue-listening-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.continue-card {
  flex: 0 0 280px;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.continue-cover {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.library-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.section-title-sm { font-size: 1.35rem; margin-top: 2rem; }

/* Episode locks */
.episode-card-locked .episode-cover-wrap { opacity: 0.85; }
.episode-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  font-size: 1.5rem;
  border-radius: inherit;
}
.badge-preview {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.badge-locked {
  background: #FEF3C7;
  color: #92400E;
}
.transcript-gated {
  padding: 1.25rem;
  background: var(--bg-muted);
  border-radius: var(--radius);
  color: var(--text-secondary);
}
.nav-logout { display: inline; margin: 0; }
.inline-form { display: inline; }

/* ── Episode detail — Prime Video style ── */
.ep-prime-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0c;
}

.ep-prime-hero-video,
.ep-prime-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.9);
}

.ep-prime-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.ep-prime-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0a0a0c 0%, rgba(10,10,12,0.75) 35%, transparent 65%);
  pointer-events: none;
}

[data-theme="dark"] .ep-prime-hero-gradient {
  background: linear-gradient(0deg, var(--bg-base) 0%, rgba(10,10,12,0.75) 35%, transparent 65%);
}

.ep-prime-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2.5rem;
  max-width: 680px;
}

.ep-prime-breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.ep-prime-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.ep-prime-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.ep-prime-breadcrumb span[aria-hidden] {
  margin: 0 0.4rem;
  color: rgba(255,255,255,0.35);
}

.ep-prime-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ep-prime-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 1rem;
  line-height: 1.35;
}

[data-theme="dark"] .ep-prime-subtitle {
  color: var(--accent);
}

.ep-prime-teaser {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 560px;
}

.ep-prime-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}

.ep-prime-course-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-prime-meta-item {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ep-prime-meta-audio {
  color: var(--accent);
}

.ep-prime-meta-row-cast {
  margin-bottom: 1.25rem;
}

.ep-prime-meta-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.ep-prime-meta-value {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.ep-prime-meta-sep {
  color: rgba(255,255,255,0.25);
}

.ep-prime-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ep-prime-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.9375rem;
}

.ep-prime-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.ep-prime-icon-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.ep-prime-locked-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}

.ep-prime-subscribe-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

.ep-prime-sub-logo {
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.ep-prime-sub-price {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Body */
.ep-prime-body {
  padding: 2.5rem 0 3rem;
}

.ep-prime-body-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.ep-prime-section {
  margin-bottom: 2rem;
}

.ep-prime-section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
}

.ep-prime-overview {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0;
}

.ep-prime-takeaways {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ep-prime-takeaways li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ep-prime-takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ep-prime-transcript {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 68ch;
}

.ep-prime-transcript p {
  margin: 0 0 1rem;
}

.ep-prime-gated {
  padding: 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.ep-prime-gated a {
  color: var(--accent);
  font-weight: 600;
}

/* Sidebar */
.ep-prime-sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
}

.ep-prime-sidebar-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.ep-prime-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.65rem;
}

.ep-prime-sidebar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.ep-prime-sidebar-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
}

.ep-prime-sidebar-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

/* Related */
.ep-prime-related {
  padding: 0 0 3rem;
}

@media (max-width: 900px) {
  .ep-prime-body-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ep-prime-hero { min-height: 420px; }
}

@media (max-width: 600px) {
  .ep-prime-hero { min-height: 360px; }
  .ep-prime-title { font-size: 2.25rem; }
  .ep-prime-hero-content { padding: 2rem 0 1.5rem; }
}

/* Prime-style catalog rows — aligned with CourseFM light theme */
.prime-catalog {
  background: var(--bg-base);
  color: var(--corp-text);
  padding: 2rem 0 1.5rem;
  margin-top: 0;
  border-top: 1px solid var(--border);
  overflow: visible;
}

.prime-catalog-row {
  margin-bottom: 2.5rem;
  overflow: visible;
}

.prime-catalog-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.prime-catalog-title {
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--corp-platinum);
  margin: 0;
}

.prime-catalog-see-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  white-space: nowrap;
}

.prime-catalog-see-more:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.prime-catalog-scroller {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.prime-catalog-scroller::-webkit-scrollbar {
  display: none;
}

.prime-catalog-track {
  display: flex;
  gap: 0.35rem;
  overflow: visible;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x proximity;
  width: max-content;
  min-width: 100%;
}

.prime-tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 18vw, 210px);
  scroll-snap-align: start;
  z-index: 1;
}

.prime-tile-hover-zone {
  position: relative;
  z-index: 1;
}

.prime-tile-ranked {
  width: clamp(180px, 22vw, 250px);
  margin-left: 0.25rem;
}

.prime-tile-rank {
  position: absolute;
  left: -0.15rem;
  bottom: 0.35rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(4.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.82;
  color: rgba(15, 23, 42, 0.08);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.prime-tile-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: var(--corp-card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.prime-tile-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.prime-tile-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
}

.prime-tile-poster,
.prime-tile-poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
  filter: brightness(0.88) contrast(1.02);
}

.prime-tile-poster-fallback {
  background: linear-gradient(135deg, var(--bg-subtle), var(--accent-subtle));
}

.prime-tile-video {
  display: none;
}

.prime-tile-brand {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  pointer-events: none;
  box-shadow: none;
}

.prime-tile-brand-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
}

.prime-tile-brand-text {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.prime-tile-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  background: var(--bg-surface);
  color: var(--corp-text);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.prime-tile-expand {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.96);
  width: min(340px, 88vw);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  transform-origin: bottom center;
}

.prime-tile.is-expanded {
  z-index: 50;
}

.prime-tile.is-expanded .prime-tile-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.prime-tile.is-expanded .prime-tile-expand {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.prime-tile.is-expanded .prime-tile-expand[style*="position: fixed"] {
  transform: none;
}

.prime-expand-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
}

.prime-expand-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 10%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.5) 100%);
}

.prime-expand-video,
.prime-expand-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) contrast(1.06) saturate(0.85);
}

.prime-expand-mute {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.prime-expand-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  cursor: default;
}

.prime-expand-mute:hover {
  background: rgba(0, 0, 0, 0.75);
}

.prime-mute-icon-unmuted[hidden],
.prime-mute-icon-muted[hidden] {
  display: none;
}

.prime-expand-body {
  padding: 0.85rem 1rem 1rem;
  background: var(--bg-surface);
}

.prime-expand-title-block {
  margin: 0 0 0.5rem;
}

.prime-expand-headline {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--corp-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prime-expand-subtitle {
  font-size: calc(clamp(0.72rem, 2.2vw, 0.88rem) * var(--prime-type-scale, 1));
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--accent-text);
  margin: 0.35rem 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prime-expand-title-block.is-long .prime-expand-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prime-expand-title-block:not(:has(.prime-expand-subtitle)) .prime-expand-headline {
  font-size: 1.12rem;
  line-height: 1.2;
}

.prime-expand-offer {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--corp-text-subdued);
  margin: 0 0 0.75rem;
}

.prime-offer-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent-text);
}

.prime-expand-course {
  display: none;
}

.prime-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--corp-text);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, border-color 0.15s;
}

.prime-expand-btn-play {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.prime-expand-btn-add {
  background: var(--bg-surface);
}

.prime-expand-btn:hover {
  background: var(--corp-card-hover);
}

.prime-expand-btn-play:hover {
  background: var(--accent-hover);
  color: #fff;
}

.prime-expand-rank {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
  margin: 0 0 0.55rem;
}

.prime-expand-rank-icon {
  flex-shrink: 0;
  color: #059669;
}

.prime-expand-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
}

.prime-meta-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--accent-subtle);
  color: var(--accent-text);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.prime-meta-pill-new {
  background: var(--bg-surface);
  color: var(--corp-text);
  border: 1px solid var(--border);
}

.prime-meta-pill-locked {
  background: #fef3c7;
  color: #92400e;
}

.prime-meta-item {
  font-size: 0.72rem;
  color: var(--corp-text-muted);
}

.prime-meta-item + .prime-meta-item::before,
.prime-meta-pill + .prime-meta-item::before,
.prime-meta-item + .prime-meta-pill::before {
  content: none;
}

.prime-meta-audio {
  display: inline-flex;
  align-items: center;
  color: var(--accent-text);
}

.prime-expand-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--corp-text-subdued);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prime-expand-desc-course {
  color: var(--corp-text);
  font-weight: 600;
}

.section-lead {
  margin: -0.75rem 0 1.25rem;
  color: var(--corp-text-subdued);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .prime-catalog {
    padding-top: 1.5rem;
  }

  .prime-tile-expand {
    width: min(280px, 88vw);
  }

  .prime-tile-ranked {
    width: clamp(165px, 42vw, 210px);
  }

  .prime-tile-rank {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }
}

@media (hover: none) {
  .prime-tile-expand {
    display: none !important;
  }
}

/* --- Immersive playback modal --- */
.immersive-player {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.immersive-player.is-visible {
  opacity: 1;
  visibility: visible;
}

.immersive-player[hidden] {
  display: none !important;
}

body.immersive-open {
  overflow: hidden;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0f;
}

.immersive-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.immersive-bg-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.immersive-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.immersive-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.82) 100%);
  color: #fff;
}

.immersive-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0.75rem;
}

.immersive-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.25rem;
}

.immersive-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  max-width: 48rem;
}

.immersive-close-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.immersive-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.immersive-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 1.5rem 1rem;
  pointer-events: none;
}

.immersive-caption-stage {
  width: min(42rem, 100%);
  max-height: 28vh;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  text-align: center;
  pointer-events: auto;
  overflow: hidden;
}

.immersive-speaker-label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.immersive-caption {
  margin: 0;
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
  max-height: 4.65em;
  overflow: hidden;
}

.caption-word {
  cursor: pointer;
  border-radius: 3px;
  padding: 0.05em 0;
  transition: color 0.12s ease, background 0.12s ease;
}

.caption-word.is-spoken {
  color: rgba(255, 255, 255, 0.72);
}

.caption-word.is-active {
  background: var(--accent, #2663eb);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(38, 99, 235, 0.35);
}

.caption-word:hover {
  background: rgba(255, 255, 255, 0.1);
}

.immersive-sync-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.5rem 0 0;
  text-align: center;
  pointer-events: none;
}

.immersive-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.immersive-play-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--accent, #2663eb);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(38, 99, 235, 0.4);
}

.immersive-play-btn:hover {
  filter: brightness(1.08);
}

.immersive-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.immersive-play-btn .immersive-icon-pause {
  display: none;
}

.immersive-play-btn.is-playing .immersive-icon-play {
  display: none;
}

.immersive-play-btn.is-playing .immersive-icon-pause {
  display: block;
}

.immersive-scrub-wrap {
  flex: 1;
  min-width: 0;
}

.immersive-scrub-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--accent, #2663eb);
}

.immersive-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.immersive-speed {
  flex-shrink: 0;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.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;
}

@media (max-width: 768px) {
  .immersive-header,
  .immersive-body,
  .immersive-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .immersive-caption-stage {
    padding: 1rem 1.1rem;
    max-height: 32vh;
  }

  .immersive-caption {
    font-size: 1.0625rem;
  }

  .immersive-footer {
    flex-wrap: wrap;
  }

  .immersive-scrub-wrap {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .immersive-player {
    transition: none;
  }
}
