:root {
  /* Cool haze palette */
  --bg-color: #DDE2F4; /* Blue-purple studio haze */
  --bg-alt: #C9D0EA;   /* Deeper cool mist for alternating sections */
  --bg-haze-1: rgba(174,184,221,0.56);
  --bg-haze-2: rgba(215,203,235,0.48);
  --bg-haze-3: rgba(239,242,252,0.62);
  --text-dark: #111111; /* Almost black */
  --text-muted: #555555;
  --gold: #D4AF37;      /* Classic Gold */
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Outfit', sans-serif;
}

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

html {
  background:
    radial-gradient(circle at 14% 8%, var(--bg-haze-2), transparent 34rem),
    radial-gradient(circle at 88% 18%, var(--bg-haze-1), transparent 38rem),
    linear-gradient(135deg, var(--bg-haze-3) 0%, var(--bg-color) 48%, var(--bg-alt) 100%);
  color: var(--text-dark);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(221,226,244,0.18) 42%, rgba(190,199,229,0.32) 100%);
}

/* Lang Toggle Logic */
body[data-lang="en"] .lang-es { display: none !important; }
body[data-lang="es"] .lang-en { display: none !important; }

/* Top Navigation */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 4rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(221, 226, 244, 0.76);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: padding 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.top-nav.is-scrolled {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(221, 226, 244, 0.9);
  box-shadow: 0 14px 35px rgba(67, 75, 112, 0.12);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
}

.lang-toggle {
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.1em;
  padding: 0.55rem 0.85rem;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 50%;
  background: rgba(255,255,255,0.36);
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--text-dark);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span + span {
  margin-top: 0.27rem;
}

.top-nav.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.27rem) rotate(45deg);
}

.top-nav.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.top-nav.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.27rem) rotate(-45deg);
}

#voice-reel,
#work,
#about,
#coaching {
  scroll-margin-top: 100px;
}

.lang-opt { transition: color 0.3s; }
.lang-opt.active { color: var(--gold); font-weight: 500; }
.lang-opt:hover { color: var(--gold); }

/* Utility Classes */
.gold-text { color: var(--gold); }
.serif-title { font-family: var(--font-serif); font-size: 3rem; font-weight: 400; margin-bottom: 0.5rem; }
.serif-subtitle { font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--text-muted); font-weight: 300; margin-bottom: 2rem; }

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 120px 4% 0 4%; /* Space for top nav */
  background:
    radial-gradient(circle at 78% 24%, rgba(166,176,217,0.48), transparent 34rem),
    radial-gradient(circle at 16% 70%, rgba(220,204,235,0.42), transparent 30rem);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  line-height: 0.84;
  letter-spacing: 0;
  max-width: 8ch;
}

.hero-statement {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 3.25rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  max-width: 28rem;
}

.statement-line-1,
.statement-line-2 {
    opacity: 0;
    animation: fadeIn 800ms ease-in forwards;
}
.statement-line-1 { animation-delay: 800ms; }
.statement-line-2 { animation-delay: 1400ms; font-size: 1.05em; font-style: italic; } /* Optical weight adjustment */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem 2rem;
  margin-bottom: 4rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  min-width: 5.5rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 1.4;
  opacity: 0; /* Will fade in via JS after counter */
  transition: opacity 400ms ease;
}
.stat-label.is-visible {
  opacity: 1;
}

.stat-category,
.stat-descriptor {
  display: block;
}

.stat-category {
  color: var(--text-dark);
  font-weight: 600;
}

.stat-descriptor {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  transition: background-color 300ms;
}

/* Trace effect */
.btn-primary::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 1px;
  background: white; transition: width 150ms ease-in-out;
}
.btn-primary::after {
  content: ''; position: absolute;
  bottom: 0; right: 0; width: 1px; height: 0;
  background: white; transition: height 150ms ease-in-out;
}

.btn-primary:hover {
  background-color: #A38528; /* 10% darker */
  border-color: #A38528;
}
.btn-primary:hover::before { width: 100%; }
.btn-primary:hover::after { height: 100%; transition-delay: 150ms; }

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--text-muted);
  transition: all 200ms ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-image-container {
  width: 100%;
  height: 85vh;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateZ(0);
}

/* Sections Base */
.work-section, .text-section, .voice-reel-section {
  padding: 8rem 4rem;
  width: 100%;
}

.work-section,
#about,
#coaching {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.alt-bg {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(201,208,234,0.78)),
    var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

/* Voice Reel */
.voice-reel-section {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background:
    radial-gradient(circle at 78% 32%, rgba(161,173,216,0.56), transparent 30rem),
    linear-gradient(90deg, rgba(212,175,55,0.07), transparent 32%, rgba(132,144,196,0.24) 100%),
    var(--bg-color);
}

.voice-reel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 4rem;
  align-items: center;
}

.voice-reel-copy .serif-title {
  max-width: 10ch;
  margin-bottom: 1rem;
}

.voice-reel-copy .serif-subtitle {
  max-width: 28rem;
  margin-bottom: 0;
}

.voice-player {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: end;
  padding: 0.5rem 0 0;
  overflow: hidden;
  min-height: 230px;
  color: var(--text-dark);
}

.voice-player::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.8), rgba(17,17,17,0.22), transparent);
}

.voice-player::after {
  content: "REEL";
  position: absolute;
  right: -0.18em;
  top: -0.38em;
  z-index: 0;
  color: rgba(212,175,55,0.08);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 14vw, 13rem);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.voice-play {
  width: 118px;
  height: 118px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.14);
  background: #111;
  color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 22px 44px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  z-index: 2;
}

.voice-play:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: var(--gold);
  color: #111;
  box-shadow: 0 26px 55px rgba(0,0,0,0.22);
}

.voice-play-icon {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
  margin-left: 4px;
}

.voice-play-text {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.voice-player.is-playing .voice-play-icon {
  width: 14px;
  height: 18px;
  border: 0;
  margin-left: 0;
  background:
    linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.voice-track {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.voice-player-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.voice-player-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--gold);
}

.voice-time {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.voice-progress {
  display: block;
  width: 100%;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,0.14);
  overflow: hidden;
  cursor: pointer;
  margin-top: 0.9rem;
}

.voice-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.voice-waveform {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: clamp(5px, 0.8vw, 11px);
  align-items: end;
  height: clamp(92px, 13vw, 150px);
  opacity: 1;
}

.voice-waveform span {
  display: block;
  height: 35%;
  background: linear-gradient(to top, rgba(17,17,17,0.22), rgba(17,17,17,0.52));
  border-radius: 999px 999px 0 0;
  transform-origin: bottom;
  transition: background-color 200ms ease, transform 200ms ease;
}

.voice-waveform span:nth-child(2n) { height: 70%; }
.voice-waveform span:nth-child(3n) { height: 48%; }
.voice-waveform span:nth-child(5n) { height: 88%; }
.voice-waveform span:nth-child(7n) { height: 62%; }
.voice-waveform span:nth-child(11n) { height: 96%; }

.voice-player:hover .voice-waveform span,
.voice-player.is-playing .voice-waveform span {
  background: linear-gradient(to top, rgba(212,175,55,0.5), rgba(212,175,55,0.95));
  animation: reelPulse 900ms ease-in-out infinite alternate;
}

.voice-player:not(.is-playing):hover .voice-waveform span {
  animation-duration: 1200ms;
}

.voice-player.is-playing .voice-waveform span:nth-child(2n) { animation-delay: 120ms; }
.voice-player.is-playing .voice-waveform span:nth-child(3n) { animation-delay: 240ms; }
.voice-player.is-playing .voice-waveform span:nth-child(5n) { animation-delay: 360ms; }
.voice-player:hover .voice-waveform span:nth-child(2n) { animation-delay: 120ms; }
.voice-player:hover .voice-waveform span:nth-child(3n) { animation-delay: 240ms; }
.voice-player:hover .voice-waveform span:nth-child(5n) { animation-delay: 360ms; }

.voice-player-cue {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.voice-player.is-playing .voice-player-cue {
  color: rgba(212,175,55,0.9);
}

@keyframes reelPulse {
  from { transform: scaleY(0.62); }
  to { transform: scaleY(1); }
}

/* The Dynamic Accordion Panels */
.dynamic-accordion {
  display: flex;
  height: 65vh;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  gap: 15px;
  align-items: center;
}

.panel {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--text-dark);
  transition: flex 350ms ease-in-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.panel::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  z-index: 0;
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  filter: blur(18px) grayscale(35%) brightness(0.42);
  transform: scale(1.08);
}

.panel-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background-image: var(--panel-image);
  background-size: var(--rest-bg-size, cover);
  background-repeat: no-repeat;
  background-position: var(--rest-bg-position, center);
  filter: grayscale(30%) brightness(0.7);
  transition: all 350ms ease-in-out;
}

/* Sound Wave Icon */
.sound-wave {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  opacity: 0.4;
  transition: opacity 350ms ease-in-out;
  z-index: 10;
}
.sound-wave .bar {
  width: 4px;
  background-color: var(--gold);
  border-radius: 2px;
  animation: pulseBar 1.2s infinite ease-in-out;
}
.sound-wave .bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.sound-wave .bar:nth-child(2) { height: 24px; animation-delay: 0.2s; }
.sound-wave .bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }

@keyframes pulseBar {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* Hover Interaction */
.dynamic-accordion:hover .panel {
  flex: 0.8; /* Adjacent panels compress */
  filter: grayscale(60%) brightness(0.5);
}

.dynamic-accordion .panel:hover {
  flex: 1.4; /* Approx 1.4x expansion */
  filter: grayscale(0) brightness(1);
}

.panel:hover .panel-bg {
  background-size: var(--hover-bg-size, cover);
  background-position: var(--hover-bg-position, center);
  filter: grayscale(0%) brightness(1);
}

.panel:hover .sound-wave,
.panel.is-playing .sound-wave {
  opacity: 1;
}
.panel:hover .sound-wave .bar,
.panel.is-playing .sound-wave .bar {
  animation-duration: 0.6s; /* Faster heartbeat on hover/play */
}

/* Overlay and Text inside Panels */
.panel-overlay {
  position: absolute;
  top: 24%; left: 0; right: 0; bottom: 0;
  z-index: 12;
  background:
    radial-gradient(ellipse at 35% 78%, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.42) 34%, transparent 68%),
    linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.72) 34%, rgba(8,8,8,0.26) 68%, transparent 100%);
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}

.panel:hover .panel-overlay {
  opacity: 1;
}

.panel-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
  padding-left: 5rem; /* space for the sound icon */
  color: #fff;
  opacity: 0;
  z-index: 20;
  transform: translateY(20px);
  transition: transform 350ms ease-in-out, opacity 350ms ease-in-out;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75), 0 1px 2px rgba(0,0,0,0.95);
}

.panel:hover .panel-content {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; flex: 1 !important; }
  .dynamic-accordion:hover .panel { flex: 1; filter: none; }
  .dynamic-accordion .panel:hover { flex: 1; filter: none; }
  .sound-wave .bar { animation: none; transform: scaleY(0.8); }
}

.panel-header {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  color: var(--gold);
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 0.5rem;
  max-width: 11ch;
}

.panel-title small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  display: block;
  margin-top: 0.5rem;
}

.panel-details {
  font-size: 0.85rem;
  opacity: 0.95;
  margin-top: 1rem;
}

.btn-panel-sample {
  white-space: nowrap;
  display: inline-block;
  position: relative;
  z-index: 50;
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  background-color: var(--gold);
  color: #111;
  border: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  pointer-events: auto;
}

.btn-panel-sample:hover {
  background-color: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* Text Sections (About, Coaching) */
.text-container {
  max-width: 1200px;
  margin: 0 auto;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.columns-2 p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.credentials-list {
  list-style: none;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
}

.credentials-list li {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.cta-box {
  background-color: var(--bg-color);
  padding: 3rem;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: var(--text-dark);
  color: var(--bg-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  transition: all 0.4s;
  border: 1px solid var(--text-dark);
}

.btn:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .top-nav { flex-direction: column; gap: 1rem; padding: 1rem 2rem; text-align: center; }
  .nav-links { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

  #voice-reel,
  #work,
  #about,
  #coaching {
    scroll-margin-top: 160px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  
  .hero-copy {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
  
  .hero-statement {
    border-left: none;
    padding-left: 0;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .hero-image-container {
    height: 60vh;
  }

  .voice-reel-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .voice-reel-copy .serif-title,
  .voice-reel-copy .serif-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .dynamic-accordion { 
    flex-direction: column; 
    align-items: stretch;
    height: auto; 
    gap: 0;
  }
  .panel {
    width: 100%;
    min-height: 280px;
    flex: none !important;
  }
  .dynamic-accordion:hover .panel { filter: none; }
  .panel:hover { flex: none !important; }
  .columns-2 { grid-template-columns: 1fr; gap: 2rem; }

  /* Make panel content and overlay always visible on mobile */
  .panel-content {
    opacity: 1;
    transform: translateY(0);
    padding: 1.5rem;
    padding-left: 4.5rem;
  }
  .panel-overlay {
    opacity: 1; /* Fully visible overlay for text legibility */
    background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.5) 100%);
  }

  /* Hide overlay and text content when video is playing on mobile */
  .panel:has(.video-toggle.is-playing) .panel-overlay,
  .panel:has(.video-toggle.is-playing) .panel-header,
  .panel:has(.video-toggle.is-playing) .panel-title,
  .panel:has(.video-toggle.is-playing) .panel-details {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Let clicks pass through the content area to the video player controls */
  .panel:has(.video-toggle.is-playing) .panel-content {
    pointer-events: none !important;
  }

  /* Reposition the close button to the top-right corner as a minimal circular X */
  .panel:has(.video-toggle.is-playing) .video-toggle {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    margin-top: 0 !important;
    z-index: 99 !important;
    pointer-events: auto !important;
    
    /* Make it a small semi-transparent circle */
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    
    /* Hide the "Close Trailer" text and only show the X */
    font-size: 0 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .panel:has(.video-toggle.is-playing) .video-toggle::before {
    content: "✕" !important;
    font-size: 1.2rem !important;
    font-weight: 300 !important;
  }
}

@media (max-width: 768px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 0.85rem 1rem;
    text-align: left;
  }
  .nav-controls {
    grid-column: 2;
    grid-row: 1;
  }
  .menu-toggle {
    display: grid;
  }
  .nav-links {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 220ms ease, padding-top 220ms ease;
  }
  .top-nav.menu-open .nav-links {
    max-height: 18rem;
    padding-top: 1rem;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.82rem 0;
    border-top: 1px solid rgba(17,17,17,0.08);
    font-size: 0.78rem;
  }
  .nav-brand {
    font-size: 1.3rem;
  }

  #voice-reel,
  #work,
  #about,
  #coaching {
    scroll-margin-top: 86px;
  }
  
  .hero-section {
    padding-top: 88px; /* Space for compact fixed nav */
  }

  .hero-title {
    font-size: 3.8rem;
  }
  
  .hero-statement {
    font-size: 1.4rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item {
    flex: 0 1 calc(50% - 1rem);
    align-items: center;
  }

  .stat-label {
    text-align: center;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }

  .work-section, .text-section, .voice-reel-section {
    padding: 4rem 1.5rem;
  }

  .voice-player {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1.5rem;
    text-align: left;
  }

  .voice-track {
    width: 100%;
  }

  .voice-player-topline {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .serif-title {
    font-size: 2.2rem;
  }
  
  .serif-subtitle {
    font-size: 1.1rem;
  }
  
  .panel-title {
    font-size: 1.8rem;
  }
  
  .panel-content {
    padding: 1.2rem;
    padding-left: 3.8rem;
  }
  
  .sound-wave {
    bottom: 1.2rem;
    left: 1.2rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 24%, rgba(255,255,255,0.44), transparent 26rem),
        radial-gradient(circle at 86% 12%, rgba(157,168,212,0.42), transparent 30rem),
        linear-gradient(180deg, rgba(221,226,244,0.22), rgba(201,208,234,0.76));
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(212,175,55,0.14), transparent 18%, transparent 82%, rgba(255,255,255,0.18)),
        repeating-linear-gradient(90deg, rgba(17,17,17,0.025) 0 1px, transparent 1px 11rem);
    opacity: 0.75;
}

.about-container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
    margin-top: 3.5rem;
}

.about-story {
    position: relative;
    max-width: 760px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.about-story.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-story::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 2px;
    height: min(100%, 24rem);
    background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0));
}

.about-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-quote {
    max-width: 740px;
    margin: 0 0 2rem;
    font-family: var(--font-serif);
    font-size: clamp(3.1rem, 7vw, 6.6rem);
    font-weight: 400;
    line-height: 0.92;
    color: var(--text-dark);
}

.about-copy {
    display: grid;
    gap: 1.35rem;
    max-width: 690px;
}

.about-copy p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(17,17,17,0.78);
}

.about-signature {
    margin-top: 2rem;
    font-family: 'Caveat', cursive;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1;
    color: rgba(128, 105, 27, 0.9);
    transform: rotate(-2deg);
}

.credentials-card {
    position: sticky;
    top: 7.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.32);
    border: 1px solid rgba(17,17,17,0.08);
    border-top: 4px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(67, 75, 112, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials-list li {
    display: grid;
    grid-template-columns: 0.55rem 1fr;
    gap: 0.8rem;
    align-items: baseline;
    padding: 1rem 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(17,17,17,0.08);
    color: rgba(17,17,17,0.82);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms ease-out, transform 400ms ease-out, color 200ms ease;
    cursor: default;
}

.credentials-list li::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    margin-top: 0.2rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

.credentials-list li:hover {
    color: var(--text-dark);
}

.credentials-list.is-visible li {
    opacity: 1;
    transform: translateY(0);
}

.credentials-list.is-visible li:nth-child(1) { transition-delay: 120ms; }
.credentials-list.is-visible li:nth-child(2) { transition-delay: 220ms; }
.credentials-list.is-visible li:nth-child(3) { transition-delay: 320ms; }
.credentials-list.is-visible li:nth-child(4) { transition-delay: 420ms; }
.credentials-list.is-visible li:nth-child(5) { transition-delay: 520ms; }
.credentials-list.is-visible li:nth-child(6) { transition-delay: 620ms; }

.credentials-list li:last-child {
    border-bottom: none;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .credentials-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .about-grid {
        margin-top: 2.5rem;
    }

    .about-story::before {
        left: 0;
        top: -1rem;
        width: 4rem;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), rgba(212,175,55,0));
    }

    .about-quote {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .about-copy p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .credentials-card {
        padding: 1.35rem;
    }

    .credentials-list li {
        font-size: 0.94rem;
    }
}

/* Global Animations Layer */
.mask-sweep {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.mask-sweep::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--gold);
    transform: translateX(0);
    transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 2;
}
.mask-sweep.alt-bg-sweep::after { background-color: var(--bg-alt); }
.mask-sweep.is-visible::after {
    transform: translateX(101%);
}

.pulse-text {
    animation: breathPulse 4s infinite ease-in-out;
}
@keyframes breathPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.gold-thread-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s;
    mix-blend-mode: exclusion;
}
@media (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
    .gold-thread-cursor { display: none !important; }
}
