:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-deep: #0c2343;
  --ink: #092347;
  --ink-soft: #536985;
  --ink-faint: #6f8198;
  --navy: #092347;
  --blue: #1769e0;
  --blue-deep: #0f55bb;
  --teal: #1e8f8a;
  --sand: #eadcc8;
  --mist: #dce6f7;
  --line: rgba(9, 35, 71, 0.1);
  --line-strong: rgba(23, 105, 224, 0.18);
  --shadow: 0 26px 60px rgba(13, 31, 63, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 44px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 4%, rgba(23, 105, 224, 0.15), transparent 28%),
    radial-gradient(circle at 92% 15%, rgba(30, 143, 138, 0.11), transparent 23%),
    linear-gradient(180deg, #fbfdff 0%, #f1f5fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 35, 71, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 35, 71, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 86%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(185px, 24vw, 255px);
  height: 54px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transform: none;
  opacity: 1;
}

.site-nav a,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.contact-copy a:hover,
.contact-copy a:focus-visible {
  color: var(--blue);
}

main {
  padding-top: 28px;
}

.hero,
.about-grid,
.geography-grid,
.governance-grid,
.contact-layout,
.donate-block {
  display: grid;
  gap: 22px;
}

.hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: stretch;
  padding: 18px 0 10px;
}

.hero-copy,
.hero-side,
.surface-card,
.section-block,
.donate-panel,
.proof-band {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: clamp(32px, 4vw, 58px);
}

.hero-side {
  display: grid;
  gap: 18px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(9, 35, 71, 0.98), rgba(11, 51, 101, 0.95)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 46%);
  color: #f7fbff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

h1 {
  max-width: 10.8ch;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
}

h3 {
  font-size: 1.28rem;
  line-height: 1.15;
}

.hero-text,
.surface-card p,
.program-card p,
.timeline-step p,
.contact-form label span,
.form-note,
.proof-band p,
.site-footer p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 57ch;
  margin-top: 20px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(23, 105, 224, 0.07);
  color: var(--navy);
}

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

.hero-metrics article,
.story-card,
.program-card,
.timeline-step,
.contact-form,
.mini-card {
  border-radius: var(--radius-lg);
}

.hero-metrics article {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong,
.story-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.story-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-card p,
.story-card li {
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.7;
}

.accent-card {
  background: linear-gradient(180deg, rgba(30, 143, 138, 0.2), rgba(255, 255, 255, 0.04));
}

.story-card ul,
.bullet-list,
.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-card ul {
  display: grid;
  gap: 10px;
}

.story-card li {
  padding-left: 16px;
  position: relative;
}

.story-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--sand);
}

.quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.proof-band {
  margin: 12px 0 18px;
  padding: 18px 24px;
  background:
    linear-gradient(135deg, rgba(234, 220, 200, 0.88), rgba(255, 255, 255, 0.92));
}

.proof-band p {
  color: var(--navy);
  font-weight: 700;
}

.section-block {
  margin: 18px 0;
  padding: clamp(28px, 3vw, 42px);
  scroll-margin-top: 44px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-copy,
.donate-copy,
.contact-copy {
  display: grid;
  align-content: start;
}

.hero-copy > h1 + p,
.donate-copy > h2 + p,
.contact-copy > h2 + p {
  margin-top: 14px;
}

.hero-copy > .hero-actions,
.donate-copy > .bullet-list,
.contact-copy > .contact-notes {
  margin-top: 24px;
}

.donate-copy h2,
.contact-copy h2,
.governance-block .section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  line-height: 0.98;
}

.contact-copy h2 {
  max-width: 9ch;
  font-size: clamp(2.2rem, 3.4vw, 3.45rem);
}

.about-grid,
.partner-layout,
.timeline,
.program-grid {
  display: grid;
  gap: 18px;
}

.about-grid,
.contact-layout,
.donate-block {
  grid-template-columns: 1.02fr 0.98fr;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.geography-grid,
.governance-grid,
.timeline,
.partner-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.surface-card {
  padding: 24px;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list li,
.bullet-list li,
.donate-benefits li {
  display: grid;
  gap: 5px;
  padding: 0 0 0 18px;
  position: relative;
}

.value-list li::before,
.bullet-list li::before,
.donate-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.value-list span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.program-card,
.timeline-step {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.program-card span,
.timeline-step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.donate-copy p,
.contact-copy p,
.contact-copy a,
.contact-form input,
.contact-form textarea,
.contact-form label span,
code {
  color: var(--ink-soft);
}

.donate-panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(9, 35, 71, 0.98), rgba(11, 51, 101, 0.95));
  color: #ffffff;
}

.donate-app-shell,
.donation-toggle,
.donate-amounts,
.contact-notes {
  display: grid;
  gap: 12px;
}

.donate-app-shell {
  gap: 14px;
}

.donate-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.donate-app-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.donation-toggle {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 286px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.toggle-track {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(6, 21, 43, 0.18);
  transition: transform 180ms ease;
}

.donation-toggle.is-monthly .toggle-track {
  transform: translateX(0);
}

.donation-toggle:not(.is-monthly) .toggle-track {
  transform: translateX(100%);
}

.toggle-chip,
.amount-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.toggle-chip {
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.toggle-chip.is-active {
  background: transparent;
  color: var(--navy);
}

.toggle-chip:hover,
.toggle-chip:focus-visible {
  color: #ffffff;
}

.toggle-chip.is-active:hover,
.toggle-chip.is-active:focus-visible {
  color: var(--navy);
}

.donate-amounts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
}

.amount-chip:hover,
.amount-chip:focus-visible {
  background: rgba(23, 105, 224, 0.34);
  border-color: rgba(255, 255, 255, 0.34);
}

.amount-chip.is-active,
.amount-chip.is-active:hover,
.amount-chip.is-active:focus-visible {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--navy);
}

.custom-amount,
.contact-form label {
  display: grid;
  gap: 8px;
}

.custom-amount {
  margin-top: 2px;
}

.custom-amount span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.custom-amount input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  outline: none;
}

.custom-amount input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
}

.custom-amount input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.donation-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.donation-card-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.donation-card-main {
  display: grid;
  gap: 8px;
}

.donation-amount-display {
  font-size: clamp(2.7rem, 7vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.donation-currency-pill,
.donation-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.donation-impact-title {
  font-size: 1.35rem;
  line-height: 1.2;
}

.donation-impact-copy,
.donation-meta-note {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.donation-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donation-flow-divider {
  display: flex;
  justify-content: center;
  margin: -4px 0;
}

.donation-flow-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
}

.donate-button {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
}

.contact-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.mini-card h3 {
  margin-bottom: 10px;
}

.mini-card p,
.governance-card p,
.partner-layout .surface-card p,
.donate-copy p,
.donate-benefits li {
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.form-note {
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.4em;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 8px 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .program-grid,
  .geography-grid,
  .timeline,
  .partner-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1320px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1240px) {
  .contact-layout,
  .donate-block,
  .governance-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy h2,
  .donate-copy h2,
  .governance-block .section-heading h2 {
    max-width: 12ch;
  }
}

@media (max-width: 1180px) {
  .program-grid,
  .geography-grid,
  .governance-grid,
  .timeline,
  .partner-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header,
  .site-nav,
  .hero,
  .about-grid,
  .contact-layout,
  .donate-block,
  .program-grid,
  .geography-grid,
  .governance-grid,
  .timeline,
  .partner-layout,
  .contact-notes,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: grid;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 14px;
    border-radius: 0 0 24px 24px;
  }

  .brand {
    width: 180px;
    height: 40px;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    gap: 12px;
    padding: 8px 2px 2px;
  }

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

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

  .hero {
    padding-top: 6px;
  }

  .donation-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 250px;
  }

  .donate-app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .donation-card {
    padding: 18px;
    border-radius: 22px;
  }

  .donation-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .contact-copy h2,
  .donate-copy h2,
  .governance-block .section-heading h2 {
    font-size: clamp(2.1rem, 8.5vw, 3.1rem);
    max-width: 11ch;
  }

  .site-footer div {
    gap: 12px;
  }
}
