:root {
  --navy: #0f2742;
  --navy-light: #1c3d5e;
  --gold: #c89b3c;
  --gold-light: #e0b75c;
  --ink: #1a1a1a;
  --muted: #5b6b7a;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --line: #dfe4e8;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 39, 66, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--navy-light); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(232,195,115,0.55); }
.brand-copy { display: flex; flex-direction: column; }
.brand strong { color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.brand small { color: var(--gold-light); font-size: 0.72rem; letter-spacing: 0.5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; }
.nav a {
  color: #e8edf2;
  text-decoration: none;
  margin-left: 22px;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav-help {
  margin-left: 10px;
  padding: 9px 15px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  font-weight: 800;
}
.nav .nav-help:hover { background: var(--gold-light); color: var(--navy); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 1px solid rgba(255,255,255,0.28); border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; border-radius: 2px; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--gold);
}
.btn-ghost:hover { background: rgba(200,155,60,0.15); }

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 58px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); align-items: center; gap: 46px; }
.hero-copy { text-align: left; }
.hero h1 { font-size: 2.7rem; line-height: 1.12; margin-bottom: 12px; }
.hero .tagline { color: var(--gold-light); font-size: 1.15rem; font-weight: 600; margin-bottom: 20px; }
.hero p.lead { max-width: 620px; margin: 0 0 28px; font-size: 1.05rem; color: #d6dee6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid rgba(232,195,115,0.38); box-shadow: 0 24px 60px rgba(0,0,0,0.34); }
.hero-media img { width: 100%; height: 470px; object-fit: cover; object-position: center; }

/* Visitor pathways */
.pathways { padding: 0; background: var(--off, #f7f5f0); }
.pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; transform: translateY(-24px); margin-bottom: -24px; }
.pathway-card { position: relative; padding: 30px; border-radius: 18px; box-shadow: 0 16px 44px rgba(10,31,53,0.18); overflow: hidden; }
.pathway-help { background: #fff; border: 1px solid var(--line); }
.pathway-give { background: var(--navy); color: #fff; border: 1px solid var(--navy-light); }
.pathway-card h2 { text-align: left; font-size: 1.55rem; margin: 2px 0 20px; }
.pathway-give h2 { color: #fff; }
.pathway-label, .section-kicker { color: var(--gold-dark, #967126); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pathway-give .pathway-label { color: var(--gold-light); }
.pathway-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pathway-links > a:not(.btn) { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pathway-give .pathway-links > a:not(.btn) { color: #fff; }

/* Stat bar */
.stats {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 28px 20px;
  gap: 16px;
}
.stat { text-align: center; flex: 1 1 140px; }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.stat .label { font-size: 0.85rem; color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
section .section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 36px;
}
.bg-soft { background: var(--bg-soft); }

#how,
#about,
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#how > .container,
#about > .container,
.cta-band > .container {
  position: relative;
  z-index: 2;
}
.section-watermark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1) sepia(0.6) saturate(0.7) contrast(0.9);
}
.watermark-how {
  opacity: 0.12;
  object-position: center 40%;
  mix-blend-mode: multiply;
}
.watermark-about {
  opacity: 0.1;
  object-position: center 52%;
  mix-blend-mode: multiply;
}
.watermark-cta {
  opacity: 0.16;
  object-position: center 48%;
  filter: grayscale(1) sepia(1) saturate(0.8) hue-rotate(165deg) contrast(1.05);
  mix-blend-mode: multiply;
}

/* Programs grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(200,155,60,0.65); box-shadow: 0 16px 34px rgba(10,31,53,0.15); }
.card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; line-height: 1.35; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.service-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; color: var(--navy); background: rgba(200,155,60,0.16); border: 1px solid rgba(200,155,60,0.4); border-radius: 14px; }
.service-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Mission context */
.why-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.why-grid h2 { text-align: left; font-size: 2rem; margin-top: 8px; }
.why-copy { padding-left: 34px; border-left: 4px solid var(--gold); }
.why-copy p + p { margin-top: 16px; }

/* Engagement */
.engagement { background: #fff; }
.engagement > .container > .section-kicker { text-align: center; }
.engagement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.action-card { min-width: 0; scroll-margin-top: 100px; padding: 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(10,31,53,0.08); }
.action-card h3 { margin: 12px 0 10px; color: var(--navy); font-size: 1.35rem; }
.action-card p { color: var(--muted); }
.action-card p a { color: var(--navy); font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.action-card .btn { max-width: 100%; margin-top: 20px; white-space: normal; }
.action-card.action-help { background: var(--navy); border-color: var(--navy); }
.action-help h3, .action-help p { color: #fff; }
.action-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.25rem; font-weight: 900; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.share-status { min-height: 1.4em; margin-top: 10px; font-size: 0.88rem; font-weight: 700; }

/* Steps */
.steps { counter-reset: step; max-width: 760px; margin: 0 auto; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step .num {
  flex: 0 0 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.step h3 { color: var(--navy); font-size: 1.05rem; }

/* CTA band */
.cta-band {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
}
.cta-band h2 { color: var(--navy); }
.cta-band p { margin-bottom: 22px; }
.cta-band .btn { background: var(--navy); color: #fff; }
.cta-band .btn:hover { background: var(--navy-light); }

/* Form */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.95rem;
}
.field .req { color: var(--err); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.form-note {
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  border-radius: 4px;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
  display: none;
}
.form-status.ok { display: block; background: #e3f2ea; color: var(--ok); }
.form-status.err { display: block; background: #fdeae9; color: var(--err); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c4d0dc;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer .col { flex: 1 1 220px; }
.footer-bottom {
  text-align: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--navy-light);
  font-size: 0.82rem;
  color: #8da0b3;
}

@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { display: none; width: 100%; padding: 12px 0 4px; border-top: 1px solid rgba(255,255,255,0.14); }
  .nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nav a { margin-left: 0; padding: 10px 8px; border-radius: 6px; }
  .nav .nav-help { margin-left: 0; text-align: center; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .hero { padding: 30px 0 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { grid-row: 1; border-radius: 12px; }
  .hero-media img { height: auto; aspect-ratio: 3 / 2; }
  .hero-copy { grid-row: 2; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 0.98rem; }
  .brand small { font-size: 0.62rem; }
  .section-watermark { object-position: center; }
  .pathway-grid, .why-grid, .engagement-grid { grid-template-columns: 1fr; }
  .pathway-grid { transform: none; margin: 0; padding-top: 18px; }
  .pathway-card { padding: 24px; }
  .why-grid { gap: 24px; }
  .why-copy { padding-left: 20px; }
  .field-row { grid-template-columns: 1fr; }
}
