/* ==========================================================================
   Friends of Molokaʻi High & Middle Schools Foundation
   One stylesheet for the whole site. Colours and type sizes are variables
   right below, so the look can be adjusted in one place.
   Greens come from the Foundation seal (the kukui leaf, Molokaʻi's lei).
   ========================================================================== */

:root {
  /* colour */
  --paper: #fbfaf6;          /* page background, warm white */
  --sand: #f3efe4;           /* alternate section background */
  --white: #ffffff;
  --sage-50: #eef3e6;
  --sage-100: #e2ebd5;
  --sage-200: #d4e0bc;       /* light leaf in the seal */
  --sage-400: #a4ba8b;       /* emblem in the seal */
  --kukui: #5c7a3e;          /* ring of the seal: main brand green */
  --kukui-600: #4d6833;
  --kukui-700: #3f5729;
  --forest: #1f2e19;         /* dark bands and footer */
  --forest-2: #2a3d22;
  --ink: #1c2218;            /* text */
  --ink-2: #3c4436;          /* secondary text */
  --muted: #5d6656;          /* captions, notes */
  --line: #e4e0d3;           /* borders */
  --line-2: #d6d1c1;
  --gold: #f2b53a;           /* donate buttons and small highlights */
  --gold-600: #e0a020;
  --gold-50: #fdf3dc;
  --danger: #a33a2a;
  --ok: #2f6b3a;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --t-hero: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
  --t-h1: clamp(2.3rem, 1.6rem + 3vw, 3.75rem);
  --t-h2: clamp(1.85rem, 1.35rem + 2vw, 2.85rem);
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --t-lead: clamp(1.075rem, 1rem + .3vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-xs: .8125rem;

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 34, 24, .06), 0 2px 8px rgba(28, 34, 24, .05);
  --shadow: 0 2px 6px rgba(28, 34, 24, .06), 0 12px 32px rgba(28, 34, 24, .08);
  --shadow-lg: 0 6px 16px rgba(28, 34, 24, .08), 0 24px 60px rgba(28, 34, 24, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--kukui-700); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--kukui); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); letter-spacing: -.02em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
em.accent { font-style: italic; color: var(--kukui); font-variation-settings: "SOFT" 100, "WONK" 1; }
strong { font-weight: 650; }
ul, ol { padding-left: 1.2em; }
li { margin: .25em 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--sage-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-50); }

/* ---------------------------------------------------------------- section headers (one pattern everywhere) */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .01em;
  color: var(--kukui-700); background: var(--sage-50);
  border: 1px solid var(--sage-100);
  padding: .35em .85em .35em .6em; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.chip svg { width: 14px; height: 14px; flex: none; }
.chip-dark { color: var(--sage-200); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.chip-gold { color: #6b4a00; background: var(--gold-50); border-color: #f6e1ad; }
.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p, .lead { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.6; }
.head h2 { margin-bottom: .35em; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.head-row .head { margin-bottom: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--kukui); --fg: #fff; --bd: var(--kukui);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.4em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 1rem/1 var(--font-body); letter-spacing: .005em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --bg: var(--kukui-700); --bd: var(--kukui-700); color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 26px; height: 26px; margin-right: -.55em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); transition: transform .2s var(--ease); }
.btn .ic svg { width: 14px; height: 14px; }
.btn:hover .ic { transform: translateX(2px); }
.btn-gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn-gold:hover { --bg: var(--gold-600); --bd: var(--gold-600); color: var(--ink); }
.btn-gold .ic { background: rgba(28, 34, 24, .1); }
.btn-ghost { --bg: transparent; --fg: var(--kukui-700); --bd: var(--line-2); }
.btn-ghost:hover { --bg: var(--white); --fg: var(--kukui-700); --bd: var(--kukui); color: var(--kukui-700); }
.btn-ghost .ic { background: var(--sage-50); }
.btn-light { --bg: #fff; --fg: var(--forest); --bd: #fff; }
.btn-light:hover { --bg: var(--sage-50); --bd: var(--sage-50); color: var(--forest); }
.btn-light .ic { background: var(--sage-50); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { --bg: rgba(255, 255, 255, .08); --bd: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--kukui-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.ext::after { content: "↗"; display: inline-block; margin-left: .2em; font-size: .85em; text-decoration: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28, 34, 24, .05); background: rgba(251, 250, 246, .94); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; margin-right: auto; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); }
.brand-sub { font-size: .75rem; font-weight: 550; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; text-decoration: none; color: var(--ink-2);
  font-size: .9375rem; font-weight: 550; padding: 10px 12px; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(92, 122, 62, .08); }
.nav a[aria-current="page"] { color: var(--kukui-700); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--kukui);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--white); color: var(--ink); cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .close { display: none; }
.menu-open .menu-btn .open { display: none; }
.menu-open .menu-btn .close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper); padding: 20px var(--gutter) 40px;
  overflow-y: auto; display: none;
}
.menu-open .mobile-menu { display: block; animation: menuIn .25s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-menu nav a[aria-current="page"] { color: var(--kukui); }
.mobile-menu nav a svg { width: 20px; height: 20px; color: var(--muted); }
.mobile-menu .btn { margin-top: 24px; width: 100%; }
.mobile-menu .menu-note { margin-top: 20px; font-size: var(--t-small); color: var(--muted); }
body.menu-open { overflow: hidden; }

@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .6875rem; }
  .header-cta .btn-donate { display: none; }
}
@media (max-width: 360px) {
  .brand-sub { display: none; }
}

/* ---------------------------------------------------------------- home hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 0; }
.hero-side p { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.6; margin-bottom: 1.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: var(--t-xs); color: var(--muted); font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--kukui); }
.hero-media {
  position: relative; margin-top: clamp(32px, 5vw, 56px);
  border-radius: clamp(20px, 3vw, 32px); overflow: hidden; background: var(--sage-100);
  aspect-ratio: 21 / 9; box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  font-size: var(--t-xs); color: #fff; font-weight: 500;
  background: rgba(20, 30, 16, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.quick { position: relative; z-index: 2; margin-top: -56px; padding: 0 clamp(12px, 3vw, 40px); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quick-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 20px 18px; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--sage-200); color: var(--ink); }
.quick-card .qi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-50); color: var(--kukui); margin-bottom: 6px; }
.quick-card .qi svg { width: 22px; height: 22px; }
.quick-card.is-gold .qi { background: var(--gold-50); color: #a06d00; }
.quick-card strong { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.quick-card strong svg { width: 18px; height: 18px; color: var(--kukui); transition: transform .2s var(--ease); flex: none; }
.quick-card:hover strong svg { transform: translateX(3px); }
.quick-card span { font-size: var(--t-small); color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-media { aspect-ratio: 16 / 9; }
  .quick { margin-top: -36px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-media { aspect-ratio: 4 / 3; border-radius: 18px; }
  .hero-media img { object-position: 50% 62%; }
  .quick { margin-top: 16px; padding: 0; }
  .quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .quick-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
  .quick-card .qi { margin: 0; flex: none; }
  .quick-card > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
}

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { max-width: 640px; margin-top: 1rem; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--sage-100); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.leaf-mark { position: absolute; right: -60px; top: -40px; width: 340px; height: 340px; color: var(--sage-100); opacity: .7; pointer-events: none; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .leaf-mark { width: 220px; height: 220px; right: -70px; top: -30px; }
}
.crumbs { font-size: var(--t-xs); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* ---------------------------------------------------------------- stats band */
.band-dark { background: var(--forest); color: #e9efe0; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark p { color: #cdd8c0; }
.band-dark a:not(.btn) { color: var(--sage-200); }
.band-dark .leaf-bg { position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; color: rgba(255, 255, 255, .04); pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px clamp(14px, 2.2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  font-family: var(--font-body); font-weight: 650; letter-spacing: -.03em;
  font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1; color: #fff; display: block; white-space: nowrap;
}
.stat-label { display: block; margin-top: 12px; font-size: var(--t-small); color: #c5d1b7; line-height: 1.45; max-width: 24ch; }
.stats-note { margin-top: 36px; font-size: var(--t-xs); color: #9fae90; }
.stats-note a { color: var(--sage-200); }
@media (max-width: 1060px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sage-200); color: var(--ink); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; margin: 0; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; font-size: var(--t-small); }
.card-tag { font-size: var(--t-xs); font-weight: 600; color: var(--kukui-700); }

.icon-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.icon-card .qi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-50); color: var(--kukui); }
.icon-card .qi svg { width: 24px; height: 24px; }
.icon-card h3 { margin: 6px 0 0; }
.icon-card p { margin: 0; color: var(--ink-2); font-size: var(--t-small); }
.icon-card .meta { margin-top: auto; padding-top: 10px; font-size: var(--t-xs); color: var(--muted); font-weight: 550; border-top: 1px dashed var(--line); }

/* ---------------------------------------------------------------- feature rows (photo + story) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature.flip .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-100); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); }
.feature-text p { color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { margin: 0; font-size: var(--t-xs); font-weight: 600; color: var(--kukui-700); background: var(--sage-50); border: 1px solid var(--sage-100); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
}

/* ---------------------------------------------------------------- chart: where the money went */
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); position: relative; }
.chart-head { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: baseline; margin-bottom: 22px; }
.chart-head h3 { margin: 0; }
.chart-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--t-small); }
.chart-total { font-weight: 650; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; white-space: nowrap; }
.chart-total small { display: block; font-size: var(--t-xs); font-weight: 550; color: var(--muted); letter-spacing: 0; margin-top: 6px; text-align: right; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bar-row {
  display: grid; grid-template-columns: minmax(150px, 15rem) minmax(0, 1fr); align-items: center; gap: 16px;
  margin: 0; padding: 7px 8px; border-radius: 10px; cursor: default; outline: none;
}
.bar-row:hover, .bar-row:focus-visible { background: var(--sage-50); }
.bar-row:focus-visible { box-shadow: 0 0 0 2px var(--kukui); }
.bar-label { font-size: var(--t-small); color: var(--ink); line-height: 1.3; }
.bar-track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar { height: 20px; border-radius: 0 4px 4px 0; background: var(--kukui); flex: none; min-width: 3px; transition: filter .2s var(--ease); }
.bar-row:hover .bar, .bar-row:focus-visible .bar { filter: brightness(1.15); }
.bar-row.is-admin .bar { background: #8b8778; }
.bar-value { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--muted); }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none; max-width: 300px;
  background: var(--ink); color: #f4f6ef; border-radius: 12px; padding: 12px 14px;
  font-size: var(--t-xs); line-height: 1.5; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(4px); transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.chart-tip.is-on { opacity: 1; transform: none; }
.chart-tip b { display: block; font-size: 1rem; color: #fff; margin-bottom: 2px; font-weight: 650; }
.chart-tip .tip-key { display: inline-block; width: 14px; height: 2px; background: var(--sage-400); vertical-align: middle; margin-right: 6px; }
@media (max-width: 640px) {
  .bar-row { grid-template-columns: 1fr; gap: 4px; padding: 8px 6px; }
  .chart-total small { text-align: left; }
}

/* columns chart (spending by year) */
.cols { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
.cols-axis { position: relative; height: 240px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cols-axis span { position: absolute; right: 0; transform: translateY(50%); }
.cols-plot { position: relative; height: 240px; border-bottom: 1px solid var(--line-2); }
.cols-grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.cols-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.col { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.col-bar { width: min(24px, 70%); background: var(--kukui); border-radius: 4px 4px 0 0; min-height: 2px; transition: filter .2s var(--ease); }
.col.is-empty .col-bar { background: transparent; border: 1px dashed var(--line-2); border-bottom: 0; height: 18px !important; }
.col:hover .col-bar, .col:focus-visible .col-bar { filter: brightness(1.18); }
.col:focus-visible { box-shadow: inset 0 0 0 2px var(--kukui); border-radius: 6px; }
.col-val { position: absolute; font-size: 11px; font-weight: 650; color: var(--ink-2); white-space: nowrap; transform: translateY(-120%); }
.cols-x { grid-column: 2; display: flex; gap: 2px; font-size: 11px; color: var(--muted); }
.cols-x span { flex: 1; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .cols-x span:nth-child(even) { visibility: hidden; }
  .col-val { display: none; }
  .col.is-latest .col-val, .col.is-peak .col-val { display: block; }
}

.table-view { margin-top: 18px; }
.table-view summary { cursor: pointer; font-size: var(--t-small); font-weight: 600; color: var(--kukui-700); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.table-view summary::-webkit-details-marker { display: none; }
.table-view summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--sage-50); font-weight: 700; }
.table-view[open] summary::before { content: "–"; }
.table-scroll { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: var(--t-small); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sand); font-weight: 650; font-size: var(--t-xs); color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------------------------------------------------------------- partners */
.partner-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.partner-strip span {
  font-size: var(--t-small); font-weight: 550; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.partner-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.partner-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.partner-group h3 { font-size: 1.1rem; margin-bottom: 12px; }
.partner-group ul { list-style: none; padding: 0; margin: 0; }
.partner-group li { padding: 8px 0; border-top: 1px solid var(--line); margin: 0; font-size: var(--t-small); }
.partner-group li:first-child { border-top: 0; }
.partner-group li small { display: block; color: var(--muted); font-size: var(--t-xs); }
@media (max-width: 900px) { .partner-groups { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- call-to-action band */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); background: var(--kukui-700); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #dfe8d3; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .mail-note { grid-column: 1 / -1; font-size: var(--t-xs); color: #c9d6bb; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; margin-top: 4px; }
.cta-band .leaf-bg { position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; color: rgba(255, 255, 255, .06); pointer-events: none; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- about: story, timeline, funds */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h3 { margin-top: 1.8em; }
.quote {
  margin: 0; padding: 28px 30px; border-radius: var(--radius); background: var(--sage-50); border: 1px solid var(--sage-100);
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35; color: var(--ink);
  font-variation-settings: "SOFT" 100;
}
.quote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-style: normal; font-size: var(--t-small); color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sage-200), var(--sage-100)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 26px 40px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--kukui); }
.timeline .when { display: block; font-size: var(--t-xs); font-weight: 700; color: var(--kukui-700); letter-spacing: .02em; }
.timeline strong { display: block; font-size: 1.05rem; margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: var(--t-small); }

.fund-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fund { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.fund h3 { font-size: 1.15rem; margin-bottom: 6px; }
.fund p { margin: 0; font-size: var(--t-small); color: var(--ink-2); }
@media (max-width: 760px) { .fund-list { grid-template-columns: 1fr; } }

.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------------------------------------------------------------- board */
.board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
.person img { width: 104px; height: 104px; border-radius: 18px; object-fit: cover; background: var(--sage-100); }
.person h3 { margin: 0; font-size: 1.25rem; }
.person .role { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 6px 0 10px; font-size: var(--t-xs); font-weight: 600; }
.person .role .r { color: var(--kukui-700); background: var(--sage-50); border: 1px solid var(--sage-100); padding: 3px 10px; border-radius: 999px; }
.person .role .c { color: var(--muted); }
.person p { margin: 0; font-size: var(--t-small); color: var(--ink-2); line-height: 1.6; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .person { grid-template-columns: 1fr; }
  .person img { width: 88px; height: 88px; }
}
.remember { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.remember div { border-top: 2px solid var(--sage-200); padding-top: 14px; }
.remember strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.remember span { font-size: var(--t-small); color: var(--ink-2); }
@media (max-width: 900px) { .remember { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .remember { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- scholarships */
.award { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.award .amount { font-weight: 650; font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; color: var(--kukui-700); }
.award .amount small { font-size: .95rem; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.award h3 { margin: 4px 0 0; }
.award p { margin: 0; color: var(--ink-2); font-size: var(--t-small); }
.award .honor { font-size: var(--t-small); color: var(--ink-2); border-left: 3px solid var(--sage-200); padding-left: 12px; }
.award ul { margin: 2px 0 0; padding-left: 1.1em; font-size: var(--t-small); color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0; align-items: start; }
.checklist li svg { width: 22px; height: 22px; color: var(--kukui); margin-top: 2px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 66px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--kukui); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; font-size: var(--t-small); color: var(--ink-2); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.pill-list li { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: var(--t-small); font-weight: 550; }

/* ---------------------------------------------------------------- notes & callouts */
.note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--gold-50); border: 1px solid #f3dfa9; font-size: var(--t-small); color: #4a3a12; }
.note svg { width: 22px; height: 22px; color: #a06d00; }
.note.green { background: var(--sage-50); border-color: var(--sage-100); color: var(--ink-2); }
.note.green svg { color: var(--kukui); }
.note p { margin: 0; }

/* ---------------------------------------------------------------- year by year */
.years { display: grid; gap: 12px; }
.year { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.year summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 18px 22px; }
.year summary::-webkit-details-marker { display: none; }
.year summary h3 { margin: 0; font-size: 1.2rem; }
.year summary .yr-meta { font-size: var(--t-xs); color: var(--muted); font-weight: 550; text-align: right; }
.year summary .yr-meta b { color: var(--ink); font-weight: 650; font-size: var(--t-small); }
.year summary .tog { width: 30px; height: 30px; border-radius: 50%; background: var(--sage-50); display: grid; place-items: center; color: var(--kukui-700); transition: transform .25s var(--ease); }
.year summary .tog svg { width: 16px; height: 16px; }
.year[open] summary .tog { transform: rotate(45deg); }
.year .yr-body { padding: 0 22px 20px; border-top: 1px solid var(--line); }
.year ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.year li { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; font-size: var(--t-small); color: var(--ink-2); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.year li:last-child { border-bottom: 0; }
.year li .amt { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.year .yr-note { margin: 12px 0 0; font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 560px) {
  .year summary { grid-template-columns: minmax(0, 1fr) auto; }
  .year summary .yr-meta { grid-column: 1; grid-row: 2; text-align: left; }
  .year summary .tog { grid-row: 1 / span 2; grid-column: 2; }
  .year li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--kukui); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); font-size: var(--t-small); }

/* ---------------------------------------------------------------- forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label, fieldset legend { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.field .hint { font-size: var(--t-xs); color: var(--muted); font-weight: 450; }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 450; font-size: var(--t-xs); margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 130px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6656' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
input:hover, select:hover, textarea:hover { border-color: #c4bfad; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--kukui); background: var(--white); box-shadow: 0 0 0 4px rgba(92, 122, 62, .15); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(163, 58, 42, .12); }
.field-error { font-size: var(--t-xs); color: var(--danger); font-weight: 550; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.form-actions .fine { font-size: var(--t-xs); color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.form-status .msg { padding: 14px 16px; border-radius: 12px; font-size: var(--t-small); }
.form-status .msg.err { background: #fbecea; border: 1px solid #f0cdc7; color: #6d2418; }
.form-section-title { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 30px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* choice chips (amounts, methods) */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; min-width: 84px; padding: 0 18px;
  border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper);
  font-weight: 650; font-size: 1.05rem; color: var(--ink); transition: all .15s var(--ease);
}
.choice input:hover + span { border-color: var(--kukui); }
.choice input:checked + span { background: var(--kukui); border-color: var(--kukui); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choices.wide .choice { flex: 1 1 200px; }
.choices.wide .choice span { width: 100%; justify-content: flex-start; padding: 12px 16px; font-size: var(--t-small); font-weight: 600; text-align: left; min-height: 58px; }
.choices.wide .choice span small { display: block; font-weight: 450; color: var(--muted); font-size: var(--t-xs); }
.choices.wide .choice input:checked + span small { color: #e3ecd6; }
.choices.wide .choice span svg { width: 22px; height: 22px; flex: none; }
.other-amount { display: none; margin-top: 12px; max-width: 220px; position: relative; }
.other-amount.is-on { display: block; }
.other-amount input { padding-left: 30px; }
.other-amount::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); z-index: 1; }
.impact-hint { margin-top: 14px; display: flex; gap: 10px; align-items: center; font-size: var(--t-small); color: var(--ink-2); background: var(--sage-50); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.impact-hint svg { width: 20px; height: 20px; color: var(--kukui); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--kukui); flex: none; }

/* budget table */
.budget { width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.budget-head, .budget-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 130px 110px 44px; gap: 10px; align-items: center; padding: 10px 12px; }
.budget-head { background: var(--sand); font-size: var(--t-xs); font-weight: 650; color: var(--ink-2); }
.budget-row { border-top: 1px solid var(--line); }
.budget-row input { min-height: 44px; padding: 8px 10px; }
.budget-row .line-total { font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; font-size: var(--t-small); }
.budget-row .rm { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.budget-row .rm:hover { color: var(--danger); border-color: #e9c3bc; }
.budget-row .rm svg { width: 16px; height: 16px; }
.budget-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); flex-wrap: wrap; }
.budget-foot .total { font-weight: 650; font-size: 1.05rem; }
.budget-foot .total b { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .budget-head { display: none; }
  .budget-row { grid-template-columns: 1fr 1fr; grid-template-areas: "item item" "qty cost" "total rm"; }
  .budget-row .b-item { grid-area: item; }
  .budget-row .b-qty { grid-area: qty; }
  .budget-row .b-cost { grid-area: cost; }
  .budget-row .line-total { grid-area: total; text-align: left; }
  .budget-row .rm { grid-area: rm; justify-self: end; }
}

/* success panel shown after a form is sent */
.done { display: none; text-align: left; }
.done.is-on { display: block; animation: menuIn .35s var(--ease); }
.done .done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sage-50); color: var(--kukui); display: grid; place-items: center; margin-bottom: 16px; }
.done .done-icon svg { width: 30px; height: 30px; }
.done h3 { font-size: 1.6rem; }
.done .next { margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--sand); }
.done .next p { margin: 0 0 .5em; }
.address { font-style: normal; line-height: 1.55; }
.address strong { display: block; }

/* donate page layout */
.give-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.give-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.aside-card p, .aside-card li { font-size: var(--t-small); color: var(--ink-2); }
.aside-card ul { margin: 0; padding-left: 1.1em; }
.aside-card.dark { background: var(--forest); border-color: var(--forest); color: #dfe8d3; }
.aside-card.dark h3 { color: #fff; }
.aside-card.dark p { color: #cdd8c0; }
.big-num { font-weight: 650; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; color: #fff; display: block; margin-bottom: 8px; }
@media (max-width: 980px) { .give-layout { grid-template-columns: 1fr; } .give-aside { position: static; } }

/* contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--forest); color: #c9d4bc; padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: 0; position: relative; overflow: hidden; }
.site-footer a { color: #e6eddc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff; line-height: 1.15; display: block; }
.footer-brand span { font-size: var(--t-xs); color: #aebd9f; }
.site-footer p { font-size: var(--t-small); color: #c2cdb5; max-width: 42ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93a684; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--t-small); }
.site-footer li { margin: 0; }
.footer-address { font-style: normal; font-size: var(--t-small); color: #c2cdb5; margin-top: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: var(--t-xs); color: #93a684; position: relative; }
.footer-bottom a { color: #b9c7aa; }
.site-footer .leaf-bg { position: absolute; left: -140px; bottom: -180px; width: 520px; height: 520px; color: rgba(255, 255, 255, .03); pointer-events: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------------------------------------------------------------- small pages */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page .lead { margin-left: auto; margin-right: auto; max-width: 560px; }
.center-page .btn-row { justify-content: center; margin-top: 24px; }

/* ---------------------------------------------------------------- motion */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .mobile-menu, .btn, .cta-band, .quick { display: none !important; }
  body { background: #fff; }
}
.aside-card.dark a { color: var(--sage-200); }
.aside-card.dark a:hover { color: #fff; }
