:root {
  --navy-950: #071426;
  --navy-900: #0b1d35;
  --navy-800: #122b4b;
  --navy-700: #1e3b60;
  --gold-500: #d9a424;
  --gold-400: #efbd39;
  --gold-200: #f7dfa0;
  --ink: #102039;
  --muted: #5b6878;
  --paper: #ffffff;
  --cloud: #f3f6f9;
  --line: #d9e0e8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 22px 65px rgba(7, 20, 38, .14);
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .7rem 1rem; background: white; color: var(--navy-950); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,20,38,.96); color: white; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .09em; }
.brand-text small { color: var(--gold-400); font-size: .68rem; letter-spacing: .26em; margin-top: .28rem; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { color: #eaf0f6; font-size: .9rem; font-weight: 680; text-decoration: none; padding: .55rem .1rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: white; border-bottom-color: var(--gold-400); }
.nav-links .nav-donate { padding: .72rem 1rem; color: var(--navy-950); background: var(--gold-400); border: 0; border-radius: 999px; }
.nav-links .nav-donate:hover, .nav-links .nav-donate:focus-visible { color: var(--navy-950); background: #ffd66e; }
.menu-button { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: .7rem; cursor: pointer; }
.menu-button span, .menu-button span::before, .menu-button span::after { width: 20px; height: 2px; display: block; background: currentColor; content: ""; transition: .2s ease; }
.menu-button span { position: relative; }
.menu-button span::before { position: absolute; top: -6px; }
.menu-button span::after { position: absolute; top: 6px; }

.hero { min-height: 680px; color: white; background: var(--navy-950); position: relative; overflow: hidden; display: grid; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,38,.98) 0%, rgba(7,20,38,.86) 31%, rgba(7,20,38,.22) 62%, rgba(7,20,38,.08) 100%), url("assets/hero.webp") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -320px; bottom: -360px; border: 90px solid rgba(239,189,57,.18); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; max-width: 720px; padding: 7rem 0; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--gold-400); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.04; margin: 0; color: var(--navy-950); }
h1 { color: white; font-size: clamp(3.35rem, 8vw, 6.4rem); font-weight: 500; letter-spacing: -.045em; max-width: 740px; margin-top: 1rem; }
.hero-lede { max-width: 610px; color: #e3ebf2; font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.55; margin: 1.5rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 780; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy-950); background: var(--gold-400); }
.button-gold:hover { background: #ffd66e; }
.button-light { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }
.button-light:hover { border-color: white; background: rgba(255,255,255,.12); }
.button-navy { color: white; background: var(--navy-900); }
.button-navy:hover { background: var(--navy-700); }
.button-outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }

.stat-band { background: var(--gold-400); color: var(--navy-950); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.5rem; border-right: 1px solid rgba(7,20,38,.2); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.35rem; line-height: 1; }
.stat span { display: block; font-size: .84rem; font-weight: 760; margin-top: .6rem; }

.section { padding: 6.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-cloud { background: var(--cloud); }
.section-navy { color: white; background: var(--navy-950); }
.section-navy h2, .section-navy h3 { color: white; }
.section-head { display: grid; grid-template-columns: .68fr 1.32fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-head h2, .page-hero h1 { font-size: clamp(2.65rem, 5vw, 4.7rem); font-weight: 520; letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; max-width: 660px; }
.section-navy .section-head p { color: #c8d4df; }
.kicker { color: var(--gold-500); font-weight: 800; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .85rem; }

.mission-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.mission-copy h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 520; letter-spacing: -.035em; }
.mission-copy p { font-size: 1.12rem; color: var(--muted); max-width: 650px; }
.mission-quote { background: var(--navy-900); color: white; padding: 3.2rem; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.mission-quote::after { content: ""; position: absolute; width: 260px; height: 260px; right: -165px; bottom: -165px; border: 55px solid rgba(239,189,57,.25); border-radius: 50%; }
.mission-quote strong { display: block; color: var(--gold-400); font-family: var(--serif); font-size: 4.5rem; line-height: 1; }
.mission-quote p { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; margin: .75rem 0 0; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.program-card { min-height: 335px; padding: 1.65rem; border: 1px solid var(--line); background: white; border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-400); border-radius: 50%; font-weight: 850; }
.program-card h3 { font-size: 1.65rem; font-weight: 560; margin: 1.8rem 0 .75rem; }
.program-card p { color: var(--muted); font-size: .96rem; margin: 0 0 1.5rem; }
.text-link { margin-top: auto; color: var(--navy-800); font-size: .86rem; font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; background: var(--navy-950); }
.feature-media { min-height: 470px; background: url("assets/community.webp") center/cover no-repeat; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem); color: white; }
.feature-copy h2 { color: white; font-size: clamp(2.5rem, 5vw, 4.35rem); font-weight: 520; }
.feature-copy p { color: #d2dce6; max-width: 580px; font-size: 1.08rem; }
.feature-copy .actions { margin-top: 1.2rem; }

.page-hero { padding: 6.2rem 0 5.6rem; color: white; background: var(--navy-950); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -220px; top: -280px; border: 75px solid rgba(239,189,57,.17); border-radius: 50%; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: white; max-width: 900px; margin-top: 1rem; }
.page-hero p { color: #d5dee8; max-width: 760px; font-size: 1.18rem; margin: 1.35rem 0 0; }

.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.story-grid h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 520; }
.prose p { color: #475668; font-size: 1.08rem; margin-top: 0; margin-bottom: 1.2rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: white; padding: 2rem; }
.value h3 { font-size: 1.45rem; margin: .8rem 0; }
.value p { color: var(--muted); margin: 0; font-size: .94rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.leader { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(7, 20, 38, .08); }
.leader-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; background: var(--navy-900); }
.leader-body { padding: 1.4rem 1.5rem 1.6rem; }
.leader h3 { font-size: 1.4rem; margin: 0 0 .4rem; }
.leader p { margin: 0; color: var(--gold-500); font-weight: 800; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }

.program-detail { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; padding: 3.2rem 0; border-top: 1px solid var(--line); }
.program-detail:first-child { border-top: 0; padding-top: 0; }
.program-detail h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 520; }
.program-detail p { color: var(--muted); font-size: 1.06rem; margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.4rem; }
.check-list li { position: relative; padding-left: 1.6rem; font-weight: 680; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .48rem; width: .58rem; height: .58rem; background: var(--gold-500); border-radius: 50%; }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.impact-card { padding: 2rem; color: white; background: var(--navy-900); border-radius: var(--radius); }
.impact-card strong { display: block; color: var(--gold-400); font-family: var(--serif); font-size: 3rem; line-height: 1; }
.impact-card span { display: block; margin-top: .75rem; color: #d4dee8; font-weight: 680; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 2rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: var(--gold-400); }
.timeline-item { position: relative; padding-top: 3rem; }
.timeline-item::before { content: ""; position: absolute; top: 7px; width: 20px; height: 20px; background: var(--navy-950); border: 5px solid var(--gold-400); border-radius: 50%; }
.timeline-item h3 { font-size: 1.5rem; }
.timeline-item p { color: var(--muted); }
.finance-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.finance-layout h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 520; }
.bars { display: grid; gap: 1.1rem; }
.investment-priorities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.investment-priority { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.investment-priority h3 { margin-bottom: .65rem; font-size: 1.45rem; }
.investment-priority p { margin: 0; color: var(--muted); }
.bar-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; font-weight: 760; }
.bar-track { height: 10px; background: #dfe5ec; border-radius: 99px; overflow: hidden; margin-top: .42rem; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-800), var(--gold-500)); border-radius: inherit; }
.note { color: var(--muted); font-size: .86rem; }

.involve-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.path-card { padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.path-card h2, .path-card h3 { font-size: 2rem; font-weight: 540; }
.path-card p { color: var(--muted); }
.path-card .button { margin-top: .8rem; }
.involve-fallback { grid-column: 1 / -1; margin: 1rem 0 0; text-align: center; color: var(--muted); }
.involve-fallback a { color: var(--navy); font-weight: 700; }
.contact-panel { padding: 2.5rem; color: white; background: var(--navy-900); border-radius: var(--radius); }
.contact-panel h2, .contact-panel h3 { color: white; }
.contact-panel a { color: var(--gold-400); text-underline-offset: 4px; }
.contact-panel p { color: #d5dee8; }
.contact-list { list-style: none; padding: 0; margin: 1.7rem 0 0; }
.contact-list li { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-list strong { display: block; color: #aebdcb; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }

.legal { padding: 5rem 0; }
.legal h2 { font-size: 1.7rem; margin: 2.3rem 0 .7rem; }
.legal p, .legal li { color: #475668; }

.giving-hero { padding: 6.5rem 0; color: white; background: var(--navy-950); position: relative; overflow: hidden; }
.giving-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -230px; top: -315px; border: 82px solid rgba(239,189,57,.17); border-radius: 50%; }
.giving-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; }
.giving-hero h1 { color: white; font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.045em; margin-top: 1rem; }
.giving-hero p { color: #d5dee8; max-width: 720px; font-size: 1.18rem; margin: 1.35rem 0 0; }
.giving-hero-compact { padding-block: 5.5rem; }
.giving-hero-compact h1 { font-size: clamp(3rem, 6vw, 5rem); }
.giving-trust { display: grid; gap: .55rem; padding: 1.7rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.giving-trust strong { color: var(--gold-400); font-family: var(--serif); font-size: 1.28rem; }
.giving-trust span { color: #d5dee8; font-size: .9rem; }
.giving-trust a { color: white; font-weight: 760; text-underline-offset: 4px; }
.giving-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.giving-case { position: sticky; top: 7rem; }
.giving-case h2, .giving-form-card h2, .donor-history-card h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 520; letter-spacing: -.035em; }
.giving-case > p { color: var(--muted); font-size: 1.06rem; }
.giving-impact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.giving-impact-list li { display: grid; gap: .2rem; padding: 1.15rem 0 1.15rem 1.25rem; border-left: 4px solid var(--gold-500); }
.giving-impact-list strong { color: var(--navy-950); font-family: var(--serif); font-size: 1.45rem; }
.giving-impact-list span { color: var(--muted); }
.giving-help { font-size: .94rem !important; }
.giving-help a { color: var(--navy-800); font-weight: 800; }
.giving-form-card, .donor-history-card { padding: clamp(1.4rem, 4vw, 2.6rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.giving-form-card h2, .donor-history-card h2 { margin-bottom: 1.4rem; }
.giving-form-embed { min-height: 520px; }
.giving-form-embed iframe { width: 100%; border: 0; }
.giving-note { color: var(--muted); font-size: .82rem; margin: 1.1rem 0 0; }
.donor-history-card { max-width: 820px; }
.donor-history-card > p { color: var(--muted); }
.donor-history-embed { margin-top: 2rem; }
.donor-history-embed input[type="email"], .donor-history-embed input[type="text"], .donor-history-embed input[type="password"] { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid #b8c3cf; border-radius: .55rem; }
.donor-history-embed input[type="submit"], .donor-history-embed button { min-height: 48px; padding: .75rem 1.2rem; color: white; background: var(--navy-900); border: 0; border-radius: 999px; font-weight: 780; cursor: pointer; }

.cta { padding: 5.5rem 0; background: var(--gold-400); color: var(--navy-950); }
.cta-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.cta h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 520; }
.cta p { max-width: 650px; font-size: 1.08rem; }
.cta .actions { justify-content: flex-end; }

.site-footer { padding: 4.5rem 0 2rem; color: #c4d0dc; background: #06101f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 3rem; }
.footer-brand p { max-width: 440px; }
.footer-logo { width: 110px; margin-bottom: 1rem; }
.site-footer h3 { color: white; font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #c4d0dc; text-decoration: none; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1.5rem; font-size: .78rem; color: #91a2b3; }

:focus-visible { outline: 3px solid #ffce55; outline-offset: 3px; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; }
  .nav-links { position: fixed; inset: 82px 0 0; padding: 2rem 1.25rem 5rem; background: var(--navy-950); display: none; flex-direction: column; align-items: stretch; gap: .3rem; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; padding: .9rem .5rem; }
  .nav-links .nav-donate { margin-top: .6rem; text-align: center; }
  .card-grid, .team-grid, .value-grid, .impact-grid, .investment-priorities { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .feature, .story-grid, .finance-layout, .giving-hero-grid, .giving-layout { grid-template-columns: 1fr; }
  .giving-case { position: static; }
  .feature-media { min-height: 520px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: min(100% - 1.5rem, 1180px); }
  .brand-text { display: none; }
  .hero { min-height: 720px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, rgba(7,20,38,.99) 0%, rgba(7,20,38,.88) 47%, rgba(7,20,38,.18) 100%), url("assets/hero.webp") 69% center/cover no-repeat; }
  .hero-inner { padding: 5rem 0 3.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(7,20,38,.2); }
  .section { padding: 4.5rem 0; }
  .section-head { grid-template-columns: 1fr; gap: 1.1rem; }
  .card-grid, .team-grid, .value-grid, .impact-grid, .investment-priorities, .involve-grid, .contact-grid, .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; }
  .timeline-item { padding: 0 0 1.8rem 3rem; }
  .timeline-item::before { left: 0; top: 0; }
  .program-detail { grid-template-columns: 1fr; gap: 1rem; }
  .check-list { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .feature-media { min-height: 380px; }
  .feature-copy { padding: 3rem 1.25rem; }
  .giving-hero { padding-block: 4.5rem; }
  .giving-form-card, .donor-history-card { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
