:root {
  --forest: #124f32;
  --leaf: #21804f;
  --mint: #e8f4eb;
  --moss: #6f7d3b;
  --sun: #f0b84f;
  --clay: #b6603f;
  --ink: #17231f;
  --muted: #60706a;
  --line: #d8e1da;
  --paper: #fbf8f1;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(18, 79, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.icon {
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 248, 241, 0.95);
  border-bottom: 1px solid rgba(18, 79, 50, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  min-width: 0;
  color: #314840;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  position: relative;
  display: inline-flex;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  color: var(--forest);
  background: rgba(22, 126, 79, 0.08);
  border: 1px solid rgba(15, 81, 50, 0.18);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.has-menu > a::after {
  margin-left: 6px;
  color: var(--moss);
  content: "▾";
  font-size: 0.68rem;
}

.submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 30;
  display: none;
  width: min(310px, 82vw);
  gap: 0;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.submenu.compact-menu {
  width: 190px;
}

.submenu a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: auto;
  padding: 9px 10px;
  color: #314840;
  border-radius: 4px;
  white-space: normal;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--forest);
  background: var(--mint);
}

.has-menu:has(> a:hover) > .submenu,
.has-menu:has(> .submenu:hover) > .submenu,
.has-menu:has(> a:focus-visible) > .submenu,
.has-menu:has(> .submenu a:focus-visible) > .submenu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.donate-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 800;
}

.donate-link,
.button.primary {
  color: var(--white);
  background: var(--forest);
}

.button.secondary {
  color: var(--forest);
  background: var(--white);
  border: 1px solid rgba(18, 79, 50, 0.22);
}

.button.dark {
  color: var(--forest);
  background: var(--sun);
}

.button.light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 28px;
  padding: clamp(96px, 15vw, 168px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 72px);
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 35, 27, 0.92), rgba(12, 35, 27, 0.62) 45%, rgba(12, 35, 27, 0.2)),
    url("./assets/hero.jpg") center / cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 160px;
  content: "";
  background: linear-gradient(0deg, rgba(18, 79, 50, 0.55), transparent);
}

.hero-content {
  max-width: 780px;
}

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

.hero h1,
.section-heading h2,
.feature-copy h2,
.cta h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.02;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: 0;
}

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

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

.hero-panel {
  padding: 24px;
  background: rgba(251, 248, 241, 0.95);
  color: var(--ink);
  border-left: 5px solid var(--sun);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel strong {
  color: var(--forest);
  font-size: 4.5rem;
  line-height: 0.95;
}

.hero-panel p {
  margin: 10px 0 0;
}

.section-band,
.section-pad {
  padding: clamp(62px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 8vw, 98px);
  align-items: start;
  background: var(--white);
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.cta h2 {
  color: var(--forest);
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.intro-copy {
  color: #334a42;
  font-size: 1.05rem;
}

.intro-copy p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest);
  color: var(--white);
}

.metrics div {
  min-height: 178px;
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics strong {
  display: block;
  color: var(--sun);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1;
}

.metrics span {
  display: block;
  max-width: 260px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.program-grid article,
.story-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(23, 35, 31, 0.06);
}

.program-grid article {
  min-height: 250px;
  padding: 26px;
}

.program-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--clay);
  font-weight: 900;
}

.program-grid h3,
.story-grid h3 {
  margin: 0 0 12px;
  color: var(--forest);
  line-height: 1.2;
}

.program-grid p,
.story-grid p,
.feature-copy p,
.feature-copy li,
.cta p,
.site-footer p,
.site-footer address,
.site-footer a {
  color: var(--muted);
}

.feature {
  align-items: center;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.feature-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.news .section-heading {
  margin-bottom: 34px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.story-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.story-grid div {
  padding: 22px;
}

time {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) clamp(62px, 8vw, 100px);
  padding: clamp(34px, 6vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 79, 50, 0.96), rgba(18, 79, 50, 0.78)),
    url("./assets/community.jpg") center / cover;
  border-radius: 6px;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) 1fr 0.8fr;
  gap: 36px;
  padding: 48px clamp(18px, 5vw, 72px) 24px;
  background: #101c17;
}

.site-footer img {
  width: 70px;
  margin-bottom: 12px;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.site-footer a {
  display: inline-block;
  margin-right: 14px;
}

.site-footer address {
  font-style: normal;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.inner-hero {
  display: grid;
  min-height: 430px;
  padding: clamp(92px, 13vw, 148px) clamp(18px, 5vw, 72px) clamp(42px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 35, 27, 0.92), rgba(12, 35, 27, 0.68), rgba(12, 35, 27, 0.2)),
    url("./assets/community.jpg") center / cover;
}

.inner-hero.narrow {
  min-height: 360px;
}

.inner-hero-content {
  max-width: 850px;
  align-self: end;
}

.inner-hero h1 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.7rem, 6.5vw, 5.8rem);
  line-height: 1.02;
}

.inner-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.content-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.content-main h2,
.content-main h3,
.side-panel h2,
.side-panel h3 {
  color: var(--forest);
  line-height: 1.15;
}

.content-main h2 {
  margin: 0 0 18px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.content-main h3 {
  margin-top: 32px;
  font-size: 1.25rem;
}

.content-main p,
.content-main li,
.side-panel p,
.side-panel li {
  color: var(--muted);
}

.lead {
  color: var(--ink) !important;
  font-size: 1.18rem;
  font-weight: 700;
}

.content-list,
.link-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.content-list li,
.link-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--leaf);
  border-radius: 6px;
}

.link-list a {
  color: var(--forest);
  font-weight: 800;
}

.link-list a:hover {
  background: var(--mint);
}

.side-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.side-panel img {
  width: 100%;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.contact-strip article {
  padding: 20px;
  background: var(--forest);
  border-radius: 6px;
}

.contact-strip strong {
  display: block;
  color: var(--sun);
}

.contact-strip a,
.contact-strip span {
  color: var(--white);
}

.person-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.person-grid article,
.gallery-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 35, 31, 0.06);
}

.person-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.person-grid div,
.gallery-grid div {
  padding: 20px;
}

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

.person-grid h3,
.gallery-grid h3 {
  margin: 0 0 8px;
  color: var(--forest);
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow: visible;
    padding-bottom: 4px;
  }

  .nav-links > ul {
    flex-wrap: wrap;
    width: auto;
    gap: 4px 16px;
  }

  .submenu {
    left: 0;
  }

  .hero,
  .section-band,
  .content-grid,
  .cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 420px;
  }

  .metrics,
  .program-grid,
  .story-grid,
  .contact-strip,
  .person-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links > ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .nav-links li {
    display: block;
    min-width: 0;
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    background: rgba(22, 126, 79, 0.08);
    border: 1px solid rgba(15, 81, 50, 0.12);
    border-radius: 4px;
  }

  .submenu,
  .submenu.compact-menu {
    position: static;
    display: grid;
    width: 100%;
    max-height: none;
    margin-top: 6px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .submenu a {
    min-height: 36px;
    padding: 7px 8px;
    color: #426057;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 81, 50, 0.1);
    font-size: 0.75rem;
  }

  .donate-link {
    justify-self: stretch;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
  }

  .hero {
    padding: 86px 18px 38px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metrics,
  .program-grid,
  .story-grid,
  .contact-strip,
  .person-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* Alternate Design Direction: institutional NGO / field report */
:root {
  --forest: #0f5132;
  --leaf: #2f7d4f;
  --mint: #eaf6ef;
  --moss: #768a4c;
  --sun: #e2b64a;
  --clay: #a95b43;
  --ink: #14221d;
  --muted: #596b64;
  --line: #d8ded8;
  --paper: #f7f4ea;
  --white: #ffffff;
  --blue: #1d5f73;
  --shadow: 0 18px 45px rgba(20, 34, 29, 0.1);
}

body {
  background: var(--paper);
}

.site-header {
  position: sticky;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-top: 5px solid var(--forest);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(20, 34, 29, 0.05);
}

.brand {
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand strong {
  color: var(--forest);
  font-size: 1rem;
}

.brand small {
  color: var(--blue);
  font-weight: 700;
}

.nav-links {
  justify-self: end;
  font-size: 0.86rem;
}

.nav-links > ul {
  gap: clamp(10px, 1.3vw, 20px);
}

.nav-links a {
  min-height: 36px;
}

.donate-link,
.button {
  border-radius: 2px;
  letter-spacing: 0;
}

.donate-link {
  background: var(--clay);
}

.button.primary {
  background: var(--forest);
}

.button.secondary {
  background: transparent;
  border-color: rgba(15, 81, 50, 0.35);
}

.hero {
  min-height: 760px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(247, 244, 234, 0.96), rgba(247, 244, 234, 0.92) 50%, rgba(247, 244, 234, 0.2) 50%),
    var(--paper);
}

.hero-media {
  inset: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 70px) 52%;
  z-index: 0;
  background: url("./assets/hero.jpg") center / cover;
  border: 1px solid rgba(20, 34, 29, 0.12);
  border-radius: 0;
  box-shadow: 0 30px 70px rgba(20, 34, 29, 0.18);
}

.hero::after {
  display: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--clay);
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 720px;
  color: var(--forest);
  font-size: clamp(3.4rem, 8vw, 6.7rem);
}

.hero-copy {
  max-width: 610px;
  color: #2d433b;
  font-size: clamp(1.08rem, 1.9vw, 1.45rem);
  font-weight: 700;
}

.hero-panel {
  align-self: end;
  padding: 26px;
  background: var(--forest);
  color: var(--white);
  border: 0;
  box-shadow: none;
}

.hero-panel span {
  color: var(--sun);
}

.hero-panel strong {
  color: var(--white);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.section-band {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.feature-copy h2,
.cta h2,
.content-main h2 {
  color: var(--forest);
}

.metrics {
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 150px;
  border-right: 1px solid var(--line);
}

.metrics strong {
  color: var(--blue);
}

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

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

.program-grid {
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  max-width: none;
  overflow-x: auto;
  padding-bottom: 10px;
}

.program-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border-top: 6px solid var(--forest);
  border-radius: 0;
  box-shadow: none;
}

.program-grid span {
  color: var(--blue);
}

.feature {
  background: var(--white);
}

.feature-image img,
.story-grid img,
.side-panel img,
.gallery-grid img,
.person-grid img {
  border-radius: 0;
}

.feature-image img {
  box-shadow: none;
  border: 1px solid var(--line);
}

.story-grid article,
.person-grid article,
.gallery-grid article,
.program-grid article {
  border-radius: 0;
}

.story-grid article,
.person-grid article,
.gallery-grid article {
  box-shadow: none;
  border-top: 5px solid var(--blue);
}

.cta {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 81, 50, 0.98), rgba(29, 95, 115, 0.88)),
    url("./assets/community.jpg") center / cover;
  border-radius: 0;
}

.cta .eyebrow {
  color: var(--sun);
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta .button.primary.dark {
  color: var(--forest);
  background: var(--sun);
}

.cta .button.secondary.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  background: #0f1b17;
  border-top: 6px solid var(--sun);
}

.inner-hero {
  min-height: 390px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(247, 244, 234, 0.98), rgba(247, 244, 234, 0.9) 56%, rgba(247, 244, 234, 0.1)),
    url("./assets/community.jpg") center right / cover;
  border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
  color: var(--forest);
  max-width: 760px;
}

.inner-hero p:not(.eyebrow) {
  color: #2d433b;
  font-weight: 700;
}

.content-wrap {
  max-width: 1240px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.content-list li,
.link-list a,
.side-panel {
  border-radius: 0;
}

.content-list li {
  border-left-color: var(--blue);
}

.side-panel {
  box-shadow: none;
  border-top: 6px solid var(--forest);
}

.contact-strip article {
  background: var(--blue);
  border-radius: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  min-height: 100%;
}

.news-card-image {
  display: block;
  overflow: hidden;
  background: var(--mint);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.news-card:hover img {
  transform: scale(1.025);
}

.news-card div {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2.5vw, 26px);
}

.news-card span,
.article-hero span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.news-card h3 a {
  color: inherit;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.read-more,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--forest);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-card .read-more {
  margin-top: auto;
  padding-top: 16px;
}

.back-link {
  margin-top: 0;
}

.article-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 64px) clamp(62px, 8vw, 108px);
}

.article-hero {
  max-width: 980px;
  margin-top: 22px;
  padding-bottom: clamp(22px, 4vw, 42px);
}

.article-hero h1 {
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  line-height: 1.03;
}

.article-hero p {
  max-width: 880px;
  margin: 18px 0;
  color: #334a42;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 700;
}

.article-featured-image {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.article-photo-strip a {
  display: block;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.article-photo-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.article-photo-strip a:hover img,
.article-photo-strip a:focus-visible img {
  transform: scale(1.035);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 280px;
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
  max-width: 1120px;
  margin-top: clamp(34px, 5vw, 62px);
}

.article-body {
  max-width: 780px;
  color: #263b34;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.76;
}

.article-body h2 {
  margin: 40px 0 12px;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-meta-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
}

.article-meta-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta-card strong {
  margin-bottom: 14px;
  color: var(--forest);
  line-height: 1.25;
}

.article-meta-card .button {
  width: 100%;
  margin-top: 6px;
}

body[data-page="news"] .content-wrap {
  max-width: 1280px;
}

body[data-page="news"] .content-grid {
  grid-template-columns: 1fr;
}

body[data-page="news"] .side-panel {
  display: none;
}

.contact-strip strong,
.site-footer a,
.site-footer address a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.contact-strip strong .icon {
  color: var(--sun);
}

.donation-form-panel {
  margin-top: clamp(28px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
}

.donation-form-copy {
  padding: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.donation-form-copy h3 {
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.donation-form-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.donation-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.donation-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.donation-form legend,
.field span {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amount-options,
.payment-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.payment-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.amount-options label,
.payment-options label {
  cursor: pointer;
}

.amount-options input,
.payment-options input {
  position: absolute;
  opacity: 0;
}

.amount-options span,
.payment-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--forest);
  background: var(--mint);
  border: 1px solid rgba(15, 81, 50, 0.18);
  font-weight: 850;
  text-align: center;
}

.amount-options input:checked + span,
.payment-options input:checked + span {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

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

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

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(226, 182, 74, 0.36);
  border-color: var(--forest);
}

.donation-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

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

.donation-result {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--mint);
  border: 1px solid rgba(15, 81, 50, 0.18);
}

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

.donation-result h4 {
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
}

.donation-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.donation-result dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.donation-result dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.payment-guidance {
  margin: 0;
  color: #334a42;
  font-weight: 700;
}

.donation-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.copy-donation {
  border: 1px solid rgba(15, 81, 50, 0.35);
  cursor: pointer;
}

.gallery-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 72px) clamp(62px, 8vw, 108px);
}

.gallery-heading {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.gallery-heading h1 {
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: minmax(220px, 26vw);
  gap: 14px;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.gallery-showcase figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.gallery-showcase figure.wide {
  grid-row: span 2;
}

.gallery-showcase img,
.album-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-showcase figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(12, 35, 27, 0.88), rgba(12, 35, 27, 0));
  font-size: 0.9rem;
  font-weight: 850;
}

.gallery-intro {
  max-width: 880px;
  margin-bottom: clamp(28px, 5vw, 48px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.gallery-intro h2 {
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.14;
}

.gallery-intro p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.album-list {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.album-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
}

.album-section header {
  padding: clamp(18px, 2.6vw, 28px);
  border-bottom: 1px solid var(--line);
}

.album-section h3 {
  max-width: 980px;
  margin: 0;
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.16;
}

.album-section p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.album-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: clamp(14px, 2vw, 22px);
  min-width: 0;
}

.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--mint);
  border: 1px solid var(--line);
}

.photo-button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.album-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  object-fit: cover;
  background: var(--mint);
  transition: transform 180ms ease, filter 180ms ease;
}

.photo-button:hover img,
.photo-button:focus-visible img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.025);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10, 22, 18, 0.9);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  width: auto;
  max-width: min(680px, 92vw);
  max-height: min(680px, 82vh);
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    background: var(--paper);
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: -1;
    min-height: 320px;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }

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

  .news-grid,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout {
    max-width: 780px;
  }

  .article-meta-card {
    order: -1;
  }

  .amount-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .gallery-showcase {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(190px, 34vw);
  }

  .gallery-showcase figure.wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: stretch;
    padding: 12px 16px 14px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-self: center;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    overflow: visible;
    font-size: 0.82rem;
  }

  .site-header.is-open .nav-links {
    display: block;
  }

  .nav-links > ul {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .nav-links li {
    display: block;
    min-width: 0;
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.18;
    background: rgba(22, 126, 79, 0.08);
    border: 1px solid rgba(15, 81, 50, 0.12);
    border-radius: 4px;
  }

  .has-menu > a::after {
    flex: 0 0 auto;
  }

  .submenu,
  .submenu.compact-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .has-menu.is-submenu-open > .submenu,
  .has-menu.is-submenu-open > .submenu.compact-menu {
    display: grid;
  }

  .submenu a {
    min-height: 36px;
    padding: 7px 8px;
    color: #426057;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(15, 81, 50, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
  }

  .donate-link {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .site-header.is-open .donate-link {
    display: inline-flex;
  }

  .section-band,
  .metrics,
  .feature,
  .content-grid,
  .cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

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

  .news-card div {
    padding: 18px;
  }

  .article-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .article-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .article-featured-image {
    aspect-ratio: 4 / 3;
  }

  .article-photo-strip {
    grid-template-columns: 1fr;
  }

  .article-layout {
    gap: 24px;
    margin-top: 26px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .donation-submit {
    width: 100%;
  }

  .donation-result dl,
  .donation-result-actions {
    grid-template-columns: 1fr;
  }

  .donation-result-actions .button,
  .copy-donation {
    width: 100%;
  }

  .gallery-showcase,
  .album-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-showcase {
    grid-auto-rows: minmax(240px, auto);
  }

}
