/* ==========================================================================
   Jayshri Foundation — Design System
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brand:        #0f8f4d;
  --brand-deep:   #075c31;
  --brand-soft:   #4ecb7b;
  --saffron:      #ff8a1f;
  --gold:         #ffc93c;
  --rose:         #ff5c7a;
  --teal:         #10b6a8;

  --ink:          #082014;
  --navy:         #0d3323;
  --body:         #46584d;
  --muted:        #7b8f84;
  --line:         #e2ebe5;

  --bg:           #f7faf8;
  --bg-alt:       #ffffff;
  --surface:      #ffffff;
  --surface-2:    #eef5f0;

  --grad-brand:   linear-gradient(120deg, #075c31 0%, #12a150 52%, #7fd34e 100%);
  --grad-warm:    linear-gradient(120deg, #ff8a1f 0%, #ffc93c 100%);
  /* Dark surfaces — a deep, slightly blue-shifted forest ramp (never olive),
     lit by an emerald glow top-right and a faint warm glow bottom-left. */
  --forest-950:   #03120c;
  --forest-900:   #062a1d;
  --forest-700:   #0d5136;
  --grad-ink:
    radial-gradient(72% 92% at 88% -10%, rgba(24, 196, 120, .30), transparent 62%),
    radial-gradient(58% 70% at 0% 108%, rgba(255, 201, 60, .10), transparent 62%),
    linear-gradient(155deg, #03120c 0%, #072c1f 44%, #0d5136 100%);

  --shadow-sm:    0 2px 8px rgba(10, 45, 28, .06);
  --shadow:       0 12px 30px -12px rgba(10, 45, 28, .18);
  --shadow-lg:    0 32px 70px -28px rgba(10, 45, 28, .35);

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 30px;
  --r-xl: 42px;

  --nav-h: 78px;
  --container: 1220px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --f-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f-body);
  font-size: clamp(15.5px, .55vw + 14px, 17px);
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* <picture> only carries the WebP source; the <img> stays the layout box.
   <source> must be display:none, or display:contents promotes it into the
   parent grid/flex as a real item. Hiding it does not affect format picking. */
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
::selection { background: var(--brand); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--grad-ink); color: #c2ddcc; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(15, 143, 77, .09);
  border: 1px solid rgba(15, 143, 77, .16);
  padding: .45rem 1rem; border-radius: 100px;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 138, 31, .2);
  animation: pulseDot 2.4s var(--ease) infinite;
}
.section--ink .eyebrow { color: var(--gold); background: rgba(255, 201, 60, .12); border-color: rgba(255, 201, 60, .25); }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 138, 31, .22); }
  50%      { box-shadow: 0 0 0 9px rgba(255, 138, 31, 0); }
}

.h-xl { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lead { font-size: clamp(1.02rem, 1.1vw, 1.18rem); color: var(--body); }
.section--ink .lead { color: #b2d2be; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.narrow { max-width: 720px; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.warm-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* underline flourish */
.mark {
  position: relative; display: inline-block; white-space: nowrap;
}
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em;
  height: .34em; border-radius: 6px; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 201, 60, .55), rgba(255, 138, 31, .45));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) .25s;
}
.is-visible .mark::after, .mark.is-visible::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 700; font-size: .96rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  color: #fff; background: var(--btn-bg);
  box-shadow: 0 14px 28px -14px rgba(15, 143, 77, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
  isolation: isolate; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #ff8a1f, #ffc93c);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 38px -16px rgba(255, 138, 31, .75); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn--warm { --btn-bg: var(--grad-warm); box-shadow: 0 14px 28px -14px rgba(255, 138, 31, .8); }
.btn--warm::after { background: var(--grad-brand); }
.btn--warm:hover { box-shadow: 0 22px 38px -16px rgba(15, 143, 77, .7); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.6px solid var(--line); box-shadow: none;
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; box-shadow: 0 18px 34px -18px rgba(10, 45, 28, .6); }
.section--ink .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.section--ink .btn--ghost::after { background: #fff; }
.section--ink .btn--ghost:hover { color: var(--ink); }

.btn--sm { padding: .68rem 1.25rem; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* text link */
.tlink {
  font-family: var(--f-display); font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: .45rem;
}
.tlink svg { transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.scrollbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left; z-index: 200;
  background: var(--grad-warm);
}

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(10, 45, 28, .07);
  opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-stuck { height: 66px; }
.header.is-stuck::before { opacity: 1; }
.header .container { display: flex; align-items: center; gap: 1.5rem; width: min(100% - 2rem, 1320px); }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img {
  width: 46px; height: 46px; border-radius: 50%;
  transition: transform .5s var(--ease);
}
.brand:hover img { transform: rotate(-8deg) scale(1.07); }
.brand-txt { display: grid; line-height: 1.1; }
.brand-txt b {
  font-family: var(--f-display); font-size: 1.08rem; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink);
}
.brand-txt span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* header slogan — sentence case, no letter-spacing, so a full line fits */
.brand-txt .slogan {
  font-family: var(--f-body);
  font-size: .74rem; letter-spacing: 0; text-transform: none;
  font-weight: 500; font-style: italic; color: var(--brand);
  white-space: nowrap; opacity: .9;
}
.header.is-stuck .brand-txt .slogan { font-size: .7rem; }
/* the header gets tight between the tablet break and the desktop nav, and on
   mobile the burger eats the space — show the slogan only where it fits fully */
@media (max-width: 1240px) {
  .header .brand-txt .slogan { display: none; }
}
.footer .brand-txt .slogan { color: var(--gold); white-space: normal; }

/* slogan inside the mobile drawer, so phone visitors still see it */
.drawer .drawer-slogan {
  font-family: var(--f-body); font-style: italic; font-weight: 500;
  font-size: clamp(.8rem, 2.2vh, .95rem); color: var(--brand); line-height: 1.5;
  max-width: 24ch; margin: clamp(.8rem, 2vh, 1.3rem) auto 0;
  padding-top: clamp(.6rem, 1.6vh, 1rem);
  border-top: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  position: relative; padding: .6rem .85rem; border-radius: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: .93rem; color: var(--navy);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .28rem;
  width: 0; height: 2px; border-radius: 2px; background: var(--grad-warm);
  transform: translateX(-50%); transition: width .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--brand); }
.nav a:hover::after, .nav a.is-active::after { width: 46%; }

.nav-cta { margin-left: .6rem; }

/* Round glass button with a green ring; turns into a filled green X when open */
.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  place-content: center; justify-items: center; gap: 6px;
  position: relative; z-index: 5;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1.5px solid rgba(15, 143, 77, .22);
  box-shadow: 0 8px 20px -8px rgba(10, 45, 28, .28), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease), transform .3s var(--ease);
}
/* soft halo that blooms on press/open */
.burger::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; z-index: -1;
  background: var(--grad-green); opacity: 0; transform: scale(.75);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.burger:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(10, 45, 28, .34); }
.burger:active { transform: scale(.94); }

.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--brand-deep);
  transition: transform .45s var(--ease), opacity .22s, background .35s, width .35s var(--ease);
}
.burger span:nth-child(3) { width: 13px; justify-self: center; }
.burger:hover span:nth-child(3) { width: 20px; }

/* open state — filled green pill with a white X */
.burger.is-open {
  background: var(--grad-green);
  border-color: transparent;
  box-shadow: 0 12px 28px -10px rgba(10, 107, 53, .75);
}
.burger.is-open::after { opacity: .28; transform: scale(1); }
.burger.is-open span { background: #fff; width: 20px; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 140;
  background:
    radial-gradient(62% 38% at 100% 0%, rgba(18, 161, 80, .11), transparent 62%),
    radial-gradient(52% 38% at 0% 100%, rgba(255, 201, 60, .09), transparent 62%),
    rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  /* `safe center` centres when it fits and falls back to top-aligned +
     scrollable when the list is taller than the screen, so nothing is clipped */
  display: grid; align-content: safe center; justify-items: stretch;
  gap: clamp(.05rem, .5vh, .3rem);
  text-align: center;
  padding: calc(var(--nav-h) + 1rem) 1.25rem 1.75rem;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); pointer-events: auto; }

/* every link in the drawer fades up on open (nav items + the two buttons) */
.drawer a {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease),
              color .25s, background .3s var(--ease);
}
.drawer.is-open a { opacity: 1; transform: none; }

/* the nav items themselves — direct children only, so the footer buttons
   keep their own pill styling instead of inheriting this */
.drawer > a {
  position: relative;
  font-family: var(--f-display); font-weight: 700; color: var(--ink);
  /* scales with height too, so a short screen shrinks the list instead of cutting it */
  font-size: clamp(1.05rem, min(5.6vw, 3vh), 1.7rem);
  line-height: 1.22;
  padding: clamp(.32rem, 1.15vh, .6rem) 1rem;
  border-radius: 14px;
  max-width: 20rem; margin-inline: auto; width: 100%;
}
.drawer > a:hover, .drawer > a:active { color: var(--brand-deep); background: rgba(18, 161, 80, .09); }

.drawer .drawer-foot {
  margin-top: clamp(.8rem, 2.2vh, 1.5rem);
  display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center;
}
.drawer .drawer-foot .btn { font-size: clamp(.82rem, 2.2vh, .92rem); padding: .7rem 1.3rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 92px)) 0 clamp(70px, 8vw, 120px);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(255, 201, 60, .22), transparent 55%),
    radial-gradient(110% 90% at 4% 20%, rgba(15, 143, 77, .16), transparent 58%),
    linear-gradient(180deg, #fdfeff 0%, var(--bg) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block; transform: translateY(105%);
  animation: riseIn 1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .24s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .36s; }
@keyframes riseIn { to { transform: none; } }

.hero .lead { max-width: 33rem; margin-top: 1.3rem; }
.fade-up-d { opacity: 0; transform: translateY(22px); animation: fadeUp .9s var(--ease-out) forwards; }
.d1 { animation-delay: .5s; } .d2 { animation-delay: .62s; } .d3 { animation-delay: .74s; } .d4 { animation-delay: .86s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; }
.hero__meta div { display: grid; gap: .1rem; }
.hero__meta b {
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800;
  color: var(--ink); line-height: 1;
}
.hero__meta small { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* collage */
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure {
  position: absolute; overflow: hidden; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); background: var(--surface-2);
}
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.07); }
.c1 { inset: 0 22% 30% 0; z-index: 2; animation: floaty 9s ease-in-out infinite; }
.c2 { inset: 30% 0 8% 34%; z-index: 3; animation: floaty 11s ease-in-out infinite reverse; }
.c3 { width: 40%; aspect-ratio: 1; left: 0; bottom: 0; z-index: 4; border-radius: var(--r); animation: floaty 8s ease-in-out infinite .6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-16px) rotate(-.8deg); }
}
.collage .badge {
  position: absolute; right: -4px; top: 46%; z-index: 6;
  background: var(--surface); border-radius: 100px; padding: .7rem 1.1rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-lg); font-family: var(--f-display); font-weight: 700; font-size: .86rem; color: var(--ink);
  animation: floaty 7s ease-in-out infinite 1.2s;
}
.collage .badge i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-warm); color: #fff; font-style: normal; font-size: .9rem;
}

/* blobs */
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
}
.blob--1 { width: 480px; height: 480px; background: rgba(15, 143, 77, .3); top: -160px; left: -140px; animation: drift 18s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: rgba(255, 138, 31, .28); bottom: -180px; right: -120px; animation: drift 22s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.12); }
}
.hero > .container { position: relative; z-index: 2; }

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(90deg, var(--forest-950) 0%, #08341f 50%, var(--forest-950) 100%);
  color: #fff; padding: .95rem 0; overflow: hidden;
  border-block: 1px solid rgba(24, 196, 120, .18);
}
.marquee__track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--f-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .13em; text-transform: uppercase; padding-inline: 1.6rem;
  display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--gold); font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards & sections
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.sec-head { max-width: 780px; margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }
.sec-head.center { margin-inline: auto; }
.sec-head p { margin-top: 1rem; }

.card {
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(15, 143, 77, .09), transparent 65%);
  transition: opacity .45s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
/* <picture> is display:contents, so the <img> sits one level deeper than the
   other children and needs naming explicitly to stay above .card::before. */
.card > *, .card > picture > img { position: relative; }

.card__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 1.2rem;
  box-shadow: 0 14px 26px -14px rgba(15, 143, 77, .9);
  transition: transform .5s var(--ease);
}
.card:nth-child(2) .card__icon { background: var(--grad-warm); box-shadow: 0 14px 26px -14px rgba(255, 138, 31, .9); }
.card:nth-child(3) .card__icon { background: linear-gradient(120deg, #10b6a8, #4ecb7b); box-shadow: 0 14px 26px -14px rgba(16, 182, 168, .9); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.card p { font-size: .96rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r); padding: 1.8rem 1.4rem; text-align: center;
  backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), background .4s;
}
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.stat b {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: .55rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9fc7ac; font-weight: 600; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media .frame {
  position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-lg);
  border: 2px dashed rgba(15, 143, 77, .35); z-index: -1;
}
.quote-card {
  position: absolute; bottom: -28px; right: -12px; max-width: 300px;
  background: var(--surface); border-radius: var(--r); padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: .9rem; line-height: 1.6;
}
.quote-card b { display: block; font-family: var(--f-display); color: var(--ink); margin-top: .5rem; font-size: .85rem; }

.ticks { display: grid; gap: .85rem; margin-top: 1.8rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .97rem; }
.ticks i {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: .18rem;
  background: rgba(16, 182, 168, .14); color: var(--teal);
  display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800;
}

/* ---------- Work cards ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.work {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  min-height: 340px; display: flex; align-items: flex-end;
  color: #fff;
}
.work img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.work::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 36, .05) 25%, rgba(10, 16, 36, .82) 78%, rgba(10, 16, 36, .95) 100%);
  transition: opacity .5s;
}
.work__body { position: relative; z-index: 2; padding: 1.6rem; width: 100%; }
.work__tag {
  display: inline-block; font-family: var(--f-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
  padding: .3rem .75rem; border-radius: 100px; margin-bottom: .8rem;
  backdrop-filter: blur(6px);
}
.work h3 { color: #fff; font-size: 1.18rem; line-height: 1.25; }
.work p {
  color: #cfe4d6; font-size: .9rem; margin-top: .55rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .4s, margin .4s;
}
.work:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.work:hover img { transform: scale(1.09); }
.work:hover p { max-height: 8rem; opacity: 1; }
.work--wide { grid-column: span 2; }

/* ---------- Timeline (detail pages) ---------- */
.timeline { position: relative; display: grid; gap: clamp(2.4rem, 4vw, 4rem); }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--saffron), transparent);
  opacity: .35;
}
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.tl-dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--f-display); font-weight: 800; font-size: .78rem; color: var(--brand);
  position: relative; z-index: 2;
}
.tl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: minmax(0, 300px) 1fr;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tl-card figure { overflow: hidden; background: var(--surface-2); }
.tl-card figure img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform 1s var(--ease); }
.tl-card:hover figure img { transform: scale(1.06); }
.tl-body { padding: clamp(1.4rem, 2.4vw, 2rem); }
.tl-body h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.tl-body .when { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); font-weight: 700; margin-bottom: .8rem; display: block; }
.tl-body p { font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.pill {
  font-size: .78rem; font-weight: 700; font-family: var(--f-display);
  background: var(--surface-2); color: var(--navy); border-radius: 100px; padding: .35rem .85rem;
  border: 1px solid var(--line);
}

/* ---------- Gallery ---------- */
.gallery { columns: 4; column-gap: 1rem; }
.gallery figure {
  break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r); overflow: hidden;
  position: relative; cursor: zoom-in; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery figure::after {
  content: "＋"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.8rem; color: #fff; background: rgba(10, 16, 36, .45);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery figure:hover img { transform: scale(1.08); }
.gallery figure:hover::after { opacity: 1; }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 300; display: none;
  place-items: center; background: rgba(6, 10, 24, .94);
  backdrop-filter: blur(8px); padding: 2rem 1rem;
}
.lb.is-open { display: grid; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lb img { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: var(--r); box-shadow: var(--shadow-lg); animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { transform: scale(.93); opacity: 0; } }
.lb__close, .lb__nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
  font-size: 1.3rem; transition: background .3s, transform .3s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .26); transform: scale(1.08); }
.lb__close { top: 22px; right: 22px; }
.lb__nav.prev { left: 22px; top: 50%; margin-top: -25px; }
.lb__nav.next { right: 22px; top: 50%; margin-top: -25px; }
.lb__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c9d3ea; font-size: .85rem; letter-spacing: .1em; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.member { text-align: center; }
.member__ph {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1;
  background: var(--surface-2); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.92); }
.member__ph::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 143, 77, .8));
  transition: opacity .45s;
}
.member:hover .member__ph { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.member:hover .member__ph img { transform: scale(1.07); filter: saturate(1.1); }
.member:hover .member__ph::after { opacity: 1; }
.member h4 { margin-top: 1rem; font-size: 1.03rem; }
.member span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------- Donors ---------- */
.donor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.1rem; }
.donor { text-align: center; }
.donor__ph {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface-2);
  border: 3px solid var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  position: relative;
}
.donor__ph::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: 1;
  background: var(--grad-warm); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 3px;
}
.donor__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.donor:hover .donor__ph { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow); }
.donor:hover .donor__ph::before { opacity: 1; }
.donor:hover .donor__ph img { transform: scale(1.09); }
.donor b { display: block; margin-top: .7rem; font-family: var(--f-display); font-size: .88rem; color: var(--ink); }
.donor span { font-size: .74rem; color: var(--muted); }

/* ---------- Donate ---------- */
.donate {
  display: grid; grid-template-columns: 1fr minmax(280px, 380px);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.qr-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--shadow-lg); text-align: center;
  transition: transform .5s var(--ease);
}
.qr-card:hover { transform: translateY(-8px) rotate(1deg); }
.qr-card img { border-radius: var(--r-sm); width: 100%; }
.qr-card b { display: block; margin-top: .9rem; font-family: var(--f-display); color: var(--ink); }
.qr-card small { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--f-display); font-size: .84rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
  background: var(--surface); border: 1.6px solid var(--line); border-radius: 14px;
  padding: .85rem 1rem; font-size: .95rem; transition: border-color .3s, box-shadow .3s, transform .3s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 143, 77, .12);
}
.field textarea { resize: vertical; min-height: 130px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.info-list { display: grid; gap: 1rem; }
.info {
  display: flex; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.info:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info i {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--brand); font-style: normal;
}
.info b { display: block; font-family: var(--f-display); color: var(--ink); font-size: .95rem; }
.info span { font-size: .88rem; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* ---------- Page hero (inner pages) ---------- */
.phero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 7vw, 92px);
  background: var(--grad-ink);
}
.phero::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: url("../img/hero-blankets.jpg");
  background-size: cover; background-position: center;
}
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 80% 10%, rgba(255, 201, 60, .22), transparent 60%);
}
.phero .container { position: relative; z-index: 2; }
.phero h1 { color: #fff; }
.phero p { color: #b2d2be; max-width: 640px; margin-top: 1rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: #8db79b; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Bio ---------- */
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.bio-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--nav-h) + 20px);
}
.bio-card img { border-radius: var(--r); width: 100%; }
.dl { display: grid; gap: .8rem; margin-top: 1.4rem; }
.dl div { display: grid; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.dl div:last-child { border: 0; padding-bottom: 0; }
.dl dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dl dd { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: .98rem; }

.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.4rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose blockquote {
  margin: 1.6rem 0; padding: 1.4rem 1.6rem; border-radius: var(--r);
  background: var(--surface); border-left: 4px solid var(--saffron); box-shadow: var(--shadow-sm);
  font-family: var(--f-display); font-size: 1.06rem; color: var(--ink); font-style: italic;
}
.prose ul { display: grid; gap: .8rem; margin: 1rem 0 1.4rem; }
.prose ul li { display: flex; gap: .8rem; }
.prose ul li::before { content: "◆"; color: var(--saffron); font-size: .7rem; margin-top: .5rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad-ink); color: #fff; padding: clamp(2.6rem, 5vw, 4.4rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 138, 31, .22); filter: blur(90px); top: -140px; right: -80px;
  animation: drift 20s ease-in-out infinite;
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(24, 196, 120, .3); filter: blur(90px); bottom: -160px; left: -60px;
  animation: drift 24s ease-in-out infinite reverse;
}
.cta-band > *, .cta-band > picture > img { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c1dccb; max-width: 620px; margin: 1rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  color: #9dbcaa; padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  /* lit where it meets the page, settling to near-black at the very bottom */
  background:
    radial-gradient(62% 85% at 90% -5%, rgba(24, 196, 120, .26), transparent 62%),
    radial-gradient(46% 60% at 2% 0%, rgba(255, 201, 60, .08), transparent 62%),
    linear-gradient(180deg, #0a4429 0%, #06301f 38%, #03150e 100%);
}
/* thin luminous edge so the footer reads as a deliberate band, not a dead block */
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 196, 120, .55), rgba(255, 201, 60, .35), transparent);
}
.footer > .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { transition: color .3s, transform .3s; display: inline-block; }
.footer a:hover { color: var(--gold); }
.footer ul { display: grid; gap: .6rem; font-size: .92rem; }
.footer ul a:hover { transform: translateX(4px); }
.footer .brand-txt b { color: #fff; }
.footer .brand-txt span { color: #9dbcaa; }
.footer p { font-size: .92rem; margin-top: 1rem; max-width: 30ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.socials a:hover { background: var(--grad-warm); transform: translateY(-4px); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem;
}

/* ---------- Floating actions ---------- */
.fab-wa, .to-top {
  position: fixed; z-index: 120; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease), opacity .4s;
}
.fab-wa {
  right: 22px; bottom: 22px; width: 58px; height: 58px;
  background: #25d366; color: #fff;
}
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab-wa:hover { transform: scale(1.1); }
.to-top {
  right: 22px; bottom: 92px; width: 46px; height: 46px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  opacity: 0; pointer-events: none;
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .g-4, .team { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
  .work--wide { grid-column: span 2; }
  .gallery { columns: 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-card { position: static; }
}

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .burger { display: grid; }
  .hero__grid, .split, .contact-grid, .donate { grid-template-columns: 1fr; }
  .hero__grid { gap: 3rem; }
  .collage { max-width: 480px; margin-inline: auto; }
  .split__media { order: -1; }
  .quote-card { position: static; max-width: none; margin-top: 1.2rem; }
  .split__media .frame { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-card figure img { min-height: 210px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 70px; }
  .container { width: min(100% - 2rem, var(--container)); }
  .works, .g-2 { grid-template-columns: 1fr; }
  /* team stays two-up on phones — one huge photo per row read as empty */
  .team { grid-template-columns: repeat(2, 1fr); gap: 1rem .9rem; }
  .member__ph { border-radius: 20px; }
  .member h4 { margin-top: .8rem; font-size: .94rem; }
  .member span { font-size: .74rem; line-height: 1.35; display: block; }
  .work--wide { grid-column: span 1; }
  .gallery { columns: 2; column-gap: .7rem; }
  .gallery figure { margin-bottom: .7rem; }
  .donor-wall { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .8rem; }
  .f-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.2rem 1.8rem; }
  .tl-item { grid-template-columns: 40px 1fr; gap: .9rem; }
  .tl-dot { width: 40px; height: 40px; font-size: .68rem; }
  .timeline::before { left: 19px; }
  .lb__nav { width: 42px; height: 42px; }
  .lb__nav.prev { left: 10px; } .lb__nav.next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span, .fade-up-d { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2 — Jayshri Van, Kisan Mitra App, Focus areas, Process
   ========================================================================== */

:root {
  --green:      #12a150;
  --green-deep: #0a6b35;
  --leaf:       #7fd34e;
  --grad-green: linear-gradient(120deg, #0a6b35 0%, #12a150 50%, #7fd34e 100%);
  --grad-earth: linear-gradient(120deg, #b45309 0%, #f59e0b 60%, #fcd34d 100%);
}

/* ---------- Announcement chips in hero ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .82rem;
  padding: .5rem .95rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); color: var(--navy);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(18, 161, 80, .18);
  animation: pulseDot 2.2s var(--ease) infinite;
}
.chip--soon .dot { background: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 138, 31, .2); }

/* ---------- Section: green (Jayshri Van — sunlight-through-leaves) ----------
   The base UI is now emerald, so this section leans warmer and deeper so it
   still reads as its own moment rather than "more of the same green".        */
.section--green {
  position: relative; overflow: hidden;
  background:
    radial-gradient(75% 65% at 88% 4%, rgba(255, 201, 60, .3), transparent 58%),
    radial-gradient(85% 75% at 6% 96%, rgba(10, 107, 53, .3), transparent 60%),
    linear-gradient(170deg, #e6f6e8 0%, #d6efdc 55%, #cfeadb 100%);
}
.section--green::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.5) 0 2px, transparent 2px 9px);
  mask-image: radial-gradient(70% 60% at 80% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 60% at 80% 0%, #000, transparent 70%);
}
.section--green > .container { position: relative; z-index: 2; }
.section--green .eyebrow { color: var(--green-deep); background: rgba(255, 255, 255, .7); border-color: rgba(10, 107, 53, .22); }
.section--green .eyebrow::before { background: var(--green); box-shadow: 0 0 0 4px rgba(18, 161, 80, .2); }
.section--green .mark::after { background: linear-gradient(90deg, rgba(255, 201, 60, .8), rgba(255, 138, 31, .5)); }
.section--green h2, .section--green h3 { color: #06301a; }
.section--green .btn--ghost { border-color: rgba(10, 107, 53, .3); color: #06301a; }

/* floating leaves */
.leaf-f { position: absolute; opacity: .16; color: var(--green-deep); pointer-events: none; }
.leaf-f:nth-of-type(1) { top: 8%;  left: 4%;  animation: floaty 12s ease-in-out infinite; }
.leaf-f:nth-of-type(2) { top: 62%; left: 90%; animation: floaty 15s ease-in-out infinite reverse; }
.leaf-f:nth-of-type(3) { top: 82%; left: 8%;  animation: floaty 10s ease-in-out infinite 1s; }

/* ---------- Van layout ---------- */
.van-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.van-media { position: relative; }
.van-media img {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2; object-fit: cover;
}
.van-media .strip {
  position: absolute; right: -22px; bottom: -26px; width: 46%;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 5px solid #fff;
  aspect-ratio: 4 / 3; object-fit: cover;
  animation: floaty 9s ease-in-out infinite;
}
.van-media .seal {
  position: absolute; left: -18px; top: -18px; z-index: 3;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--grad-green); color: #fff;
  display: grid; place-content: center; text-align: center; line-height: 1.15;
  font-family: var(--f-display); font-weight: 800; font-size: .82rem;
  box-shadow: 0 20px 40px -18px rgba(10, 107, 53, .9);
  animation: floaty 7s ease-in-out infinite .4s;
}
.van-media .seal b { display: block; font-size: 1.5rem; }

.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1.8rem; }
.goal {
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(18, 161, 80, .18);
  border-radius: var(--r); padding: 1.1rem; text-align: center;
  backdrop-filter: blur(6px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.goal:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.goal b {
  display: block; font-family: var(--f-display); font-weight: 800; line-height: 1;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.goal span { display: block; margin-top: .4rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.species { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.species span {
  font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  background: rgba(18, 161, 80, .1); color: var(--green-deep);
  border: 1px solid rgba(18, 161, 80, .2); border-radius: 100px; padding: .35rem .85rem;
  transition: transform .3s var(--ease), background .3s;
}
.species span:hover { transform: translateY(-3px); background: rgba(18, 161, 80, .2); }

.btn--green { --btn-bg: var(--grad-green); box-shadow: 0 14px 28px -14px rgba(10, 107, 53, .85); }
.btn--green::after { background: var(--grad-warm); }

/* ---------- Kisan app ---------- */
.section--night {
  position: relative; overflow: hidden; color: #b9c6e2;
  background: linear-gradient(160deg, #070d1e 0%, #0f1c3d 55%, #142a52 100%);
}
.section--night h2, .section--night h3, .section--night h4 { color: #fff; }
.section--night .eyebrow { color: var(--gold); background: rgba(255, 201, 60, .12); border-color: rgba(255, 201, 60, .25); }
.section--night .lead { color: #a9b7d6; }
.section--night::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: url("../img/kisan-harvest.jpg");
  background-size: cover; background-position: center;
}
.section--night > .container { position: relative; z-index: 2; }

.app-grid { display: grid; grid-template-columns: 1fr minmax(260px, 330px); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.ribbon {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 800; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad-warm); color: #26170a;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1rem;
  box-shadow: 0 12px 26px -12px rgba(255, 138, 31, .9);
  animation: soonPulse 2.6s var(--ease) infinite;
}
@keyframes soonPulse {
  0%, 100% { box-shadow: 0 12px 26px -12px rgba(255, 138, 31, .9); }
  50%      { box-shadow: 0 12px 34px -8px rgba(255, 201, 60, 1); }
}

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.8rem; }
.feat {
  display: flex; gap: .85rem; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r); padding: 1rem 1.1rem;
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.feat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 201, 60, .35); }
.feat i {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 201, 60, .15); color: var(--gold); font-style: normal; font-size: 1.05rem;
}
.feat b { display: block; font-family: var(--f-display); color: #fff; font-size: .95rem; }
.feat span { font-size: .84rem; color: #9fadcd; }

/* phone mockup */
.phone {
  position: relative; margin-inline: auto; width: 100%; max-width: 300px;
  aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a3763, #0d1730);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
  animation: floaty 8s ease-in-out infinite;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; border-radius: 100px; background: #0d1730; z-index: 3;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(175deg, #12a150 0%, #0a6b35 42%, #08243f 100%);
  display: flex; flex-direction: column;
}
.phone__top { padding: 42px 18px 14px; color: #fff; }
.phone__top small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.phone__top b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-top: .2rem; }
.phone__list { flex: 1; overflow: hidden; position: relative; padding: 0 12px 14px; }
.phone__track { display: grid; gap: 9px; animation: appScroll 16s linear infinite; }
@keyframes appScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.phone__row {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: .6rem .7rem; color: #fff;
  backdrop-filter: blur(4px);
}
.phone__row i {
  width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); font-style: normal; font-size: .85rem;
}
.phone__row b { font-family: var(--f-display); font-size: .74rem; display: block; line-height: 1.2; }
.phone__row span { font-size: .62rem; opacity: .8; }
.phone__glow {
  position: absolute; inset: -14% -22%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 161, 80, .5), transparent 62%);
  filter: blur(50px);
}

.notify {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.8rem; max-width: 520px;
}
.notify input {
  flex: 1 1 200px; background: rgba(255, 255, 255, .08);
  border: 1.6px solid rgba(255, 255, 255, .2); border-radius: 100px;
  padding: .9rem 1.3rem; color: #fff;
}
.notify input::placeholder { color: #8a99ba; }
.notify input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 60, .15); }

/* ---------- Focus areas ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.focus {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem 1.6rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.focus::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease);
}
.focus:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.focus:hover::after { transform: scaleX(1); }
.focus i {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  font-style: normal; font-size: 1.4rem; margin-bottom: 1rem;
  background: var(--surface-2);
  transition: transform .5s var(--ease);
}
.focus:hover i { transform: rotate(-8deg) scale(1.08); }
.focus h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.focus p { font-size: .93rem; }
.focus .tagline {
  display: inline-block; margin-top: .9rem; font-family: var(--f-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.focus--green::after { background: linear-gradient(90deg, #0a6b35, #7fd34e); }
.focus--warm::after  { background: var(--grad-warm); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  transition: transform .45s var(--ease), background .4s;
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .7rem;
}
.step h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .88rem; color: #9fc7ac; }

/* ---------- Pull quote band ---------- */
.pull {
  text-align: center; max-width: 900px; margin-inline: auto;
}
.pull q {
  display: block; font-family: var(--f-display); font-weight: 700; quotes: none;
  font-size: clamp(1.3rem, 3vw, 2.15rem); line-height: 1.35; color: var(--ink);
}
.section--ink .pull q, .section--night .pull q { color: #fff; }
.pull cite {
  display: block; margin-top: 1.2rem; font-style: normal; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.pull .qm {
  display: block; font-family: var(--f-display); font-size: 3.4rem; line-height: .6;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.2rem;
}

/* ---------- Responsive v2 ---------- */
@media (max-width: 1080px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .van-grid, .app-grid { grid-template-columns: 1fr; }
  .van-media { order: -1; max-width: 560px; margin-inline: auto; }
  .van-media .strip { right: 0; bottom: -18px; width: 42%; }
  .phone { max-width: 270px; }
}
@media (max-width: 640px) {
  .focus-grid, .steps, .feat-grid { grid-template-columns: 1fr; }
  .goal-grid { grid-template-columns: 1fr; }
  .van-media .seal { width: 88px; height: 88px; font-size: .72rem; left: -6px; top: -10px; }
  .van-media .strip { display: none; }
}

/* ---------- v3: JayshriVan section helpers ---------- */
.goal-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* light variant of the numbered process steps (used on the green section) */
.steps--light .step {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(10, 107, 53, .16);
  backdrop-filter: blur(6px);
}
.steps--light .step:hover { background: #fff; box-shadow: var(--shadow); }
.steps--light .step h4 { color: #06301a; }
.steps--light .step p { color: var(--body); }

/* the green section's cards read better with a hint of the leaf palette */
.section--green .focus { background: rgba(255, 255, 255, .9); border-color: rgba(10, 107, 53, .14); }
.section--green .focus:hover { background: #fff; }
.section--green .sec-head h3 { color: #06301a; }
.section--green .form-note { color: #3d6b52; }
.section--green a[href^="https://jayshrivan"] { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.section--green .btn[href^="https://jayshrivan"] { text-decoration: none; }

@media (max-width: 1080px) { .goal-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .goal-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   v4 — Mobile-specific motion
   Desktop has room for big staggered grids; on a phone everything stacks, so
   the same reveal reads as "nothing happened". These give small screens their
   own character: alternating entries, a soft focus-in, and scroll-linked
   image movement that responds to the finger rather than firing once.
   ========================================================================== */

@media (max-width: 900px) {

  /* ---- 1. punchier base reveal: rises, settles and comes into focus ---- */
  [data-reveal] {
    transform: translateY(38px) scale(.965);
    filter: blur(7px);
    transition: opacity .85s var(--ease-out), transform .95s var(--ease-out),
                filter .7s var(--ease-out);
  }
  [data-reveal="left"]  { transform: translateX(-30px) translateY(14px) scale(.97); }
  [data-reveal="right"] { transform: translateX(30px)  translateY(14px) scale(.97); }
  [data-reveal="zoom"]  { transform: translateY(26px) scale(.9); }
  [data-reveal].is-visible { transform: none; filter: blur(0); }

  /* the gallery has ~28 images — blurring them all would stutter */
  .gallery [data-reveal] { filter: none; transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }

  /* ---- 2. alternating entries so a stacked column still feels alive ---- */
  .team .member:nth-child(odd)[data-reveal],
  .works .work:nth-child(odd)[data-reveal],
  .focus-grid .focus:nth-child(odd)[data-reveal],
  .feat-grid .feat:nth-child(odd)[data-reveal] {
    transform: translateX(-34px) translateY(16px) rotate(-1.6deg) scale(.96);
  }
  .team .member:nth-child(even)[data-reveal],
  .works .work:nth-child(even)[data-reveal],
  .focus-grid .focus:nth-child(even)[data-reveal],
  .feat-grid .feat:nth-child(even)[data-reveal] {
    transform: translateX(34px) translateY(16px) rotate(1.6deg) scale(.96);
  }
  /* [data-reveal] is repeated here so this ties the :nth-child rules above on
     specificity and wins by coming later. Without it the entry offset never
     resets and every card sits permanently shifted off the edge. */
  .team .member[data-reveal].is-visible,
  .works .work[data-reveal].is-visible,
  .focus-grid .focus[data-reveal].is-visible,
  .feat-grid .feat[data-reveal].is-visible { transform: none; }

  /* stat / goal tiles flip up from their lower edge */
  .stats .stat[data-reveal], .goal-grid .goal[data-reveal] {
    transform: perspective(700px) rotateX(-22deg) translateY(26px);
    transform-origin: bottom center;
  }
  .stats .stat.is-visible, .goal-grid .goal.is-visible { transform: none; }

  /* process steps sweep in from the left, one after another */
  .steps .step[data-reveal] { transform: translateX(-40px) scale(.97); }
  .steps .step.is-visible { transform: none; }

  /* ---- 3. tap feedback, since phones have no hover ---- */
  .card:active, .focus:active, .work:active, .member:active,
  .step:active, .goal:active, .stat:active, .donor:active {
    transform: scale(.975);
    transition: transform .12s ease;
  }
}

/* ---- 4. scroll-linked image motion (finger-driven, not fire-once) ----
   Progressive enhancement: browsers without scroll-driven animations simply
   keep the existing behaviour. */
@supports (animation-timeline: view()) {
  @media (max-width: 900px) {
    .work img,
    .split__media img,
    .van-media img,
    .tl-card figure img,
    .collage figure img {
      animation: mobKenBurns linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes mobKenBurns {
      from { transform: scale(1.14) translateY(-2.5%); }
      to   { transform: scale(1.02) translateY(2.5%); }
    }

    /* section headings drift up slightly as they cross the screen */
    .sec-head, .pull {
      animation: mobHeadDrift linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
    @keyframes mobHeadDrift {
      from { transform: translateY(22px); opacity: .55; }
      to   { transform: none; opacity: 1; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .work img, .split__media img, .van-media img,
  .tl-card figure img, .collage figure img,
  .sec-head, .pull { animation: none !important; }
}

/* ==========================================================================
   v5 — Content from the official trust brochure (Reg. IV-37/2022)
   President's message, stated objectives, endorsements, patron card, poem
   ========================================================================== */

:root { --f-hindi: "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif;
        --f-hindi-serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif; }

.hi { font-family: var(--f-hindi); }

/* ---------- Motto strip ---------- */
.motto {
  text-align: center; max-width: 46rem; margin: 0 auto;
}
.motto q {
  quotes: none; display: block;
  font-family: var(--f-hindi-serif); font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 1.6; color: var(--brand-deep); font-weight: 500;
}
.motto small {
  display: block; margin-top: .9rem; font-family: var(--f-display); font-weight: 700;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- President's message ---------- */
.prez { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.prez__card {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; text-align: center; box-shadow: var(--shadow);
}
.prez__card img { width: 100%; border-radius: var(--r); aspect-ratio: 1; object-fit: cover; object-position: top center; }
.prez__card b { display: block; margin-top: 1rem; font-family: var(--f-display); font-size: 1.12rem; color: var(--ink); }
.prez__card span { font-size: .84rem; color: var(--muted); }
.prez__card .tag {
  display: inline-block; margin-top: .8rem; font-family: var(--f-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep); background: rgba(18, 161, 80, .1);
  border: 1px solid rgba(18, 161, 80, .2); border-radius: 100px; padding: .3rem .8rem;
}
.prez__body p { margin-bottom: 1.05rem; }
.prez__body .pledge {
  background: var(--surface); border-left: 4px solid var(--green);
  border-radius: var(--r); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm);
  font-family: var(--f-display); font-size: 1.02rem; color: var(--ink); margin: 1.4rem 0;
}
.prez__sign {
  margin-top: 1.4rem; font-family: var(--f-display); font-weight: 700; color: var(--ink);
}
.prez__sign span { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); }

/* ---------- Stated objectives ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: obj; }
.obj {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem 1.4rem 1.4rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
}
.obj::before {
  counter-increment: obj; content: counter(obj, decimal-leading-zero);
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .65rem;
}
.obj:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.obj b { display: block; font-family: var(--f-display); font-size: 1rem; color: var(--ink); margin-bottom: .3rem; }
.obj span { font-size: .92rem; }
.obj .hi { display: block; margin-top: .5rem; font-size: .88rem; color: var(--muted); }

/* ---------- Endorsements ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.voice {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.voice::before {
  content: "”"; position: absolute; top: .3rem; right: 1.2rem;
  font-family: var(--f-display); font-size: 4.5rem; line-height: 1;
  color: rgba(18, 161, 80, .13);
}
.voice:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.voice p { font-size: .96rem; position: relative; }
.voice__who { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.voice__who img {
  width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 2px solid var(--surface); box-shadow: var(--shadow-sm); background: var(--surface-2);
}
.voice__who b { display: block; font-family: var(--f-display); font-size: .98rem; color: var(--ink); line-height: 1.25; }
.voice__who span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Patron card (sits above the team grid) ---------- */
.patron {
  display: grid; grid-template-columns: 132px 1fr; gap: 1.4rem; align-items: center;
  max-width: 620px; margin: 0 auto clamp(2rem, 4vw, 3rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.3rem 1.6rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.patron:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.patron img {
  width: 132px; height: 132px; border-radius: 26px; object-fit: cover; object-position: top center;
  background: var(--surface-2);
}
.patron .role {
  font-family: var(--f-display); font-weight: 700; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--saffron);
}
.patron b { display: block; font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); margin: .35rem 0 .2rem; }
.patron span { font-size: .9rem; }

/* ---------- Guruji's poem (biography page) ---------- */
.poem {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 92% 0%, rgba(255, 201, 60, .16), transparent 60%),
    linear-gradient(170deg, #fbfdfb 0%, #f0f7f2 100%);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  margin: 2.5rem 0;
}
.poem h3 {
  font-family: var(--f-hindi-serif); font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--green-deep); text-align: center; margin-bottom: .5rem; line-height: 1.45;
}
.poem .poem__label {
  display: block; text-align: center; font-family: var(--f-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.8rem;
}
.poem__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.poem__cols p {
  font-family: var(--f-hindi-serif); font-size: clamp(.98rem, 1.7vw, 1.08rem);
  line-height: 2.05; color: var(--navy); margin-bottom: 1.6rem;
}
.poem cite {
  display: block; text-align: center; margin-top: 1.4rem; font-style: normal;
  font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--saffron);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .prez { grid-template-columns: 1fr; }
  .prez__card { position: static; max-width: 340px; margin-inline: auto; }
  .voices { grid-template-columns: 1fr; }
  .poem__cols { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .obj-grid { grid-template-columns: 1fr; }
  .patron { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 1.5rem; }
  .patron img { width: 150px; height: 150px; }
}

/* ==========================================================================
   v6 — Language switch (English ⇄ हिंदी)
   Hindi lives in /hi/ as its own set of pages, so each language is a real
   URL that can be shared, bookmarked and indexed. The switch is just a link.
   ========================================================================== */

.lang {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--f-display); font-weight: 700; font-size: .8rem;
  padding: .5rem .85rem; border-radius: 100px;
  color: var(--brand-deep);
  background: rgba(255, 255, 255, .75);
  border: 1.5px solid rgba(15, 143, 77, .24);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap; margin-left: .5rem;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              transform .3s var(--ease), color .3s;
}
.lang:hover { transform: translateY(-2px); background: #fff; border-color: rgba(15, 143, 77, .5); }
.lang:active { transform: scale(.96); }
.lang svg { opacity: .75; }

/* on dark page heroes the pill needs to invert */
.phero .lang, .section--ink .lang, .section--night .lang {
  color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3);
}

/* the drawer gets its own full-width version */
.drawer .lang {
  margin: 0; justify-content: center; width: 100%; max-width: 20rem;
  padding: .7rem 1rem; font-size: .9rem;
}

/* Devanagari needs a little more line height than the Latin scale allows */
html[lang="hi"] body { font-family: "Noto Sans Devanagari", var(--f-body); line-height: 1.85; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3,
html[lang="hi"] h4, html[lang="hi"] h5 {
  font-family: "Noto Sans Devanagari", var(--f-display);
  line-height: 1.35; letter-spacing: -.01em;
}
html[lang="hi"] .hero h1 { line-height: 1.3; }
html[lang="hi"] .eyebrow, html[lang="hi"] .work__tag, html[lang="hi"] .pill,
html[lang="hi"] .tagline, html[lang="hi"] .stat span, html[lang="hi"] .goal span {
  letter-spacing: .06em;
}
html[lang="hi"] .h-xl { font-size: clamp(2rem, 5.2vw, 3.8rem); }
html[lang="hi"] .h-lg { font-size: clamp(1.7rem, 3.8vw, 2.8rem); }
/* the poem is Devanagari verse — give it the serif face and room to breathe */
html[lang="hi"] .poem h3 { font-family: "Tiro Devanagari Hindi", serif; }
html[lang="hi"] .poem__cols p { font-family: "Tiro Devanagari Hindi", serif; line-height: 2.1; }

/* the switch stays visible at every size — a Hindi reader must never have to
   open a menu to find it. It just gets tighter as the header does. */
@media (max-width: 1240px) {
  .header .lang { margin-left: .35rem; padding: .45rem .6rem; font-size: .74rem; gap: .25rem; }
  .header .lang svg { width: 13px; height: 13px; }
}
@media (max-width: 400px) {
  .header .lang { padding: .42rem .5rem; font-size: .7rem; }
  .header .brand img { width: 40px; height: 40px; }
  .brand-txt b { font-size: .98rem; }
}

/* the poem stays in Guruji's Hindi on the English page too, so the Devanagari
   serif has to apply by element language, not only by page language */
.poem h3[lang="hi"] { font-family: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; line-height: 1.5; }
.poem__cols[lang="hi"] p { font-family: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; line-height: 2.1; }
