/* =====================================================
   SADGUN VATIKA · Design System
   Palette: heritage green, saffron gold, parchment cream
   Type: Cormorant Garamond (display) + Inter (body) + Noto Serif Devanagari
   Motion-driven, mobile-first, WCAG-aware.
   ===================================================== */

:root {
  /* Brand colors */
  --green-900: #1F3A0F;
  --green-800: #2D5016;
  --green-700: #3F6B1F;
  --green-600: #56892E;
  --green-500: #7AAE48;
  --green-100: #E6EFD5;
  --green-50:  #F1F6E5;

  --gold-700: #8B6418;
  --gold-600: #A88036;
  --gold-500: #C68B3E;
  --gold-400: #D9A85B;
  --gold-200: #ECD9A8;
  --gold-50:  #FAF2DF;

  --bark-900: #2A1A0C;
  --bark-700: #5C3A21;
  --bark-500: #8B5E3C;

  --terracotta-600: #A0522D;
  --terracotta-500: #B86846;

  --cream:      #FFFBF0;
  --cream-soft: #FBF5E7;
  --paper:      #FFFFFF;
  --ink:        #1A1410;
  --ink-soft:   #463A2E;
  --muted:      #7A6D5E;
  --line:       rgba(92, 58, 33, 0.14);

  /* Semantic tokens */
  --bg:           var(--cream);
  --bg-elevated:  var(--paper);
  --fg:           var(--ink);
  --fg-soft:      var(--ink-soft);
  --accent:       var(--gold-500);
  --primary:      var(--green-800);
  --primary-soft: var(--green-700);
  --cta:          var(--terracotta-600);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-deva:    "Noto Serif Devanagari", serif;

  /* Spacing scale (8pt rhythm) */
  --s-1: 4px; --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px;
  --s-9: 56px; --s-10: 72px; --s-11: 96px; --s-12: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 40px;

  /* Shadows — warm, layered */
  --sh-sm:  0 1px 2px rgba(42, 26, 12, 0.06), 0 1px 1px rgba(42, 26, 12, 0.04);
  --sh-md:  0 4px 12px rgba(42, 26, 12, 0.08), 0 2px 4px rgba(42, 26, 12, 0.04);
  --sh-lg:  0 16px 40px rgba(42, 26, 12, 0.12), 0 4px 12px rgba(42, 26, 12, 0.06);
  --sh-xl:  0 32px 80px rgba(42, 26, 12, 0.16), 0 8px 24px rgba(42, 26, 12, 0.08);
  --sh-glow: 0 0 24px rgba(198, 139, 62, 0.25);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-med:  280ms;
  --t-slow: 480ms;

  /* Layout */
  --container: 1240px;
  --nav-h: 76px;

  /* Z-scale */
  --z-nav: 100;
  --z-modal: 1000;
}

/* ========== Reset & base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold-200); color: var(--bark-900); }

/* Focus ring — visible for keyboard nav */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== Reusable layout ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(var(--s-5), 4vw, var(--s-9));
}
.section { padding: clamp(48px, 6.5vw, 88px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

/* Section heads */
.section-head { max-width: 760px; margin: 0 auto var(--s-9); text-align: center; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  padding: 6px 14px;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: 999px;
  margin-bottom: var(--s-5);
}
.section-tag.light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--gold-200);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5);
  color: var(--green-900);
}
.section-title.light { color: var(--cream); }
.section-title .accent { color: var(--gold-600); font-style: italic; font-weight: 500; }
.section-title.light .accent { color: var(--gold-400); }
.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--fg-soft);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--cream);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover { box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,0.15); }

.btn-secondary {
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--green-800);
}
.btn-secondary:hover { background: var(--green-800); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--bark-700);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--cream-soft); border-color: var(--bark-700); }

.btn-block { width: 100%; }

/* ========== Nav ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(255, 251, 240, 0.80);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 251, 240, 0.94); }
.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(var(--s-5), 4vw, var(--s-9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.nav-brand { display: flex; align-items: center; gap: var(--s-3); }
.nav-logo {
  width: 54px; height: 54px;
  object-fit: contain;
  padding: 5px;
  background: #FFFFFF;
  border: 1px solid var(--gold-200);
  border-radius: 50%;
  box-shadow: var(--sh-sm), inset 0 0 0 1px rgba(255,255,255,0.6);
  filter: saturate(1.5) contrast(1.18) brightness(1.12)
          drop-shadow(0 1px 2px rgba(42, 26, 12, 0.22));
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--green-900);
  letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-family: var(--font-deva);
  font-size: 12px;
  color: var(--gold-600);
}
.nav-links {
  display: flex; gap: var(--s-2);
  list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--fg-soft);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: var(--cream-soft); color: var(--green-900); }
.nav-cta {
  background: var(--green-800) !important;
  color: var(--cream) !important;
  margin-left: var(--s-3);
}
.nav-cta:hover { background: var(--green-900) !important; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--green-900); margin: 5px auto;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); right: 0; left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    padding: var(--s-5);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  /* block-level so the vertical padding builds real height (inline padding doesn't),
     which is what was causing the items to overlap */
  .nav-links a { display: block; width: 100%; padding: 14px 20px; text-align: center; }
  .nav-cta { margin-left: 0; margin-top: var(--s-3); }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  padding-top: calc(var(--nav-h) + var(--s-7));
  padding-bottom: var(--s-9);
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(198, 139, 62, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 90% 30%, rgba(63, 107, 31, 0.10), transparent 60%),
    linear-gradient(180deg, #FFFBF0 0%, #FBF5E7 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-orb-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, #C68B3E 0%, transparent 70%); }
.hero-orb-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, #3F6B1F 0%, transparent 70%); animation-delay: -6s; }
@keyframes drift { 0% { transform: translate(0,0); } 100% { transform: translate(40px, -30px); } }

.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.23 0 0 0 0 0.13 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(var(--s-5), 4vw, var(--s-9));
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--s-7), 4vw, var(--s-10));
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - var(--s-10));
  min-height: calc(100dvh - var(--nav-h) - var(--s-10));
}

.hero-text { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--s-5);
}
.eyebrow-line { width: 32px; height: 1px; background: var(--gold-500); display: inline-block; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5);
  color: var(--green-900);
  display: flex;
  flex-direction: column;
}
.hero-title-main {
  display: block;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-sanskrit {
  font-family: var(--font-deva);
  font-size: 0.4em;
  font-weight: 500;
  color: var(--gold-600);
  margin-top: var(--s-3);
  -webkit-text-fill-color: var(--gold-600);
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--bark-700);
  margin: 0 0 var(--s-5);
  font-weight: 500;
}
.hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--fg-soft);
  max-width: 540px;
  line-height: 1.65;
  margin: 0 0 var(--s-7);
}

.hero-ctas {
  display: flex; gap: var(--s-3);
  margin-bottom: var(--s-9);
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: var(--green-800);
  line-height: 1;
}
.meta-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.meta-divider { width: 1px; height: 32px; background: var(--line); }
@media (max-width: 600px) {
  /* keep the three hero stats in one balanced row instead of wrapping 1-above-2 */
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    align-items: start;
  }
  .hero-meta .meta-divider { display: none; }
  .meta-num { font-size: 1.35rem; }
  .meta-label { font-size: 11px; letter-spacing: 0.04em; }
}

/* ===== Hero emblem stage (elegant 2D centerpiece) ===== */
.hero-emblem-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  max-height: 88vh;
  display: grid;
  place-items: center;
}

/* Soft golden + green aurora */
.emblem-aurora {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(198, 139, 62, 0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(63, 107, 31, 0.35), transparent 55%);
  filter: blur(40px);
  animation: auroraDrift 14s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate(-2%, -1%) scale(1); }
  100% { transform: translate(3%, 2%)  scale(1.06); }
}

/* Ornamental concentric rings */
.emblem-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: ringRotate 60s linear infinite;
  transform-origin: 50% 50%;
}
.emblem-ring .ring-mid {
  transform-origin: 50% 50%;
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

/* Botanical vine ornaments */
.emblem-vines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  animation: vineFade 1.4s ease-out 0.3s both;
}
@keyframes vineFade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* The actual logo — the star of the show */
.emblem-img {
  position: relative;
  z-index: 2;
  width: clamp(220px, 60%, 420px);
  height: auto;
  filter:
    saturate(1.4) contrast(1.1) brightness(1.05)
    drop-shadow(0 26px 48px rgba(42, 26, 12, 0.32))
    drop-shadow(0 0 32px rgba(198, 139, 62, 0.3));
  animation: emblemFloat 7s ease-in-out infinite;
  transform-origin: center;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-14px) rotate(0.4deg); }
}

/* Sanskrit banner below emblem */
.emblem-banner {
  position: absolute;
  bottom: 3%;
  left: 50%;
  font-family: var(--font-deva);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  color: var(--gold-700);
  letter-spacing: 0.06em;
  background: rgba(250, 245, 233, 0.78);
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold-200);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  animation: bannerIn 0.8s var(--ease-out) 1.6s forwards;
  z-index: 4;
}
@keyframes bannerIn {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Floating value-pills — anchored at center of pill on (--x, --y) */
.emblem-pill {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-sm);
  opacity: 0;
  /* The pill's CENTER sits exactly on (--x, --y). Animations keep -50%/-50%. */
  transform: translate(-50%, -50%) translateY(8px);
  animation:
    pillIn 0.7s var(--ease-out) calc(0.6s + var(--d, 0s)) forwards,
    pillBob 6s ease-in-out calc(1.3s + var(--d, 0s)) infinite;
}
.pill-fruit {
  color: var(--bark-900);
  background: rgba(255, 253, 246, 0.92);
  border: 1px solid var(--gold-200);
}
.pill-fruit::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 2px rgba(217,168,91,0.25);
  vertical-align: middle;
}
.pill-root {
  color: var(--gold-50);
  background: rgba(42, 26, 12, 0.82);
  border: 1px solid rgba(236,217,168,0.25);
}
.pill-root::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--terracotta-500));
  vertical-align: middle;
}
@keyframes pillIn {
  to { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes pillBob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}

@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--s-9); }
  .hero-emblem-stage { aspect-ratio: 1 / 1; max-height: 70vh; }
}
@media (max-width: 520px) {
  .emblem-pill { display: none; }
  .emblem-banner { font-size: 1rem; }
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--s-6); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: var(--s-2);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-500));
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0.2); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== Reveal animations ========== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }
.reveal:nth-child(7) { transition-delay: 480ms; }

/* ========== PROBLEM ========== */
.problem { background: var(--paper); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-6);
}
.problem-card {
  padding: var(--s-7);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.problem-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-md);
  color: var(--gold-700);
  margin-bottom: var(--s-5);
}
.problem-icon svg { width: 24px; height: 24px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  margin: 0 0 var(--s-3);
  color: var(--green-900);
}
.problem-card p { margin: 0; color: var(--fg-soft); font-size: 0.95rem; line-height: 1.6; }

/* ========== VISION & MISSION ========== */
.vm { background: var(--cream); }
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-6);
}
.vm-card {
  padding: clamp(var(--s-7), 4vw, var(--s-9));
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.vm-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L48 24L72 32L48 40L40 64L32 40L8 32L32 24Z' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.6;
  pointer-events: none;
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.vm-vision {
  background: linear-gradient(140deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--cream);
}
.vm-mission {
  background: linear-gradient(140deg, var(--bark-700) 0%, var(--terracotta-600) 100%);
  color: var(--cream);
}
.vm-card-header { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); position: relative; }
.vm-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
}
.vm-icon svg { width: 26px; height: 26px; color: var(--gold-200); }
.vm-card h3 { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.vm-lead { font-size: 1.0625rem; line-height: 1.55; opacity: 0.92; margin: 0 0 var(--s-5); position: relative; }
.vm-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative;
}
.vm-list li {
  padding-left: var(--s-5);
  position: relative;
  font-size: 0.95rem;
  opacity: 0.92;
  line-height: 1.5;
}
.vm-list li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(217, 168, 91, 0.2);
}

/* ========== PILLARS ========== */
.pillars { background: var(--paper); }
.pillars-banner {
  max-width: 1040px;
  margin: 0 auto var(--s-9);
  padding: 0 var(--s-5);
}
.pillars-banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(42, 26, 12, 0.16));
}
@media (max-width: 540px) {
  .pillars-banner { margin-bottom: var(--s-7); }
}

/* ---- Interactive pillars (hover/tap to reveal) ---- */
.pillars-banner { position: relative; margin-bottom: var(--s-5); }
.pillars-hint {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin: 0 0 var(--s-6);
  opacity: 0.85;
}
.pillars-stage { position: relative; }
.pillars-stage > img { width: 100%; height: auto; display: block; }

.phot {
  position: absolute;
  left: var(--l); top: var(--t);
  width: var(--w); height: var(--h);
  padding: 0; background: none; border: none;
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.phot-halo, .phot-sheen {
  position: absolute;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}
.phot-halo {
  inset: -3% -10%;
  box-shadow: 0 0 28px 6px rgba(198,139,62,0.55), 0 0 72px 20px rgba(217,168,91,0.32);
  border: 1.5px solid rgba(217,168,91,0.75);
}
.phot-sheen {
  inset: 0 -6%;
  background: radial-gradient(58% 66% at 50% 44%, rgba(255,231,160,0.9), rgba(255,212,120,0.25) 58%, transparent 76%);
  mix-blend-mode: screen;
  filter: blur(5px);
}
.phot:hover .phot-halo,  .phot:focus-visible .phot-halo,  .phot.is-open .phot-halo,
.phot:hover .phot-sheen, .phot:focus-visible .phot-sheen, .phot.is-open .phot-sheen { opacity: 1; }

.phot-pop {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 232px;
  max-width: 62vw;
  padding: var(--s-5) var(--s-5) calc(var(--s-5) + 2px);
  background: var(--paper);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
  z-index: 6;
}
.phot-pop::after {
  content: "";
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--paper);
}
.phot:hover .phot-pop, .phot:focus-visible .phot-pop, .phot.is-open .phot-pop {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.phot-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 0.95rem; color: var(--gold-600);
  margin-bottom: 2px;
}
.phot-pop strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin-bottom: var(--s-2);
}
.phot-desc { font-size: 0.82rem; line-height: 1.5; color: var(--fg-soft); }

/* keep edge pops on-screen */
.phot:first-of-type .phot-pop { left: 0; transform: translateX(0) translateY(8px); }
.phot:first-of-type .phot-pop::after { left: 20%; }
.phot:first-of-type:hover .phot-pop, .phot:first-of-type:focus-visible .phot-pop, .phot:first-of-type.is-open .phot-pop { transform: translateX(0) translateY(0); }
.phot:last-of-type .phot-pop { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.phot:last-of-type .phot-pop::after { left: auto; right: 20%; transform: none; }
.phot:last-of-type:hover .phot-pop, .phot:last-of-type:focus-visible .phot-pop, .phot:last-of-type.is-open .phot-pop { transform: translateX(0) translateY(0); }

/* The walking child crossing in front of the pillars (rigged SVG, legs swing) */
/* the boy walks across in front of the pillars, opening each pop-up as he arrives */
.pillars-stage .pillar-walker {
  position: absolute;
  left: -8%;
  bottom: 21%;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  will-change: left, opacity;
}
.pillars-stage .pillar-walker video {
  display: block;
  height: clamp(100px, 12vw, 168px);
  width: auto;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .pillars-stage .pillar-walker { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pillars-stage .pillar-walker { display: none; }
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.pillar {
  position: relative;
  padding: var(--s-5) var(--s-5) var(--s-6);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med),
              border-color var(--t-med);
  transform-style: preserve-3d;
}
.pillar::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--gold-200); }
.pillar:hover::after { transform: scaleX(1); }
.pillar-num {
  position: absolute;
  top: var(--s-4); right: var(--s-5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  opacity: 0.5;
}
.pillar-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-3);
  color: var(--green-800);
  background: radial-gradient(circle, var(--gold-50) 0%, var(--green-50) 100%);
  border: 1px solid var(--gold-200);
  border-radius: 50%;
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--s-2);
  color: var(--green-900);
  line-height: 1.15;
}
.pillar p { margin: 0; color: var(--fg-soft); font-size: 0.875rem; line-height: 1.5; }

@media (max-width: 880px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); }
  .pillar-icon { margin: 0; }
  .pillar-num { display: none; }
}

/* ========== TREE OF VALUES ========== */
.tree-section {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(63, 107, 31, 0.08), transparent 60%),
    var(--cream);
  position: relative;
  overflow: hidden;
}
.tree-peepal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(860px, 92%);
  height: auto;
  opacity: 0.085;
  z-index: 0;
  pointer-events: none;
}
.tree-explorer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.tree-side {
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.tree-side-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 var(--s-5);
  color: var(--green-900);
}
.tree-side-title span { font-size: 0.875rem; font-style: italic; font-weight: 400; color: var(--muted); }
.tree-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.tree-list li {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--cream);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--ink);
  transition: transform var(--t-fast), background var(--t-fast);
  cursor: default;
}
.tree-list li:hover { transform: translateX(4px); background: var(--gold-50); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-fruit { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); box-shadow: 0 0 0 3px rgba(217,168,91,0.2); }
.dot-root  { background: linear-gradient(135deg, var(--bark-500), var(--bark-700)); box-shadow: 0 0 0 3px rgba(92,58,33,0.15); }

.tree-center { text-align: center; }
.tree-emblem {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  margin: var(--s-6) auto;
  filter: saturate(1.4) contrast(1.1) brightness(1.05) drop-shadow(0 12px 24px rgba(42, 26, 12, 0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.tree-quote {
  max-width: 320px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--bark-700);
  line-height: 1.5;
}
.tree-banner {
  font-family: var(--font-deva);
  font-size: 1.5rem;
  color: var(--gold-700);
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .tree-explorer { grid-template-columns: 1fr; }
  .tree-center { order: -1; }
}

/* ========== METHODOLOGY ========== */
.methodology { background: var(--paper); }
.method-timeline {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.method-step {
  position: relative;
  padding: var(--s-5);
  padding-top: var(--s-7);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.method-step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.method-num {
  position: absolute;
  top: calc(var(--s-5) * -1 + 6px);
  left: var(--s-5);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border: 2px solid var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--cream);
  box-shadow: var(--sh-sm);
}
.method-body h4 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  margin: 0 0 var(--s-2);
  color: var(--green-900);
  line-height: 1.15;
}
.method-body p { margin: 0; color: var(--fg-soft); line-height: 1.5; font-size: 0.84rem; }

@media (max-width: 980px) { .method-timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .method-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .method-timeline { grid-template-columns: 1fr; } }

/* ========== IMPACT ========== */
.impact {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--bark-900) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 5 Q60 25 80 30 Q60 35 50 55 Q40 35 20 30 Q40 25 50 5z' fill='rgba(198,139,62,0.04)'/%3E%3C/svg%3E");
  background-size: 240px;
  opacity: 0.5;
}
.impact .section-title { color: var(--cream); }
.impact .section-title .accent { color: var(--gold-400); }
.impact .section-sub { color: rgba(250,245,233,0.7); }
.impact .section-tag { background: rgba(198,139,62,0.15); color: var(--gold-200); border-color: rgba(198,139,62,0.3); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-6);
  margin-bottom: var(--s-11);
  position: relative;
}
.impact-stat {
  padding: var(--s-7) var(--s-5);
  text-align: center;
  background: rgba(255,253,246,0.04);
  border: 1px solid rgba(236,217,168,0.18);
  border-radius: var(--r-lg);
  backdrop-filter: blur(4px);
  transition: transform var(--t-med) var(--ease-out), background var(--t-med);
}
.impact-stat:hover { transform: translateY(-6px); background: rgba(255,253,246,0.08); }
.impact-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: var(--s-3);
}
.impact-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,245,233,0.75);
}

.beneficiaries { position: relative; }
.beneficiaries-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 var(--s-9);
  color: var(--gold-200);
}
.beneficiary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.beneficiary {
  padding: var(--s-7);
  background: rgba(255,253,246,0.05);
  border: 1px solid rgba(236,217,168,0.18);
  border-radius: var(--r-lg);
}
.beneficiary-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bark-900);
  background: var(--gold-400);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--s-4);
}
.beneficiary h4 {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 600;
  margin: 0 0 var(--s-4);
  color: var(--cream);
}
.beneficiary ul { list-style: none; padding: 0; margin: 0; }
.beneficiary li {
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  position: relative;
  font-size: 0.9375rem;
  color: rgba(250,245,233,0.85);
  line-height: 1.5;
}
.beneficiary li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--gold-400);
}

/* ========== DONOR TIERS ========== */
.donor { background: var(--cream); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-9);
}
.tier {
  position: relative;
  padding: var(--s-7);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med);
}
.tier:hover { transform: translateY(-10px); box-shadow: var(--sh-xl); }
.tier-platinum {
  background:
    radial-gradient(120% 80% at 50% 0%, #FFF7E0 0%, #FBEFCF 55%, #F6E4B8 100%);
  border-color: var(--gold-500);
  transform: scale(1.03);
  box-shadow: var(--sh-lg), 0 0 32px rgba(198, 139, 62, 0.22);
}
.tier-platinum::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--gold-400), var(--green-600), var(--gold-500), var(--gold-400));
  z-index: -1;
  opacity: 0.85;
}
.tier-platinum .tier-name { color: var(--green-800); }
.tier-platinum .tier-amount { color: var(--gold-700); }
.tier-platinum .tier-sanskrit { color: var(--bark-700); }
.tier-badge {
  position: absolute;
  top: var(--s-5); right: var(--s-5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bark-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  padding: 4px 10px;
  border-radius: 999px;
}
.tier-platinum .tier-badge { background: linear-gradient(135deg, var(--green-700), var(--gold-500)); color: var(--cream); }

.tier-name {
  font-family: var(--font-display);
  font-size: 1.625rem; font-weight: 600;
  margin: var(--s-5) 0 var(--s-2);
  color: var(--green-900);
}
.tier-sanskrit {
  font-family: var(--font-deva);
  font-size: 0.875rem;
  color: var(--gold-700);
  margin: 0 0 var(--s-5);
}
.tier-price {
  display: flex; align-items: baseline;
  gap: var(--s-1);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px dashed var(--line);
}
.tier-currency {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bark-700);
  font-weight: 500;
}
.tier-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1;
}
.tier-features {
  list-style: none; padding: 0; margin: 0 0 var(--s-7);
  flex-grow: 1;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.tier-features li {
  padding-left: var(--s-6);
  position: relative;
  font-size: 0.875rem;
  color: var(--fg-soft);
  line-height: 1.5;
}
.tier-features li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.adoption {
  margin-top: var(--s-9);
}
.adoption-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-7);
  background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--bark-700) 100%);
  border-radius: var(--r-xl);
  color: var(--cream);
}
.adoption-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,253,246,0.12);
  border-radius: var(--r-md);
  color: var(--gold-400);
}
.adoption-icon svg { width: 32px; height: 32px; }
.adoption-body h3 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 600;
  margin: 0 0 var(--s-2);
}
.adoption-body p { margin: 0; opacity: 0.92; line-height: 1.6; max-width: 560px; }
.adoption .btn-primary {
  background: var(--cream);
  color: var(--bark-900);
}
.adoption .btn-primary:hover { background: var(--gold-200); }

@media (max-width: 760px) {
  .adoption-inner { grid-template-columns: 1fr; text-align: center; }
  .adoption-icon { margin: 0 auto; }
}

.legal-strip {
  margin-top: var(--s-7);
  padding: var(--s-5);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-md);
  text-align: center;
  font-size: 0.875rem;
  color: var(--bark-700);
}

/* ========== SCHOOLS ========== */
.schools { background: var(--paper); }
.schools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--s-8), 6vw, var(--s-11));
  align-items: center;
}
.schools-text .section-tag { display: inline-block; }
.schools-text .section-title { text-align: left; margin-left: 0; }
.schools-text p { color: var(--fg-soft); line-height: 1.65; font-size: 1.0625rem; margin: 0 0 var(--s-6); }
.school-benefits { list-style: none; padding: 0; margin: 0 0 var(--s-7); display: flex; flex-direction: column; gap: var(--s-3); }
.school-benefits li { display: flex; align-items: center; gap: var(--s-3); font-size: 0.9375rem; }
.check {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-700);
  color: var(--cream);
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

.schools-visual { perspective: 1200px; }
.schools-card-stack {
  position: relative;
  height: 480px;
  transform-style: preserve-3d;
}
.schools-card {
  position: absolute;
  width: 100%;
  padding: var(--s-7);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow);
}
.sc-1 { top: 0;    transform: rotate(-3deg) translateX(-12px); }
.sc-2 { top: 40px; left: 40px; right: -20px; background: var(--paper); transform: rotate(1deg); z-index: 2; }
.sc-3 { top: 220px; right: -10px; transform: rotate(4deg) translateX(12px); }
.schools-visual:hover .sc-1 { transform: rotate(-6deg) translateX(-24px) translateY(-6px); }
.schools-visual:hover .sc-2 { transform: rotate(0deg) translateY(-12px); box-shadow: var(--sh-xl); }
.schools-visual:hover .sc-3 { transform: rotate(6deg) translateX(24px) translateY(-6px); }
.sc-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-700);
}
.schools-card h4 {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 600;
  margin: var(--s-2) 0 var(--s-3);
  color: var(--green-900);
}
.schools-card p { margin: 0; color: var(--muted); font-size: 0.875rem; }

@media (max-width: 880px) {
  .schools-grid { grid-template-columns: 1fr; }
  .schools-card-stack { height: 380px; max-width: 480px; margin: 0 auto; }
}

/* ========== PARMARTH TRUST ========== */
.parmarth { background: var(--cream); }
.parmarth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-9);
}
@media (max-width: 880px) {
  .parmarth-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .parmarth-grid { grid-template-columns: 1fr; }
}
.parmarth-item {
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--green-700);
  transition: transform var(--t-fast), border-left-color var(--t-fast);
}
.parmarth-item:hover { transform: translateX(4px); border-left-color: var(--gold-500); }
.parmarth-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  margin: 0 0 var(--s-2);
  color: var(--green-900);
}
.parmarth-item p { margin: 0; color: var(--fg-soft); font-size: 0.9375rem; }

.inspiration {
  text-align: center;
  padding: var(--s-9) var(--s-6);
  background: linear-gradient(180deg, var(--green-50), var(--cream));
  border: 1px solid var(--green-100);
  border-radius: var(--r-xl);
  max-width: 900px;
  margin: var(--s-8) auto 0;
}
.inspiration-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green-800);
  margin: 0 0 var(--s-5);
}
.inspiration p {
  color: var(--bark-700);
  line-height: 1.75;
  margin: 0;
  font-size: 0.9375rem;
}

/* Make About (Vision & Mission) cover exactly one window — content centered, no over/underflow */
.vm {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: clamp(32px, 4vw, 64px);
}
.vm > .container { width: 100%; }
.vm .section-head { margin-bottom: clamp(var(--s-4), 4vh, var(--s-9)); }
.vm .section-title { font-size: clamp(1.9rem, 1.6vw + 1.4vh + 0.6rem, 3.25rem); line-height: 1.1; }
.vm-grid { gap: clamp(var(--s-5), 2.4vw, var(--s-7)); }
.vm-card { padding: clamp(var(--s-6), 3.4vh, var(--s-9)); }
.vm-card h3 { font-size: clamp(1.5rem, 2.6vh, 2.125rem); }
.vm-card-header { margin-bottom: clamp(var(--s-3), 2.2vh, var(--s-6)); }
.vm-icon { width: clamp(44px, 5.4vh, 56px); height: clamp(44px, 5.4vh, 56px); }
.vm-icon svg { width: 48%; height: 48%; }
.vm-lead { font-size: clamp(0.95rem, 1.5vh, 1.125rem); margin-bottom: clamp(var(--s-3), 2.2vh, var(--s-6)); line-height: 1.5; }
.vm-list { gap: clamp(var(--s-2), 1.7vh, var(--s-5)); }
.vm-list li { font-size: clamp(0.9rem, 1.5vh, 1.0625rem); line-height: 1.5; padding-left: var(--s-6); }
.vm-list li::before { top: 9px; }
.inspiration { margin-top: clamp(var(--s-5), 4vh, var(--s-9)); padding: clamp(var(--s-5), 3.4vh, var(--s-8)) clamp(var(--s-6), 4vw, var(--s-9)); }
.inspiration-title { margin-bottom: clamp(var(--s-3), 2.2vh, var(--s-6)); font-size: clamp(1.375rem, 2.2vh, 1.75rem); }
.inspiration p { font-size: clamp(0.9rem, 1.5vh, 1.0625rem); line-height: 1.75; }

/* ========== CONTACT (two-column horizontal: info | bank table) ========== */
.contact { background: var(--paper); }
.contact .container { display: flex; justify-content: center; }
.contact-card {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(var(--s-7), 4vw, var(--s-9));
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(var(--s-7), 4vw, var(--s-9));
  align-items: start;
  background: linear-gradient(140deg, var(--green-900) 0%, var(--bark-900) 100%);
  border-radius: var(--r-2xl);
  color: var(--cream);
  box-shadow: var(--sh-xl);
  text-align: left;
}

.contact-left .section-tag { margin-bottom: var(--s-5); }
.contact-left .section-title {
  text-align: left;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  margin-bottom: var(--s-5);
}
.contact-intro {
  color: rgba(250, 245, 233, 0.78);
  margin: 0 0 var(--s-7);
  line-height: 1.65;
  max-width: 460px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(236, 217, 168, 0.18);
}
.contact-block { text-align: left; }

.cb-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: block;
  margin-bottom: var(--s-2);
}
.cb-value {
  margin: 0;
  color: var(--cream);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.cb-value a {
  color: var(--cream);
  border-bottom: 1px dotted rgba(236, 217, 168, 0.4);
}
.cb-value a:hover { color: var(--gold-200); }

/* Bank details — right column, comparison table */
.contact-right { min-width: 0; }
.bank-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 var(--s-5);
  color: var(--gold-200);
  text-align: left;
}
.bank-table-wrap {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(236, 217, 168, 0.18);
  background: rgba(0, 0, 0, 0.18);
}
.bank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
  color: rgba(250, 245, 233, 0.92);
}
.bank-table thead th {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: var(--s-4) var(--s-5);
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(236, 217, 168, 0.18);
  text-align: center;
}
.bank-table .bank-th-label { width: 22%; }
.bank-table tbody th {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: var(--s-3) var(--s-5);
  width: 22%;
  text-align: left;
  background: rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(236, 217, 168, 0.12);
}
.bank-table tbody td {
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-body);
  text-align: center;
  border-bottom: 1px dashed rgba(236, 217, 168, 0.12);
  border-right: 1px dashed rgba(236, 217, 168, 0.08);
}
.bank-table tbody td:last-child { border-right: none; }
.bank-table tbody tr:last-child td,
.bank-table tbody tr:last-child th { border-bottom: none; }
.bank-table tbody tr:hover { background: rgba(198, 139, 62, 0.06); }

@media (max-width: 980px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-left .section-title { text-align: left; }
  .bank-title { text-align: left; }
}
@media (max-width: 720px) {
  .contact-info { grid-template-columns: 1fr; }
  /* the 3-column table is too wide for a phone — let it scroll instead of being clipped */
  .bank-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bank-table { font-size: 0.8125rem; width: max-content; min-width: 100%; }
  .bank-table thead th,
  .bank-table tbody th,
  .bank-table tbody td { padding: 10px 12px; }
  .bank-table .bank-th-label { width: 30%; }
}

/* keep real content above the background scenes */
.section > .container { position: relative; z-index: 1; }
.footer { position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 1; }
.tree-center { position: relative; }
.tree-center > .tree-quote,
.tree-center > .tree-emblem,
.tree-center > .tree-banner { position: relative; z-index: 1; }

/* ========== THE JOURNEY — village as faint background scenes ========== */
/* A child's path threads the page as atmospheric backdrops behind each
   section: a humble home (origin) → the long road (the way) → the temple
   of wisdom (arrival). Pre-trimmed images share a ground baseline. */
.bg-scene {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 2.4vw, 40px);
}
.bg-scene img { display: block; }

/* keep each section's real content above its backdrop */
.problem, .parmarth { position: relative; overflow: hidden; }
.methodology {
  position: relative;
}
/* keep the heading + hint readable above the road */
.methodology .section-head,
.methodology .pillars-hint { position: relative; z-index: 2; }

/* ===== Methodology road: a horizontal band sitting BELOW the heading ===== */
.methodology .road-wrap {
  position: relative;
  width: 100%;
  height: clamp(320px, 34vw, 560px);
  margin-top: clamp(-1.5rem, -1vw, 0rem);
}
.methodology .road-bg { position: absolute; inset: 0; z-index: 0; }
.methodology .road-img {
  width: 100%;
  height: 100%;
  object-fit: fill;       /* stretch to span the band; dots scale with it */
  opacity: 0.95;
}
/* the route line that follows the road and grows from dot 01 → 07 */
.methodology .road-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;             /* above the road, below the dots */
  pointer-events: none;
  overflow: visible;
}
.methodology .road-line-path {
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;   /* keep a crisp, even thickness despite the stretch */
  filter: drop-shadow(0 1px 2px rgba(80, 52, 16, 0.35));
}
/* glowing comet at the growing tip of the line */
.methodology .road-line-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 214, 0.98) 0%, rgba(217, 168, 91, 0.7) 38%, rgba(198, 139, 62, 0) 72%);
  box-shadow: 0 0 16px 5px rgba(217, 168, 91, 0.6), 0 0 34px 12px rgba(198, 139, 62, 0.32);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 4;            /* rides on top of the line and dots */
  will-change: transform, opacity;
}
/* milestone overlay: identical box so dots stay on the road, above the text */
.methodology .road-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: none;
  margin: 0;
  pointer-events: none;
}
.methodology .road-stage .road-phot { pointer-events: auto; }
.road-phot {
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.road-dot {
  display: flex; align-items: center; justify-content: center;
  width: clamp(34px, 3.6vw, 46px);
  height: clamp(34px, 3.6vw, 46px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  box-shadow: 0 4px 12px rgba(42,26,12,0.28), 0 0 0 4px rgba(255,253,246,0.7);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med);
}
.road-phot:hover .road-dot,
.road-phot:focus-visible .road-dot,
.road-phot.is-open .road-dot {
  transform: scale(1.14);
  box-shadow: 0 6px 18px rgba(42,26,12,0.32), 0 0 0 5px rgba(198,139,62,0.4);
}
/* road popups fly out above / below the dot (alternating up / down) */
.road-phot .phot-pop {
  top: auto; bottom: auto; right: auto;
  left: 50%;
  width: 248px;
}
.road-phot .phot-pop::after { left: 50%; right: auto; top: auto; bottom: auto; transform: translateX(-50%); border-color: transparent; }
.road-phot.pop-up .phot-pop {
  bottom: calc(100% + 16px); top: auto;
  transform: translateX(-50%) translateY(8px);
}
.road-phot.pop-up .phot-pop::after {
  top: 100%; bottom: auto;
  border-top-color: var(--paper);
}
.road-phot.pop-down .phot-pop {
  top: calc(100% + 16px); bottom: auto;
  transform: translateX(-50%) translateY(-8px);
}
.road-phot.pop-down .phot-pop::after {
  bottom: 100%; top: auto;
  border-bottom-color: var(--paper);
}
.road-phot.pop-up:hover .phot-pop,
.road-phot.pop-up:focus-visible .phot-pop,
.road-phot.pop-up.is-open .phot-pop { transform: translateX(-50%) translateY(0); }
.road-phot.pop-down:hover .phot-pop,
.road-phot.pop-down:focus-visible .phot-pop,
.road-phot.pop-down.is-open .phot-pop { transform: translateX(-50%) translateY(0); }
/* keep the edge popups inside the section */
.road-phot:first-of-type .phot-pop { left: 0; transform: translateX(0) translateY(8px); }
.road-phot:first-of-type.pop-down .phot-pop { transform: translateX(0) translateY(-8px); }
/* edge cards are flush to the dot's side, so point the caret at the dot (≈ dot centre) */
.road-phot:first-of-type .phot-pop::after { left: 22px; right: auto; transform: translateX(-50%); }
.road-phot:first-of-type:hover .phot-pop,
.road-phot:first-of-type:focus-visible .phot-pop,
.road-phot:first-of-type.is-open .phot-pop { transform: translateX(0) translateY(0); }
.road-phot:last-of-type .phot-pop { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.road-phot:last-of-type.pop-down .phot-pop { transform: translateX(0) translateY(-8px); }
.road-phot:last-of-type .phot-pop::after { left: auto; right: 22px; transform: translateX(50%); }
.road-phot:last-of-type:hover .phot-pop,
.road-phot:last-of-type:focus-visible .phot-pop,
.road-phot:last-of-type.is-open .phot-pop { transform: translateX(0) translateY(0); }
@media (max-width: 640px) {
  .road-dot { width: 32px; height: 32px; font-size: 0.78rem; }
  .road-phot .phot-pop { width: 168px; }
  .road-phot:first-of-type .phot-pop::after { left: 16px; }
  .road-phot:last-of-type .phot-pop::after { right: 16px; }
  /* enlarge the tap target to ~44px (accessibility) without changing the visible dot */
  .road-phot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }
}

/* ORIGIN & ARRIVAL — centered watermark behind the section */
.bg-scene--origin {
  top: 34%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(940px, 94%);
  opacity: 0.22;
}
.scene-hut { width: auto; height: clamp(200px, 25vw, 380px); }

/* ARRIVAL — the temple, centered, rising from the bottom past the cards */
.bg-scene--arrival {
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(940px, 94%);
  opacity: 0.16;
}
.temple-img { width: auto; height: clamp(440px, 56vw, 820px); }
/* hide the decorative hut + temple backdrops on mobile */
@media (max-width: 640px) {
  .bg-scene--origin,
  .bg-scene--arrival { display: none; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bark-900);
  color: rgba(250,245,233,0.7);
  padding: var(--s-9) 0 var(--s-7);
}
.footer-inner { display: flex; flex-direction: column; gap: var(--s-7); }
.footer-brand { display: flex; align-items: center; gap: var(--s-3); }
.footer-brand img {
  width: 56px; height: 56px;
  object-fit: contain;
  padding: 5px;
  background: radial-gradient(circle, rgba(255,255,255,0.92) 55%, rgba(255,255,255,0) 78%);
  border-radius: 50%;
  filter: saturate(1.4) contrast(1.1) brightness(1.05);
}
.footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--cream); margin: 0;
}
.footer-sub {
  font-size: 0.8125rem;
  font-family: var(--font-deva);
  color: rgba(250,245,233,0.55);
  margin: 0;
  letter-spacing: 0.02em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(236,217,168,0.1);
  font-size: 0.8125rem;
}
.footer-bottom p { margin: 0; }
.footer-compliance { color: var(--gold-400); letter-spacing: 0.06em; }
