/* ══════════════════════════════════════════════════════════════
   THEME LIGHT — ivory variant of the homepage
   Loaded after styles.css + hero-alt.css on index.html. Inert unless
   <html data-theme="light">, which the inline script in the page head
   sets from ?theme=light, so the default dark page is untouched.
   Same layout, same copy: only colour, surface and shadow change.
   ══════════════════════════════════════════════════════════════ */

:root[data-theme="light"] {
  --bg: #faf6ee;
  --bg-2: #f2ebdd;
  --bg-card: #ffffff;
  --bg-card-hover: #fbf7ef;
  --border: rgba(74, 56, 28, 0.12);
  --border-gold: rgba(160, 104, 30, 0.3);
  /* Gold flips direction on light: the "emphasis" shade is the deeper one,
     as it was the brighter one on dark. --gold is 4.6:1 on --bg, so it is
     safe for the small uppercase section tags. */
  --gold: #9a6417;
  --gold-light: #7f5011;
  --gold-dim: rgba(200, 146, 62, 0.13);
  --gold-glow: rgba(176, 118, 42, 0.22);
  --text: #1f1a13;
  --text-2: #554d40;
  --text-3: #6f6555;
  --shadow-soft: 0 12px 32px rgba(74, 52, 18, 0.08);
  --shadow-lift: 0 28px 60px rgba(74, 52, 18, 0.14);
  color-scheme: light;
}

[data-theme="light"] ::selection { background: rgba(200, 146, 62, 0.28); color: var(--text); }

/* ─── BUTTONS ─── */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #b0762a, #86520f);
  box-shadow: 0 6px 20px rgba(134, 82, 15, 0.26);
}
[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(134, 82, 15, 0.34);
  filter: brightness(1.06);
}

[data-theme="light"] .btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(74, 56, 28, 0.22);
}
[data-theme="light"] .btn-ghost:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ─── NAV ─── */
[data-theme="light"] .nav.scrolled {
  background: rgba(250, 246, 238, 0.9);
  box-shadow: 0 8px 24px rgba(74, 52, 18, 0.05);
}

/* ─── HERO ("The Root That Rewires") ─── */
/* The --ha-* values are read by js/hero-alt.js to colour the canvas roots. */
[data-theme="light"] .ha-hero {
  --ha-root: 150, 98, 30;
  --ha-root-fine: 182, 126, 48;
  --ha-spark: 205, 140, 42;
  --ha-core: 255, 226, 160;
  --ha-ink: 1.3;
  background:
    radial-gradient(110% 75% at 50% 115%, rgba(46, 104, 78, 0.13) 0%, transparent 55%),
    radial-gradient(90% 60% at 50% -12%, rgba(255, 255, 255, 0.95) 0%, transparent 70%),
    linear-gradient(180deg, #fcf9f3 0%, #f5eddd 100%);
}

[data-theme="light"] .ha-aurora {
  background: radial-gradient(circle, rgba(214, 160, 70, 0.16) 0%, rgba(214, 160, 70, 0.06) 40%, transparent 68%);
}

/* an ivory wash behind the copy, so the roots never fight the text */
[data-theme="light"] .ha-vignette {
  background: radial-gradient(58% 46% at 50% 44%, rgba(250, 246, 238, 0.88) 0%, rgba(250, 246, 238, 0.5) 55%, transparent 78%);
}

[data-theme="light"] .ha-halo::before {
  border-color: rgba(154, 100, 23, 0.16);
  box-shadow:
    0 0 90px rgba(200, 146, 62, 0.08) inset,
    0 0 70px rgba(200, 146, 62, 0.06);
}
[data-theme="light"] .ha-halo::after {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 288deg,
    rgba(176, 118, 42, 0.7) 340deg,
    rgba(134, 82, 15, 1) 353deg,
    transparent 360deg
  );
}
[data-theme="light"] .ha-halo-inner { border-color: rgba(154, 100, 23, 0.12); }

[data-theme="light"] .ha-eyebrow-rule { background: linear-gradient(90deg, transparent, rgba(154, 100, 23, 0.5)); }
[data-theme="light"] .ha-eyebrow-rule:last-child { background: linear-gradient(90deg, rgba(154, 100, 23, 0.5), transparent); }

[data-theme="light"] .ha-title-line em { color: #a86d1a; }

[data-theme="light"] .ha-word::before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(214, 160, 70, 0.18) 0%, transparent 70%);
}
[data-theme="light"] .ha-word span {
  background: linear-gradient(180deg, #d59c4a 0%, #b47829 40%, #8f5c18 72%, #5e3c0e 100%);
  -webkit-background-clip: text;
          background-clip: text;
}

[data-theme="light"] .ha-foot::before {
  background: linear-gradient(90deg, transparent, rgba(74, 56, 28, 0.1) 20%, rgba(160, 104, 30, 0.3) 50%, rgba(74, 56, 28, 0.1) 80%, transparent);
}
[data-theme="light"] .ha-scroll-line { background: rgba(160, 104, 30, 0.2); }

/* ─── PHOTOS + VIDEO THUMBS ─── */
[data-theme="light"] .video-thumb,
[data-theme="light"] .book-feature-photo {
  border-color: rgba(74, 56, 28, 0.1);
  box-shadow: 0 30px 60px -14px rgba(60, 40, 12, 0.3);
}
/* thumbs nested in a card or shown inline carry no shadow of their own */
[data-theme="light"] .learn-card .video-thumb,
[data-theme="light"] .learn-preview-inline .video-thumb { box-shadow: none; }

[data-theme="light"] .video-thumb::after {
  background: linear-gradient(180deg, rgba(28, 20, 8, 0) 45%, rgba(28, 20, 8, 0.8) 100%);
}
[data-theme="light"] .video-caption { color: #fff; }

/* Video controls and the lightbox sit on footage, so they keep dark-theme tokens */
[data-theme="light"] .video-controls,
[data-theme="light"] .video-modal {
  --text: #f4efe4;
  --text-2: rgba(244, 239, 228, 0.72);
  --text-3: rgba(244, 239, 228, 0.5);
  --gold: #d9a049;
  --gold-light: #e8b06a;
  --border: rgba(255, 255, 255, 0.1);
}

/* ─── WHO ─── */
[data-theme="light"] .who-card-front { box-shadow: var(--shadow-soft); }
[data-theme="light"] .who-card-back {
  background: linear-gradient(165deg, #f8ead1 0%, #ffffff 62%);
  box-shadow: var(--shadow-soft);
}

/* ─── EXPERTS TEASER ─── */
[data-theme="light"] .expert-chip-photo {
  border-color: #fff;
  box-shadow: 0 8px 18px rgba(74, 52, 18, 0.18);
}

/* ─── LEARN ─── */
[data-theme="light"] .learn,
[data-theme="light"] .pricing {
  background: linear-gradient(180deg, transparent 0%, rgba(242, 235, 221, 0.9) 50%, transparent 100%);
}
[data-theme="light"] .learn-card { box-shadow: var(--shadow-lift); }

/* ─── CURRICULUM ─── */
[data-theme="light"] .curriculum-preview,
[data-theme="light"] .accordion-item,
[data-theme="light"] .faq-item,
[data-theme="light"] .guide-card { box-shadow: 0 2px 12px rgba(74, 52, 18, 0.05); }

[data-theme="light"] .accordion-item.accent-cool {
  background: linear-gradient(180deg, rgba(124, 92, 204, 0.1), rgba(124, 92, 204, 0.03)), #fff;
}
[data-theme="light"] .accordion-item.accent-cool .accordion-header:hover { background: rgba(124, 92, 204, 0.08); }
[data-theme="light"] .accordion-item.accent-cool .accordion-num { color: #6a4fb3; }

[data-theme="light"] .accordion-item.accent-teal {
  background: linear-gradient(180deg, rgba(23, 118, 108, 0.1), rgba(23, 118, 108, 0.03)), #fff;
}
[data-theme="light"] .accordion-item.accent-teal .accordion-header:hover { background: rgba(23, 118, 108, 0.08); }
[data-theme="light"] .accordion-item.accent-teal .accordion-num { color: #17766c; }

[data-theme="light"] .accordion-tag.tag-deep {
  background: rgba(30, 107, 74, 0.1);
  border-color: rgba(30, 107, 74, 0.3);
  color: #1e6b4a;
}
[data-theme="light"] .accordion-tag.tag-bonus {
  background: rgba(23, 118, 108, 0.1);
  border-color: rgba(23, 118, 108, 0.3);
  color: #17766c;
}
[data-theme="light"] .accordion-tag.tag-extra {
  background: rgba(106, 79, 179, 0.1);
  border-color: rgba(106, 79, 179, 0.3);
  color: #6a4fb3;
}

/* ─── PRICING ─── */
[data-theme="light"] .hero-pillars {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}
[data-theme="light"] .hero-pillar-number {
  background: linear-gradient(135deg, #bd8638 0%, #9a6417 55%, #6f4510 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
[data-theme="light"] .hero-pillar-divider { background: var(--border); }

[data-theme="light"] .pricing-card { box-shadow: var(--shadow-soft); }
[data-theme="light"] .pricing-card:hover {
  border-color: rgba(74, 56, 28, 0.2);
  box-shadow: var(--shadow-lift);
}
[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(180deg, #fffdf9 0%, #fbf1df 100%);
  box-shadow: 0 24px 60px rgba(154, 100, 23, 0.16);
}
[data-theme="light"] .pricing-card.featured:hover { box-shadow: 0 30px 70px rgba(154, 100, 23, 0.24); }

[data-theme="light"] .waitlist-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbf4e6 100%);
  box-shadow: 0 0 80px rgba(200, 146, 62, 0.12), 0 20px 50px rgba(74, 52, 18, 0.1);
}
[data-theme="light"] .waitlist-glow {
  background: radial-gradient(circle, rgba(214, 160, 70, 0.28) 0%, transparent 70%);
}
[data-theme="light"] .waitlist-input,
[data-theme="light"] .waitlist-textarea {
  background: #fff;
  border-color: rgba(74, 56, 28, 0.2);
}

/* ─── BOOK ─── */
[data-theme="light"] .book-feature-badge { box-shadow: var(--shadow-lift); }
[data-theme="light"] .book-feature-badge-icon { background: rgba(30, 107, 74, 0.12); }
[data-theme="light"] .book-feature-badge-icon svg { stroke: #2a7353; }

/* ─── FINAL CTA ─── */
/* The one deep band on the page: forest green, so the closing ask stands apart */
[data-theme="light"] .cta-final {
  --text: #f5efe2;
  --text-2: rgba(245, 239, 226, 0.8);
  --gold: #e3ad5e;
  background: #163028;
  color: var(--text);
}
[data-theme="light"] .cta-bg img { opacity: 0.34; }
[data-theme="light"] .cta-final::before {
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(227, 173, 94, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(22, 48, 40, 0.78) 0%, rgba(22, 48, 40, 0.5) 40%, rgba(22, 48, 40, 0.92) 100%);
}

/* ─── FOOTER ─── */
[data-theme="light"] .footer { background: var(--bg-2); }
