:root{
  /* Brand palette (from the logo): primary blue, amber accent, alert red */
  --brand:#0168bc;
  --brand-deep:#014e8f;
  --brand-tint:#e8f1fa;
  --accent:#fdc536;
  --alert:#fd252a;

  /* Legacy aliases kept so existing rules don't churn — same colours,
     historic names. New rules should prefer --brand / --accent / --alert. */
  --green:var(--brand);
  --green-2:var(--brand-deep);
  --amber:var(--accent);
  --clay:var(--alert);

  --cream:#f6f1e4;
  --cream-2:#efe7d3;
  --ink:#13181f;
  --muted:#5b5a4f;
  --line:rgba(19,24,31,.14);
  --maxw:1240px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Hanken Grotesk',sans-serif;
  background:var(--cream);color:var(--ink);
  -webkit-font-smoothing:antialiased;line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Fraunces',serif;font-weight:600;line-height:1.06;letter-spacing:-.015em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px}
.wrap-narrow{max-width:680px}
.eyebrow{
  font-family:'Hanken Grotesk',sans-serif;font-weight:700;
  font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:10px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--amber);display:inline-block}

/* ---------- HEADER ---------- */
header.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(246,241,228,.86);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:78px}
.brand{display:flex;align-items:center;gap:12px;font-family:'Fraunces',serif;font-weight:600;font-size:1.05rem}
.brand .mark{
  width:42px;height:42px;border-radius:50%;
  background:var(--green);color:var(--cream);
  display:grid;place-items:center;font-size:1.05rem;font-weight:700;
  flex-shrink:0;
}
.brand small{display:block;font-family:'Hanken Grotesk';font-weight:500;font-size:.66rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.brand-logo{height:46px;width:auto;display:block}
.brand-logo-light{
  display:inline-block;background:var(--cream);padding:10px 14px;border-radius:12px;
  box-shadow:0 8px 22px -16px rgba(0,0,0,.5);
}
.brand-logo-light img{height:48px;width:auto;display:block}
@media(max-width:680px){
  .brand-logo{height:36px}
  .brand-logo-light img{height:38px}
}
.menu{display:flex;gap:34px;list-style:none;font-weight:500;font-size:.92rem}
.menu a{padding:6px 0;position:relative;transition:color .2s}
.menu a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;
  background:var(--amber);transition:width .25s}
.menu a:hover{color:var(--green-2)}
.menu a:hover::after,.menu a.is-active::after{width:100%}
.nav-cta{display:flex;align-items:center;gap:18px}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:600;font-size:.9rem;padding:13px 24px;border-radius:100px;
  transition:transform .18s,box-shadow .2s,background .2s;
  cursor:pointer;border:0;font-family:inherit;
}
.btn-amber{background:var(--amber);color:var(--green)}
.btn-amber:hover{transform:translateY(-2px);box-shadow:0 10px 22px -10px rgba(232,154,44,.8)}
.btn-green{background:var(--green);color:var(--cream)}
.btn-green:hover{transform:translateY(-2px);box-shadow:0 12px 26px -12px rgba(23,61,46,.7)}
.btn-ghost{border:1.5px solid var(--ink);color:var(--ink);background:transparent}
.btn-ghost:hover{background:var(--ink);color:var(--cream)}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:0;padding:8px;border-radius:8px;transition:background .15s}
.burger:hover{background:rgba(19,24,31,.06)}
.burger span{width:24px;height:2px;background:var(--ink);transition:transform .25s,opacity .2s}
.burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.menu-cta-mobile{display:none}

/* ---------- HERO ---------- */
.hero{
  position:relative;padding:78px 0 96px;
  background:
    radial-gradient(900px 480px at 88% -8%,rgba(232,154,44,.22),transparent 60%),
    radial-gradient(700px 600px at -6% 100%,rgba(31,83,64,.16),transparent 55%);
  overflow:hidden;
}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(2.9rem,5.6vw,4.6rem)}
.hero h1 em{font-style:italic;color:var(--clay)}
.hero h1 .ul{
  background:linear-gradient(transparent 64%,rgba(232,154,44,.5) 64%);
}
.hero p.lead{font-size:1.12rem;color:var(--muted);max-width:30rem;margin:24px 0 32px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-tags{display:flex;gap:10px;margin-top:34px;flex-wrap:wrap}
.tag{
  font-size:.78rem;font-weight:600;padding:7px 14px;border-radius:100px;
  border:1px solid var(--line);background:rgba(255,255,255,.5);
}
.tag b{color:var(--clay)}
.hero-visual{position:relative}
.hero-photo{
  border-radius:26px 26px 90px 26px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 40px 70px -40px rgba(23,61,46,.5);
  aspect-ratio:4/4.4;background:var(--green-2);
}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-badge{
  position:absolute;left:-26px;bottom:38px;
  background:var(--green);color:var(--cream);
  padding:20px 24px;border-radius:20px;width:206px;
  box-shadow:0 24px 40px -22px rgba(23,61,46,.8);
}
.hero-badge .n{font-family:'Fraunces';font-size:2.6rem;font-weight:600;line-height:1;color:var(--amber)}
.hero-badge p{font-size:.82rem;margin-top:6px;color:rgba(246,241,228,.82)}
.hero-dots{
  position:absolute;top:-14px;right:-10px;width:104px;height:104px;
  background-image:radial-gradient(var(--amber) 2px,transparent 2.2px);
  background-size:16px 16px;opacity:.6;z-index:-1;
}

/* ---------- MARQUEE STATS ---------- */
.stripe{background:var(--green);color:var(--cream);padding:46px 0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.stat .n{font-family:'Fraunces';font-size:clamp(2.2rem,3.4vw,3rem);color:var(--amber);font-weight:600}
.stat p{font-size:.86rem;color:rgba(246,241,228,.78);margin-top:4px;letter-spacing:.02em}
.stat{position:relative}
.stat:not(:last-child)::after{content:"";position:absolute;right:-15px;top:14%;height:72%;
  width:1px;background:rgba(246,241,228,.18)}

/* ---------- SECTION SHELL ---------- */
section.pad{padding:104px 0}
.sec-head{max-width:42rem;margin-bottom:52px}
.sec-head h2{font-size:clamp(2.1rem,3.6vw,3rem);margin-top:16px}
.sec-head p{color:var(--muted);margin-top:14px;font-size:1.04rem}

/* ---------- PROGRAMS ---------- */
.prog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.prog{
  background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;transition:transform .22s,box-shadow .22s;
}
.prog:hover{transform:translateY(-6px);box-shadow:0 30px 50px -34px rgba(23,61,46,.55)}
.prog-img{aspect-ratio:16/10;overflow:hidden;background:var(--cream-2);position:relative}
.prog-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.prog:hover .prog-img img{transform:scale(1.06)}
.prog-num{
  position:absolute;top:14px;left:14px;background:var(--cream);
  font-family:'Fraunces';font-weight:600;font-size:.9rem;
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
}
.prog-body{padding:26px 24px 28px;display:flex;flex-direction:column;flex:1}
.prog-body h3{font-size:1.34rem;margin-bottom:10px}
.prog-body p{color:var(--muted);font-size:.95rem;flex:1}
.prog-link{
  margin-top:18px;font-weight:600;font-size:.9rem;color:var(--green-2);
  display:inline-flex;align-items:center;gap:7px;
}
.prog-link span{transition:transform .2s}
.prog:hover .prog-link span{transform:translateX(5px)}

/* ---------- ABOUT (split) ---------- */
.about{background:var(--cream-2)}
.about-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:60px;align-items:center}
.about-visual{position:relative}
.about-visual .frame{
  border-radius:24px;overflow:hidden;border:1px solid var(--line);
  aspect-ratio:5/5.6;box-shadow:0 36px 60px -42px rgba(23,61,46,.55);
}
.about-visual .frame img{width:100%;height:100%;object-fit:cover}
.about-visual .est{
  position:absolute;right:-22px;top:-22px;background:var(--clay);color:var(--cream);
  font-family:'Fraunces';font-weight:600;text-align:center;
  width:118px;height:118px;border-radius:50%;display:grid;place-content:center;
  box-shadow:0 18px 30px -16px rgba(196,80,44,.8);
}
.about-visual .est b{font-size:1.9rem;line-height:1}
.about-visual .est small{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase}
.about-text h2{font-size:clamp(2rem,3.4vw,2.8rem);margin:16px 0 18px}
.about-text p{color:var(--muted);margin-bottom:16px}
.vm-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
.vm{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 22px}
.vm .ic{font-size:1.3rem}
.vm h4{font-size:1.05rem;margin:10px 0 6px;font-family:'Hanken Grotesk';font-weight:700;letter-spacing:0}
.vm p{font-size:.9rem;margin:0;color:var(--muted)}
.values{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.values span{
  background:var(--green);color:var(--cream);font-weight:600;font-size:.84rem;
  padding:8px 16px;border-radius:100px;
}

/* ---------- NEWS ---------- */
.news-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px}
.news{
  border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#fff;
  display:flex;flex-direction:column;transition:transform .2s;
}
.news:hover{transform:translateY(-5px)}
.news.feature{grid-row:span 2;flex-direction:column}
.news-img{position:relative;overflow:hidden;background:var(--cream-2)}
.news-img img{width:100%;height:100%;object-fit:cover}
.news:not(.feature) .news-img{aspect-ratio:16/9}
.news.feature .news-img{aspect-ratio:16/12}
.news-date{
  position:absolute;top:12px;left:12px;background:var(--cream);
  text-align:center;border-radius:10px;padding:7px 11px;line-height:1;
}
.news-date b{font-family:'Fraunces';font-size:1.15rem;display:block}
.news-date small{font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.news-body{padding:20px 20px 22px;flex:1;display:flex;flex-direction:column}
.news-cat{font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--clay)}
.news-body h3{font-size:1.1rem;margin:8px 0;font-weight:600}
.news.feature .news-body h3{font-size:1.6rem}
.news-body p{font-size:.9rem;color:var(--muted);flex:1}
.news-more{margin-top:14px;font-weight:600;font-size:.86rem;color:var(--green-2)}

/* ---------- PARTNERS ---------- */
.partners{background:var(--green);color:var(--cream)}
.partners .sec-head h2{color:var(--cream)}
.partners .eyebrow{color:var(--amber)}
.logos{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:10px}
.logo-chip{
  background:var(--cream);border:1px solid rgba(246,241,228,.18);
  border-radius:14px;aspect-ratio:5/3;display:grid;place-items:center;
  padding:14px;font-weight:600;font-size:.86rem;text-align:center;
  color:var(--brand);transition:transform .2s,box-shadow .2s;
}
.logo-chip:hover{transform:translateY(-3px);box-shadow:0 14px 28px -16px rgba(0,0,0,.4)}
.logo-chip img{
  max-width:100%;max-height:80%;width:auto;height:auto;
  object-fit:contain;display:block;
}

/* ---------- CTA BAND ---------- */
.cta{
  margin:0 auto;
  background:
    radial-gradient(600px 300px at 85% 20%,rgba(232,154,44,.3),transparent 60%),
    var(--clay);
  color:var(--cream);border-radius:30px;padding:66px 56px;
  display:grid;grid-template-columns:1.4fr .6fr;gap:40px;align-items:center;
}
.cta h2{font-size:clamp(2rem,3.4vw,2.9rem);color:var(--cream)}
.cta p{margin-top:14px;color:rgba(246,241,228,.85);max-width:34rem}
.cta-actions{display:flex;flex-direction:column;gap:12px}
.cta .btn-amber{justify-content:center}
.cta .btn-light{background:var(--cream);color:var(--clay);justify-content:center}
.cta .btn-light:hover{transform:translateY(-2px)}

/* ---------- FOOTER ---------- */
footer.site-footer{background:var(--green);color:rgba(246,241,228,.74);padding:74px 0 32px;margin-top:104px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:42px}
.site-footer h4{color:var(--cream);font-family:'Hanken Grotesk';font-weight:700;
  font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:18px}
.site-footer .brand{color:var(--cream);margin-bottom:16px}
.site-footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:.92rem}
.site-footer ul a:hover{color:var(--amber)}
.foot-about{font-size:.92rem;max-width:23rem}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(246,241,228,.22);
  display:grid;place-items:center;font-size:.8rem;font-weight:700;transition:.2s;
}
.socials a:hover{background:var(--amber);color:var(--green);border-color:var(--amber)}
.foot-contact p{font-size:.92rem;margin-bottom:10px}
.foot-bottom{
  border-top:1px solid rgba(246,241,228,.14);margin-top:48px;padding-top:24px;
  display:flex;justify-content:space-between;font-size:.82rem;flex-wrap:wrap;gap:10px;
}

/* ---------- FLASH ---------- */
.flash-rail{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:380px}
.flash{padding:14px 18px;border-radius:12px;font-size:.92rem;box-shadow:0 18px 36px -22px rgba(28,27,22,.45);background:#fff;border:1px solid var(--line)}
.flash.success{background:#e6f2ec;border-color:#9bc7af;color:#19432f}
.flash.error{background:#fbe5dd;border-color:#e3a48d;color:#73210d}
.flash.info{background:#fff3da;border-color:#e4b96b;color:#5d3a06}

/* ---------- FORMS ---------- */
.form{display:flex;flex-direction:column;gap:18px;max-width:620px}
.form label{font-weight:600;font-size:.86rem;color:var(--ink);display:block;margin-bottom:6px}
.form .field{display:flex;flex-direction:column}
.form input[type=text],.form input[type=email],.form input[type=tel],.form input[type=number],
.form input[type=password],.form textarea,.form select{
  font:inherit;padding:12px 14px;border-radius:10px;border:1px solid var(--line);
  background:#fff;color:var(--ink);outline:none;transition:border-color .15s;
}
.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--green-2)}
.form textarea{min-height:140px;resize:vertical}
.form .errors{color:#73210d;background:#fbe5dd;border:1px solid #e3a48d;padding:12px 14px;border-radius:10px;font-size:.9rem}
.form .errors ul{margin:0;padding-left:18px}

/* ---------- PROSE (article body) ---------- */
.prose{max-width:740px;margin:0 auto;font-size:1.04rem;line-height:1.72}
.prose h1,.prose h2,.prose h3{margin:2em 0 .6em}
.prose h2{font-size:1.8rem}.prose h3{font-size:1.4rem}
.prose p{margin:1em 0;color:var(--ink)}
.prose ul,.prose ol{margin:1em 0 1em 1.4em}
.prose img{border-radius:14px;margin:1.4em 0}
.prose blockquote{border-left:3px solid var(--amber);padding:6px 16px;margin:1.4em 0;color:var(--muted);font-style:italic}
.prose a{color:var(--green-2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* ---------- HEADER (page hero) ---------- */
.page-hero{padding:80px 0 60px;background:radial-gradient(700px 360px at 90% 0%,rgba(232,154,44,.16),transparent 60%)}
.page-hero h1{font-size:clamp(2.3rem,4.4vw,3.6rem);margin-top:14px}
.page-hero p{color:var(--muted);max-width:40rem;margin-top:14px;font-size:1.05rem}

/* ---------- TWO-COL LAYOUT (form + aside, list-of-three cards) ---------- */
.split-2{display:grid;grid-template-columns:1.1fr .9fr;gap:60px}
.news-grid-equal{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:980px){
  .split-2{grid-template-columns:1fr;gap:36px}
  .news-grid-equal{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .split-2{gap:28px}
  .news-grid-equal{grid-template-columns:1fr}
}

/* ---------- PAGINATION ---------- */
.pager{display:flex;gap:8px;margin-top:48px;justify-content:center;flex-wrap:wrap}
.pager a,.pager span{padding:9px 14px;border-radius:8px;border:1px solid var(--line);font-size:.88rem;font-weight:600;background:#fff;color:var(--ink)}
.pager .is-current{background:var(--green);color:var(--cream);border-color:var(--green)}

/* ---------- REVEAL ANIM ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  .hero-grid,.about-grid,.cta{grid-template-columns:1fr}
  .hero-visual{order:-1;max-width:440px}
  .prog-grid,.logos{grid-template-columns:1fr 1fr}
  .news-grid{grid-template-columns:1fr 1fr}
  .news.feature{grid-row:auto;grid-column:1/-1}
  .stats{grid-template-columns:1fr 1fr;gap:34px 20px}
  .stat::after{display:none}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .wrap{padding:0 20px}
  .nav-cta .btn-ghost,.nav-cta .btn-amber{display:none}
  .burger{display:flex}
  section.pad{padding:72px 0}
  .prog-grid,.logos,.news-grid,.vm-grid,.foot-grid{grid-template-columns:1fr}
  .cta{padding:44px 26px}
  .hero-badge{left:0}

  /* Mobile drawer */
  .menu{
    position:fixed;top:78px;left:0;right:0;
    background:rgba(246,241,228,.98);backdrop-filter:blur(14px);
    flex-direction:column;gap:0;padding:14px 0;
    box-shadow:0 18px 36px -22px rgba(0,0,0,.35);
    border-bottom:1px solid var(--line);
    transform:translateY(-12px);opacity:0;pointer-events:none;
    transition:transform .25s ease,opacity .25s ease;
    z-index:90;
  }
  .menu.is-open{transform:none;opacity:1;pointer-events:auto}
  .menu li{border-bottom:1px solid rgba(19,24,31,.06)}
  .menu li:last-child{border-bottom:0}
  .menu a{display:block;padding:14px 24px;font-size:1rem}
  .menu a::after{display:none}
  .menu-cta-mobile a{font-weight:700;color:var(--brand)}
  .menu-cta-mobile{display:block}
}
@media(max-width:480px){
  .wrap{padding:0 16px}
  .hero{padding:54px 0 70px}
  .hero h1{font-size:clamp(2.1rem,8vw,2.9rem)}
  .stripe{padding:34px 0}
  .stats{grid-template-columns:1fr 1fr;gap:24px 14px}
  .hero-badge{position:static;width:auto;margin-top:18px;display:inline-block}
  section.pad{padding:56px 0}
  .sec-head{margin-bottom:36px}
  .cta{padding:34px 22px;border-radius:22px}
  footer.site-footer{padding:54px 0 24px;margin-top:64px}
  .foot-bottom{flex-direction:column}
  .brand-logo{height:32px}
  .brand-logo-light img{height:34px}
  .brand-logo-light{padding:8px 12px}
}
