/* Nina Bambina Foundation — soft sunrise */
:root {
  --cream: #fff8f3;
  --blush: #fde4e0;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --peach: #fed7aa;
  --sun:   #fb923c;
  --sun-soft: #fdba74;
  --amber-50: #fffbeb;
  --ink: #3f2a2e;
  --ink-2: #6b5158;
  --ink-3: #9a8088;
  --line: rgba(63, 42, 46, 0.12);

  --serif: "Fraunces", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Nunito", "Nunito Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
#about { scroll-margin-top: 80px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; }

/* ---------- Site shell ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  padding: 8px 40px;
  display: flex; align-items: center; gap: 28px;
  background: rgba(255, 248, 243, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px; position: relative;
  flex: 0 0 40px;
}
.nav-links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  text-decoration: none; color: var(--ink-2);
  padding: 6px 2px; border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--rose-400); }
.nav-links a.nav-ig { padding: 4px; border: none !important; display: inline-flex; align-items: center; }
.nav-links a.nav-ig:hover { color: var(--rose-400); border: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent; border: none;
  cursor: pointer; padding: 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn-primary {
  background: var(--rose-400); color: white; border-color: var(--rose-400);
  box-shadow: 0 8px 24px -10px var(--rose-400);
}
.btn-primary:hover { background: var(--rose-500); border-color: var(--rose-500); color: white; }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-ghost { border-color: transparent; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 640px;
  padding: 100px 40px 140px;
  overflow: hidden;
  isolation: isolate;
}
/* ---------- Page-wide sky backdrop (fixed sun + dusk gradient) ---------- */
:root { --set: 0; }
/* The dusk gradient lives on <html> so it always paints the page background,
   regardless of stacking context. Fixed-attachment keeps it pinned to the
   viewport so the sun/rays can move against a stable sky. */
html {
  background:
    linear-gradient(
      180deg,
      color-mix(in oklab, #fee2e2 calc((1 - var(--set)) * 100%), #fbb6a4 calc(var(--set) * 100%)) 0%,
      color-mix(in oklab, #fce7f3 calc((1 - var(--set)) * 100%), #f49ab8 calc(var(--set) * 100%)) 48%,
      color-mix(in oklab, #fef3c7 calc((1 - var(--set)) * 100%), #b86a8e calc(var(--set) * 100%)) 100%
    ) fixed;
}
body {
  background: transparent;
}
.sky-backdrop {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.sky-backdrop .sky-rays {
  position: absolute; left: 50%; top: 50%;
  width: 1200px; height: 800px;
  transform: translate(-50%, -20%);
  opacity: 0.32;
  will-change: opacity;
}
.sky-backdrop .sky-sun {
  position: absolute; left: 50%; bottom: 0;
  width: 1100px; height: 680px; border-radius: 50%;
  transform: translate(-50%, 50%);
  background: radial-gradient(
    ellipse at 50% 40%,
    color-mix(in oklab, #fffbe6 calc((1 - var(--set)) * 100%), #ffe4d6 calc(var(--set) * 100%)) 0%,
    color-mix(in oklab, #fef9c3 calc((1 - var(--set)) * 100%), #fecaca calc(var(--set) * 100%)) 25%,
    color-mix(in oklab, #fef08a calc((1 - var(--set)) * 100%), #fb7185 calc(var(--set) * 100%)) 48%,
    color-mix(in oklab, rgba(253,224,71,0.4) calc((1 - var(--set)) * 100%), rgba(244, 63, 94, 0.5) calc(var(--set) * 100%)) 68%,
    rgba(253,224,71,0) 88%
  );
  filter: blur(20px);
  opacity: 0.78;
  will-change: transform, opacity;
}

/* Hero section is now transparent — sky shows through */
.hero-a {
  background: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  position: relative;
}
.hero-a .rays {
  position: absolute; left: 50%; top: 50%; width: 1200px; height: 800px;
  transform: translate(-50%, -20%);
  z-index: -1; opacity: 0.35;
}
.hero-a .clouds {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero-a .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 780px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--rose-500); margin-bottom: 24px;
}
.kicker::before, .kicker::after {
  content: ""; width: 24px; height: 1px; background: var(--rose-300);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic; font-weight: 300;
  color: var(--rose-500);
}
.hero-lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-2);
  max-width: 560px; margin: 0 auto 32px;
}
.hero-a .hero-lede { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-a .hero-ctas { justify-content: center; }

.hero-aside {
  position: relative;
}

/* ---------- Sunrise horizon illustration (hero B) ---------- */
.hero-b {
  background: linear-gradient(180deg, #fff1f2 0%, #fce7f3 100%);
}
.hero-b .hero-inner { grid-template-columns: 1.1fr 1fr; }

/* ---------- Soft radial glow (hero C) ---------- */
.hero-c {
  background: radial-gradient(ellipse at 50% 95%, #fb7185 0%, #fda4af 22%, #fecdd3 45%, #fff1f2 75%);
}
.hero-c .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 720px; }
.hero-c h1 { color: var(--ink); }
.hero-c .hero-lede { color: var(--ink-2); }

/* ---------- Page sections ---------- */
.section { padding: 100px 40px; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 18px;
}
.section-title em { font-style: italic; color: var(--rose-500); font-weight: 300; }
.section-lede {
  font-size: 17px; color: var(--ink-2);
  max-width: 620px; margin: 0 0 50px;
}
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .section-lede { margin-left: auto; margin-right: auto; }

/* Mission band */
.mission {
  background: transparent;
  position: relative;
}
.mission-quote {
  max-width: 820px; margin: 0 auto;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.35; letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  position: relative;
}
.mission-quote::before {
  content: "";
  display: block;
  width: 52px; height: 52px;
  margin: 0 auto 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'><circle cx='26' cy='30' r='12' fill='%23fb7185'/><path d='M8 30 Q26 24 44 30' stroke='%23fda4af' stroke-width='1.5' fill='none' stroke-linecap='round'/><path d='M4 30 Q26 22 48 30' stroke='%23fecdd3' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>") center/contain no-repeat;
}
.mission-signoff {
  text-align: center; margin-top: 36px;
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-3);
}

/* Programs grid */
.programs {
  background: transparent;
}
.program-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.program-card {
  padding: 36px 32px 32px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(244, 63, 94, 0.25);
}
.program-ill {
  width: 84px; height: 84px; margin-bottom: 20px;
}
.program-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em; margin: 0 0 10px;
}
.program-card p {
  font-size: 14.5px; color: var(--ink-2); margin: 0 0 14px;
}
.program-link {
  font-size: 13px; font-weight: 700; color: var(--rose-500);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.program-link:hover { gap: 10px; }

/* Hero variation picker (tabs inline in the doc) */
.var-tabs {
  display: flex; justify-content: center; gap: 8px;
  padding: 20px; background: var(--ink); color: white;
  font-family: var(--sans);
  position: sticky; top: 0; z-index: 60;
}
.var-tabs button {
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 8px 16px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.var-tabs button.active { background: white; color: var(--ink); border-color: white; }
.var-tabs button:hover:not(.active) { background: rgba(255,255,255,0.1); }
.var-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  opacity: 0.6; margin-right: 10px; align-self: center;
}

/* ---------- Donate page ---------- */
.donate-hero {
  padding: 80px 40px 40px;
  background: transparent;
  text-align: center;
  position: relative; overflow: hidden;
}
.donate-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -0.02em; line-height: 1.08;
  margin: 0 0 20px;
}
.donate-hero h1 em { font-style: italic; color: var(--rose-500); font-weight: 300; }
.donate-hero-lede {
  max-width: 620px; margin: 0 auto 28px;
  font-size: 18px; color: var(--ink-2);
}
.donate-sun {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, -55%);
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fb7185 0%, #fda4af 50%, transparent 72%);
  z-index: 0; pointer-events: none; opacity: 0.5;
}

.donate-wrap {
  max-width: 1100px; margin: -20px auto 0; padding: 0 40px 100px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
  position: relative; z-index: 2;
}
.donate-intro {
  max-width: 880px;
  margin: -20px auto 32px;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.donate-intro .donate-textbox {
  text-align: center;
}
.donate-wrap--split {
  max-width: 1240px;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.donate-card-lede {
  font-size: 14px; color: var(--ink-3); margin: 0 0 24px;
}

/* Tab segmented control inside the donate card */
.donate-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 24px;
  background: var(--rose-50);
  border-radius: 999px;
}
.donate-tab {
  flex: 1;
  padding: 11px 18px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.donate-tab:hover { color: var(--ink); }
.donate-tab.active {
  background: white;
  color: var(--rose-500);
  box-shadow: 0 6px 18px -10px var(--rose-400);
}
.donate-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.25);
}
.donate-card {
  background: white;
  border-radius: 32px;
  padding: 44px;
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: 0 30px 80px -40px rgba(244, 63, 94, 0.3);
}
.donate-card h2 {
  font-family: var(--serif); font-weight: 500; font-size: 28px;
  letter-spacing: -0.01em; margin: 0 0 6px;
}
.donate-card .small {
  font-size: 14px; color: var(--ink-3); margin: 0 0 28px;
}

.amount-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-bottom: 14px;
}
.amount-btn {
  background: var(--rose-50);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 22px 12px 18px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.amount-btn .sub {
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.12em;
  line-height: 1;
}
.amount-btn:hover { background: var(--rose-100); }
.amount-btn.active {
  background: white;
  border-color: var(--rose-400);
  color: var(--rose-500);
  box-shadow: 0 10px 28px -14px var(--rose-400);
}
.amount-btn.active .sub { color: var(--rose-400); }
.amount-btn:focus-visible {
  outline: none;
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.18);
}

.custom-amount {
  position: relative; margin-bottom: 18px;
}
.custom-amount input {
  width: 100%; padding: 22px 18px 22px 48px;
  background: var(--rose-50); border: 2px solid transparent;
  border-radius: 18px;
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--ink); outline: none;
  transition: background 0.18s, border-color 0.18s;
  -moz-appearance: textfield;
}
.custom-amount input::-webkit-outer-spin-button,
.custom-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.custom-amount input::placeholder { color: var(--ink-3); font-family: var(--serif); font-weight: 400; }
.custom-amount input:focus {
  background: white; border-color: var(--rose-400);
  box-shadow: 0 10px 28px -14px var(--rose-400);
}
.custom-amount::before {
  content: "£"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 22px; color: var(--ink-3);
  pointer-events: none;
}

.freq-note {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: var(--amber-50); border: 1px solid #fde68a;
  margin: 4px 0 22px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.45;
}
.freq-note > svg { flex: 0 0 18px; color: var(--sun); margin-top: 1px; }
.freq-note strong { color: var(--ink); font-weight: 700; }
.freq-note-sub { color: var(--ink-3); font-weight: 500; }

.donate-submit {
  width: 100%; justify-content: center;
  font-size: 17px; padding: 18px;
  margin-top: 4px;
}
.one-off-link {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 16px 0 6px;
}
.one-off-link:hover { color: var(--rose-500); }
.donate-legal {
  text-align: center; margin-top: 16px;
  font-size: 12px; color: var(--ink-3);
}

/* Impact aside */
.impact {
  padding: 6px 0;
}
.impact h3 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  margin: 0 0 24px; letter-spacing: -0.01em;
}
.impact-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.impact-item:last-child { border-bottom: none; }
.impact-amt {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--rose-500); flex: 0 0 90px; line-height: 1;
  letter-spacing: -0.01em;
}
.impact-amt span { font-size: 13px; font-family: var(--sans); color: var(--ink-3); display: block; margin-top: 4px; font-weight: 600; }
.impact-text { font-size: 14.5px; color: var(--ink-2); }
.impact-text strong { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 700; }

.donate-textbox {
  background: white;
  border-radius: 32px;
  padding: 40px 36px;
  border: 1px solid rgba(244, 63, 94, 0.1);
  box-shadow: 0 30px 80px -40px rgba(244, 63, 94, 0.3);
}
.donate-textbox h3 {
  font-family: var(--serif); font-weight: 500; font-size: 26px;
  letter-spacing: -0.01em; margin: 0 0 16px; color: var(--ink);
}
.donate-textbox p {
  font-size: 15px; line-height: 1.65; color: var(--ink-2);
  margin: 0 0 14px;
}
.donate-textbox p:last-child { margin-bottom: 0; }

.otherways {
  margin-top: 40px; padding: 28px;
  background: linear-gradient(135deg, #fff1f2, #fef3c7);
  border-radius: 24px;
}
.otherways h4 { font-family: var(--serif); margin: 0 0 8px; font-weight: 500; font-size: 18px; }
.otherways p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.otherways a { color: var(--rose-500); font-weight: 700; text-decoration: none; }

/* ---------- Contact page ---------- */
.contact-hero {
  padding: 80px 40px 40px;
  background: transparent;
  text-align: center;
  position: relative; overflow: hidden;
}
.contact-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -0.02em; line-height: 1.08;
  margin: 0 0 16px;
}
.contact-hero h1 em { font-style: italic; color: var(--rose-500); font-weight: 300; }
.contact-hero-lede {
  max-width: 620px; margin: 0 auto 16px;
  font-size: 18px; color: var(--ink-2);
}

.contact-wrap {
  max-width: 1100px; margin: -20px auto 0; padding: 0 40px 100px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
  position: relative; z-index: 2;
}

.contact-card {
  background: white;
  border-radius: 32px;
  padding: 44px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(244, 63, 94, 0.3);
}
.contact-card h2 {
  font-family: var(--serif); font-weight: 500; font-size: 28px;
  letter-spacing: -0.01em; margin: 0 0 6px;
}
.contact-card .small {
  font-size: 14px; color: var(--ink-3); margin: 0 0 28px;
}

.field {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px;
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field label {
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.field input,
.field textarea,
.field select {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px;
  background: var(--rose-50); border: 2px solid transparent;
  border-radius: 14px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--ink); outline: none;
  transition: all 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: white; border-color: var(--rose-400);
}

.contact-submit { width: 100%; justify-content: center; margin-top: 8px; }

.contact-aside {
  display: flex; flex-direction: column; gap: 20px;
  padding: 6px 0;
}
.contact-block {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -40px rgba(244, 63, 94, 0.25);
}
.contact-block h3 {
  font-family: var(--serif); font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em; margin: 0 0 12px; color: var(--ink);
}
.contact-block p {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 8px;
}
.contact-block a { color: var(--rose-500); text-decoration: none; font-weight: 700; }
.contact-block a:hover { text-decoration: underline; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2);
}
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row svg { flex: 0 0 22px; }
.contact-row strong { color: var(--ink); font-weight: 700; display: block; }

/* Footer */
.site-footer {
  background: var(--ink); color: #f5e6e3;
  padding: 60px 40px 30px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px;
}
/* ---------- Legal page ---------- */
.legal-hero {
  padding: 80px 40px 40px;
  text-align: center;
  position: relative;
}
.legal-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -0.02em; line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
.legal-wrap {
  max-width: 1100px; margin: 0 auto; padding: 20px 40px 100px;
  display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start;
  position: relative; z-index: 2;
}
.legal-toc {
  position: sticky; top: 96px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px;
}
.legal-toc h4 {
  font-family: var(--serif); font-weight: 500; font-size: 14px;
  margin: 0 0 10px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.legal-toc a {
  display: block;
  padding: 9px 12px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.legal-toc a:hover { background: var(--rose-50); color: var(--ink); }
.legal-toc a.active {
  background: var(--rose-100);
  color: var(--rose-500);
}
.legal-content {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 48px 52px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(244, 63, 94, 0.25);
}
.legal-content .updated {
  font-size: 13px; color: var(--ink-3); margin: 0 0 24px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.legal-content .lead {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 19px; line-height: 1.55; color: var(--ink);
  margin: 0 0 28px;
}
.legal-content .lead-stub {
  margin-top: 32px; padding: 14px 16px;
  background: var(--amber-50); border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.legal-content h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em;
  margin: 28px 0 12px; color: var(--ink);
}
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }
.legal-content ul { font-size: 15px; line-height: 1.7; color: var(--ink-2); padding-left: 22px; margin: 0 0 14px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--rose-500); text-decoration: none; font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content .declaration-box {
  background: linear-gradient(135deg, #fff1f2, #fef3c7);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(244, 63, 94, 0.15);
  margin: 14px 0 18px;
}
.legal-content .declaration-box p {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 16px; line-height: 1.55;
  color: var(--ink);
}
.legal-content .declaration-box p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 24px; padding: 12px 24px 60px; }
  .legal-toc { position: static; }
  .legal-content { padding: 32px 28px; border-radius: 22px; }
}

/* Donate form: Gift Aid + privacy consent */
.donate-extra {
  display: flex; flex-direction: column; gap: 12px;
  margin: 4px 0 18px;
}
.gift-aid-block {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff1f2, #fef3c7);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gift-aid-block:hover { border-color: rgba(244, 63, 94, 0.35); }
.gift-aid-block input[type="checkbox"] {
  margin: 3px 0 0;
  width: 18px; height: 18px;
  flex: 0 0 18px;
  accent-color: var(--rose-500);
  cursor: pointer;
}
.gift-aid-text {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.gift-aid-text strong {
  color: var(--ink); font-weight: 700;
  font-family: var(--serif); font-size: 15px;
  display: block; margin-bottom: 2px;
}
.gift-aid-text a { color: var(--rose-500); font-weight: 600; }
.privacy-line {
  font-size: 12px; line-height: 1.5; color: var(--ink-3);
  text-align: center;
}
.privacy-line a { color: var(--rose-500); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-footer h5 { font-family: var(--serif); font-weight: 500; font-size: 16px; margin: 0 0 14px; color: white; }
.site-footer a { color: #e8d3d0; text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--rose-300); }
.site-footer .brand { color: white; margin-bottom: 14px; }
.brand-on-dark svg text:nth-of-type(1) { fill: #fff7ed; }
.brand-on-dark svg text:nth-of-type(2) { fill: #fde68a; }
.footer-note {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(245,230,227,0.6);
  text-align: center;
}

/* ---------- About section ---------- */
.about-section {
  background: transparent;
}
.fundraising-section {
  background: transparent !important;
  padding-top: 40px;
}
.about-section {
  padding-bottom: 40px;
}
.about-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 80px;
}
.about-wrap--solo {
  grid-template-columns: 1fr;
  max-width: 1240px;
  margin-bottom: 0;
  text-align: center;
}
.about-wrap--solo .about-body .kicker { text-align: center; }
.about-wrap--solo .about-body p { max-width: 1080px; margin-left: auto; margin-right: auto; }
.about-wrap--solo .about-signoff { text-align: center; }
.about-portrait { position: relative; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, #fef9c3 0%, #fde68a 55%, #fecaca 100%);
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(63, 42, 46, 0.2);
  overflow: hidden;
}
.portrait-placeholder {
  width: 100%; height: 100%;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 35%, #fffbe6 0%, transparent 55%),
    linear-gradient(180deg, #fef9c3 0%, #fef3c7 60%, #fecdd3 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  position: relative;
}
.portrait-initials {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.85;
}
.portrait-caption {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--ink-3);
  letter-spacing: 0.08em;
}
.portrait-sprig {
  position: absolute; right: -14px; bottom: -14px;
  width: 96px; height: 96px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(63, 42, 46, 0.25);
}

.about-body .kicker { text-align: left; }
.about-body .section-title { margin-top: 14px; }
.about-body p {
  font-size: 17px; line-height: 1.7; color: var(--ink-2);
  margin: 0 0 18px; max-width: 780px;
  text-wrap: pretty;
}
.about-signoff { margin-top: 32px; }
.signature {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 26px; color: var(--ink);
  letter-spacing: -0.01em;
}
.signoff-role {
  font-size: 13px; color: var(--ink-3); margin-top: 4px;
  letter-spacing: 0.02em;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 13.5px; color: var(--ink-3);
  line-height: 1.5; max-width: 200px;
}

/* ---------- Responsive ---------- */

/* Tablet (≤ 1024px) — tighter padding, smaller hero, two-up footer */
@media (max-width: 1024px) {
  .site-nav { padding: 8px 24px; gap: 16px; }
  .container { padding: 0 28px; }
  .section { padding: 80px 28px; }
  .hero { padding: 80px 28px 120px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-inner > div:nth-child(4) { grid-column: 1 / -1; }
  .program-grid { gap: 28px; }
  .donate-wrap { gap: 32px; padding: 0 28px 60px; }
  .contact-wrap { gap: 32px; padding: 0 28px 60px; }
}

/* Mobile (≤ 760px) — hamburger, single-column everything */
@media (max-width: 760px) {
  .site-nav {
    flex-wrap: wrap;
    padding: 10px 20px;
  }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav.is-open .nav-links {
    max-height: 480px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover, .nav-links a.active { border-color: var(--line); color: var(--rose-500); }
  .nav-links a.nav-ig { justify-content: flex-start; padding: 14px 4px; gap: 10px; border-bottom: none !important; }
  .nav-links a.nav-ig::after { content: "Instagram"; font-size: 16px; color: var(--ink-2); }

  .hero { padding: 56px 20px 90px; min-height: 0; }
  .hero-inner, .hero-b .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-aside { max-width: 380px; margin: 0 auto; }
  .kicker { font-size: 11px; margin-bottom: 18px; }

  .container, .section { padding: 56px 20px; }

  .program-grid { grid-template-columns: 1fr; gap: 20px; }

  .donate-wrap { grid-template-columns: 1fr; padding: 0 20px 60px; gap: 28px; }
  .donate-card { padding: 24px; }
  .donate-hero { padding: 60px 20px 40px; }

  .contact-wrap { grid-template-columns: 1fr; padding: 0 20px 60px; gap: 28px; }
  .contact-card { padding: 24px; }
  .contact-hero { padding: 60px 20px 40px; }
  .field-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding: 50px 24px 24px; }

  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 320px; margin: 0 auto; width: 100%; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 32px; }
  .about-body p { max-width: 100%; }
  .about-body .kicker { text-align: center; }
}

/* ---------- Trustees ---------- */
.trustees-section {
  padding-top: 40px;
  padding-bottom: 96px;
}
.trustees-section .section-head {
  text-align: center;
  margin-bottom: 56px;
}
.trustees-section .section-head .kicker { justify-content: center; }
.trustees-section .section-title {
  margin-left: auto; margin-right: auto;
}
.trustees-section .section-lede {
  margin-left: auto; margin-right: auto;
  max-width: 620px;
}
.trustee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.trustee-card {
  text-align: center;
  padding: 36px 20px 30px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trustee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -22px rgba(244, 63, 94, 0.28);
}
.trustee-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rose-100), var(--peach));
  color: var(--rose-500);
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: 0.02em;
}
.trustee-name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
  text-wrap: balance;
}
.trustee-role {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--rose-500);
}
@media (max-width: 900px) {
  .trustee-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .trustee-grid { grid-template-columns: 1fr; max-width: 360px; }
  .trustee-card { padding: 28px 18px 24px; }
}

/* Small phone (≤ 420px) — tighter still */
@media (max-width: 420px) {
  .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; }
  .site-nav { padding: 8px 16px; }
  .container, .section { padding: 48px 16px; }
  .hero { padding: 48px 16px 80px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .donate-card, .contact-card { padding: 20px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .amount-btn { padding: 14px 6px 12px; font-size: 18px; }
  .amount-btn .sub { font-size: 9px; letter-spacing: 0.08em; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:first-child { grid-column: auto; }
  .about-stats { grid-template-columns: 1fr; gap: 20px; }
  .donate-hero h1, .contact-hero h1 { font-size: clamp(34px, 9vw, 44px); }
}
