/* ==========================================================================
   Star Child Care Foundation — home page
   Palette: spruce green (institutional), kente gold (accent), sand, clay.
   Type:    Bricolage Grotesque (display) + Source Serif 4 (reading).
   Motif:   woven strips — the page is built from vertical bands, like kente.
   ========================================================================== */

:root{
  --ink:#0B2B22;
  --ink-2:#123B2F;
  --ink-deep:#07201A;
  --gold:#E0A014;
  --gold-dk:#A97406;
  --clay:#9E3218;
  --paper:#fff;
  --sand:#F2EDE3;
  --rule:#DFD9CC;
  --rule-dk:rgba(255,255,255,.16);
  --body:#3E4A44;
  --body-light:#C6D3CC;

  --wrap:1240px;
  --gut:clamp(20px,4vw,48px);
  --sp:clamp(72px,9vw,132px);

  --d:"Bricolage Grotesque","Segoe UI",sans-serif;
  --s:"Source Serif 4",Georgia,serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--paper);
  color:var(--body);
  font-family:var(--s);
  font-size:1.0625rem;
  line-height:1.72;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4{font-family:var(--d);color:var(--ink);margin:0;font-weight:600;letter-spacing:-.015em;line-height:1.1}
p{margin:0 0 1.1em}
a{color:inherit}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.skip{position:absolute;left:-999px;top:0;z-index:99;background:var(--gold);color:var(--ink);
  padding:10px 18px;font-family:var(--d);font-weight:600}
.skip:focus{left:8px;top:8px}

:where(a,button,input):focus-visible{outline:3px solid var(--gold);outline-offset:3px}

/* ---------- the woven divider: the one decorative motif, used sparingly --- */
.warp{
  height:9px;
  background:repeating-linear-gradient(90deg,
    var(--gold) 0 18px, var(--ink) 18px 26px, var(--clay) 26px 33px,
    var(--ink) 33px 41px, var(--gold) 41px 47px, var(--ink-2) 47px 62px);
}
.warp--foot{margin-top:clamp(48px,6vw,72px)}

/* ---------- buttons ------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--d);font-weight:600;font-size:.95rem;letter-spacing:.005em;
  padding:12px 22px;text-decoration:none;border:1.5px solid transparent;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.btn--gold{background:var(--gold);color:var(--ink);border-color:var(--gold)}
.btn--gold:hover{background:var(--gold-dk);border-color:var(--gold-dk);color:#fff}
.btn--line{border-color:var(--ink);color:var(--ink)}
.btn--line:hover{background:var(--ink);color:#fff}
.btn--lg{padding:16px 30px;font-size:1.02rem}
.btn--full{width:100%;margin-top:auto}

.lnk{
  font-family:var(--d);font-weight:600;font-size:.98rem;color:var(--ink);
  text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:2px;
}
.lnk:hover{border-bottom-color:var(--ink)}
.lnk--light{color:#fff;border-bottom-color:var(--gold)}
.lnk--light:hover{border-bottom-color:#fff}

/* ---------- brand mark --------------------------------------------------- */
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;flex:0 0 auto}
.brand__mark{width:42px;height:42px;flex:0 0 auto}
.m-ring{fill:var(--ink)}
.m-star{fill:var(--gold)}
.m-eye{fill:var(--ink)}
.brand__txt{display:flex;flex-direction:column;line-height:1.12}
.brand__name{font-family:var(--d);font-weight:700;font-size:1.22rem;color:var(--ink);letter-spacing:-.02em}
.brand__sub{font-family:var(--d);font-weight:500;font-size:.72rem;color:#6C7A73;letter-spacing:.02em}

/* ---------- header ------------------------------------------------------- */
.head{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid transparent}
.head.is-stuck{border-bottom-color:var(--rule);box-shadow:0 1px 0 rgba(11,43,34,.04)}
.head__inner{
  width:100%;max-width:var(--wrap);margin-inline:auto;padding:16px var(--gut);
  display:flex;align-items:center;gap:28px;
}
.nav{display:flex;gap:30px;margin-left:auto}
.nav a{
  font-family:var(--d);font-weight:500;font-size:.97rem;color:var(--ink);
  text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;
}
.nav a:hover{border-bottom-color:var(--gold)}
.head__act{display:flex;align-items:center;gap:12px}
.burger{display:none;width:44px;height:40px;background:none;border:1.5px solid var(--ink);
  flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}
.burger span{display:block;width:20px;height:1.5px;background:var(--ink)}
.mnav{display:none;flex-direction:column;border-top:1px solid var(--rule);background:var(--paper)}
.mnav.is-open{display:flex}
.mnav a{font-family:var(--d);font-weight:500;text-decoration:none;color:var(--ink);
  padding:14px var(--gut);border-bottom:1px solid var(--rule)}

/* ---------- hero --------------------------------------------------------- */
.hero{padding-top:clamp(36px,5vw,64px);padding-bottom:clamp(40px,5vw,72px);overflow:hidden}
.hero__grid{
  width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut);
  display:grid;grid-template-columns:minmax(0,1.06fr) .58fr .44fr;
  gap:clamp(20px,2.6vw,40px);align-items:start;
}
.hero__kicker{
  font-family:var(--d);font-weight:600;font-size:.88rem;color:#6C7A73;margin:0 0 20px;
  padding-left:16px;border-left:3px solid var(--gold);
}
.hero__h1{
  font-size:clamp(2.9rem,6.1vw,5.1rem);font-weight:700;line-height:.99;letter-spacing:-.035em;
  margin:0 0 26px;
}
.hero__h1 em{font-style:normal}
.hero__lead{max-width:52ch;font-size:1.13rem;line-height:1.66;color:var(--body);margin-bottom:30px}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:44px}
.hero__facts{display:flex;flex-wrap:wrap;gap:0;margin:0;border-top:1px solid var(--rule)}
.hero__facts>div{padding:18px 26px 4px 0;margin-right:26px;border-right:1px solid var(--rule)}
.hero__facts>div:last-child{border-right:0}
.hero__facts dt{font-family:var(--d);font-size:.78rem;font-weight:500;color:#6C7A73;margin-bottom:2px}
.hero__facts dd{margin:0;font-family:var(--d);font-weight:700;font-size:1.65rem;color:var(--ink);letter-spacing:-.02em}

.hero__strip{margin:0;position:relative}
.hero__strip img{width:100%;height:100%;object-fit:cover}
.hero__strip--a{height:clamp(420px,52vw,640px);border-top:5px solid var(--gold)}
.hero__strip--b{height:clamp(330px,40vw,500px);margin-top:clamp(52px,7vw,104px);border-top:5px solid var(--ink)}
.hero__strip--b figcaption{
  font-family:var(--d);font-size:.76rem;color:#6C7A73;padding-top:10px;line-height:1.4;
}

/* ---------- why ---------------------------------------------------------- */
.why{background:var(--sand);padding-block:var(--sp)}
.why__grid{
  display:grid;grid-template-columns:1.02fr 1fr;
  column-gap:clamp(28px,5vw,72px);row-gap:clamp(30px,4vw,54px);align-items:start;
}
.why__h,.why__side{grid-column:1}
.why__body{grid-column:2;grid-row:1/3}
.why__h{font-size:clamp(1.7rem,2.9vw,2.5rem);font-weight:600;line-height:1.14;letter-spacing:-.025em;text-wrap:balance}
.why__body p{max-width:56ch}
.why__body p:last-child{margin-bottom:0}
.why__sig{
  margin:0;padding-left:20px;border-left:3px solid var(--gold);
  font-size:1rem;color:var(--ink-2);max-width:44ch;
}
.why__sig strong{font-weight:600}

/* ---------- section heads ------------------------------------------------ */
.sec__h{font-size:clamp(1.7rem,3vw,2.55rem);font-weight:600;letter-spacing:-.028em;margin-bottom:16px}
.sec__lead{max-width:62ch;font-size:1.08rem;color:var(--body)}
.sec__h--light{color:#fff}
.sec__lead--light{color:var(--body-light)}

/* ---------- programmes: the woven strips --------------------------------- */
.work{padding-block:var(--sp)}
.work__head{margin-bottom:clamp(36px,4.5vw,60px)}
.work__head .sec__h{max-width:16ch}
.strips{
  width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut);
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
}
.strip{display:flex;flex-direction:column;padding:0;
  border-top:2px solid var(--ink);border-left:1px solid var(--rule)}
.strip:first-child{border-left:0}
.strip__img{overflow:hidden;aspect-ratio:4/5;margin:0}
.strip__img img{width:100%;height:100%;object-fit:cover}
.strip__txt{padding:24px clamp(16px,1.6vw,26px) 34px}
.strip:first-child .strip__txt{padding-left:0}
.strip:last-child .strip__txt{padding-right:0}
.strip h3{font-size:1.24rem;font-weight:600;margin-bottom:12px;line-height:1.2}
.strip p{font-size:1rem;line-height:1.62}
.tick{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--rule)}
.tick li{
  font-family:var(--d);font-size:.86rem;font-weight:500;color:var(--ink-2);
  padding:9px 0 9px 20px;border-bottom:1px solid var(--rule);position:relative;
}
.tick li::before{
  content:"";position:absolute;left:0;top:16px;width:9px;height:9px;background:var(--gold);
}

/* ---------- impact band -------------------------------------------------- */
.impact{background:var(--ink);color:#fff;padding-block:clamp(60px,7vw,96px)}
.impact__h{color:#fff;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:600;margin-bottom:36px}
.fig{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rule-dk)}
.fig__i{padding:30px 26px 30px 0;border-right:1px solid var(--rule-dk)}
.fig__i:last-child{border-right:0}
.fig__n{
  display:block;font-family:var(--d);font-weight:700;font-size:clamp(2.6rem,4.4vw,3.6rem);
  color:var(--gold);letter-spacing:-.04em;line-height:1;margin-bottom:12px;
}
.fig__l{display:block;font-size:.99rem;color:var(--body-light);line-height:1.5;max-width:26ch}
.impact__note{
  margin:34px 0 0;font-size:.95rem;color:#93A79E;max-width:76ch;
}
.impact__note a{color:var(--gold);text-decoration:none;border-bottom:1px solid rgba(224,160,20,.45);margin-left:6px}
.impact__note a:hover{border-bottom-color:var(--gold)}

/* ---------- story -------------------------------------------------------- */
.story{display:grid;grid-template-columns:.86fr 1.14fr;align-items:stretch;background:var(--sand)}
.story__img{margin:0;position:relative;min-height:clamp(420px,44vw,580px)}
.story__img img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 15%}
.story__txt{
  padding:clamp(48px,6vw,92px) clamp(28px,5vw,84px);
  display:flex;flex-direction:column;justify-content:center;max-width:820px;
}
.story__eyebrow{font-family:var(--d);font-weight:600;font-size:.9rem;color:var(--gold-dk);margin-bottom:22px}
.story blockquote{margin:0 0 26px;padding:0;border-left:4px solid var(--gold);padding-left:26px}
.story blockquote p{
  font-size:clamp(1.3rem,2.3vw,1.85rem);line-height:1.38;color:var(--ink);
  font-weight:400;margin:0;
}
.story__after{max-width:52ch;margin-bottom:26px}
.story .lnk{align-self:flex-start}

/* ---------- where we work ------------------------------------------------ */
.places{padding-block:var(--sp)}
.places__grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(32px,5vw,72px);align-items:center}
.regions{list-style:none;margin:28px 0 0;padding:0;border-top:2px solid var(--ink)}
.regions li{
  display:flex;justify-content:space-between;gap:16px;padding:14px 0;
  border-bottom:1px solid var(--rule);font-family:var(--d);
}
.regions li span:first-child{font-weight:600;color:var(--ink);font-size:1.02rem}
.regions li span:last-child{font-size:.92rem;color:#6C7A73}
.places__img{margin:0}
.places__img img{width:100%;aspect-ratio:21/10;object-fit:cover;border-top:5px solid var(--gold)}
.places__img figcaption{font-family:var(--d);font-size:.79rem;color:#6C7A73;padding-top:10px}

/* ---------- giving ------------------------------------------------------- */
.give{background:var(--sand);padding-block:var(--sp)}
.give__head{max-width:720px;margin-bottom:clamp(34px,4vw,54px)}
.give__h{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:600;letter-spacing:-.028em;margin-bottom:16px}
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.8vw,24px)}
.tier{
  display:flex;flex-direction:column;background:var(--paper);
  padding:clamp(26px,2.6vw,36px);border-top:5px solid var(--ink);position:relative;
}
.tier--lead{background:var(--ink);border-top-color:var(--gold)}
.tier--lead h3,.tier--lead .tier__amt{color:#fff}
.tier--lead p{color:var(--body-light)}
.tier__badge{
  position:absolute;top:0;right:0;
  font-family:var(--d);font-weight:600;font-size:.75rem;color:var(--ink);
  background:var(--gold);padding:5px 12px;margin:0;
}
.tier__amt{font-family:var(--d);font-weight:700;font-size:1.85rem;color:var(--ink);letter-spacing:-.03em;margin:0 0 8px}
.tier__amt span{font-weight:500;font-size:1rem;color:#7C8A83}
.tier--lead .tier__amt span{color:#93A79E}
.tier h3{font-size:1.16rem;font-weight:600;margin-bottom:10px}
.tier p{font-size:.99rem;line-height:1.6;margin-bottom:24px}
.tier--lead .btn--gold:hover{background:#fff;border-color:#fff;color:var(--ink)}

/* ---------- get involved ------------------------------------------------- */
.involved{background:var(--ink-2);color:#fff;padding-block:clamp(64px,7.5vw,104px)}
.involved__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(32px,5vw,72px)}
.ways{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid var(--rule-dk)}
.ways li{padding:26px 0;border-bottom:1px solid var(--rule-dk)}
.ways h3{color:#fff;font-size:1.18rem;font-weight:600;margin-bottom:8px}
.ways p{color:var(--body-light);max-width:58ch;margin-bottom:12px;font-size:1rem}

/* ---------- footer ------------------------------------------------------- */
.foot{background:var(--ink-deep);color:var(--body-light);padding-top:clamp(56px,6.5vw,88px)}
.foot__grid{
  display:grid;grid-template-columns:1.1fr 1fr 1fr 1.25fr;gap:clamp(24px,2.8vw,40px);
  align-items:start;
}
.foot h4{color:#fff;font-size:.95rem;font-weight:600;margin-bottom:14px}
.foot p{font-size:.95rem;line-height:1.65;margin-bottom:12px}
.foot a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.28)}
.foot a:hover{border-bottom-color:var(--gold)}
.brand__mark--foot{width:46px;height:46px;margin-bottom:16px}
.brand__mark--foot .m-ring{fill:#12332A}
.foot__blurb{max-width:34ch}
.foot__reg{font-size:.82rem;color:#8FA49B;line-height:1.55}
.foot__row{display:flex;gap:8px}
.foot__row input{
  flex:1 1 auto;min-width:0;background:transparent;border:1px solid rgba(255,255,255,.3);
  color:#fff;padding:12px 14px;font-family:var(--s);font-size:.95rem;
}
.foot__row input::placeholder{color:#6F827A}
.foot__small{font-size:.8rem;color:#8FA49B;margin:12px 0 0}
.brand__mark--foot .m-ring{fill:#153C31}
.foot__base{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;
  padding-block:22px;font-size:.85rem;
}
.foot__base p{margin:0}
.foot__links a{margin-left:22px}
.foot__links a:first-child{margin-left:0}

/* ---------- one orchestrated entrance, hero only ------------------------- */
@media (prefers-reduced-motion:no-preference){
  .hero__kicker,.hero__h1,.hero__lead,.hero__cta,.hero__facts{
    opacity:0;transform:translateY(14px);animation:rise .72s cubic-bezier(.2,.7,.3,1) forwards;
  }
  .hero__h1{animation-delay:.07s}
  .hero__lead{animation-delay:.14s}
  .hero__cta{animation-delay:.21s}
  .hero__facts{animation-delay:.28s}
  .hero__strip{clip-path:inset(0 0 100% 0);animation:unveil .9s cubic-bezier(.2,.7,.3,1) .12s forwards}
  .hero__strip--b{animation-delay:.28s}
}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes unveil{to{clip-path:inset(0 0 0 0)}}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1080px){
  .hero__grid{grid-template-columns:minmax(0,1.1fr) .9fr}
  .hero__strip--b{display:none}
  .strips{grid-template-columns:repeat(2,1fr)}
  .strip:nth-child(odd){border-left:0}
  .strip:nth-child(3) .strip__txt{padding-left:0}
  .strip:nth-child(2) .strip__txt{padding-right:0}
  .strip:nth-child(4) .strip__txt{padding-right:0}
  .fig{grid-template-columns:repeat(2,1fr)}
  .fig__i:nth-child(2n){border-right:0;padding-right:0}
  .fig__i:nth-child(-n+2){border-bottom:1px solid var(--rule-dk)}
  .foot__grid{grid-template-columns:1fr 1fr}
}

@media (max-width:880px){
  .nav{display:none}
  .burger{display:flex}
  .why__grid,.places__grid,.involved__grid{grid-template-columns:1fr}
  .why__h,.why__side,.why__body{grid-column:1}
  .why__body{grid-row:auto}
  .why__side{order:3}
  .story{grid-template-columns:1fr}
  .story__img{aspect-ratio:4/3;min-height:0}
  .story__img img{object-position:center 12%}
  .tiers{grid-template-columns:1fr}
  .tier{border-top-width:4px}
}

@media (max-width:520px){
  .head__inner{gap:10px}
  .brand__mark{width:34px;height:34px}
  .brand__name{font-size:1.04rem}
  .brand__sub{display:none}
  .head .btn{padding:10px 15px;font-size:.88rem}
  .burger{width:40px;height:38px}
}

@media (max-width:720px){
  .hero__grid{grid-template-columns:1fr;gap:34px}
  .hero__strip--a{height:min(74vw,420px)}
  .hero__h1{font-size:clamp(2.5rem,10.5vw,3.4rem)}
  .hero__facts>div{padding-right:18px;margin-right:18px}
  .hero__facts dd{font-size:1.35rem}
  .strips{grid-template-columns:1fr}
  .strip{border-left:0}
  .strip__txt{padding-inline:0}
  .strip__img{aspect-ratio:16/10}
  .fig{grid-template-columns:1fr}
  .fig__i{padding-right:0;border-right:0;border-bottom:1px solid var(--rule-dk)}
  .fig__i:last-child{border-bottom:0}
  .foot__grid{grid-template-columns:1fr}
  .foot__row{flex-direction:column}
  .foot__row .btn{justify-content:center}
}

/* long contact addresses must not overflow their column */
.foot__col a,.foot__col p{overflow-wrap:anywhere}
