:root {
  --ink: #13201c;
  --muted: #5b6861;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mint: #d9f0e2;
  --green: #1e6b4d;
  --green-dark: #124634;
  --blue: #335c8a;
  --coral: #e26d4f;
  --gold: #f0b84c;
  --line: rgba(19, 32, 28, 0.14);
  --shadow: 0 24px 70px rgba(18, 70, 52, 0.16);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 12px 34px rgba(19, 32, 28, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(30, 107, 77, 0.08);
}

.site-nav .nav-donate {
  color: var(--ink);
  background: var(--gold);
}

.site-nav .nav-donate:hover {
  background: #ffd06f;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 32px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 31, 29, 0.92), rgba(13, 31, 29, 0.68) 46%, rgba(13, 31, 29, 0.2)),
    linear-gradient(0deg, rgba(13, 31, 29, 0.7), transparent 48%);
}

.hero-content {
  width: 100%;
  max-width: 930px;
  min-width: 0;
  padding-bottom: clamp(42px, 8vh, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.story-band .eyebrow {
  color: #ffb18c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover {
  background: #ffd06f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button-quiet {
  border-color: var(--line);
  color: var(--green-dark);
  background: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

.impact-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 2fr;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.section-heading {
  width: min(830px, 100%);
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-grid article,
.program-card,
.donation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stat-grid article {
  padding: 24px;
}

.stat-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.stat-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.section-copy {
  max-width: 760px;
}

.section-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.photo-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.photo-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-panel figcaption {
  padding: 16px 18px;
  color: var(--white);
  font-weight: 800;
}

.program-section {
  background: #edf6f4;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.program-index {
  width: fit-content;
  margin-bottom: 44px;
  padding: 6px 8px;
  border-radius: 5px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
}

.program-card p,
.audience-list p,
.donation-card p,
.story-content p,
.site-footer p {
  color: var(--muted);
}

.audience-section {
  background: var(--white);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.audience-list article {
  min-height: 178px;
  padding: 28px 26px;
  border-bottom: 1px solid var(--line);
}

.audience-list article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  color: var(--white);
  background: var(--green-dark);
}

.story-image {
  min-height: 620px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  align-self: center;
  padding: clamp(44px, 7vw, 90px);
}

.story-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.donation-section {
  position: relative;
  text-align: center;
}

.donation-section .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.donation-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.anchor-target {
  position: absolute;
  top: -90px;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: left;
}

.donation-context {
  padding-top: 10px;
}

.donation-context h3 {
  max-width: 420px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.donation-context .cta-row {
  margin-top: 26px;
}

.donation-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.donation-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.donation-card.featured {
  border-color: var(--line);
  box-shadow: none;
}

.donation-card h4 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1;
}

.donation-card p {
  margin: 0;
}

.donation-frame {
  width: 100%;
  height: 1180px;
  min-height: 1180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donation-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 32px;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #0f1916;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 900;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .brand span {
    max-width: 220px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .impact-strip,
  .split-section,
  .story-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .program-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .donation-layout {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .donation-context {
    padding-top: 0;
  }

  .donation-frame {
    height: 1180px;
    min-height: 1180px;
  }

  .program-index {
    margin-bottom: 28px;
  }

  .story-image {
    min-height: 380px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .brand span {
    max-width: 176px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 840px;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13, 31, 29, 0.92), rgba(13, 31, 29, 0.62) 64%, rgba(13, 31, 29, 0.3)),
      linear-gradient(90deg, rgba(13, 31, 29, 0.72), rgba(13, 31, 29, 0.1));
  }

  .hero-content {
    max-width: 350px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .button {
    width: 100%;
  }

  .impact-strip,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .audience-list article:nth-child(odd) {
    border-right: 0;
  }

  .story-content {
    padding: 42px 18px;
  }

  .donation-frame {
    height: 1120px;
    min-height: 1120px;
  }
}
