:root {
  --forest-950: #102a22;
  --forest-850: #173d2f;
  --forest-700: #245b43;
  --leaf-500: #4b9460;
  --moss-100: #edf5ef;
  --sky-100: #e8f2f5;
  --cork-500: #c37535;
  --clay-600: #9a4937;
  --ink: #17201c;
  --muted: #5a6660;
  --line: #d8e2dc;
  --surface: #ffffff;
  --soft: #f6f8f5;
  --shadow: 0 20px 60px rgba(16, 42, 34, 0.14);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.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;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 226, 220, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 232px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--forest-950);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--moss-100);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 3px;
}

.language-option {
  width: 40px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--forest-850);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--moss-100);
  outline: none;
}

.language-option.is-active {
  background: var(--forest-700);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--forest-850);
}

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

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 42, 34, 0.82) 0%, rgba(16, 42, 34, 0.58) 38%, rgba(16, 42, 34, 0.1) 76%),
    linear-gradient(0deg, rgba(16, 42, 34, 0.42) 0%, rgba(16, 42, 34, 0) 42%);
}

.hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 104px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cork-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd398;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: 1.6rem;
  line-height: 1.28;
  font-weight: 700;
}

.hero__summary {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  padding: 11px 18px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  background: var(--cork-500);
  color: #ffffff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d28743;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #ffffff;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.metrics {
  width: min(1180px, calc(100% - 40px));
  margin: -54px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.metric strong {
  color: var(--forest-700);
  font-size: 2.65rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.section__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 2.55rem;
  line-height: 1.12;
}

.section h3 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.14rem;
  line-height: 1.25;
}

.section p {
  color: var(--muted);
}

.section--intro {
  padding-top: 118px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 70px;
  align-items: start;
}

.intro-copy {
  border-left: 4px solid var(--leaf-500);
  padding-left: 28px;
}

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

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section--focus {
  background: #ffffff;
  padding-top: 84px;
}

.decline-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 18px;
  margin-bottom: 22px;
}

.decline-photo {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest-950);
  box-shadow: 0 24px 70px rgba(16, 42, 34, 0.16);
}

.decline-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.decline-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 42, 34, 0.74), rgba(16, 42, 34, 0.04) 62%);
}

.decline-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #ffffff;
}

.decline-photo strong,
.decline-photo span {
  display: block;
}

.decline-photo strong {
  margin-bottom: 6px;
  font-size: 1.24rem;
}

.decline-photo span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 650;
  line-height: 1.45;
}

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

.focus-card {
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.focus-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(154, 73, 55, 0.1);
  color: var(--clay-600);
  font-weight: 900;
}

.focus-card p {
  margin-bottom: 0;
}

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

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

.objective-item {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
}

.objective-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--moss-100);
  color: var(--forest-700);
  font-weight: 900;
}

.objective-item p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 680;
}

.section--map {
  background: linear-gradient(180deg, var(--sky-100), #ffffff);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(360px, 1.16fr);
  gap: 58px;
  align-items: center;
}

.method-copy p {
  max-width: 620px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cork-500);
  box-shadow: 0 0 0 5px rgba(195, 117, 53, 0.16);
}

.system-figure {
  margin: 0;
}

.system-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(16, 42, 34, 0.16);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

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

.team-member {
  min-height: 202px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.team-member__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.team-photo {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 42, 34, 0.16);
  object-fit: cover;
  object-position: center;
}

.team-member span {
  width: fit-content;
  border-radius: var(--radius);
  background: var(--moss-100);
  color: var(--forest-700);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 9px 10px;
}

.team-member h3 {
  margin-top: auto;
}

.team-member p {
  margin: 8px 0 0;
  color: var(--clay-600);
  font-size: 0.92rem;
  font-weight: 800;
}

.team-member--lead {
  background: var(--forest-950);
  border-color: var(--forest-950);
}

.team-member--lead span {
  background: var(--cork-500);
  color: #ffffff;
}

.team-member--lead .team-photo {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.team-member--lead h3 {
  color: #ffffff;
}

.team-member--lead p {
  color: rgba(255, 255, 255, 0.78);
}

.team-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 650;
}

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

.activity-card {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.activity-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--moss-100);
  color: var(--forest-700);
  font-weight: 900;
}

.activity-card p {
  margin-bottom: 18px;
}

.activity-tasks {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-tasks li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 630;
  line-height: 1.45;
}

.activity-tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf-500);
}

.section--outputs {
  background: var(--forest-950);
}

.section--outputs .section-kicker,
.section--outputs h2,
.section--outputs h3 {
  color: #ffffff;
}

.section--outputs p {
  color: rgba(255, 255, 255, 0.74);
}

.output-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: 58px;
}

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

.output-item {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  padding: 22px;
}

.output-item p {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 248px;
  border-top: 4px solid var(--leaf-500);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--soft);
  padding: 22px;
}

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

.timeline p {
  margin-bottom: 0;
}

.section--partners {
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.partners-copy {
  max-width: 780px;
  margin: -12px 0 32px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-logo {
  min-height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.contact-panel p {
  max-width: 680px;
}

.beneficiary-brand {
  width: min(420px, 100%);
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px 20px;
}

.beneficiary-brand img {
  width: 100%;
  height: auto;
}

.funding-entity {
  margin-top: 34px;
}

.funding-brand {
  width: min(680px, 100%);
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px 20px;
}

.funding-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.contact-facts div {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.contact-facts dt {
  margin-bottom: 10px;
  color: var(--cork-500);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-facts dd {
  margin: 0;
  color: var(--forest-950);
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px 6vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

@media (max-width: 980px) {
  .metrics,
  .activity-grid,
  .team-grid,
  .focus-grid,
  .objectives-grid,
  .decline-gallery,
  .partner-grid,
  .timeline,
  .output-list,
  .contact-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .method-layout,
  .output-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .section h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 1040px) {
  .site-header {
    padding: 0 22px;
  }

  .brand img {
    width: 196px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 22px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }
}

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

  .brand img {
    width: 170px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    min-height: calc(100vh - var(--header-height) - 54px);
  }

  @supports (height: 100svh) {
    .hero {
      min-height: calc(100svh - var(--header-height) - 54px);
    }
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(16, 42, 34, 0.84), rgba(16, 42, 34, 0.44)),
      linear-gradient(0deg, rgba(16, 42, 34, 0.58), rgba(16, 42, 34, 0.18));
  }

  .hero__content {
    width: min(100% - 32px, 620px);
    padding: 58px 0 90px;
  }

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

  .hero__lead {
    font-size: 1.25rem;
  }

  .metrics {
    width: min(100% - 32px, 620px);
    grid-template-columns: 1fr;
    margin-top: -36px;
  }

  .section {
    padding: 70px 0;
  }

  .section--intro {
    padding-top: 86px;
  }

  .section__inner {
    width: min(100% - 32px, 620px);
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .intro-copy {
    border-left: 0;
    border-top: 4px solid var(--leaf-500);
    padding-left: 0;
    padding-top: 22px;
  }

  .activity-grid,
  .team-grid,
  .focus-grid,
  .objectives-grid,
  .decline-gallery,
  .partner-grid,
  .timeline,
  .output-list,
  .contact-facts {
    grid-template-columns: 1fr;
  }

  .activity-card,
  .team-member,
  .focus-card,
  .decline-photo,
  .objective-item,
  .partner-logo,
  .timeline li,
  .output-item,
  .contact-facts div {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 150px;
  }

  .language-option {
    width: 32px;
    height: 30px;
    font-size: 0.76rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
