/* ============================================================
   HINDU CENTRE SINGAPORE — WEBSITE PROTOTYPE
   Design System: Sacred Pragmatism
   ============================================================ */

:root {
  --laterite: #E8651A;
  --laterite-light: #F08040;
  --laterite-dark: #C85010;
  --sandstone: #FFF0E0;
  --sandstone-light: #FFF8F0;
  --sandstone-dark: #F0DCC8;
  --temple-charcoal: #5B1A1A;
  --temple-charcoal-light: #7A3030;
  --temple-charcoal-medium: #6B2525;
  --lamp-gold: #F5B800;
  --lamp-gold-light: #FFD040;
  --lamp-gold-dark: #D4A000;
  --kumkum: #CC3333;
  --kumkum-light: #E04545;
  --kumkum-dark: #A02828;
  /* Brand accent changed June 2026: Tulsi Green → Peacock Blue (per Design Gita). */
  --peacock: #0E6E8C;
  --peacock-light: #2E97B5;
  --peacock-dark: #0A4E63;
  /* Legacy aliases — any remaining var(--tulsi*) now renders Peacock Blue. */
  --tulsi: var(--peacock);
  --tulsi-light: var(--peacock-light);
  --tulsi-dark: var(--peacock-dark);
  --bg-primary: #FFF8F0;
  --bg-secondary: #FFF0E0;
  --bg-dark: #5B1A1A;
  --text-primary: #3D1010;
  --text-secondary: #6B4040;
  --text-tertiary: #997070;
  --text-inverse: #FFF8F0;
  --border-light: #F0DCC8;
  --border-medium: #DCC0A0;
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- PAGE SWITCHING ---- */
.page { display: none; }
.page.page-active { display: block; }

/* ---- UTILITY ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--lamp-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-label-light {
  color: var(--lamp-gold-light);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* Image placeholder */
.img-placeholder {
  background: #F0DCC8;
  border: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-tertiary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(245,184,0,0.06) 100%);
}
.img-placeholder span { position: relative; z-index: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--lamp-gold);
  color: var(--temple-charcoal);
}
.btn-primary:hover {
  background: var(--lamp-gold-dark);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  color: var(--sandstone);
  border: 1.5px solid rgba(255,240,224,0.4);
}
.btn-outline-light:hover {
  border-color: var(--sandstone);
  background: rgba(255,240,224,0.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--temple-charcoal);
  border: 1.5px solid var(--border-medium);
}
.btn-outline-dark:hover {
  border-color: var(--laterite);
  color: var(--laterite);
}
.text-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--lamp-gold-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.text-link:hover { color: var(--laterite); }

/* Page divider */
.page-divider {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-divider::before {
  content: '';
  width: 1px;
  height: 60px;
  background: var(--border-light);
}
.page-divider-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  background: var(--bg-primary);
  padding: 0.5rem 1rem;
  position: absolute;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  background: rgba(255,240,224,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.nav-logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.site-header:not(.scrolled) .nav-logo-text { color: var(--sandstone); }
.site-header.scrolled .nav-logo-text { color: var(--temple-charcoal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.site-header:not(.scrolled) .nav-links a { color: rgba(255,240,224,0.7); }
.site-header:not(.scrolled) .nav-links a:hover { color: var(--sandstone); }
.site-header.scrolled .nav-links a { color: var(--text-secondary); }
.site-header.scrolled .nav-links a:hover { color: var(--temple-charcoal); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--lamp-gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Active nav link */
.nav-links a.active::after { width: 100%; }
.site-header:not(.scrolled) .nav-links a.active { color: var(--sandstone); }
.site-header.scrolled .nav-links a.active { color: var(--temple-charcoal); }

.nav-donate {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.6rem 1.4rem;
  background: var(--lamp-gold);
  color: var(--temple-charcoal) !important;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s;
}
.nav-donate:hover { background: var(--lamp-gold-dark); color: #fff !important; }
.nav-donate::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  transition: background 0.3s;
}
.site-header:not(.scrolled) .nav-toggle span { background: var(--sandstone); }
.site-header.scrolled .nav-toggle span { background: var(--temple-charcoal); }

/* ============================================================
   YANTRA PATTERN BACKGROUND (CSS-only)
   ============================================================ */

.yantra-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.06;
  pointer-events: none;
}
.yantra-bg svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
}

/* Kolam dot grid pattern */
.kolam-dots {
  background-image: radial-gradient(circle, var(--border-medium) 1px, transparent 1px);
  background-size: 24px 24px;
}
.kolam-dots-light {
  background-image: radial-gradient(circle, rgba(245,184,0,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */

.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.slide-bg svg {
  width: 100%;
  height: 100%;
}
.carousel-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 20;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,240,224,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--lamp-gold);
  border-color: var(--lamp-gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--sandstone);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,240,224,0.6);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ANIMATED SVG BACKGROUNDS
   ============================================================ */

/* --- Slide 0: Three Paths (Brand-level) --- */
.slide-bg-threepaths .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
}
.slide-bg-threepaths::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(91, 26, 26, 0.38) 0%,
    rgba(61, 16, 16, 0.26) 30%,
    rgba(42, 10, 10, 0.22) 50%,
    rgba(91, 26, 26, 0.40) 75%,
    rgba(42, 10, 10, 0.60) 100%
  );
  z-index: 1;
}
.slide-bg-threepaths::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at 50% 55%,
    rgba(245, 184, 0, 0.08) 0%,
    rgba(232, 101, 26, 0.04) 40%,
    transparent 70%
  );
  z-index: 2;
  mix-blend-mode: screen;
}

/* --- Slide 1: Jnana (Knowledge) --- */
.slide-bg-jnana {
  background: linear-gradient(160deg, #5B1A1A 0%, #3D1010 60%, #2a0a0a 100%);
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { opacity: 0.3; }
  100% { transform: translateY(-120vh) rotate(15deg); opacity: 0; }
}
@keyframes pulseCircle {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.03); }
}
@keyframes slowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes gentleDrift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(8px) translateY(-5px); }
  75% { transform: translateX(-8px) translateY(5px); }
}

/* --- Slide 2: Bhakti (Devotion) --- */
.slide-bg-bhakti {
  background: linear-gradient(160deg, #E8651A 0%, #5B1A1A 70%, #3D1010 100%);
}

/* Flame flicker — opacity ONLY.
   ⚠️ Never animate `transform` here. These keyframes run on the diya groups
   <g transform="translate(x,y)">, and in SVG a CSS transform OVERRIDES the
   transform attribute — which collapsed every diya onto the origin (0,0) and
   made them vanish. Opacity-only keeps the flames alive and the diyas in place. */
@keyframes flicker {
  0%, 100% { opacity: 0.7; }
  25% { opacity: 0.9; }
  50% { opacity: 0.6; }
  75% { opacity: 0.95; }
}
@keyframes floatPetal {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50% { opacity: 0.35; }
  100% { transform: translateY(-80vh) rotate(180deg); opacity: 0; }
}
@keyframes radiate {
  0%, 100% { opacity: 0.04; r: 80; }
  50% { opacity: 0.1; r: 120; }
}
@keyframes slowRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* --- Slide 3: Sevaa (Service) --- */
.slide-bg-sevaa {
  background: linear-gradient(160deg, #E8651A 0%, #5B1A1A 50%, #2a0a0a 100%);
}

@keyframes pulseConnect {
  0%, 100% { opacity: 0.1; stroke-width: 0.5; }
  50% { opacity: 0.25; stroke-width: 1; }
}
@keyframes reachUp {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes particleDrift {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { transform: translate(var(--dx, 30px), var(--dy, -50px)); opacity: 0; }
}
@keyframes omDraw {
  0% { stroke-dashoffset: 600; opacity: 0; }
  10% { opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 0.35; }
}
@keyframes omGlow {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes omBreathe {
  0%, 100% { transform: scale(0.97); }
  50% { transform: scale(1.03); }
}
@keyframes omShimmer {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.14; }
}
@keyframes omRingRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes omRingRotateReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes lotusBloom {
  0%, 100% { transform: scale(0.85); }
  50% { transform: scale(1.05); }
}
/* SVG defaults transform-origin to the viewBox origin (0,0), so scale/rotate
   animations drift elements toward the top-left instead of animating in place.
   Anchor them to their own bounding box. */
.hero svg g[style*="lotusBloom"],
.hero svg g[style*="lotusSway"],
.hero svg g[style*="leafAppear"],
.hero svg g[style*="leafSway"] {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes lotusSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes petalDrift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
  50% { opacity: 0.25; }
  100% { transform: translate(-60px, -200px) rotate(45deg); opacity: 0; }
}
@keyframes namaskaGlow {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}
@keyframes namaskaRays {
  0%, 100% { opacity: 0.06; transform: scale(0.95); }
  50% { opacity: 0.14; transform: scale(1.05); }
}
@keyframes palmsMeet {
  0%, 100% { transform: translateX(var(--palm-spread, 6px)); }
  50% { transform: translateX(0px); }
}
@keyframes palmsMeetR {
  0%, 100% { transform: translateX(var(--palm-spread-r, -6px)); }
  50% { transform: translateX(0px); }
}
/* Sevaa tree animations */
@keyframes drawHands {
  0% { stroke-dashoffset: 200; opacity: 0; }
  30% { opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
@keyframes stemGrow {
  0% { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: 0; }
}
@keyframes treeGlow {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 0.14; transform: scale(1); }
}
@keyframes circleReveal {
  0% { opacity: 0; stroke-dashoffset: 1420; }
  100% { opacity: 0.2; stroke-dashoffset: 0; }
}
@keyframes leafFlyIn {
  0%, 100% {
    transform: translate(var(--lx-start, -300px), var(--ly-start, -250px)) rotate(var(--lr-start, 110deg)) scale(0.3);
    opacity: 0;
  }
  10% { opacity: 0.9; }
  44% {
    transform: translate(0px, 0px) rotate(var(--lr-land, 0deg)) scale(1);
    opacity: var(--leaf-opacity, 0.72);
  }
  63% {
    transform: translate(0px, 3px) rotate(calc(var(--lr-land, 0deg) + 4deg)) scale(1.02);
    opacity: var(--leaf-opacity, 0.72);
  }
  82% {
    transform: translate(var(--lx-exit, 60px), var(--ly-exit, -100px)) rotate(var(--lr-exit, -70deg)) scale(0.5);
    opacity: 0.12;
  }
  93% { opacity: 0; }
}
@keyframes leafAppear {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 0.35; }
  100% { transform: scale(1); opacity: 0.3; }
}
@keyframes leafSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@keyframes leafGatherScatter {
  0%, 5% { transform: translate(0, 0); opacity: 0.3; }
  25%, 55% { transform: translate(var(--gx, 0px), var(--gy, 0px)); opacity: 0.4; }
  80%, 100% { transform: translate(0, 0); opacity: 0.3; }
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* --- Campaign Banner (Modular) --- */
.campaign-banner {
  background: var(--lamp-gold);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.campaign-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.04) 0%, transparent 60%);
}
.campaign-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.campaign-banner-text {
  flex: 1;
  min-width: 300px;
}
.campaign-banner-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--temple-charcoal);
  opacity: 0.6;
  margin-bottom: 0.4rem;
}
.campaign-banner-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--temple-charcoal);
  line-height: 1.3;
}
.campaign-banner-sub {
  font-size: 0.85rem;
  color: var(--temple-charcoal);
  opacity: 0.7;
  margin-top: 0.3rem;
}
.campaign-banner .btn-campaign {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.75rem;
  background: var(--temple-charcoal);
  color: var(--sandstone);
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.campaign-banner .btn-campaign:hover {
  background: var(--temple-charcoal-light);
}

/* --- Impact Strip --- */
.impact-strip {
  background: var(--laterite);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.impact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, transparent 50%);
}
.impact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.impact-item {
  text-align: center;
  position: relative;
}
.impact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255,240,224,0.15);
}
.impact-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--sandstone);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.impact-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255,240,224,0.6);
  letter-spacing: 0.06em;
}

/* --- Seva Stories / Three Paths --- */
.seva-stories {
  padding: 7rem 0;
  background: var(--bg-primary);
}
.seva-stories-header {
  margin-bottom: 4rem;
}
.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.programme-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(91,26,26,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(91,26,26,0.1);
}
.programme-card .img-placeholder {
  height: 220px;
  border: none;
  border-radius: 0;
}
.programme-card-body {
  padding: 2rem;
}
.programme-accent {
  width: 32px;
  height: 3px;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.accent-laterite { background: var(--laterite); }
.accent-peacock { background: var(--peacock); }
.accent-tulsi { background: var(--peacock); } /* legacy alias */
.accent-kumkum { background: var(--kumkum); }
.accent-lamp-gold { background: var(--lamp-gold); }
.programme-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.programme-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* --- Founding Story --- */
.founding-story {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.founding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.founding-text h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.founding-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.founding-text .img-placeholder {
  height: 360px;
  border-radius: 4px;
}

/* --- Learn & Worship split --- */
.learn-worship {
  padding: 7rem 0;
  background: var(--bg-primary);
  position: relative;
}
.lw-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 3rem;
}
.lw-divider {
  background: var(--border-light);
  position: relative;
}
.lw-divider::before {
  content: '';
  position: absolute;
  top: 0; left: -12px; right: -12px; bottom: 0;
  background-image: radial-gradient(circle, var(--lamp-gold) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.2;
}
.lw-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.lw-section .section-subtitle { margin-bottom: 2rem; }
.lw-section .img-placeholder {
  height: 200px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.lw-list {
  list-style: none;
  margin-top: 1rem;
}
.lw-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lw-list li:last-child { border-bottom: none; }
.lw-list .lw-arrow {
  color: var(--lamp-gold);
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.lw-list li:hover .lw-arrow { transform: translateX(4px); }

/* --- Events --- */
.events-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.event-card {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 1px 10px rgba(91,26,26,0.04);
  transition: transform 0.3s;
}
.event-card:hover { transform: translateY(-2px); }
.event-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lamp-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.event-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.event-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Get Involved CTA --- */
.get-involved-cta {
  padding: 6rem 0;
  background: var(--temple-charcoal);
  position: relative;
  overflow: hidden;
}
.get-involved-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, transparent 50%);
}
.gic-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.gic-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.gic-left .section-label {
  color: var(--lamp-gold);
}
.gic-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  color: var(--sandstone);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.gic-subtitle {
  color: rgba(255, 240, 224, 0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 420px;
}
.gic-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gic-action-card {
  background: rgba(255,240,224,0.06);
  border: 1px solid rgba(255,240,224,0.12);
  border-radius: 4px;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gic-action-card:hover {
  background: rgba(255,240,224,0.1);
  border-color: rgba(245,184,0,0.3);
}
.gic-action-card-text { flex: 1; }
.gic-action-card-text h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sandstone);
  margin-bottom: 0.2rem;
}
.gic-action-card-text p {
  font-size: 0.85rem;
  color: rgba(255,240,224,0.5);
  line-height: 1.5;
}
.gic-action-arrow {
  flex-shrink: 0;
  margin-left: 1.25rem;
  color: var(--lamp-gold);
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.25s ease;
}
.gic-action-card:hover .gic-action-arrow {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .gic-panel { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--laterite-dark);
  color: rgba(255,240,224,0.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.footer-brand .nav-logo-mark {
  background: transparent;
  border: none;
  margin-bottom: 1rem;
}
.footer-brand .nav-logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--sandstone);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sandstone);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: rgba(255,240,224,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sandstone); }

.footer-newsletter p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: rgba(255,240,224,0.08);
  border: 1px solid rgba(255,240,224,0.15);
  border-right: none;
  color: var(--sandstone);
  border-radius: 3px 0 0 3px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,240,224,0.3); }
.newsletter-form button {
  padding: 0.65rem 1.25rem;
  background: var(--lamp-gold);
  color: var(--temple-charcoal);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--lamp-gold-dark); color: #fff; }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,240,224,0.06);
  border: 1px solid rgba(255,240,224,0.1);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: rgba(255,240,224,0.12);
  border-color: rgba(255,240,224,0.25);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,240,224,0.6);
}

.footer-bottom {
  border-top: 1px solid rgba(255,240,224,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,240,224,0.4);
}

/* ============================================================
   PAGE HEROES
   ============================================================ */

.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
}
.page-hero-sandstone {
  background: var(--bg-secondary);
}
.page-hero-dark {
  background: var(--temple-charcoal);
}
.page-hero-laterite {
  background: var(--laterite);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}
.page-hero-sandstone h1 { color: var(--text-primary); }
.page-hero-dark h1 { color: var(--sandstone); }
.page-hero-laterite h1 { color: var(--sandstone); }
.page-hero .section-subtitle {
  margin-top: 1rem;
}
.page-hero-dark .section-subtitle { color: rgba(255,240,224,0.6); }
.page-hero-laterite .section-subtitle { color: rgba(255,240,224,0.6); }

/* ============================================================
   STORY / ABOUT PAGE
   ============================================================ */

.story-content {
  padding: 5rem 0;
}
.story-narrative {
  max-width: 700px;
  margin: 0 auto;
}
.story-narrative p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.story-narrative p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  padding-right: 0.5rem;
  padding-top: 0.15rem;
  color: var(--laterite);
}

/* Timeline */
.timeline-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.timeline {
  position: relative;
  max-width: 700px;
  margin: 3rem auto 0;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lamp-gold);
  border: 2px solid var(--bg-secondary);
  transform: translateX(-4px);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lamp-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.timeline-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Head Heart Hand */
.hhh-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}
.hhh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
.hhh-card {
  text-align: center;
  padding: 2.5rem 2rem;
}
.hhh-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
}
.hhh-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--laterite);
  fill: none;
  stroke-width: 1.5;
}
.hhh-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.hhh-card .hhh-sanskrit {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--lamp-gold);
  margin-bottom: 0.75rem;
}
.hhh-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Committee */
.committee-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.committee-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.5rem;
  box-shadow: 0 1px 8px rgba(91,26,26,0.04);
}
.committee-card .img-placeholder {
  height: 160px;
  border: none;
  border-radius: 0;
}
.committee-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  margin: 1rem 1rem 0.2rem;
}
.committee-card p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* Accordion */
.accordion { margin-top: 2rem; }
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: left;
}
.accordion-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  color: var(--lamp-gold);
  font-size: 1.25rem;
  font-weight: 300;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body-inner {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SEVA / SERVE PAGE
   ============================================================ */

.seva-programme {
  padding: 5rem 0;
  position: relative;
}
.seva-programme:nth-child(even) { background: var(--bg-secondary); }
.seva-programme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.seva-programme:nth-child(even) .seva-programme-grid {
  direction: rtl;
}
.seva-programme:nth-child(even) .seva-programme-grid > * {
  direction: ltr;
}
.seva-programme .img-placeholder {
  height: 380px;
  border-radius: 4px;
}
.seva-programme h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.seva-programme .seva-sanskrit {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--lamp-gold);
  margin-bottom: 1.25rem;
}
.seva-programme p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.seva-stats {
  display: flex;
  gap: 2.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.seva-stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--laterite);
  line-height: 1.1;
}
.seva-stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* --- Full-width Seva CTA --- */
.seva-cta {
  padding: 5rem 0;
  background: var(--temple-charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.seva-cta .yantra-bg { opacity: 0.03; }
.seva-cta h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--sandstone);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.seva-cta p {
  color: rgba(255,240,224,0.6);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* ============================================================
   LEARN PAGE
   ============================================================ */

.learn-section {
  padding: 5rem 0;
}
.learn-section:nth-child(even) { background: var(--bg-secondary); }
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.learn-section .img-placeholder {
  height: 300px;
  border-radius: 4px;
}
.learn-section h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.learn-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.schedule-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--border-light);
}
.schedule-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

/* Publication cards */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.pub-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(91,26,26,0.05);
}
.pub-card .img-placeholder {
  height: 200px;
  border: none;
  border-radius: 0;
}
.pub-card-body {
  padding: 1.5rem;
}
.pub-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.pub-card p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ============================================================
   YOUTH / FAQ
   ============================================================ */

.youth-faq { padding: 5rem 0; }
.youth-onboarding {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.onboarding-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.onboarding-step {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 10px rgba(91,26,26,0.04);
}
.onboarding-step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.onboarding-step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.onboarding-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   EVENTS — Calendar
   ============================================================ */

.calendar-section { padding: 5rem 0; }
.mini-calendar {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(91,26,26,0.06);
  overflow: hidden;
  margin-top: 3rem;
}
.cal-header {
  background: var(--laterite);
  color: var(--sandstone);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-header h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
}
.cal-nav {
  display: flex;
  gap: 0.75rem;
}
.cal-nav button {
  background: rgba(255,240,224,0.15);
  border: none;
  color: var(--sandstone);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 1rem;
}
.cal-day-header {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
  padding: 0.5rem;
}
.cal-day {
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: 4px;
  cursor: default;
}
.cal-day.empty { color: transparent; }
.cal-day.has-event {
  position: relative;
}
.cal-day.has-event::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lamp-gold);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.cal-day.today {
  background: var(--lamp-gold);
  color: var(--temple-charcoal);
  font-weight: 600;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ============================================================
   GET INVOLVED PAGE
   ============================================================ */

.volunteer-paths {
  padding: 5rem 0;
}
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.volunteer-card {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(91,26,26,0.05);
  border-top: 3px solid transparent;
  transition: all 0.3s;
}
.volunteer-card:hover { border-top-color: var(--lamp-gold); transform: translateY(-3px); }
.volunteer-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.volunteer-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Donate section */
.donate-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.giving-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-light);
}
.giving-tab {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}
.giving-tab.active {
  color: var(--laterite);
  border-bottom-color: var(--laterite);
}
.giving-tab:hover:not(.active) { color: var(--text-secondary); }
.giving-panel { display: none; }
.giving-panel.active { display: block; }
.legacy-card {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(91,26,26,0.05);
  border-left: 3px solid var(--lamp-gold);
  margin-top: 1.5rem;
}
.legacy-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.legacy-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.donate-amount {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.donate-amount:hover {
  border-color: var(--lamp-gold);
}
.donate-amount .amt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-primary);
}
.donate-amount .amt-label {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 0.3rem;
}

/* Contact form */
.contact-section {
  padding: 5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 3px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--lamp-gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Map placeholder */
.map-placeholder {
  height: 280px;
  background: #F0DCC8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-style: italic;
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .programme-grid,
  .events-grid,
  .gic-cards,
  .pub-grid,
  .hhh-grid,
  .volunteer-grid,
  .onboarding-path { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open a { color: var(--text-primary) !important; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-item:not(:last-child)::after { display: none; }
  .programme-grid,
  .events-grid,
  .gic-cards,
  .hhh-grid,
  .volunteer-grid,
  .onboarding-path,
  .donate-amounts,
  .pub-grid { grid-template-columns: 1fr; }
  .founding-grid,
  .lw-grid,
  .seva-programme-grid,
  .learn-grid,
  .donate-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lw-divider { display: none; }
  .seva-programme:nth-child(even) .seva-programme-grid { direction: ltr; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-headline { font-size: 2.75rem; }
  .carousel { height: 100vh; min-height: 600px; }
}

/* ============================================================
   v3 REDESIGN — Oxfam-pattern hero, utility bar, dropdowns, slide cards
   Layered on top of existing styles. Sacred Pragmatism preserved.
   ============================================================ */

/* ---- UTILITY BAR ---- */
.utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--temple-charcoal);
  color: var(--sandstone);
  padding: 0.55rem 0;
  font-family: var(--font-body);
  transition: transform 0.35s ease;
}
.utility-bar.hidden { transform: translateY(-100%); }
.utility-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.utility-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lamp-gold);
}
.utility-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.utility-links a {
  color: rgba(255,240,224,0.85);
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: color 0.2s;
}
.utility-links a:hover { color: var(--lamp-gold); }

/* Push main header down to clear utility bar */
body { padding-top: 0; }
.site-header { top: 36px; }
.site-header.scrolled { top: 0; }

/* ---- NAV DROPDOWNS ---- */
.nav-links { gap: 1.6rem; }
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 0.55rem 0; }

/* Dropdown shows when .nav-item has .open (JS-managed) or on :hover (fallback) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 280px;
  background: #FFF8F0;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--laterite);
  border-radius: 0 0 4px 4px;
  padding: 0;
  box-shadow: 0 14px 36px rgba(91,26,26,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 1050;
  pointer-events: none;
}
/* Invisible bridge so mouse can cross from nav item into dropdown without losing hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Force-closed wins over hover (used by JS on navigation, ESC, outside click) */
.nav-item.force-closed .nav-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
}
.nav-dropdown a {
  display: block !important;
  padding: 0.6rem 1.4rem !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: var(--text-secondary) !important;
  border-left: 2px solid transparent !important;
  transition: all 0.18s !important;
}
.nav-dropdown a:hover {
  color: var(--temple-charcoal) !important;
  background: var(--sandstone) !important;
  border-left-color: var(--laterite) !important;
}
.nav-dropdown a::after { display: none !important; }
.nav-sub-meta {
  display: block;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 2px;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* "View all in section" header link at top of each dropdown */
.nav-dropdown-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.4rem 0.85rem !important;
  background: var(--sandstone) !important;
  border-bottom: 1px solid var(--border-light) !important;
  border-left: none !important;
  margin-bottom: 0.4rem !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--temple-charcoal) !important;
}
.nav-dropdown-header:hover {
  background: var(--bg-secondary) !important;
  border-left: none !important;
  color: var(--laterite) !important;
}
.nav-dropdown-header-cta {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--laterite) !important;
}
.nav-dropdown-header:hover .nav-dropdown-header-cta { color: var(--temple-charcoal) !important; }

/* ---- HERO PANEL (left-anchored, Oxfam-pattern) ---- */
.hero-panel {
  position: absolute;
  left: clamp(2rem, 5vw, 4.5rem);
  top: 50%;
  transform: translateY(-52%);
  width: clamp(380px, 42vw, 580px);
  background: rgba(91,26,26,0.94);
  color: var(--sandstone);
  padding: 3rem 2.75rem 2.75rem;
  z-index: 12;
  border-left: 4px solid var(--lamp-gold);
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.hero-panel.panel-saffron { background: var(--laterite); }
.hero-panel.panel-gold {
  background: var(--lamp-gold);
  color: var(--temple-charcoal);
  border-left-color: var(--temple-charcoal);
}
.hero-panel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lamp-gold);
  margin-bottom: 1rem;
  display: block;
}
.hero-panel.panel-gold .hero-panel-label { color: var(--temple-charcoal); opacity: 0.75; }
.hero-panel-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
  color: inherit;
  letter-spacing: -0.005em;
}
.hero-panel-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,248,240,0.88);
  margin-bottom: 1.6rem;
}
.hero-panel.panel-gold .hero-panel-body { color: var(--temple-charcoal); opacity: 0.82; }
.hero-panel-ctas {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-bright {
  background: var(--kumkum);
  color: var(--sandstone);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.9rem 1.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-bright:hover { background: var(--kumkum-dark); color: #fff; }
.btn-panel-ghost {
  background: transparent;
  color: var(--sandstone);
  border: 1.5px solid rgba(255,248,240,0.55);
  padding: 0.85rem 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-panel-ghost:hover { border-color: var(--sandstone); background: rgba(255,248,240,0.1); }
.hero-panel.panel-gold .btn-panel-ghost {
  color: var(--temple-charcoal);
  border-color: rgba(91,26,26,0.5);
}
.hero-panel.panel-gold .btn-panel-ghost:hover { background: rgba(91,26,26,0.08); }

/* Image credit pill */
.hero-photo-credit {
  position: absolute;
  bottom: 0.5rem;
  left: 4vw;
  z-index: 11;
  background: rgba(0,0,0,0.5);
  color: rgba(255,248,240,0.7);
  padding: 0.3rem 0.7rem;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ---- CAROUSEL CARDS (replace dots) ---- */
.carousel-cards {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  z-index: 20;
  max-width: 100%;
}
.carousel-card {
  background: rgba(91,26,26,0.7);
  border: none;
  border-top: 3px solid transparent;
  border-radius: 0;
  color: rgba(255,248,240,0.85);
  padding: 1rem 1.3rem 1.15rem;
  min-width: 180px;
  width: auto;
  height: auto;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.carousel-card.carousel-dot { border-radius: 0; width: auto; height: auto; }
.carousel-card.carousel-dot.active {
  background: var(--temple-charcoal);
  border-color: transparent;
  border-top-color: var(--lamp-gold);
}
.carousel-card:hover {
  background: rgba(91,26,26,0.88);
  color: var(--sandstone);
}
.carousel-card.active {
  background: var(--temple-charcoal);
  color: var(--sandstone);
  border-top-color: var(--lamp-gold);
}
.carousel-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--lamp-gold);
  font-weight: 500;
}
.carousel-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.18;
}

/* Hide old dots when cards are present */
.carousel-cards ~ .carousel-dots,
.carousel .carousel-dots { display: none; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .utility-bar { display: none; }
  .site-header { top: 0; }
  .hero-panel {
    left: 14px;
    right: 14px;
    width: auto;
    transform: translateY(0);
    top: auto;
    bottom: 120px;
    background: rgba(91,26,26,0.80);
    padding: 1.1rem 1.15rem 1rem;
    border-left: 3px solid var(--lamp-gold);
    border-top: none;
    border-radius: 10px;
  }
  .hero-panel-headline { font-size: 1.8rem; }
  .carousel-cards { left: 0; right: 0; width: 100%; }
  .carousel-card { flex: 1; min-width: 0; padding: 0.7rem 0.4rem; }
  .carousel-card-title { font-size: 0.7rem; }
  .nav-dropdown { display: none; }
  .nav-item > a { padding: 0.5rem 0; }

  /* Carousel hero images: mobile-only horizontal focal points (desktop crops untouched) */
  .slide-bg-threepaths .hero-bg-img { object-position: 70% 50% !important; }
  .slide-bg-jnana img { object-position: 70% 40% !important; }
  .slide-bg-bhakti img { object-position: 57% 35% !important; }
  .slide-bg-sevaa img { object-position: 28% 35% !important; }
}

/* ============================================================
   MOBILE FIXES — Inner pages, ACHS, Learn streams, Publications
   Addresses all inline grids that lack mobile overrides
   ============================================================ */

@media (max-width: 768px) {

  /* --- Seva programme sections: tighten vertical padding --- */
  .seva-programme {
    padding: 2.5rem 0 !important;
  }

  /* --- Inner page heroes: reduce padding, full-width text box --- */
  #page-learn section:first-child .container div[style*="max-width:560px"],
  #page-events section:first-child .container div[style*="max-width:560px"],
  #page-serve section:first-child .container div[style*="max-width:600px"],
  #page-worship section:first-child .container div[style*="max-width:600px"],
  #page-get-involved section:first-child .container div[style*="max-width:480px"] {
    max-width: 100% !important;
    padding: 1.5rem 1.25rem !important;
  }

  /* --- Events hero: shift right so the dancers on stage stay in frame --- */
  #page-events section:first-child img {
    object-position: 78% 22% !important;
  }

  /* --- ACHS hero banner: shorter on mobile --- */
  #achs > div:first-child {
    height: 320px !important;
  }

  /* --- ACHS "next fifty years" + Curriculum: stack vertically --- */
  #achs .container > div[style*="grid-template-columns:0.9fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* --- ACHS Three Stages: stack vertically on mobile --- */
  #achs div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* --- ACHS "Endow a chair" CTA: stack --- */
  #achs div[style*="grid-template-columns:1fr 1fr"][style*="gap:3rem"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }

  /* --- Learn: Five stream cards — stack to single column --- */
  #hinduism-life-living,
  #hinduism-alive,
  #vedic-yoga,
  #pustaka,
  #culture {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
  }
  /* Stream card images: full-width row on mobile */
  #hinduism-life-living > div:first-child,
  #hinduism-alive > div:first-child,
  #vedic-yoga > div:first-child,
  #pustaka > div:first-child,
  #culture > div:first-child {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
  }
  #hinduism-life-living > div:first-child img,
  #hinduism-alive > div:first-child img,
  #vedic-yoga > div:first-child img,
  #pustaka > div:first-child img,
  #culture > div:first-child img {
    width: 80px !important;
    height: 80px !important;
  }
  /* "View classes" link: full-width at bottom */
  #hinduism-life-living > a,
  #hinduism-alive > a,
  #vedic-yoga > a,
  #pustaka > a,
  #culture > a {
    justify-self: start !important;
  }

  /* --- Learn: Stats strip — 2x2 grid on mobile --- */
  #page-learn div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    padding: 1.5rem !important;
  }

  /* --- Road to Fifty: 3 cards stack vertically on mobile --- */
  section[style*="background:#5B1A1A"] div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* --- Road to Fifty: impact strip — 2x2 on mobile --- */
  section[style*="background:#5B1A1A"] div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  /* --- Patrika + Omkara: stack vertically --- */
  #patrika > .container > div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* --- Omkara inner: stack cover + text vertically --- */
  #omkara > div[style*="grid-template-columns:160px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  #omkara > div[style*="grid-template-columns:160px"] > div:first-child {
    max-width: 140px !important;
  }

  /* --- Position Papers: single column --- */
  #position-papers {
    padding: 3rem 0 !important;
  }
  #position-papers div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  #position-papers div[style*="grid-template-columns:1fr 1fr"] div[style*="max-width:560px"] {
    max-width: 100% !important;
  }
  #position-papers div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Community + Book Sales strip: stack cards --- */
  #page-get-involved section[style*="background:var(--bg-secondary)"] div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* --- Yuvashakti section: mobile layout --- */
  #yuvashakti {
    padding-bottom: 3rem !important;
  }
  /* Hero image band: shorter on mobile, reposition to faces */
  #yuvashakti > div[style*="height:480px"] {
    height: 280px !important;
  }
  #yuvashakti > div[style*="height:480px"] img {
    object-position: center 20% !important;
  }
  /* Spacer below hero */
  #yuvashakti > div[style*="height:5rem"] {
    height: 2rem !important;
  }
  /* Intro grid: stack heading + "Who is it for" box */
  #yuvashakti div[style*="grid-template-columns:1.05fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  /* Three tracks: single column */
  #yuvashakti div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* --- General: container padding tighter on mobile --- */
  .container { padding: 0 1.25rem; }
  .container-narrow { padding: 0 1.25rem; }
}
