/* ==========================================================================
   Sunrise Foundation landing page
   Design tokens follow a fixed system: Tailwind type scale, a closed set of
   spacing steps, Tailwind radii and a single weighted easing curve.
   ========================================================================== */

/* Fonts: Poppins, self hosted. Devanagari files only load when ₹ appears. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-devanagari.woff2") format("woff2"); unicode-range: U+20A8, U+20B9; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-devanagari.woff2") format("woff2"); unicode-range: U+20A8, U+20B9; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-devanagari.woff2") format("woff2"); unicode-range: U+20A8, U+20B9; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-devanagari.woff2") format("woff2"); unicode-range: U+20A8, U+20B9; }

:root {
  color-scheme: light;

  /* Brand colours, sampled from the official logo */
  --bg: #FFFBF7;          /* logo cream */
  --surface: #FFFFFF;
  --sand: #FBF1E4;
  --sand-strong: #F6E4CC;
  --ink: #1C1712;
  --ink-2: #4A4038;
  --ink-3: #6B5F55;
  --line: #EADFD1;
  --line-strong: #DCCBB6;

  --sun: #F59A23;         /* logo rays */
  --sun-hover: #EB8B10;
  --sun-ink: #9A4A00;     /* orange text on light surfaces, 6:1 */
  --sun-soft: #FDEBD3;
  --leaf: #8DB02A;        /* logo horizon */
  --leaf-ink: #4B6612;
  --leaf-soft: #EDF3D9;

  --night: #131209;
  --night-2: #1F1F1F;
  --night-line: #313131;
  --on-night: #FFFBF7;
  --on-night-2: #CFC6BC;

  --danger: #B42318;
  --danger-soft: #FEECEB;

  /* Spacing: the only values allowed */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px;
  --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Radius: Tailwind steps */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px;
  --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d-fast: 300ms;
  --d-base: 500ms;
  --d-reveal: 700ms;

  --container: 1200px;
  --gutter: var(--s-200);
  --nav-h: 64px;

  --shadow-sm: 0 1px 2px rgba(28, 23, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 23, 18, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 23, 18, 0.12);
}

@media (min-width: 640px)  { :root { --gutter: var(--s-300); } }
@media (min-width: 1024px) { :root { --gutter: var(--s-400); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
/* Keep focused elements clear of the sticky donate bar on phones. */
@media (max-width: 1023px) { html { scroll-padding-bottom: var(--s-900); } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p, li, dd, figcaption { text-wrap: pretty; }
em, i { font-style: normal; }
::selection { background: var(--sun-soft); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--sun-ink); outline-offset: 2px; border-radius: var(--r-md); }
.section-night :focus-visible, .footer :focus-visible { outline-color: var(--sun); }
.section-night .form-card :focus-visible { outline-color: var(--sun-ink); }
.final-cta :focus-visible { outline-color: var(--ink); }

/* Without JavaScript the menu toggle cannot work, so show the donate button instead. */
.no-js .menu-toggle { display: none; }
.no-js .nav-cta { display: inline-flex; }

@media (forced-colors: active) {
  .hero h1 { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Type scale (Tailwind) ---------- */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 24px; height: 24px; }
.nowrap { white-space: nowrap; }
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }

.skip-link {
  position: fixed; top: var(--s-200); left: var(--s-200); z-index: 100;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  background: var(--ink); color: var(--bg); font-weight: 600;
  transform: translateY(-200%); transition: transform var(--d-base) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-bd: var(--sun);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  min-height: var(--s-600);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-base) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--sun-hover); --btn-bd: var(--sun-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(235, 139, 16, 0.28); }
.btn:active { transform: scale(0.98); box-shadow: none; }
.btn .icon { transition: transform var(--d-base) var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:focus-visible { outline-offset: 3px; border-radius: var(--r-full); }

.btn-sm { min-height: 40px; padding: var(--s-75) var(--s-100); font-size: 0.875rem; line-height: 1.25rem; }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-bd: var(--ink); }
.btn-dark:hover { --btn-bg: #000; --btn-bd: #000; box-shadow: var(--shadow-md); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink-3); box-shadow: none; }
.btn-on-night { --btn-bg: transparent; --btn-fg: var(--on-night); --btn-bd: var(--night-line); }
.btn-on-night:hover { --btn-bg: var(--night-2); --btn-bd: var(--on-night-2); box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: var(--s-50);
  color: var(--sun-ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(154, 74, 0, 0.3); text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: text-decoration-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; inset: var(--s-200) 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: var(--s-200); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  width: 100%; max-width: 1040px;
  min-height: var(--nav-h);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  border: 1px solid rgba(234, 223, 209, 0.9);
  background: rgba(255, 251, 247, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-md); background: rgba(255, 251, 247, 0.86); }
.brand { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; margin-right: auto; border-radius: var(--r-lg); }
.brand img { width: 47px; height: 28px; }
.brand span { white-space: nowrap; }

.nav-links { display: none; align-items: center; gap: var(--s-50); }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(246, 228, 204, 0.6); }
.nav-links a[aria-current="true"], .nav-links a[aria-current="page"] { color: var(--ink); background: var(--sand-strong); }

.nav-cta { display: none; }

.menu-toggle {
  position: relative; width: var(--s-600); height: var(--s-600); border-radius: var(--r-full);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--d-fast) var(--ease);
}
.menu-toggle:hover { background: var(--sand); }
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: var(--r-full); background: var(--ink);
  transition: transform var(--d-base) var(--ease), opacity var(--d-fast) var(--ease);
}
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { width: auto; gap: var(--s-400); }
  .nav-links, .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu: full height panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + var(--s-600)) var(--s-300) var(--s-400);
  background: rgba(255, 251, 247, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--d-base) var(--ease), visibility 0s linear var(--d-base);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--d-base) var(--ease), visibility 0s; }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--s-75); }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu a.mm-link { display: flex; align-items: center; justify-content: space-between; padding: var(--s-100) 0; font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.mm-link { transition: color var(--d-fast) var(--ease), transform var(--d-base) var(--ease); }
.mobile-menu a.mm-link:hover, .mobile-menu a.mm-link[aria-current] { color: var(--sun-ink); }
.mobile-menu a.mm-link:active { transform: translateY(1px); }
.mobile-menu a.mm-link .icon { color: var(--ink-3); transition: transform var(--d-base) var(--ease); }
.mobile-menu a.mm-link[aria-current] .icon { color: var(--sun); }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: var(--s-200); opacity: 0; transform: translateY(24px); transition: opacity var(--d-base) var(--ease) 300ms, transform var(--d-base) var(--ease) 300ms; }
.mobile-menu.is-open .mm-foot { opacity: 1; transform: none; }
.mm-contact { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.mm-contact a { display: inline-flex; align-items: center; gap: var(--s-75); min-height: 40px; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-800); }
@media (min-width: 1024px) { .section { padding-block: var(--s-900); } }
.section-sand { background: var(--sand); }
.section-night { background: var(--night); color: var(--on-night); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--sun-ink);
  letter-spacing: 0.02em;
}
.eyebrow .icon { color: var(--sun); }
.section-night .eyebrow { color: var(--sun); }

.section-head { max-width: 680px; margin-bottom: var(--s-600); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--s-100); font-size: 1.875rem; line-height: 2.25rem; }
.section-head p { margin-top: var(--s-200); color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.section-night .section-head p { color: var(--on-night-2); }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .section-head h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.02em; } }
.section-head .eyebrow + h2 { text-wrap: balance; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + var(--s-700)); padding-bottom: var(--s-700); overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-top: calc(var(--nav-h) + var(--s-800)); padding-bottom: var(--s-800); } }
.hero-grid { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-700); } }

.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  max-width: 680px; margin-top: var(--s-200);
  font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em;
  background-color: var(--ink);
  background-image: linear-gradient(90deg, #000000 0%, #666666 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: var(--s-75);
}
@media (min-width: 640px)  { .hero h1 { font-size: 3rem; line-height: 1; } }
@media (min-width: 1280px) { .hero h1 { font-size: 3.75rem; line-height: 1; } }
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200) var(--s-300); margin-top: var(--s-400); }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-400); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s-75);
  min-height: 36px; padding: var(--s-50) var(--s-100);
  border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); font-weight: 500;
}
.chip .icon { color: var(--leaf-ink); }
@media (max-width: 479px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-600)); }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; margin-top: var(--s-200); }
  .hero-actions { margin-top: var(--s-300); }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s-300); }
  .hero-proof .chip { min-height: 32px; padding: var(--s-50) var(--s-75); font-size: 0.75rem; line-height: 1rem; gap: var(--s-50); }
}

/* Hero visual: photo collage with sunrise motif */
.hero-visual { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
@media (min-width: 1024px) { .hero-visual { margin-right: 0; } }
.hero-photo {
  position: relative; overflow: hidden;
  width: 80%; margin-left: auto;
  border-radius: var(--r-3xl); background: var(--sand);
  aspect-ratio: 361 / 466;
  box-shadow: var(--shadow-lg);
}
.hero-photo img, .hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile {
  position: absolute; left: 0; bottom: var(--s-600);
  width: 42%; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--r-2xl); background: var(--sand);
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-md);
}
.photo-credit { margin-top: var(--s-100); text-align: right; font-size: 0.75rem; line-height: 1rem; color: var(--ink-3); }
.hero-visual { isolation: isolate; }
.hero-rays { position: absolute; z-index: -1; width: 150%; height: auto; aspect-ratio: 1; left: 50%; top: 46%; transform: translate(-45%, -50%); color: var(--sun); opacity: 0.2; pointer-events: none; }
.hero-card {
  position: absolute; left: 0; top: var(--s-400);
  display: flex; align-items: center; gap: var(--s-100);
  box-shadow: var(--shadow-md);
  padding: var(--s-100) var(--s-200);
  border-radius: var(--r-2xl);
  background: rgba(255, 251, 247, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2);
}
.hero-card > span:last-child { text-wrap: pretty; }
.hero-card strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
.hero-card .badge { flex: none; width: var(--s-500); height: var(--s-500); border-radius: var(--r-full); background: var(--sun-soft); color: var(--sun-ink); display: grid; place-items: center; }

/* Horizon arc motif (logo) */
.horizon { display: block; width: 100%; height: 24px; color: var(--leaf); }

/* ---------- Donation picker ---------- */
.donate-grid { display: grid; gap: var(--s-600); align-items: start; }
@media (min-width: 1024px) { .donate-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-700); } }
.donate-aside h2 { margin-top: var(--s-100); font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .donate-aside h2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .donate-aside h2 { font-size: 3rem; line-height: 1; letter-spacing: -0.02em; } .donate-aside { position: sticky; top: var(--s-900); } }
.donate-aside > p { margin-top: var(--s-200); color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.assurances { display: grid; gap: var(--s-200); margin-top: var(--s-400); }
.assurances li { display: flex; gap: var(--s-100); color: var(--ink-2); }
.assurances .icon { margin-top: 2px; color: var(--leaf-ink); }
.assurances strong { color: var(--ink); font-weight: 600; }

.donate-card {
  border-radius: var(--r-3xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: var(--s-300);
}
@media (min-width: 640px) { .donate-card { padding: var(--s-400); } }
.donate-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.donate-card legend { padding: 0; font-weight: 600; font-size: 1.25rem; line-height: 1.75rem; }
.donate-card .legend-note { margin-top: var(--s-50); color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }

.gift-options { display: grid; gap: var(--s-100); margin-top: var(--s-300); }
.gift { position: relative; display: block; }
.gift input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gift-body {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s-200);
  padding: var(--s-200);
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease), transform var(--d-base) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.gift:hover .gift-body { border-color: var(--line-strong); transform: translateY(-1px); }
.gift input:active + .gift-body { transform: scale(0.99); }
.gift input:checked + .gift-body { border-color: var(--sun-ink); background: #FFF6EA; box-shadow: 0 0 0 1px var(--sun-ink); }
.gift input:focus-visible + .gift-body { outline: 2px solid var(--sun-ink); outline-offset: 2px; }
.gift-icon { width: var(--s-600); height: var(--s-600); border-radius: var(--r-xl); display: grid; place-items: center; background: var(--sun-soft); color: var(--sun-ink); }
.gift-icon .icon { width: 24px; height: 24px; }
.gift-title { display: block; font-weight: 600; line-height: 1.5rem; text-wrap: balance; }
.gift-desc { display: block; margin-top: var(--s-25); color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; text-wrap: pretty; }
.gift-check {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--sun); color: var(--ink);
  opacity: 0; transform: scale(0.6);
  transition: opacity var(--d-fast) var(--ease), transform var(--d-base) var(--ease);
}
.gift-check .icon { width: 14px; height: 14px; }
.gift input:checked ~ .gift-check { opacity: 1; transform: scale(1); }

.custom-amount { margin-top: var(--s-200); }
.custom-amount[hidden] { display: none; }
.field-label { display: block; font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; margin-bottom: var(--s-75); }
.input-wrap { position: relative; }
.input-wrap .prefix { position: absolute; left: var(--s-200); top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--ink-2); pointer-events: none; }
.input {
  width: 100%; min-height: var(--s-600);
  padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 1rem; line-height: 1.5rem;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.input-wrap .input { padding-left: var(--s-500); font-weight: 600; font-size: 1.125rem; line-height: 1.75rem; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--sun-ink); box-shadow: 0 0 0 3px rgba(245, 154, 35, 0.25); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }
.input[aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.35); outline: 2px solid var(--danger); outline-offset: 2px; }
textarea.input { min-height: 120px; resize: vertical; }
.field-hint { margin-top: var(--s-75); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }
.field-error { display: flex; gap: var(--s-75); align-items: flex-start; margin-top: var(--s-75); font-size: 0.875rem; line-height: 1.25rem; color: var(--danger); font-weight: 500; }
.field-error .icon { margin-top: 2px; }

.donate-summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-200);
  margin-top: var(--s-300); padding-top: var(--s-300);
  border-top: 1px solid var(--line);
}
.donate-summary .label { color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }
.donate-summary .value { font-weight: 600; font-size: 1.5rem; line-height: 2rem; text-align: right; }
.donate-summary .what { font-weight: 500; margin-top: var(--s-25); }
.donate-card .btn-block { margin-top: var(--s-300); }
.donate-note { display: flex; gap: var(--s-75); margin-top: var(--s-200); color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }
.donate-note .icon { margin-top: 2px; color: var(--leaf-ink); }

.handoff {
  display: flex; gap: var(--s-100); align-items: flex-start;
  margin-top: var(--s-200); padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl); background: var(--leaf-soft); color: var(--leaf-ink);
  font-size: 0.875rem; line-height: 1.25rem;
}
.handoff .icon { margin-top: 2px; }
.handoff strong { color: var(--ink); font-weight: 600; }
.handoff-actions { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); margin-top: var(--s-75); }
.copy-btn { display: inline-flex; align-items: center; gap: var(--s-50); font-weight: 600; color: var(--leaf-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; transition: color var(--d-fast) var(--ease), transform var(--d-base) var(--ease); }
.copy-btn:hover { color: var(--ink); }
.copy-btn:active { transform: translateY(1px); }

.alt-ways { margin-top: var(--s-300); padding-top: var(--s-300); border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75) var(--s-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }

/* Donation steps, amount chips, bank panel */
.donate-card legend { display: flex; align-items: center; gap: var(--s-75); }
.step-dot {
  flex: none; display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: var(--r-full);
  background: var(--ink); color: var(--bg);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
}
.purpose-set { margin-top: var(--s-400) !important; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-75); margin-top: var(--s-200); }
@media (min-width: 560px) { .amounts { grid-template-columns: repeat(5, 1fr); } }
.amount { position: relative; display: block; }
.amount input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount span {
  display: flex; align-items: center; justify-content: center;
  min-height: var(--s-600); padding: var(--s-75) var(--s-100);
  border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--bg);
  font-weight: 600; font-size: 1.125rem; line-height: 1.75rem;
  transition: border-color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease), transform var(--d-base) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.amount:hover span { border-color: var(--line-strong); transform: translateY(-1px); }
.amount input:active + span { transform: scale(0.98); }
.amount input:checked + span { border-color: var(--sun-ink); background: #FFF6EA; box-shadow: 0 0 0 1px var(--sun-ink); color: var(--sun-ink); }
.amount input:focus-visible + span { outline: 2px solid var(--sun-ink); outline-offset: 2px; }
.legend-note:empty { display: none; }
.donate-card .legend-note { margin-top: var(--s-100); }

.give-panel {
  margin-top: var(--s-300); padding: var(--s-300);
  border-radius: var(--r-2xl); border: 1px solid var(--line); background: var(--bg);
}
.give-panel:focus { outline: none; }
.give-panel.is-open { animation: faq-in var(--d-base) var(--ease); }
.give-head { display: flex; gap: var(--s-100); align-items: flex-start; }
.give-head .step-dot { margin-top: var(--s-50); }
.give-head h3 { font-size: 1.25rem; line-height: 1.75rem; }
.give-head p { margin-top: var(--s-50); color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }
.bank-rows { display: grid; gap: var(--s-75); margin-top: var(--s-200); }
.bank-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-75) var(--s-200);
  padding: var(--s-100) var(--s-200);
  border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface);
}
.bank-row dt { color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }
.bank-row dd { display: flex; align-items: center; gap: var(--s-75); font-weight: 600; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.copy-chip {
  display: inline-flex; align-items: center; gap: var(--s-50);
  min-height: 32px; padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full); border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--ink-2);
  transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-base) var(--ease);
}
.copy-chip:hover { background: var(--sand); border-color: var(--ink-3); color: var(--ink); }
.copy-chip:active { transform: scale(0.98); }
.copy-chip.is-copied { background: var(--leaf-soft); border-color: var(--leaf); color: var(--leaf-ink); }
.upi-row { margin-top: var(--s-200); }
.upi-row .field-hint { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75); }
.after-transfer { margin-top: var(--s-300); padding-top: var(--s-300); border-top: 1px dashed var(--line-strong); }
.after-transfer p { color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.after-transfer p strong { color: var(--ink); font-weight: 600; }
.after-transfer .btn { margin-top: var(--s-100); }
.cheque { margin-top: var(--s-200); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.cheque summary { display: flex; align-items: center; gap: var(--s-75); min-height: var(--s-600); padding: var(--s-75) var(--s-200); cursor: pointer; list-style: none; font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; border-radius: var(--r-xl); }
.cheque summary::-webkit-details-marker { display: none; }
.cheque p, .cheque address { padding: 0 var(--s-200); color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; font-style: normal; }
.cheque address { padding-bottom: var(--s-200); margin-top: var(--s-75); color: var(--ink); font-weight: 500; }
.verify-note { display: flex; gap: var(--s-75); margin-top: var(--s-200); color: var(--ink-3); font-size: 0.75rem; line-height: 1rem; }
.verify-note .icon { margin-top: 1px; }
.verify-note .link { font-size: inherit; }

/* Enquiry on the dark contact section */
.enquire-title { font-size: 1.5rem; line-height: 2rem; color: var(--on-night); }
.enquire-sub { margin-top: var(--s-100); color: var(--on-night-2); max-width: 420px; }
.section-night .form-card { color: var(--ink); }

/* ---------- Tagline reveal ---------- */
.tagline { padding-block: var(--s-900); }

.tagline-text {
  max-width: 680px; margin-inline: auto;
  font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em;
  text-align: center;
}
@media (min-width: 768px)  { .tagline-text { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .tagline-text { font-size: 3.75rem; line-height: 1; } }
.tagline-text .w { display: inline; transition: opacity var(--d-base) var(--ease); }
.js .tagline-text .w { opacity: 0.3; }
.js .tagline-text .w.on { opacity: 1; }
.tagline-text .w.accent { color: var(--sun); }
.tagline-foot { margin-top: var(--s-500); display: flex; justify-content: center; }

/* ---------- Mission / about ---------- */
.about-grid { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--s-800); } }
.about-photos { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-200); }
.about-photos figure { overflow: hidden; border-radius: var(--r-3xl); background: var(--sand); }
.about-photos figure:nth-child(1) { grid-column: 1; grid-row: 1; aspect-ratio: 322 / 342; }
.about-photos figure:nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 2 / 1; }
.about-photos figure:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-300) var(--s-200);
  margin-top: var(--s-700); padding-top: var(--s-400);
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stats dt { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); font-weight: 500; }
.stats dd { margin-top: var(--s-50); font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .stats dd { font-size: 2.25rem; line-height: 2.5rem; } }
.about-copy h2 { margin-top: var(--s-100); font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .about-copy h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.about-copy .prose { margin-top: var(--s-300); display: grid; gap: var(--s-200); color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.quote {
  margin-top: var(--s-400); padding: var(--s-300);
  border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
}
.quote p { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); }
.quote cite { display: block; margin-top: var(--s-100); font-style: normal; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }

/* ---------- Causes ---------- */
.cards { display: grid; gap: var(--s-300); }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--d-base) var(--ease), box-shadow var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-reveal) var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-300); flex: 1; }
.card-icon { width: var(--s-600); height: var(--s-600); border-radius: var(--r-xl); display: grid; place-items: center; background: var(--sun-soft); color: var(--sun-ink); }
.card-icon.leaf { background: var(--leaf-soft); color: var(--leaf-ink); }
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; line-height: 1.75rem; }
.card p { color: var(--ink-2); }
.card .card-foot { margin-top: auto; padding-top: var(--s-200); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-300); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: var(--s-500); height: var(--s-500); border-radius: var(--r-full); background: var(--ink); color: var(--bg); font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; }
.step h3 { margin-top: var(--s-200); font-size: 1.25rem; line-height: 1.75rem; }
.step p { margin-top: var(--s-75); color: var(--ink-2); }

/* ---------- Trust / contact ---------- */
.trust-grid { display: grid; gap: var(--s-300); }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { padding: var(--s-300); border-radius: var(--r-3xl); border: 1px solid var(--night-line); background: var(--night-2); }
.trust-item .card-icon { background: rgba(245, 154, 35, 0.14); color: var(--sun); }
.trust-item h3 { margin-top: var(--s-200); font-size: 1.125rem; line-height: 1.75rem; }
.trust-item p, .trust-item address { margin-top: var(--s-75); color: var(--on-night-2); font-style: normal; }
.trust-item a:not(.btn) { color: var(--on-night); text-decoration: underline; text-decoration-color: rgba(255, 251, 247, 0.3); text-underline-offset: 4px; transition: text-decoration-color var(--d-fast) var(--ease); }
.trust-item a:not(.btn):hover { text-decoration-color: currentColor; }
.trust-item .stack { display: grid; gap: var(--s-75); margin-top: var(--s-100); }
.trust-item .stack a { display: inline-flex; align-items: center; gap: var(--s-75); min-height: 32px; }

/* ---------- Enquiry ---------- */
.enquire-grid { display: grid; gap: var(--s-600); }
@media (min-width: 1024px) { .enquire-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-700); } }
.form-card { padding: var(--s-300); border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
@media (min-width: 640px) { .form-card { padding: var(--s-400); } }
.form-grid { display: grid; gap: var(--s-300); }
@media (min-width: 640px) { .form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); } }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); align-items: center; }
.form-status {
  display: flex; gap: var(--s-75); align-items: flex-start;
  padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  font-size: 0.875rem; line-height: 1.25rem;
}
.form-status.ok { background: var(--leaf-soft); color: var(--leaf-ink); }
.form-status.err { background: var(--danger-soft); color: var(--danger); }
.form-status .icon { margin-top: 2px; }
.req { color: var(--sun-ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s-600); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-700); } .faq-grid .section-head { position: sticky; top: var(--s-900); align-self: start; } }
.faq { display: grid; gap: var(--s-100); }
.faq details { border-radius: var(--r-2xl); border: 1px solid var(--line); background: var(--surface); transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); min-height: 56px;
  font-weight: 600; font-size: 1rem; line-height: 1.5rem; text-wrap: balance;
  border-radius: var(--r-2xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: var(--s-400); height: var(--s-400); border-radius: var(--r-full); display: grid; place-items: center; background: var(--sand); transition: transform var(--d-base) var(--ease), background-color var(--d-fast) var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--sun-soft); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--ink-2); }
.faq .answer p + p { margin-top: var(--s-100); }
.faq details[open] .answer { animation: faq-in var(--d-base) var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .inner {
  position: relative; overflow: hidden;
  padding: var(--s-700) var(--s-300);
  border-radius: var(--r-3xl);
  background: var(--sun);
  color: var(--ink);
}
@media (min-width: 768px) { .final-cta .inner { padding: var(--s-900) var(--s-700); } }
.final-cta .rays { position: absolute; width: 640px; height: 640px; left: 50%; bottom: -430px; transform: translateX(-50%); color: #FFFFFF; opacity: 0.2; pointer-events: none; }
.final-cta h2 { position: relative; max-width: 680px; margin-inline: auto; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .final-cta h2 { font-size: 3rem; line-height: 1; } }
.final-cta p { position: relative; max-width: 560px; margin: var(--s-200) auto 0; font-size: 1.125rem; line-height: 1.75rem; color: #3A2A14; }
.final-cta .actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100); margin-top: var(--s-400); }
.final-cta .btn-ghost { --btn-bd: rgba(28, 23, 18, 0.35); }
.final-cta .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.35); --btn-bd: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-2); padding-top: var(--s-800); padding-bottom: var(--s-400); font-size: 0.875rem; line-height: 1.25rem; }
.footer-grid { display: grid; gap: var(--s-500); }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: var(--s-100); color: var(--on-night); font-weight: 600; font-size: 1rem; line-height: 1.5rem; }
.footer-brand .badge { width: var(--s-600); height: var(--s-600); border-radius: var(--r-full); background: var(--bg); display: grid; place-items: center; }
.footer-brand .badge img { width: 36px; height: 22px; }
.footer p { margin-top: var(--s-200); max-width: 360px; }
.footer h2 { color: var(--on-night); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.footer ul { display: grid; gap: var(--s-75); margin-top: var(--s-200); }
.footer a { display: inline-flex; align-items: center; gap: var(--s-75); min-height: 32px; transition: color var(--d-fast) var(--ease); }
.footer a:hover { color: var(--on-night); }
.socials { display: flex; gap: var(--s-75); margin-top: var(--s-300); }
.socials a { width: 44px; height: 44px; justify-content: center; border-radius: var(--r-full); border: 1px solid var(--night-line); transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-base) var(--ease); }
.socials a:hover { background: var(--night-2); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); margin-top: var(--s-700); padding-top: var(--s-300); border-top: 1px solid var(--night-line); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-300); }
.footer-bottom nav a[aria-current="page"] { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.on-night { color: var(--on-night); font-weight: 600; }

/* ---------- Sticky mobile donate bar ---------- */
.sticky-donate {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: var(--s-200);
  padding: var(--s-100) var(--s-200) calc(var(--s-100) + env(safe-area-inset-bottom));
  background: rgba(255, 251, 247, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--d-base) var(--ease), visibility 0s linear var(--d-base);
}
.sticky-donate.is-visible { transform: none; visibility: visible; transition: transform var(--d-base) var(--ease), visibility 0s; }
.sticky-donate .txt { flex: 1; min-width: 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.sticky-donate .txt strong { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) { .sticky-donate { display: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--d-reveal) var(--ease), transform var(--d-reveal) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 80ms; }
.js .reveal-d2 { transition-delay: 160ms; }
.js .reveal-d3 { transition-delay: 240ms; }

/* Image skeleton while loading */
.skeleton { background-color: var(--sand); }
.js .skeleton img { opacity: 0; transition: opacity var(--d-base) var(--ease); }
.js .skeleton img.is-loaded { opacity: 1; }
.js .skeleton:not(.is-ready) { animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* ---------- Simple pages (legal, 404) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + var(--s-800)); padding-bottom: var(--s-600); }
.page-hero h1 { max-width: 680px; font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; margin-top: var(--s-100); }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; line-height: 1; } }
.page-hero p { max-width: 680px; margin-top: var(--s-200); color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.legal { max-width: 720px; padding-bottom: var(--s-900); }
.legal h2 { margin-top: var(--s-500); font-size: 1.5rem; line-height: 2rem; }
.legal p, .legal ul { margin-top: var(--s-200); color: var(--ink-2); }
.legal ul { padding-left: var(--s-300); display: grid; gap: var(--s-75); }
.legal a { color: var(--sun-ink); text-decoration: underline; text-underline-offset: 3px; }

.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + var(--s-700)) var(--gutter) var(--s-700); }
.notfound .mark { width: 160px; margin-inline: auto; }
.notfound h1 { margin-top: var(--s-300); font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .notfound h1 { font-size: 3rem; line-height: 1; } }
.notfound p { max-width: 520px; margin: var(--s-200) auto 0; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100); margin-top: var(--s-400); }

/* ---------- Reduced motion: keep fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; }
  .mobile-menu li, .mobile-menu .mm-foot { transform: none; }
  .btn:hover, .card:hover, .gift:hover .gift-body, .socials a:hover { transform: none; }
  .card:hover .card-media img { transform: none; }
  .btn:hover .icon-arrow { transform: none; }
  .js .skeleton:not(.is-ready) { animation: none; }
  .faq details[open] .answer { animation: none; }
  .faq details[open] summary .plus { transform: none; }
  .give-panel.is-open { animation: none; }
  .amount:hover span, .amount input:active + span, .gift input:active + .gift-body { transform: none; }
  .gift-check, .gift input:checked ~ .gift-check { transform: none; }
  .copy-btn:active, .copy-chip:active, .mobile-menu a.mm-link:active, .btn:active { transform: none; }
  .sticky-donate { transition: opacity var(--d-base) var(--ease), visibility 0s linear var(--d-base); transform: none; opacity: 0; }
  .sticky-donate.is-visible { opacity: 1; transition: opacity var(--d-base) var(--ease), visibility 0s; }
}

/* ---------- Print ---------- */
@media print {
  .nav-wrap, .mobile-menu, .sticky-donate, .hero-rays, .final-cta .rays { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}
