:root {
  --ink: #102b46;
  --muted: #5b6671;
  --paper: #f7f7ee;
  --white: #ffffff;
  --teal: #008a79;
  --sea: #d8f0f2;
  --sun: #f7c443;
  --coral: #f28a2e;
  --clay: #0a78b6;
  --line: rgba(16, 43, 70, .14);
  --shadow: 0 18px 50px rgba(16, 43, 70, .12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 243, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
  font-weight: 850;
}

.brand-logo { min-width: 0; flex: 0 0 auto; }
.brand-logo-img {
  width: clamp(190px, 22vw, 300px);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  color: #25313c;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { background: var(--sea); }
.nav-cta { background: var(--ink) !important; color: var(--white) !important; padding-inline: 16px !important; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle svg { width: 22px; height: 22px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 84px 22px; }

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 43, 70, .94), rgba(0, 138, 121, .74)),
    var(--hero-image) center / cover no-repeat;
}

.page-hero .wrap {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding-top: 110px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--ink);
  background: var(--sun);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.page-hero h1 {
  margin: 18px 0;
  max-width: 980px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .96;
}

.page-hero p {
  max-width: 690px;
  color: rgba(255,255,255,.9);
  font-size: clamp(18px, 2.1vw, 23px);
  margin: 0 0 28px;
}

.home-hero {
  min-height: calc(100vh - 77px);
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 43, 70, .94), rgba(0, 138, 121, .72) 54%, rgba(16, 43, 70, .28)),
    url("https://images.squarespace-cdn.com/content/v1/68a88e75017fcf076ea09922/dc8d0c81-f5f4-4c20-9148-e33879c05060/Background.jpg") center / cover no-repeat;
}

.home-hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 110px 22px 82px;
}

.home-hero h1 {
  max-width: 940px;
  margin: 18px 0;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: .96;
}

.home-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.9);
  font-size: clamp(18px, 2.1vw, 23px);
  margin: 0 0 28px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

h2 { margin: 0; font-size: clamp(32px, 4.2vw, 58px); line-height: 1; }
h3 { margin: 0; font-size: 22px; line-height: 1.15; }
h1, h2, h3, p, a, strong, span { overflow-wrap: break-word; }
.lead { margin: 0; color: var(--muted); font-size: 18px; }

.mission-grid,
.donor-layout,
.faq-wrap,
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.mission-photo {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.mission-photo img { width: 100%; height: 100%; object-fit: cover; }
.caption-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 14px;
  font-weight: 820;
}

.stack { display: grid; gap: 16px; }
.story-panel,
.program-detail,
.tier,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 35px rgba(22, 34, 43, .06);
}

.story-panel p,
.program-detail p,
.tier p { color: var(--muted); }

.values,
.program-detail-grid,
.tier-grid,
.gallery-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.value {
  background: #eaf4e6;
  border-radius: var(--radius);
  padding: 16px;
  min-height: 120px;
  display: grid;
  align-content: space-between;
}

.value:nth-child(2) { background: #e0efff; }
.value:nth-child(3) { background: #fff2bd; }
.value strong { display: block; font-size: 17px; }

.program-detail {
  padding: 0;
  overflow: hidden;
}

.program-detail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-detail.logo-card img,
.gallery-large .logo-card img {
  object-fit: contain;
  background: var(--white);
  padding: 28px;
}

.program-detail div { padding: 22px; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-strip span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-weight: 850;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 43, 70, .05);
}

.program-expanded-band { background: #eaf4e6; }
.program-expanded-list { display: grid; gap: 18px; }
.program-expanded {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  box-shadow: 0 12px 35px rgba(16, 43, 70, .06);
}

.program-expanded:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr); }
.program-expanded:nth-child(even) img { order: 2; }
.program-expanded img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.program-expanded div { padding: 28px; }
.program-expanded p { color: var(--muted); }
.program-expanded ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #34424f;
}

.program-expanded li + li { margin-top: 8px; }

.founder-band { background: #e0efff; }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.founder-copy {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.founder-copy p {
  margin: 0;
  color: #34424f;
}

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

.home-feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(16, 43, 70, .06);
}

.home-feature-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.home-feature-card div { padding: 22px; }
.home-feature-card p { margin-bottom: 0; color: var(--muted); }

.home-story-band { background: #eaf4e6; }
.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .78fr);
  gap: 34px;
  align-items: center;
}

.home-story-grid .split-actions { margin-top: 24px; }

.home-photo-stack {
  display: grid;
  gap: 14px;
}

.home-photo-stack img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.home-stat-row span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--muted);
}

.home-stat-row strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.home-donor-panel {
  background: linear-gradient(135deg, var(--teal), var(--ink));
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.home-donor-panel h3 {
  font-size: clamp(26px, 3vw, 40px);
  max-width: 720px;
}

.home-donor-panel p {
  max-width: 760px;
  color: rgba(255,255,255,.82);
}

.donor-layout { grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr); }
.donor-aside {
  position: sticky;
  top: 96px;
  background: linear-gradient(145deg, var(--teal), var(--ink));
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
}

.donor-aside p { color: rgba(255,255,255,.82); }
.impact-box {
  margin-top: 20px;
  background: rgba(255,255,255,.13);
  padding: 18px;
  border-radius: var(--radius);
}

.impact-box label { display: block; font-weight: 800; margin-bottom: 8px; }
.impact-box input {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
}
.impact-result { font-size: 15px; color: rgba(255,255,255,.9); }
.tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier strong { color: var(--clay); font-size: 32px; line-height: 1; }
.tier ul { margin: 0; padding-left: 18px; color: #394653; }

.partner-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.partner-strip span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-weight: 850;
  text-align: center;
}

.supporter-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.supporter-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(16, 43, 70, .06);
}

.supporter-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  padding: 20px;
  background: #fffdf2;
}

.supporter-card.photo img {
  object-fit: cover;
  padding: 0;
}

.supporter-card div { padding: 18px; }
.supporter-card p { color: var(--muted); margin-bottom: 0; }

.gallery-band { background: #eaf4e6; }
.gallery-large { grid-auto-rows: 280px; }
.gallery-large figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--white);
}
.gallery-large figure:nth-child(2),
.gallery-large figure:nth-child(5) { grid-row: span 2; }
.gallery-large img { width: 100%; height: 100%; object-fit: cover; }
.gallery-large figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(23,33,43,.84);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 780;
}

.faq-wrap { grid-template-columns: .72fr 1fr; }
.faq-list { display: grid; gap: 10px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 850;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sea);
  flex: 0 0 auto;
}
details[open] summary::after { content: "-"; }
details p { margin: 0 0 18px; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-band { background: var(--sun); }
.contact-grid { grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr); }
.contact-card form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 850; color: #34424f; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfcf8;
}
.field textarea { min-height: 110px; resize: vertical; }

.site-footer { background: var(--ink); color: var(--white); }
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.socials { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.socials a {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { align-items: flex-start; }
  .nav-links {
    display: none;
    position: absolute;
    left: 22px;
    right: 22px;
    top: 70px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .nav-links a { border-radius: var(--radius); }
  .section-head, .mission-grid, .donor-layout, .faq-wrap, .contact-grid, .home-story-grid, .home-donor-panel, .founder-grid, .program-expanded, .program-expanded:nth-child(even) { grid-template-columns: 1fr; }
  .program-expanded:nth-child(even) img { order: 0; }
  .program-detail-grid, .gallery-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-feature-grid, .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donor-aside { position: static; }
  .gallery-large figure:nth-child(2),
  .gallery-large figure:nth-child(5) { grid-row: auto; }
  .partner-strip { grid-template-columns: repeat(2, 1fr); }
  .supporter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { padding-inline: 16px; }
  .brand { min-width: 0; font-size: 14px; }
  .brand small { font-size: 10px; }
  .brand-logo-img { width: min(48vw, 178px); max-height: 58px; }
  .nav-links { left: 16px; right: 16px; grid-template-columns: 1fr !important; }
  .wrap { padding: 62px 16px; max-width: 390px; margin-left: 0; margin-right: 0; }
  .home-hero { min-height: 580px; }
  .home-hero-content { padding: 86px 16px 54px; max-width: 390px; margin-left: 0; margin-right: 0; }
  .home-hero h1 { font-size: clamp(32px, 9.6vw, 38px); line-height: 1.02; }
  .home-hero p { font-size: 17px; }
  .home-hero .split-actions { display: grid; grid-template-columns: 1fr; }
  .home-hero .split-actions .btn { width: 100%; }
  .page-hero .wrap { min-height: 390px; padding-top: 70px; }
  .page-hero h1 { font-size: 45px; }
  .values, .tier-grid, .program-detail-grid, .gallery-large, .footer-grid, .partner-strip, .supporter-grid, .home-feature-grid, .home-stat-row, .service-strip { grid-template-columns: 1fr; }
  .mission-photo { min-height: 360px; }
  .program-expanded img { min-height: 260px; }
  .gallery-large { grid-auto-rows: 240px; }
  .footer-grid, .socials { justify-content: start; }
}
