/* ============================================
   Om Sacred Space - v2 Professional Redesign
   Design System: Unified spiritual aesthetic
   Palette: Deep indigo + warm gold accents
   ============================================ */

/* --- RESET & TOKENS --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* Color palette - cohesive indigo/gold spiritual theme */
  --bg-deep:    #0c0a1d;
  --bg-dark:    #110e2a;
  --bg-card:    rgba(255,255,255,0.04);
  --bg-cream:   #f7f4ef;
  --bg-accent:  #1a1145;

  --text-primary:   #f0ece4;
  --text-secondary: #a8a0b8;
  --text-dark:      #2a2540;
  --text-muted:     #7a7290;

  --gold:       #c9a96e;
  --gold-light: #e8d5a8;
  --gold-glow:  rgba(201,169,110,0.15);
  --accent:     #8b6cc1;
  --accent-soft: rgba(139,108,193,0.12);

  /* Semantic surface/border tokens - every theme overrides these so
     components never hardcode light-on-dark assumptions.
     Defaults below match the dark base palette. */
  --surface-1:     rgba(255,255,255,0.04);  /* cards, inputs, chips on dark bg */
  --surface-2:     rgba(255,255,255,0.06);  /* hover state of surface-1 */
  --surface-card:  var(--text-primary);     /* solid card face (distance cards) */
  --border-subtle: rgba(255,255,255,0.06);  /* hairline dividers/borders */
  --border-strong: rgba(255,255,255,0.12);  /* input borders, stronger hairlines */
  --overlay-rgb:   12,10,29;                 /* base bg as rgb() for scrims/gradients */
  --shadow-rgb:    0,0,0;                    /* drop-shadow base */
  --on-accent:     #ffffff;                  /* text on accent/gold fills */
  --panel-bg:      #18152e;                  /* settings drawer background */

  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-intensity: 0.5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body); color: var(--text-primary);
  background: var(--bg-deep); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.rounded-img { border-radius: var(--radius-lg); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.02em; }
h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.01em; margin-bottom: var(--space-md); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
.eyebrow {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold);
  margin-bottom: var(--space-sm);
}
.eyebrow--light { color: var(--gold-light); }

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.revealed { opacity: 1; transform: translateY(0); }

/* Visually hidden but available to screen readers & agents */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 14px 32px; border-radius: 999px; cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
}
.btn--primary {
  background: var(--gold); color: var(--bg-deep);
}
.btn--primary:hover { background: var(--gold-light); color: var(--bg-deep); transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }
.btn--ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 10px 24px; font-size: 13px; }
.btn--full { width: 100%; }

/* --- HEADER --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent; transition: all var(--transition);
}
.header--scrolled {
  padding: 8px 0;
}
.header--hidden { transform: translateY(-100%); }

.header-bg {
  position: absolute; inset: 8px 24px; height: calc(100% - 16px);
  background: rgba(12,10,29,0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 999px;
  opacity: 0; transition: var(--transition); z-index: -1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.header--scrolled .header-bg { opacity: 1; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}
.logo {
  display: flex; align-items: center; gap: 16px;
}
.logo-square {
  width: 44px; height: 44px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.logo-square__border {
  position: absolute; inset: 0; border: 1.5px solid var(--gold);
  animation: rotateBorder 8s linear infinite;
}
.logo-square__border--inner {
  position: absolute; inset: 4px; border: 1.5px solid var(--gold);
  animation: rotateBorderReverse 6s linear infinite;
}
.logo-square .om { font-size: 24px; color: var(--gold); animation: breatheIcon 4s ease-in-out infinite; }

.logo-text { display: flex; flex-direction: column; line-height: 0.9; }
.logo-text span { font-size: 16px; font-weight: 600; letter-spacing: 0.15em; color: var(--text-primary); text-transform: uppercase; }

@keyframes rotateBorder { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateBorderReverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes breatheIcon { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }
.nav__links { display: flex; align-items: center; gap: 32px; margin-left: 56px; margin-right: auto; }
.nav__link {
  font-size: 14px; color: var(--text-secondary); font-weight: 400;
  position: relative; padding: 4px 0;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--text-primary); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

/* --- NAV DROPDOWN --- */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  color: var(--text-secondary); background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px; padding: 4px 0;
  transition: color var(--transition);
}
.nav__dropdown-trigger:hover { color: var(--text-primary); }
.nav__dropdown-trigger svg { transition: transform var(--transition); }
.nav__dropdown--open .nav__dropdown-trigger svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 200px; padding: 8px 0;
  background: rgba(12,10,29,0.95); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden; translate: 0 -8px;
  transition: opacity var(--transition), visibility var(--transition), translate var(--transition);
}
.nav__dropdown-menu--open { opacity: 1; visibility: visible; translate: 0 0; }
.nav__dropdown-menu .nav__link {
  display: block; padding: 10px 20px; font-size: 14px; white-space: nowrap;
}
.nav__dropdown-menu .nav__link::after { display: none; }
.nav__dropdown-menu .nav__link:hover { background: rgba(255,255,255,0.05); }

.nav__cta {
  font-size: 13px; font-weight: 500; padding: 10px 24px; border-radius: 999px;
  background: var(--gold); color: var(--bg-deep); white-space: nowrap;
  transition: all var(--transition); flex-shrink: 0; margin-left: 24px;
}
.nav__cta:hover { background: var(--gold-light); color: var(--bg-deep); transform: translateY(-1px); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 22px; height: 1.5px; background: var(--text-primary); transition: all var(--transition); transform-origin: center; }
.burger--open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  top: 96px;            /* clear the header */
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100vh - 96px - 16vh); /* leave room for header + quote */
  object-fit: contain;  /* show the whole yantra, no cropping */
  object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,10,29,0) 0%, rgba(12,10,29,0.4) 50%, var(--bg-deep) 100%);
}
.hero__content { 
  position: relative; z-index: 2; padding: 0 0 10vh 0; 
  display: flex; align-items: flex-end; justify-content: center; min-height: 100vh; 
}

.hero__quote {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.hero__quote em {
  font-family: var(--font-cursive);
  font-style: normal;
  color: var(--gold);
  display: inline-block;
  margin: 0 8px;
  text-shadow: 0 0 20px var(--gold-glow);
}

.hero__ripples {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero__ripple {
  position: absolute; width: 10px; height: 10px;
  border-radius: 50%; border: 1px solid var(--gold-glow);
  animation: ripplePulse 8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.hero__ripple:nth-child(2) { animation-delay: 2s; }
.hero__ripple:nth-child(3) { animation-delay: 4s; }

@keyframes ripplePulse {
  0% { transform: scale(1); opacity: 0; }
  10% { opacity: 0.3; }
  100% { transform: scale(150); opacity: 0; }
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- SECTIONS --- */
.section {
  padding: var(--space-2xl) 0;
}
.section--dark { background: var(--bg-dark); }
.section--cream { background: var(--bg-cream); color: var(--text-dark); }
.section--cream .eyebrow { color: var(--accent); }
.section--cream h2 { color: var(--text-dark); }
.section--cream p { color: var(--text-muted); }
.section--accent { background: var(--bg-accent); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-xl); }
#distance { padding: 0; height: 100vh; }
#distance .container { height: 100%; display: flex; flex-direction: column; }
#distance .section-header { flex: 0 0 33.333%; display: flex; flex-direction: column; justify-content: center; margin-bottom: 0; }
#distance .cards { flex: 0 0 66.666%; align-content: center; margin-bottom: 0; }
.section-header__sub { color: var(--text-secondary); font-size: 16px; margin-top: var(--space-sm); }
.section--cream .section-header__sub { color: var(--text-muted); }

/* --- SPLIT LAYOUT --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__text p { color: var(--text-secondary); margin-bottom: var(--space-sm); font-size: 15px; }
.split__text h2 { margin-bottom: var(--space-md); }

/* --- VIDEO --- */
.video-wrap { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; }
.yt-thumb { position: relative; cursor: pointer; width: 100%; height: 100%; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); transition: all var(--transition);
}
.play-btn svg { width: 28px; height: 28px; margin-left: 3px; }
.yt-thumb:hover .play-btn { background: var(--gold); color: var(--bg-deep); transform: translate(-50%,-50%) scale(1.1); }

/* --- MARQUEE --- */
.marquee {
  background: var(--gold); color: var(--bg-deep); padding: 14px 0;
  overflow: hidden; white-space: nowrap;
}
.marquee__track {
  display: inline-flex; gap: 48px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-heading); font-size: 18px; font-weight: 600;
}
.marquee__track span { flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CARDS (Distance Healing) --- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: var(--space-xl); align-items: stretch; }
.card {
  background: var(--text-primary); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.card--featured { border: 2px solid var(--accent); }
.card__badge {
  display: inline-block;
  background: var(--accent); color: white; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}
.card__img { height: 200px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: var(--space-md); }
.card__body h3 { color: var(--text-dark); margin-bottom: var(--space-xs); }
.card__icon { width: 46px; height: 46px; margin-bottom: 14px; color: var(--gold); }
.card__icon svg { width: 100%; height: 100%; display: block; }
.card__price { font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: var(--space-sm); font-family: var(--font-heading); }
.card__price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.card__body ul { font-size: 14px; color: var(--text-muted); }
.card__body li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); padding-left: 16px; position: relative; }
.card__body li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card__body li:last-child { border-bottom: none; }

/* --- DONATION BANNER --- */
.donation-banner {
  display: flex; align-items: center; gap: var(--space-lg);
  background: white; border-radius: var(--radius-lg); padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.donation-banner img { width: 200px; height: 140px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.donation-banner h3 { color: var(--text-dark); margin-bottom: var(--space-xs); }
.donation-banner p { color: var(--text-muted); font-size: 15px; margin-bottom: var(--space-sm); }
.fine-print { text-align: center; font-size: 13px; color: var(--text-muted); }
.section--cream .fine-print a { color: var(--accent); }

/* --- PRICING INFO --- */
.pricing-info {
  display: flex; justify-content: center; align-items: center; gap: var(--space-lg);
  margin-bottom: var(--space-xl); padding: var(--space-md) var(--space-lg);
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}
.pricing-info__item { text-align: center; }
.pricing-info__item span { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.pricing-info__item strong { font-family: var(--font-heading); font-size: 24px; color: var(--gold); }
.pricing-info__item small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.pricing-info__divider { width: 1px; height: 48px; background: rgba(255,255,255,0.08); }

/* --- COMPARE TABS --- */
.compare-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: var(--space-lg); flex-wrap: wrap; }
.compare-tab {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: 999px; cursor: pointer;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary); transition: all var(--transition);
}
.compare-tab:hover { border-color: var(--gold); color: var(--text-primary); }
.compare-tab--active { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }

/* --- COMPARE TABLE --- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--space-lg); border-radius: var(--radius-lg); }
.compare__table {
  width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0;
  font-size: 14px; background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.compare__table thead { position: sticky; top: 0; z-index: 2; }
.compare__table th {
  padding: 20px 14px; text-align: center; vertical-align: bottom;
  background: var(--bg-accent); border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 400;
}
.compare__corner {
  text-align: left !important; font-weight: 600; color: var(--text-muted);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  position: sticky; left: 0; z-index: 3; background: var(--bg-accent); min-width: 180px;
}
.compare__icon { display: block; font-size: 28px; margin-bottom: 6px; }
.compare__name { display: block; font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.compare__for { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.compare__recommended { background: rgba(180,120,255,0.08) !important; }
.compare__rec-badge {
  display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
  background: linear-gradient(135deg, #b478ff, #64c8ff); color: var(--bg-deep);
}
.compare__table tbody td {
  padding: 12px 14px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-muted); transition: background 0.2s;
}
.compare__table tbody td:first-child {
  text-align: left; font-weight: 500; color: var(--text-secondary);
  position: sticky; left: 0; background: var(--bg-dark); z-index: 1; min-width: 180px;
}
.compare__table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare__table tbody tr:hover td:first-child { background: var(--bg-accent); }
.compare__group-row td {
  font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold) !important; text-align: left !important;
  padding: 16px 14px 8px !important; background: var(--bg-dark) !important;
  border-bottom: 1px solid rgba(201,169,110,0.1) !important;
}
.compare__table tfoot td {
  padding: 20px 14px; text-align: center; background: var(--bg-accent);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.compare__table tfoot td:first-child { position: sticky; left: 0; z-index: 1; }

/* Checkmark styling */
.compare__table tbody td:not(:first-child) { font-size: 15px; }
.compare__table tbody td:not(:first-child):not(.compare__recommended) { color: var(--text-muted); }

/* --- PROGRAMS GRID (kept for other themes) --- */
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.program {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: all var(--transition);
}
.program:hover { border-color: rgba(201,169,110,0.2); background: rgba(255,255,255,0.06); }
.program--wide { grid-column: 1 / -1; }
.program__icon { font-size: 28px; margin-bottom: var(--space-sm); }
.program h3 { color: var(--text-primary); margin-bottom: var(--space-sm); font-size: 20px; }
.program ul { font-size: 14px; color: var(--text-secondary); }
.program li { padding: 5px 0 5px 20px; position: relative; }
.program li::before { content: '-'; position: absolute; left: 0; color: var(--gold); font-size: 12px; }
.program__list--inline { columns: 2; column-gap: var(--space-lg); }

/* --- BENEFITS LIST --- */
.benefits-list { margin-top: var(--space-sm); }
.benefits-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 15px; color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.benefits-list li:last-child { border-bottom: none; }
.benefit-icon { color: var(--gold); font-size: 12px; flex-shrink: 0; }

/* --- FAQ --- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid rgba(42,37,64,0.1);
}
.faq__item summary {
  padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 500;
  font-family: var(--font-heading); color: var(--text-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::after {
  content: '+'; font-size: 22px; color: var(--accent); flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); transition: all var(--transition);
}
.faq__item[open] summary::after { content: '\2212'; background: var(--accent); color: white; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__answer {
  padding: 0 0 22px; font-size: 15px; color: var(--text-muted); line-height: 1.7;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-info img { border-radius: var(--radius-lg); margin-bottom: var(--space-md); }
.contact-info__details p { margin-bottom: var(--space-sm); font-size: 15px; color: var(--text-secondary); }
.contact-info__details a { color: var(--gold); }
.contact-info__details strong { color: var(--text-primary); }
.social-links { display: flex; gap: 16px; margin-top: var(--space-xs); }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }

/* --- FORM --- */
.form {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl); padding: var(--space-lg);
}
.form__group { margin-bottom: var(--space-md); }
.form__group label {
  display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form__group input, .form__group textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px;
  font-family: var(--font-body); color: var(--text-primary); outline: none;
  transition: all var(--transition);
}
.form__group input::placeholder, .form__group textarea::placeholder { color: var(--text-muted); }
.form__group input:focus, .form__group textarea:focus { border-color: var(--gold); background: rgba(201,169,110,0.04); }
.form__group textarea { min-height: 140px; resize: vertical; }
/* Interest checkboxes (volunteer form) */
.check-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px;
}
.check {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--text-secondary); cursor: pointer; margin: 0;
}
.check input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 0;
  accent-color: var(--gold); cursor: pointer;
}
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.form__success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-xl) 0; gap: var(--space-sm);
}
.form__success-icon { font-size: 40px; color: var(--gold); }
.form__success h3 { color: var(--text-primary); }
.form__success p { color: var(--text-secondary); }

/* --- FOOTER --- */
.footer {
  background: var(--bg-deep); padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md);
}
.footer__logo { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--text-primary); }
.footer__tagline { font-size: 13px; color: var(--text-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 13px; color: var(--text-secondary); }
.footer__links a:hover { color: var(--gold); }
.footer__legal { text-align: right; }
.footer__legal p { font-size: 12px; color: var(--text-muted); }
.footer__social { display: flex; gap: 14px; margin-top: var(--space-sm); }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); transform: translateY(-2px); }

/* --- COMING SOON / SUB PAGES --- */
.coming-soon {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 0 var(--space-2xl);
  background: radial-gradient(circle at 50% 30%, var(--bg-accent), var(--bg-deep) 70%);
}
.coming-soon__bg { position: absolute; inset: 0; z-index: 0; }
.coming-soon__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  animation: comingSoonZoom 24s ease-in-out infinite alternate;
}
.coming-soon__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(12,10,29,0.45), rgba(12,10,29,0.82) 75%),
    linear-gradient(180deg, rgba(12,10,29,0.5) 0%, rgba(12,10,29,0.3) 45%, var(--bg-deep) 100%);
}
@keyframes comingSoonZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.coming-soon__inner { position: relative; z-index: 1; max-width: 640px; }
.coming-soon h1 { margin-bottom: var(--space-md); }
.coming-soon__sub { color: var(--text-secondary); font-size: 17px; margin-bottom: var(--space-lg); }
.coming-soon__back { display: inline-block; margin-top: var(--space-lg); font-size: 14px; color: var(--text-secondary); }
.coming-soon__back:hover { color: var(--gold); }

.signup { max-width: 460px; margin: 0 auto; }
.signup__label {
  display: block; font-size: 13px; font-weight: 500; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.signup__row { display: flex; gap: 10px; }
.signup__row input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 14px 22px; font-size: 15px; font-family: var(--font-body);
  color: var(--text-primary); outline: none; transition: all var(--transition);
}
.signup__row input::placeholder { color: var(--text-muted); }
.signup__row input:focus { border-color: var(--gold); background: rgba(201,169,110,0.05); }
.signup__success { display: none; color: var(--gold); font-size: 15px; margin-top: 16px; }

/* --- ATMOSPHERE TRIGGER (Header Integrated) --- */
.atmosphere-trigger {
  background: none; border: none; cursor: pointer;
  color: var(--text-secondary); padding: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  margin-left: 12px;
}
.atmosphere-trigger:hover, .atmosphere-trigger--open {
  color: var(--gold); transform: scale(1.1);
}
.atmosphere-trigger svg {
  width: 24px; height: 24px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.atmosphere-trigger:hover svg { transform: rotate(90deg); }
.atmosphere-trigger--open svg { transform: rotate(180deg); }

/* --- THEME PANEL --- */
.tp {
  position: fixed; top: 0; right: -380px; width: 360px; height: 100vh;
  background: var(--panel-bg); border-left: 1px solid var(--border-strong);
  z-index: 2000; padding: 24px; overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
}
.tp--open { right: 0; }
.tp__backdrop { position: fixed; inset: 0; background: rgba(var(--shadow-rgb),0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.tp__backdrop--open { opacity: 1; pointer-events: auto; }
.tp__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.tp__header h4 { font-family: var(--font-heading); font-size: 22px; color: var(--text-primary); }
.tp__close { background: none; border: none; color: var(--text-secondary); font-size: 28px; cursor: pointer; padding: 0; line-height: 1; transition: color 0.2s; }
.tp__close:hover { color: var(--text-primary); }
.tp__section { margin-bottom: 28px; }
.tp__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-secondary); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }

.tp__presets { display: flex; flex-direction: column; gap: 6px; }
.tp__preset {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  border-radius: 12px; cursor: pointer; color: var(--text-secondary); font-size: 14px;
  font-family: var(--font-body); transition: all 0.2s; text-align: left; width: 100%;
}
.tp__preset:hover { background: var(--surface-2); color: var(--text-primary); }
.tp__preset--active { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.tp__swatch { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; border: 1px solid var(--border-strong); }
.tp__swatch--sm { width: 20px; height: 20px; border-radius: 6px; }

.tp__slider-wrap { display: flex; align-items: center; gap: 12px; }
.tp__slider {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px;
  background: rgba(255,255,255,0.1); border-radius: 4px; outline: none;
}
.tp__slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); cursor: pointer; border: 2px solid var(--panel-bg);
}
.tp__slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); cursor: pointer; border: 2px solid var(--panel-bg);
}
.tp__slider-val { font-size: 13px; color: var(--gold); min-width: 36px; text-align: right; }

/* Toggle Switch */
.tp__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 8px 0;
}
.tp__switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.tp__switch input { opacity: 0; width: 0; height: 0; }
.tp__slider-toggle {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .4s;
  border-radius: 24px;
}
.tp__slider-toggle:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .tp__slider-toggle { background-color: var(--gold); }
input:checked + .tp__slider-toggle:before { transform: translateX(20px); }


/* ============================================
   THEME: MYSTIC DARK (explicit base)
   Mirrors :root so "dark" is a first-class theme,
   not an accidental fallback.
   ============================================ */
[data-theme="dark"] {
  --bg-deep:#0c0a1d;--bg-dark:#110e2a;--bg-card:rgba(255,255,255,0.04);--bg-cream:#f7f4ef;--bg-accent:#1a1145;
  --text-primary:#f0ece4;--text-secondary:#a8a0b8;--text-dark:#2a2540;--text-muted:#7a7290;
  --gold:#c9a96e;--gold-light:#e8d5a8;--gold-glow:rgba(201,169,110,0.15);--accent:#8b6cc1;--accent-soft:rgba(139,108,193,0.12);
  --surface-1:rgba(255,255,255,0.04);--surface-2:rgba(255,255,255,0.06);--surface-card:var(--text-primary);
  --border-subtle:rgba(255,255,255,0.06);--border-strong:rgba(255,255,255,0.12);
  --overlay-rgb:12,10,29;--shadow-rgb:0,0,0;--on-accent:#ffffff;--panel-bg:#18152e;
}

/* ============================================
   THEME: LIGHT (Sacred Light)
   ============================================ */
[data-theme="light"] {
  --bg-deep:#faf8f5;--bg-dark:#f2efe9;--bg-card:rgba(0,0,0,0.03);--bg-cream:#ffffff;--bg-accent:#eee9f5;
  --text-primary:#2a2540;--text-secondary:#5a5270;--text-dark:#1a1530;--text-muted:#8a8498;
  --gold:#9a7b4f;--gold-light:#7a6040;--gold-glow:rgba(154,123,79,0.12);--accent:#7b5ea8;--accent-soft:rgba(123,94,168,0.1);
  --surface-1:rgba(0,0,0,0.03);--surface-2:rgba(0,0,0,0.05);--surface-card:#ffffff;
  --border-subtle:rgba(0,0,0,0.08);--border-strong:rgba(0,0,0,0.14);
  --overlay-rgb:250,248,245;--shadow-rgb:40,37,64;--on-accent:#ffffff;--panel-bg:#ffffff;
}

/* ============================================
   THEME: FOREST TEMPLE
   ============================================ */
[data-theme="forest"] {
  --bg-deep:#0a1a12;--bg-dark:#0f2618;--bg-card:rgba(255,255,255,0.04);--bg-cream:#f0f5f1;--bg-accent:#122e1c;
  --text-primary:#e0ece4;--text-secondary:#8aab96;--text-dark:#1a3024;--text-muted:#6a8a76;
  --gold:#a8c47a;--gold-light:#c4dc9e;--gold-glow:rgba(168,196,122,0.15);--accent:#5a9e6e;--accent-soft:rgba(90,158,110,0.12);
  --surface-1:rgba(255,255,255,0.04);--surface-2:rgba(255,255,255,0.07);--surface-card:#f0f5f1;
  --border-subtle:rgba(255,255,255,0.07);--border-strong:rgba(255,255,255,0.14);
  --overlay-rgb:10,26,18;--shadow-rgb:0,0,0;--on-accent:#0a1a12;--panel-bg:#0f2618;
}

/* ============================================
   THEME: OCEAN DEPTH
   ============================================ */
[data-theme="ocean"] {
  --bg-deep:#0a1520;--bg-dark:#0c1e2e;--bg-card:rgba(255,255,255,0.04);--bg-cream:#eef4f8;--bg-accent:#102a3e;
  --text-primary:#dce8f0;--text-secondary:#7aa0b8;--text-dark:#142838;--text-muted:#5a8098;
  --gold:#6ab0d4;--gold-light:#92c8e4;--gold-glow:rgba(106,176,212,0.15);--accent:#4a8ab0;--accent-soft:rgba(74,138,176,0.12);
  --surface-1:rgba(255,255,255,0.04);--surface-2:rgba(255,255,255,0.07);--surface-card:#eef4f8;
  --border-subtle:rgba(255,255,255,0.07);--border-strong:rgba(255,255,255,0.14);
  --overlay-rgb:10,21,32;--shadow-rgb:0,0,0;--on-accent:#0a1520;--panel-bg:#0c1e2e;
}

/* ============================================
   THEME: ROSE QUARTZ
   ============================================ */
[data-theme="rose"] {
  --bg-deep:#1d0f18;--bg-dark:#2a1520;--bg-card:rgba(255,255,255,0.04);--bg-cream:#f8f0f3;--bg-accent:#321a28;
  --text-primary:#f0dce4;--text-secondary:#b88a9e;--text-dark:#3a1a28;--text-muted:#987080;
  --gold:#d4a0b4;--gold-light:#e4b8c8;--gold-glow:rgba(212,160,180,0.15);--accent:#b06a88;--accent-soft:rgba(176,106,136,0.12);
  --surface-1:rgba(255,255,255,0.04);--surface-2:rgba(255,255,255,0.07);--surface-card:#f8f0f3;
  --border-subtle:rgba(255,255,255,0.07);--border-strong:rgba(255,255,255,0.14);
  --overlay-rgb:29,15,24;--shadow-rgb:0,0,0;--on-accent:#1d0f18;--panel-bg:#2a1520;
}

/* ============================================
   THEME: DESERT SAND
   ============================================ */
[data-theme="sand"] {
  --bg-deep:#f5f0e8;--bg-dark:#ebe4d8;--bg-card:rgba(0,0,0,0.03);--bg-cream:#ffffff;--bg-accent:#e8e0d0;
  --text-primary:#3a3020;--text-secondary:#6a5e4a;--text-dark:#2a2418;--text-muted:#8a7e6a;
  --gold:#a08050;--gold-light:#806540;--gold-glow:rgba(160,128,80,0.12);--accent:#8a6a3a;--accent-soft:rgba(138,106,58,0.1);
  --surface-1:rgba(0,0,0,0.03);--surface-2:rgba(0,0,0,0.05);--surface-card:#ffffff;
  --border-subtle:rgba(0,0,0,0.08);--border-strong:rgba(0,0,0,0.14);
  --overlay-rgb:245,240,232;--shadow-rgb:58,48,32;--on-accent:#ffffff;--panel-bg:#ffffff;
}

/* ============================================
   THEME: DIVINE LIGHTS
   ============================================ */
[data-theme="divine"] {
  --bg-deep:#0a0818;--bg-dark:#0e0c20;--bg-card:rgba(255,255,255,0.03);--bg-cream:#0f0d22;--bg-accent:#110e28;
  --text-primary:#e8e0f8;--text-secondary:#a898c8;--text-dark:#e0d8f0;--text-muted:#8878a8;
  --gold:#d4a8ff;--gold-light:#e8c8ff;--gold-glow:rgba(180,120,255,0.2);--accent:#80b8ff;--accent-soft:rgba(128,184,255,0.1);
  --surface-1:rgba(255,255,255,0.03);--surface-2:rgba(180,120,255,0.08);--surface-card:rgba(12,8,28,1);
  --border-subtle:rgba(180,120,255,0.1);--border-strong:rgba(180,120,255,0.18);
  --overlay-rgb:10,8,24;--shadow-rgb:0,0,0;--on-accent:#0a0818;--panel-bg:#0e0c20;
}

/* Divine Lights - deep glow backgrounds */
[data-theme="divine"] .section--dark {
  background: radial-gradient(ellipse at 20% 50%, rgba(100,60,180,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(60,140,220,0.06) 0%, transparent 60%),
              var(--bg-dark);
}
[data-theme="divine"] .section--cream {
  background: radial-gradient(ellipse at 30% 30%, rgba(180,120,255,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(100,200,255,0.05) 0%, transparent 50%),
              var(--bg-cream);
  color: var(--text-primary);
}
[data-theme="divine"] .section--cream .eyebrow { color: var(--gold); }
[data-theme="divine"] .section--cream h2 { color: var(--text-primary); }
[data-theme="divine"] .section--cream p { color: var(--text-secondary); }
[data-theme="divine"] .section--cream .section-header__sub { color: var(--text-secondary); }
[data-theme="divine"] .section--accent {
  background: radial-gradient(ellipse at 50% 0%, rgba(180,120,255,0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 100%, rgba(100,200,255,0.08) 0%, transparent 50%),
              var(--bg-accent);
}

/* Divine Lights - spinning LED behind cards */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes spinGlow { to { --angle: 360deg; } }

[data-theme="divine"] .cards { overflow: visible; }
[data-theme="divine"] .card {
  --angle: 0deg;
  background: rgba(12,8,28,1);
  border: none; position: relative;
  box-shadow: 0 0 0 transparent;
  overflow: hidden;
}

/* The LED glow - behind the card as a shadow */
[data-theme="divine"] .card:hover {
  box-shadow:
    0 0 15px 2px rgba(255,107,107,0.3),
    0 0 15px 2px rgba(255,217,61,0.3),
    0 0 15px 2px rgba(107,255,107,0.3),
    0 0 15px 2px rgba(107,212,255,0.3),
    0 0 15px 2px rgba(180,107,255,0.3),
    0 0 15px 2px rgba(255,107,180,0.3);
  animation: shadowSpin 2.5s linear infinite;
}
[data-theme="divine"] .card--featured {
  box-shadow:
    0 0 10px 1px rgba(180,107,255,0.15),
    0 0 10px 1px rgba(107,212,255,0.1);
  animation: shadowSpin 4s linear infinite;
}
[data-theme="divine"] .card--featured:hover {
  box-shadow:
    0 0 15px 2px rgba(255,107,107,0.3),
    0 0 15px 2px rgba(255,217,61,0.3),
    0 0 15px 2px rgba(107,255,107,0.3),
    0 0 15px 2px rgba(107,212,255,0.3),
    0 0 15px 2px rgba(180,107,255,0.3),
    0 0 15px 2px rgba(255,107,180,0.3);
  animation-duration: 2.5s;
}
@keyframes shadowSpin {
  0%   { box-shadow: 0 -8px 15px -3px rgba(255,107,107,var(--glow-intensity)), 8px 0 15px -3px rgba(255,217,61,var(--glow-intensity)), 0 8px 15px -3px rgba(107,255,107,var(--glow-intensity)), -8px 0 15px -3px rgba(107,212,255,var(--glow-intensity)); }
  25%  { box-shadow: 0 -8px 15px -3px rgba(255,217,61,var(--glow-intensity)), 8px 0 15px -3px rgba(107,255,107,var(--glow-intensity)), 0 8px 15px -3px rgba(107,212,255,var(--glow-intensity)), -8px 0 15px -3px rgba(180,107,255,var(--glow-intensity)); }
  50%  { box-shadow: 0 -8px 15px -3px rgba(107,255,107,var(--glow-intensity)), 8px 0 15px -3px rgba(107,212,255,var(--glow-intensity)), 0 8px 15px -3px rgba(180,107,255,var(--glow-intensity)), -8px 0 15px -3px rgba(255,107,180,var(--glow-intensity)); }
  75%  { box-shadow: 0 -8px 15px -3px rgba(107,212,255,var(--glow-intensity)), 8px 0 15px -3px rgba(180,107,255,var(--glow-intensity)), 0 8px 15px -3px rgba(255,107,180,var(--glow-intensity)), -8px 0 15px -3px rgba(255,107,107,var(--glow-intensity)); }
  100% { box-shadow: 0 -8px 15px -3px rgba(255,107,107,var(--glow-intensity)), 8px 0 15px -3px rgba(255,217,61,var(--glow-intensity)), 0 8px 15px -3px rgba(107,255,107,var(--glow-intensity)), -8px 0 15px -3px rgba(107,212,255,var(--glow-intensity)); }
}

[data-theme="divine"] .card__body h3 { color: var(--text-primary); }
[data-theme="divine"] .card__price { color: var(--gold); }
[data-theme="divine"] .card__price span { color: var(--text-muted); }
[data-theme="divine"] .card__body ul { color: var(--text-secondary); }
[data-theme="divine"] .card__body li { border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="divine"] .card__body li::before { color: var(--accent); }
[data-theme="divine"] .card__badge { background: linear-gradient(135deg, #b478ff, #64c8ff); color: #0a0818; }

/* Divine Lights - donation banner */
[data-theme="divine"] .donation-banner {
  background: rgba(12,8,28,1); border: none;
  box-shadow: none; transition: box-shadow 0.4s;
}
[data-theme="divine"] .donation-banner:hover {
  animation: shadowSpin 2.5s linear infinite;
}
[data-theme="divine"] .donation-banner h3 { color: var(--text-primary); }
[data-theme="divine"] .donation-banner p { color: var(--text-secondary); }
[data-theme="divine"] .fine-print { color: var(--text-muted); }
[data-theme="divine"] .fine-print a { color: var(--gold); }

/* Divine Lights - pricing */
[data-theme="divine"] .pricing-info {
  background: rgba(12,8,28,1); border-color: transparent;
  box-shadow: none; transition: box-shadow 0.4s;
}
[data-theme="divine"] .pricing-info:hover {
  animation: shadowSpin 2.5s linear infinite;
}
[data-theme="divine"] .pricing-info__item strong { color: var(--gold); }
[data-theme="divine"] .pricing-info__divider { background: rgba(180,120,255,0.15); }

/* Divine Lights - programs */
[data-theme="divine"] .program {
  background: rgba(12,8,28,1); border-color: transparent;
  transition: box-shadow 0.4s;
}
[data-theme="divine"] .program:hover {
  animation: shadowSpin 2.5s linear infinite;
}
[data-theme="divine"] .program h3 { color: var(--text-primary); }
[data-theme="divine"] .program li::before { color: var(--gold); }

/* Divine Lights - benefits */
[data-theme="divine"] .benefits-list li { border-bottom-color: rgba(180,120,255,0.08); }
[data-theme="divine"] .benefit-icon { color: var(--gold); }

/* Divine Lights - FAQ */
[data-theme="divine"] .faq__item { border-bottom-color: rgba(180,120,255,0.1); }
[data-theme="divine"] .faq__item summary { color: var(--text-primary); }
[data-theme="divine"] .faq__item summary::after { background: rgba(180,120,255,0.1); color: var(--gold); }
[data-theme="divine"] .faq__item[open] summary::after { background: linear-gradient(135deg, #b478ff, #64c8ff); color: #0a0818; }
[data-theme="divine"] .faq__answer { color: var(--text-secondary); }

/* Divine Lights - form */
[data-theme="divine"] .form {
  background: rgba(180,120,255,0.03); border-color: rgba(180,120,255,0.1);
  box-shadow: 0 0 40px rgba(180,120,255,0.04);
  transition: box-shadow 0.4s;
}
[data-theme="divine"] .form:hover {
  box-shadow:
    0 0 30px rgba(180,120,255,0.08),
    0 0 60px rgba(100,200,255,0.05);
}
[data-theme="divine"] .form__group label { color: var(--text-muted); }
[data-theme="divine"] .form__group input,
[data-theme="divine"] .form__group textarea {
  background: rgba(255,255,255,0.03); border-color: rgba(180,120,255,0.12); color: var(--text-primary);
}
[data-theme="divine"] .form__group input:focus,
[data-theme="divine"] .form__group textarea:focus {
  border-color: var(--gold); background: rgba(180,120,255,0.04);
  box-shadow: 0 0 20px rgba(180,120,255,0.08);
}
[data-theme="divine"] .btn--primary { background: linear-gradient(135deg, #b478ff, #64c8ff); color: #0a0818; transition: all 0.3s; }
[data-theme="divine"] .btn--primary:hover {
  box-shadow:
    0 0 15px rgba(180,120,255,0.4),
    0 0 30px rgba(100,200,255,0.25),
    0 0 45px rgba(255,100,180,0.15);
  transform: translateY(-2px);
}
[data-theme="divine"] .btn--ghost { border-color: rgba(180,120,255,0.2); color: var(--text-primary); }
[data-theme="divine"] .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Divine Lights - social & footer */
[data-theme="divine"] .social-links a {
  background: rgba(180,120,255,0.06); border-color: rgba(180,120,255,0.12); color: var(--text-secondary);
  transition: all 0.3s;
}
[data-theme="divine"] .social-links a:hover {
  background: linear-gradient(135deg, #b478ff, #64c8ff); color: #0a0818; border-color: transparent;
  box-shadow:
    0 0 12px rgba(180,120,255,0.3),
    0 0 24px rgba(100,200,255,0.2);
}
[data-theme="divine"] .footer { background: var(--bg-deep); border-top-color: rgba(180,120,255,0.08); }

/* Divine Lights - marquee */
[data-theme="divine"] .marquee {
  background: linear-gradient(90deg, #b478ff, #64c8ff, #ff78b4, #b478ff);
  background-size: 200% 100%; color: #0a0818;
  animation: marquee-bg 6s linear infinite;
}
@keyframes marquee-bg { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* Divine Lights - header */
[data-theme="divine"] .header--scrolled {
  background: rgba(10,8,24,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(180,120,255,0.08);
}
[data-theme="divine"] .nav__cta { background: linear-gradient(135deg, #b478ff, #64c8ff); color: #0a0818; }
[data-theme="divine"] .nav__cta:hover { box-shadow: 0 4px 20px rgba(180,120,255,0.3); }
[data-theme="divine"] .nav__link--book { color: var(--gold); }

/* Divine Lights - nav link hover glow */
[data-theme="divine"] .nav__link:hover {
  text-shadow: 0 0 8px rgba(180,120,255,0.4), 0 0 16px rgba(100,200,255,0.2);
}
[data-theme="divine"] .nav__link::after { background: linear-gradient(90deg, #b478ff, #64c8ff, #ff78b4); }
[data-theme="divine"] .nav__link--book:hover {
  text-shadow: 0 0 8px rgba(212,168,255,0.5), 0 0 16px rgba(100,200,255,0.3);
}

/* Divine Lights - hero */
[data-theme="divine"] .hero__overlay {
  background: linear-gradient(180deg, rgba(10,8,24,0.2) 0%, rgba(10,8,24,0.6) 50%,
    rgba(10,8,24,0.95) 85%, var(--bg-deep) 100%),
    radial-gradient(ellipse at 30% 80%, rgba(180,120,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(100,200,255,0.06) 0%, transparent 50%);
}


[data-theme="light"] .header--scrolled,
[data-theme="sand"] .header--scrolled {
  background: rgba(250,248,245,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
[data-theme="light"] .nav__logo, [data-theme="sand"] .nav__logo { color: var(--text-primary); }
[data-theme="light"] .nav__link, [data-theme="sand"] .nav__link { color: var(--text-muted); }
[data-theme="light"] .nav__link:hover, [data-theme="light"] .nav__link--active,
[data-theme="sand"] .nav__link:hover, [data-theme="sand"] .nav__link--active { color: var(--text-primary); }
[data-theme="light"] .nav__cta, [data-theme="sand"] .nav__cta { background: var(--accent); color: #fff; }
[data-theme="light"] .nav__cta:hover, [data-theme="sand"] .nav__cta:hover { background: var(--gold-light); color: #fff; }
[data-theme="light"] .burger span, [data-theme="sand"] .burger span { background: var(--text-primary); }

[data-theme="light"] .hero__overlay, [data-theme="sand"] .hero__overlay {
  background: linear-gradient(180deg, rgba(250,248,245,0.15) 0%, rgba(250,248,245,0.5) 60%, var(--bg-deep) 100%);
}

[data-theme="light"] .marquee, [data-theme="sand"] .marquee { background: var(--accent); color: #fff; }

[data-theme="light"] .card, [data-theme="sand"] .card { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
[data-theme="light"] .card:hover, [data-theme="sand"] .card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
[data-theme="light"] .card--featured, [data-theme="sand"] .card--featured { border-color: var(--accent); }
[data-theme="light"] .card__badge, [data-theme="sand"] .card__badge { background: var(--accent); }

[data-theme="light"] .donation-banner, [data-theme="sand"] .donation-banner { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

[data-theme="light"] .pricing-info, [data-theme="sand"] .pricing-info { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .pricing-info__item strong, [data-theme="sand"] .pricing-info__item strong { color: var(--accent); }
[data-theme="light"] .pricing-info__divider, [data-theme="sand"] .pricing-info__divider { background: rgba(0,0,0,0.08); }

[data-theme="light"] .program, [data-theme="sand"] .program { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .program:hover, [data-theme="sand"] .program:hover { background: rgba(0,0,0,0.04); border-color: rgba(var(--accent),0.2); }
[data-theme="light"] .program h3, [data-theme="sand"] .program h3 { color: var(--text-primary); }
[data-theme="light"] .program li::before, [data-theme="sand"] .program li::before { color: var(--accent); }

[data-theme="light"] .benefits-list li, [data-theme="sand"] .benefits-list li { border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .benefit-icon, [data-theme="sand"] .benefit-icon { color: var(--accent); }

[data-theme="light"] .faq__item, [data-theme="sand"] .faq__item { border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .faq__item summary, [data-theme="sand"] .faq__item summary { color: var(--text-dark); }
[data-theme="light"] .faq__item summary::after, [data-theme="sand"] .faq__item summary::after { background: var(--accent-soft); color: var(--accent); }
[data-theme="light"] .faq__item[open] summary::after, [data-theme="sand"] .faq__item[open] summary::after { background: var(--accent); color: #fff; }

[data-theme="light"] .form, [data-theme="sand"] .form { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .form__group label, [data-theme="sand"] .form__group label { color: var(--text-muted); }
[data-theme="light"] .form__group input, [data-theme="light"] .form__group textarea,
[data-theme="sand"] .form__group input, [data-theme="sand"] .form__group textarea {
  background: #fff; border-color: rgba(0,0,0,0.12); color: var(--text-primary);
}
[data-theme="light"] .form__group input:focus, [data-theme="light"] .form__group textarea:focus,
[data-theme="sand"] .form__group input:focus, [data-theme="sand"] .form__group textarea:focus { border-color: var(--accent); background: rgba(0,0,0,0.01); }
[data-theme="light"] .btn--primary, [data-theme="sand"] .btn--primary { background: var(--accent); color: #fff; }
[data-theme="light"] .btn--primary:hover, [data-theme="sand"] .btn--primary:hover { background: var(--gold-light); color: #fff; }
[data-theme="light"] .btn--ghost, [data-theme="sand"] .btn--ghost { border-color: rgba(0,0,0,0.15); color: var(--text-primary); }
[data-theme="light"] .btn--ghost:hover, [data-theme="sand"] .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

[data-theme="light"] .social-links a, [data-theme="sand"] .social-links a { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: var(--text-muted); }
[data-theme="light"] .social-links a:hover, [data-theme="sand"] .social-links a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

[data-theme="light"] .footer, [data-theme="sand"] .footer { background: var(--bg-dark); border-top-color: rgba(0,0,0,0.06); }

[data-theme="light"] .nav__dropdown-menu, [data-theme="sand"] .nav__dropdown-menu {
  background: rgba(250,248,245,0.97); border-color: rgba(0,0,0,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
[data-theme="light"] .nav__dropdown-menu .nav__link:hover,
[data-theme="sand"] .nav__dropdown-menu .nav__link:hover { background: rgba(0,0,0,0.04); }
[data-theme="light"] .nav__dropdown-trigger, [data-theme="sand"] .nav__dropdown-trigger { color: var(--text-muted); }
[data-theme="light"] .nav__dropdown-trigger:hover, [data-theme="sand"] .nav__dropdown-trigger:hover { color: var(--text-primary); }
[data-theme="divine"] .nav__dropdown-menu {
  background: rgba(10,8,24,0.95); border-color: rgba(180,120,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(180,120,255,0.06);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program--wide { grid-column: 1 / -1; }
  .program__list--inline { columns: 1; }
  .nav__links { gap: 20px; margin-left: 28px; }
  .nav__link { font-size: 13px; }

  /* Distance Healing: release the fixed-height layout below desktop so the
     stacked/2-column cards can't overflow into the next section. */
  #distance { height: auto; padding: var(--space-2xl) 0; }
  #distance .container { height: auto; display: block; }
  #distance .section-header { flex: none; margin-bottom: var(--space-xl); }
  #distance .cards { flex: none; grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
}

@media (max-width: 768px) {
  :root { --space-xl: 56px; --space-2xl: 80px; }

  /* Nav */
  .logo { position: static; transform: none; }
  .nav__links {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: var(--bg-deep); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 32px;
    margin: 0; overflow-y: auto; padding: 88px 24px 40px;
  }
  .nav__links--open { display: flex; }

  /* When the mobile menu is open, the header must NOT create a containing
     block for the fixed full-screen menu. backdrop-filter (and transform)
     do exactly that, trapping the menu inside the short header box so it
     overlaps the page. The header also has `transition: all`, which would
     ANIMATE backdrop-filter removal (leaving a blur mid-transition and the
     containing block intact) - so we disable the transition to drop it
     instantly while the menu is open. */
  body.no-scroll .header,
  body.no-scroll .header--scrolled {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    transform: none !important; transition: none !important;
  }
  .nav__link { font-size: 24px; font-family: var(--font-heading); }
  .nav__dropdown-trigger { font-size: 24px; font-family: var(--font-heading); color: var(--text-primary); }
  .nav__dropdown-menu {
    position: static; transform: none; background: transparent; backdrop-filter: none;
    border: none; box-shadow: none; padding: 0; min-width: auto;
    opacity: 1; visibility: visible; translate: 0 0;
  }
  .nav__dropdown-trigger { display: none; }
  .nav__dropdown { display: contents; }
  .nav__cta { display: none; }
  .theme-toggle { order: -1; }
  .burger { display: flex; z-index: 1001; }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero__content { padding: 140px 0 var(--space-xl); }
  .hero__bg {
    top: 80px;
    height: calc(85vh - 80px - 18vh);
  }

  /* Layouts */
  .split, .split--reverse { grid-template-columns: 1fr; gap: var(--space-lg); }
  .cards { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Distance Healing: release fixed-height layout so stacked cards don't overflow */
  #distance { height: auto; padding: var(--space-2xl) 0; }
  #distance .container { height: auto; display: block; }
  #distance .section-header { flex: none; margin-bottom: var(--space-xl); }
  #distance .cards { flex: none; margin-bottom: 0; }

  /* Pricing */
  .pricing-info { flex-direction: column; gap: var(--space-md); }
  .pricing-info__divider { width: 48px; height: 1px; }

  /* Donation */
  .donation-banner { flex-direction: column; text-align: center; }
  .donation-banner img { width: 100%; height: 180px; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  .footer__legal { text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .signup__row { flex-direction: column; }
  .signup__row .btn { width: 100%; }
}


/* --- GROUP SOUND BATH WIDGET --- */
.section-header--sub { margin-top: var(--space-xl); margin-bottom: var(--space-md); }
.section-header--sub h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
}

/* Group Healing: two equal cards side by side (Sound Bath + Mega) */
.cards.group-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  max-width: 920px;
  margin: 0 auto var(--space-xl);
  align-items: stretch;
}
/* Sound Bath now lives inside a .card, inheriting its surface + hover glow. */
.soundbath {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}
.soundbath__intro h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.2rem 0 0.6rem;
}
.soundbath__intro p { color: var(--text-secondary); margin-bottom: 1rem; }
.soundbath__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.soundbath__points li {
  position: relative; padding: 0 0 0 1.4rem; border-bottom: none;
  color: var(--text-secondary); font-size: 0.9rem;
}
.soundbath__points li::before {
  content: '\2726'; position: absolute; left: 0; color: var(--gold);
}

.soundbath__panel {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.soundbath__label {
  display: block; font-size: 0.85rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.85rem;
}
.soundbath__stepper {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.soundbath__step {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-1); color: var(--text-primary);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: all var(--transition);
}
.soundbath__step:hover { border-color: var(--gold); color: var(--gold); }
.soundbath__count {
  width: 84px; height: 44px; text-align: center;
  font-family: var(--font-body); font-size: 1.25rem; font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-1);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  -moz-appearance: textfield;
}
.soundbath__count::-webkit-outer-spin-button,
.soundbath__count::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.soundbath__readout { margin-bottom: 1rem; }
.soundbath__total {
  display: block; font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 2.8rem); font-weight: 700; color: var(--gold);
  line-height: 1.1;
}
.soundbath__breakdown { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.2rem; }
.soundbath__savings {
  display: inline-block; margin-top: 0.5rem; padding: 0.25rem 0.7rem;
  font-size: 0.78rem; font-weight: 600; color: var(--bg-deep);
  background: var(--gold-light); border-radius: 1rem;
}
.soundbath__tiers {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.soundbath__tiers span {
  font-size: 0.72rem; color: var(--text-muted);
  padding: 0.25rem 0.55rem; border: 1px solid var(--border-subtle);
  border-radius: 1rem;
}
.soundbath__cta { width: 100%; }
.soundbath__cta:disabled { opacity: 0.7; cursor: progress; }
.soundbath__note { font-size: 0.75rem; color: var(--text-muted); margin: 0.75rem 0 0; }
.soundbath__note--success { color: var(--gold); font-size: 0.85rem; }

.mega-card { display: flex; flex-direction: column; }
.mega-card .card__body { display: flex; flex-direction: column; height: 100%; }
.mega-card__cta { margin-top: auto; align-self: flex-start; }

@media (max-width: 760px) {
  .cards.group-grid { grid-template-columns: 1fr; }
}

/* --- ABOUT / STORY PAGE --- */
.about-hero { min-height: 78vh; }
.about-hero .coming-soon__inner { max-width: 760px; }

.story { max-width: 760px; margin: 0 auto; }
.story p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: var(--space-md);
}
.story p:last-child { margin-bottom: 0; }
.section--cream .story p { color: var(--text-muted); }
.story--center { text-align: center; }

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

@media (max-width: 720px) {
  .story p { font-size: 16px; }
  .about-cta { flex-direction: column; align-items: stretch; }
}

/* --- ABOUT STORY: list + uniform body size --- */
.story__list { margin: 0 0 var(--space-md); }
.story__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.8;
}
.story__list li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}
.section--cream .story__list li { color: var(--text-muted); }

/* Match split paragraph size to the story prose on the About page */
.about-page .split__text p { font-size: 18px; line-height: 1.8; margin-bottom: var(--space-md); }

@media (max-width: 720px) {
  .story__list li { font-size: 16px; }
  .about-page .split__text p { font-size: 16px; }
}

/* --- ABOUT LETTER (reads like a written letter, merged with the active theme) --- */
.letter {
  padding-top: calc(var(--space-2xl) + 40px);
  background:
    radial-gradient(circle at 50% 0%, var(--gold-glow), transparent 55%),
    var(--bg-deep);
}
.letter__sheet {
  max-width: 860px;
  margin: 0 auto;
  color: #352733;
  background-color: #f7ebd7;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.18' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #fff5e4, transparent 65%, #edd9bb);
  padding: clamp(36px, 6vw, 92px) clamp(22px, 6vw, 76px);
  border-radius: 3px;
  border: 1px solid #dfc7a7;
  box-shadow: inset 0 0 40px #865e2b1a, 0 24px 64px rgba(var(--shadow-rgb), 0.35);
}
.letter__body {
  --letter-line: 36px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 calc(var(--letter-line) - 4px),
    #775b4c25 calc(var(--letter-line) - 4px) calc(var(--letter-line) - 3px),
    transparent calc(var(--letter-line) - 3px) var(--letter-line)
  );
}
.letter__body p {
  font-family: 'Kalam', 'Segoe Print', 'Bradley Hand', var(--font-heading);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: var(--letter-line);
  color: inherit;
  margin: 0 0 var(--letter-line);
}
.letter__body p:last-child { margin-bottom: 0; }

.letter__title {
  font-family: 'Dancing Script', 'Bradley Hand', cursive;
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 62px);
  color: inherit;
  text-align: center;
  text-wrap: balance;
  margin-bottom: var(--space-lg);
}
.letter__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin: var(--space-md) auto 0;
  background: #8b4f42;
  opacity: 0.7;
}

/* Quiet closing flourish */
.letter__close {
  margin-top: var(--space-lg);
  text-align: center;
  color: #8b4f42;
}
.letter__close::before {
  content: '\2726';
  font-size: 18px;
  opacity: 0.8;
}

@media (max-width: 720px) {
  .letter__body { --letter-line: 32px; }
}


/* --- DONATION OPTIONS (Offering section) --- */
.donation-banner__body { flex: 1; min-width: 0; }
.donation-options {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-sm);
}
.donation-options .btn { min-width: 64px; }
@media (max-width: 600px) {
  .donation-banner { flex-direction: column; text-align: center; }
  .donation-banner img { width: 100%; height: 180px; }
  .donation-options { justify-content: center; }
}


/* --- NAV: Donate call-to-action (pill button) --- */
.nav__link--cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 18px;
  transition: background var(--transition), color var(--transition);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold); color: var(--bg-deep); }


/* --- COMING SOON small tag (pill under hero title) --- */
.coming-soon__badge {
  display: inline-block;
  margin: 0 0 var(--space-md);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 5px 16px;
}


/* --- DONATE: scripture quote --- */
.donate-quote { max-width: 600px; margin: var(--space-md) auto 0; padding: 0; border: none; }
.donate-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-style: italic; line-height: 1.6;
  color: var(--text-secondary); margin: 0;
}
.donate-quote cite {
  display: block; margin-top: var(--space-sm);
  font-style: normal; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}


/* ============================================
   GALLERY  (portfolio masonry + color-reveal spotlight)
   --------------------------------------------
   Photos rest in grayscale and reveal their color in a soft circle that
   follows the pointer. The spotlight position lives in --x / --y, set on
   each .g-item by gallery.html and inherited by the layers below.
   ============================================ */
.gallery-page { padding-top: 72px; }            /* clear the fixed header */

.gallery-hero { text-align: center; padding: var(--space-2xl) 0 var(--space-md); }
.gallery-hero h1 { margin-bottom: var(--space-sm); }
.gallery-hero__sub {
  color: var(--text-secondary); font-size: 17px;
  max-width: 620px; margin: 0 auto;
}
.gallery-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-md);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.gallery-hint svg { width: 18px; height: 18px; }

.gallery-section { padding-top: var(--space-lg); }

/* --- Collections -----------------------------------------------------------
   Photos are grouped into aspect-ratio collections (see gallery.html). Each
   collection gets a centered header and its own grid so the eye reads one
   event at a time. */
.gallery-collection { margin-bottom: var(--space-2xl); }
.gallery-collection:last-child { margin-bottom: 0; }

.collection-head { text-align: center; margin-bottom: var(--space-lg); }
.collection-kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.collection-title { margin: 0 0 6px; font-size: clamp(26px, 4vw, 38px); }
.collection-meta {
  margin: 0; color: var(--text-secondary); font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Collection grid: two frames side by side, each keeping its natural ratio.
   align-items:start lets portrait + landscape pairs sit cleanly together. */
.collection-grid {
  columns: auto;                                   /* cancel the masonry columns below */
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 22px; align-items: start;
}
.collection-grid .g-item { margin: 0; }            /* grid gap handles spacing */

/* Upright collections lean narrower so portraits don't tower over the page. */
.gallery-collection[data-format="upright"] .collection-grid {
  max-width: 760px; margin-inline: auto;
}

/* Masonry via CSS columns - fallback for any ungrouped .gallery-grid. */
.gallery-grid { columns: 3; column-gap: 22px; }

.g-item {
  --x: -9999px; --y: -9999px; --spot: 150px;       /* spotlight defaults */
  position: relative; display: block;
  break-inside: avoid; margin: 0 0 22px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-1); border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 40px rgba(var(--shadow-rgb), 0.28);
  cursor: crosshair; outline: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.g-item:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(var(--shadow-rgb), 0.4); }
.g-item:focus-visible { box-shadow: 0 0 0 2px var(--gold), 0 22px 60px rgba(var(--shadow-rgb), 0.4); }

.g-item__img { width: 100%; height: auto; display: block; }

/* Base layer: desaturated and slightly dimmed so the reveal pops. */
.g-item__img--gray {
  filter: grayscale(1) brightness(0.9) contrast(0.96);
  transition: filter 0.4s ease;
}

/* Color layer: stacked exactly over the base, revealed through a radial
   mask centered on the pointer. Hidden (opacity 0) until the frame is active. */
.g-item__img--color {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--spot) at var(--x) var(--y), #000 0%, #000 55%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(circle var(--spot) at var(--x) var(--y), #000 0%, #000 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.g-item.is-active .g-item__img--color { opacity: 1; }
.g-item.is-active .g-item__img--gray { filter: grayscale(1) brightness(0.66) contrast(0.96); }

/* Keyboard focus: reveal the whole frame in color (no pointer to follow). */
.g-item.is-focus .g-item__img--color {
  opacity: 1; -webkit-mask-image: none; mask-image: none;
}
.g-item.is-focus .g-item__img--gray { filter: none; }

/* Soft gold glow that trails the cursor for a touch of life. */
.g-item__glow {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.35s ease; mix-blend-mode: screen;
  background: radial-gradient(circle 170px at var(--x) var(--y), var(--gold-glow), rgba(0,0,0,0) 70%);
}
.g-item.is-active .g-item__glow { opacity: 1; }

/* Frame number, surfaces on reveal. */
.g-item__num {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  margin: 0; font-family: var(--font-heading); font-size: 15px; letter-spacing: 0.1em;
  color: #fff; opacity: 0; transition: opacity 0.35s ease;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.g-item.is-active .g-item__num,
.g-item.is-focus .g-item__num { opacity: 0.92; }

@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 700px) { .collection-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }

/* Touch / no-hover devices can't drive the spotlight, so present the photos
   in full color and drop the pointer affordances. */
@media (hover: none) {
  .g-item { cursor: default; }
  .g-item__img--color { opacity: 1; -webkit-mask-image: none; mask-image: none; }
  .g-item__img--gray { filter: none; }
  .g-item__glow { display: none; }
  .g-item__num { opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .g-item, .g-item__img--gray, .g-item__img--color, .g-item__glow, .g-item__num { transition: none; }
}
