:root {
  color-scheme: light;
  --ink: #251f1c;
  --muted: #716760;
  --line: rgba(37, 31, 28, 0.14);
  --paper: #f8f4ec;
  --surface: #ffffff;
  --leaf: #28634f;
  --leaf-dark: #14392f;
  --rose: #b85c55;
  --rose-soft: #f1ddd8;
  --gold: #c99a2e;
  --sage: #dfe8dc;
  --warm: #fff9ee;
  --shadow: 0 20px 60px rgba(64, 48, 40, 0.14);
  --font-body:
    "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  margin: 0;
}

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

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

.site-header {
  align-items: center;
  background: rgba(248, 244, 236, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--leaf);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  flex: 0 0 48px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  outline: 6px solid rgba(40, 99, 79, 0.12);
  width: 48px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  max-width: 340px;
}

.brand small {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  justify-content: center;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.nav-links a:hover {
  color: var(--leaf);
}

.header-action,
.button {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-action,
.button.primary {
  background: var(--leaf);
  border: 1px solid var(--leaf);
  color: white;
}

.header-action:hover,
.button.primary:hover {
  background: var(--leaf-dark);
  border-color: var(--leaf-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--leaf-dark);
}

.button.secondary:hover {
  border-color: var(--leaf);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0.98), rgba(248, 244, 236, 0.72)),
    var(--paper);
  display: grid;
  gap: clamp(32px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: clamp(58px, 8vw, 116px) clamp(20px, 5vw, 76px) clamp(44px, 7vw, 86px);
  position: relative;
}

.hero::after {
  background: var(--rose-soft);
  content: "";
  height: 72%;
  position: absolute;
  right: 0;
  top: 14%;
  width: 28%;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 6.5vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  margin: 0;
}

h2 {
  font-size: clamp(31px, 4vw, 55px);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
}

h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  margin: 26px 0 0;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-media {
  box-shadow: var(--shadow);
  min-height: 590px;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  width: 100%;
}

.campaign-panel {
  background: var(--leaf-dark);
  bottom: 0;
  color: white;
  left: 0;
  max-width: 410px;
  padding: 28px;
  position: absolute;
}

.campaign-panel span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.04;
  margin-top: 12px;
}

.campaign-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  margin: 10px 0 0;
}

.trust-strip {
  background: var(--leaf-dark);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(20px, 5vw, 76px);
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.06);
  padding: 34px 18px;
  text-align: center;
}

.trust-strip strong {
  color: var(--gold);
  display: block;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 10px;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(20px, 5vw, 76px);
  scroll-margin-top: 96px;
}

.mission-section {
  background: var(--surface);
  display: grid;
  gap: clamp(30px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.section-kicker {
  max-width: 720px;
}

.mission-copy {
  background: var(--sage);
  padding: clamp(26px, 4vw, 42px);
}

.mission-copy p:first-child {
  margin-top: 0;
}

.pathway-section {
  background: var(--paper);
}

.section-heading {
  margin: 0 0 46px;
  max-width: 760px;
  text-align: left;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 640px;
}

.section-heading.centered p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

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

.pathway article {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
}

.pathway span,
.program-card span {
  color: var(--rose);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 42px;
}

.pathway p,
.program-card p {
  font-size: 15px;
  margin: 18px 0 0;
}

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

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

.program-card {
  background: var(--surface);
  border: 1px solid rgba(37, 31, 28, 0.12);
  min-height: 320px;
  padding: 30px;
}

.program-card.main-program {
  background: var(--leaf);
  color: white;
}

.program-card.main-program span {
  color: var(--gold);
}

.program-card.main-program p {
  color: rgba(255, 255, 255, 0.78);
}

.story-section {
  align-items: stretch;
  background: var(--paper);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  padding-bottom: 0;
}

.story-photo {
  overflow: hidden;
}

.story-photo img {
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  width: 100%;
}

.story-card {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: clamp(24px, 5vw, 72px) 0 clamp(24px, 5vw, 72px) clamp(-72px, -5vw, -24px);
  padding: clamp(30px, 5vw, 60px);
  position: relative;
  z-index: 1;
}

.story-card p:not(.eyebrow) {
  margin: 20px 0 0;
}

.story-gallery-section {
  background: var(--surface);
}

.story-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr;
}

.story-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.story-tile.large {
  grid-row: span 2;
}

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

.story-tile.large img {
  aspect-ratio: 5 / 4;
}

.story-tile div {
  padding: clamp(24px, 4vw, 38px);
}

.story-tile span {
  color: var(--rose);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.story-tile p {
  font-size: 15px;
  margin: 16px 0 0;
}

.outreach-section {
  background: var(--surface);
}

.outreach-list {
  border-top: 1px solid var(--line);
  display: grid;
}

.outreach-list article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  padding: 26px 0;
}

.outreach-list time {
  align-items: center;
  background: var(--rose-soft);
  color: var(--ink);
  display: grid;
  height: 92px;
  justify-content: center;
  text-align: center;
}

.outreach-list time span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.outreach-list time strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.outreach-list p {
  font-size: 15px;
  margin: 8px 0 0;
}

.outreach-list a {
  background: var(--leaf);
  color: white;
  font-weight: 900;
  padding: 12px 16px;
}

.donate-section {
  align-items: stretch;
  background:
    linear-gradient(90deg, var(--leaf-dark) 0 52%, var(--sage) 52% 100%);
  color: white;
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.donate-copy {
  align-self: center;
}

.donate-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.donate-form,
.contact-form {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.donate-form label,
.contact-form label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
}

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

.amount-grid button {
  background: var(--warm);
  border: 1px solid var(--line);
  color: var(--leaf-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  min-height: 46px;
}

input,
select,
textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.donate-form .button,
.contact-form .button {
  width: 100%;
}

.contact-section {
  background: var(--paper);
  display: grid;
  gap: clamp(28px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  color: var(--leaf);
  font-weight: 900;
}

.site-footer {
  background: #251f1c;
  color: white;
  padding: clamp(54px, 8vw, 84px) clamp(20px, 5vw, 76px) 28px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.7fr));
}

.footer-about p {
  color: rgba(255, 255, 255, 0.66);
  max-width: 380px;
}

.site-footer .brand-mark {
  background: var(--gold);
  color: var(--ink);
}

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

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 1080px) {
  .program-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway,
  .story-gallery,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .site-header.open {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.open .nav-links {
    display: grid;
    flex-basis: 100%;
    gap: 0;
    order: 3;
  }

  .site-header.open .nav-links a {
    border-top: 1px solid var(--line);
    padding: 15px 0;
  }

  .site-header.open .header-action {
    display: inline-flex;
    order: 4;
  }

  .hero,
  .mission-section,
  .story-section,
  .donate-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-media,
  .hero-media img,
  .story-photo img {
    min-height: 430px;
  }

  .story-card {
    margin: 0;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-tile.large {
    grid-row: auto;
  }

  .donate-section {
    background: var(--leaf-dark);
  }

  .outreach-list article {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .outreach-list a {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand strong {
    font-size: 14px;
    max-width: 245px;
  }

  .brand small {
    font-size: 10px;
  }

  .brand-mark {
    flex-basis: 38px;
    height: 38px;
    outline-width: 4px;
    width: 38px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 41px;
  }

  .campaign-panel {
    left: 0;
    max-width: none;
    right: 0;
  }

  .program-grid,
  .pathway,
  .trust-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .outreach-list article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .outreach-list time {
    height: auto;
    justify-content: start;
    padding: 16px;
    text-align: left;
  }

  .amount-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}
