:root {
  --navy: #17395f;
  --navy-deep: #102946;
  --gold: #e9a313;
  --gold-dark: #b97800;
  --ink: #25313d;
  --slate: #5f6c78;
  --tertiary: #7d8994;
  --mist: #eef4f7;
  --warm-white: #fffaf0;
  --evergreen: #2f6b4f;
  --white: #ffffff;
  --border: #d8e1e8;
  --shadow: 0 16px 40px rgba(23, 57, 95, 0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1180px;
  --font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #70a7d8;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.topbar {
  color: #e5eff8;
  background: var(--navy-deep);
  font-size: 13px;
  line-height: 20px;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  min-height: 34px;
  align-items: center;
}

.topbar a,
.site-nav a,
.footer-grid a,
.footer-bottom a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: block;
  width: 190px;
  border-radius: 6px;
  overflow: hidden;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #edf4f9;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button--small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
}

.button--gold {
  color: #1f2a34;
  background: var(--gold);
  border-color: var(--gold);
}

.button--gold:hover {
  background: #f1b32c;
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 41, 70, 0.93) 0%, rgba(16, 41, 70, 0.7) 48%, rgba(16, 41, 70, 0.24) 100%);
}

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

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
}

.hero__lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: #e5eff8;
  font-size: 18px;
  line-height: 30px;
}

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

.hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: rgba(16, 41, 70, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card p {
  margin: 0;
}

.hero-card__label {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
}

.hero-card__time {
  margin: 8px 0 16px !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.hero-card a {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 700;
}

.impact {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.impact-grid li {
  min-height: 132px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.impact-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 32px;
  line-height: 40px;
}

.impact-grid span {
  color: #dce8f2;
  font-size: 14px;
  line-height: 22px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.mission h2,
.partners h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 40px;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--slate);
}

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

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

.path-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.path-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--warm-white);
  font-size: 14px;
  font-weight: 700;
}

.path-card h3,
.help h3,
.detail-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 28px;
}

.path-card p {
  margin: 0 0 18px;
  color: var(--slate);
}

.path-card a,
.detail-card a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 4px;
}

.mission {
  background: var(--mist);
}

.mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.mission__image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mission__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mission p {
  color: var(--slate);
}

.mission blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  background: var(--white);
}

.mission blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 28px;
  font-weight: 600;
}

.help {
  color: var(--white);
  background: var(--gold);
}

.help .eyebrow,
.help h2,
.help .section-heading p {
  color: #1f2a34;
}

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

.help-grid article {
  padding: 32px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.help-grid ul {
  padding-left: 20px;
  margin: 0 0 24px;
  color: #e5eff8;
}

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

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

.detail-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
}

.detail-card h3 span {
  display: block;
  color: var(--slate);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

.detail-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-card dt {
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
}

.detail-card dd {
  margin: 2px 0 0;
  color: var(--ink);
}

.partners {
  padding: 72px 0;
  background: var(--navy);
}

.partners__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 40px;
  align-items: center;
}

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

.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-list li {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
}

.partner-list img {
  max-height: 70px;
  object-fit: contain;
}

.site-footer {
  padding: 64px 0 92px;
  color: #d9e6ef;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(160px, 0.5fr) minmax(280px, 0.9fr);
  gap: 48px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 18px;
  border-radius: 6px;
}

.footer-grid p {
  margin: 0;
  color: #b8c8d5;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 17px;
  line-height: 24px;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.newsletter {
  display: grid;
  gap: 10px;
}

.newsletter label {
  font-weight: 700;
}

.newsletter input[type="email"] {
  min-height: 44px;
  width: 100%;
  border: 1px solid #6f879c;
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: start;
  color: #d9e6ef;
  font-size: 14px;
  line-height: 22px;
}

.checkbox input {
  margin-top: 5px;
}

.form-message {
  min-height: 20px;
  color: var(--gold) !important;
  font-size: 13px;
  line-height: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b8c8d5;
  font-size: 13px;
  line-height: 20px;
}

.footer-bottom p {
  margin: 0;
}

.mobile-actionbar {
  display: none;
}

@media (max-width: 980px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 7px 0;
  }

  .nav-shell {
    grid-template-columns: auto auto 1fr;
    gap: 14px;
  }

  .brand {
    width: 148px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: var(--white);
    background: transparent;
  }

  .menu-toggle__bars,
  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .menu-toggle__bars {
    position: relative;
  }

  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle__bars::before {
    top: -7px;
  }

  .menu-toggle__bars::after {
    top: 7px;
  }

  .site-nav {
    position: fixed;
    top: 112px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: var(--navy-deep);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-donate {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(16, 41, 70, 0.94) 0%, rgba(16, 41, 70, 0.82) 62%, rgba(16, 41, 70, 0.72) 100%);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 72px 0 92px;
  }

  .impact {
    margin-top: -34px;
  }

  .impact-grid,
  .path-grid,
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission__grid,
  .partners__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partners__inner {
    gap: 24px;
  }
}

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

  .topbar {
    display: none;
  }

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

  .site-nav {
    top: 84px;
  }

  .brand {
    width: 128px;
  }

  .nav-donate {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero__grid {
    gap: 24px;
    padding: 56px 0 74px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 42px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 26px;
  }

  .hero__actions,
  .help-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero-card__time {
    font-size: 22px;
    line-height: 30px;
  }

  .impact-grid,
  .path-grid,
  .help-grid,
  .details-grid,
  .partner-list {
    grid-template-columns: 1fr;
  }

  .impact-grid li {
    min-height: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading h2,
  .mission h2,
  .partners h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .footer-bottom {
    display: grid;
  }

  .site-footer {
    padding-bottom: 104px;
  }

  .mobile-actionbar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(16, 41, 70, 0.94);
    box-shadow: var(--shadow);
  }

  .mobile-actionbar a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: #1f2a34;
    background: var(--gold);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
