/* ==========================================================================
   Nourish Peak Nutrition Foundation — editorial ivory theme
   Palette: warm ivory + ink, antique-gold hairlines, brand green in small doses.
   Fonts are self-hosted (assets/fonts) — no third-party font requests.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces */
  --ivory: #f6f2ea;
  --paper: #fbf9f4;
  --linen: #ede6d9;
  --night: #e1e9d6;        /* soft sage — the feature bands, drawn from the logo's leaf green */
  --night-2: #d6e1c8;
  --btn: #35633a;          /* the logo's deep green */
  --btn-hover: #264a2b;

  /* text */
  --ink: #231e1a;
  --ink-2: #3c3e37;
  --muted: #625f55;
  --on-night: #1e3a24;
  --on-night-muted: #45574a;

  /* accents */
  --gold: #a8843a;          /* hairlines, ornaments */
  --bronze: #7d5f22;        /* gold-toned text on light grounds (AA) */
  --champagne: #3f6a27;     /* accent on the sage bands */
  --gold-light: #e6d2a2;
  --forest: #2e4a36;        /* brand green, used sparingly */

  /* lines */
  --line: #e2d9ca;
  --line-strong: #cfc3ae;
  --line-night: rgba(30, 58, 36, 0.16);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(6vw, calc((100vw - 1240px) / 2));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
}
h2 { font-size: clamp(40px, 4.6vw, 66px); }
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--bronze);
}
h2 em { display: inline; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { color: var(--ink-2); }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--gold-light); color: var(--ink); }

section { padding: 128px var(--gutter); }

.section-header { max-width: 820px; margin-bottom: 64px; }
.section-header p { margin-top: 26px; max-width: 600px; font-size: 17px; line-height: 1.75; }

/* eyebrow / section tags: small caps with a gold hairline */
.section-tag, .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 28px;
}
.section-tag::before, .eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ---------- buttons & links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 16px 30px;
  background: var(--btn);
  color: var(--ivory);
  border: 1px solid var(--btn);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.button span { transition: transform 0.35s var(--ease); }
.button:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.button:hover span { transform: translateX(4px); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-ghost:hover { background: var(--btn); color: var(--ivory); border-color: var(--btn); }
.button-light { background: var(--btn); color: var(--ivory); border-color: var(--btn); }
.button-light:hover { background: var(--btn-hover); border-color: var(--btn-hover); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s;
}
.text-link::after { content: "→"; letter-spacing: 0; transition: transform 0.35s var(--ease); }
.text-link:hover { color: var(--bronze); }
.text-link:hover::after { transform: translateX(4px); }

.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; background: var(--paper); padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.reading-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--gold); z-index: 120; transition: width 0.1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 92px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  height: 76px;
  background: rgba(246, 242, 234, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header nav { display: flex; gap: 38px; margin-left: auto; }
.site-header nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
}
.site-header nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-donate { min-height: 46px; padding: 12px 26px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 2px;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: clamp(40px, 6vw, 110px);
  align-items: center;
  padding-top: 168px;
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 85% 10%, rgba(216, 194, 142, 0.22), transparent 60%),
    var(--ivory);
}
.hero-text { padding-bottom: 24px; }
.hero h1 {
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  max-width: 9.5em;
}
.hero h1 em { display: block; margin-top: 0.06em; }
.hero-lede {
  max-width: 500px;
  margin-top: 36px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.hero-btns { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: 44px; }
.hero-note {
  display: inline-flex; gap: 16px; align-items: center;
  margin-top: 56px;
  font-size: 13px; line-height: 1.5;
  color: var(--muted);
  text-decoration: none;
}
.hero-note strong { font-weight: 600; color: var(--ink); }
.small-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--bronze);
  font-size: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.hero-note:hover .small-mark { border-color: var(--gold); transform: translateY(3px); }

.hero-photo { position: relative; padding: 18px 0 64px 18px; }
/* arch frame — a quiet nod to the "peak" in the mark */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--linen);
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-photo .photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 40px 80px -40px rgba(27, 29, 25, 0.35);
}
.hero-photo .photo-frame img { object-position: 40% 30%; animation: hero-zoom 14s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 18px 46px 0;
  border: 1px solid var(--gold);
  opacity: 0.55;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.orbit-mark {
  position: absolute;
  z-index: 2;
  left: -44px;
  top: 34%;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(27, 29, 25, 0.35);
  display: grid; place-items: center;
}
.orbit-mark svg {
  position: absolute; inset: 6px;
  width: calc(100% - 12px); height: calc(100% - 12px);
  animation: orbit-spin 40s linear infinite;
}
.orbit-mark text {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  fill: var(--ink);
}
.orbit-mark img { width: 58px; height: 58px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-photo figcaption {
  position: absolute;
  right: 0; bottom: 0;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  max-width: 88%;
}
.caption-rule { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-photo figcaption div > span {
  display: block;
  font-family: var(--serif);
  font-size: 24px; font-style: italic; font-weight: 500;
  line-height: 1.15;
}
.hero-photo figcaption small {
  display: block; margin-top: 4px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

.identity-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--line-strong);
}
.identity-bar p {
  display: flex; align-items: center; gap: 22px;
  padding: 34px 32px 38px;
  border-left: 1px solid var(--line);
  color: var(--ink);
}
.identity-bar p:first-child { padding-left: 0; border-left: 0; }
.identity-bar strong {
  font-family: var(--serif);
  font-size: 30px; font-weight: 500; line-height: 1.05;
  letter-spacing: -0.01em;
}
.identity-bar p:first-child strong { font-size: 58px; line-height: 0.9; color: var(--bronze); font-style: italic; font-weight: 400; }
.identity-bar p > span {
  font-size: 12px; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- about ---------- */
#about { background: var(--paper); border-top: 1px solid var(--line); }
#about > .section-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: 72px;
  align-items: end;
  max-width: none;
}
#about > .section-header .section-tag { grid-column: 1 / -1; }
#about > .section-header p { margin: 0 0 10px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px 96px; }
.section-index {
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.about-text h3 {
  font-family: var(--serif);
  font-size: 40px; font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.about-text p { font-size: 16.5px; line-height: 1.85; margin-bottom: 20px; }
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 84px; line-height: 0.8;
  padding: 8px 12px 0 0;
  color: var(--bronze);
}
.founder-card {
  display: flex; gap: 18px; align-items: center;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.founder-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--gold);
  font-family: var(--serif); font-size: 20px; font-style: italic;
  color: var(--bronze);
}
.founder-info strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
.founder-info span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.profile-details-grid {
  position: sticky; top: 110px;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 44px;
}
.profile-card-heading { display: flex; gap: 22px; align-items: center; padding-bottom: 32px; }
.brand-symbol { width: 64px; height: 64px; flex-shrink: 0; }
.profile-card-heading h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.profile-card-heading h3 em { display: block; }
.profile-detail-card {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.profile-detail-card:last-child { padding-bottom: 0; }
.profile-detail-card span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px;
}
.profile-detail-card strong { font-size: 15px; font-weight: 500; line-height: 1.6; }

.values-block { grid-column: 1 / -1; }
.values-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  border-top: 1px solid var(--line-strong);
  padding-top: 56px; margin-bottom: 40px;
}
.values-heading .section-tag { margin: 0 0 8px; }
.values-heading h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.05; }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  counter-reset: value;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value-card {
  counter-increment: value;
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.value-card:hover { background: var(--ivory); }
.value-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
/* fill the empty eighth cell with a quiet emblem */
.values-grid::after {
  content: "";
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: url("assets/emblem.png") center / 72px no-repeat;
  opacity: 0.35;
}

/* ---------- field story (dark) ---------- */
.field-story {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center;
  background: var(--night);
  color: var(--on-night);
  padding-top: 140px; padding-bottom: 150px;
}
.story-watermark {
  position: absolute; z-index: -1;
  right: -2vw; bottom: -0.2em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(140px, 22vw, 340px);
  line-height: 1; letter-spacing: -0.03em;
  color: rgba(53, 99, 58, 0.07);
  pointer-events: none;
}
.field-story > figure { position: relative; }
.field-story .photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 0 0 999px 999px;
}
.field-story .photo-frame img { object-position: 50% 35%; }
.field-story > figure::before {
  content: "";
  position: absolute; inset: -18px 18px 38px -18px;
  border: 1px solid var(--btn); opacity: 0.3;
  border-radius: 0 0 999px 999px;
  pointer-events: none;
}
.field-story figcaption {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-night-muted);
}
.field-story .caption-rule { background: var(--champagne); }
.field-story .section-tag { color: var(--champagne); }
.field-story h2 { color: var(--on-night); font-size: clamp(42px, 4.6vw, 68px); }
.field-story h2 em { color: var(--champagne); display: block; }
.field-story p { color: var(--on-night-muted); font-size: 17px; line-height: 1.85; margin-top: 26px; max-width: 480px; }
.field-story .text-link { color: var(--champagne); margin-top: 38px; }
.field-story .text-link:hover { color: var(--btn-hover); }

/* ---------- programmes ---------- */
#programmes { background: var(--ivory); }
.programme-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  margin-bottom: 36px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.programme-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  min-height: 44px; padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.filter:hover:not(.active) { border-color: var(--ink); }
.filter.active { background: var(--btn); border-color: var(--btn); color: var(--ivory); }
.filter span { margin-left: 8px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-light); }
#filter-status { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.prog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.prog-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 44px 40px 36px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.45s var(--ease);
}
.prog-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.prog-card:hover { background: #fffdf8; }
.prog-card:hover::after { transform: scaleX(1); }
.prog-icon-wrap { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.prog-icon-wrap svg { width: 40px; height: 40px; color: var(--forest); flex-shrink: 0; }
.prog-icon-wrap span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bronze); line-height: 1; }
.prog-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.12; margin-bottom: 16px; max-width: 280px; }
.prog-card p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.prog-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
}
.prog-foot::after {
  content: "→";
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  letter-spacing: 0; font-size: 15px;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.prog-card:hover .prog-foot::after, .prog-foot:hover::after { background: var(--btn); border-color: var(--btn); color: var(--ivory); }
.programme-note { margin-top: 32px; max-width: 760px; font-size: 14px; color: var(--muted); font-style: normal; }

/* ---------- partners ---------- */
#partners { background: var(--linen); }
.partners-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
}
.partner-chip {
  position: relative;
  padding: 26px 22px 28px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25;
  color: var(--ink);
}
.partner-chip::before {
  content: "";
  display: block; width: 6px; height: 6px; margin-bottom: 18px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.sponsor-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.sponsor-chip {
  padding: 9px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
  background: rgba(251, 249, 244, 0.5);
}
.sponsor-chip::before { content: "+"; margin-right: 8px; color: var(--bronze); }
.sponsor-callout {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  margin-top: 64px; padding: 64px 64px;
  background: var(--night); color: var(--on-night);
}
.sponsor-callout::after {
  content: "";
  position: absolute; right: -60px; top: 50%; width: 320px; height: 320px;
  transform: translateY(-50%);
  background: url("assets/emblem.png") center / contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.sponsor-callout > * { position: relative; z-index: 1; }
.sponsor-callout h3 { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; line-height: 1.05; }
.sponsor-callout h3 em { color: var(--champagne); }
.sponsor-callout p { margin-top: 18px; max-width: 620px; font-size: 16px; color: var(--on-night-muted); }
.sponsor-callout .button { white-space: nowrap; }

/* ---------- governance ---------- */
.governance-band { background: var(--linen); padding-top: 0; padding-bottom: 128px; }
.governance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.governance-card { border-top: 1px solid var(--line-strong); padding-top: 32px; }
.governance-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 16px; }
.governance-card p { font-size: 15px; line-height: 1.85; color: var(--ink-2); }

/* ---------- donate ---------- */
.donation-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start;
  background: var(--ivory);
}
.donation-intro { position: sticky; top: 120px; }
.donation-intro h2 { font-size: clamp(42px, 4.8vw, 70px); }
.donation-intro h2 em { display: block; }
.donation-intro > p { margin-top: 28px; max-width: 440px; font-size: 17px; }
.trust-note { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-strong); max-width: 480px; }
.trust-note h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.trust-note p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.trust-note p strong { color: var(--ink); font-weight: 600; }
.trust-note .text-link { margin-top: 22px; }

.bank-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 52px 48px 44px;
  box-shadow: 0 50px 90px -50px rgba(27, 29, 25, 0.3);
}
.bank-card::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.bank-card > * { position: relative; }
.bank-heading {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 22px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.bank-heading > span { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.bank-heading strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.bank-card h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.08; max-width: 360px; }
.bank-card h3 em { display: block; }
dl { margin-top: 30px; }
dl > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.account-number {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
}
#copy-account {
  min-height: 44px; padding: 0 18px;
  background: transparent;
  border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
#copy-account:hover { background: var(--btn); color: var(--ivory); border-color: var(--btn); }
#copy-status { min-height: 30px; padding: 6px 0; font-size: 13px; color: var(--forest); }
.bank-card > .button { width: 100%; }
.bank-footnote { margin-top: 20px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- get involved (dark) ---------- */
#involved {
  position: relative; overflow: hidden;
  text-align: center;
  background: var(--night); color: var(--on-night);
}
#involved::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 760px; height: 760px; transform: translate(-50%, -50%);
  border: 1px solid var(--line-night); border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,0.14), 0 0 0 180px rgba(255,255,255,0.1);
  pointer-events: none;
}
#involved > * { position: relative; }
#involved > .section-tag { justify-content: center; color: var(--champagne); }
#involved > .section-tag::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }
#involved > h2 { color: var(--on-night); font-size: clamp(48px, 6.4vw, 96px); }
#involved > h2 em { color: var(--champagne); }
#involved > p { margin: 24px auto 0; max-width: 560px; font-size: 17px; color: var(--on-night-muted); }
.involved-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line-night);
  border-left: 1px solid var(--line-night);
  text-align: left;
}
.involved-card {
  display: flex; flex-direction: column;
  padding: 40px 32px 38px;
  border-right: 1px solid var(--line-night);
  border-bottom: 1px solid var(--line-night);
  text-decoration: none;
  transition: background 0.45s var(--ease);
}
.involved-card:hover { background: var(--night-2); }
.involved-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--champagne); margin-bottom: 44px; }
.involved-card strong {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1;
  margin-bottom: 12px;
}
.involved-card strong::after {
  content: "→"; font-family: var(--sans); font-size: 18px; color: var(--champagne);
  transition: transform 0.35s var(--ease);
}
.involved-card:hover strong::after { transform: translateX(5px); }
.involved-card small { font-size: 13px; letter-spacing: 0.06em; color: var(--on-night-muted); }

/* ---------- contact ---------- */
#contact { background: var(--paper); }
#contact > .section-header h2 em { display: block; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; }
.contact-details { border-top: 1px solid var(--line-strong); }
.contact-details > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-details span {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.contact-details a, .contact-details p { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; color: var(--ink); }
.contact-details a { text-decoration: none; font-weight: 500; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.contact-details a:hover { background-size: 100% 1px; }
.contact-card {
  position: relative; overflow: hidden; align-self: start;
  padding: 56px 52px;
  background: var(--linen);
}
.contact-card::after {
  content: "";
  position: absolute; right: -70px; top: -70px; width: 240px; height: 240px;
  background: url("assets/emblem.png") center / contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3 { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 48px); font-weight: 500; line-height: 1.05; }
.contact-card h3 em { display: block; }
.contact-card p { margin: 22px 0 32px; font-size: 16px; }
.contact-card .text-link { display: flex; width: fit-content; margin-top: 22px; }
.contact-card .contact-hint { margin: 24px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
footer { padding: 88px var(--gutter) 32px; background: var(--night); color: var(--on-night); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 56px; }
.footer-top .brand img { width: 52px; height: 52px; }
.footer-top .brand small { color: var(--on-night-muted); }
.footer-top > p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--on-night-muted); }
.footer-top nav { display: flex; gap: 32px; }
.footer-top nav a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--on-night); padding: 8px 0;
  transition: color 0.3s;
}
.footer-top nav a:hover { color: var(--btn); }
.footer-wordmark {
  padding: 36px 0 56px;
  border-top: 1px solid var(--line-night);
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(56px, 11vw, 176px); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--on-night);
}
.footer-wordmark em { font-style: italic; font-weight: 400; color: var(--champagne); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line-night); }
.footer-bottom p { font-size: 12px; letter-spacing: 0.08em; color: var(--on-night-muted); }

/* ---------- floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px;
  padding: 0 24px 0 18px;
  background: var(--btn);
  color: var(--ivory);
  border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(30, 58, 36, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  animation: wa-in 0.8s var(--ease) 1.2s both;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.whatsapp-float::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(53, 99, 58, 0.45);
  animation: wa-pulse 3.2s ease-out 2.4s infinite;
  pointer-events: none;
}
.whatsapp-float:hover { background: var(--btn-hover); transform: translateY(-3px); }
.whatsapp-float:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(53, 99, 58, 0.45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(53, 99, 58, 0); } }
@media (max-width: 680px) {
  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
@media print { .whatsapp-float { display: none; } }

/* ---------- impact & gallery ---------- */
.hero-photo--children .photo-frame img { object-position: 74% 45%; }
.impact-gallery { background: var(--paper); }
.impact-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.impact-stats > div {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 32px 34px;
  border-left: 1px solid var(--line);
}
.impact-stats > div:first-child { padding-left: 0; border-left: 0; }
.impact-stats strong {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(52px, 5.4vw, 76px); line-height: 0.9;
  color: var(--bronze);
  font-variant-numeric: lining-nums;
}
.impact-stats span { max-width: 240px; font-size: 12px; line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  margin-top: 56px;
}
.gallery-item { margin: 0; min-width: 0; }
.gallery-open, .gallery-item > video {
  display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--linen);
  cursor: zoom-in;
  box-shadow: 0 30px 60px -40px rgba(30, 58, 36, 0.45);
}
.gallery-item > video { object-fit: cover; cursor: default; }
.gallery-open { position: relative; }
.gallery-open img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-open:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.gallery-item figcaption::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }

.lightbox {
  padding: 0; border: 0; background: transparent;
  max-width: min(92vw, 1100px); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(30, 58, 36, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; margin: 0 auto; }
.lightbox-caption { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory); }
.lightbox-close {
  position: absolute; top: -52px; right: 0;
  min-height: 40px; padding: 8px 18px;
  background: var(--ivory); color: var(--ink);
  border: 0; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
@media (max-width: 680px) {
  .impact-stats { grid-template-columns: 1fr; }
  .impact-stats > div, .impact-stats > div:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 20px; }
  .impact-stats strong { min-width: 96px; font-size: 52px; }
  .gallery-grid { gap: 36px; margin-top: 40px; }
  .lightbox-close { top: -48px; }
}

/* phone: frames follow each photo's own shape, so nothing looks zoomed or squeezed */
@media (max-width: 680px) {
  .hero-photo .photo-frame { aspect-ratio: 3 / 2; border-radius: 160px 160px 0 0; }
  .hero-photo--children .photo-frame img { object-position: 60% 40%; animation: none; }
  .hero-photo::before { border-radius: 170px 170px 0 0; }
  .orbit-mark { top: -28px; left: -4px; }
  .field-story .photo-frame { aspect-ratio: 1 / 1; }
  .gallery-item:nth-child(2) .gallery-open { aspect-ratio: 1 / 1; }
}

/* ---------- motion ---------- */
.reveal-ready { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-header nav { gap: 26px; }
  .site-header { gap: 28px; }
  .prog-card { padding: 38px 30px 32px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid::after { display: none; }
  .field-story, .donation-section { gap: 72px; }
  .contact-grid { gap: 64px; }
}

@media (max-width: 960px) {
  .donation-intro { position: static; }
  html { scroll-padding-top: 84px; }
  section { padding: 104px var(--gutter); }
  .site-header { height: 80px; }
  .site-header.scrolled { height: 70px; }
  .site-header nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(27, 29, 25, 0.25);
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { font-size: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .site-header nav a::after { display: none; }
  .header-donate { margin-left: auto; }
  .menu-toggle { display: block; }
  .site-header:has(nav.open) { background: var(--ivory); border-bottom-color: var(--line); }

  .hero { grid-template-columns: 1fr; padding-top: 136px; row-gap: 64px; }
  .hero h1 { font-size: clamp(54px, 11vw, 96px); }
  .hero-photo { max-width: 560px; width: 100%; justify-self: center; }
  .orbit-mark { left: -12px; top: 10%; width: 116px; height: 116px; }
  .orbit-mark img { width: 50px; height: 50px; }
  .identity-bar { margin-top: 24px; }

  #about > .section-header { grid-template-columns: 1fr; }
  #about > .section-header p { margin-top: 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .profile-details-grid { position: static; }

  .field-story { grid-template-columns: 1fr; gap: 72px; }
  .field-story > figure { max-width: 520px; }

  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donation-section { grid-template-columns: 1fr; gap: 64px; }
  .involved-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .sponsor-callout { grid-template-columns: 1fr; padding: 52px 44px; gap: 32px; }
  .sponsor-callout .button { justify-self: start; }
  .footer-top { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  section { padding: 80px 20px; }
  :root { --gutter: 20px; }
  .section-header { margin-bottom: 44px; }
  .section-header p { font-size: 16px; }
  h2 { font-size: clamp(38px, 10.5vw, 52px); }

  .brand span { font-size: 18px; }
  .brand small { font-size: 8px; letter-spacing: 0.22em; }
  .brand img { width: 40px; height: 40px; }
  .site-header { gap: 12px; }
  .header-donate { min-height: 44px; padding: 10px 16px; letter-spacing: 0.12em; }
  .menu-toggle { padding: 8px 12px; }

  .hero { padding-top: 120px; row-gap: 48px; }
  .hero h1 { font-size: clamp(48px, 13.5vw, 72px); }
  .hero-lede { font-size: 16px; margin-top: 28px; }
  .hero-btns { gap: 24px; margin-top: 36px; }
  .hero-note { margin-top: 40px; }
  .hero-photo { padding: 12px 0 56px 12px; }
  .hero-photo::before { inset: 0 12px 44px 0; }
  .orbit-mark { width: 96px; height: 96px; left: -6px; top: 6%; }
  .orbit-mark text { font-size: 10px; }
  .orbit-mark img { width: 40px; height: 40px; }
  .hero-photo figcaption { padding: 16px 18px; max-width: 94%; }
  .hero-photo figcaption div > span { font-size: 21px; }
  .hero-photo figcaption small { font-size: 10px; }

  .identity-bar { grid-template-columns: 1fr; }
  .identity-bar p, .identity-bar p:first-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .identity-bar p:last-child { border-bottom: 0; }
  .identity-bar strong { font-size: 26px; min-width: 120px; }
  .identity-bar p:first-child strong { font-size: 48px; }
  .identity-bar strong br, .identity-bar p > span br { display: none; }

  .about-text h3 { font-size: 34px; }
  .dropcap::first-letter { font-size: 68px; }
  .profile-details-grid { padding: 30px 24px; }
  .profile-card-heading h3 { font-size: 28px; }
  .brand-symbol { width: 52px; height: 52px; }
  .profile-detail-card { grid-template-columns: 1fr; gap: 4px; }
  .profile-actions .button { width: 100%; }
  .values-heading { display: block; padding-top: 44px; }
  .values-heading .section-tag { margin-bottom: 18px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { padding: 26px 18px 28px; }
  .value-card h3 { font-size: 22px; }
  .value-card p { font-size: 14px; }

  .field-story { padding-top: 96px; padding-bottom: 104px; gap: 56px; }
  .field-story > figure { margin: 0 8px 0 18px; }
  .field-story p { font-size: 16px; }

  .programme-toolbar { gap: 16px; }
  .filter { padding: 9px 16px; font-size: 12px; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { padding: 34px 24px 28px; }
  .prog-card h3 { font-size: 27px; max-width: none; }

  .partners-grid { grid-template-columns: 1fr 1fr; }
  .partner-chip { font-size: 19px; padding-right: 12px; }
  .sponsor-chip { font-size: 12.5px; }
  .sponsor-callout { padding: 40px 26px; margin-top: 48px; }
  .sponsor-callout .button { width: 100%; white-space: normal; }

  .governance-band { padding-bottom: 80px; }
  .governance-grid { grid-template-columns: 1fr; gap: 40px; }

  .bank-card { padding: 38px 24px 30px; }
  .bank-card::before { inset: 6px; }
  .bank-card h3 { font-size: 30px; }
  .account-number { font-size: 26px; }
  .trust-note { margin-top: 40px; }

  #involved::before { width: 480px; height: 480px; }
  #involved > h2 { font-size: clamp(46px, 13vw, 64px); }
  .involved-grid { margin-top: 48px; }
  .involved-card { padding: 26px 18px 28px; }
  .involved-num { margin-bottom: 28px; }
  .involved-card strong { font-size: 28px; }
  .involved-card small { font-size: 12px; }

  .contact-details a, .contact-details p { font-size: 15.5px; }
  .contact-card { padding: 40px 26px; }
  .contact-card .button { width: 100%; }

  footer { padding: 64px 20px 28px; }
  .footer-top { display: grid; gap: 28px; padding-bottom: 40px; }
  .footer-top > p { font-size: 21px; }
  .footer-top nav { flex-wrap: wrap; gap: 8px 26px; }
  .footer-wordmark { font-size: clamp(46px, 15vw, 80px); padding: 28px 0 40px; }
  .footer-wordmark em { display: block; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 400px) {
  .site-header > .brand span { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-btns .button { width: 100%; }
  .values-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .involved-grid { grid-template-columns: 1fr; }
  .account-number { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

@media print {
  .site-header { position: static; }
  .hero { padding-top: 40px; }
  .reveal-ready { opacity: 1; transform: none; }
  .reading-progress, .menu-toggle, .orbit-mark { display: none; }
}
