:root {
  --ink: #17352f;
  --ink-soft: #35534d;
  --forest: #165a4a;
  --forest-dark: #0e4539;
  --leaf: #8abf56;
  --sun: #f5b947;
  --cream: #f7f4eb;
  --mist: #eaf2ee;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(20, 62, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body,
button {
  font-family: Arial, Helvetica, sans-serif;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

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

.eyebrow {
  margin-bottom: 13px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #cce7d3;
}

.lead {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 25px;
  border: 1px solid var(--sun);
  border-radius: 999px;
  color: #21362f;
  background: var(--sun);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: #ffd36d;
  background: #ffd36d;
  transform: translateY(-2px);
}

.button-small {
  padding: 14px 20px;
  font-size: 0.67rem;
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.text-link-light {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(21, 77, 65, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 18px rgba(15, 61, 51, 0.04);
}

.nav-shell {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

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

.brand strong {
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.05;
}

.brand small {
  margin-top: 5px;
  color: #57716c;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav > a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.active:not(.button)::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, calc(100vh - 84px));
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 39, 33, 0.88) 0%, rgba(4, 49, 42, 0.62) 45%, rgba(4, 42, 36, 0.2) 100%),
    url("../img/slider/slider0.jpg") center 43% / cover;
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0 130px;
}

.hero h1 {
  max-width: 770px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.17rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.hero-note {
  position: absolute;
  right: 4vw;
  bottom: 34px;
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-note span {
  display: flex;
  gap: 22px;
  align-items: center;
}

.hero-note span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--sun);
}

.section {
  padding: 112px 0;
}

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

.split-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 80px;
  align-items: center;
}

.image-frame {
  position: relative;
}

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

.image-frame-tall {
  height: 560px;
}

.image-caption {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: min(220px, 74%);
  padding: 22px 24px;
  color: var(--white);
  background: var(--forest);
}

.image-caption strong,
.image-caption span {
  display: block;
}

.image-caption strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.image-caption span {
  margin-top: 5px;
  color: #cce7d3;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

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

.section-heading > p {
  margin-bottom: 6px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(29, 72, 62, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.card-image {
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-card:hover .card-image img {
  transform: scale(1.055);
}

.card-body {
  padding: 30px;
}

.card-number,
.focus-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

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

.focus-card {
  display: grid;
  grid-template-columns: 155px 1fr;
  overflow: hidden;
  border: 1px solid #e2ece7;
  background: var(--white);
}

.focus-card img {
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
}

.focus-card div {
  padding: 24px;
}

.focus-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.donation-banner {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 68, 56, 0.96), rgba(15, 88, 70, 0.78)),
    url("../img/slider/slider2.jpg") center 48% / cover;
}

.donation-banner-inner {
  display: flex;
  min-height: 360px;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
  padding-block: 70px;
}

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

.donation-banner h2 {
  max-width: 670px;
  margin-bottom: 14px;
}

.donation-banner p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 116px 0 110px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 51, 43, 0.94), rgba(6, 65, 55, 0.66)),
    url("../img/slider/slider3.jpg") center 42% / cover;
}

.page-hero h1 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.donation-section {
  background: var(--cream);
}

.donation-intro {
  max-width: 780px;
  margin-bottom: 46px;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 22px;
  align-items: start;
}

.details-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(26, 68, 59, 0.08);
}

.details-card-header {
  display: flex;
  gap: 19px;
  align-items: center;
  padding: 26px 30px;
  background: var(--mist);
}

.details-card-accent .details-card-header {
  background: #f9edcf;
}

.details-card-header .eyebrow {
  margin-bottom: 7px;
}

.details-card-header h3 {
  margin-bottom: 0;
  font-size: 1.9rem;
}

.details-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.details-list {
  margin: 0;
  padding: 12px 30px 22px;
}

.details-list > div {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #eaf0ed;
}

.details-list > div:last-child {
  border-bottom: 0;
}

.details-list dt {
  color: #72847f;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.details-list dd a {
  color: var(--forest);
}

.copy-button {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 8px;
  border: 1px solid #ccddd7;
  border-radius: 99px;
  color: var(--forest);
  background: var(--white);
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--forest);
}

.donation-note {
  margin-top: 24px;
  padding: 22px 25px;
  border-left: 4px solid var(--sun);
  background: #fffaf0;
}

.donation-note strong {
  color: var(--ink);
}

.donation-note p {
  margin: 5px 0 0;
}

.site-footer {
  padding-top: 58px;
  color: rgba(255, 255, 255, 0.7);
  background: #102f2a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 42px;
}

.brand-footer strong {
  color: var(--white);
}

.brand-footer small {
  color: #b9d4cd;
}

.footer-brand p {
  max-width: 390px;
  margin-top: 17px;
}

.site-footer h3 {
  margin: 4px 0 17px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer a:not(.brand):hover {
  color: var(--sun);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.76rem;
}

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

  .main-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 20px 25px;
    border-top: 1px solid #e1ebe7;
    background: var(--white);
    box-shadow: 0 14px 20px rgba(15, 61, 51, 0.08);
  }

  .main-nav.is-open {
    display: grid;
    gap: 19px;
  }

  .main-nav .button {
    justify-self: start;
  }

  .split-grid,
  .section-heading,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    gap: 46px;
  }

  .section-heading {
    gap: 4px;
  }

  .card-grid {
    gap: 16px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-shell {
    min-height: 76px;
  }

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

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

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

  .main-nav {
    top: 76px;
  }

  .hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .hero-content {
    padding: 85px 0 140px;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-note {
    right: 14px;
    left: 14px;
    flex-wrap: wrap;
    gap: 9px;
  }

  .hero-note span {
    gap: 9px;
  }

  .section {
    padding: 78px 0;
  }

  .image-frame-tall {
    height: 400px;
  }

  .image-caption {
    right: -6px;
    bottom: -14px;
  }

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

  .focus-card {
    grid-template-columns: 1fr;
  }

  .focus-card img {
    height: 205px;
  }

  .donation-banner-inner {
    display: block;
    min-height: 0;
    padding-block: 64px;
  }

  .donation-banner .button {
    margin-top: 15px;
  }

  .page-hero {
    padding: 82px 0 78px;
  }

  .details-card-header,
  .details-list {
    padding-right: 20px;
    padding-left: 20px;
  }

  .details-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
