/* ============================================================
   LightHouse Shala — Design System
   Inspired by Deepak Chopra's calm/cream aesthetic + Noelia's
   brand palette (orange · blue · green · violet).
   ============================================================ */

:root {
  /* Brand palette */
  --c-orange:   #E89A5B;
  --c-orange-deep: #C97A3C;
  --c-blue:     #3AA6D6;
  --c-blue-deep:#1E6C95;
  --c-green:    #7A9B6E;
  --c-green-deep:#4F6A47;
  --c-violet:   #9B7BB8;
  --c-violet-deep:#6E5288;
  --c-coral:    #E97F8E;

  /* Neutrals — warm cream like Chopra */
  --c-cream:    #F5EFE6;
  --c-cream-soft: #EDE5D8;
  --c-cream-dark: #E0D5C1;
  --c-paper:    #FBF8F2;
  --c-ink:      #2A2420;
  --c-ink-soft: #5A4F46;
  --c-ink-mute: #8B7E72;
  --c-line:     rgba(42, 36, 32, 0.12);

  /* Accent (primary CTA) — orange by default, swappable via Tweaks */
  --c-accent:       var(--c-orange);
  --c-accent-deep:  var(--c-orange-deep);

  /* Type */
  --f-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --f-script:  'Pinyon Script', 'Allura', 'Great Vibes', cursive;
  --f-body:    'Outfit', 'Manrope', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --pad-section: clamp(64px, 9vw, 140px);
  --container: 1280px;
  --container-narrow: 880px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Type ---------- */
.serif      { font-family: var(--f-display); font-weight: 400; }
.script     { font-family: var(--f-script); font-weight: 400; font-style: normal; }
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-ink-mute);
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 5.6vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.6vw, 36px); }
h4 { font-size: clamp(20px, 1.6vw, 24px); }
p  { margin: 0 0 1em; text-wrap: pretty; }
.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.kicker {
  font-family: var(--f-script);
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--c-accent);
  line-height: 1;
  display: inline-block;
  transform: rotate(-2deg);
  white-space: nowrap;
}

/* ---------- Script accents in headings ---------- */
/* The cursive script has tall ascenders/descenders.
   Use single-word accents; size slightly smaller so its visual height
   approximates the serif and doesn't blow up the line box. */
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 400;
  font-family: var(--f-script);
}
h1 em { font-size: 1.1em; line-height: 1; }
h2 em { font-size: 0.85em; line-height: 1; }
h3 em { font-size: 0.85em; line-height: 1; }

/* ---------- Lighthouse beam (rotates with scroll) ---------- */
/* A soft cone of light fanning down from above the viewport, like a real
   faro beacon. Its angle is tied to scroll so the cone sweeps left/right
   as the user moves down the page. `screen` blend keeps it warm without
   washing out content underneath. */
.beam {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 300vw;
  height: 220vh;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: soft-light;
  /* Visible band centered at 0° in gradient coords; `from` rotates the whole
     thing. We add 180° (south) so at scroll=0 the cone points DOWN, then
     wobble it left/right by the live beam-angle. */
  background:
    conic-gradient(from calc(180deg + var(--beam-angle, 0deg)) at 50% 0%,
      rgba(255, 248, 220, 1) 0deg,
      rgba(255, 248, 220, 0.85) 8deg,
      rgba(255, 245, 200, 0.5) 20deg,
      rgba(255, 240, 180, 0.18) 28deg,
      transparent 36deg,
      transparent 324deg,
      rgba(255, 240, 180, 0.18) 332deg,
      rgba(255, 245, 200, 0.5) 340deg,
      rgba(255, 248, 220, 0.85) 352deg,
      rgba(255, 248, 220, 1) 360deg);
  opacity: var(--beam-strength, 1);
  transition: opacity 0.5s ease;
  will-change: background, transform;
}
.beam-glow {
  /* Second cone with screen blend that adds a halo/luminance on top of the
     soft-light pass. Stays visible on dark sections too. */
  position: fixed;
  top: 0;
  left: -100vw;
  width: 300vw;
  height: 220vh;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
  background:
    conic-gradient(from calc(180deg + var(--beam-angle, 0deg)) at 50% 0%,
      rgba(255, 248, 220, 0.55) 0deg,
      rgba(255, 248, 220, 0.4) 8deg,
      rgba(255, 240, 195, 0.18) 20deg,
      rgba(255, 240, 195, 0.06) 28deg,
      transparent 36deg,
      transparent 324deg,
      rgba(255, 240, 195, 0.06) 332deg,
      rgba(255, 240, 195, 0.18) 340deg,
      rgba(255, 248, 220, 0.4) 352deg,
      rgba(255, 248, 220, 0.55) 360deg);
  opacity: var(--beam-strength, 1);
  transition: opacity 0.5s ease;
  will-change: background, transform;
}
.beam-source {
  /* Semicircle clamped to the top edge of the viewport — only the bottom
     half of a circular halo is visible, like a beacon embedded in the page
     edge sending light downward. */
  position: fixed;
  top: 0;
  left: 50%;
  width: 180px;
  height: 90px;
  margin-left: -90px;
  border-radius: 0 0 90px 90px / 0 0 90px 90px;
  background: radial-gradient(circle at 50% 0%,
    rgba(255, 255, 245, 1) 0%,
    rgba(255, 245, 200, 0.8) 25%,
    rgba(255, 230, 160, 0.35) 55%,
    transparent 80%);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  opacity: var(--beam-strength, 1);
  filter: blur(2px);
}
.beam-source::before {
  /* Tiny intense core right at the page edge — the actual bulb */
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,250,1), rgba(255,245,200,0.6) 50%, transparent 80%);
  filter: blur(1px);
}

/* On cream sections (light backgrounds), the screen blend washes everything
   into milk. We dial the beam down via `--beam-strength` while the user is
   in those zones. */
body.beam-soft { --beam-strength: 0.22; }
body.beam-hidden { --beam-strength: 0; }
/* Default (dark sections) — still subtle */
body { --beam-strength: 0.32; }

/* ---------- Sound toggle button ---------- */
.sound-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s ease;
}
.sound-toggle:hover {
  background: rgba(20, 24, 32, 0.75);
  transform: translateY(-2px);
}
.sound-toggle .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 154, 91, 0.18);
  border: 1px solid rgba(232, 154, 91, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.sound-toggle .icon svg {
  width: 14px; height: 14px;
  color: var(--c-orange);
}
.sound-toggle.is-on .icon {
  background: rgba(232, 154, 91, 0.85);
  box-shadow: 0 0 0 4px rgba(232, 154, 91, 0.18), 0 0 20px rgba(232, 154, 91, 0.6);
}
.sound-toggle.is-on .icon svg { color: #fff; }
.sound-toggle .wave-anim {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(232, 154, 91, 0.45);
  opacity: 0;
  animation: none;
}
.sound-toggle.is-on .wave-anim {
  animation: waveOut 1.8s ease-out infinite;
}
@keyframes waveOut {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0;    }
}
@media (max-width: 640px) {
  .sound-toggle .label { display: none; }
  .sound-toggle { padding: 8px; }
}

a { color: inherit; }

/* ---------- Custom flower cursor (orange) ---------- */
/* Base: a 24px five-petal flower in the brand orange. On clickables we use a
   slightly larger, brighter variant so users still get a clear affordance. */
body {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><g transform='translate(14 14)'><g fill='%23E89A5B' stroke='%23C97A3C' stroke-width='0.6'><ellipse cx='0' cy='-7' rx='3' ry='4.4'/><ellipse cx='6.7' cy='-2.2' rx='3' ry='4.4' transform='rotate(72 6.7 -2.2)'/><ellipse cx='4.1' cy='5.7' rx='3' ry='4.4' transform='rotate(144 4.1 5.7)'/><ellipse cx='-4.1' cy='5.7' rx='3' ry='4.4' transform='rotate(-144 -4.1 5.7)'/><ellipse cx='-6.7' cy='-2.2' rx='3' ry='4.4' transform='rotate(-72 -6.7 -2.2)'/></g><circle r='2.4' fill='%23FBF4E3' stroke='%23C97A3C' stroke-width='0.6'/><circle r='0.9' fill='%23C97A3C'/></g></svg>") 14 14, auto;
}
a, button, .btn, .play-btn, [role="button"], input[type="submit"],
.prog-card, .nav-logo, label, summary, select {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><g transform='translate(17 17)'><g fill='%23F0A86A' stroke='%23B6651E' stroke-width='0.7'><ellipse cx='0' cy='-8.4' rx='3.6' ry='5.3'/><ellipse cx='8' cy='-2.6' rx='3.6' ry='5.3' transform='rotate(72 8 -2.6)'/><ellipse cx='4.9' cy='6.8' rx='3.6' ry='5.3' transform='rotate(144 4.9 6.8)'/><ellipse cx='-4.9' cy='6.8' rx='3.6' ry='5.3' transform='rotate(-144 -4.9 6.8)'/><ellipse cx='-8' cy='-2.6' rx='3.6' ry='5.3' transform='rotate(-72 -8 -2.6)'/></g><circle r='3' fill='%23FFF1D9' stroke='%23B6651E' stroke-width='0.7'/><circle r='1.1' fill='%23B6651E'/></g></svg>") 17 17, pointer;
}
/* Text inputs keep a regular caret so users can edit comfortably */
input[type="text"], input[type="email"], input[type="tel"],
textarea {
  cursor: text;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
section { padding: var(--pad-section) 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--c-ink);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.35);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline {
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.btn-outline:hover { background: var(--c-ink); color: var(--c-cream); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 40px;
  border-bottom: 1px solid var(--c-line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav.scrolled .nav-logo { color: var(--c-ink); }
.nav-logo img { width: 44px; height: 44px; }
.nav-logo .name {
  font-family: var(--f-script);
  font-size: 28px;
  line-height: 1;
}
.nav-logo .tag {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav.scrolled .nav-links a { color: var(--c-ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 12px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(30, 108, 149, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(15,20,28,0.35) 0%, rgba(15,20,28,0.1) 40%, rgba(15,20,28,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 140px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 56px; height: 1px;
  background: rgba(255,255,255,0.7);
}
.hero h1 {
  color: #fff;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.015em;
  max-width: 16ch;
  line-height: 1.02;
}
.hero h1 .script-word {
  font-family: var(--f-script);
  font-size: 1.1em;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  color: var(--c-accent);
  padding: 0 0.04em;
}
.hero-sub {
  max-width: 540px;
  font-size: clamp(18px, 1.5vw, 22px);
  color: rgba(255,255,255,0.92);
  margin-top: 28px;
  font-weight: 300;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-noelia {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 2;
  text-align: right;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-noelia .name {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: floatY 2.4s ease-in-out infinite;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.6);
}
@keyframes floatY {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: var(--c-cream);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  text-align: center;
}
.manifesto .kicker { margin-bottom: 16px; }
.manifesto h2 {
  font-size: clamp(32px, 4vw, 58px);
  font-style: italic;
  font-weight: 300;
  max-width: 22ch;
  margin: 0 auto 36px;
  line-height: 1.08;
}
.manifesto h2 em {
  font-family: var(--f-script);
  font-style: normal;
  font-weight: 400;
  color: var(--c-accent);
  font-size: 1.2em;
}
.manifesto .lead { max-width: 640px; margin: 0 auto; }
.manifesto-rule {
  width: 1px;
  height: 80px;
  background: var(--c-line);
  margin: 56px auto 0;
}

/* ---------- ABOUT (Noelia) ---------- */
.about {
  background: var(--c-cream-soft);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 640px;
  background:
    radial-gradient(circle at 50% 35%, #c8b89a 0%, #a89476 100%);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.about-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, transparent 0, transparent 90px, rgba(255,255,255,0.08) 95px, transparent 100px),
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.15) 0, transparent 60px);
  pointer-events: none;
}
.about-portrait .placeholder-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.about-portrait .placeholder-mark svg {
  width: 56px; height: 56px;
  color: rgba(255,255,255,0.7);
}
.about-portrait .frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.4);
  pointer-events: none;
}
.about-portrait .tag {
  position: relative;
  font-family: var(--f-script);
  font-size: 42px;
  color: #fff;
  line-height: 0.9;
  z-index: 2;
  margin: 0;
}
.about-portrait .tag-sub {
  position: relative;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 2;
  font-family: var(--f-body);
}
.about-text .eyebrow { margin-bottom: 24px; }
.about-text h2 {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  margin-bottom: 28px;
  max-width: 18ch;
}
.about-text h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-blue);
}
.about-text p { color: var(--c-ink-soft); margin-bottom: 1.2em; font-size: 17px; }
.about-text .sig {
  font-family: var(--f-script);
  font-size: 42px;
  color: var(--c-ink);
  margin-top: 24px;
  line-height: 1;
}
.about-text .sig-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-top: 4px;
}
.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--c-line);
}
.cred-num {
  font-family: var(--f-display);
  font-size: 56px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--c-accent);
}
.cred-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-top: 8px;
}

/* ---------- PROGRAMS (RAIZ feature + other cards) ---------- */
.programs { background: var(--c-cream); }
.programs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 40px;
  flex-wrap: wrap;
}
.programs-head h2 {
  font-style: italic;
  font-weight: 300;
  max-width: 16ch;
}
.programs-head h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-green);
}
.programs-head .lead { max-width: 380px; }

.raiz-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: linear-gradient(140deg, #1E6C95 0%, #134867 100%);
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  min-height: 540px;
  margin-bottom: 80px;
}
.raiz-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232,154,91,0.25), transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(155,123,184,0.18), transparent 50%);
  pointer-events: none;
}
.raiz-text {
  padding: clamp(40px, 5vw, 80px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.raiz-text .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.raiz-text h3 {
  font-size: clamp(56px, 7vw, 104px);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 16px;
}
.raiz-text .raiz-script {
  font-family: var(--f-script);
  font-size: clamp(46px, 6vw, 78px);
  color: var(--c-orange);
  font-style: normal;
  line-height: 0.85;
  display: block;
  margin-top: -8px;
}
.raiz-text .raiz-tagline {
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  font-family: var(--f-display);
  margin: 24px 0 16px;
  color: rgba(255,255,255,0.95);
}
.raiz-text .raiz-desc {
  color: rgba(255,255,255,0.82);
  max-width: 44ch;
  font-size: 16px;
  margin-bottom: 32px;
}
.raiz-meta {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.raiz-meta div { display: flex; flex-direction: column; gap: 4px; }
.raiz-meta .k {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.raiz-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(232,154,91,0.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(58,166,214,0.4), transparent 60%),
    linear-gradient(160deg, #2E7BA8, #134867);
}
.raiz-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.prog-card {
  background: var(--c-paper);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.2);
}
.prog-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.prog-img .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--c-ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.prog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.prog-body h4 {
  font-style: italic;
  font-weight: 400;
}
.prog-body p {
  color: var(--c-ink-soft);
  font-size: 15px;
  margin: 0;
}
.prog-body .meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- AUDIOS ---------- */
.audios {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-soft) 100%);
  position: relative;
  overflow: hidden;
}
.audios::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,123,184,0.18), transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.audios-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.audios-head h2 {
  font-style: italic;
  font-weight: 300;
}
.audios-head h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-violet);
}
.audios-head .lead { margin-top: 16px; }

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 56px;
}
.audio-card {
  background: var(--c-paper);
  border-radius: 6px;
  padding: 32px;
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s ease;
  position: relative;
}
.audio-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-violet);
}
.audio-card .audio-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--c-violet);
  opacity: 0.4;
}
.audio-card h4 {
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
}
.audio-card .audio-desc {
  color: var(--c-ink-soft);
  font-size: 14px;
  flex: 1;
}
.audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
/* Real player UI under each audio card */
.audio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  margin-top: auto;
}
.audio-player .play-btn { flex-shrink: 0; }
.audio-progress {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audio-progress-bar {
  height: 4px;
  background: rgba(155, 123, 184, 0.18);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.audio-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--c-violet);
  border-radius: 2px;
  transition: width 0.1s linear;
}
.audio-times {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-ink-mute);
  font-variant-numeric: tabular-nums;
}
.audio-card.is-playing {
  border-color: var(--c-violet);
  box-shadow: 0 0 0 1px var(--c-violet), 0 24px 48px -32px rgba(155, 123, 184, 0.45);
}
.play-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-violet);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.play-btn:hover { background: var(--c-violet-deep); transform: scale(1.08); }
.play-btn svg { width: 14px; height: 14px; }

.audio-gate {
  background: var(--c-paper);
  border-radius: 8px;
  padding: 56px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--c-line);
  position: relative;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.25);
}
.audio-gate h3 {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 16px;
}
.audio-gate h3 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-violet);
}
.audio-gate p {
  color: var(--c-ink-soft);
  max-width: 50ch;
  margin: 0 auto 28px;
}
.gate-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.gate-form input[type="email"], .gate-form input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 16px 20px;
  border: 1px solid var(--c-line);
  background: var(--c-cream);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--c-ink);
  outline: none;
}
.gate-form input:focus {
  border-color: var(--c-violet);
  background: #fff;
}
.gate-success {
  display: none;
  color: var(--c-green-deep);
  font-style: italic;
  font-family: var(--f-display);
  font-size: 22px;
  margin-top: 12px;
}
.gate-form.sent + .gate-success { display: block; }

/* ---------- TESTIMONIOS ---------- */
.testi {
  background: var(--c-ink);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.testi::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,154,91,0.18), transparent 65%);
  border-radius: 50%;
  top: -250px;
  left: -250px;
  pointer-events: none;
}
.testi-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  position: relative;
}
.testi-head .eyebrow { color: rgba(245,239,230,0.6); }
.testi-head h2 {
  color: var(--c-cream);
  font-style: italic;
  font-weight: 300;
}
.testi-head h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-orange);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-cream);
  flex: 1;
}
.testi-quote::before {
  content: '“';
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 0.4;
  display: block;
  color: var(--c-orange);
  margin-bottom: 16px;
  height: 24px;
}
.testi-name {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange), var(--c-coral));
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-meta { display: flex; flex-direction: column; }
.testi-meta .n {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-cream);
}
.testi-meta .r {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.55);
  margin-top: 2px;
}

/* ---------- NEWSLETTER ---------- */
.news {
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.news-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.news-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Vignette behind the form area for readability */
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(245, 239, 230, 0.7) 0%, transparent 70%),
    /* Subtle wash so the video has cream warmth and isn't too cold */
    linear-gradient(135deg, rgba(245, 239, 230, 0.32) 0%, rgba(245, 239, 230, 0.18) 50%, rgba(245, 239, 230, 0.42) 100%),
    radial-gradient(ellipse at 25% 50%, rgba(232,154,91,0.15), transparent 60%);
}
.news-video {
  filter: saturate(0.85) brightness(1.05);
}
.news .news-inner { position: relative; z-index: 2; }
.news-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.news h2 {
  font-style: italic;
  font-weight: 300;
}
.news h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-green-deep);
}
.news p { color: var(--c-ink-soft); max-width: 50ch; }
.news-form {
  background: var(--c-paper);
  padding: 40px;
  border-radius: 6px;
  border: 1px solid var(--c-line);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.25);
}
.news-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.news-form input[type="email"], .news-form input[type="text"] {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--c-line);
  background: transparent;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--c-ink);
  outline: none;
  margin-bottom: 28px;
  transition: border-color 0.2s ease;
}
.news-form input:focus { border-bottom-color: var(--c-green); }
.news-form .btn { width: 100%; justify-content: center; }
.news-perks {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink-soft);
  font-size: 14px;
}
.news-perks li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
}

/* ---------- CONTACT ---------- */
.contact { background: var(--c-cream-soft); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact-info h2 {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 24px;
}
.contact-info h2 em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--c-blue-deep);
}
.contact-info p { color: var(--c-ink-soft); margin-bottom: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--c-line); }
.contact-list .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.contact-list .v {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--c-ink);
  text-decoration: none;
}
.contact-list .v:hover { color: var(--c-blue-deep); }

.contact-form {
  background: var(--c-paper);
  border-radius: 6px;
  padding: 48px;
  border: 1px solid var(--c-line);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.25);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.cf-field { display: flex; flex-direction: column; }
.cf-field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 6px;
}
.cf-field input, .cf-field textarea, .cf-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  padding: 12px 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--c-ink);
  outline: none;
  resize: none;
  transition: border-color 0.2s ease;
}
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus {
  border-bottom-color: var(--c-blue);
}
.cf-field textarea { min-height: 100px; line-height: 1.5; }
.cf-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.cf-disclaimer {
  font-size: 12px;
  color: var(--c-ink-mute);
  max-width: 38ch;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .name {
  font-family: var(--f-script);
  font-size: 44px;
  color: #fff;
  line-height: 1;
}
.footer-brand .tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.6);
  margin-top: 6px;
}
.footer-brand p {
  color: rgba(245,239,230,0.7);
  font-size: 14px;
  max-width: 36ch;
  margin-top: 20px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.6);
  font-weight: 500;
  margin: 0 0 18px;
  font-family: var(--f-body);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(245,239,230,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--c-orange); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245,239,230,0.55);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .closing {
  font-family: var(--f-script);
  font-size: 22px;
  color: var(--c-orange);
  letter-spacing: 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .about-grid, .news-inner, .contact-inner, .raiz-feature {
    grid-template-columns: 1fr;
  }
  .raiz-visual { min-height: 280px; }
  .prog-grid, .audio-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .container, .container-narrow { padding: 0 20px; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-noelia { right: 20px; bottom: 24px; }
  .hero-noelia .name { font-size: 28px; }
  .prog-grid, .audio-grid, .testi-grid, .footer-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cred-num { font-size: 40px; }
  .audio-gate, .contact-form, .news-form { padding: 32px 24px; }
  .cf-row { grid-template-columns: 1fr; }
  .programs-head { flex-direction: column; align-items: flex-start; }
}
