:root {
  --green: #013334;
  --blue: #007591;
  --orange: #fd5e02;
  --yellow: #fda600;
  --sky: #80bac8;
  --platinum: #e8e7e3;
  --white: #ffffff;
  --ink: #122022;
  --shadow: 0 18px 60px rgba(1, 51, 52, 0.12);
  --radius: 34px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(128,186,200,0.25), transparent 28%),
    radial-gradient(circle at bottom right, rgba(253,94,2,0.10), transparent 26%),
    linear-gradient(180deg, #f5f3ef 0%, #efede8 100%);
}

img { display: block; width: 100%; }

.page-shell {
  width: min(calc(100% - 32px), var(--container));
}

.section { margin-bottom: 26px; }
.card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 51, 52, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.hero-banner {
  position: relative;
  min-height: 540px;
  background: linear-gradient(180deg, rgba(1, 51, 52, 0.08), rgba(1, 51, 52, 0.16));
}

.hero-banner > img {
  width: 100%;
  height: 760px;
  object-fit: cover;
  object-position: center center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 38px 42px;
  background: linear-gradient(180deg, rgba(1, 51, 52, 0.06) 22%, rgba(0, 44, 69, 0.74) 100%);
}

.hero-panel {
  width: min(100%, 760px);
  padding: 30px 32px;
  border-radius: 28px;
  background: rgba(20, 68, 69, 0.26);
  box-shadow: 0 18px 50px rgba(1, 51, 52, 0.18);
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p {
  color: var(--white);
}

h1, h2, h3 {
  margin: 0;
  color: var(--green);
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.94;
  max-width: 11ch;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.hero-text,
.text-block p,
.project-copy p,
.impact-content p,
.cta-box p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(18, 32, 34, 0.80);
}

.hero-text {
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-actions .about-hero-donate-button {
  background: #ffe433;
  color: #000000;
  box-shadow: none;
}

.hero-actions .about-hero-donate-button:hover,
.hero-actions .about-hero-donate-button:focus-visible {
  background: #f2d300;
  color: #000000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: #18595a;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(1, 51, 52, 0.18);
}

.btn-secondary {
  background: var(--platinum);
  color: var(--green);
}

.mission-card,
.support-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: stretch;
}

.reverse-card { grid-template-columns: 0.95fr 1fr; }
.text-block { padding: 44px; }

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(18, 32, 34, 0.82);
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: 0.7em;
}

.image-wrap img,
.project-card img {
  height: 100%;
  object-fit: cover;
}

.section-heading { padding: 6px 6px 18px; }
.info-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-grid { display: grid; }
.project-card { text-decoration: none; }
.project-card img { aspect-ratio: 1.15 / 0.9; }
.project-copy { padding: 24px; }

.impact-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(1,51,52,0.92), rgba(0,117,145,0.82));
}

.impact-content {
  padding: 52px;
  max-width: 760px;
}

.impact-banner .eyebrow,
.impact-banner h2,
.impact-banner p { color: var(--white); }

.support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.support-points span {
  padding: 12px 16px;
  background: rgba(0, 117, 145, 0.08);
  border: 1px solid rgba(0, 117, 145, 0.10);
  color: var(--green);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.support-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(128,186,200,0.25), transparent 32%),
    linear-gradient(180deg, rgba(1, 51, 52, 0.04), rgba(1, 51, 52, 0.08));
}

.cta-box {
  width: min(100%, 420px);
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(1, 51, 52, 0.08);
  box-shadow: 0 14px 30px rgba(1, 51, 52, 0.10);
}

.cta-box .btn { margin-top: 10px; }

.impact-content .about-mission-donate-button,
.cta-box .about-join-donate-button {
  margin-top: 24px;
  background: #ffe433;
  color: #000000;
  box-shadow: none;
}

.impact-content .about-mission-donate-button:hover,
.impact-content .about-mission-donate-button:focus-visible,
.cta-box .about-join-donate-button:hover,
.cta-box .about-join-donate-button:focus-visible {
  background: #f2d300;
  color: #000000;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .mission-card,
  .reverse-card,
  .support-panel { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--container));
    margin: 9px auto 22px;
  }

  .card {
    border-radius: 28px;
  }

  .hero-banner {
    min-height: 0;
    height: auto;
  }

  .hero-banner > img {
    height: 420px;
    object-position: center top;
  }

  .hero-banner-overlay {
    align-items: stretch;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(180deg, rgba(1, 51, 52, 0.04) 8%, rgba(0, 33, 50, 0.28) 48%, rgba(0, 29, 44, 0.84) 100%);
  }

  .hero-panel {
    width: 100%;
    padding: 20px 18px 18px;
    border-radius: 24px;
    background: rgba(6, 41, 53, 0.72);
    box-shadow: 0 14px 34px rgba(1, 51, 52, 0.20);
    backdrop-filter: blur(3px);
  }

  .hero-content .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
    margin-bottom: 8px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.4vw, 2.9rem);
    line-height: 0.94;
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.52;
    max-width: 24ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding: 0 18px;
    width: auto;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-width: 0;
  }

  .text-block,
  .project-copy,
  .impact-content,
  .cta-box { padding: 24px 20px 26px; }

  .impact-content h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 0.95;
    max-width: 9ch;
  }

  .mission-card .image-wrap { order: 1; }
  .mission-card .text-block,
  .reverse-card .text-block { order: 2; }

  .mission-card .image-wrap img,
  .reverse-card .image-wrap img {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    object-fit: cover;
  }

  .support-points { gap: 8px; }
  .support-points span {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
}
