/* Revanshi NGO — one stylesheet, mobile-first.
   Palette: the logo's blue / red / leaf green as brand colours, plus a "sunrise" set of our own:
   light royal blue for bold sections, marigold for highlights, warm cream for calm sections. */

:root {
  /* brand (from the logo) */
  --red: #d81c28;
  --red-dark: #a8111b;
  --red-tint: #fdeeee;
  --blue: #00509a;
  --blue-dark: #0b2b55;
  --blue-tint: #eaf2fb;
  --green: #0b6e38;          /* leaves, text-safe */
  --green-bright: #00a560;   /* decoration only */
  --green-light: #8cc63f;    /* rings */
  --leaf-tint: #ecf6ef;
  /* sunrise set */
  --night: #1a58a6;          /* hero, impact, footer: a light royal blue (22 Nov 2026: Sachin ji found the first navy too dark) */
  --night-2: #2470c4;
  --night-deep: #0f3f7d;     /* shading inside blue sections */
  --marigold: #f6a623;       /* highlights on dark backgrounds */
  --marigold-ink: #8f5400;   /* marigold that is readable on light backgrounds */
  --marigold-tint: #fff3dc;
  --cream: #fbf6ee;
  --sand: #f1e6d4;
  /* text */
  --ink: #14213d;
  --muted: #55617a;
  --line: #e6e0d6;
  --line-cool: #e3e9f1;
  --white: #fff;
  --draft-bg: #fff4c7;
  --draft-ink: #6b4e00;

  --grad-donate: linear-gradient(135deg, #e8323d 0%, var(--red) 45%, var(--red-dark) 100%);
  --grad-brand: linear-gradient(90deg, var(--blue) 0 33.3%, var(--red) 33.3% 66.6%, var(--green-bright) 66.6% 100%);

  --font-head: "Baloo 2", "Mukta", system-ui, sans-serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", "Nirmala UI", sans-serif;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 32px rgba(20, 33, 61, .07);
  --shadow-lift: 0 2px 6px rgba(20, 33, 61, .06), 0 24px 48px rgba(20, 33, 61, .14);
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* mobile bar */
  overflow-x: clip;
}
:lang(mr) body, body:lang(mr) { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; }
:lang(mr) h1, :lang(mr) h2, :lang(mr) h3 { line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--marigold); color: var(--night); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* highlighted words: *like this* in titles → marigold with a brush stroke */
.hl { font-style: normal; position: relative; white-space: nowrap; color: var(--red); z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: 1%; right: 1%; bottom: .02em; height: .14em; z-index: -1;
  background: var(--marigold); opacity: .55; border-radius: 999px; transform: rotate(-1deg);
}
:lang(mr) .hl { white-space: normal; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---------- preview / draft marks ---------- */
.preview-banner { background: var(--draft-bg); color: var(--draft-ink); font-size: .9rem; text-align: center; padding: 6px 16px; border-bottom: 1px dashed #e0b200; }
.draft-chip {
  display: inline-flex; align-items: center; gap: 6px; margin: .25rem 0 .75rem; padding: 2px 10px;
  font: 600 .75rem/1.6 var(--font-body); color: var(--draft-ink); background: var(--draft-bg);
  border: 1px dashed #e0b200; border-radius: 999px; letter-spacing: .01em; align-self: flex-start; width: fit-content;
}
mark.tbc { background: var(--draft-bg); color: var(--draft-ink); padding: 0 .3em; border-radius: 4px; font-size: .9em; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: .6em 1.4em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--grad-donate); color: #fff; box-shadow: 0 8px 22px rgba(216, 28, 40, .32); }
.btn--red::before { /* shine sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transition: transform .7s var(--ease);
}
.btn--red:hover::before { transform: translateX(110%); }
.btn--red:hover { box-shadow: 0 12px 28px rgba(216, 28, 40, .4); }
.btn--blue { background: var(--night); color: #fff; }
.btn--blue:hover { background: var(--blue); }
.btn--outline { border-color: currentColor; color: var(--night); background: transparent; }
.btn--outline:hover { background: var(--night); border-color: var(--night); color: #fff; }
.btn--ghost { color: var(--blue); padding-inline: .7em; }
.btn--ghost:hover { background: var(--blue-tint); }
.btn--white { background: #fff; color: var(--night); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--white:hover { background: var(--marigold); }
.btn--outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn--sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .7em 1.9em; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- top bar + header ---------- */
.topbar { display: none; background: var(--night-deep); color: #e3ebf7; font-size: .9rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a .ic { color: var(--marigold); }
.topbar a:hover { color: #fff; }
.topbar__tag { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--marigold); letter-spacing: .02em; }

/* no backdrop-filter here: it would trap the fixed mobile menu inside the header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s; }
.site-header::before { content: ""; display: block; height: 4px; background: var(--grad-brand); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 33, 61, .08); }
.header__in { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { width: 66px; height: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font: 800 1.4rem/1 var(--font-head); color: var(--blue); letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 419px) {
  .brand { gap: 8px; }
  .brand__mark { width: 54px; }
  .brand__name { font-size: 1.2rem; }
  .lang-switch { padding: 0 11px; }
}
.brand__name span { color: var(--red); }
.brand__sub { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-cool); color: var(--night); font-weight: 600; text-decoration: none; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--marigold); background: var(--marigold-tint); }
.header__donate { display: none; min-height: 54px; padding: .65em 1.8em; font-size: 1.1rem; font-weight: 700; letter-spacing: .01em; }
.header__donate .ic { width: 22px; height: 22px; }
.hero .btn--red { min-height: 60px; padding: .75em 2.2em; font-size: 1.15rem; font-weight: 700; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--night); color: #fff; cursor: pointer;
}
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline; }

/* mobile menu: full-height panel */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--cream); overflow-y: auto;
  padding: 8px var(--gutter) 32px; transform: translateX(100%); visibility: hidden;
  transition: transform .32s var(--ease), visibility 0s linear .32s;
}
.nav-open .nav { transform: none; visibility: visible; transition: transform .32s var(--ease); }
.nav-open { overflow: hidden; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__list a, .nav__sub summary {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 4px; color: var(--ink);
  text-decoration: none; font-size: 1.15rem; font-weight: 600; cursor: pointer; font-family: var(--font-head);
}
.nav__list a[aria-current="page"] { color: var(--red); }
.nav__sub summary { list-style: none; justify-content: space-between; }
.nav__sub summary::-webkit-details-marker { display: none; }
.nav__sub summary .ic { transition: transform .2s; }
.nav__sub details[open] summary .ic { transform: rotate(180deg); }
.nav__sub ul { padding: 0 0 8px 12px; }
.nav__sub ul a { min-height: 48px; font-weight: 500; color: var(--muted); font-family: var(--font-body); font-size: 1.05rem; }
.nav__sub ul a .ic { color: var(--red); }
.nav__extra { display: grid; gap: 12px; margin-top: 24px; }
.nav__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--first { padding-top: 40px; }
.section--cream { background: var(--cream); }
.section--leaf { background: var(--leaf-tint); }
.section--sky { background: var(--blue-tint); }
.section--dots { /* soft dotted texture */
  background-image: radial-gradient(rgba(20, 33, 61, .07) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.sec-head { max-width: 700px; margin-bottom: 44px; }
.sec-head p:last-child { color: var(--muted); margin-bottom: 0; font-size: 1.1rem; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: end; justify-content: space-between; }
.sec-head--row > div { max-width: 700px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: .7rem; font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
:lang(mr) .kicker { letter-spacing: .02em; font-size: .95rem; }
.kicker::before { /* a leaf, like the logo */
  content: ""; width: 20px; height: 11px; border-radius: 11px 0; background: var(--green-bright); transform: rotate(-24deg);
}
.lead { font-size: 1.18rem; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

/* ---------- placeholder photo ---------- */
.ph {
  --tone: var(--blue); --tint: var(--blue-tint);
  position: relative; display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .95) 0 16%, transparent 17%),
    radial-gradient(circle at 8% 112%, color-mix(in srgb, var(--tone) 18%, transparent) 0 38%, transparent 39%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--marigold) 22%, transparent) 0 22%, transparent 23%),
    linear-gradient(140deg, var(--tint), #fff 70%);
  color: var(--tone);
}
.ph--red { --tone: var(--red); --tint: var(--red-tint); }
.ph--green { --tone: var(--green); --tint: var(--leaf-tint); }
.ph--gold { --tone: var(--marigold-ink); --tint: var(--marigold-tint); }
.ph__ic { width: 56px; height: 56px; opacity: .5; stroke-width: 1.4; }
.ph__label { font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .9); padding: 2px 12px; border-radius: 999px; color: var(--muted); }

/* ---------- hero slider (night sky + sunrise) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 36px 0 64px; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(246, 166, 35, .22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(0, 165, 96, .22), transparent 70%),
    radial-gradient(ellipse 70% 80% at 30% 0%, rgba(80, 150, 230, .55), transparent 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 55%, var(--night-deep) 100%);
}
.hero::before { /* faint star dots */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero::after { /* cream dome rising into the next section */
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -1px; height: 56px; z-index: 1;
  background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero h1, .hero h2 { color: #fff; }
.hero .kicker { color: var(--marigold); }
.hero .lead { color: #e3ebf7; }
.hero .hl { color: var(--marigold); }
.hero .hl::after { background: linear-gradient(90deg, var(--red), var(--marigold)); opacity: .9; height: .09em; bottom: -.04em; }
.hero .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn--outline:hover { background: #fff; color: var(--night); border-color: #fff; }
.hero__slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide__grid { display: grid; gap: 36px; align-items: center; }
.slide__title { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4rem); font-weight: 800; margin-bottom: .35em; }
.slide .lead { max-width: 560px; }
/* text rises in when its slide becomes active */
.slide__text > * { transition: transform .8s var(--ease), opacity .8s var(--ease); }
.slide:not(.is-active) .slide__text > * { transform: translateY(18px); opacity: 0; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: .24s; }

.slide__media { position: relative; width: min(100%, 480px); margin-inline: auto; padding: 14px; }
.slide__media::before { /* sun rays behind the arch */
  content: ""; position: absolute; inset: -30% -30% -10%; z-index: -1;
  background: repeating-conic-gradient(from -90deg at 50% 60%, rgba(246, 166, 35, .16) 0 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle at 50% 60%, #000 20%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 60%, #000 20%, transparent 62%);
}
.slide__media::after { /* marigold outline arch */
  content: ""; position: absolute; inset: 0; border: 2px solid rgba(246, 166, 35, .7);
  border-radius: 999px 999px 36px 36px; pointer-events: none;
}
.hero .frame { border-radius: 999px 999px 26px 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hero .frame .ph, .hero .frame img { aspect-ratio: 4 / 4.2 !important; object-fit: cover; }
.slide.is-active .frame { animation: rise 1s var(--ease) both; }
@keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 899px) {
  .slide__media { width: min(100%, 320px); }
  .hero .frame .ph, .hero .frame img { aspect-ratio: 1 / 1 !important; }
}
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: #fff; }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); pointer-events: none; }
.frame__badge {
  position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  background: #fff; color: var(--red); font: 700 1rem/1 var(--font-head);
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.frame__badge::before { content: "♥"; color: var(--marigold); margin-right: 8px; }
.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 36px 8px; }
.hero__arrow {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hero__arrow:hover { background: var(--marigold); border-color: var(--marigold); color: var(--night); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .35s var(--ease), background-color .3s; }
.hero__dots button[aria-current="true"] { width: 36px; background: var(--marigold); }
.hero__dots button::after { content: ""; display: block; margin: -16px; width: 44px; height: 44px; } /* bigger tap area */

/* ---------- about ---------- */
.about { background: var(--cream); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; width: min(100%, 340px); margin-inline: auto; }
.about__media::before { /* marigold dot grid peeking out */
  content: ""; position: absolute; width: 55%; height: 55%; left: -8%; top: -6%; z-index: 0;
  background-image: radial-gradient(var(--marigold) 2px, transparent 2.2px); background-size: 16px 16px; opacity: .7;
}
.about__media::after { /* green blob behind */
  content: ""; position: absolute; width: 60%; height: 60%; right: -6%; bottom: -4%; z-index: 0;
  background: var(--green-light); opacity: .35; border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%;
}
.about__media > * { position: relative; z-index: 1; }
@media (min-width: 900px) { .about__media { width: 100%; max-width: 460px; } }
.frame--soft { border-radius: 40% 60% 46% 54% / 38% 40% 60% 62%; border: 6px solid #fff; }
.about__badge {
  position: absolute !important; right: -4px; bottom: 18px; z-index: 2 !important; display: grid; background: #fff; padding: 14px 18px;
  border-radius: var(--radius); box-shadow: var(--shadow-lift); border-left: 5px solid var(--red); max-width: 78%;
}
.about__badge strong { font-family: var(--font-head); color: var(--night); line-height: 1.2; }
.about__badge span { color: var(--muted); font-size: .9rem; }
.checks { display: grid; gap: 12px; margin: 1.3rem 0 .6rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 5px; width: 28px; height: 28px; margin-top: 0; box-shadow: 0 4px 10px rgba(11, 110, 56, .3); }

/* ---------- services ---------- */
.grid--services { counter-reset: svc; }
.service { padding: 30px 26px 24px; display: flex; flex-direction: column; overflow: hidden; counter-increment: svc; }
.service::before { /* big faded number */
  content: "0" counter(svc); position: absolute; right: 18px; top: 8px;
  font: 800 3.6rem/1 var(--font-head); color: var(--night); opacity: .05; transition: opacity .35s, transform .35s var(--ease);
}
.service::after { /* colour bar that grows on hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service:hover::before { opacity: .1; transform: translateY(-4px); }
.service p { color: var(--muted); flex: 1; }
.service__ic {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px 18px 18px 6px; margin-bottom: 18px;
  transition: transform .35s var(--ease);
}
.service:hover .service__ic { transform: rotate(-6deg) scale(1.06); }
.service__ic .ic { width: 28px; height: 28px; }
.tone-blue { background: linear-gradient(135deg, #1e6fc0, var(--blue)); color: #fff; box-shadow: 0 8px 18px rgba(0, 80, 154, .28); }
.tone-red { background: linear-gradient(135deg, #ef4b55, var(--red)); color: #fff; box-shadow: 0 8px 18px rgba(216, 28, 40, .28); }
.tone-green { background: linear-gradient(135deg, #1f9a55, var(--green)); color: #fff; box-shadow: 0 8px 18px rgba(11, 110, 56, .28); }
.tone-gold { background: linear-gradient(135deg, #ffc04d, #e08e00); color: var(--night); box-shadow: 0 8px 18px rgba(224, 142, 0, .3); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; align-self: flex-start; color: var(--night); }
.more .ic { transition: transform .25s var(--ease); color: var(--red); }
.more:hover { color: var(--red); }
.more:hover .ic { transform: translateX(4px); }

/* ---------- impact ---------- */
.impact {
  position: relative; overflow: hidden; color: #fff; padding-block: clamp(64px, 7vw, 104px); isolation: isolate;
  background:
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(246, 166, 35, .18), transparent 70%),
    radial-gradient(ellipse 45% 70% at 0% 100%, rgba(0, 165, 96, .2), transparent 70%),
    var(--night);
}
.impact::before { /* the logo's rings, large and faint */
  content: ""; position: absolute; width: 720px; height: 720px; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -1;
  border-radius: 50%; border: 1px solid rgba(140, 198, 63, .18);
  box-shadow: 0 0 0 60px rgba(140, 198, 63, .035), 0 0 0 140px rgba(140, 198, 63, .025), inset 0 0 0 80px rgba(255, 255, 255, .015);
}
.impact__title { color: #fff; text-align: center; margin-bottom: 40px; }
.impact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  text-align: center; display: grid; justify-items: center; align-content: start; padding: 26px 12px 22px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .3s, transform .35s var(--ease);
}
.stat:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.stat__ic { width: 38px; height: 38px; color: var(--marigold); margin-bottom: 10px; }
.stat__value { font: 800 clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem)/1 var(--font-head); margin: 0 0 8px; color: #fff; }
.stat__label { margin: 0; color: #e3ebf7; font-weight: 500; }
.impact .draft-chip { margin-top: 10px; margin-bottom: 0; }

/* ---------- projects ---------- */
.project { overflow: hidden; display: flex; flex-direction: column; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.project__media { position: relative; overflow: hidden; }
.project__media > * { transition: transform .8s var(--ease); }
.project:hover .project__media > * { transform: scale(1.05); }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project__body > p { color: var(--muted); flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta .ic { width: 16px; height: 16px; color: var(--red); }
.project__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* ---------- volunteer panel ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 96px); background: var(--cream); }
.cta-band__panel {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 166, 35, .55) 0 18%, transparent 45%),
    linear-gradient(125deg, var(--red-dark) 0%, var(--red) 55%, #e0423a 100%);
  box-shadow: 0 30px 60px rgba(168, 17, 27, .3);
}
.cta-band__panel::before { /* sun rays from the corner */
  content: ""; position: absolute; inset: -40% -20% -40% 40%; z-index: -1;
  background: repeating-conic-gradient(from 180deg at 100% 0%, rgba(255, 255, 255, .09) 0 4deg, transparent 4deg 12deg);
}
.cta-band__panel::after { /* soft rings */
  content: ""; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -130px; z-index: -1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 30px rgba(255, 255, 255, .05);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe3e3; margin: 0; max-width: 620px; font-size: 1.1rem; }
.cta-band__in { display: grid; gap: 8px; align-items: center; }
.cta-band .kicker { color: #fff; }
.cta-band .kicker::before { background: var(--marigold); }

/* ---------- press ---------- */
.press { overflow: hidden; display: flex; flex-direction: column; }
.press:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.press__body { padding: 18px 22px 22px; }
.press h3 { font-size: 1.12rem; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.partners li { display: grid; place-items: center; min-height: 100px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.partners li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partners img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners li:hover img { filter: none; opacity: 1; }
.partner-ph { color: #9a8f80; gap: 6px; font-weight: 600; font-size: .9rem; border-style: dashed !important; background: transparent !important; }
.partner-ph .ic { width: 30px; height: 30px; color: var(--marigold-ink); opacity: .6; }
.partners .partner-chip { grid-column: 1 / -1; min-height: 0; border: 0; padding: 0; background: none; }
.partners .partner-chip:hover { transform: none; box-shadow: none; }

/* ---------- inner pages ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 44px 0 76px;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgba(246, 166, 35, .22), transparent 70%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(0, 165, 96, .2), transparent 70%),
    var(--night);
}
.page-hero::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; z-index: -1; border-radius: 50%;
  border: 1px solid rgba(246, 166, 35, .35); box-shadow: 0 0 0 40px rgba(246, 166, 35, .05), 0 0 0 90px rgba(246, 166, 35, .03);
}
.page-hero::after {
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -1px; height: 44px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-hero h1 { margin-bottom: .25em; color: #fff; }
.page-hero .lead { max-width: 640px; margin: 0; color: #e3ebf7; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #d6e2f3; margin-bottom: 14px; }
.crumbs a { color: var(--marigold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 32px; border-radius: var(--radius);
  background: var(--leaf-tint); border: 1px solid #cfe8d7; color: #1e4d31;
}
.note .ic { color: var(--green); width: 26px; height: 26px; margin-top: 2px; }
.note p { margin: 0; }
.donate-box {
  display: grid; gap: 18px; align-items: center; justify-items: start; padding: clamp(28px, 4vw, 44px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.donate-box::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-donate); }
.donate-box h2 { margin-bottom: .2em; }
.donate-box p { margin: 0; color: var(--muted); }
.donate-box__ic { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--grad-donate); color: #fff; box-shadow: 0 10px 24px rgba(216, 28, 40, .3); }
.donate-box__ic .ic { width: 30px; height: 30px; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(.96); } 45% { transform: scale(1.08); } }
.way { padding: 28px 26px; text-decoration: none; color: inherit; overflow: hidden; }
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.way:hover .service__ic { transform: rotate(-6deg) scale(1.06); }
.way p { color: var(--muted); margin: 0; }

/* ---------- support band + footer ---------- */
.support-band { position: relative; z-index: 2; background: linear-gradient(180deg, #fff 50%, var(--night) 50%); }
.page-home .support-band { background: linear-gradient(180deg, var(--cream) 50%, var(--night) 50%); }
.support-band__in {
  display: grid; gap: 16px; align-items: center; justify-items: start; padding: 32px clamp(24px, 4vw, 48px);
  background: var(--marigold); color: var(--night); border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(10, 26, 54, .25);
  background-image: radial-gradient(circle at 0% 100%, rgba(255, 255, 255, .35) 0 18%, transparent 19%),
                    radial-gradient(circle at 100% 0%, rgba(216, 28, 40, .18) 0 22%, transparent 23%);
}
.support-band h2 { margin-bottom: .15em; color: var(--night); }
.support-band p { margin: 0; color: #3b2a07; font-weight: 500; }
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%); color: #e3ebf7; font-size: .97rem; }
.site-footer a { color: #e7eef8; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.footer__grid { display: grid; gap: 32px; padding-block: 56px 36px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 24px; padding: 12px 16px; }
.footer__logo img { width: 120px; }
.footer__legal { margin: 14px 0 0; font-size: .9rem; max-width: 280px; }
.footer__social { margin-top: 14px; }
.footer__h { color: #fff; font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer__h::before { content: ""; width: 16px; height: 9px; border-radius: 9px 0; background: var(--marigold); transform: rotate(-24deg); }
.footer__links { display: grid; gap: 8px; }
.footer__contact, .footer__offices { display: grid; gap: 12px; }
.footer__contact a, .footer__offices li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic, .footer__offices .ic { color: var(--marigold); margin-top: 3px; }
.footer__offices strong { color: #fff; font-weight: 600; }
.site-footer .draft-chip { margin-top: 12px; }
.footer__motto {
  position: relative; margin: 0; padding: 0 var(--gutter) 8px; text-align: center; white-space: nowrap; overflow: hidden;
  font: 800 clamp(2.4rem, 1rem + 6.5vw, 6.5rem)/1 var(--font-head); letter-spacing: -.02em;
  color: rgba(246, 166, 35, .09); user-select: none;
}
.footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer__bottom-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 18px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- mobile bottom bar ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.6fr;
  background: #fff; border-top: 1px solid var(--line-cool); box-shadow: 0 -6px 20px rgba(20, 33, 61, .08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; color: var(--night); font-weight: 600; font-size: .85rem; }
.mobilebar a .ic { width: 22px; height: 22px; }
.mobilebar a:nth-child(1) .ic { color: var(--blue); }
.mobilebar a:nth-child(2) .ic { color: #128c4a; }
.mobilebar__donate { background: var(--grad-donate); color: #fff !important; font-size: 1rem !important; font-weight: 700 !important; }
.mobilebar__donate .ic { width: 26px !important; height: 26px !important; }

/* ---------- reveal on scroll (only when JS adds .js-reveal) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- step 3 pages: about, team, gallery, timeline, forms, donate ---------- */
.wrap--narrow { max-width: 820px; }
.grid--2 { grid-template-columns: 1fr; }
.muted-note { color: var(--muted); font-size: .95rem; margin-top: 24px; }
.break { overflow-wrap: anywhere; }
.h3 { font-size: 1.35rem; }
.vm { padding: 28px 26px; }
.vm p { color: var(--muted); margin: 0; }
.vm .service__ic { margin-bottom: 14px; }

/* founder: big photo + story, like a magazine profile */
.founder__grid { display: grid; gap: 32px; align-items: center; }
.founder__photo { position: relative; max-width: 460px; }
.founder__photo::before { /* marigold sun behind the portrait */
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--radius-lg); z-index: 0;
  background: linear-gradient(135deg, var(--marigold), #ffd27a);
}
.founder__photo img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); aspect-ratio: 1 / 1; object-fit: cover; }
.founder__role { font-weight: 700; color: var(--marigold-ink); margin-top: -.3em; }
.founder__facts { display: grid; gap: 10px; margin-top: 18px; }
.founder__facts li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.founder__facts .ic { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--night); color: #fff; }

/* board */
.board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
.member { text-align: center; }
.member__face {
  width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--night-2), var(--night)); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--marigold), var(--shadow);
}
.member__face img { width: 100%; height: 100%; object-fit: cover; }
.member__initials { font: 800 2.4rem/1 var(--font-head); color: #fff; letter-spacing: .02em; }
.member h3 { font-size: 1.05rem; margin-bottom: .15em; }
.member p { margin: 0; color: var(--muted); font-size: .95rem; }

/* registrations */
.regs { display: grid; gap: 12px; margin: 0; }
.reg { display: grid; gap: 2px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--marigold); border-radius: 14px; }
.reg dt { font-weight: 700; color: var(--night); }
.reg dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

/* gallery + lightbox */
.gallery { columns: 2 220px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.shot a { display: block; overflow: hidden; }
.shot img { width: 100%; transition: transform .5s var(--ease); }
.shot a:hover img { transform: scale(1.04); }
.shot figcaption { padding: 10px 14px 12px; font-size: .92rem; color: var(--muted); }
.lightbox { width: min(1100px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: #0b1730; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 12, 28, .86); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lightbox figcaption { padding: 12px 18px 16px; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
}
.lightbox__close { top: 10px; right: 10px; }
.lightbox__nav { top: 40%; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--marigold); display: grid; gap: 28px; }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -36px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--marigold); }
.tl__date { font-weight: 700; color: var(--marigold-ink); margin-bottom: 8px; }
.tl__card { padding: 22px 24px; }
.tl__card p { color: var(--muted); }

/* WhatsApp forms */
.form-wrap { display: grid; gap: 32px; align-items: start; }
.wa-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); }
.wa-form label { display: grid; gap: 6px; font-weight: 600; }
.wa-form input, .wa-form select, .wa-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line-cool); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: 3px solid var(--marigold-tint); border-color: var(--marigold); }
.form-hint { font-size: .88rem; color: var(--muted); margin: 0; text-align: center; }
.offices { display: grid; gap: 18px; margin-top: 12px; }
.offices li { display: flex; gap: 12px; align-items: flex-start; }
.offices .ic { flex: none; color: var(--red); margin-top: 3px; }

/* donate page */
.btn--xl { min-height: 64px; padding: .8em 2.4em; font-size: 1.25rem; font-weight: 800; }
.btn--xl .ic { width: 26px; height: 26px; }
.donate-main { display: grid; gap: 32px; align-items: start; }
.donate-card { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(28px, 4vw, 44px); border-top: 6px solid var(--red); }
.donate-card p { color: var(--muted); margin: 0; }
.donate-info .note { margin: 16px 0 0; }

.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p { color: #2b3650; }

/* ---------- side drawer: contact + donate, opened from the button left of the logo (desktop) ---------- */
.drawer-btn {
  display: none; flex: none; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--blue-tint); color: var(--night); cursor: pointer; transition: background-color .2s;
}
.drawer-btn:hover { background: var(--marigold-tint); }
.drawer-btn__lines { display: grid; gap: 5px; width: 22px; }
.drawer-btn__lines i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: width .25s var(--ease); }
.drawer-btn__lines i:nth-child(2) { width: 70%; }
.drawer-btn__lines i:nth-child(3) { width: 85%; }
.drawer-btn:hover .drawer-btn__lines i { width: 100%; }
.drawer {
  position: fixed; inset: 0 auto 0 0; margin: 0; width: min(400px, 90vw); height: 100%; max-height: none; max-width: none;
  padding: 0; border: 0; background: var(--cream); color: var(--ink); box-shadow: 24px 0 60px rgba(10, 26, 54, .25);
  transform: translateX(-100%); transition: transform .38s var(--ease), overlay .38s allow-discrete, display .38s allow-discrete;
}
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(-100%); } }
.drawer::backdrop { background: rgba(10, 26, 54, .5); }
.drawer__in { position: relative; display: grid; align-content: start; gap: 22px; min-height: 100%; padding: 28px 30px 32px; border-top: 6px solid var(--marigold); }
.drawer__close {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
}
.drawer__close:hover { background: var(--marigold); }
.drawer__logo img { width: 96px; height: auto; }
.drawer__tag { margin: -10px 0 0; font: 700 1.05rem/1.3 var(--font-head); color: var(--marigold-ink); }
.drawer__group { display: grid; gap: 6px; }
.drawer__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__link { display: inline-flex; align-items: center; gap: 10px; color: var(--night); font-weight: 700; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.drawer__link .ic { flex: none; width: 20px; height: 20px; color: var(--red); }
.drawer__link:hover { color: var(--red); }
.drawer__link--plain { font-weight: 600; }
.drawer__social, .footer__social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.social {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--night);
  border: 1.5px solid var(--line-cool); background: #fff; transition: background-color .2s, color .2s, transform .2s;
}
.social:hover { background: var(--night); color: #fff; transform: translateY(-2px); }
.social .ic { width: 20px; height: 20px; }
.site-footer .social { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.site-footer .social:hover { background: var(--marigold); color: var(--night); }
.drawer__donate { margin-top: 6px; }
.nav__contact { display: grid; gap: 6px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-cool); }
.nav__contact .drawer__label:not(:first-child) { margin-top: 10px; }
.nav__contact .drawer__social { margin-top: 12px; }

/* ---------- inner page hero with a photo (Get Involved) ---------- */
.page-hero--photo { background: var(--night); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 64, 128, .96) 0%, rgba(26, 88, 166, .86) 48%, rgba(26, 88, 166, .3) 100%);
}
.page-hero__script {
  display: inline-block; margin: 0 0 .4em; padding: 4px 14px; border-radius: 999px; transform: rotate(-2deg);
  background: var(--marigold); color: var(--night); font: 800 1rem/1.3 var(--font-head);
}

/* ---------- Get Involved: action tiles + steps + role picker ---------- */
.paths { display: grid; gap: 22px; }
.path {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.path:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.path__art {
  --a: #2470c4; --b: #123f7a;
  position: relative; display: grid; place-items: center; height: 170px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.path__art::before { /* rings, like the logo */
  content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; z-index: -1;
  border: 1.5px solid rgba(255, 255, 255, .35); box-shadow: 0 0 0 26px rgba(255, 255, 255, .07), 0 0 0 58px rgba(255, 255, 255, .05);
}
.path__art::after { /* sunrise glow in the corner */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(246, 166, 35, .55), transparent 70%);
}
.path__art .ic { width: 68px; height: 68px; stroke-width: 1.4; transition: transform .4s var(--ease); }
.path:hover .path__art .ic { transform: scale(1.1) rotate(-4deg); }
.path--green .path__art { --a: #17a862; --b: #0b6e38; }
.path--gold .path__art { --a: #ffc451; --b: #d98200; color: var(--night); }
.path--red .path__art { --a: #ec3b45; --b: #a8111b; }
.path__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.path__body h3 { margin: 0; font-size: 1.3rem; }
.path__body p { margin: 0 0 6px; color: var(--muted); }
.path__body .btn { margin-top: auto; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 28px 24px 24px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps__n {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%;
  background: var(--marigold); color: var(--night); font: 800 1.5rem/1 var(--font-head); box-shadow: 0 0 0 6px var(--marigold-tint);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }

.roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.roles legend { width: 100%; margin-bottom: 8px; padding: 0; font-weight: 600; }
.role { position: relative; display: block; cursor: pointer; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600;
  border: 1.5px solid var(--line-cool); background: #fff; color: var(--night); transition: background-color .2s, color .2s, border-color .2s;
}
.role span .ic { width: 18px; height: 18px; }
.role input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.role input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.form-row { display: grid; gap: 16px; }
.form-side__photo { margin: 20px 0 0; }
.form-side__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lift); }

/* fewer cards than columns (live site hides unanswered items): centre them */
@media (min-width: 900px) {
  .grid--3:has(> :nth-child(2):last-child), .grid--4:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
  .grid--4:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; }
  .impact__grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
}

/* ================= larger screens ================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: repeat(3, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .impact__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobilebar { display: none; }
  .header__donate { display: inline-flex; }
  .brand__mark { width: 80px; }
  .topbar { display: block; }
  .cta-band__in { grid-template-columns: 1fr auto; gap: 32px; }
  .cta-band .btns { margin-top: 0; }
  .support-band__in { grid-template-columns: 1fr auto; justify-items: stretch; }
  .donate-box { grid-template-columns: auto 1fr auto; gap: 28px; }
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .hero { padding: 64px 0 80px; }
  .hero::after { height: 80px; }
  .slide__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .about__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .footer__grid { grid-template-columns: 1.1fr .8fr 1fr 1.3fr; gap: 40px; }
  .page-hero { padding: 72px 0 104px; }
  .page-hero::after { height: 64px; }
  .founder__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .board { grid-template-columns: repeat(4, 1fr); }
  .form-wrap { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .donate-main { grid-template-columns: 1fr 1fr; gap: 48px; }
  .regs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .paths { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1180px) {
  .nav-toggle, .nav__extra { display: none; }
  .drawer-btn { display: inline-grid; margin-right: 4px; }
  .nav {
    position: static; inset: auto; top: auto !important; transform: none; visibility: visible; overflow: visible; padding: 0;
    background: none; transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__list > li { border: 0; position: relative; }
  .nav__list a, .nav__sub summary { position: relative; min-height: 44px; padding: 0 8px; font: 600 1rem/1.2 var(--font-body); border-radius: 10px; gap: 4px; white-space: nowrap; }
  .nav__list > li > a::after, .nav__sub summary::after { /* underline that slides in */
    content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; border-radius: 2px;
    background: var(--marigold); transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav__list > li > a:hover::after, .nav__sub summary:hover::after { transform: scaleX(1); }
  .nav__list > li > a:hover, .nav__sub summary:hover { color: var(--blue); }
  .nav__list a[aria-current="page"] { color: var(--red); }
  .nav__list a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
  .nav__sub ul {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 8px; background: #fff;
    border: 1px solid var(--line-cool); border-radius: 16px; box-shadow: var(--shadow-lift);
  }
  .nav__sub ul a { min-height: 44px; color: var(--ink); }
  .nav__sub ul a::after { display: none; }
  .nav__sub ul a:hover { background: var(--marigold-tint); }
  .brand { margin-right: 12px; flex: none; }
  .brand__mark { width: 66px; }
  .brand__sub { display: none; } /* desktop: the bar is full with the drawer button + 8 links + big Donate; full name is in the footer */
  .nav { margin-right: auto; }
}

/* ================= colour themes (site.json "theme"; sunrise is the default above) ================= */
/* placeholder for a detail we are waiting for, in design screenshots (build.py --look) */
.fill { font-style: italic; opacity: .8; border-bottom: 1.5px dotted currentColor; padding: 0 .1em; }

/* forest: deep leaf green + marigold (the logo's leaves, "Gramvikas") */
[data-theme="forest"] { --night: #0c3322; --night-2: #124a31; --cream: #f6f4ea; --line: #e2e4d6; }
[data-theme="forest"] .hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(246, 166, 35, .24), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(140, 198, 63, .25), transparent 70%),
    radial-gradient(ellipse 70% 80% at 30% 0%, rgba(0, 165, 96, .35), transparent 70%),
    var(--night);
}
[data-theme="forest"] .hero .lead, [data-theme="forest"] .page-hero .lead, [data-theme="forest"] .topbar { color: #cfe0d4; }
[data-theme="forest"] .stat__label, [data-theme="forest"] .site-footer { color: #c3d8c9; }
[data-theme="forest"] .crumbs { color: #a9c4b1; }

/* sky: light and bright, blue headings, red + marigold accents */
[data-theme="sky"] { --night: #0b2b55; --cream: #f3f7fc; --line: #e3e9f1; }
[data-theme="sky"] .hero, [data-theme="sky"] .page-hero {
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 70% at 85% 25%, rgba(246, 166, 35, .18), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(140, 198, 63, .2), transparent 70%),
    linear-gradient(180deg, #e3eefa, #f7fafe);
}
[data-theme="sky"] .hero::before { background-image: radial-gradient(rgba(0, 80, 154, .14) 1px, transparent 1.2px); }
[data-theme="sky"] .hero h1, [data-theme="sky"] .hero h2, [data-theme="sky"] .page-hero h1 { color: var(--blue-dark); }
[data-theme="sky"] .hero .kicker { color: var(--red); }
[data-theme="sky"] .hero .lead, [data-theme="sky"] .page-hero .lead, [data-theme="sky"] .crumbs { color: var(--muted); }
[data-theme="sky"] .crumbs a { color: var(--blue); }
[data-theme="sky"] .hero .hl { color: var(--red); }
[data-theme="sky"] .hero .hl::after { background: var(--marigold); opacity: .6; }
[data-theme="sky"] .hero .btn--outline { color: var(--blue-dark); border-color: currentColor; }
[data-theme="sky"] .hero .btn--outline:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
[data-theme="sky"] .hero .frame { box-shadow: var(--shadow-lift); }
[data-theme="sky"] .slide__media::after { border-color: rgba(0, 80, 154, .3); }
[data-theme="sky"] .hero__arrow { border-color: var(--line); background: #fff; color: var(--blue-dark); }
[data-theme="sky"] .hero__arrow:hover { background: var(--marigold); border-color: var(--marigold); }
[data-theme="sky"] .hero__dots button { background: #c6d3e3; }
[data-theme="sky"] .hero__dots button[aria-current="true"] { background: var(--red); }
[data-theme="sky"] .page-hero::before { border-color: rgba(0, 80, 154, .2); box-shadow: 0 0 0 40px rgba(0, 80, 154, .04), 0 0 0 90px rgba(0, 80, 154, .025); }
[data-theme="sky"] .impact {
  background:
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(246, 166, 35, .22), transparent 70%),
    radial-gradient(ellipse 45% 70% at 0% 100%, rgba(140, 198, 63, .22), transparent 70%),
    linear-gradient(120deg, var(--blue-dark), var(--blue));
}
[data-theme="sky"] .stat__label { color: #d6e3f4; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .slide:not(.is-active) .slide__text > * { transform: none; }
}
