/* ==========================================================================
   Vijayalaxmi Gaushala & Foundation — Design System
   Premium · Warm · Natural · Trustworthy
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------
   Fraunces  -> warm, humanist serif for headings (emotional, editorial)
   Inter     -> clean, highly legible sans for body & UI
   Mukta     -> Devanagari face for Marathi / Hindi text
--------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&family=Mukta:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  /* Palette --------------------------------------------------------------- */
  --cream:        #faf6ee;   /* page background            */
  --cream-2:      #f3ecdd;   /* alt section background     */
  --paper:        #fffdf8;   /* cards / surfaces           */
  --ink:          #2a2620;   /* primary text               */
  --ink-soft:     #5c554a;   /* secondary text             */
  --ink-faint:    #8a8073;   /* captions / meta            */

  --green:        #2f5d3a;   /* deep natural green (brand) */
  --green-deep:   #234a2d;
  --green-soft:   #e7efe4;
  --green-tint:   #f0f5ed;

  --terracotta:   #b3542f;   /* earthy warm accent         */
  --terracotta-d: #9a4526;
  --terracotta-t: #f7e9e1;   /* terracotta tint            */

  --gold:         #c79b3b;   /* subtle saffron / gold      */
  --gold-soft:    #f5e9c8;

  --line:         #e7ddca;   /* hairline borders           */
  --shadow-c:     44 38 30;  /* rgb for shadows            */

  /* Typography ------------------------------------------------------------ */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-deva:  'Mukta', 'Inter', system-ui, sans-serif;

  /* Spacing / layout ------------------------------------------------------ */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --radius:   18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgb(var(--shadow-c) / .06), 0 2px 8px rgb(var(--shadow-c) / .05);
  --shadow-md: 0 10px 30px rgb(var(--shadow-c) / .08), 0 2px 8px rgb(var(--shadow-c) / .05);
  --shadow-lg: 0 24px 60px rgb(var(--shadow-c) / .14), 0 6px 16px rgb(var(--shadow-c) / .06);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base / reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { margin: 0 0 1rem; }

:lang(mr), :lang(hi), [lang="mr"], [lang="hi"] { font-family: var(--font-deva); }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-cream2 { background: var(--cream-2); }
.bg-green  { background: var(--green); color: var(--green-soft); }
.bg-paper  { background: var(--paper); }

.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.bg-green .eyebrow { color: var(--gold-soft); }
.bg-green .eyebrow::before { background: var(--gold); }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-faint); }
.deva { font-family: var(--font-deva); }

/* Section heading block */
.sec-head { max-width: 680px; margin-bottom: 2.75rem; }
.sec-head.center { margin-inline: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform; line-height: 1; text-align: center;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 20px rgb(179 84 47 / .28); }
.btn--primary:hover { background: var(--terracotta-d); box-shadow: 0 12px 28px rgb(179 84 47 / .34); }

.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgb(47 93 58 / .25); }
.btn--green:hover { background: var(--green-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: var(--green-tint); }

.btn--on-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: .7rem 1.25rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(250 246 238 / .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgb(var(--shadow-c) / .05);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(circle at 30% 25%, var(--gold) 0%, var(--terracotta) 78%);
  color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35), 0 4px 10px rgb(179 84 47 / .3);
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--green-deep); letter-spacing: -.01em; }
.brand__sub  { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  padding: .55rem .85rem; border-radius: 10px; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--green); background: var(--green-tint); }
.nav__links a.active { color: var(--green-deep); font-weight: 600; }
.nav__links a.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 1.5px solid var(--line); color: var(--ink-soft);
  padding: .5rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  transition: border-color .2s, color .2s;
}
.lang__btn:hover { border-color: var(--green); color: var(--green); }
.lang__btn svg { width: 15px; height: 15px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 172px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .4rem; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem;
  background: transparent; border: 0; text-align: left; padding: .6rem .7rem; border-radius: 9px;
  font-size: .92rem; color: var(--ink); transition: background .15s;
}
.lang__menu button:hover { background: var(--green-tint); }
.lang__menu button .tag { font-size: .68rem; color: var(--ink-faint); font-weight: 600; }
.lang__menu button[aria-current="true"] { color: var(--green); font-weight: 600; }
.lang__menu .soon { color: var(--ink-faint); }

/* Mobile toggle */
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1.5px solid var(--line); place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(35 74 45 / .30) 0%, rgb(35 74 45 / .12) 30%, rgb(20 30 20 / .55) 100%),
    linear-gradient(90deg, rgb(20 30 20 / .55) 0%, rgb(20 30 20 / .10) 60%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  min-height: min(88vh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(4rem, 12vh, 8rem);
  color: #fff;
}
.hero__inner .eyebrow { color: var(--gold-soft); }
.hero__inner .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 30px rgb(0 0 0 / .3); }
.hero__motto {
  font-family: var(--font-deva); font-size: 1.1rem; color: var(--gold-soft);
  margin-bottom: 1.2rem; font-weight: 500;
}
.hero__copy { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / .92); text-shadow: 0 1px 12px rgb(0 0 0 / .3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgb(255 255 255 / .7); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.hero__scroll .mouse { width: 22px; height: 34px; border: 2px solid rgb(255 255 255 / .55); border-radius: 12px; position: relative; }
.hero__scroll .mouse::before {
  content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; background: #fff;
  border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.7s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust {
  position: relative; z-index: 3; margin-top: -2.5rem;
}
.trust__inner {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 3vw, 2.1rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.trust__item { text-align: center; padding: .4rem 1rem; position: relative; }
.trust__item + .trust__item::before {
  content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line);
}
.trust__num { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; color: var(--green); line-height: 1; }
.trust__num svg { width: 1.5rem; height: 1.5rem; vertical-align: -.15em; color: var(--terracotta); }
.trust__label { font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; font-weight: 500; }

/* ==========================================================================
   Generic cards / grids
   ========================================================================== */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-soft); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green); margin-bottom: 1.15rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card__deva { font-family: var(--font-deva); color: var(--terracotta); font-weight: 600; font-size: 1.35rem; display: block; margin-bottom: .15rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* Pillars (feature the 3 core) */
.pillar { position: relative; overflow: hidden; }
.pillar::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%); opacity: .5; pointer-events: none;
}

/* ==========================================================================
   Split / feature rows
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3/4; }
.split__badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: .9rem 1.2rem; max-width: 230px;
}
.split__badge strong { display: block; font-family: var(--font-serif); color: var(--green); font-size: 1.15rem; }
.split__badge span { font-size: .82rem; color: var(--ink-faint); }

/* Framed image with organic accent */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold);
  border-radius: var(--radius-lg); z-index: -1; opacity: .5;
}

/* ==========================================================================
   Quote / motto band
   ========================================================================== */
.band {
  background:
    radial-gradient(1200px 400px at 80% -20%, rgb(199 155 59 / .16), transparent 60%),
    var(--green-deep);
  color: var(--green-soft); position: relative; overflow: hidden;
}
.band::before {
  content: "गो"; position: absolute; font-family: var(--font-deva); font-weight: 700;
  font-size: 26rem; color: rgb(255 255 255 / .035); right: 2%; top: 50%; transform: translateY(-50%); line-height: 1; pointer-events: none;
}
.band__quote { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; color: #fff; max-width: 20ch; }
.band__deva { font-family: var(--font-deva); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-soft); }
.band cite { display: block; margin-top: 1.5rem; font-style: normal; color: rgb(255 255 255 / .7); font-size: .95rem; letter-spacing: .04em; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -100px; top: -100px; width: 340px; height: 340px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 68%); opacity: .55; pointer-events: none;
}
.page-hero__inner { padding-block: clamp(3rem, 8vw, 5rem); position: relative; z-index: 1; max-width: 720px; }
.breadcrumb { font-size: .82rem; color: var(--ink-faint); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { opacity: .5; }

/* ==========================================================================
   Timeline / list features
   ========================================================================== */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }
.checklist li span { color: var(--ink-soft); }

/* Work item list (Beyond the Gaushala) */
.taglist { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem; transition: border-color .2s, color .2s;
}
.tag:hover { border-color: var(--green); color: var(--green); }
.tag svg { width: 15px; height: 15px; color: var(--terracotta); }

/* ==========================================================================
   Donate
   ========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tier {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-align: left; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; display: flex; flex-direction: column; gap: .3rem;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.tier__ribbon {
  position: absolute; top: -11px; right: 1.2rem; background: var(--gold); color: #3a2e0a;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px;
}
.tier__amt { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--green); }
.tier__name { font-family: var(--font-deva); font-weight: 600; color: var(--terracotta); font-size: 1.1rem; }
.tier__desc { font-size: .9rem; color: var(--ink-faint); margin: 0; }

.donate-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.donate-panel__grid { display: grid; grid-template-columns: 1fr 1fr; }
.donate-panel__qr { background: var(--green-tint); padding: clamp(1.8rem, 4vw, 2.8rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-right: 1px solid var(--line); }
.qr-frame {
  width: 210px; height: 210px; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-md); display: grid; place-items: center; padding: 14px; margin-bottom: 1.2rem;
  border: 1px solid var(--line);
}
.qr-frame svg { width: 100%; height: 100%; }
.qr-placeholder {
  width: 100%; height: 100%; border: 2px dashed var(--line); border-radius: 10px;
  display: grid; place-items: center; text-align: center; color: var(--ink-faint); font-size: .8rem; padding: 1rem;
}
.donate-panel__details { padding: clamp(1.8rem, 4vw, 2.8rem); }
.detail-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; }
.detail-row .k { font-size: .82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.detail-row .v { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.copy-btn {
  background: var(--green-tint); border: 1px solid var(--line); border-radius: 8px; padding: .35rem .6rem;
  font-size: .78rem; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; transition: background .2s;
}
.copy-btn:hover { background: var(--green-soft); }
.copy-btn svg { width: 14px; height: 14px; }

.amount-picker { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.4rem; }
.amount-picker button {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: .55rem 1.05rem;
  font-weight: 600; color: var(--ink-soft); transition: all .2s var(--ease);
}
.amount-picker button:hover, .amount-picker button.active { border-color: var(--green); color: #fff; background: var(--green); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  cursor: pointer; background: var(--cream-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(20 30 20 / .6));
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item__cap {
  position: absolute; left: 1rem; bottom: .9rem; right: 1rem; color: #fff; font-size: .9rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; z-index: 1; text-shadow: 0 1px 6px rgb(0 0 0 / .4);
}
.gallery-item:hover .gallery-item__cap { opacity: 1; transform: translateY(0); }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgb(20 24 18 / .92); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3); color: #fff; font-size: 1.5rem; display: grid; place-items: center; }
.lightbox__close:hover { background: rgb(255 255 255 / .22); }
.lightbox__cap { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; color: rgb(255 255 255 / .85); font-size: .95rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgb(255 255 255 / .22); }
.lightbox__nav.prev { left: 1.4rem; } .lightbox__nav.next { right: 1.4rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.6rem, 4vw, 2.6rem); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--terracotta); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--ink-faint); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-soft); color: var(--green-deep); }

/* Contact tiles */
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-tile__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.contact-tile__icon svg { width: 22px; height: 22px; }
.contact-tile h4 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin: 0 0 .3rem; }
.contact-tile a, .contact-tile p { font-weight: 600; color: var(--ink); margin: 0; font-family: var(--font-sans); }
.contact-tile a:hover { color: var(--green); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius); filter: saturate(.9); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* ==========================================================================
   Transparency
   ========================================================================== */
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cred {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem;
  display: flex; gap: 1rem; align-items: center;
}
.cred__badge { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--terracotta-d); display: grid; place-items: center; flex-shrink: 0; }
.cred__badge svg { width: 22px; height: 22px; }
.cred .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 600; margin: 0; }
.cred .v { font-weight: 600; color: var(--ink); margin: .1rem 0 0; font-variant-numeric: tabular-nums; word-break: break-word; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--green-soft); color: var(--green-deep); font-size: .82rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.status-pill svg { width: 13px; height: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-deep); color: rgb(231 239 228 / .8); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--gold-soft); }
.footer-about { max-width: 34ch; font-size: .95rem; margin-top: 1rem; color: rgb(231 239 228 / .72); }
.footer-col h5 { font-family: var(--font-sans); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a, .footer-col p { color: rgb(231 239 228 / .78); font-size: .95rem; transition: color .2s; margin: 0; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-motto { font-family: var(--font-deva); color: var(--gold-soft); font-size: 1.15rem; margin-top: .3rem; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .12); margin-top: 3rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: rgb(231 239 228 / .55);
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* Floating donate (mobile) */
.float-donate {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col--about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem;
    box-shadow: var(--shadow-lg); gap: .2rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  body.nav-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: .85rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav__links a.active::after { display: none; }
  .nav__links a.active { background: var(--green-tint); }
  .nav__toggle { display: grid; }
  .nav__actions .btn--nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .donate-panel__grid { grid-template-columns: 1fr; }
  .donate-panel__qr { border-right: 0; border-bottom: 1px solid var(--line); }
  .float-donate { display: inline-flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .trust__inner { grid-template-columns: 1fr; gap: 0; padding: .6rem 1rem; }
  .trust__item { padding: 1rem; }
  .trust__item + .trust__item::before { left: 15%; right: 15%; top: 0; bottom: auto; width: auto; height: 1px; }
  .grid-2, .grid-3, .cred-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.tall, .gallery-item.wide { grid-row: auto; grid-column: auto; }
  .split__badge { position: static; margin-top: 1rem; max-width: none; }
  .hero__cta .btn { width: 100%; }
}
