/* ═══════════════════════════════════════════════════════════════
   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
   ═══════════════════════════════════════════════════════════════ */
/* Warm ivory stage with soft gold light and a hairline ornament at the top edge */
.events-section {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(216,154,44,.10) 0%, transparent 70%),
    radial-gradient(50% 45% at 100% 100%, rgba(122,30,32,.07) 0%, transparent 70%),
    var(--ivory);
}
.events-section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(560px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,154,79,.8), transparent);
}
.evt-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.evt-head-title { font-size: clamp(36px, 5vw, 60px); margin-top: 14px; color: var(--maroon-900); max-width: 720px; line-height: 1.05; }
.evt-head-title em { color: var(--gold-700); }
.evt-head-lead { margin-top: 14px; max-width: 480px; font-size: 15.5px; line-height: 1.6; color: var(--ink-700); }
.evt-head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.evt-fb-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--maroon-900); text-decoration: none;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold-300), var(--gold-700)) border-box;
  border: 1px solid transparent; box-shadow: 0 10px 24px -16px rgba(60,11,11,.45);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.evt-fb-pill svg { color: #1877F2; }
.evt-fb-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(60,11,11,.55); }

/* 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;
}

/* ── Featured "Up next" card ─────────────────────────────────────────────
   Flyer on top (whole image), a calendar-leaf date tile overlapping its edge,
   then title, three fact tiles, a labelled countdown and the actions.
   overflow stays visible so the "Add to calendar" menu is never clipped; the
   media clips itself instead. */
#evt-featured {
  position: relative; display: flex; flex-direction: column; isolation: isolate;
  color: #fff; border-radius: 26px;
  background:
    radial-gradient(90% 60% at 100% 100%, rgba(184,80,64,.35) 0%, transparent 60%),
    radial-gradient(70% 50% at 0% 60%, rgba(196,154,79,.12) 0%, transparent 70%),
    linear-gradient(165deg, var(--maroon-800) 0%, var(--maroon-900) 55%, #3E0F10 100%);
  box-shadow: 0 34px 70px -34px rgba(60,11,11,.7), 0 2px 0 rgba(255,255,255,.04) inset;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s;
}
/* gold hairline frame */
#evt-featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(145deg, rgba(222,190,133,.85), rgba(222,190,133,.12) 35%, rgba(222,190,133,.08) 65%, rgba(222,190,133,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
/* faint lotus in the lower corner */
#evt-featured::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; aspect-ratio: 1; z-index: -1; pointer-events: none;
  background: url(/images/lotus/v2/1.png) center/contain no-repeat; filter: brightness(0) invert(1); opacity: .05;
}
#evt-featured:hover { transform: translateY(-4px); box-shadow: 0 44px 80px -36px rgba(60,11,11,.8); }

/* The whole card is a link to the flyer (Facebook) or the event's own page */
#evt-featured.is-clickable { cursor: pointer; }
#evt-featured:focus-within { box-shadow: 0 44px 80px -36px rgba(60,11,11,.8), 0 0 0 3px rgba(222,190,133,.55); }

.evf-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 2/1; overflow: hidden; background: var(--maroon-900); border-radius: 26px 26px 0 0; color: inherit; text-decoration: none; }
.evf-media:focus-visible { outline: none; }
/* gold light sweep across the flyer on hover */
.evf-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,233,190,.28) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
#evt-featured:hover .evf-media::before { transform: translateX(120%); }
/* "View flyer" call-out that rises in on hover / focus */
.evf-go {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translate(-50%, 10px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(42,10,10,.72); color: var(--gold-300); border: 1px solid rgba(222,190,133,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .35s, transform .35s cubic-bezier(.22,1,.36,1);
}
#evt-featured:hover .evf-go, .evf-media:focus-visible .evf-go { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .evf-go { opacity: 1; transform: translate(-50%, 0); bottom: 14px; } }

.evf-sublinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: -4px; }
.evf-sublink {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,253,245,.7); text-decoration: none; border-bottom: 1px solid rgba(222,190,133,.35);
  transition: color .2s, border-color .2s;
}
.evf-sublink:hover, .evf-sublink:focus-visible { color: var(--gold-300); border-color: var(--gold-300); outline: none; }
.evf-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.evf-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,10,10,0) 60%, rgba(60,11,11,.55) 100%);
}
.evf-badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(253,248,236,.95); color: var(--maroon-900);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
/* pulsing "live" dot */
.evf-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #C0392B; flex: 0 0 auto; display: inline-block; }
.evf-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #C0392B; opacity: 0; animation: evfPulse 1.8s ease-out infinite; }
@keyframes evfPulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.evf-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 22px 26px 26px; }
.evf-leaf {
  position: absolute; top: -44px; right: 24px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; width: 74px; overflow: hidden;
  border-radius: 16px; background: var(--ivory); color: var(--maroon-900); text-align: center; line-height: 1;
  box-shadow: 0 18px 34px -14px rgba(0,0,0,.6), 0 0 0 1px rgba(196,154,79,.5);
}
.evf-leaf-m { width: 100%; padding: 6px 0 5px; background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); color: var(--gold-300); font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.evf-leaf-d { font-family: var(--serif); font-size: 34px; font-weight: 700; padding: 6px 0 0; font-variant-numeric: lining-nums; }
.evf-leaf-w { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); padding: 3px 0 8px; }

.evf-headline { padding-right: 96px; }
.evf-when { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.evf-title {
  font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.01em; line-height: 1.06; font-weight: 600; margin-top: 6px; color: #fff;
  /* at most 3 lines, however long the title in the dashboard */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.evf-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.evf-chips > span {
  padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(222,190,133,.14); border: 1px solid rgba(222,190,133,.35); color: var(--gold-300);
}
.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-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
/* Icon + label share the top row; the value gets the tile's full width below,
   so long dates ("Wed, Oct 14 – Tue, Oct 20") and addresses aren't cut off. */
.evf-fact {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: 7px; row-gap: 7px;
  min-width: 0; padding: 10px 11px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(222,190,133,.18);
}
.evf-fact-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: var(--maroon-900); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
.evf-fact-ico svg { width: 13px; height: 13px; }
.evf-fact > span:last-child { display: contents; }
.evf-fact small { min-width: 0; font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,253,245,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evf-fact b {
  grid-column: 1 / -1; min-width: 0;
  font-size: 12px; font-weight: 600; color: #fff; line-height: 1.35; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* chips and the admin's extra button stay on one line */
.evf-chips > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evf-actions > a.btn-gs { min-width: 0; }
.evf-actions > a.btn-gs .evf-btn-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.evf-cd-wrap { margin-top: auto; }
.evf-cd-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,253,245,.6); }
.evf-cd-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(222,190,133,.35), transparent); }
.evf-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.evf-cd-cell {
  text-align: center; padding: 11px 4px 10px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(222,190,133,.22);
}
.evf-cd-num { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); 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-live-note { text-align: center; padding: 14px; border-radius: 14px; background: rgba(192,57,43,.14); border: 1px solid rgba(192,57,43,.4); font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #FFD9CF; }
.evf-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.evf-actions .btn-gs { padding: 12px 18px; font-size: 13px; }
.evf-actions .btn-ghost-gs { border-color: rgba(222,190,133,.5); color: var(--gold-300); }
.evf-actions > .btn-gs, .evf-actions > .cal-menu { flex: 1 1 auto; }
.evf-actions > .btn-gs, .evf-actions .cal-toggle { justify-content: center; width: 100%; }

/* ── "Add to calendar" menu (featured card + event pop-up) ── */
.cal-menu { position: relative; }
.cal-toggle .cal-chev { transition: transform .25s; }
.cal-toggle[aria-expanded="true"] .cal-chev { transform: rotate(180deg); }
.cal-pop {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 60; width: max(100%, 280px); max-width: 92vw;
  padding: 8px; border-radius: 16px; background: #fff; color: var(--ink-900);
  border: 1px solid rgba(196,154,79,.35); box-shadow: 0 30px 60px -24px rgba(42,10,10,.55);
  animation: calPop .22s cubic-bezier(.22,1,.36,1);
}
.cal-pop[hidden] { display: none; }
@keyframes calPop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.cal-pop-head { padding: 6px 10px 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.cal-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 11px; color: var(--ink-900); text-decoration: none; transition: background .15s; }
.cal-item:hover, .cal-item:focus-visible { background: var(--cream-50); outline: none; }
.cal-item b { display: block; font-size: 14px; font-weight: 600; color: var(--maroon-900); }
.cal-item small { display: block; font-size: 12px; color: var(--ink-500); margin-top: 1px; }
.cal-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cream-50); border: 1px solid var(--line); color: var(--maroon-900); }
#cal-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 14px;
  background: var(--maroon-900); color: var(--cream-50); font-size: 13.5px; box-shadow: 0 20px 40px -16px rgba(42,10,10,.6);
  transition: opacity .3s, transform .3s cubic-bezier(.22,1,.36,1);
}
#cal-toast svg { color: var(--gold-300); flex: 0 0 auto; }
#cal-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 540px) {
  .evf-facts { grid-template-columns: 1fr; }
  .evf-leaf { width: 64px; top: -38px; right: 18px; }
  .evf-leaf-d { font-size: 28px; }
  .evf-headline { padding-right: 76px; }
  .evf-actions > .btn-gs, .evf-actions > .cal-menu { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .evf-live::after { animation: none; } #evt-featured:hover { transform: none; } .evf-media::before { display: none; } }

/* 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: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(253,248,236,.92) 100%) padding-box,
    linear-gradient(160deg, rgba(222,190,133,.85), rgba(222,190,133,.15) 40%, rgba(222,190,133,.6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 60px -38px rgba(60,11,11,.45), 0 1px 0 rgba(255,255,255,.9) inset;
}
.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-body { padding: 18px 18px 20px; }
  .evt-side { padding: 20px 16px 16px; }
}
/* ── "Coming up" agenda ───────────────────────────────────────────────────
   One row per upcoming event: date column · flyer thumbnail · details · go.
   Gold hairlines between rows; a row lifts and gains a gold edge on hover. */
.evt-side-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(196,154,79,.35); }
.evt-side-title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; margin-top: 6px; color: var(--maroon-900); line-height: 1.1; }
.evt-count {
  flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--maroon-800); background: rgba(216,154,44,.14); border: 1px solid rgba(196,154,79,.4);
}
.evt-count[hidden] { display: none; }

.agenda {
  list-style: none; margin: 0 -10px; padding: 4px 10px 28px;
  flex: 1; min-height: 0; max-height: 560px; overflow-y: auto; overscroll-behavior: contain;
  /* soft fade where the list scrolls out of view */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
  scrollbar-width: thin; scrollbar-color: rgba(196,154,79,.5) transparent;
}
.agenda::-webkit-scrollbar { width: 6px; }
.agenda::-webkit-scrollbar-thumb { background: rgba(196,154,79,.5); border-radius: 999px; }
.agenda-item { border-bottom: 1px solid rgba(196,154,79,.2); animation: agendaIn .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 80ms); }
.agenda-item:last-child { border-bottom: 0; }
@keyframes agendaIn { from { opacity: 0; transform: translateY(14px); } }

.agenda-row {
  position: relative; display: grid; grid-template-columns: 58px 78px minmax(0,1fr) 38px; gap: 18px; align-items: center;
  width: 100%; margin: 6px 0; padding: 12px 14px 12px 12px; border: 0; border-radius: 18px;
  background: transparent; color: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: background .35s, box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1);
}
/* gold edge that grows in from the middle */
.agenda-row::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-700)); transform: scaleY(0); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.agenda-row:hover, .agenda-row:focus-visible {
  outline: none; transform: translateX(4px);
  background: linear-gradient(90deg, rgba(253,240,212,.95), rgba(255,255,255,.75));
  box-shadow: 0 18px 34px -24px rgba(60,11,11,.45), inset 0 0 0 1px rgba(196,154,79,.35);
}
.agenda-row:hover::before, .agenda-row:focus-visible::before { transform: scaleY(1); }

.agenda-date { display: flex; flex-direction: column; align-items: center; line-height: 1; padding-right: 14px; border-right: 1px solid rgba(196,154,79,.35); }
.agenda-mon { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-700); }
.agenda-day { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--maroon-900); margin: 5px 0 4px; font-variant-numeric: lining-nums; white-space: nowrap; letter-spacing: -.02em; }
.agenda-day:not(:only-child) { font-size: clamp(24px, 2.4vw, 32px); }
.agenda-wd { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-500); }

.agenda-thumb {
  position: relative; width: 78px; height: 78px; border-radius: 16px; overflow: hidden; background: var(--maroon-900);
  box-shadow: 0 12px 24px -14px rgba(60,11,11,.6), 0 0 0 1px rgba(196,154,79,.45);
}
.agenda-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.agenda-row:hover .agenda-thumb img { transform: scale(1.08); }
/* no flyer yet: an ornamental tile in the event's tone */
.agenda-thumb-ph { display: grid; place-items: center; color: var(--gold-300); }
.agenda-thumb-ph::after { content: ""; position: absolute; inset: 6px; border-radius: 11px; border: 1px solid rgba(222,190,133,.35); }
.agenda-tone-dark { background: radial-gradient(circle at 30% 20%, #8A2820, #4A0F0C 75%); }
.agenda-tone-gold { background: radial-gradient(circle at 30% 20%, #E6B447, #A87421 80%); color: #fff8e6; }
.agenda-tone-warm { background: radial-gradient(circle at 30% 20%, #C46A3C, #7A2E1E 80%); color: #FFE3C4; }

.agenda-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.agenda-cat { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--evt-special); }
.agenda-cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.agenda-cat-puja { color: var(--evt-puja); }
.agenda-cat-cultural { color: var(--evt-cultural); }
.agenda-cat-service { color: var(--evt-service); }
.agenda-cat-class { color: var(--evt-class); }
.agenda-title { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--maroon-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-meta { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 12.5px; color: var(--ink-500); }
/* inline-block (not flex) so a long time or place ends in "…" */
.agenda-meta span { display: inline-block; min-width: 0; max-width: 100%; }
.agenda-meta span svg { vertical-align: -2px; margin-right: 5px; }
.agenda-meta span, .agenda-rec { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-meta svg { flex: 0 0 auto; color: var(--gold-600); }
.agenda-rec { display: block; font-size: 11.5px; color: var(--gold-700); }
.agenda-rec svg { vertical-align: -1px; }

.agenda-go {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  color: var(--maroon-800); border: 1px solid rgba(196,154,79,.5); background: rgba(255,255,255,.7);
  transition: background .3s, color .3s, border-color .3s, transform .35s cubic-bezier(.22,1,.36,1);
}
.agenda-row:hover .agenda-go { background: var(--maroon-800); border-color: var(--maroon-800); color: var(--gold-300); transform: translateX(3px); }
.agenda-row:hover .agenda-go.is-fb { background: #1877F2; border-color: #1877F2; color: #fff; }

.agenda-empty {
  margin: 14px 0; padding: 26px 22px; border-radius: 18px; text-align: center;
  border: 1px dashed rgba(196,154,79,.6); background: rgba(253,248,236,.7); color: var(--ink-700); font-size: 14px; line-height: 1.6;
}
.agenda-empty strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--maroon-900); margin-bottom: 6px; }
.agenda-empty-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 999px; color: var(--maroon-800); background: rgba(216,154,44,.16); }

/* Footer: a dark reminder card (echoes the featured card) and the calendar link */
.evt-side-foot { flex-direction: column; align-items: stretch; margin-top: auto; }
.evt-remind-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px;
  padding: 16px 16px 16px 18px; border-radius: 18px; color: #fff;
  background: radial-gradient(80% 120% at 100% 0%, rgba(196,154,79,.28), transparent 60%), linear-gradient(135deg, var(--maroon-800), var(--maroon-900));
  box-shadow: 0 20px 40px -26px rgba(60,11,11,.8), inset 0 0 0 1px rgba(222,190,133,.3);
}
.evt-remind-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--maroon-900); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
.evt-remind-card b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; line-height: 1.2; }
.evt-remind-card small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: rgba(255,253,245,.7); }
.evt-remind-card .btn-gs {
  padding: 11px 18px; font-size: 13px; white-space: nowrap; color: var(--maroon-900);
  background: linear-gradient(135deg, #F1D48F, #D6A64A 55%, #EBC774); border: 0;
}
.evt-remind-card .btn-gs:hover { filter: brightness(1.06); }
.evt-side-foot .evt-viewall { align-self: flex-end; }

@media (max-width: 540px) {
  .agenda { max-height: none; }
  .agenda-row { grid-template-columns: 52px minmax(0,1fr) 32px; gap: 12px; padding: 12px 8px; }
  .agenda-thumb { display: none; }
  .agenda-day { font-size: 26px; }
  .agenda-title { font-size: 19px; white-space: normal; }
  .agenda-go { width: 32px; height: 32px; }
  .evt-remind-card { grid-template-columns: auto minmax(0,1fr); }
  .evt-remind-card .btn-gs { grid-column: 1 / -1; justify-content: center; }
}

/* Featured flyers: the whole image is shown (contain) over a blurred, enlarged
   copy of itself, so portrait and square flyers are never cut off. */
.evf-media .evf-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(18px) saturate(1.15) brightness(.85); transform: scale(1.18); opacity: .9;
}
.evf-media img.evf-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 0;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.evf-media.has-img { aspect-ratio: 16/10; }
.evf-media.has-img::after { background: linear-gradient(180deg, transparent 70%, rgba(60,11,11,.45) 100%); }
#evt-featured:hover .evf-media > img.evf-bg { transform: scale(1.18); }
#evt-featured:hover .evf-media > img.evf-img { transform: scale(1.02); }
@media (max-width: 540px) { .evf-media.has-img { aspect-ratio: 4/3; } }

/* Featured primary action: burnished gold with a light sweep */
.evf-actions .btn-primary-gs {
  position: relative; overflow: hidden; border: 0; color: var(--maroon-900);
  background: linear-gradient(135deg, #F1D48F 0%, #D6A64A 50%, #EBC774 100%);
  box-shadow: 0 14px 28px -16px rgba(214,166,74,.9), inset 0 1px 0 rgba(255,255,255,.5);
}
.evf-actions .btn-primary-gs::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s cubic-bezier(.22,.61,.36,1);
}
.evf-actions .btn-primary-gs:hover::after { transform: translateX(120%); }

@media (prefers-reduced-motion: reduce) {
  .agenda-item { animation: none; }
  .agenda-row, .agenda-thumb img, .evf-actions .btn-primary-gs::after { transition: none; }
}

/* ── Nav call-to-action pills (Vision 2030 · Become Member · Donate) ──
   One matched set: identical height, single-line labels, set apart from the
   text links by a gold hairline. */
.nav-ctas {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
  margin-left: 14px; padding-left: 16px; position: relative;
}
.nav-ctas::before {
  content: ""; position: absolute; left: 0; top: 50%; height: 26px; width: 1px; transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(196,154,79,.7), transparent);
}
.nav-cta {
  position: relative; overflow: hidden; isolation: isolate;
  height: 42px; padding: 0 18px; justify-content: center; flex: 0 0 auto;
  font-size: 13px; line-height: 1; gap: 8px; letter-spacing: .02em; white-space: nowrap; text-decoration: none;
}
.nav-cta-donate {
  color: var(--maroon-900);
  background: linear-gradient(135deg, #F1D48F 0%, #D6A64A 55%, #EBC774 100%);
  box-shadow: inset 0 0 0 1px rgba(168,116,33,.35), 0 10px 24px -12px rgba(184,137,58,.9);
}
.nav-cta-donate svg { color: var(--maroon-800); }
.nav-cta-donate:hover { box-shadow: inset 0 0 0 1px rgba(168,116,33,.55), 0 16px 30px -14px rgba(184,137,58,.95); }
.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 down to the mobile-menu breakpoint (1140px):
   scale the brand and tighten spacing rather than letting labels wrap. The page
   wrap caps at 1280px, so these sizes are the default, not a breakpoint. */
.nav-brand-text { font-size: 25px !important; }
.nav-desk .nav-link { padding: 10px 10px; }
.nav-ctas { margin-left: 8px; padding-left: 12px; gap: 6px; }
.nav-desk .nav-cta { height: 40px; padding: 0 14px; font-size: 12.5px; }
@media (max-width: 1260px) {
  .nav-main-inner { gap: 16px !important; padding-left: 28px !important; padding-right: 28px !important; }
  .nav-logo-circle { width: 58px !important; height: 58px !important; }
  .nav-brand-text { font-size: 21px !important; }
  .nav-desk .nav-link { padding: 10px 8px; }
  .nav-desk .nav-cta { padding: 0 12px; gap: 6px; }
  .nav-desk .nav-cta svg { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   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);
}
/* ── RECENT WORK ("What we've been up to") ──
   Desktop: date · story · "Story →" in three columns.
   Phones: a stacked timeline — gold rail with a coloured dot per story. */
.rw-item {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.rw-item:last-child { border-bottom: 0; }
.rw-item:hover { background: var(--cream-50); }
.rw-when { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.rw-dot { position: relative; flex: 0 0 auto; width: 10px; height: 10px; border-radius: 999px; background: var(--rw-dot, var(--gold-600)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rw-dot, var(--gold-600)) 16%, transparent); }
.rw-main { min-width: 0; }
.rw-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cream-100); color: var(--maroon-800);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.rw-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--maroon-900); margin: 8px 0 0; }
.rw-text { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--ink-700); margin: 6px 0 0; }
.rw-more {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(196,154,79,.5); background: #fff; color: var(--maroon-800); white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer;
}
.rw-more:hover, .rw-more:focus-visible { background: var(--maroon-800); border-color: var(--maroon-800); color: #fff; transform: translateX(2px); }

@media (max-width: 720px) {
  #recent-work { border-radius: 20px !important; padding: 8px 0 !important; }
  .rw-item {
    position: relative; grid-template-columns: 1fr; gap: 8px; align-items: start;
    padding: 18px 18px 18px 46px; border-bottom: 0;
  }
  .rw-item:hover { background: none; }
  /* the rail: a thin gold line joining the dots */
  .rw-item::before {
    content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, rgba(196,154,79,.15), rgba(196,154,79,.45), rgba(196,154,79,.15));
  }
  .rw-item:first-child::before { top: 26px; }
  .rw-item:last-child::before { bottom: calc(100% - 30px); }
  .rw-when { font-size: 10.5px; color: var(--gold-700); font-weight: 600; }
  .rw-dot { position: absolute; left: 17px; top: 22px; width: 12px; height: 12px; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--rw-dot, var(--gold-600)); }
  .rw-main {
    padding: 14px 16px 16px; border-radius: 16px; background: linear-gradient(180deg, #fff, var(--cream-50));
    border: 1px solid rgba(196,154,79,.25); box-shadow: 0 12px 26px -22px rgba(92,26,27,.45);
  }
  .rw-name { font-size: 20px; }
  .rw-text { font-size: 14px; }
  .rw-more { margin-top: 2px; }
}

/* ═══════════════════════════════════════════════════════════════
   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;
}

/* Program card = details area (opens the pop-up) + an action row underneath.
   The card is a <div>, so the action buttons are real, separate buttons. */
div.program-card { cursor: default; height: 100%; container-type: inline-size; }
/* Narrow cards (4-up grid): drop the button icons so the pair stays side by side */
@container (max-width: 300px) {
  .program-card-actions { padding-left: 14px; padding-right: 14px; }
  .prog-btn { padding: 0 8px; font-size: 12.5px; }
  .prog-btn svg { display: none; }
}
.program-card-main {
  display: flex; flex-direction: column; flex: 1; width: 100%;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.program-card-main:focus-visible { outline: 2px solid var(--gold-500); outline-offset: -2px; border-radius: 20px 20px 0 0; }
.program-card-main .program-card-body { padding-bottom: 16px; }
.program-card-main .program-card-schedule { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; letter-spacing: .08em; text-transform: uppercase; }
.program-card-main .program-card-schedule svg { color: var(--gold-600); }
/* Program photo (from the dashboard); the patterned placeholder is used when there is none */
.program-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-100); }
.program-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.program-card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(42,10,10,.18) 0%, transparent 35%); }
.program-card:hover .program-card-media img { transform: scale(1.05); }
.prog-modal-img { display: block; width: 100%; max-height: min(46vh, 380px); object-fit: cover; border-radius: 14px; margin-bottom: 18px; border: 1px solid var(--line); }
.program-card-cat {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; background: rgba(255,253,245,.95); color: var(--maroon-800);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--line);
}
.program-card-actions {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px dashed var(--line);
}
.prog-btn {
  flex: 1 1 104px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); font-size: 13px; font-weight: 600; text-decoration: none;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.prog-btn svg { flex: 0 0 auto; }
.prog-btn:hover { transform: translateY(-2px); }
.prog-btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.prog-btn-ghost { background: #fff; color: var(--maroon-800); border: 1px solid rgba(125,40,38,.35); }
.prog-btn-ghost:hover { background: var(--cream-50); border-color: var(--maroon-800); }
.prog-btn-solid { background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900)); color: var(--cream-50); border: 1px solid var(--maroon-900); box-shadow: 0 10px 20px -12px rgba(92,26,27,.7); }
.prog-btn-solid svg { color: var(--gold-300); }
.prog-btn-solid:hover { box-shadow: 0 16px 26px -14px rgba(92,26,27,.85); color: #fff; }
.prog-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   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 ── */
/* Top bar: desktop keeps its text links; the short place name and icons are phone-only. */
.nav-top-bar .nt-short, .nav-top-bar .nt-ico { display: none; }
.nav-top-bar .nt-link { transition: color .2s; }
.nav-top-bar .nt-link:hover { color: var(--gold-300); }

/* ── Phones: one slim row (place · icon buttons) and a polished logo row ── */
@media (max-width: 720px) {
  .nav-top-bar { background: linear-gradient(90deg, var(--maroon-900), #4A1314) !important; }
  .nav-top-bar .wrap {
    flex-direction: row; flex-wrap: nowrap !important; justify-content: space-between; align-items: center !important;
    gap: 10px !important; padding: 6px 16px !important; min-height: 40px;
  }
  /* the left group dissolves so the email button joins the icons on the right */
  .nav-top-bar .nt-left { display: contents !important; }
  .nav-top-bar .wrap { gap: 6px !important; }
  .nav-top-bar .nt-place { margin-right: auto; font-size: 11px; letter-spacing: .1em; white-space: nowrap; color: var(--cream-100); }
  .nav-top-bar .nt-place svg { color: var(--gold-300); }
  .nav-top-bar .nt-long, .nav-top-bar .nt-label, .nav-top-bar .nt-sep, .nav-top-bar .nt-news { display: none; }
  .nav-top-bar .nt-short, .nav-top-bar .nt-ico { display: inline; }
  .nav-top-bar .nt-right { gap: 6px !important; }
  .nav-top-bar a.nt-link {
    width: 28px; height: 28px; padding: 0 !important; border-radius: 999px; display: inline-grid !important; place-items: center;
    color: var(--gold-300); border: 1px solid rgba(222,190,133,.35); background: rgba(255,255,255,.05);
    transition: background .2s, color .2s, border-color .2s;
  }
  .nav-top-bar a.nt-link svg { width: 13px; height: 13px; }
  .nav-top-bar a.nt-link:hover, .nav-top-bar a.nt-link:active { background: var(--gold-500); border-color: var(--gold-500); color: var(--maroon-900); }

  /* logo row: gold hairline underneath, filled menu button */
  .nav-bar { box-shadow: 0 10px 24px -18px rgba(92,26,27,.45) !important; }
  .nav-bar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-300) 50%, var(--gold-500) 80%, transparent);
    opacity: .7;
  }
  .nav-mob-btn {
    width: 44px !important; height: 44px !important; border: 0 !important; color: var(--gold-300) !important;
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900)) !important;
    box-shadow: 0 10px 20px -10px rgba(92,26,27,.7), inset 0 0 0 1px rgba(222,190,133,.35);
    transition: transform .2s;
  }
  .nav-mob-btn:active { transform: scale(.94); }
  .nav-mob-btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
}

/* ── 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; }
}
@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; }
}
@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 ── */

/* ── 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);
}

/* /past-committees page: one document card per past management committee */
.committee-card { display: block; color: inherit; text-decoration: none; }
.committee-cover {
  position: relative; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-300); text-align: center; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 40%, rgba(196,154,79,.22), transparent 70%),
    repeating-linear-gradient(135deg, rgba(0,0,0,.12) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, var(--maroon-700), var(--maroon-900) 70%);
}
.committee-cover::after { content: ""; position: absolute; inset: 12px; border-radius: 12px; border: 1px solid rgba(222,190,133,.35); pointer-events: none; }
.committee-tag {
  position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: rgba(253,248,236,.95); color: var(--maroon-900);
}
.committee-years { display: flex; flex-direction: column; align-items: center; line-height: .95; font-family: var(--serif); }
.committee-years b { font-size: clamp(40px, 4vw, 54px); font-weight: 600; color: #fff8e6; letter-spacing: -.01em; }
.committee-years i { font-style: normal; font-size: 22px; color: var(--gold-500); margin: 2px 0; }
.committee-rule { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.committee-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,232,190,.75); }
.committee-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--gold-700); }
.committee-card:hover .committee-open { color: var(--maroon-800); }
.committee-card:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* 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); }

/* ═══ NEWSLETTER CARD (home page, Community section) ═══ */
.nl-card {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 22px;
  padding: 38px 34px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 80% at 100% 0%, var(--maroon-800) 0%, var(--maroon-900) 55%, #3A0F10 100%);
  border: 1px solid rgba(216,154,44,.28); box-shadow: 0 30px 60px -34px rgba(60,11,11,.6);
}
.nl-card::after { /* gold hairline along the top edge */
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.nl-rings { position: absolute; right: -90px; top: -90px; width: 340px; opacity: .18; pointer-events: none; z-index: -1; animation: nlSpin 120s linear infinite; }
@keyframes nlSpin { to { transform: rotate(360deg); } }
.nl-top { display: flex; align-items: center; gap: 14px; }
.nl-badge {
  position: relative; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; display: grid; place-items: center;
  color: var(--maroon-900); background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.6);
}
.nl-badge-dot { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 999px; background: #E2574C; border: 2px solid var(--maroon-900); animation: nlPing 2.4s ease-in-out infinite; }
@keyframes nlPing { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.nl-copy h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 34px); font-weight: 500; line-height: 1.1; }
.nl-copy h3 em { color: var(--gold-300); }
.nl-copy p { margin-top: 10px; color: rgba(255,253,245,.75); font-size: 14.5px; line-height: 1.55; }
.nl-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nl-perks li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; font-size: 14px; color: rgba(255,253,245,.9);
  background: rgba(255,253,245,.05); border: 1px solid rgba(222,190,133,.16); transition: background .25s, border-color .25s, transform .25s;
}
.nl-perks li:hover { background: rgba(255,253,245,.09); border-color: rgba(222,190,133,.35); transform: translateX(3px); }
.nl-perk-ico { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: grid; place-items: center; color: var(--gold-300); background: rgba(216,154,44,.16); }
.nl-cta { width: 100%; justify-content: center; padding: 15px 20px; font-size: 15px; transition: transform .2s, box-shadow .2s; }
.nl-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(216,154,44,.6); }
.nl-cta svg { transition: transform .2s; }
.nl-cta:hover svg { transform: translateX(3px); }
.nl-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,245,.5); text-align: center; }
@media (prefers-reduced-motion: reduce) { .nl-rings, .nl-badge-dot { animation: none; } }

/* ═══ ZEFFY POPUP (main.js initZeffyPopups) ═══ */
.modal-content.zf-modal { max-width: 560px !important; }
.zf-pop-head { padding: 30px 70px 18px 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--cream-50) 0%, var(--ivory) 100%); }
.zf-pop-head h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); font-weight: 600; color: var(--maroon-900); margin-top: 8px; line-height: 1.15; }
.zf-pop-frame { position: relative; height: min(680px, calc(100vh - 260px)); min-height: 420px; background: #fff; }
.zf-pop-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s; }
.zf-pop-frame.is-loaded iframe { opacity: 1; }
.zf-pop-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink-500); font-size: 13.5px; }
.zf-pop-frame.is-loaded .zf-pop-loading { display: none; }
.zf-spin { width: 34px; height: 34px; border-radius: 999px; border: 3px solid var(--cream-100); border-top-color: var(--gold-600); animation: zfSpin .8s linear infinite; }
@keyframes zfSpin { to { transform: rotate(360deg); } }
.zf-pop-alt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--maroon-800); }
.zf-pop-alt:hover { background: var(--cream-50); }
@media (max-width: 540px) {
  .zf-pop-head { padding: 24px 64px 16px 20px; }
  .zf-pop-frame { height: calc(100vh - 220px); min-height: 360px; }
}

/* ═══════════════ LEADERSHIP (home page #leadership) ═══════════════ */
.ld-section { background: radial-gradient(60% 50% at 0% 0%, rgba(196,154,79,.12), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(122,29,29,.06), transparent 70%), var(--ivory); position: relative; overflow: hidden; }
.ld-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; }
.ld-title { font-size: clamp(36px, 5vw, 60px); margin-top: 14px; color: var(--maroon-900); line-height: 1.05; }
.ld-title em { color: var(--gold-700); }

/* Tabs with a sliding indicator */
.ld-tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 30px -22px rgba(92,26,27,.5); }
.ld-tabs::-webkit-scrollbar { display: none; }
.ld-tab-ink { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900)); box-shadow: 0 8px 18px -10px rgba(92,26,27,.9);
  transition: transform .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1); }
.ld-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-700); font: 600 13px var(--sans); cursor: pointer; transition: color .3s; }
.ld-tabs button:hover { color: var(--maroon-800); }
.ld-tabs button.active { color: #fff; }
.ld-tabs button:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.ld-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; font: 600 11px var(--mono); background: rgba(196,154,79,.16); color: var(--gold-700); transition: all .3s; }
.ld-tabs button.active .ld-count { background: rgba(255,255,255,.18); color: var(--gold-300); }

/* Grid + cards */
.ld-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.ld-card { display: flex; flex-direction: column; width: 100%; padding: 10px 10px 20px; text-align: center; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; cursor: default;
  box-shadow: 0 14px 34px -28px rgba(92,26,27,.55); transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s, border-color .45s; }
button.ld-card { cursor: pointer; }
.ld-card:hover, .ld-card:focus-visible { transform: translateY(-6px); border-color: rgba(196,154,79,.6); box-shadow: 0 30px 50px -30px rgba(92,26,27,.6); }
.ld-card:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.ld-grid.is-in .ld-card { animation: ldIn .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(min(var(--i), 12) * 55ms); }
.ld-grid.no-motion .ld-card { animation: none; }
@keyframes ldIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* Temple-arch portrait */
.ld-arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; isolation: isolate;
  background:
    repeating-radial-gradient(circle at 50% 42%, rgba(222,190,133,.14) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 50% 38%, var(--maroon-700) 0%, var(--maroon-900) 70%, #3A0F10 100%); }
.ld-arch::after { content: ""; position: absolute; inset: 7px; z-index: 2; pointer-events: none; border-radius: inherit;
  border: 1px solid rgba(222,190,133,.55); transition: border-color .45s, inset .45s; }
.ld-card:hover .ld-arch::after { inset: 10px; border-color: rgba(255,231,176,.9); }
.ld-mono { font: 600 46px/1 var(--serif); letter-spacing: .02em; color: var(--gold-300); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.ld-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.ld-arch.has-photo { background: var(--cream-100); }
.ld-arch.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(58,15,16,.28), transparent 45%); pointer-events: none; }
.ld-arch.has-photo .ld-mono { visibility: hidden; }
.ld-card:hover .ld-arch img { transform: scale(1.06); }

.ld-body { padding: 16px 8px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.ld-name { font: 600 21px/1.18 var(--serif); color: var(--maroon-900); overflow-wrap: anywhere; }
.ld-role { font: 500 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.ld-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 5px; font: 600 12px var(--sans); color: var(--maroon-800); opacity: .75; transition: opacity .3s, gap .3s; }
.ld-card:hover .ld-more { opacity: 1; gap: 8px; }
.ld-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; border: 1px dashed rgba(196,154,79,.5); border-radius: 20px; color: var(--ink-500); }

/* Bio popup */
.ld-modal { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; padding: 8px; }
.ld-modal img, .ld-modal-mono { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; }
.ld-modal-mono { display: grid; place-items: center; font: 600 54px var(--serif); color: var(--gold-300); background: radial-gradient(circle at 50% 38%, var(--maroon-700), var(--maroon-900)); }
.ld-modal h3 { font: 600 30px/1.1 var(--serif); color: var(--maroon-900); margin: 8px 0 6px; }
.ld-modal p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-700); }

@media (max-width: 720px) {
  .ld-head { margin-bottom: 30px; }
  .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ld-card { padding: 7px 7px 16px; border-radius: 20px; }
  .ld-name { font-size: 17px; }
  .ld-mono { font-size: 36px; }
  .ld-modal { grid-template-columns: 1fr; }
  .ld-modal img, .ld-modal-mono { max-width: 200px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-tab-ink, .ld-card, .ld-arch img, .ld-arch::after { transition: none; }
  .ld-grid.is-in .ld-card { animation: none; }
}
