/*
 * Unified Radio Theme — Thrive "Stage Lights" Variant
 *
 * Scoped to html[data-style="thrive"].
 * Overrides design tokens and layered visual styles drawn from the
 * original Thrive 88.1 FM theme: concert-venue aesthetics, stage-light
 * gradients, animated light beams, grain texture, and OKLch colors.
 *
 * Load order: tokens.css → base.css → components.css → page.css → THIS FILE
 */

/* ══════════════════════════════════════════════════════════════════════════════
   1. TOKEN OVERRIDES
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] :root,
html[data-style="thrive"] {
  /* Stage-light brand colors */
  --accent:        #1f7ec4;
  --accent-strong: color-mix(in oklab, #1f7ec4, black 28%);
  --accent-soft:   oklch(0.85 0.08 240 / 0.18);
  --accent-ink:    #fff8ef;

  --ember:         #1f7ec4;
  --ember-deep:    color-mix(in oklab, #1f7ec4, black 28%);
  --vesper:        #22c55e;
  --vesper-deep:   color-mix(in oklab, #22c55e, black 28%);

  /* Light-mode backgrounds — warm off-white */
  --bg:            oklch(0.97 0.008 80);
  --bg-elev:       oklch(1.00 0 0);
  --bg-sunken:     oklch(0.94 0.010 80);
  --bg-inverse:    oklch(0.13 0.018 265);
  --surface:       oklch(1.00 0 0);
  --surface-2:     oklch(0.94 0.010 80);

  /* Text */
  --text:            oklch(0.18 0.02 265);
  --text-muted:      oklch(0.40 0.02 265);
  --text-soft:       oklch(0.62 0.02 265);
  --text-on-inverse: oklch(0.97 0.012 80);

  /* Borders */
  --border:        oklch(0.18 0.02 265 / 0.14);
  --border-strong: oklch(0.18 0.02 265 / 0.28);

  /* Typography: stage-light stack */
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Shadows */
  --shadow-1: 0 12px 40px rgba(30,20,10,.12), 0 1px 0 rgba(255,255,255,.6) inset;
  --shadow-2: 0 1px 0 rgba(255,255,255,.7) inset, 0 6px 18px rgba(20,15,5,.08);
  --shadow-3: 0 12px 40px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.04) inset;

  /* Grain opacity */
  --grain-opacity: 0.06;

  /* Geometry */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
}

/* Dark mode for Thrive — midnight stage */
html[data-style="thrive"].dark {
  --bg:            oklch(0.13 0.018 265);
  --bg-elev:       oklch(0.20 0.025 265);
  --bg-sunken:     oklch(0.17 0.022 265);
  --bg-inverse:    oklch(0.97 0.008 80);
  --surface:       oklch(0.20 0.025 265);
  --surface-2:     oklch(0.17 0.022 265);

  --text:            oklch(0.97 0.012 80);
  --text-muted:      oklch(0.74 0.018 80);
  --text-soft:       oklch(0.55 0.020 265);
  --text-on-inverse: oklch(0.18 0.02 265);

  --border:        oklch(0.30 0.025 265 / 0.55);
  --border-strong: oklch(0.30 0.025 265 / 0.80);

  --grain-opacity: 0.18;
}

/* Thrive pledge section stays dark in dark mode */
html[data-style="thrive"].dark .pledge-banner {
  --bg-inverse:      oklch(0.10 0.018 265);
  --text-on-inverse: oklch(0.97 0.012 80);
}

/* ══════════════════════════════════════════════════════════════════════════════
   2. TYPOGRAPHY OVERRIDES
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] h1,
html[data-style="thrive"] h2,
html[data-style="thrive"] h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

html[data-style="thrive"] h1 em,
html[data-style="thrive"] .section-head h2 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--ember) 20%, var(--vesper) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-style="thrive"] .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════════
   3. STAGE SECTION — grain + light-beam background effect
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

html[data-style="thrive"] .stage::before {
  content: '';
  position: absolute; inset: -10%;
  background:
    radial-gradient(48% 32% at 16% 0%, color-mix(in oklch, var(--vesper) 34%, transparent), transparent 72%),
    radial-gradient(58% 42% at 84% 6%, color-mix(in oklch, var(--ember) 32%, transparent), transparent 66%),
    radial-gradient(62% 48% at 48% 104%, color-mix(in oklch, var(--vesper-deep) 22%, transparent), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

html[data-style="thrive"] .stage::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

/* Light beams */
html[data-style="thrive"] .beams {
  position: absolute; inset: -10% 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.84;
  contain: paint;
}

html[data-style="thrive"] .beam {
  position: absolute;
  top: -18%;
  width: 56vw;
  height: 148%;
  transform-origin: top center;
  transform: translate3d(var(--x, 0), 0, 0) rotate(var(--r1, -7deg));
  mix-blend-mode: screen;
  opacity: 0.44;
  background: linear-gradient(
    to bottom,
    color-mix(in oklch, var(--c) 54%, transparent) 0%,
    color-mix(in oklch, var(--c) 24%, transparent) 44%,
    transparent 82%
  );
  clip-path: polygon(44% 0%, 56% 0%, 82% 100%, 18% 100%);
}

html[data-style="thrive"] .beam-b { opacity: 0.36; }
html[data-style="thrive"] .hero-band,
html[data-style="thrive"] .freq-rail {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════════════════
   4. ANIMATED MICRO-COMPONENTS
   ══════════════════════════════════════════════════════════════════════════════ */

/* EQ bars */
html[data-style="thrive"] .eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

html[data-style="thrive"] .eq i {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  animation: thv-eq 2.4s ease-in-out infinite alternate;
}
html[data-style="thrive"] .eq i:nth-child(1) { animation-delay: 0s;   height: 40%; }
html[data-style="thrive"] .eq i:nth-child(2) { animation-delay: .2s;  height: 90%; }
html[data-style="thrive"] .eq i:nth-child(3) { animation-delay: .4s;  height: 60%; }
html[data-style="thrive"] .eq i:nth-child(4) { animation-delay: .1s;  height: 80%; }
@keyframes thv-eq { from { height: 20%; } to { height: 95%; } }
html[data-style="thrive"][data-anim="off"] .eq i { animation: none !important; }

/* Pulse dot */
html[data-style="thrive"] .pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: thv-pulse 3.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes thv-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50%      { transform: scale(1.14); opacity: 1; }
}
html[data-style="thrive"][data-anim="off"] .pulse { animation: none !important; }

/* Floating particles */
html[data-style="thrive"] .particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
  pointer-events: none;
  animation: thv-drift var(--dur, 34s) linear infinite;
}
@keyframes thv-drift {
  0%   { transform: translate3d(0,0,0); opacity: 0; }
  10%  { opacity: var(--max, .55); }
  90%  { opacity: var(--max, .55); }
  100% { transform: translate3d(var(--dx, 60px), -120vh, 0); opacity: 0; }
}
html[data-style="thrive"][data-anim="off"] .particle { animation: none !important; opacity: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   5. NAV HEADER + LOGO GLOW
   ══════════════════════════════════════════════════════════════════════════════ */

/* Thrive header: slightly more transparent than WVHM base (70% vs 80%) */
html[data-style="thrive"] .nav {
  background: color-mix(in oklch, var(--bg) 70%, transparent);
}

/* Ambient radial glow behind the heart-mark — subtle in light, full in dark */
html[data-style="thrive"] .nav-brand { position: relative; }

html[data-style="thrive"] .nav-brand::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 76px;
  height: 76px;
  background:
    radial-gradient(closest-side, color-mix(in oklch, var(--ember) 32%, transparent) 0%, transparent 70%),
    radial-gradient(closest-side, color-mix(in oklch, var(--vesper) 22%, transparent) 0%, transparent 80%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  opacity: .45;  /* always present */
  transition: opacity .3s;
}

html[data-style="thrive"].dark .nav-brand::before { opacity: 1; }

/* Keep heart-mark above the glow layer */
html[data-style="thrive"] .heart-mark {
  position: relative;
  z-index: 1;
  transition: filter .3s;
  /* Always-on ember drop-shadow (light mode: subtle) */
  filter:
    drop-shadow(0 1px 1px rgba(0,0,0,0.12))
    drop-shadow(0 0 8px color-mix(in oklch, var(--ember) 28%, transparent));
}

/* Full-strength ember glow on dark backgrounds */
html[data-style="thrive"].dark .heart-mark,
html[data-style="thrive"] .on-dark .heart-mark,
html[data-style="thrive"] .footer .heart-mark {
  filter:
    brightness(1.35) saturate(1.1)
    drop-shadow(0 0 28px color-mix(in oklch, var(--ember) 65%, transparent))
    drop-shadow(0 0 6px  color-mix(in oklch, var(--ember) 45%, transparent));
}

/* ══════════════════════════════════════════════════════════════════════════════
   6. HERO — full-height stage layout
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

html[data-style="thrive"] .hero-slide {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

html[data-style="thrive"] .hero-slide.hero-slide--full-image {
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 0;
}

html[data-style="thrive"] .hero-copy h1 {
  font-size: clamp(64px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   7. VERSE MARQUEE STRIP
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .verse-strip {
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  background: color-mix(in oklch, var(--ember) 8%, var(--bg));
  overflow: hidden;
}

html[data-style="thrive"] .marquee-track {
  display: flex;
  gap: 60px;
  animation: thv-scroll-x 50s linear infinite;
  white-space: nowrap;
}
html[data-style="thrive"][data-anim="off"] .marquee-track { animation: none !important; }

html[data-style="thrive"] .marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--text);
}

html[data-style="thrive"] .marquee-item .ref {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--accent);
  margin-left: 14px;
}

html[data-style="thrive"] .marquee-item .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes thv-scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   8. NOW-PLAYING (np-stage card)
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .np-stage {
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg-elev) 60%, transparent);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

html[data-style="thrive"] .np-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--ember) 50%, transparent), transparent 55%),
    radial-gradient(circle at 70% 80%, color-mix(in oklch, var(--vesper) 50%, transparent), transparent 60%),
    var(--bg-sunken);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

html[data-style="thrive"] .np-art::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(255,255,255,.03) 10px, rgba(255,255,255,.03) 11px
  );
}

html[data-style="thrive"] .np-art-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  max-width: calc(100% - 36px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-inverse);
  opacity: 0.9;
}

html[data-style="thrive"] .np-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

html[data-style="thrive"] .np-stage .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

html[data-style="thrive"] .np-stage h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

html[data-style="thrive"] .np-stage p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

html[data-style="thrive"] .np-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px color-mix(in oklch, var(--accent) 30%, transparent),
    0 12px 32px -8px color-mix(in oklch, var(--accent) 60%, transparent);
  transition: transform .2s ease;
}
html[data-style="thrive"] .np-play:hover { transform: scale(1.06); }

html[data-style="thrive"] .np-bar {
  height: 6px;
  margin-top: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in oklch, var(--text) 12%, transparent);
}

html[data-style="thrive"] .np-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

html[data-style="thrive"] .np-bar > i {
  background: linear-gradient(90deg, var(--ember), var(--vesper));
}

/* ══════════════════════════════════════════════════════════════════════════════
   9. ON-AIR STRIP
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .onair {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 18px;
}

html[data-style="thrive"] .onair-host {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vesper), var(--ember));
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

html[data-style="thrive"] .onair-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 0;
}

html[data-style="thrive"] .onair-label span {
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════════════════
   10. STATION CARDS — stage-light hover accent
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .station::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ember), var(--vesper));
  opacity: 0;
  transition: opacity .2s;
}
html[data-style="thrive"] .station:hover { border-color: var(--ember); }
html[data-style="thrive"] .station:hover::before,
html[data-style="thrive"] .station.primary::before { opacity: 1; }

html[data-style="thrive"] .station.primary {
  background: linear-gradient(
    160deg,
    color-mix(in oklch, var(--ember) 12%, var(--surface)) 0%,
    var(--surface) 70%
  );
  border-color: color-mix(in oklch, var(--ember) 40%, var(--border));
}

/* ══════════════════════════════════════════════════════════════════════════════
   11. PROGRAM CARDS — stage-light art gradient
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .program-cover .lit {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at var(--lx, 30%) var(--ly, 40%), color-mix(in oklch, var(--c1, var(--ember)) 55%, transparent), transparent 65%),
    radial-gradient(50% 60% at var(--rx, 75%) var(--ry, 60%), color-mix(in oklch, var(--c2, var(--vesper)) 50%, transparent), transparent 65%),
    var(--bg-sunken);
}

html[data-style="thrive"] .program-cover .lit::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    95deg, transparent, transparent 12px,
    rgba(255,255,255,.04) 12px, rgba(255,255,255,.04) 13px
  );
}

/* ══════════════════════════════════════════════════════════════════════════════
   12. SECTION HEAD — large serif heading style
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 700px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   13. PLEDGE / CTA SECTION — gradient haze instead of inverse bg
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .pledge-banner {
  background: var(--bg);
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  color: var(--text);
}

html[data-style="thrive"] .pledge-banner::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 20% 10%, color-mix(in oklch, var(--vesper) 50%, transparent), transparent 60%),
    radial-gradient(50% 70% at 90% 100%, color-mix(in oklch, var(--ember) 55%, transparent), transparent 65%);
  filter: blur(40px);
}

html[data-style="thrive"] .pledge-h          { color: var(--text); }
html[data-style="thrive"] .pledge-inner .lead { color: var(--text-muted); }
html[data-style="thrive"] .pledge-inner .eyebrow { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════════
   14. FLOATING PLAYER — frosted glass, slides up from bottom
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .floating-player {
  background: color-mix(in oklch, var(--bg-elev) 90%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}

html[data-style="thrive"] .floating-player.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  opacity: 1;
}

html[data-style="thrive"] .fp-art {
  width: 36px; height: 36px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--ember) 50%, transparent), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in oklch, var(--vesper) 50%, transparent), transparent 60%),
    var(--bg-sunken);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   15. TODAY'S SCHEDULE
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .schedule { border-radius: var(--radius-lg); background: var(--bg-elev); }

html[data-style="thrive"] .schedule-row[data-state="live"] {
  background: color-mix(in oklch, var(--ember) 8%, transparent);
}
html[data-style="thrive"].dark .schedule-row[data-state="live"] {
  background: color-mix(in oklch, var(--ember) 14%, transparent);
}
html[data-style="thrive"] .schedule-row[data-state="live"] .sched-bar { background: var(--ember); }
html[data-style="thrive"] .sched-bar-fill { background: var(--ember); }
html[data-style="thrive"] .sched-progress-fill { background: var(--ember); }

html[data-style="thrive"] .sched-time b {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

html[data-style="thrive"] .sched-body h4 { font-family: var(--font-display); font-weight: 400; }
html[data-style="thrive"] .sched-body h4 a:hover { color: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   16. DAY TABS
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .day-tab[aria-selected="true"] {
  color: var(--ember);
  background: color-mix(in oklch, var(--ember) 10%, var(--surface));
  box-shadow: none;
  border-bottom: 2px solid var(--ember);
  border-radius: 0;
}
html[data-style="thrive"] .day-tabs { border-radius: 0; background: transparent; border-bottom: 1px solid var(--border); padding-bottom: 0; padding: 0; }
html[data-style="thrive"] .day-tab { border-radius: 0; border-bottom: 2px solid transparent; }
html[data-style="thrive"] .day-tab:hover { color: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   17. VERSE SECTION (full block — distinct from marquee strip)
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .verse-section {
  background: var(--bg-sunken);
  position: relative;
  overflow: hidden;
}

html[data-style="thrive"] .verse-section::before,
html[data-style="thrive"] .verse-section::after { display: none; }

/* Stage-light haze behind the verse */
html[data-style="thrive"] .verse-section .verse-haze {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 10% 50%, color-mix(in oklch, var(--vesper) 22%, transparent), transparent 65%),
    radial-gradient(50% 70% at 90% 50%, color-mix(in oklch, var(--ember) 22%, transparent), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

html[data-style="thrive"] .verse { text-align: center; padding: var(--s-8) 0; max-width: 820px; }

html[data-style="thrive"] .verse-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-style: italic;
}

html[data-style="thrive"] .verse-quote .quote-mark { color: var(--ember); }
html[data-style="thrive"] .verse-quote .accent-word { color: var(--ember); font-style: normal; }
html[data-style="thrive"] .verse-ref { color: var(--ember); letter-spacing: 0.16em; }

/* ══════════════════════════════════════════════════════════════════════════════
   18. ON-AIR STRIP WRAP POSITION
   ══════════════════════════════════════════════════════════════════════════════ */

/* Already defined in section 9; ensure -40px overlap below hero */
html[data-style="thrive"] .onair-wrap { margin-top: -40px; margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   19. TOPBAR (hidden in Thrive by default; shown if .show-topbar added to body)
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .topbar {
  background: var(--bg-inverse);
  color: var(--text-on-inverse);
}
html[data-style="thrive"] .ticker .dot { background: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   20. PAGE HEADER (inner pages)
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .page-header {
  background:
    radial-gradient(60% 80% at 10% 0%, color-mix(in oklch, var(--vesper) 25%, transparent), transparent 60%),
    radial-gradient(60% 80% at 90% 100%, color-mix(in oklch, var(--ember) 25%, transparent), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

html[data-style="thrive"] .page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════════════════
   21. FOOTER
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .footer {
  background: var(--bg-inverse);
  color: var(--text-on-inverse);
  padding: var(--s-8) 0 var(--s-6);
}

html[data-style="thrive"].dark .footer { background: oklch(0.08 0.018 265); }

html[data-style="thrive"] .footer h5 {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

html[data-style="thrive"] .footer-brand b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
}

html[data-style="thrive"] .footer-newsletter {
  border-color: color-mix(in oklch, var(--ember) 30%, transparent);
  background:
    radial-gradient(70% 120% at 0% 0%, color-mix(in oklch, var(--ember) 12%, transparent), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, color-mix(in oklch, var(--vesper) 12%, transparent), transparent 60%),
    color-mix(in oklch, var(--bg-2) 80%, transparent);
}

html[data-style="thrive"] .footer-newsletter-form input[type="submit"],
html[data-style="thrive"] .footer-newsletter-form button,
html[data-style="thrive"] .footer-newsletter-form .mailpoet_submit,
html[data-style="thrive"] .footer-newsletter-form .mauticform-button {
  background: var(--ember);
  color: var(--on-ember);
}

/* ══════════════════════════════════════════════════════════════════════════════
   22. FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .faq-q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  font-weight: 400;
}

html[data-style="thrive"] .faq-item[open] .faq-mark { color: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   23. TIER CARDS
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .tier-card.featured {
  border-color: var(--ember);
  box-shadow: 0 0 0 1px var(--ember) inset, var(--shadow-2);
}

html[data-style="thrive"] .tier-badge { background: var(--ember); color: var(--on-ember); }

html[data-style="thrive"] .tier-price { font-family: var(--font-display); font-style: italic; }

html[data-style="thrive"] .tier-card li::before {
  border-left-color: var(--ember);
  border-bottom-color: var(--ember);
}

/* ══════════════════════════════════════════════════════════════════════════════
   24. FREQUENCY RAIL
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .freq-rail-inner { border-radius: var(--radius-lg); }

html[data-style="thrive"] .freq-list b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ember);
}

html[data-style="thrive"] .freq-num { color: var(--ember); }

@media (prefers-reduced-motion: reduce) {
  html[data-style="thrive"] .beam,
  html[data-style="thrive"] .particle,
  html[data-style="thrive"] .eq i,
  html[data-style="thrive"] .marquee-track,
  html[data-style="thrive"] .pulse {
    animation: none !important;
  }

  html[data-style="thrive"] .particle {
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   25. STAFF GRID
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .staff-card img { border-radius: var(--radius); }

html[data-style="thrive"] .staff-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
}

html[data-style="thrive"] .staff-card span {
  font-family: var(--font-mono);
  color: var(--ember);
}

/* ══════════════════════════════════════════════════════════════════════════════
   26. EVENTS LIST
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .event-date b { color: var(--ember); }
html[data-style="thrive"] .event-day { font-family: var(--font-display); font-weight: 400; }
html[data-style="thrive"] .event-body h4 { font-family: var(--font-display); font-weight: 400; font-style: italic; }
html[data-style="thrive"] .event-body h4 a:hover { color: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   27. ARTICLE GRID
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .article-card h3 { font-family: var(--font-display); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
html[data-style="thrive"] .article-card h3 a:hover { color: var(--ember); }
html[data-style="thrive"] .article-meta { color: var(--ember); }

/* ══════════════════════════════════════════════════════════════════════════════
   28. VOLUNTEER SPOTLIGHT
   ══════════════════════════════════════════════════════════════════════════════ */

html[data-style="thrive"] .spotlight-badge {
  background: var(--ember);
  color: var(--on-ember);
}

html[data-style="thrive"] .spotlight-body h2 { font-style: italic; letter-spacing: -0.025em; }

html[data-style="thrive"] .spotlight-quote {
  border-left-color: var(--ember);
  font-style: italic;
}

html[data-style="thrive"] .spotlight-quote .quote-mark { color: var(--ember); }
