:root{
  --navy:#0B2463;     /* logo navy */
  --navy-soft:#3C4E78;
  --royal:#1450B4;    /* logo blue */
  --red:#D7141E;      /* logo maple red */
  --red-deep:#A8001F;
  --sky:#EEF4FB;
  --paper:#FFFFFF;
  --display:"Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body:"Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --wrap:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{font-family:var(--body);font-size:1.0625rem;line-height:1.6;color:var(--navy);background:var(--paper);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--display);line-height:1.05;letter-spacing:-.02em}
.wrap{width:min(var(--wrap),100% - 2.5rem);margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--red);color:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:1rem}
:focus-visible{outline:3px solid var(--royal);outline-offset:3px;border-radius:6px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--display);font-weight:700;font-size:1.05rem;text-decoration:none;padding:.9rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .15s ease, background-color .15s ease, color .15s}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:none}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-deep)}
.btn-line{border-color:var(--navy);color:var(--navy)}
.btn-line:hover{background:var(--navy);color:#fff}
.btn-ghost{border-color:#fff;color:#fff}
.btn-ghost:hover{background:#fff;color:var(--navy)}
.btn-sm{padding:.55rem 1.15rem;font-size:.95rem}
.btn-block{width:100%}

/* header — white so the logo sits exactly as designed */
.site-header{position:sticky;top:0;z-index:50;background:#fff;transition:box-shadow .2s}
.site-header.scrolled{box-shadow:0 6px 24px -12px rgba(11,36,99,.35)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:88px}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.brand-logo{height:76px;width:auto}
.brand-text{font-family:var(--display);font-weight:800;font-size:1.15rem;display:none}
.brand.no-logo .brand-text{display:inline}
.brand.no-logo .brand-logo{display:none}
.nav{display:flex;align-items:center;gap:1.8rem}
.nav a:not(.btn){text-decoration:none;font-weight:700;position:relative}
.nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:3px;border-radius:3px;background:var(--red);transform:scaleX(0);transition:transform .2s}
.nav a:not(.btn):hover::after{transform:scaleX(1)}
.menu-btn{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.menu-btn span{width:24px;height:3px;border-radius:3px;background:var(--navy);transition:transform .2s, opacity .2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* hero */
.hero{position:relative;background:var(--sky);overflow:hidden;padding:clamp(3rem,7vw,6rem) 0 clamp(4rem,8vw,7rem)}
.track{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.track path{fill:none;stroke:var(--red);stroke-width:24;stroke-linecap:round;opacity:.9}
.hero-grid{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:3rem;align-items:center}
.hero-kicker{font-family:var(--display);font-weight:700;color:var(--red);font-size:1.15rem;margin-bottom:.6rem}
.hero h1{font-size:clamp(3rem,7.4vw,6.2rem);font-weight:800;letter-spacing:-.035em}
.lede{font-size:clamp(1.1rem,1.6vw,1.3rem);max-width:34ch;margin:1.4rem 0 2rem;color:var(--navy-soft)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-photos{position:relative;aspect-ratio:1/1;max-width:560px;justify-self:end;width:100%}
.pebble{position:absolute;overflow:hidden;border:6px solid #fff;box-shadow:0 18px 40px -18px rgba(11,36,99,.5)}
.pebble img{width:100%;height:100%;object-fit:cover}
.p1{width:62%;height:62%;left:0;top:4%;border-radius:58% 42% 55% 45% / 48% 55% 45% 52%}
.p2{width:46%;height:46%;right:0;top:0;border-radius:50%}
.p3{width:52%;height:48%;right:6%;bottom:0;border-radius:42% 58% 38% 62% / 55% 45% 55% 45%}

/* image placeholder fallback */
.ph-wrap{background:linear-gradient(135deg,var(--royal),var(--navy) 60%,var(--red))}
.ph-wrap.ph img{opacity:0}

/* who */
.who{background:var(--navy);color:#fff;padding:1.4rem 0}
.who-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.who-inner p{font-weight:700;font-size:1.05rem}
.who-list{list-style:none;display:flex;gap:.6rem;flex-wrap:wrap}
.who-list li{font-family:var(--display);font-weight:700;padding:.35rem 1rem;border-radius:999px}
.c-red{background:var(--red);color:#fff} .c-royal{background:var(--royal);color:#fff} .c-ice{background:#fff;color:var(--navy)}

/* about */
.about{padding:clamp(4rem,9vw,7.5rem) 0}
.about-grid{display:grid;grid-template-columns:1fr 2.2fr;gap:3rem}
.about h2{font-size:clamp(2.2rem,4vw,3.2rem)}
.about-body .big{font-family:var(--display);font-weight:500;font-size:clamp(1.45rem,2.6vw,2.05rem);line-height:1.3;letter-spacing:-.01em;margin-bottom:1.5rem}
.about-body p:not(.big){font-size:1.15rem;max-width:62ch;color:var(--navy-soft)}

/* programs */
.section-title{font-size:clamp(2.2rem,4.6vw,3.8rem);max-width:16ch;margin-bottom:2.5rem}
.program{padding:clamp(3rem,7vw,5.5rem) 0;color:#fff}
.band-red{background:var(--red)}
.band-royal{background:var(--royal)}
.band-navy{background:var(--navy)}
.program-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.program-grid.flip .program-copy{order:2}
.for{font-family:var(--display);font-weight:700;display:inline-block;padding:.3rem .9rem;border-radius:999px;background:#fff;color:var(--navy);margin-bottom:1rem;font-size:.95rem}
.program h3{font-size:clamp(1.9rem,3.6vw,2.9rem);margin-bottom:1rem}
.program-copy p:not(.for){font-size:1.2rem;max-width:46ch}
.program-img{aspect-ratio:4/3;border-radius:32px;overflow:hidden;border:6px solid rgba(255,255,255,.9)}
.program-img img{width:100%;height:100%;object-fit:cover}

/* gallery mosaic */
.gallery{padding:clamp(4rem,8vw,6.5rem) 0}
.mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:220px 220px;gap:14px}
.mosaic figure{overflow:hidden;border-radius:24px}
.mosaic img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.mosaic figure:hover img{transform:scale(1.04)}
.m1{grid-column:1/3;grid-row:1/3;border-radius:200px 24px 24px 24px!important}
.m2{grid-column:3/4}
.m3{grid-column:4/5;border-radius:24px 120px 24px 24px!important}
.m4{grid-column:3/4}
.m5{grid-column:4/5}

/* involved */
.involved{position:relative;overflow:hidden;background:var(--navy);color:#fff;padding:clamp(5rem,10vw,8rem) 0;text-align:center}
.involved-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22}
.involved-inner{position:relative;max-width:760px}
.involved h2{font-size:clamp(2.2rem,5vw,3.8rem);margin-bottom:1rem}
.involved p{font-size:1.2rem;margin:0 auto 2rem;max-width:56ch}
.involved .hero-actions{justify-content:center}

/* contact */
.contact{background:var(--sky);padding:clamp(4rem,8vw,6.5rem) 0}
.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.contact h2{font-size:clamp(2.2rem,4.4vw,3.4rem);margin-bottom:1rem}
.org{font-family:var(--display);font-weight:700;font-size:1.25rem;margin-bottom:1.4rem}
.org span{font-weight:500;color:var(--navy-soft);font-size:1rem}
dl{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1.2rem;margin-bottom:1.8rem}
dt{font-weight:700;color:var(--red-deep)}
dd a{font-weight:700}
.map{border-radius:24px;overflow:hidden;border:4px solid #fff;aspect-ratio:16/10;background:#dfe8f4}
.map iframe{width:100%;height:100%;border:0;display:block}
.contact-form{background:#fff;border-radius:28px;padding:clamp(1.5rem,4vw,2.5rem);box-shadow:0 30px 60px -35px rgba(11,36,99,.55);display:grid;gap:1.1rem}
.contact-form h3{font-size:1.7rem}
.row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
label{display:block;font-weight:700;font-size:.98rem}
label input,label select,label textarea{margin-top:.4rem;display:block}
label small{font-weight:400;color:var(--navy-soft)}
input,select,textarea{font:inherit;font-weight:400;color:var(--navy);background:#F5F8FD;border:2px solid #D3DEEF;border-radius:14px;padding:.8rem 1rem;width:100%;transition:border-color .15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--royal);background:#fff}
textarea{resize:vertical;min-height:130px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.field-error{border-color:var(--red)!important}
.form-status{min-height:1.4em;font-weight:700}
.form-status.ok{color:var(--royal)}
.form-status.err{color:var(--red-deep)}
button[disabled]{opacity:.65;cursor:wait}

/* footer */
.site-footer{background:var(--navy);color:#fff;padding:3rem 0 2.2rem}
.footer-inner{display:grid;gap:1rem;justify-items:start}
.site-footer .brand-logo{height:96px;background:#fff;border-radius:16px;padding:6px}
.site-footer p{opacity:.88}
.fine{font-size:.9rem;opacity:.7!important}

/* track draw — the one orchestrated moment */
@media (prefers-reduced-motion:no-preference){
  .track path{stroke-dasharray:var(--len,3000);stroke-dashoffset:var(--len,3000);animation:draw 1.8s .2s cubic-bezier(.6,.05,.25,1) forwards}
  .pebble{animation:pop .7s cubic-bezier(.2,.8,.3,1.2) both}
  .p1{animation-delay:.35s}.p2{animation-delay:.6s}.p3{animation-delay:.85s}
}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes pop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}

/* responsive */
@media (max-width:900px){
  .menu-btn{display:flex}
  .header-inner{height:76px}
  .brand-logo{height:64px}
  html{scroll-padding-top:80px}
  .nav{position:fixed;inset:76px 0 auto 0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:.5rem 1.25rem 1.5rem;box-shadow:0 20px 30px -20px rgba(11,36,99,.35);transform:translateY(-8px);opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease,visibility .2s}
  .nav.open{transform:none;opacity:1;visibility:visible}
  .nav a:not(.btn){padding:1rem 0;border-bottom:1px solid #E1E8F3}
  .nav .btn{margin-top:1rem}
  .hero-grid,.about-grid,.program-grid,.contact-grid{grid-template-columns:1fr}
  .program-grid.flip .program-copy{order:0}
  .hero-photos{justify-self:center;max-width:460px}
  .track{top:auto;height:50%}
  .track path{stroke-width:16}
  .mosaic{grid-template-columns:1fr 1fr;grid-template-rows:240px 170px 170px}
  .m1{grid-column:1/3;grid-row:1/2;border-radius:120px 24px 24px 24px!important}
  .m2,.m4{grid-column:1/2} .m3,.m5{grid-column:2/3}
  .m2,.m3{grid-row:2} .m4,.m5{grid-row:3}
}
@media (max-width:560px){
  .row{grid-template-columns:1fr}
  .who-inner{justify-content:center;text-align:center}
}

/* ===== multi-page additions ===== */
.nav a.active:not(.btn)::after{transform:scaleX(1)}
.c-navy{background:var(--navy);color:#fff}

/* inner page hero */
.page-hero{position:relative;background:var(--sky);overflow:hidden;padding:clamp(3rem,7vw,5.5rem) 0 clamp(3.5rem,7vw,6rem)}
.page-hero-grid{position:relative;display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center}
.page-hero h1{font-size:clamp(2.6rem,6vw,4.9rem);font-weight:800;letter-spacing:-.03em;max-width:15ch}
.page-hero-img{aspect-ratio:1/1;max-width:440px;justify-self:end;width:100%;overflow:hidden;border:6px solid #fff;border-radius:58% 42% 55% 45% / 48% 55% 45% 52%;box-shadow:0 18px 40px -18px rgba(11,36,99,.5)}
.page-hero-img img{width:100%;height:100%;object-fit:cover}

/* prose body */
.page-body{padding:clamp(3.5rem,8vw,6rem) 0}
.prose{max-width:820px}
.prose p{font-size:1.18rem;margin-bottom:1.3rem;color:var(--navy-soft)}
.prose p.big{font-family:var(--display);font-weight:500;font-size:clamp(1.4rem,2.5vw,1.95rem);line-height:1.32;color:var(--navy)}
.prose p a{font-weight:700;color:var(--royal)}
.prose h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:2.4rem 0 1.2rem}
.prose .hero-actions{margin-top:1.6rem}
.why{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:0 0 2rem}
.why-card{border-radius:24px;padding:1.6rem;font-size:1.08rem;line-height:1.5}
.why-card strong{display:block;font-family:var(--display);font-size:1.3rem;margin-bottom:.5rem}
.signature{margin-top:2.2rem;padding-left:1.2rem;border-left:6px solid var(--red)}
.signature strong{display:block;font-family:var(--display);font-size:1.35rem}
.signature em{color:var(--navy-soft)}
.duo{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:2.5rem}
.duo figure{aspect-ratio:4/5;border-radius:24px;overflow:hidden}
.duo figure:nth-child(2){border-radius:200px 200px 24px 24px}
.duo img{width:100%;height:100%;object-fit:cover}

/* social + contact extras */
.social{padding:clamp(3rem,6vw,4.5rem) 0;text-align:center}
.social-inner{display:grid;justify-items:center;gap:1.4rem}
.social h2{font-size:clamp(1.8rem,3.5vw,2.6rem)}
.org-label{font-size:1.15rem;margin-bottom:.3rem}
.directions{margin-top:1rem}
.footer-nav{display:flex;flex-wrap:wrap;gap:1.4rem}
.footer-nav a{text-decoration:none;font-weight:700;opacity:.9}
.footer-nav a:hover{text-decoration:underline}
.social-link{display:inline-flex;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--navy);align-items:center;justify-content:center}
.social-link:hover{background:var(--red);color:#fff}
.btn svg{flex:none}

@media (max-width:900px){
  .page-hero-grid{grid-template-columns:1fr}
  .page-hero-img{justify-self:center;max-width:340px}
  .why{grid-template-columns:1fr}
  .duo{grid-template-columns:1fr 1fr}
  .duo figure:nth-child(3){display:none}
}

/* Donate button (royal blue, same in header and footer) */
.btn-blue{background:var(--royal);color:#fff}
.btn-blue:hover{background:#0E3E8F}
.site-footer .btn-blue{box-shadow:0 0 0 2px rgba(255,255,255,.35)}

/* Phone + WhatsApp/Text icons */
.tel-link{display:inline-flex;align-items:center;gap:.45rem}
.msg-links{display:inline-flex;align-items:center;gap:.55rem;margin-left:.7rem;vertical-align:middle}
.msg-links a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;text-decoration:none;border:0;background:#fff;color:var(--royal);box-shadow:0 2px 8px -3px rgba(11,36,99,.4);transition:transform .15s}
.msg-links a:hover{transform:translateY(-2px)}
.msg-links svg{width:17px;height:17px}

/* Footer contact list with icons */
.footer-contact{list-style:none;display:grid;gap:.55rem;opacity:.95}
.footer-contact li{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.footer-contact a{text-decoration:none;display:inline-flex;align-items:center;gap:.55rem}
.footer-contact a:hover{text-decoration:underline}
.footer-contact .msg-links a:hover{text-decoration:none}
.footer-contact .ico{color:#9DB8E8;flex:none}
@media (max-width:900px){ .nav .donate-btn{margin-top:.6rem} }
