:root {
  --blue: #0a67c8;
  --blue-dark: #084c94;
  --blue-deep: #123b67;
  --green: #6aa23a;
  --orange: #f4812c;
  --gold: #f3b34d;
  --ink: #1f2933;
  --muted: #5d6875;
  --line: #dbe4ee;
  --soft: #f5f8fb;
  --soft-warm: #fff7ef;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(22, 38, 58, 0.12);
  --shadow-strong: 0 24px 70px rgba(18, 59, 103, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.48), rgba(255, 255, 255, 0) 460px),
    linear-gradient(90deg, rgba(10, 103, 200, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 103, 200, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: auto, 56px 56px, 56px 56px, auto;
}

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

a {
  color: var(--blue-dark);
}

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

.narrow {
  width: min(860px, calc(100% - 40px));
}

.skip-link,
.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;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
}

.top-bar {
  background: var(--blue-deep);
  color: #edf6ff;
  font-size: 0.9rem;
}

.top-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 22px;
}

.brand img {
  width: 210px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--soft);
  color: var(--blue-dark);
}

.site-nav a[href="donate.php"] {
  background: var(--orange);
  color: #ffffff;
  margin-left: 6px;
}

.site-nav a[href="donate.php"]:hover,
.site-nav a[href="donate.php"]:focus {
  background: #df6b18;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 45%, rgba(231, 244, 255, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(10, 103, 200, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(10, 103, 200, 0.18), rgba(244, 129, 44, 0.14)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 103, 200, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 103, 200, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-shape-one {
  width: 360px;
  height: 360px;
  right: -90px;
  top: 50px;
  background: linear-gradient(135deg, rgba(244, 129, 44, 0.32), rgba(243, 179, 77, 0.14));
  border: 28px solid rgba(255, 255, 255, 0.7);
}

.hero-shape-two {
  width: 210px;
  height: 210px;
  right: 360px;
  bottom: 70px;
  background: linear-gradient(135deg, rgba(106, 162, 58, 0.28), rgba(10, 103, 200, 0.1));
  border: 22px solid rgba(255, 255, 255, 0.7);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 54px;
  min-height: 620px;
  padding: 60px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-dark);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 16px;
  color: #17212f;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.65rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.22rem;
  color: #38485b;
  max-width: 760px;
}

.hero-actions,
.hero-panel,
.stack {
  display: grid;
  gap: 14px;
}

.hero-actions {
  grid-template-columns: max-content max-content;
  margin-top: 28px;
}

.center-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(10, 103, 200, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--blue);
}

.button.light {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: #ffffff;
}

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

.hero-panel {
  align-self: stretch;
  justify-content: center;
}

.logo-medallion {
  justify-self: center;
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-strong);
  border: 10px solid rgba(255, 255, 255, 0.8);
}

.logo-medallion img {
  width: 118px;
}

.status-card,
.highlight-box,
.donation-card,
.form-panel,
.contact-card,
.feature-grid article,
.stack article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-card {
  padding: 24px;
  border-left: 5px solid var(--blue);
}

.status-card span,
.impact-grid span,
.metrics span {
  display: block;
  color: var(--muted);
}

.status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.impact-strip {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(18, 59, 103, 0.98), rgba(10, 103, 200, 0.92));
  color: #ffffff;
}

.impact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-strip-grid div {
  padding: 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.impact-strip-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.impact-strip strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.impact-strip span {
  display: block;
  color: #d7e8f7;
  font-size: 0.95rem;
}

.section {
  padding: 82px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 74%, rgba(10, 103, 200, 0.045) 74% 84%, transparent 84%),
    linear-gradient(45deg, transparent 0 82%, rgba(244, 129, 44, 0.045) 82% 90%, transparent 90%);
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.band {
  background:
    repeating-linear-gradient(135deg, rgba(106, 162, 58, 0.08) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, rgba(255, 247, 239, 0.92), rgba(245, 248, 251, 0.96)),
    var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.program-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: -10px 0 28px;
}

.program-intro div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f3f9ff);
}

.number {
  color: var(--orange);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

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

.feature-grid article,
.stack article {
  padding: 22px;
  box-shadow: 0 10px 28px rgba(18, 59, 103, 0.08);
}

.feature-grid article {
  min-height: 220px;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-grid article:nth-child(2n) {
  border-top-color: var(--green);
}

.feature-grid article:nth-child(3n) {
  border-top-color: var(--orange);
}

.split,
.contact-grid,
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.highlight-box,
.form-panel,
.contact-card,
.donation-card {
  padding: 30px;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
}

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

.columns {
  columns: 2;
  column-gap: 34px;
}

.values-grid,
.impact-grid,
.metrics {
  display: grid;
  gap: 18px;
}

.values-grid {
  grid-template-columns: repeat(5, 1fr);
}

.values-grid div,
.metrics div,
.impact-grid article,
.legal-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.page-hero {
  padding: 92px 0 72px;
  background:
    repeating-linear-gradient(135deg, rgba(10, 103, 200, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.9), rgba(236, 246, 255, 0.94)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.donate-hero {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 22px),
    linear-gradient(120deg, rgba(10, 103, 200, 0.18), rgba(244, 129, 44, 0.18)),
    var(--soft-warm);
}

.donate-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.donation-card {
  position: sticky;
  top: 112px;
  border-top: 6px solid var(--orange);
  background: linear-gradient(180deg, #ffffff, #fff9f2);
}

.copy-line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin: 10px 0 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: linear-gradient(135deg, #eef6ff, #fff4e8);
  color: var(--blue-dark);
  font-weight: 800;
  cursor: pointer;
}

.qr {
  display: block;
  width: min(100%, 310px);
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.small,
.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

.impact-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 38px;
}

.impact-grid strong,
.metrics strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

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

.story-band {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, rgba(18, 59, 103, 0.98), rgba(10, 103, 200, 0.92));
  color: #ffffff;
  padding: 42px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 90px 1fr max-content;
  gap: 28px;
  align-items: center;
}

.story-mark {
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  font-family: Georgia, serif;
}

.story-text {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 800;
}

.story-grid span {
  color: #d7e8f7;
}

.leadership {
  background:
    repeating-linear-gradient(90deg, rgba(10, 103, 200, 0.05) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

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

.leader-grid article {
  min-height: 235px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.leader-grid span {
  display: block;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-pills a {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(18, 59, 103, 0.08);
}

.form-panel,
.contact-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

form label {
  display: block;
  margin-bottom: 16px;
  color: #263545;
  font-weight: 800;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #cbd7e4;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(10, 103, 200, 0.18);
  border-color: var(--blue);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 600;
}

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

.newsletter {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 10px;
  align-items: end;
}

.site-footer {
  background: linear-gradient(135deg, #132235, #123b67);
  color: #e8eef5;
  padding: 54px 0 28px;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 36px;
}

.footer-logo {
  width: 180px;
  background: var(--white);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 16px;
}

.footer-grid h2 {
  color: var(--white);
  font-size: 1.12rem;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd7e4;
  font-size: 0.92rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 26px;
}

@media (max-width: 980px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
    gap: 2px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .split,
  .contact-grid,
  .donate-layout,
  .reverse {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 50px 0;
  }

  .hero-panel,
  .donation-card {
    position: static;
  }

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

  .values-grid,
  .footer-grid,
  .impact-strip-grid,
  .leader-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-grid {
    grid-template-columns: 70px 1fr;
  }

  .story-grid .button {
    grid-column: 2;
    width: max-content;
  }
}

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

  .brand img {
    width: 168px;
  }

  .hero-actions,
  .newsletter,
  .impact-grid,
  .metrics,
  .feature-grid,
  .values-grid,
  .footer-grid,
  .impact-strip-grid,
  .program-intro,
  .leader-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .program-intro div {
    grid-template-columns: 1fr;
  }

  .story-grid .button {
    grid-column: auto;
    width: 100%;
  }

  .columns {
    columns: 1;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 64px 0 54px;
  }

  .highlight-box,
  .form-panel,
  .contact-card,
  .donation-card {
    padding: 22px;
  }

  .top-bar {
    font-size: 0.82rem;
  }
}
