/* ═══════════════════════════════════════════════════════════════
   Sree Sree Gita Sangha — Custom Styles
   Matches the Netlify preview exactly.
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --maroon-900: #5C1A1B;
  --maroon-800: #7D2826;
  --maroon-700: #9A3A33;
  --maroon-600: #B85040;
  --gold-700: #8C6A2D;
  --gold-600: #A8853A;
  --gold-500: #C49A4F;
  --gold-300: #DEBE85;
  --cream-100: #F2E3C0;
  --cream-50: #FAF1DC;
  --ivory: #FDF8EC;
  --ink-900: #2A1810;
  --ink-700: #52382A;
  --ink-500: #94755E;
  --line: rgba(92,26,27,0.12);

  --evt-puja: #5C1A1B;
  --evt-cultural: #1F5F73;
  --evt-service: #5B7D2A;
  --evt-class: #8C6A2D;
  --evt-special: #7A3E84;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image:
    radial-gradient(circle at 20% 20%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, var(--gold-500) 0.5px, transparent 0.5px);
  background-size: 120px 120px, 160px 160px, 80px 80px;
  animation: sacredBgDrift 60s linear infinite;
}
@keyframes sacredBgDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(120px, 120px); }
}

/* ── Floating Sacred Particles Container ── */
.sacred-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.sacred-particles .sp {
  position: absolute;
  color: var(--gold-500);
  opacity: 0;
  animation: spFloat linear infinite;
}
@keyframes spFloat {
  0% { transform: translateY(110vh) rotate(0deg) scale(0.6); opacity: 0; }
  8% { opacity: 0.12; }
  50% { opacity: 0.18; }
  92% { opacity: 0.08; }
  100% { transform: translateY(-10vh) rotate(360deg) scale(1); opacity: 0; }
}
.sacred-particles .sp:nth-child(1) { left: 5%; font-size: 18px; animation-duration: 28s; animation-delay: 0s; }
.sacred-particles .sp:nth-child(2) { left: 15%; font-size: 14px; animation-duration: 34s; animation-delay: 4s; }
.sacred-particles .sp:nth-child(3) { left: 28%; font-size: 20px; animation-duration: 26s; animation-delay: 8s; }
.sacred-particles .sp:nth-child(4) { left: 42%; font-size: 12px; animation-duration: 38s; animation-delay: 2s; }
.sacred-particles .sp:nth-child(5) { left: 55%; font-size: 16px; animation-duration: 30s; animation-delay: 6s; }
.sacred-particles .sp:nth-child(6) { left: 68%; font-size: 22px; animation-duration: 24s; animation-delay: 10s; }
.sacred-particles .sp:nth-child(7) { left: 78%; font-size: 13px; animation-duration: 36s; animation-delay: 1s; }
.sacred-particles .sp:nth-child(8) { left: 88%; font-size: 17px; animation-duration: 32s; animation-delay: 5s; }
.sacred-particles .sp:nth-child(9) { left: 35%; font-size: 15px; animation-duration: 40s; animation-delay: 12s; }
.sacred-particles .sp:nth-child(10) { left: 62%; font-size: 19px; animation-duration: 27s; animation-delay: 7s; }
.sacred-particles .sp:nth-child(11) { left: 92%; font-size: 11px; animation-duration: 35s; animation-delay: 3s; }
.sacred-particles .sp:nth-child(12) { left: 48%; font-size: 21px; animation-duration: 29s; animation-delay: 9s; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }

/* ── Utility Classes ── */
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-700);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
  display: inline-block; opacity: .7;
}

/* ── Layout ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { padding: clamp(56px, 6.5vw, 72px) 0; }

/* ── Placeholder Images ── */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(138,40,32,0.08) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #fbe6b8 0%, #f5d0a0 50%, #ecbb83 100%);
  color: rgba(74,28,16,.6);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ph-dark {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #6B1A18 0%, #8A2820 50%, #4A0F0C 100%);
  color: rgba(255,232,190,.7);
}
.ph-gold {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.15) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #CC9023 0%, #E6B447 60%, #A87421 100%);
  color: rgba(255,253,240,.85);
}
.ph-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px; border: 1px dashed currentColor; border-radius: 999px;
  max-width: 80%;
}

/* ── Buttons ── */
.btn-gs {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  will-change: transform;
  border: none; cursor: pointer;
}
.btn-gs:hover { transform: translateY(-1px); }
.btn-primary-gs {
  background: var(--gold-500); color: var(--maroon-900);
  box-shadow: 0 8px 24px -10px rgba(184,137,58,.7);
}
.btn-primary-gs:hover { background: var(--gold-300); }
.btn-dark-gs { background: var(--maroon-800); color: #fff; }
.btn-dark-gs:hover { background: var(--maroon-700); }
.btn-ghost-gs {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-ghost-gs:hover { background: rgba(255,255,255,.08); }
.btn-onmaroon { background: #fff; color: var(--maroon-800); }
.btn-onmaroon:hover { background: var(--cream-100); }

/* ── Scrollbar ── */
.rail::-webkit-scrollbar { height: 0; width: 0; }
.rail { scrollbar-width: none; }

/* ── Animations ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise .9s cubic-bezier(.22,.61,.36,1) both; }
@keyframes slowzoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.0); }
}

/* ── Focus ── */
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

/* ── Dotted Divider ── */
.dot-div { width: 6px; height: 6px; border-radius: 999px; background: var(--gold-500); display: inline-block; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav-top-bar {
  background: var(--maroon-900); color: var(--cream-100);
  font-size: 12px; font-family: var(--mono); letter-spacing: .08em;
}
.nav-logo-circle {
  width: 72px; height: 72px; border-radius: 999px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(92,26,27,.18), 0 0 0 3px var(--cream-100);
  background: #fff; flex-shrink: 0;
}
.nav-brand-text {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  color: var(--maroon-900); letter-spacing: -.01em;
}
.nav-brand-sub {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  color: var(--gold-700); text-transform: uppercase; margin-top: 7px; font-weight: 600;
}
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-900); padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--maroon-800); background: var(--cream-100);
}
.nav-dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 8px; width: 340px; z-index: 50;
}
.nav-dropdown-inner {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px;
  box-shadow: 0 28px 60px -20px rgba(92,26,27,.25), 0 4px 14px rgba(0,0,0,.05);
}
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 14px; border-radius: 9px;
  color: var(--ink-900); transition: background .15s;
}
.nav-dropdown-item:hover { background: var(--cream-50); }
.nav-dropdown-item-title {
  font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--maroon-900);
}
.nav-dropdown-item-desc { font-size: 12.5px; color: var(--ink-500); }

/* Mobile Nav */
.nav-mob-btn { display: none; }
.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 200; background: var(--ivory); color: var(--ink-900);
  display: flex; flex-direction: column; padding: 24px 28px; overflow-y: auto;
}
.nav-mobile-link {
  font-family: var(--serif); font-size: 32px; padding: 8px 0; display: block; color: var(--maroon-900);
}
.nav-mobile-sub {
  display: block; font-size: 14px; color: var(--ink-700); padding: 5px 0;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative; height: min(72vh, 680px); min-height: 520px;
  color: #fff; overflow: hidden; background: #2a0a0a;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.hero-slide.active .hero-slide-bg { animation: slowzoom 9s ease-out both; }
.hero-slide-tint {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(78,13,13,.55) 0%, rgba(122,23,25,.35) 50%, rgba(155,39,36,.25) 100%);
  mix-blend-mode: multiply;
}
.hero-slide-grad-l {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,5,5,.7) 0%, rgba(20,5,5,.45) 35%, rgba(20,5,5,0) 70%);
}
.hero-slide-grad-b {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(30,8,8,.85) 100%);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(216,154,44,.20); color: var(--gold-300);
  border: 1px solid rgba(216,154,44,.5);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(38px, 5.6vw, 76px); line-height: 1.03; font-weight: 500;
  letter-spacing: -0.02em; text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-title em {
  font-style: italic; color: var(--gold-300); display: block;
}
.hero-subtitle {
  margin-top: 20px; max-width: 560px; font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255,253,245,.9); line-height: 1.55; text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero-nav-btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s;
}
.hero-nav-btn:hover {
  background: var(--gold-500); border-color: var(--gold-500); color: var(--maroon-900);
}
.hero-dot {
  height: 3px; border-radius: 999px; transition: all .4s ease;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
}
.hero-dot.active { width: 36px; background: var(--gold-500); }
.hero-dot:not(.active) { width: 16px; }

/* ═══════════════════════════════════════════════════════════════
   QUICK ACTIONS
   ═══════════════════════════════════════════════════════════════ */
.qa-card {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 18px; min-height: 170px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.qa-card.accent {
  background: var(--maroon-800); color: #fff; border-color: transparent;
}
.qa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,18,18,.28);
  border-color: var(--gold-500);
}
.qa-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--cream-100); color: var(--maroon-700);
  display: flex; align-items: center; justify-content: center;
}
.qa-card.accent .qa-icon {
  background: rgba(255,255,255,.14); color: var(--gold-300);
}
.qa-arrow {
  width: 34px; height: 34px; border-radius: 999px;
  background: transparent; color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s, color .3s;
}
.qa-card.accent .qa-arrow { background: rgba(255,255,255,.08); color: var(--gold-300); }
.qa-card:hover .qa-arrow {
  background: var(--gold-500); color: var(--maroon-900); transform: rotate(-12deg);
}
.qa-label { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.005em; }
.qa-desc { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
.qa-card.accent .qa-desc { color: rgba(255,253,245,.7); }

/* ═══════════════════════════════════════════════════════════════
   EVENTS
   ═══════════════════════════════════════════════════════════════ */
/* 5 / 7 split: featured event | "coming up" slider panel */
.events-grid {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: 28px; align-items: stretch;
}

#evt-featured {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 100%, var(--maroon-700) 0%, var(--maroon-800) 45%, var(--maroon-900) 100%);
  color: #fff; border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(222,190,133,.22), 0 28px 60px -30px rgba(60,11,11,.55);
}
.evf-media { position: relative; aspect-ratio: 2/1; overflow: hidden; background: var(--maroon-900); }
.evf-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
#evt-featured:hover .evf-media > img { transform: scale(1.04); }
.evf-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,10,10,.1) 0%, rgba(42,10,10,.2) 40%, rgba(60,11,11,.92) 100%);
}
.evf-badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(222,190,133,.95); color: var(--maroon-900);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.45);
}
.evf-badge > span { width: 6px; height: 6px; border-radius: 999px; background: var(--maroon-900); }
.evf-head { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 26px 18px; }
.evf-when { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.evf-title {
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; font-weight: 600; margin-top: 6px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.evf-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.evf-chips > span {
  padding: 4px 10px; border-radius: 999px; font-size: 11px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,253,245,.9);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.evf-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 26px 24px; }
.evf-blurb {
  font-size: 14px; line-height: 1.6; color: rgba(255,253,245,.78);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.evf-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,253,245,.85); }
.evf-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.evf-meta svg { color: var(--gold-300); }
.evf-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: auto; }
.evf-cd-cell {
  text-align: center; padding: 10px 4px 9px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(222,190,133,.2);
}
.evf-cd-num { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--gold-300); line-height: 1; font-variant-numeric: tabular-nums; }
.evf-cd-lbl { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,253,245,.5); margin-top: 5px; }
.evf-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.evf-actions .btn-gs { padding: 11px 18px; font-size: 13px; }
.evf-actions .btn-ghost-gs { border-color: rgba(222,190,133,.5); color: var(--gold-300); }

/* Right column: a soft panel so it carries the same visual weight as the featured card */
.evt-side {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: 24px 22px 20px; border-radius: 24px;
  background: linear-gradient(180deg, var(--cream-50) 0%, #fff 100%);
  border: 1px solid rgba(196,154,79,.25);
  box-shadow: 0 20px 50px -34px rgba(60,11,11,.35);
}
.evt-side #events-rail { flex: 1; margin: 0 -22px; }
.evt-side-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.evt-viewall {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--maroon-800); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.evt-viewall:hover { color: var(--gold-700); }
@media (max-width: 540px) {
  .evf-head { padding: 0 18px 14px; }
  .evf-body { padding: 16px 18px 20px; }
  .evt-side { padding: 20px 16px 16px; }
  .evt-side #events-rail { margin: 0 -16px; }
}
/* Upcoming-events slider: the active card sits centred at full size, neighbours
   shrink and peek in from both sides. --evc-w is the card width; the edge spacers
   let the first and last cards reach the centre (percent padding would shrink
   the flex basis, so spacers are used instead). */
#events-rail {
  --evc-w: 54%;
  position: relative; /* offsetParent for the JS centring maths */
  display: flex; gap: 14px; overflow-x: auto; align-items: center;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 0 22px;
}
#events-rail:has(.event-card)::before,
#events-rail:has(.event-card)::after {
  content: ""; flex: 0 0 calc((100% - var(--evc-w)) / 2 - 14px);
}
/* single-column events layout: the rail is full width, so the card takes less of it */
@media (max-width: 980px) and (min-width: 721px) { #events-rail { --evc-w: 46%; } }
.event-card {
  position: relative;
  flex: 0 0 var(--evc-w); min-width: 0; scroll-snap-align: center;
  transform: scale(.86); opacity: .55; filter: saturate(.75);
  background: linear-gradient(180deg, #fff 0%, #fffdf7 100%);
  border: 1px solid rgba(196,154,79,.28); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink-900); text-align: left;
  padding: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 28px -22px rgba(60,11,11,.35);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s, filter .5s, box-shadow .5s, border-color .4s;
}
.event-card.is-active {
  transform: scale(1); opacity: 1; filter: none;
  box-shadow: 0 30px 55px -30px rgba(60,11,11,.55);
  border-color: rgba(196,154,79,.55);
}
.event-card:not(.is-active):hover { opacity: .8; }
/* thin gold hairline that lights up on hover */
.event-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-300), transparent 40%, transparent 60%, var(--gold-500));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.event-card.is-active:hover, .event-card.is-active:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -28px rgba(60,11,11,.45);
  border-color: transparent;
}
.event-card:hover::after, .event-card:focus-visible::after { opacity: 1; }

.evc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-100); }
.evc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.evc-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,10,10,.05) 40%, rgba(42,10,10,.55) 100%);
}
.event-card:hover .evc-media img { transform: scale(1.06); }

.evc-date {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; min-width: 54px;
  padding: 7px 8px 8px; border-radius: 14px;
  background: rgba(255,253,245,.94); color: var(--maroon-900);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.35), inset 0 0 0 1px rgba(196,154,79,.45);
  line-height: 1;
}
.evc-wd, .evc-mon { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.evc-wd { color: var(--gold-700); }
.evc-day { font-family: var(--serif); font-size: 26px; font-weight: 700; margin: 3px 0 2px; font-variant-numeric: lining-nums; }
.evc-mon { color: var(--maroon-700); }

.evc-cat {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  padding: 5px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: var(--evt-special);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.4);
}
.evc-cat-puja { background: var(--evt-puja); }
.evc-cat-cultural { background: var(--evt-cultural); }
.evc-cat-service { background: var(--evt-service); }
.evc-cat-class { background: var(--evt-class); }

.event-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card-title {
  font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.12; letter-spacing: -.01em;
  color: var(--maroon-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.event-card-meta { font-size: 12.5px; color: var(--ink-500); display: flex; flex-direction: column; gap: 5px; }
.event-card-meta span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-card-meta svg { flex: 0 0 auto; color: var(--gold-600); }
.event-card-link {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(196,154,79,.4);
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--maroon-800); display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.evc-arrow {
  width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-100); color: var(--maroon-800);
  transition: background .3s, color .3s, transform .3s;
}
.event-card:hover .evc-arrow { background: var(--maroon-800); color: var(--gold-300); transform: translateX(3px); }

.rail-dots { display: flex; gap: 6px; align-items: center; min-height: 6px; }
.rail-dot {
  width: 8px; height: 6px; border-radius: 999px; background: rgba(92,26,27,.18);
  transition: width .35s ease, background .35s ease;
}
.rail-dot.active { width: 26px; background: linear-gradient(90deg, var(--gold-500), var(--maroon-700)); }

@media (prefers-reduced-motion: reduce) {
  #events-rail { scroll-behavior: auto; }
  .event-card, .evc-media img { transition: none; }
}

/* ── Nav call-to-action pills (Vision 2030 · Become Member) ── */
.nav-cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 10px 18px; font-size: 13px; gap: 8px; letter-spacing: .02em;
}
.nav-cta svg { flex: 0 0 auto; }
/* light sweep across the pill on hover */
.nav-cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.nav-cta:hover::before { left: 120%; }
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta-member {
  background: linear-gradient(135deg, var(--maroon-700) 0%, var(--maroon-800) 45%, var(--maroon-900) 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(222,190,133,.45), 0 10px 24px -12px rgba(92,26,27,.75);
}
.nav-cta-member svg { color: var(--gold-300); }
.nav-cta-member:hover { box-shadow: inset 0 0 0 1px var(--gold-300), 0 16px 30px -14px rgba(92,26,27,.85); }
.nav-cta-vision {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream-100) 100%);
  color: var(--maroon-900);
  box-shadow: inset 0 0 0 1.5px var(--gold-500), 0 8px 20px -14px rgba(140,106,45,.8);
}
.nav-cta-vision svg { color: var(--gold-700); }
.nav-cta-vision:hover { background: linear-gradient(135deg, var(--cream-100) 0%, var(--gold-300) 100%); }
@media (prefers-reduced-motion: reduce) { .nav-cta::before { display: none; } }
/* keep the desktop row on one line just above the mobile-menu breakpoint */
@media (max-width: 1320px) {
  .nav-desk .nav-link { padding: 10px 10px; }
  .nav-desk .nav-cta { padding: 9px 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-img-main {
  position: absolute; border-radius: 24px; overflow: hidden;
  background-size: cover; background-position: center 30%;
  box-shadow: 0 30px 60px -30px rgba(78,13,13,.4);
}
.about-img-small {
  position: absolute; right: 0; bottom: 0; width: 220px; height: 280px;
  border-radius: 20px; overflow: hidden;
  border: 6px solid var(--ivory);
  box-shadow: 0 24px 50px -20px rgba(78,13,13,.35);
  background-size: cover; background-position: center 25%;
}
.about-badge {
  position: absolute; left: -12px; top: 30px; background: #fff;
  border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 14px 40px -16px rgba(78,13,13,.3); border: 1px solid var(--line);
}
.stat-card { background: #fff; padding: 26px 24px; }
.stat-value {
  font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 500;
  color: var(--maroon-800); line-height: 1;
}
.stat-label { color: var(--ink-500); margin-top: 10px; }

/* Pillars */
.pillar-card {
  background: var(--ivory); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; min-height: 240px;
  transition: background .3s; text-align: left; color: inherit; cursor: pointer;
}
.pillar-card:hover { background: #fff; }
.pillar-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--cream-100);
  color: var(--maroon-800); display: flex; align-items: center; justify-content: center;
}
.pillar-title { font-family: var(--serif); font-size: 24px; color: var(--maroon-900); font-weight: 600; }
.pillar-desc { font-size: 14.5px; color: var(--ink-700); line-height: 1.55; }
.pillar-more {
  margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .18em; color: var(--maroon-800);
  display: inline-flex; align-items: center; gap: 6px;
}

/* Recent Work */
.rw-row {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 24px;
  align-items: center; padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.rw-row:last-child { border-bottom: none; }
.rw-dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; }
.rw-tag {
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; font-weight: 700;
  background: var(--cream-100); color: var(--maroon-800);
}
.rw-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--maroon-900); }
.rw-desc { font-size: 14px; color: var(--ink-700); margin-top: 6px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   MISSION
   ═══════════════════════════════════════════════════════════════ */
.mission-card {
  background: rgba(253,241,211,.05);
  border: 1px solid rgba(216,154,44,.22);
  border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left; color: inherit;
  backdrop-filter: blur(6px);
  transition: transform .3s, background .3s, border-color .3s;
  cursor: pointer;
}
.mission-card:hover {
  transform: translateY(-3px);
  background: rgba(253,241,211,.09);
  border-color: rgba(216,154,44,.5);
}
.mc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(216,154,44,.18); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
}
.vision-point {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: 14px;
  background: rgba(216,154,44,.08);
  border: 1px solid rgba(216,154,44,.25);
  color: inherit; cursor: pointer; text-align: left;
  transition: transform .3s, background .3s, border-color .3s;
}
.vision-point:hover {
  transform: translateY(-3px);
  background: rgba(216,154,44,.14);
  border-color: rgba(216,154,44,.5);
}
.vision-num {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: var(--gold-500); color: var(--maroon-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMS
   ═══════════════════════════════════════════════════════════════ */
.filter-btn {
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: transparent; color: var(--maroon-800);
  border: 1px solid var(--line); transition: all .25s; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--maroon-800); color: #fff; border-color: var(--maroon-800);
}
.program-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  padding: 0; color: inherit; text-align: left; cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(60,11,11,.3);
  border-color: var(--gold-500);
}
.program-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.program-card-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--cream-100);
  color: var(--maroon-700); display: flex; align-items: center; justify-content: center;
}
.program-card-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--maroon-900); line-height: 1.1; }
.program-card-line { font-size: 14px; color: var(--ink-700); }
.program-card-footer {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.program-card-schedule { font-family: var(--mono); color: var(--ink-500); font-size: 10.5px; }
.program-card-link {
  color: var(--maroon-800); font-size: 12.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   RENTALS
   ═══════════════════════════════════════════════════════════════ */
.rental-table th {
  text-align: left; padding: 12px 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-500);
}
.rental-table td {
  padding: 16px 24px; font-size: 14.5px; color: var(--ink-900);
  border-top: 1px solid var(--line);
}
.rental-price {
  font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--maroon-800);
}
.bhog-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.bhog-item:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery-item {
  display: block; width: 100%; margin-bottom: 14px;
  break-inside: avoid; padding: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--cream-100);
  cursor: zoom-in; position: relative;
}
.gal-img {
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.gallery-item:hover .gal-img { transform: scale(1.06); }
.gal-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(78,13,13,.5), rgba(78,13,13,0) 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gal-hover { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,5,5,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox img {
  max-width: 90%; max-height: 85%; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close {
  position: absolute; top: 30px; right: 30px; color: #fff;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   MEMBERSHIP
   ═══════════════════════════════════════════════════════════════ */
.benefit-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.benefit-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--cream-100);
  color: var(--maroon-700); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.membership-form-card {
  background: linear-gradient(135deg, var(--maroon-900) 0%, #4a0f0f 100%);
  color: #fff; border-radius: 24px; padding: 34px 32px;
  box-shadow: 0 30px 60px -30px rgba(60,11,11,.45);
  border: 1px solid rgba(216,154,44,.3);
  position: relative; overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   LEADERSHIP
   ═══════════════════════════════════════════════════════════════ */
.board-toggle {
  display: inline-flex; padding: 4px; background: var(--cream-50);
  border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap;
}
.board-toggle button {
  padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 999px;
  background: transparent; color: var(--ink-700); transition: all .2s; cursor: pointer;
  border: none;
}
.board-toggle button.active {
  background: var(--maroon-800); color: #fff;
}
.leader-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,11,11,.3);
  border-color: var(--gold-500);
}
.leader-avatar {
  width: 84px; height: 84px; border-radius: 999px; background: var(--maroon-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .02em;
}

/* ═══════════════════════════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════════════════════════ */
.social-card {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px;
  display: flex; flex-direction: column; gap: 14px; min-height: 140px;
  transition: transform .3s, box-shadow .3s;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,11,11,.35);
}
.social-card-dark {
  background: var(--maroon-800); color: #fff; border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK / VOICES
   ═══════════════════════════════════════════════════════════════ */
.voice-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 40px 44px;
  box-shadow: 0 30px 60px -36px rgba(60,11,11,.2);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  transition: opacity .8s ease;
}
.voice-quote-mark {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--cream-100); color: var(--maroon-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 48px; font-weight: 600;
  line-height: 1; padding-bottom: 18px;
}
.voice-quote {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500; color: var(--maroon-900); line-height: 1.45; letter-spacing: -.005em;
}
.voice-author-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--maroon-800); color: var(--gold-300);
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.voice-nav-btn {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-800); transition: all .2s;
}
.voice-nav-btn:hover {
  background: var(--maroon-800); color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-donate-bar {
  background: linear-gradient(135deg, var(--maroon-800) 0%, #4a0f0f 100%);
  border: 1px solid rgba(212,166,86,.25);
  border-radius: 24px; padding: 38px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  margin-bottom: 80px;
}
.footer-link {
  font-size: 13.5px; color: rgba(255,253,245,.7); transition: color .2s;
}
.footer-link:hover { color: var(--gold-300); }
.footer-social-btn {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(212,166,86,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300); transition: all .2s;
}
.footer-social-btn:hover {
  background: var(--gold-500); color: var(--maroon-900); border-color: var(--gold-500);
}

/* ═══════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20,5,5,.78); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px; overflow-y: auto;
  animation: modalFade .25s ease both;
}
.modal-content {
  background: var(--ivory); color: var(--ink-900);
  border-radius: 24px; max-width: 720px; width: 100%;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  animation: modalRise .4s cubic-bezier(.22,.61,.36,1) both;
}
.modal-content.dark {
  background: var(--maroon-900); color: #fff;
  border-color: rgba(216,154,44,.3);
}
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(92,26,27,.06); color: var(--maroon-900);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(92,26,27,.12); }
.modal-content.dark .modal-close {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.18);
}
.modal-header {
  padding: 36px 40px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--ivory) 100%);
}
.modal-content.dark .modal-header {
  border-bottom-color: rgba(216,154,44,.2);
  background: linear-gradient(135deg, var(--maroon-900) 0%, #4a0f0f 100%);
}
.modal-body { padding: 28px 40px 36px; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   WATERMARK — Hindu Sacred Symbols
   ═══════════════════════════════════════════════════════════════ */
.wm-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.wm-wrap svg {
  width: 100%;
  height: 100%;
}
/* Light sections: subtle gold */
.wm-light svg path,
.wm-light svg circle,
.wm-light svg ellipse,
.wm-light svg line,
.wm-light svg polyline,
.wm-light svg rect {
  stroke: var(--gold-500);
  fill: none;
}
.wm-light-fill svg path,
.wm-light-fill svg circle {
  stroke: none;
  fill: var(--gold-500);
}
/* Dark sections: subtle gold on dark */
.wm-dark svg path,
.wm-dark svg circle,
.wm-dark svg ellipse,
.wm-dark svg line,
.wm-dark svg polyline,
.wm-dark svg rect {
  stroke: var(--gold-300);
  fill: none;
}
.wm-dark-fill svg path,
.wm-dark-fill svg circle {
  stroke: none;
  fill: var(--gold-300);
}
/* Sizes */
.wm-sm { width: 140px; height: 140px; }
.wm-md { width: 220px; height: 220px; }
.wm-lg { width: 320px; height: 320px; }
.wm-xl { width: 440px; height: 440px; }
.wm-xxl { width: 600px; height: 600px; }
/* Positions */
.wm-top-right { top: 30px; right: 40px; }
.wm-top-left { top: 30px; left: 40px; }
.wm-bottom-right { bottom: 30px; right: 40px; }
.wm-bottom-left { bottom: 30px; left: 40px; }
.wm-center-right { top: 50%; right: 60px; transform: translateY(-50%); }
.wm-center-left { top: 50%; left: 60px; transform: translateY(-50%); }
.wm-top-center { top: 20px; left: 50%; transform: translateX(-50%); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATED LOTUS WATERMARK
   ═══════════════════════════════════════════════════════════════ */
@keyframes lotusBreathe {
  0%, 100% { transform: scale(1); opacity: var(--wm-opacity, 0.18); }
  50% { transform: scale(1.06); opacity: calc(var(--wm-opacity, 0.18) * 1.4); }
}
@keyframes lotusSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes lotusFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: var(--wm-opacity, 0.2); }
  50% { transform: translateY(-12px) scale(1.03); opacity: calc(var(--wm-opacity, 0.2) * 1.3); }
}
@keyframes lotusGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(196,154,79,0.2)); }
  50% { filter: drop-shadow(0 0 20px rgba(196,154,79,0.5)) drop-shadow(0 0 40px rgba(196,154,79,0.2)); }
}

.wm-lotus {
  animation: lotusBreathe 6s ease-in-out infinite, lotusGlow 6s ease-in-out infinite;
  --wm-opacity: 0.22;
}
.wm-lotus-slow {
  animation: lotusBreathe 8s ease-in-out infinite, lotusGlow 8s ease-in-out infinite;
  --wm-opacity: 0.18;
}
.wm-lotus-spin {
  animation: lotusSpin 60s linear infinite, lotusGlow 6s ease-in-out infinite;
  --wm-opacity: 0.2;
}
.wm-lotus-float {
  animation: lotusFloat 5s ease-in-out infinite, lotusGlow 6s ease-in-out infinite;
  --wm-opacity: 0.24;
}

/* Lotus petal glow on dark */
.wm-dark.wm-lotus svg path,
.wm-dark.wm-lotus svg circle,
.wm-dark.wm-lotus-slow svg path,
.wm-dark.wm-lotus-slow svg circle,
.wm-dark.wm-lotus-spin svg path,
.wm-dark.wm-lotus-spin svg circle,
.wm-dark.wm-lotus-float svg path,
.wm-dark.wm-lotus-float svg circle {
  stroke: var(--gold-300);
  filter: drop-shadow(0 0 6px rgba(222,190,133,0.5));
}
/* Lotus petal glow on light */
.wm-light.wm-lotus svg path,
.wm-light.wm-lotus svg circle,
.wm-light.wm-lotus-slow svg path,
.wm-light.wm-lotus-slow svg circle,
.wm-light.wm-lotus-spin svg path,
.wm-light.wm-lotus-spin svg circle,
.wm-light.wm-lotus-float svg path,
.wm-light.wm-lotus-float svg circle {
  stroke: var(--gold-500);
  filter: drop-shadow(0 0 6px rgba(196,154,79,0.45));
}

/* ═══════════════════════════════════════════════════════════════
   SVG WATERMARKS — Hindu Sacred Symbols
   ═══════════════════════════════════════════════════════════════ */
.wm-img {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.wm-img svg {
  width: 100%;
  height: 100%;
}
.wm-img-light svg {
  color: var(--gold-500);
}
.wm-img-dark svg {
  color: var(--gold-300);
}

/* ── Core motion ── */
@keyframes wmFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1.5deg); }
  75% { transform: translateY(5px) rotate(-0.8deg); }
}
@keyframes wmSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes wmBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes wmDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(8px, -12px) rotate(3deg); }
  66% { transform: translate(-5px, 6px) rotate(-2deg); }
}
@keyframes wmPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px currentColor); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 16px currentColor); }
}
@keyframes wmShimmer {
  0% { opacity: 0.06; filter: brightness(1); }
  25% { opacity: 0.14; filter: brightness(1.3); }
  50% { opacity: 0.08; filter: brightness(1.1); }
  75% { opacity: 0.16; filter: brightness(1.4); }
  100% { opacity: 0.06; filter: brightness(1); }
}
@keyframes wmSacredPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.08; }
  25% { transform: scale(1.03) rotate(2deg); opacity: 0.12; }
  50% { transform: scale(1.06) rotate(0deg); opacity: 0.15; }
  75% { transform: scale(1.03) rotate(-2deg); opacity: 0.12; }
}
@keyframes wmOrbit {
  0% { transform: rotate(0deg) translateX(6px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(6px) rotate(-360deg); }
}
@keyframes wmGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(196,154,79,0.2)); }
  50% { filter: drop-shadow(0 0 18px rgba(196,154,79,0.6)); }
}
@keyframes wmRise {
  0% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes wmPetalSway {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.02); }
}

/* ── Animation classes ── */
.wm-anim-float {
  animation: wmFloat 7s ease-in-out infinite;
}
.wm-anim-spin {
  animation: wmSpin 60s linear infinite;
}
.wm-anim-breathe {
  animation: wmBreathe 5s ease-in-out infinite;
}
.wm-anim-drift {
  animation: wmDrift 10s ease-in-out infinite;
}
.wm-anim-pulse {
  animation: wmPulse 4s ease-in-out infinite;
}
.wm-anim-shimmer {
  animation: wmShimmer 6s ease-in-out infinite;
}
.wm-anim-sacred {
  animation: wmSacredPulse 8s ease-in-out infinite;
}
.wm-anim-orbit {
  animation: wmOrbit 20s linear infinite;
}
.wm-anim-glow {
  animation: wmGlowPulse 4s ease-in-out infinite;
}
.wm-anim-rise {
  animation: wmRise 1.2s ease-out both;
}
.wm-anim-petal {
  animation: wmPetalSway 6s ease-in-out infinite;
}

/* Stagger delays for multiple watermarks */
.wm-delay-1 { animation-delay: 0.5s; }
.wm-delay-2 { animation-delay: 1s; }
.wm-delay-3 { animation-delay: 1.5s; }
.wm-delay-4 { animation-delay: 2s; }
.wm-delay-5 { animation-delay: 2.5s; }

/* Chain animations: combine multiple motions */
.wm-chain-breathe-float {
  animation: wmBreathe 5s ease-in-out infinite, wmFloat 7s ease-in-out infinite;
}
.wm-chain-pulse-glow {
  animation: wmPulse 4s ease-in-out infinite, wmGlowPulse 4s ease-in-out infinite;
}
.wm-chain-spin-breathe {
  animation: wmSpin 60s linear infinite, wmBreathe 5s ease-in-out infinite;
}
.wm-chain-drift-glow {
  animation: wmDrift 10s ease-in-out infinite, wmGlowPulse 4s ease-in-out infinite;
}
.wm-chain-sacred-petal {
  animation: wmSacredPulse 8s ease-in-out infinite, wmPetalSway 6s ease-in-out infinite;
}

/* Hover interactions for watermarks */
.wm-img:hover {
  filter: drop-shadow(0 0 12px rgba(196,154,79,0.5));
  transition: filter 0.4s ease;
}
.wm-img {
  transition: filter 0.6s ease;
}

/* ═══════════════════════════════════════════════════════════════
   LOTUS SECTION DIVIDERS — Hindu Sacred Ornamental Borders
   ═══════════════════════════════════════════════════════════════ */
.lotus-divider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.lotus-divider svg {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
}
/* Light section dividers */
.lotus-divider-light svg path,
.lotus-divider-light svg circle,
.lotus-divider-light svg ellipse,
.lotus-divider-light svg line,
.lotus-divider-light svg polyline,
.lotus-divider-light svg rect {
  stroke: var(--gold-500);
  fill: none;
}
.lotus-divider-light svg .fill-gold {
  fill: var(--gold-500);
  stroke: none;
}
/* Dark section dividers */
.lotus-divider-dark svg path,
.lotus-divider-dark svg circle,
.lotus-divider-dark svg ellipse,
.lotus-divider-dark svg line,
.lotus-divider-dark svg polyline,
.lotus-divider-dark svg rect {
  stroke: var(--gold-300);
  fill: none;
}
.lotus-divider-dark svg .fill-gold {
  fill: var(--gold-300);
  stroke: none;
}
/* Maroon section dividers */
.lotus-divider-maroon svg path,
.lotus-divider-maroon svg circle,
.lotus-divider-maroon svg ellipse,
.lotus-divider-maroon svg line,
.lotus-divider-maroon svg polyline,
.lotus-divider-maroon svg rect {
  stroke: var(--gold-300);
  fill: none;
}
.lotus-divider-maroon svg .fill-gold {
  fill: var(--gold-300);
  stroke: none;
}
/* Divider sizes */
.lotus-divider-sm svg { max-width: 400px; }
.lotus-divider-md svg { max-width: 700px; }
.lotus-divider-lg svg { max-width: 1000px; }
.lotus-divider-xl svg { max-width: 1200px; }

/* Animated divider glow */
@keyframes dividerGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(196,154,79,0.15)); }
  50% { filter: drop-shadow(0 0 12px rgba(196,154,79,0.35)); }
}
.lotus-divider-glow svg {
  animation: dividerGlow 4s ease-in-out infinite;
}

/* Lotus divider spacing variants */
.lotus-divider-before {
  margin-top: -48px;
  margin-bottom: 0;
}
.lotus-divider-after {
  margin-top: 0;
  margin-bottom: -48px;
}
.lotus-divider-between {
  margin-top: -24px;
  margin-bottom: -24px;
}

/* Sacred geometry background patterns */
.sacred-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.sacred-bg svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED LOTUS WATERMARK STYLES
   ═══════════════════════════════════════════════════════════════ */
.wm-enhanced {
  opacity: 0.18 !important;
  filter: sepia(0.2) hue-rotate(-10deg) saturate(0.8) !important;
}
.wm-enhanced-light {
  mix-blend-mode: multiply;
  filter: sepia(0.3) hue-rotate(-10deg) saturate(0.7) brightness(0.9) !important;
}
.wm-enhanced-dark {
  mix-blend-mode: screen;
  filter: sepia(0.2) hue-rotate(-10deg) saturate(0.6) brightness(1.3) !important;
}
@keyframes wmPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.22; transform: scale(1.02); }
}
.wm-pulse {
  animation: wmPulse 6s ease-in-out infinite;
}

/* Corner lotus decorations */
.wm-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.wm-corner svg {
  width: 100%;
  height: 100%;
}
.wm-corner-sm { width: 120px; height: 120px; }
.wm-corner-md { width: 180px; height: 180px; }
.wm-corner-lg { width: 260px; height: 260px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero min-height ── */
@media (max-width: 600px) {
  #hero { min-height: 420px !important; }
}
@media (max-width: 400px) {
  #hero { min-height: 380px !important; }
}

/* ── Header top bar ── */
@media (max-width: 720px) {
  .nav-top-bar .wrap { flex-direction: column; align-items: flex-start !important; gap: 8px !important; padding: 7px 22px !important; }
  .nav-top-bar a[href="#newsletter"] { display: none; }
}

/* ── Nav bar ── */
@media (max-width: 1140px) {
  .nav-desk { display: none !important; }
  .nav-mob-btn { display: inline-flex !important; }
}
@media (max-width: 720px) {
  .nav-bar .wrap { padding: 12px 22px !important; gap: 12px !important; }
  .nav-logo-circle { width: 52px !important; height: 52px !important; }
  .nav-brand-text { font-size: 20px !important; }
  .nav-brand-sub { font-size: 9px !important; margin-top: 4px !important; letter-spacing: .18em !important; }
}
@media (max-width: 480px) {
  .nav-logo-circle { width: 44px !important; height: 44px !important; }
  .nav-brand-text { font-size: 17px !important; }
}

/* ── Hero ── */
@media (max-width: 720px) {
  .hero-bottom-bar { padding: 0 22px !important; bottom: 16px !important; }
  .hero-nav-btn { width: 38px !important; height: 38px !important; }
}

/* ── Section general ── */
@media (max-width: 980px) {
  .events-grid { grid-template-columns: 1fr !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .about-img-wrap { height: 400px !important; }
  .pillars-grid { grid-template-columns: 1fr 1fr !important; }
  .rw-row { grid-template-columns: 1fr !important; gap: 8px !important; }
  .mission-grid { grid-template-columns: 1fr 1fr !important; }
  .vision-points { grid-template-columns: 1fr !important; }
  .vision-grid { grid-template-columns: 1fr !important; }
  .donor-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .legend-grid { grid-template-columns: 1fr !important; }
  .rent-grid { grid-template-columns: 1fr !important; }
  .rent-pillars { grid-template-columns: repeat(2, 1fr) !important; }
  .memb-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .benefits-grid { grid-template-columns: 1fr !important; }
  .comm-grid { grid-template-columns: 1fr !important; }
  .foot-grid { grid-template-columns: 1fr 1fr !important; }
  .gallery-cols { column-count: 2 !important; }
}
@media (max-width: 720px) {
  section { padding: 44px 0; }
  .wrap { padding: 0 22px; }
  .about-img-wrap { height: 320px !important; }
  .voice-card { grid-template-columns: 1fr !important; padding: 28px 24px !important; }
  .lotus-divider svg { max-width: 100%; }
  .lotus-divider-sm svg { max-width: 280px; }
  .lotus-divider-md svg { max-width: 100%; }
  .wm-corner-sm { width: 80px; height: 80px; }
  .wm-corner-md { width: 120px; height: 120px; }
  .wm-corner-lg { width: 160px; height: 160px; }
  .footer-donate-bar { flex-direction: column; text-align: center; padding: 28px 24px !important; }
  #events-rail { --evc-w: 70%; }
}
@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr !important; }
  .rent-pillars { grid-template-columns: 1fr !important; }
  .about-img-wrap { height: 260px !important; }
}
@media (max-width: 540px) {
  .memb-row { grid-template-columns: 1fr !important; }
  .donor-grid { grid-template-columns: 1fr !important; }
  .gallery-cols { column-count: 1 !important; }
  .foot-grid { grid-template-columns: 1fr !important; }
  #events-rail { --evc-w: 80%; }
}
@media (max-width: 400px) {
  .nav-dropdown { width: calc(100vw - 32px); left: -8px; }
  .mob-nav-link { font-size: 26px; }
}

/* ── Rental table scroll on mobile ── */
@media (max-width: 720px) {
  .rent-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rent-table-wrap table { min-width: 480px; }
}

/* ── Hide watermarks on small screens for performance ── */
@media (max-width: 600px) {
  .wm-img { display: none !important; }
}

/* ── Modal on mobile ── */
@media (max-width: 720px) {
  .modal-overlay { padding: 20px 12px !important; }
  .modal-content { border-radius: 18px !important; }
  .modal-header { padding: 24px 20px 16px !important; }
  .modal-body { padding: 20px !important; }
}

/* ── Hero section on very small screens ── */
@media (max-width: 480px) {
  .hero-bottom-bar { display: none !important; }
}

/* ── About section image composition ── */
@media (max-width: 980px) {
  .about-main-img { inset: 0 30px 40px 0 !important; }
}
@media (max-width: 720px) {
  .about-main-img { inset: 0 16px 24px 0 !important; }
  .about-secondary-img { width: 140px !important; height: 180px !important; }
}
@media (max-width: 600px) {
  .about-main-img { inset: 0 12px 16px 0 !important; }
  .about-secondary-img { display: none !important; }
  .about-badge { display: none !important; }
}

/* ── Pillars & Recent Work margins ── */
@media (max-width: 980px) {
  .pillars-title { margin-top: 56px !important; }
  .rw-title { margin-top: 48px !important; }
}
@media (max-width: 720px) {
  .pillars-title { margin-top: 40px !important; }
  .rw-title { margin-top: 32px !important; }
}

/* ── Section headings: hide <br/> on mobile ── */
@media (max-width: 600px) {
  .mobile-br { display: none; }
}

/* ── Tap target fixes ── */
@media (max-width: 720px) {
  .tap-fix { padding: 8px 4px !important; min-height: 44px; display: inline-flex; align-items: center; }
}

/* ── Newsletter card ── */
@media (max-width: 480px) {
  .newsletter-card { padding: 28px 20px !important; }
}

/* ── Youth Spotlight row ── */
@media (max-width: 480px) {
  .youth-row { flex-wrap: wrap !important; }
}

/* ── Footer fixes ── */
@media (max-width: 720px) {
  .footer-donate-bar-outer { padding: 28px 22px !important; }
  .footer-grid-outer { gap: 24px !important; }
  .footer-bottom-bar { margin-top: 36px !important; }
}
@media (max-width: 480px) {
  .footer-donate-bar-outer { padding: 24px 16px !important; }
  .footer-grid-outer { gap: 18px !important; }
  .footer-bottom-bar { margin-top: 28px !important; }
}

/* ── Top bar social links tap target ── */
@media (max-width: 720px) {
  .nav-top-bar a { padding: 4px 2px; }
}

/* ── Membership form mobile ── */
@media (max-width: 720px) {
  .memb-form-card { padding: 28px 22px !important; }
}

/* ── Feedback link tap target ── */
@media (max-width: 720px) {
  .feedback-link { padding: 6px 0 !important; }
}

/* ── Footer link tap target ── */
@media (max-width: 720px) {
  .footer-link { padding: 4px 0; display: inline-block; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV DROPDOWN (hover-based)
   ═══════════════════════════════════════════════════════════════ */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  padding-top: 8px; width: 340px; z-index: 50;
}
.nav-dropdown-wrap:hover .nav-dropdown { display: block; }
.nav-dropdown-inner {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px;
  box-shadow: 0 28px 60px -20px rgba(92,26,27,.25), 0 4px 14px rgba(0,0,0,.05);
}
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 14px; border-radius: 9px;
  color: var(--ink-900); transition: background .15s;
}
.nav-dropdown-item:hover { background: var(--cream-50); }
.nav-dropdown-item-title {
  font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--maroon-900);
}
.nav-dropdown-item-desc { font-size: 12.5px; color: var(--ink-500); }

/* Side submenu inside a dropdown (Activities → Gita Sangha Cultural).
   It opens to the LEFT: Activities sits right of centre in the bar, so a
   right-hand flyout would run off narrower laptop screens. Hover or keyboard
   focus opens it; the panel's padding bridges the gap so the pointer can cross. */
.nav-sub { position: relative; }
/* .nav-sub > … outranks page-level `.nav-dropdown-item { flex-direction: column }` rules */
.nav-sub > .nav-sub-trigger { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.nav-sub-trigger > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.nav-sub-chev { flex: 0 0 auto; color: var(--gold-700); transition: transform .2s ease; }
.nav-sub-panel {
  display: none; position: absolute; top: -9px; right: 100%;
  padding-right: 8px; width: 320px; z-index: 51;
}
.nav-sub:hover > .nav-sub-panel,
.nav-sub:focus-within > .nav-sub-panel { display: block; }
.nav-sub:hover > .nav-sub-trigger,
.nav-sub:focus-within > .nav-sub-trigger { background: var(--cream-50); }
.nav-sub:hover .nav-sub-chev,
.nav-sub:focus-within .nav-sub-chev { transform: translateX(-3px); }
.nav-sub-label {
  display: block; padding: 8px 14px 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700);
}
/* mobile menu: group heading above the indented sub-links */
.mob-nav-group { display: block; margin: 6px 0 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.mob-nav-group + .mob-nav-indent { padding-left: 14px; border-left: 1px solid rgba(196,154,79,.35); margin-bottom: 6px; }

/* Mobile nav links */
.mob-nav-link {
  font-family: var(--serif); font-size: 32px; padding: 8px 0; display: block; color: var(--maroon-900);
}
.mob-nav-sub {
  display: block; font-size: 14px; color: var(--ink-700); padding: 5px 0;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDES (rendered by JS)
   ═══════════════════════════════════════════════════════════════ */
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.hero-slide.active .hero-slide-bg { animation: slowzoom 9s ease-out both; }
.hero-slide-tint {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(78,13,13,.55) 0%, rgba(122,23,25,.35) 50%, rgba(155,39,36,.25) 100%);
  mix-blend-mode: multiply;
}
.hero-slide-grad-l {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,5,5,.7) 0%, rgba(20,5,5,.45) 35%, rgba(20,5,5,0) 70%);
}
.hero-slide-grad-b {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(30,8,8,.85) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   DYNAMIC CARDS (rendered by JS)
   ═══════════════════════════════════════════════════════════════ */
.qa-card {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 18px; min-height: 170px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.qa-card.accent { background: var(--maroon-800); color: #fff; border-color: transparent; }
.qa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,18,18,.28);
  border-color: var(--gold-500);
}
.qa-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--cream-100); color: var(--maroon-700);
  display: flex; align-items: center; justify-content: center;
}
.qa-card.accent .qa-icon { background: rgba(255,255,255,.14); color: var(--gold-300); }
.qa-arrow {
  width: 34px; height: 34px; border-radius: 999px;
  background: transparent; color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s, color .3s;
}
.qa-card.accent .qa-arrow { background: rgba(255,255,255,.08); color: var(--gold-300); }
.qa-card:hover .qa-arrow {
  background: var(--gold-500); color: var(--maroon-900); transform: rotate(-12deg);
}
.qa-label { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.005em; }
.qa-desc { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
.qa-card.accent .qa-desc { color: rgba(255,253,245,.7); }

/* Program cards */
.program-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  padding: 0; color: inherit; text-align: left; cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(60,11,11,.3);
  border-color: var(--gold-500);
}

/* Leader cards */
.leader-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,11,11,.3);
  border-color: var(--gold-500);
}
.leader-avatar {
  width: 84px; height: 84px; border-radius: 999px; background: var(--maroon-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .02em;
}

/* Pillar cards */
.pillar-card {
  background: var(--ivory); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; min-height: 240px;
  transition: background .3s; text-align: left; color: inherit; cursor: pointer;
  border: none; width: 100%;
}
.pillar-card:hover { background: #fff; }

/* Mission cards */
.mission-card {
  background: rgba(253,241,211,.05);
  border: 1px solid rgba(216,154,44,.22);
  border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left; color: inherit;
  backdrop-filter: blur(6px);
  transition: transform .3s, background .3s, border-color .3s;
  cursor: pointer; width: 100%;
}
.mission-card:hover {
  transform: translateY(-3px);
  background: rgba(253,241,211,.09);
  border-color: rgba(216,154,44,.5);
}

/* Vision points */
.vision-point {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border-radius: 14px;
  background: rgba(216,154,44,.08);
  border: 1px solid rgba(216,154,44,.25);
  color: inherit; cursor: pointer; text-align: left;
  transition: transform .3s, background .3s, border-color .3s;
  width: 100%;
}
.vision-point:hover {
  transform: translateY(-3px);
  background: rgba(216,154,44,.14);
  border-color: rgba(216,154,44,.5);
}
.vision-num {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: var(--gold-500); color: var(--maroon-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
}

/* Voice cards */
.voice-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 40px 44px;
  box-shadow: 0 30px 60px -36px rgba(60,11,11,.2);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s ease;
}
.voice-card.active { position: relative; opacity: 1; }

/* Filter buttons */
.filter-btn {
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: transparent; color: var(--maroon-800);
  border: 1px solid var(--line); transition: all .25s; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--maroon-800); color: #fff; border-color: var(--maroon-800);
}

/* Board toggle */
.board-toggle {
  display: inline-flex; padding: 4px; background: var(--cream-50);
  border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap;
}
.board-toggle button {
  padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 999px;
  background: transparent; color: var(--ink-700); transition: all .2s; cursor: pointer;
  border: none;
}
.board-toggle button.active { background: var(--maroon-800); color: #fff; }

/* Voice nav buttons */
.voice-nav-btn {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon-800); transition: all .2s;
}
.voice-nav-btn:hover { background: var(--maroon-800); color: #fff; }

/* Social cards */
.social-card {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px;
  display: flex; flex-direction: column; gap: 14px; min-height: 140px;
  transition: transform .3s, box-shadow .3s;
}
.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(60,11,11,.35);
}

/* Footer */
.footer-social-btn {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(212,166,86,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300); transition: all .2s;
}
.footer-social-btn:hover {
  background: var(--gold-500); color: var(--maroon-900); border-color: var(--gold-500);
}
.footer-link {
  font-size: 13.5px; color: rgba(255,253,245,.7); transition: color .2s;
}
.footer-link:hover { color: var(--gold-300); }

/* Gallery */
.gallery-item {
  display: block; width: 100%; margin-bottom: 14px;
  break-inside: avoid; padding: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--cream-100);
  cursor: zoom-in; position: relative;
}
.gal-img {
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.gallery-item:hover .gal-img { transform: scale(1.06); }
.gal-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(78,13,13,.5), rgba(78,13,13,0) 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gal-hover { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,5,5,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; cursor: zoom-out;
}
.lightbox img {
  max-width: 90%; max-height: 85%; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close {
  position: absolute; top: 30px; right: 30px; color: #fff;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20,5,5,.78); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px; overflow-y: auto;
  animation: modalFade .25s ease both;
}
.modal-content {
  background: var(--ivory); color: var(--ink-900);
  border-radius: 24px; max-width: 720px; width: 100%;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  animation: modalRise .4s cubic-bezier(.22,.61,.36,1) both;
}
.modal-content.dark {
  background: var(--maroon-900); color: #fff;
  border-color: rgba(216,154,44,.3);
}
.modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(92,26,27,.06); color: var(--maroon-900);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; cursor: pointer;
}
.modal-close:hover { background: rgba(92,26,27,.12); }
.modal-content.dark .modal-close {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.18);
}
.modal-header {
  padding: 36px 40px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--ivory) 100%);
}
.modal-content.dark .modal-header {
  border-bottom-color: rgba(216,154,44,.2);
  background: linear-gradient(135deg, var(--maroon-900) 0%, #4a0f0f 100%);
}
.modal-body { padding: 28px 40px 36px; }

/* Wish & Question Form Styles */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.modal-body input:focus,
.modal-body textarea:focus { outline: none; }
.modal-body .btn-gs.btn-primary-gs { transition: transform .2s, box-shadow .2s, background .2s; }
.modal-body .btn-gs.btn-primary-gs:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,154,79,0.35); }
.modal-body .btn-gs.btn-primary-gs:disabled { opacity: 0.7; cursor: not-allowed; }
.modal-body .btn-gs.btn-dark-gs { transition: transform .2s, box-shadow .2s, background .2s; }
.modal-body .btn-gs.btn-dark-gs:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(92,26,27,0.25); }
