/* ==========================================================
   KHOKHO23 — Website styles
   Brand colours & fonts live in :root. Change them here only.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy: #363167;
  --navy-dark: #26224d;
  --stone: #C8C0B5;
  --taupe: #8E877F;
  --cream: #FFFCF5;
  --white: #FFFFFF;
  --ink: #2a2740;           /* body text: a softer navy */
  --line: #E7E1D8;

  --font-head: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;

  --max: 1180px;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: var(--navy);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.7rem; }
h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 .4em; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: .9em;
  display: flex; align-items: center; gap: .6em;
}
/* the little half-circle mark echoes the logo */
.eyebrow::before {
  content: ""; width: 14px; height: 7px;
  background: var(--navy);
  border-radius: 14px 14px 0 0;
}
.on-navy .eyebrow { color: var(--stone); }
.on-navy .eyebrow::before { background: var(--stone); }

.lead { font-size: 1.12rem; color: #4b4763; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 112px) 0; }
.bg-cream { background: var(--cream); }
.on-navy { background: var(--navy); color: #e9e6f3; }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--navy); color: var(--white);
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.on-navy .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.on-navy .btn:hover { background: var(--stone); border-color: var(--stone); }
.on-navy .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.on-navy .btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.nav-links .btn { padding: 10px 20px; color: var(--white); border-bottom: 2px solid var(--navy); }
.nav-links .btn:hover { color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .25s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: 0 20px 30px rgba(54,49,103,.08);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero (home) ---------- */
.hero { padding: 0; background: var(--navy); color: #e9e6f3; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 600px; }
.hero-copy { padding: clamp(56px, 8vw, 100px) var(--gutter) clamp(56px, 8vw, 100px) 0; position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--stone); }
.hero .lead { color: #d6d2e6; }
.hero-media { position: relative; }
.hero-media .hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 0 0 0 220px;
}
.hero-dots { position: absolute; left: -46px; bottom: 48px; width: 92px; z-index: 3; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #e9e6f3;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-right: 0; }
  .hero-media { height: 320px; margin: 0 calc(var(--gutter) * -1); }
  .hero-media .hero-photo { border-radius: 0 0 0 120px; }
  .hero-dots { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #e9e6f3; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); max-width: 16ch; }
.page-hero .lead { color: #d6d2e6; }
.page-hero .hero-mark { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .14; }
@media (max-width: 700px) { .page-hero .hero-mark { width: 160px; right: -30px; bottom: -30px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: var(--navy); }
.stat-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-top: 6px; }
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Generic grids & cards ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

.section-head { max-width: 760px; margin-bottom: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative;
}
.bg-cream .card { border-color: #EDE7DD; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.card .icon-circ {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); margin-bottom: 20px; position: relative; overflow: hidden;
}
.card .icon-circ.half::after { content: ""; position: absolute; inset: 0 0 50% 0; background: var(--stone); }
.card .icon-circ.stone { background: var(--stone); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; font-size: .92rem; }
.card-link::after { content: " →"; }

.audience-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.audience-card .top { background: var(--navy); color: var(--white); padding: 26px 28px 22px; }
.audience-card .top h3 { color: var(--white); margin: 0; }
.audience-card .top span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.audience-card .body { padding: 24px 28px 28px; flex: 1; }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(var(--stone) 50%, var(--navy) 50%);
}
.on-navy .tick-list li { border-bottom-color: rgba(255,255,255,.14); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
.on-navy .pill-list li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--white); }

/* ---------- Photos ---------- */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-round { border-radius: 200px 200px var(--radius) var(--radius); }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--taupe); margin-top: 10px; }

/* ---------- Quote ---------- */
.quote { font-family: var(--font-head); font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; color: var(--white); max-width: 22ch; margin: 0; }
.quote-by { margin-top: 18px; color: var(--stone); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Steps / ecosystem ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 22px; border-left: 1px solid var(--line); position: relative; }
.step:first-child { border-left: 0; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-head); font-size: 1.1rem; color: var(--taupe); letter-spacing: .1em;
}
.step h3 { font-size: 2rem; margin: 6px 0 10px; }
.step ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #555170; }
.step li { padding: 3px 0; }
.on-navy .step { border-left-color: rgba(255,255,255,.16); }
.on-navy .step ul { color: #d6d2e6; }
.on-navy .step::before { color: var(--stone); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .on-navy .step { border-top-color: rgba(255,255,255,.16); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* flow chips: Partner > Fund > Implement ... */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow span { padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; font-size: .9rem; }
.flow i { font-style: normal; color: var(--stone); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: var(--white); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
tbody tr:nth-child(even) td { background: var(--cream); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 12px 0; position: relative; }
.timeline .yr { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.timeline li::after {
  content: ""; position: absolute; left: 64px; top: 21px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(var(--stone) 50%, var(--navy) 50%); border: 2px solid var(--white);
}
.timeline .txt { padding-left: 4px; }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba figure { position: relative; }
.ba .photo { aspect-ratio: 4 / 5; }
.ba .tag {
  position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--navy);
  font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .06em; padding: 4px 14px; border-radius: 999px;
}
.ba .tag.after { background: var(--navy); color: var(--white); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin-bottom: 18px; }
.gallery img { border-radius: var(--radius); width: 100%; }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: #e9e6f3; border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: var(--white); margin: 0 0 .25em; }
.cta p { margin: 0; color: #d6d2e6; }
.cta .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.cta .btn:hover { background: var(--stone); border-color: var(--stone); }
.cta .cta-mark { position: absolute; right: -30px; top: -30px; width: 150px; opacity: .1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 13px 14px; border: 1px solid #DCD5CA; border-radius: 10px; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #555170; }
.consent input { width: auto; margin-top: 4px; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.05rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c9c5da; padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: var(--white); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { color: #c9c5da; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-logo { width: 210px; margin-bottom: 16px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: var(--white);
}
.socials a:hover { background: var(--white); color: var(--navy); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: #9d98b8; }
.footer-legal a { color: #9d98b8; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Small helpers ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--taupe); }
.dots-deco { width: 84px; margin-bottom: 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 14px; }

/* Fade-in on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Navy cards & active nav button */
.card.on-navy { background: var(--navy); border-color: var(--navy); }
.nav-links .btn[aria-current="page"] { color: var(--white); border-bottom-color: var(--navy); }

/* ---------- v2 additions (Oct 2026 content update) ---------- */
.prog-num { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .12em; color: var(--taupe); margin-bottom: 8px; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-3 .step p { font-size: .95rem; color: #555170; margin: 0; }
.on-navy .steps-3 .step p { color: #d6d2e6; }
@media (max-width: 960px) { .steps.steps-3 { grid-template-columns: 1fr; } }
.promise { border-left: 3px solid var(--stone); padding-left: 16px; }
.small-note { font-size: .85rem; color: var(--taupe); margin-top: 22px; }
td small { font-weight: 500; color: var(--taupe); }
.tagline-sm { margin: 22px 0 0; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .06em; color: var(--stone); }
