:root {
  color-scheme: light;
  --navy: #043878;
  --navy-2: #0b4f8f;
  --green: #4e8f70;
  --green-dark: #2f6f55;
  --ink: #172033;
  --muted: #5f6d7c;
  --line: #dce5ef;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --green-soft: #eef6f1;
  --navy-soft: #edf4fa;
  --shadow: 0 24px 70px rgba(4, 56, 120, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 54px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 239, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: clamp(152px, 18vw, 230px);
  height: auto;
  display: block;
}

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

.site-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav .nav-donate {
  margin-left: 6px;
  background: var(--green-dark);
  color: white;
  box-shadow: 0 10px 24px rgba(47, 111, 85, 0.2);
}

.site-nav .nav-donate:hover,
.site-nav .nav-donate:focus-visible {
  background: var(--navy);
}

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

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.section,
.section-band {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section > *,
.section-band > * {
  max-width: 1180px;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(120deg, rgba(4, 56, 120, 0.05), rgba(78, 143, 112, 0.08)),
    var(--paper);
  overflow: hidden;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.18;
}

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

.hero-text {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 15px 32px rgba(47, 111, 85, 0.22);
}

.button-primary:hover {
  background: var(--navy);
}

.button-secondary {
  background: var(--navy);
  color: white;
  box-shadow: 0 15px 32px rgba(4, 56, 120, 0.18);
}

.button-secondary:hover {
  background: var(--navy-2);
}

.hero-visual {
  justify-self: stretch;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -4% 2% 10%;
  background: var(--green-soft);
  border-radius: 8px;
  transform: rotate(2deg);
}

.hero-visual img {
  width: min(100%, 640px);
  aspect-ratio: 4 / 3;
  height: auto;
  position: relative;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-panel {
  width: min(92%, 480px);
  margin-top: -10px;
  padding: 22px;
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-panel strong,
.impact-panel span {
  display: block;
}

.impact-panel strong {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.1rem;
}

.impact-panel span {
  color: var(--muted);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.mission-grid,
.card-grid,
.resource-grid,
.action-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mission-grid article,
.service-card,
.action-grid article,
.news-card {
  min-height: 220px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(4, 56, 120, 0.08);
}

.mission-grid article:nth-child(1) {
  border-top: 6px solid var(--green);
}

.mission-grid article:nth-child(2) {
  border-top: 6px solid var(--navy);
}

.mission-grid article:nth-child(3) {
  border-top: 6px solid var(--green);
}

.section-photo {
  width: 100%;
  max-height: 310px;
  margin: 6px 0 24px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(4, 56, 120, 0.12);
}

.wide-photo {
  width: min(1040px, 100%);
  margin: 0 auto 28px;
}

.wide-photo img {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(4, 56, 120, 0.12);
}

.dark-photo img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.split-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.split-section > * {
  width: 100%;
}

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

.steps article {
  min-height: 212px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.soft-section {
  background:
    linear-gradient(180deg, rgba(4, 56, 120, 0.04), rgba(78, 143, 112, 0.06)),
    var(--soft);
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card a,
.action-grid a {
  margin-top: auto;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.service-card.green {
  background: var(--green-soft);
  border-color: rgba(78, 143, 112, 0.28);
}

.service-card.purple {
  background: var(--navy-soft);
  border-color: rgba(4, 56, 120, 0.16);
}

.service-card.gold {
  background: white;
  border-color: rgba(4, 56, 120, 0.14);
}

.service-card.red {
  background: var(--green-soft);
  border-color: rgba(78, 143, 112, 0.24);
}

.pill-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pill-grid span {
  min-height: 74px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 28px rgba(4, 56, 120, 0.07);
}

.popups-section {
  background: var(--navy);
}

.popups-section h2,
.popups-section h3,
.popups-section .eyebrow {
  color: white;
}

.popups-section p {
  color: rgba(255, 255, 255, 0.76);
}

.event-list {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.event-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.event-date {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  background: white;
  color: var(--navy);
  border-radius: 8px;
}

.event-date span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 2.2rem;
  line-height: 1;
}

.status {
  margin-bottom: 6px;
  color: #c8ded2 !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status.postponed {
  color: #b8d1c4 !important;
}

.notice {
  width: min(1000px, 100%);
  margin: 18px auto 0;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.24);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: 4px;
  top: 10px;
  background: var(--green);
  border-radius: 50%;
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin-bottom: 4px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd7e3;
  border-radius: 6px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(78, 143, 112, 0.16);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 650;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-section,
.goods-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

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

.action-grid article:nth-child(1) {
  border-top: 6px solid var(--green);
}

.action-grid article:nth-child(2) {
  border-top: 6px solid var(--green);
}

.action-grid article:nth-child(3) {
  border-top: 6px solid var(--green);
}

.action-grid article:nth-child(4) {
  border-top: 6px solid var(--navy);
}

.partners-section {
  background: white;
}

.logo-grid {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.logo-grid span {
  min-height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 56, 120, 0.04), rgba(78, 143, 112, 0.06)),
    white;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.donate-section {
  background:
    linear-gradient(120deg, rgba(4, 56, 120, 0.9), rgba(4, 56, 120, 0.72)),
    var(--navy);
}

.donate-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  background: white;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.donation-options {
  margin: 26px auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.donation-options button {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.donation-options button:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.zeffy-embed {
  width: 100%;
  margin: 30px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(4, 56, 120, 0.12);
}

.zeffy-embed iframe {
  width: 100%;
  min-height: 980px;
  display: block;
  border: 0;
}

.legal {
  max-width: 780px;
  margin: 22px auto 0;
  font-size: 0.88rem;
}

.news-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-details {
  margin-top: 28px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-details p {
  margin-bottom: 8px;
}

.site-footer {
  padding: 52px clamp(18px, 5vw, 72px) 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(190px, 0.6fr));
  gap: 34px;
  background: #071d3d;
  color: white;
}

.site-footer img {
  width: min(240px, 72vw);
  height: auto;
  margin-bottom: 14px;
  display: block;
  background: white;
  border-radius: 8px;
  padding: 10px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: white;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .site-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    max-height: calc(100vh - 82px);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 50px rgba(4, 56, 120, 0.16);
  }

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

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

  .site-nav .nav-donate {
    margin-left: 0;
    text-align: center;
  }

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

  .hero,
  .split-section,
  .form-section,
  .goods-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
  }

  .site-nav {
    inset: 74px 0 auto 0;
    max-height: calc(100vh - 74px);
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section,
  .section-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .mission-grid,
  .card-grid,
  .resource-grid,
  .action-grid,
  .steps,
  .pill-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

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

  .event-date {
    width: 92px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .button-row,
  .button {
    width: 100%;
  }

  .hero-visual img {
    width: 112%;
  }

  .donation-options {
    grid-template-columns: 1fr;
  }
}
