@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Dark luxurious palette */
  --bg-primary: #0a0b0d;
  --bg-secondary: #12141a;
  --bg-card: rgba(22, 26, 35, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  /* Vibrant accents */
  --accent-primary: #00ff88;
  --accent-secondary: #00d4aa;
  --accent-glow: rgba(0, 255, 136, 0.15);
  --accent-warm: #ff6b35;
  --accent-purple: #a855f7;
  
  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  
  /* Borders and effects */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 136, 0.3);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(0, 255, 136, 0.15);
  
  /* Spacing */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.site-shell {
  position: relative;
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .site-shell {
    width: calc(100% - 64px);
  }
}

@media (max-width: 1024px) {
  .site-shell {
    width: calc(100% - 48px);
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: calc(100% - 32px);
  }
}

/* Full-bleed wrapper for sections that need edge-to-edge backgrounds */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.full-bleed > .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* Fixed background for episode pages */
body.episode-page {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body.episode-page .page-bg {
  background: var(--bg-primary);
  opacity: 0.4;
}

body.episode-page main {
  background: transparent;
}

body.episode-page .site-footer {
  background: var(--bg-primary);
  position: relative;
  z-index: 10;
}

/* Animated background */
.page-bg {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: -2;
}

body.home-page .page-bg {
  background: linear-gradient(160deg, rgba(20, 30, 34, 0.95) 0%, rgba(10, 11, 13, 1) 55%, rgba(8, 10, 12, 1) 100%);
}

body.home-page .page-bg::before {
  background:
    radial-gradient(ellipse 70% 45% at 15% 15%, rgba(0, 255, 136, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(168, 85, 247, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 85%, rgba(0, 212, 170, 0.07), transparent 65%);
}

body.podcasts-page .page-bg {
  display: none;
}

.page-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 255, 136, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168, 85, 247, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 80%, rgba(0, 212, 170, 0.05), transparent 50%);
  animation: bgFloat 30s ease-in-out infinite;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 1%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

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

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  padding: 28px 0 0;
  position: relative;
  z-index: 100;
  background: transparent;
}

.site-header .nav {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 48px);
  padding-right: clamp(24px, 5vw, 48px);
}

@media (max-width: 1400px) {
  .site-header .nav {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.site-header.compact {
  padding-bottom: 0;
  overflow-x: visible;
}

body.episode-page .site-header {
  background: var(--bg-primary);
  position: relative;
  z-index: 100;
  padding-top: clamp(36px, 4vw, 56px);
}

.site-header.compact .nav {
  position: relative;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo-image {
  width: auto;
  height: 56px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-icon:hover {
  color: var(--accent-primary);
  background: var(--bg-card);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  gap: 8px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 6px;
}

.nav-links a {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-links a:active {
  color: var(--text-primary);
  background: var(--bg-glass);
  transition: none;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.nav-links a.active {
  color: var(--bg-primary);
  background: var(--accent-primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-label {
  font-size: 0.7rem;
  display: none;
}

@media (min-width: 400px) {
  .nav-toggle-label {
    display: inline;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  margin-top: clamp(48px, 8vw, 100px);
  padding: 0 clamp(24px, 5vw, 48px) 80px;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1400px) {
  .hero {
    padding-left: 32px;
    padding-right: 32px;
    gap: 40px;
  }
}

.hero-copy {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 24px;
  color: var(--accent-primary);
  padding: 8px 16px 8px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  width: fit-content;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.75;
}

@media (max-width: 1400px) {
  .hero-lede {
    font-size: 1rem;
    max-width: 420px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: 0 4px 24px rgba(0, 255, 136, 0.3);
}

.btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 255, 136, 0.4);
}

.btn.ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Featured card */
.featured {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.5;
}

.featured:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.featured-label::before {
  content: "★";
  font-size: 0.7rem;
}

.featured img {
  border-radius: var(--radius-md);
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--bg-secondary);
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}

.featured:hover img {
  transform: scale(1.02);
}

.featured-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.featured-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.featured-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   PAGE HERO (for subpages)
   ============================================ */
.page-hero {
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(24px, 5vw, 48px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@media (max-width: 1400px) {
  .page-hero {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero > p:last-child {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px) 120px;
}

@media (max-width: 1400px) {
  main {
    padding-left: 32px;
    padding-right: 32px;
  }
}

body.episode-page main {
  background: transparent;
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 0 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.section-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ============================================
   EPISODE GRID & CARDS
   ============================================ */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (min-width: 1600px) {
  .episode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.episode-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.episode-card:hover::before {
  transform: scaleX(1);
}

.episode-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.episode-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-secondary);
  transition: transform 0.5s ease;
}

.episode-card:hover img {
  transform: scale(1.05);
}

.episode-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.episode-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.episode-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.episode-body > p:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

/* ============================================
   DETAIL PAGE (Episode detail)
   ============================================ */
.site-header.compact {
  padding-bottom: 0;
  overflow: visible;
}

/* Episode Header (Title section without background image) */
.episode-header {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 80px) clamp(40px, 6vw, 60px);
}

.episode-header-content {
  animation: fadeInUp 0.8s ease-out;
}

.episode-header .eyebrow {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.episode-header .eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
}

.episode-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.episode-header .episode-date {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Episode Image Section (comes after video) */
.episode-image-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 50vh;
  margin-top: 60px;
  margin-bottom: 60px;
}

.episode-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 11, 13, 0.3) 0%,
    rgba(10, 11, 13, 0.5) 50%,
    rgba(10, 11, 13, 0.8) 100%
  );
  z-index: 1;
}

/* Override page-hero constraints for episode-hero */
.page-hero.episode-hero {
  max-width: none;
  margin-top: 0;
  animation: none;
  opacity: 1;
}

.episode-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(100px, 12vw, 140px) clamp(24px, 5vw, 48px) clamp(60px, 8vw, 100px);
  margin-top: 0;
  margin-bottom: 0;
  box-sizing: border-box;
}

@media (max-width: 1400px) {
  .episode-hero {
    padding-left: 32px;
    padding-right: 32px;
    min-height: 90vh;
  }
}

/* Ensure header doesn't clip it */
.site-header.compact {
  padding-bottom: 0;
  overflow-x: visible;
  overflow-y: visible;
}

.episode-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 255, 136, 0.05) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.episode-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom, 
    rgba(10, 11, 13, 0.85) 0%,
    rgba(10, 11, 13, 0.7) 30%,
    rgba(10, 11, 13, 0.6) 60%, 
    rgba(10, 11, 13, 0.5) 85%,
    rgba(10, 11, 13, 0.4) 100%
  );
  z-index: 2;
}

.episode-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
  animation: fadeInUp 0.8s ease-out;
  align-self: flex-start;
}

.episode-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-episodes-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 255, 136, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-episodes-link:hover {
  background: rgba(0, 255, 136, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 255, 136, 0.2);
}

.episode-hero .video-section {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  width: 100%;
  margin: 20px auto 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.episode-hero .eyebrow {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.episode-hero .eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
}

.episode-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.episode-hero .episode-date {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Episode Detail Section */
.episode-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

/* Episode content card - merged video and text */
.episode-content-card {
  position: relative;
  z-index: 4;
  max-width: calc(1200px - clamp(40px, 8vw, 80px));
  width: 100%;
  margin: 20px auto 0;
  background: linear-gradient(135deg, rgba(22, 24, 28, 0.85) 0%, rgba(18, 20, 24, 0.92) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.episode-content-card .video-section {
  margin: 0 0 clamp(24px, 4vw, 40px) 0;
}

.episode-content-card .video-wrapper {
  margin: 0;
}

.episode-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.episode-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
}

.episode-text p:first-of-type {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.85;
  padding-left: 24px;
  border-left: 3px solid var(--accent-primary);
}

/* YouTube Video Embed */
.video-section {
  margin-bottom: 0;
  margin-top: 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Video section when inside hero */
.episode-hero .video-section {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1100px;
}

.video-wrapper {
  position: relative;
  padding: 3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  box-shadow: 
    0 0 60px rgba(0, 255, 136, 0.15),
    0 25px 50px rgba(0, 0, 0, 0.5);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Detail Content */
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.detail-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 24, 28, 0.75) 0%, rgba(18, 20, 24, 0.85) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
}

.detail-card .video-section {
  margin-top: 0;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  opacity: 0.5;
}

.detail-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.95;
}

.detail-card p:first-of-type {
  position: relative;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-primary);
  line-height: 1.85;
  font-weight: 400;
  padding-left: 28px;
  border-left: 3px solid var(--accent-primary);
}

.equipment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.equipment-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.equipment-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.equipment-list li a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.equipment-list li a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.equipment-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Episode Navigation */
.episode-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.episode-nav-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.episode-nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.episode-nav-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 
    0 8px 32px rgba(0, 255, 136, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.episode-nav-btn:hover::before {
  opacity: 1;
}

.episode-nav-btn.prev {
  justify-content: flex-start;
}

.episode-nav-btn.next {
  justify-content: flex-end;
  text-align: right;
}

.episode-nav-btn svg {
  flex-shrink: 0;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.episode-nav-btn.prev:hover svg {
  transform: translateX(-4px);
}

.episode-nav-btn.next:hover svg {
  transform: translateX(4px);
}

.episode-nav-btn span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.episode-nav-btn .nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  font-weight: 600;
}

.episode-nav-btn .nav-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.episode-nav-btn:hover .nav-title {
  color: var(--text-primary);
}

/* Detail Actions */
.detail-actions {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.detail-actions .btn {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  /* Remove body background on mobile - only use hero background */
  body.episode-page {
    background-image: none !important;
  }
  
  /* Ensure header is visible on mobile episode pages */
  body.episode-page .site-header {
    background: var(--bg-primary);
    position: relative;
    z-index: 100;
  }
  
  body.episode-page .site-header .nav {
    position: relative;
    z-index: 101;
  }
  
  .episode-hero {
    min-height: auto;
    background-attachment: scroll;
    padding: 80px 16px 32px;
  }
  
  .episode-hero-content {
    padding: 0;
  }
  
  .episode-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .btn-episodes-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .episode-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .episode-hero .eyebrow {
    font-size: 0.75rem;
  }
  
  .episode-hero .eyebrow::before {
    width: 24px;
  }
  
  /* Simplify content card on mobile - remove box styling */
  .episode-content-card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    margin: 24px auto 0;
    max-width: 100%;
  }
  
  .episode-content-card .video-section {
    margin: 0 0 20px 0;
  }
  
  /* Simplify video wrapper - remove gradient border */
  .video-wrapper {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  
  .video-container {
    border-radius: 12px;
  }
  
  .episode-text {
    gap: 16px;
  }
  
  .episode-text p {
    font-size: 0.95rem;
    line-height: 1.75;
  }
  
  .episode-detail {
    margin-top: 0;
    padding: 24px 16px;
    background: var(--bg-primary);
  }
  
  .detail-content {
    padding: 0;
  }
  
  .episode-navigation {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  
  .episode-nav-btn {
    padding: 16px;
  }
  
  .episode-nav-btn.next {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
  
  .detail-card {
    padding: 20px;
  }
  
  .detail-card p:first-of-type {
    padding-left: 16px;
    font-size: 1rem;
  }
  
  .detail-card p {
    font-size: 0.95rem;
  }
}

.episode-nav-placeholder {
  flex: 1;
}

/* Episode navigation - hidden */
.episode-nav {
  display: none;
}

/* ============================================
   ABOUT / SUBSCRIBE / CONTACT GRIDS
   ============================================ */
.about-grid,
.subscribe-grid,
.contact-grid,
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card,
.subscribe-card,
.contact-card,
.about-contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before,
.subscribe-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::before,
.subscribe-card:hover::before {
  opacity: 1;
}

.about-card:hover,
.subscribe-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.about-card h3,
.contact-card h3,
.about-contact-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.about-card p,
.contact-card p,
.about-contact-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.contact-links a {
  color: var(--accent-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--text-primary);
}

.subscribe-card {
  cursor: pointer;
}

.subscribe-card span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subscribe-card span::before {
  content: "→";
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.subscribe-card:hover span::before {
  transform: translateX(4px);
}

.subscribe-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card a {
  color: var(--accent-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-card a::before {
  content: "↗";
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.contact-card a:hover {
  color: var(--text-primary);
}

.contact-card a:hover::before {
  transform: translate(2px, -2px);
}

.contact-card.highlight {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  color: var(--bg-primary);
}

.contact-card.highlight h3 {
  color: var(--bg-primary);
}

.contact-card.highlight p {
  color: rgba(0, 0, 0, 0.7);
}

.contact-card.highlight .btn {
  background: var(--bg-primary);
  color: var(--accent-primary);
  margin-top: 8px;
}

.contact-card.highlight .btn:hover {
  background: var(--bg-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px clamp(24px, 5vw, 48px) 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

@media (max-width: 1400px) {
  .site-footer .footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-col {
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  width: auto;
  height: auto;
  max-width: 250px;
  max-height: 250px;
  object-fit: contain;
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a:not(.social-icon):not(.footer-logo) {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:not(.social-icon):not(.footer-logo):hover {
  color: var(--accent-primary);
}

.footer-social-col {
  gap: 12px;
}

.footer-social-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social-header h4 {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
}

.footer-social .social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  margin-top: 4px;
}

.footer-social-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-social-links a:hover {
  color: var(--accent-primary);
}

.footer-copyright {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legacy support */
.footer-brand,
.footer-note,
.footer-left,
.footer-right,
.footer-about,
.footer-links {
  display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations for cards */
.episode-card:nth-child(1) { animation-delay: 0.05s; }
.episode-card:nth-child(2) { animation-delay: 0.1s; }
.episode-card:nth-child(3) { animation-delay: 0.15s; }
.episode-card:nth-child(4) { animation-delay: 0.2s; }
.episode-card:nth-child(5) { animation-delay: 0.25s; }
.episode-card:nth-child(6) { animation-delay: 0.3s; }
.episode-card:nth-child(7) { animation-delay: 0.35s; }
.episode-card:nth-child(8) { animation-delay: 0.4s; }

.about-card:nth-child(1),
.subscribe-card:nth-child(1),
.contact-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2),
.subscribe-card:nth-child(2),
.contact-card:nth-child(2) { animation-delay: 0.15s; }
.about-card:nth-child(3),
.subscribe-card:nth-child(3),
.contact-card:nth-child(3) { animation-delay: 0.2s; }
.about-card:nth-child(4),
.subscribe-card:nth-child(4) { animation-delay: 0.25s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .featured {
    max-width: 100%;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-grid img {
    position: static;
  }
}

@media (max-width: 768px) {
  .featured {
    padding: 16px;
    gap: 14px;
  }
  
  .featured-label {
    font-size: 0.75rem;
  }
  
  .featured-body {
    gap: 10px;
  }
  
  .featured-body h3 {
    font-size: 1.25rem;
    line-height: 1.35;
  }
  
  .featured-body p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  .featured-date {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .featured {
    padding: 14px;
  }
  
  .featured-body h3 {
    font-size: 1.15rem;
  }
  
  .featured-body p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .logo {
    order: 1;
  }

  .logo-image {
    height: 36px;
  }

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

  .nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    display: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    margin-top: 8px;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    text-align: center;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--bg-glass);
  }
  
  .nav-links a.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }

  .header-social {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    display: none;
    padding: 12px 0 4px;
    gap: 16px;
  }

  body.nav-open .nav-links,
  body.nav-open .header-social {
    display: flex;
  }
  
  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  
  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  
  body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  
  .nav-toggle-bar {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .hero-copy h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 32px;
  }
  
  .episode-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-social-links {
    align-items: flex-start;
  }
  
  .footer-copyright {
    text-align: left;
  }
  
  .detail-card .btn {
    width: auto;
  }
  
  .episode-hero {
    min-height: 50vh;
    padding: 60px 24px;
  }
  
  .episode-navigation {
    flex-direction: column;
  }
  
  .episode-nav-btn {
    width: 100%;
    min-width: auto;
  }
  
  .episode-nav-btn.prev,
  .episode-nav-btn.next {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 20px 16px 0;
  }
  
  /* Ensure episode page header is visible on small screens */
  body.episode-page .site-header {
    padding: 16px 16px 0;
    background: var(--bg-primary);
  }
  
  main {
    padding: 0 16px 60px;
  }
  
  .logo-text {
    display: none;
  }
  
  .section {
    padding: 60px 0 0;
  }
  
  /* Episode page - even simpler on small screens */
  .episode-hero {
    padding: 70px 12px 24px;
  }
  
  .episode-hero h1 {
    font-size: 1.4rem;
    line-height: 1.25;
  }
  
  .episode-hero .episode-date {
    font-size: 0.8rem;
  }
  
  .episode-content-card {
    margin: 20px auto 0;
  }
  
  .episode-text p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .episode-detail {
    padding: 20px 12px;
  }
  
  .episode-nav-btn {
    padding: 12px;
  }
  
  .nav-title {
    font-size: 0.85rem;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .page-bg::before {
    animation: none;
  }
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

::-moz-selection {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 10px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   STUDIO PAGE STYLES
   ============================================ */

/* Studio Hero */
.studio-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 120px) clamp(24px, 5vw, 48px);
  overflow: hidden;
  width: 100%;
}

@media (max-width: 1400px) {
  .studio-hero {
    padding: 60px 32px 80px;
  }
}

.studio-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  z-index: 1;
}

.studio-hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 800px;
}

.studio-hero-content {
  text-align: center;
}

.studio-hero-content .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.studio-hero-content .hero-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

/* Studio Hero CTA Card */
.studio-hero-cta-card {
  width: 100%;
  max-width: 680px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.studio-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.studio-hero h1 .accent {
  color: var(--accent-primary);
  display: block;
}

.studio-hero .hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.studio-cta-card--hero {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 5vw, 48px);
  gap: 24px;
  text-align: left;
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.10) 0%, rgba(22, 24, 28, 0.95) 35%, rgba(18, 20, 24, 0.98) 100%);
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 
    0 0 60px rgba(0, 255, 136, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-cta-card--hero::before {
  width: 300px;
  height: 300px;
  top: -40%;
  right: -30%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
}

.studio-cta-card--hero .studio-cta-content {
  margin-bottom: 8px;
}

.studio-cta-card--hero .studio-cta-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.studio-cta-card--hero .studio-cta-content h2::after {
  display: none;
}

.studio-cta-card--hero .studio-cta-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.studio-cta-card--hero .studio-cta-note {
  color: var(--accent-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.studio-cta-card--hero .studio-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.studio-cta-card--hero .btn-studio-primary {
  width: 100%;
  justify-content: center;
  padding: 18px 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.studio-cta-card--hero .studio-cta-tagline {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
  text-align: center;
}

/* Studio Orbs */
.studio-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.studio-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.studio-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.studio-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  top: 50%;
  right: 20%;
  animation-delay: -7s;
}

.studio-orb-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-warm);
  bottom: 20%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-20px, 20px) scale(1.05); }
  50% { transform: translate(10px, -15px) scale(0.95); }
  75% { transform: translate(-15px, -10px) scale(1.02); }
}

/* Studio Main */
.studio-main {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
}

.studio-section {
  padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .studio-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.studio-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.studio-section-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.studio-section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Equipment Grid */
.studio-equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .studio-equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .studio-equipment-grid {
    grid-template-columns: 1fr;
  }
}

/* Studio Card */
.studio-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.studio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.studio-card:hover::before {
  opacity: 1;
}

.studio-card-featured {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-color: rgba(0, 255, 136, 0.2);
}

.studio-card-featured::before {
  opacity: 1;
}

.studio-card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.studio-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-primary);
}

.studio-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.studio-card-highlight {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px !important;
}

.studio-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.studio-card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.studio-card-link:hover {
  color: var(--accent-primary);
}


.studio-visual-number {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.studio-visual-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.studio-cta {
  padding-bottom: clamp(40px, 6vw, 60px);
}

.studio-cta-card {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.studio-cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .studio-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.studio-cta-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.studio-cta-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.studio-cta-note {
  color: var(--accent-primary) !important;
  font-weight: 500;
}

.studio-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 900px) {
  .studio-cta-actions {
    align-items: center;
  }
}

.btn-studio-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 20px rgba(0, 255, 136, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-studio-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.btn-studio-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(0, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-studio-primary:active {
  transform: translateY(0);
}

.btn-studio-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.studio-cta-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero */
.contact-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 48px) clamp(40px, 6vw, 60px);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .contact-hero {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.contact-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-hero .hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Main */
.contact-main {
  position: relative;
  z-index: 5;
}

.contact-section {
  padding: clamp(30px, 5vw, 50px) clamp(24px, 5vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .contact-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(64px, 10vw, 140px);
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-container {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* Contact Info */
.contact-info h2 {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 255, 136, 0.05);
  transform: translateX(4px);
}

.contact-social-link svg {
  flex-shrink: 0;
  color: var(--accent-primary);
}

.contact-social-link span {
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.25);
  align-self: flex-start;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.4);
}

.btn-contact-submit svg {
  flex-shrink: 0;
}

.hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
