/**
 * JOVIGROOVE marketing site — Sunlit appearance.
 * Dark tokens live in css/style.css :root. html[data-theme="sunlit"] overrides only.
 */
html[data-theme="sunlit"] {
  color-scheme: light;
  --bg: #f5f0e8;
  --bg-soft: #faf6ef;
  --bg-elevated: #fffdf8;
  --media-surface: #f2ebe3;
  --section-a: #faf7f2;
  --section-b: linear-gradient(180deg, #fff9f2 0%, #f5efe6 50%, #ede4d8 100%);
  --panel: rgba(201, 151, 63, 0.08);
  --panel-strong: rgba(201, 151, 63, 0.14);
  --text: #1a1a1e;
  --muted: #4d483f;
  --line: rgba(120, 95, 55, 0.22);
  --accent: #8f6a24;
  --accent-bright: #b8892e;
  --glow-warm: rgba(201, 151, 63, 0.14);
  --glow-amber: rgba(180, 130, 50, 0.1);
  --glow-cool: rgba(80, 130, 190, 0.12);
  --cinema-void: #ebe4da;
  --shadow: 0 20px 50px rgba(26, 26, 30, 0.08);
  --nav-pill-hover: rgba(201, 151, 63, 0.12);
  --nav-dropdown-bg: linear-gradient(165deg, rgba(255, 252, 247, 0.98), rgba(245, 238, 228, 0.99));
  --body-atmosphere:
    radial-gradient(ellipse 125% 60% at 50% -12%, rgba(255, 210, 140, 0.45), transparent 55%),
    radial-gradient(ellipse 75% 85% at 100% 30%, rgba(140, 190, 240, 0.22), transparent 52%),
    radial-gradient(ellipse 60% 80% at -5% 65%, rgba(201, 151, 63, 0.12), transparent 48%),
    radial-gradient(ellipse 95% 45% at 50% 105%, rgba(201, 151, 63, 0.06), transparent 46%),
    linear-gradient(165deg, #fff9f0 0%, #f5efe6 38%, #ebe4da 72%, #e2d9ce 100%);

  /* Homepage hero (Sunlit): warm paper panel uses page ink tokens; Night hero still uses dark glass in style.css */
  --hero-on-dark: #faf8f4;
  --hero-on-dark-soft: rgba(246, 242, 234, 0.96);
  --hero-on-dark-muted: rgba(212, 204, 190, 0.95);
  --hero-on-dark-kicker: #f2d896;
  --hero-on-dark-border: rgba(242, 196, 107, 0.32);
}

html[data-theme="sunlit"] body::before {
  animation-duration: 32s;
  opacity: 0.95;
}

html[data-theme="sunlit"] .nav {
  background: rgba(255, 252, 247, 0.38);
  border-bottom-color: rgba(120, 95, 55, 0.1);
  box-shadow: none;
}

html[data-theme="sunlit"] .nav.nav--scrolled {
  background: rgba(255, 252, 247, 0.94);
  border-bottom-color: rgba(120, 95, 55, 0.14);
  box-shadow: 0 10px 32px rgba(26, 26, 30, 0.06);
}

html[data-theme="sunlit"] .nav-cta--primary {
  border-color: rgba(120, 95, 55, 0.34);
  background: rgba(255, 252, 247, 0.72);
  color: var(--text);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 22px rgba(26, 26, 30, 0.07);
}

html[data-theme="sunlit"] .nav-cta--primary:hover,
html[data-theme="sunlit"] .nav-cta--primary:focus-visible {
  border-color: rgba(120, 95, 55, 0.46);
  background: rgba(255, 252, 247, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 28px rgba(26, 26, 30, 0.1);
}

html[data-theme="sunlit"] .nav-dropdown-panel {
  border-color: var(--line);
  background: var(--nav-dropdown-bg);
  box-shadow: var(--shadow);
}

html[data-theme="sunlit"] .brand-badge {
  background: rgba(255, 252, 247, 0.95);
  border-color: var(--accent-bright);
}

/* Sunlit + editorial hero: still a dark film; light type (not page ink on the film) */
html[data-theme="sunlit"] .home-hero--editorial .hero-title {
  color: rgba(255, 252, 247, 0.98);
  text-shadow:
    0 2px 26px rgba(0, 0, 0, 0.32),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

html[data-theme="sunlit"] .hero-lede--editorial {
  color: rgba(240, 234, 222, 0.94);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.24);
}

html[data-theme="sunlit"] .hero-eyebrow--editorial {
  color: rgba(242, 210, 150, 0.9);
}

html[data-theme="sunlit"] .home-hero.home-hero--editorial .home-hero-bg-scrim {
  background: linear-gradient(
    90deg,
    rgba(42, 34, 22, 0.46) 0%,
    rgba(58, 46, 32, 0.2) 38%,
    rgba(80, 64, 44, 0.04) 58%,
    transparent 74%
  );
}

html[data-theme="sunlit"] .home-hero--editorial .home-hero-bg-video {
  filter: brightness(1.02) contrast(0.98) saturate(0.94);
}

html[data-theme="sunlit"] .home-hero.home-hero--editorial .home-hero-bg-poster {
  filter: brightness(1.02) contrast(0.98) saturate(0.94);
}

html[data-theme="sunlit"] .nav-portal-link--cta {
  color: var(--text);
  border-color: rgba(120, 95, 55, 0.32);
  background: rgba(255, 252, 247, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 6px 18px rgba(26, 26, 30, 0.05);
}

html[data-theme="sunlit"] .nav-portal-link--cta .nav-portal-link__glyph {
  color: rgba(100, 82, 48, 0.88);
  opacity: 0.95;
}

html[data-theme="sunlit"] .nav-portal-link--cta:hover,
html[data-theme="sunlit"] .nav-portal-link--cta:focus-visible {
  border-color: rgba(120, 95, 55, 0.46);
  background: rgba(255, 252, 247, 0.98);
  color: var(--text);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 22px rgba(26, 26, 30, 0.07);
}

html[data-theme="sunlit"] .nav-portal-link--cta:hover .nav-portal-link__glyph,
html[data-theme="sunlit"] .nav-portal-link--cta:focus-visible .nav-portal-link__glyph {
  color: var(--accent);
  opacity: 1;
}

html[data-theme="sunlit"] .hero-banner.hero-banner--bright.home-hero .hero-credibility {
  color: var(--muted);
  text-shadow: none;
}

html[data-theme="sunlit"] .hero-banner.hero-banner--bright.home-hero .eyebrow {
  color: var(--accent-bright);
  text-shadow: none;
}

html[data-theme="sunlit"] .hero-banner.hero-banner--bright.home-hero .section-kicker,
html[data-theme="sunlit"] .hero-banner.hero-banner--bright.home-hero .card-label {
  color: var(--accent-bright);
}

/* Sunlit contact: same system as hero — airy paper, hairline edges, no charcoal slabs */
html[data-theme="sunlit"] .contact-channels {
  padding: clamp(26px, 3.4vw, 34px) clamp(24px, 3.6vw, 32px);
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(ellipse 100% 80% at 10% -5%, rgba(255, 218, 175, 0.32), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(120, 165, 210, 0.1), transparent 50%),
    linear-gradient(178deg, rgba(255, 254, 252, 0.98) 0%, rgba(252, 249, 244, 0.97) 38%, rgba(247, 242, 234, 0.95) 100%);
  border: 1px solid rgba(184, 137, 46, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 56px rgba(26, 26, 30, 0.05);
}

html[data-theme="sunlit"] .contact-channels-grid {
  gap: 12px 18px;
}

html[data-theme="sunlit"] .contact-channels-head {
  color: var(--accent-bright);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

html[data-theme="sunlit"] .contact-channel {
  border-radius: 18px;
  border: 1px solid rgba(184, 137, 46, 0.12);
  background:
    radial-gradient(ellipse 80% 90% at 20% 0%, rgba(255, 245, 230, 0.65), transparent 62%),
    linear-gradient(165deg, rgba(255, 253, 250, 0.97), rgba(252, 248, 242, 0.92));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 22px rgba(26, 26, 30, 0.04);
}

html[data-theme="sunlit"] a.contact-channel:hover,
html[data-theme="sunlit"] a.contact-channel:focus-visible {
  border-color: rgba(184, 137, 46, 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 1), rgba(254, 252, 248, 0.99));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 28px rgba(26, 26, 30, 0.06);
}

html[data-theme="sunlit"] .contact-channel-label {
  color: var(--muted);
}

html[data-theme="sunlit"] .contact-channel-value {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="sunlit"] .home-hero.home-hero--immersive .home-hero-bg {
    background: linear-gradient(165deg, #2a2622 0%, #1a1614 100%);
  }

  html[data-theme="sunlit"] .home-hero.home-hero--editorial .home-hero-bg-scrim {
    background: linear-gradient(90deg, rgba(32, 28, 22, 0.78) 0%, rgba(42, 36, 28, 0.34) 45%, transparent 72%);
  }
}

html[data-theme="sunlit"] .home-hero:not(.home-hero--editorial) .hero-actions {
  border-top-color: rgba(184, 137, 46, 0.14);
}

/* Sunlit footer signature: quiet craft line */
html[data-theme="sunlit"] .site-footer p.site-footer-signature {
  color: rgba(77, 72, 63, 0.88);
}

html[data-theme="sunlit"] .site-footer-signature__lead {
  color: rgba(42, 40, 36, 0.88);
}

html[data-theme="sunlit"] .home-section.home-identity-section,
html[data-theme="sunlit"] .home-section.home-dojo-section {
  border-top-color: rgba(120, 95, 55, 0.12);
}

html[data-theme="sunlit"] .home-section.home-kingdom-section {
  border-top-color: rgba(120, 95, 55, 0.12);
  border-bottom-color: rgba(120, 95, 55, 0.12);
}

/* First band after the film: calm paper lift — reads as chapter two, not a hard cut */
html[data-theme="sunlit"] .home-section.home-performance-band {
  background: linear-gradient(180deg, rgba(252, 250, 246, 0.98) 0%, rgba(245, 240, 232, 0.55) 48%, var(--bg) 100%);
}

html[data-theme="sunlit"] .home-cta-band {
  border-top-color: rgba(120, 95, 55, 0.1);
}

html[data-theme="sunlit"] .home-cta-block--live {
  background: linear-gradient(
    165deg,
    rgba(255, 236, 210, 0.48) 0%,
    rgba(255, 252, 247, 0.95) 100%
  );
  border-color: rgba(184, 137, 46, 0.28);
  border-left-color: rgba(184, 137, 46, 0.52);
  box-shadow:
    0 16px 42px rgba(201, 151, 63, 0.14),
    0 10px 28px rgba(26, 26, 30, 0.05);
}

html[data-theme="sunlit"] .home-cta-block--training {
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.95) 0%, rgba(242, 244, 250, 0.88) 100%);
  border-color: rgba(110, 130, 165, 0.22);
  border-left-color: rgba(95, 115, 155, 0.45);
  box-shadow:
    0 12px 32px rgba(26, 26, 30, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-theme="sunlit"] .home-cta-block--training .home-cta-label {
  color: rgba(90, 100, 130, 0.75);
}

html[data-theme="sunlit"] .home-cta-block--training .home-cta-title {
  color: var(--text);
}

html[data-theme="sunlit"] .home-cta-block--training .home-cta-copy {
  color: var(--muted);
}

html[data-theme="sunlit"] .home-cta-block--live .home-cta-pick {
  color: rgba(120, 88, 42, 0.78);
}

html[data-theme="sunlit"] .home-cta-block--training .home-cta-pick {
  color: rgba(72, 88, 118, 0.78);
}

html[data-theme="sunlit"] .site-page-hero--performance {
  background:
    radial-gradient(ellipse 100% 75% at 8% -8%, rgba(255, 210, 165, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 85% 55% at 100% 30%, rgba(255, 230, 200, 0.22) 0%, transparent 50%);
}

html[data-theme="sunlit"] .site-page-hero--performance .section-kicker {
  color: rgba(140, 95, 40, 0.85);
}

html[data-theme="sunlit"] .site-page-hero--apply {
  background:
    radial-gradient(ellipse 95% 70% at 50% -18%, rgba(215, 230, 255, 0.55) 0%, transparent 52%),
    linear-gradient(180deg, rgba(252, 253, 255, 0.9) 0%, rgba(248, 249, 252, 0.4) 100%);
}

html[data-theme="sunlit"] .site-page-hero--apply .section-kicker {
  color: rgba(75, 95, 130, 0.72);
}

html[data-theme="sunlit"] .site-page-hero--apply h1 {
  color: var(--text);
}

html[data-theme="sunlit"] .site-page-hero--apply .drum-sales-lede,
html[data-theme="sunlit"] .site-page-hero--apply .site-page-hero-note,
html[data-theme="sunlit"] .site-page-hero--apply .site-apply-form-lede {
  color: var(--muted);
}

html[data-theme="sunlit"] .site-apply-form-section.site-apply--standalone {
  border-top: none;
}

html[data-theme="sunlit"] .site-page-hero--apply .site-page-hero-crosslink {
  color: rgba(75, 95, 130, 0.65);
}

html[data-theme="sunlit"] .site-page-hero--performance .info-card.home-offer-card {
  border-color: rgba(184, 137, 46, 0.26);
  background: linear-gradient(
    165deg,
    rgba(255, 236, 210, 0.55) 0%,
    rgba(255, 252, 247, 0.98) 100%
  );
  box-shadow: 0 14px 36px rgba(26, 26, 30, 0.06);
}

html[data-theme="sunlit"] .site-page-hero--apply .info-card.home-offer-card {
  border-color: rgba(130, 150, 185, 0.28);
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.98) 0%, rgba(248, 249, 252, 0.96) 100%);
  box-shadow: 0 12px 32px rgba(26, 26, 30, 0.05);
}

html[data-theme="sunlit"] .site-apply-form-section {
  border-top-color: rgba(110, 130, 165, 0.2);
}

html[data-theme="sunlit"] .contact-section--home {
  border-top-color: rgba(120, 95, 55, 0.12);
}

html[data-theme="sunlit"] .site-footer {
  border-top-color: rgba(120, 95, 55, 0.12);
  background: linear-gradient(180deg, transparent 0%, rgba(248, 245, 240, 0.55) 100%);
}

/* Gentle seam into the next Sunlit band — hero reads as one chapter, not a floating slab */
html[data-theme="sunlit"] .hero.hero-banner.hero-banner--bright.home-hero {
  border-bottom: 1px solid rgba(120, 95, 55, 0.1);
}

/* Editorial hero on film: glass secondary; primary stays gold */
html[data-theme="sunlit"] .home-hero--editorial .hero-actions .btn-secondary {
  border-color: rgba(255, 252, 247, 0.35);
  background: rgba(255, 252, 247, 0.1);
  color: rgba(252, 249, 242, 0.96);
  box-shadow: none;
}

html[data-theme="sunlit"] .home-hero--editorial .hero-actions .btn-secondary:hover,
html[data-theme="sunlit"] .home-hero--editorial .hero-actions .btn-secondary:focus-visible {
  background: rgba(255, 252, 247, 0.18);
  border-color: rgba(255, 252, 247, 0.5);
  color: #fffdf8;
}

html[data-theme="sunlit"] .home-hero:not(.home-hero--editorial) .hero-actions .btn-secondary {
  border-color: var(--line);
  background: rgba(255, 252, 247, 0.95);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 252, 247, 0.95) inset;
}

html[data-theme="sunlit"] .home-hero:not(.home-hero--editorial) .hero-actions .btn-secondary:hover,
html[data-theme="sunlit"] .home-hero:not(.home-hero--editorial) .hero-actions .btn-secondary:focus-visible {
  background: #fffdfb;
  border-color: rgba(184, 137, 46, 0.35);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(26, 26, 30, 0.08);
}

html[data-theme="sunlit"] .back-to-top {
  background: rgba(255, 252, 247, 0.82);
  border-color: rgba(120, 95, 55, 0.2);
  color: var(--text);
}

html[data-theme="sunlit"] .back-to-top:hover,
html[data-theme="sunlit"] .back-to-top:focus-visible {
  background: rgba(255, 252, 247, 0.95);
}

/* Additional light palettes (Rose, Ocean) — scaffold in css/jg-themes-future.css until palettes ship. */
