:root {
  --ink: #17231e;
  --body: #40504a;
  --muted: #6f7c75;
  --deep: #12362d;
  --moss: #5f7b54;
  --clay: #b86145;
  --gold: #c3913c;
  --blue: #5f91a3;
  --paper: #ffffff;
  --soft: #f6f8f3;
  --wash: #eef5f0;
  --line: #dce5dc;
  --splash: #ffd54a;
  --shadow: 0 28px 80px rgba(18, 54, 45, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Avenir Next, Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

main img:not(.brand-logo) {
  filter: grayscale(1) contrast(1.08);
}

a { color: inherit; text-decoration: none; }

p { color: var(--body); margin: 0 0 1rem; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 { font-size: 4.75rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.32rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 220, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 850;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 8px 18px rgba(18,54,45,0.14));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  padding: 0.72rem 0.82rem;
  border-radius: 6px;
  color: #34433d;
  font-weight: 760;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--deep);
  background: var(--wash);
}

.donate-splash,
.site-nav a[href="/donate/"] {
  position: relative;
  isolation: isolate;
  margin-left: 0.35rem;
  padding-inline: 1.05rem;
  color: #161b16;
  background: var(--splash);
  box-shadow: 0 16px 32px rgba(195, 145, 60, 0.26);
  transform: rotate(-1.5deg);
}

.donate-splash::before,
.site-nav a[href="/donate/"]::before {
  content: "";
  position: absolute;
  inset: -7px -10px;
  z-index: -1;
  border-radius: 48% 52% 56% 44% / 56% 46% 54% 44%;
  background: var(--splash);
  opacity: 0.42;
  transform: rotate(5deg);
}

.donate-splash:hover,
.site-nav a[href="/donate/"]:hover,
.site-nav a[href="/donate/"].active {
  color: #161b16;
  background: #ffcc24;
  transform: rotate(0deg) translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.home-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.home-hero-image,
.page-hero img,
.donation-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 32, 27, 0.88) 0%, rgba(18, 54, 45, 0.68) 42%, rgba(18, 54, 45, 0.1) 78%),
    linear-gradient(0deg, rgba(8, 20, 17, 0.4), rgba(8, 20, 17, 0));
}

.home-hero-copy {
  width: min(760px, 90vw);
  margin-left: 5vw;
  padding: 4rem 0;
  color: white;
}

.home-hero-copy h1 { color: white; }

.home-hero-copy p {
  max-width: 640px;
  margin-top: 1.15rem;
  color: rgba(255,255,255,0.86);
  font-size: 1.25rem;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-hero-copy .kicker,
.page-hero-copy .kicker,
.donation-stage-copy .kicker,
.cta-band .kicker,
.testimonial-band .kicker {
  color: #f1c16e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.88rem 1.18rem;
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--deep);
  box-shadow: 0 16px 34px rgba(18, 54, 45, 0.22);
}

.button.primary:hover { background: #0c2b24; }

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button.secondary {
  color: white;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.46);
}

.button.primary.donate-splash,
.footer-donate.donate-splash {
  color: #161b16;
  background: var(--splash);
  box-shadow: 0 16px 32px rgba(195, 145, 60, 0.26);
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--deep);
  font-weight: 850;
  border-bottom: 2px solid var(--gold);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.impact-strip div {
  padding: 1.45rem 5vw;
  background: white;
  border-top: 4px solid transparent;
}

.impact-strip div:nth-child(1) { border-top-color: var(--clay); }
.impact-strip div:nth-child(2) { border-top-color: var(--gold); }
.impact-strip div:nth-child(3) { border-top-color: var(--blue); }

.impact-strip strong {
  display: block;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.impact-strip span { color: var(--muted); }

.section {
  padding: 6rem 5vw;
}

.section.alt { background: var(--soft); }

.section-head {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.08rem;
}

.section-head.narrow { max-width: 620px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.split p { font-size: 1.05rem; }

.quote-panel,
.timeline-panel,
.donate-note {
  padding: 2rem;
  border-radius: 8px;
  color: white;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.quote-panel {
  border-left: 6px solid var(--gold);
}

.quote-panel p {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 500;
}

.quote-panel span,
.timeline-panel span,
.donate-note span { color: rgba(255,255,255,0.78); }

.timeline-panel h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: 1.7rem;
}

.timeline-panel p,
.donate-note p { color: rgba(255,255,255,0.84); }

.leader-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.7fr);
  gap: 1.25rem;
  align-items: stretch;
}

.leader-card,
.leader-note,
.credential-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(18, 54, 45, 0.07);
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
}

.leader-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.leader-card figcaption,
.leader-note,
.credential-card div {
  padding: 1.35rem;
}

.leader-card figcaption > span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.leader-note {
  align-content: center;
  border-left: 5px solid var(--gold);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.credential-card img {
  width: 100%;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
  object-position: top center;
  background: var(--wash);
}

.credential-card.text-only {
  display: grid;
  align-content: center;
  border-top: 5px solid var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card,
.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(18, 54, 45, 0.07);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-card div,
.blog-card div { padding: 1.25rem; }

.project-card h3,
.service-grid h3 { margin-bottom: 0.55rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: #fbfcf8;
}

.step span {
  display: block;
  color: var(--clay);
  font-weight: 850;
  margin-bottom: 1rem;
}

.cta-band,
.testimonial-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 5vw;
  color: white;
  background: var(--deep);
}

.cta-band h2,
.testimonial-band h2 { color: white; }

.cta-band p,
.testimonial-band p { color: rgba(255,255,255,0.78); }

.page-hero {
  position: relative;
  min-height: 52svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(11, 32, 27, 0.82), rgba(11, 32, 27, 0.18));
}

.page-hero-copy {
  width: min(880px, 90vw);
  padding: 5rem 0 4rem;
  margin-left: 5vw;
  color: white;
}

.page-hero-copy h1 { color: white; }

.page-hero-copy p {
  margin-top: 1rem;
  max-width: 700px;
  color: rgba(255,255,255,0.88);
  font-size: 1.16rem;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-grid article,
.service-grid article {
  min-height: 150px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-grid article:nth-child(2n) { background: var(--wash); }

.testimonial-band {
  grid-template-columns: 0.8fr 1fr 1fr;
  background: #17231e;
}

blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--gold);
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}

.article-intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--clay);
  font-weight: 850;
  font-size: 0.85rem;
}

.article-body {
  width: min(820px, 90vw);
  margin: 0 auto;
  padding: 5rem 0;
}

.article-body h1 { font-size: 2.6rem; margin-bottom: 1.4rem; }
.article-body h2 { font-size: 1.8rem; margin: 2.2rem 0 0.8rem; }
.article-body p,
.article-body li { color: var(--body); font-size: 1.07rem; }
.article-body li { margin-bottom: 0.55rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-list p {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-list strong,
.contact-list span { display: block; }

.campaign-donate {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4.5rem) 5vw;
  background:
    linear-gradient(180deg, #f8faf5, #ffffff 52%),
    var(--soft);
}

.campaign-story {
  display: grid;
  gap: 1.25rem;
}

.campaign-media {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  height: clamp(330px, 40vw, 560px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.campaign-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,32,27,0.26), rgba(11,32,27,0));
}

.campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-story h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.campaign-story > p {
  max-width: 660px;
  font-size: 1.16rem;
}

.campaign-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.campaign-proof span {
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  background: white;
  font-weight: 820;
}

.campaign-note {
  display: grid;
  gap: 0.1rem;
  width: min(520px, 100%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: white;
}

.campaign-note strong { color: var(--deep); }
.campaign-note span { color: var(--body); }

.campaign-give-card {
  position: sticky;
  top: 96px;
  align-self: start;
}

.gift-header {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.3rem;
}

.gift-header span {
  width: max-content;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  color: white;
  background: var(--deep);
  font-size: 0.82rem;
  font-weight: 850;
}

.gift-header strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.campaign-details {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
  background: white;
}

.donation-stage {
  position: relative;
  min-height: 560px;
  height: clamp(560px, 68svh, 720px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.donation-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,32,27,0.9), rgba(11,32,27,0.58) 46%, rgba(11,32,27,0.08) 80%),
    linear-gradient(0deg, rgba(11,32,27,0.45), rgba(11,32,27,0));
}

.donation-stage-copy {
  width: min(820px, 90vw);
  margin-left: 5vw;
  padding: 5rem 0 4.5rem;
  color: white;
}

.donation-stage-copy h1 { color: white; }

.donation-stage-copy p {
  max-width: 650px;
  margin-top: 1rem;
  color: rgba(255,255,255,0.86);
  font-size: 1.18rem;
}

.donation-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.donation-proof span {
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,0.12);
  font-weight: 780;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 4rem;
  align-items: start;
  background: linear-gradient(180deg, var(--soft), white);
}

.donation-story {
  position: sticky;
  top: 104px;
}

.donation-story p { font-size: 1.06rem; }

.impact-ledger {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.impact-ledger p {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 0.7rem;
  align-items: baseline;
  margin: 0;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.impact-ledger strong {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
}

.impact-ledger span { color: var(--body); }

form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 44px rgba(18, 54, 45, 0.08);
}

.donation-card {
  padding: 1.45rem;
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

label,
fieldset,
.field-label {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  color: #31423b;
  font-weight: 820;
}

fieldset {
  padding: 0;
  border: 0;
}

legend { padding: 0 0 0.45rem; font-weight: 850; }

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.85rem;
  border: 1px solid #cdd9cf;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: #fbfcf9;
}

textarea { resize: vertical; min-height: 130px; }

input:focus,
textarea:focus {
  outline: 3px solid rgba(95,145,163,0.22);
  border-color: var(--blue);
}

.amount-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--wash);
}

.amount-output {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1;
}

input[type="range"] {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--clay);
}

.amount-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.quick-amounts button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep);
  background: white;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.quick-amounts button:hover,
.quick-amounts button.active {
  color: white;
  border-color: var(--deep);
  background: var(--deep);
}

.currency-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #cdd9cf;
  border-radius: 6px;
  background: #fbfcf9;
  overflow: hidden;
}

.currency-input > span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 0.85rem;
  color: var(--deep);
  background: var(--wash);
  font-weight: 850;
}

.currency-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.donor-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.donation-submit {
  width: 100%;
  min-height: 66px;
  font-size: 1.18rem;
  background: var(--clay);
  box-shadow: 0 18px 44px rgba(184, 97, 69, 0.28);
}

.donation-submit:hover {
  background: #9e4e36;
}

.donate-form .donation-submit.donate-splash {
  color: #161b16;
  background: var(--splash);
  box-shadow: 0 18px 44px rgba(195, 145, 60, 0.28);
  transform: none;
}

.donate-form .donation-submit.donate-splash:hover {
  background: #ffcc24;
  transform: translateY(-1px);
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 20, 17, 0.72);
}

.checkout-modal[hidden] { display: none; }

.checkout-dialog {
  width: min(980px, 100%);
  height: min(860px, 92svh);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: 0 30px 100px rgba(0,0,0,0.36);
}

.checkout-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.checkout-dialog-head > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.checkout-external {
  color: var(--deep);
  font-weight: 850;
  border-bottom: 2px solid var(--gold);
}

.checkout-dialog-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: white;
  font-size: 1.45rem;
  cursor: pointer;
}

.checkout-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.upload-page {
  min-height: calc(100svh - 74px);
  display: grid;
  place-items: center;
  padding: 4rem 5vw;
  background:
    linear-gradient(180deg, rgba(238,245,240,0.92), rgba(255,255,255,0.96)),
    var(--soft);
}

.upload-card {
  width: min(820px, 100%);
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.upload-card h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.upload-card > p {
  max-width: 640px;
}

.upload-summary {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--wash);
}

.upload-summary strong,
.upload-result strong {
  color: var(--deep);
}

.upload-summary span,
.file-list,
.upload-result {
  color: var(--body);
}

.file-drop {
  min-height: 150px;
  place-items: center;
  padding: 1.4rem;
  border: 2px dashed #cdd9cf;
  border-radius: 8px;
  color: var(--deep);
  background: #fbfcf9;
  text-align: center;
  cursor: pointer;
}

.file-drop input {
  width: min(420px, 100%);
  padding: 0.8rem;
  border: 0;
  background: transparent;
}

.file-list,
.upload-result {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.file-list span,
.upload-result span {
  display: block;
  overflow-wrap: anywhere;
}

.upload-result[hidden] {
  display: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--deep);
  font-weight: 820;
}

.form-status.error { color: var(--clay); }
.form-status.success { color: var(--deep); }

.not-found {
  min-height: 62svh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 5rem 5vw;
}

.return-panel {
  width: min(760px, 100%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 2rem;
  padding: 3.4rem 5vw;
  color: white;
  background: #101a16;
}

.site-footer p,
.site-footer a { color: rgba(255,255,255,0.76); }

.site-footer a { display: block; margin-top: 0.4rem; }

.footer-brand {
  margin-bottom: 0.8rem;
  color: white;
  font-size: 1.15rem;
}

.footer-heading {
  display: block;
  margin-bottom: 0.7rem;
  color: white;
  font-weight: 850;
}

.footer-donate {
  width: max-content;
  margin-top: 0.85rem;
  padding: 0.72rem 1rem;
  border-radius: 6px;
  border-bottom: 0;
  font-weight: 850;
}

.site-footer .footer-donate.donate-splash {
  color: #161b16;
  background: var(--splash);
}

@media (max-width: 980px) {
  h1 { font-size: 3.35rem; }
  h2 { font-size: 2.25rem; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.6rem 5vw 1rem;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: grid; }
  .site-nav a { border-radius: 6px; }
  .home-hero { min-height: 76svh; }
  .home-hero-overlay {
    background: linear-gradient(90deg, rgba(11,32,27,0.88), rgba(11,32,27,0.48));
  }
  .impact-strip,
  .project-grid,
  .process-grid,
  .feature-grid,
  .service-grid,
  .article-intro,
  .contact-layout,
  .campaign-donate,
  .campaign-details,
  .donation-section,
  .site-footer,
  .testimonial-band,
  .split {
    grid-template-columns: 1fr;
  }
  .donation-story { position: static; }
  .campaign-give-card { position: static; }
  .leader-card { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.72rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.2rem; }
  .site-header { min-height: 66px; }
  .site-nav { inset: 66px 0 auto 0; }
  .home-hero-copy,
  .donation-stage-copy { padding: 3.25rem 0; }
  .donation-stage {
    min-height: 600px;
    height: auto;
  }
  .home-hero-copy p,
  .page-hero-copy p,
  .donation-stage-copy p { font-size: 1.04rem; }
  .section { padding: 4rem 5vw; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
  .donor-fields,
  .impact-ledger p { grid-template-columns: 1fr; }
  .amount-output { font-size: 2.55rem; }
  .button { width: 100%; }
  .campaign-donate { padding: 1rem 5vw 4rem; }
  .campaign-media {
    min-height: 260px;
    height: 62vw;
  }
  .leader-card img { min-height: 340px; }
  .checkout-modal { padding: 0; }
  .checkout-dialog {
    width: 100%;
    height: 100svh;
    border-radius: 0;
  }
  .file-drop { min-height: 120px; }
}
