/* ============================================================
   Central Project Ghana, theme stylesheet
   Palette and components derived from the approved design.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:#CE1126; --gold:#FCD116; --green:#006B3F;
  --black:#111410; --white:#FAFAF6; --offwhite:#F4F2EB;
  --red-dk:#a50d1e; --green-dk:#004d2c; --gold-dk:#c9a400;
  --gray:#6f6f68; --light:#E8E6DE;
  --maxw:1440px;
}

html { scroll-behavior:smooth; }
body { font-family:'Outfit',system-ui,sans-serif; background:var(--white); color:var(--black); overflow-x:hidden; line-height:1.6; }
img { max-width:100%; height:auto; display:block; }
a { color:var(--green); }

/* Accessibility helpers */
.screen-reader-text {
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; width:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; word-wrap:normal !important;
}
.skip-link:focus {
  position:fixed; top:1rem; left:1rem; z-index:1000;
  background:var(--gold); color:var(--black); padding:0.75rem 1.25rem;
  clip:auto; clip-path:none; width:auto; height:auto; border-radius:3px; font-weight:600;
}
:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }

/* Kente strip (used as a thin accent on inner page heroes, not the nav) */
/* .kente {
  height:6px;
  background:repeating-linear-gradient(90deg,
    var(--red) 0,var(--red) 4px,var(--gold) 4px,var(--gold) 8px,
    var(--green) 8px,var(--green) 12px,var(--black) 12px,var(--black) 16px);
} */

/* ── NAV ── */
.site-header { position:fixed; top:0; left:0; right:0; z-index:200; }
.site-nav {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 3rem; height:64px;
  background:rgba(17,20,16,0.96); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(252,209,22,0.2);
}
.nav-logo {
  display:inline-flex; align-items:center; gap:0.6rem;
  font-family:'Syne','Poppins',sans-serif; font-weight:900; font-size:1.15rem;
  color:var(--white); letter-spacing:-0.01em; text-decoration:none;
}
.nav-logo .nav-logo-text span { color:var(--gold); }
.nav-logo-img { max-height:40px; width:auto; display:block; }
.nav-links { display:flex; gap:0.25rem; align-items:center; list-style:none; }
.nav-links a {
  display:block; color:rgba(250,250,246,0.65); text-decoration:none; font-size:0.8rem;
  font-weight:500; letter-spacing:0.05em; text-transform:uppercase;
  padding:0.5rem 0.85rem; border-radius:2px; transition:color .2s,background .2s;
}
.nav-links a:hover, .nav-links .current-menu-item > a { color:var(--gold); }
.nav-links .nav-cta, .nav-links .nav-cta a, .nav-links a.nav-cta {
  background:var(--gold); color:var(--black); font-weight:600; margin-left:0.5rem;
}
.nav-links a.nav-cta:hover, .nav-links .nav-cta a:hover { background:#e8c000; color:var(--black); }

.nav-toggle {
  display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:0.5rem;
}
.nav-toggle-bar { width:24px; height:2px; background:var(--gold); transition:transform .25s,opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-gold, .btn-ghost, .btn-dark, .btn-ghost-dark {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.85rem 2rem; font-size:0.95rem; font-weight:600;
  text-decoration:none; border-radius:2px; cursor:pointer;
  transition:background .2s,transform .15s,border-color .2s;
}
.btn-gold { background:var(--gold); color:var(--black); border:1px solid var(--gold); }
.btn-gold:hover { background:#e8c000; transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--white); border:1px solid rgba(250,250,246,0.25); font-weight:500; }
.btn-ghost:hover { border-color:rgba(250,250,246,0.7); }
.btn-dark { background:var(--black); color:var(--white); border-color:var(--black); }
.btn-dark:hover { background:#000; color:var(--gold); }

/* ── LAYOUT ── */
.section { padding:6rem 3rem; }
.container { max-width:var(--maxw); margin:0 auto; }
.tag {
  display:inline-block; font-size:0.72rem; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase;
  padding:0.4rem 1rem; border-radius:2px; margin-bottom:1.25rem;
  background:var(--light); color:var(--black);
}
h1,h2,h3,h4 { font-family:'Syne','Poppins',sans-serif; }
h2 { font-weight:900; font-size:clamp(2rem,3.5vw,2.8rem); line-height:1.1; letter-spacing:-0.02em; margin-bottom:1rem; }
.lead { font-size:1.05rem; font-weight:300; line-height:1.75; color:#555; max-width:560px; }
.section-head { text-align:center; margin-bottom:3.5rem; }
.section-head .lead { margin:0 auto; }

/* ── HERO ── */
.hero {
  min-height:100vh; background:var(--black);
  display:flex; flex-direction:column; justify-content:center;
  padding:9rem 3rem 5rem; position:relative; overflow:hidden;
}
.hero-geo {
  position:absolute; right:0; top:0; bottom:0; width:46%;
  display:grid; grid-template-rows:1fr 1fr 1fr; opacity:0.9;
}
.geo-r { background:var(--red); }
.geo-g { background:var(--gold); display:flex; align-items:center; justify-content:center; }
.geo-gr { background:var(--green); }
.geo-star { font-size:9rem; color:rgba(0,0,0,0.18); font-family:'Syne','Poppins',sans-serif; line-height:1; }
.hero-content { position:relative; z-index:2; max-width:640px; }
.hero-pill {
  display:inline-flex; align-items:center; gap:0.4rem;
  border:1px solid rgba(252,209,22,0.4); color:var(--gold);
  font-size:0.72rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
  padding:0.3rem 0.9rem; border-radius:2px; margin-bottom:1.75rem;
  background:rgba(252,209,22,0.1);
}
/* .hero-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--gold); } */
.hero h1 {
  font-weight:900; font-size:clamp(2.6rem,5.5vw,5rem); line-height:1.04;
  color:var(--white); letter-spacing:-0.02em; margin-bottom:0.5rem;
}
.hero h1 .accent { color:var(--gold); }
.hero-tagline { font-family:'Syne','Poppins',sans-serif; font-size:1.1rem; color:rgba(252,209,22,0.65); margin-bottom:1.75rem; }
.hero-desc { font-size:1.05rem; line-height:1.75; color:rgba(250,250,246,0.6); font-weight:300; margin-bottom:2.5rem; max-width:540px; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }
.hero-stats {
  position:relative; z-index:2; margin-top:4rem;
  display:grid; grid-template-columns:repeat(3,auto); gap:2.5rem; justify-content:start;
}
.h-stat-num { font-family:'Syne','Poppins',sans-serif; font-weight:900; font-size:2rem; color:var(--gold); line-height:1; }
.h-stat-lbl { font-size:0.72rem; color:rgba(250,250,246,0.5); text-transform:uppercase; letter-spacing:0.08em; margin-top:0.3rem; }

/* ── ABOUT ── */
.section-about { background:var(--offwhite); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:stretch; }
.founder-card { background:var(--white); border-radius:4px; overflow:hidden; box-shadow:0 2px 1px rgba(0,0,0,0.04),0 8px 32px rgba(0,0,0,0.08); position:relative; display:flex; flex-direction:column; height:100%; max-height: 810px; }
.founder-img-wrap { flex:1; min-height:360px; background:linear-gradient(135deg,var(--green),var(--green-dk)); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.founder-img-wrap img { width:100%; height:100%; object-fit:cover; object-position:top; }
.founder-img-wrap .placeholder { font-size:5rem; color:rgba(255,255,255,0.85); }
.founder-info { padding:1.5rem 1.75rem 2rem; }
.founder-name { font-size:1.2rem; font-weight:700; color:var(--black); }
.founder-role { font-size:0.8rem; color:var(--gray); margin:0.2rem 0 1rem; }
.founder-quote { border-left:3px solid var(--gold); padding-left:1rem; font-size:0.9rem; line-height:1.65; color:#555; font-style:italic; font-weight:300; }
.founder-badge { position:absolute; top:1.25rem; right:1.25rem; background:var(--gold); color:var(--black); font-size:0.65rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:0.3rem 0.7rem; border-radius:2px; z-index:2; }
.about-content .tag { background:rgba(206,17,38,0.1); color:var(--red); }
.pillars { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem; }
.pillar { border-radius:4px; padding:1.75rem 1.5rem; color:var(--white); position:relative; overflow:hidden; }
.pillar.r { background:var(--red); }
.pillar.g { background:var(--gold); color:var(--black); }
.pillar.gr { background:var(--green); }
.pillar.b { background:var(--black); }
.pillar-icon { position:absolute; top:1.25rem; right:1.25rem; font-size:1.6rem; opacity:0.35; }
.pillar.g .pillar-icon { opacity:0.45; }
.pillar-head { font-family:'Syne','Poppins',sans-serif; font-size:1.25rem; font-weight:700; letter-spacing:-0.01em; margin-bottom:0.5rem; padding-right:2rem; }
.pillar-body { font-size:0.9rem; line-height:1.6; font-weight:300; opacity:0.95; }
.founded-strip { margin-top:2rem; display:flex; align-items:center; gap:1.25rem; padding:1rem 1.25rem; background:var(--black); border-radius:4px; color:var(--white); }
.founded-strip strong { font-family:'Syne','Poppins',sans-serif; font-size:1.5rem; color:var(--gold); display:block; }
.founded-strip span { font-size:0.82rem; color:rgba(250,250,246,0.55); font-weight:300; }
.founded-divider { width:1px; height:40px; background:rgba(255,255,255,0.12); }

/* ── PROGRAMS ── */
.section-programs { background:var(--white); }
.section-head.programs-head .tag { background:rgba(252,209,22,0.18); color:#7a5a00; }
.programs-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--light); border-radius:4px; overflow:hidden; }
.prog { padding:2rem; border-right:1px solid var(--light); transition:background .25s; position:relative; }
.prog:last-child { border-right:none; }
.prog:hover { background:var(--offwhite); }
.prog-num { font-family:'Syne','Poppins',sans-serif; font-weight:900; font-size:4rem; line-height:1; color:var(--light); position:absolute; top:1.25rem; right:1.25rem; pointer-events:none; }
.prog-icon { font-size:1.6rem; margin-bottom:1rem; color:var(--green); display:block; }
.prog h3 { font-size:1.1rem; font-weight:700; margin-bottom:0.6rem; line-height:1.25; }
.prog h3 a { color:inherit; text-decoration:none; }
.prog h3 a:hover { color:var(--green); }
.prog p { font-size:0.875rem; color:#555; line-height:1.65; font-weight:300; }
.prog-tags { display:flex; flex-wrap:wrap; gap:0.4rem; margin-top:1rem; }
.prog-tag { font-size:0.65rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; padding:0.2rem 0.55rem; border-radius:2px; background:var(--light); color:var(--gray); }
.prog-more { display:inline-block; margin-top:1rem; font-size:0.8rem; font-weight:600; color:var(--green); text-decoration:none; }
.prog-more:hover { text-decoration:underline; }

/* ── IMPACT ── */
.section-impact { background:var(--black); color:var(--white); position:relative; overflow:hidden; }
.section-impact .lead { color:rgba(250,250,246,0.55); }
.section-impact h2 { color:var(--white); }
.section-impact .tag { background:rgba(252,209,22,0.12); color:var(--gold); }
.impact-top { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; margin-bottom:4rem; }
.counters { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(255,255,255,0.08); border-radius:4px; overflow:hidden; margin-top:2rem; }
.counter { background:var(--black); padding:2rem 1.5rem; position:relative; }
.counter::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; }
.counter:nth-child(1)::before{ background:var(--red); } .counter:nth-child(2)::before{ background:var(--gold); }
.counter:nth-child(3)::before{ background:var(--green); } .counter:nth-child(4)::before{ background:rgba(255,255,255,0.35); }
.counter-num { font-family:'Syne','Poppins',sans-serif; font-weight:900; font-size:2.6rem; line-height:1; margin-bottom:0.35rem; }
.counter:nth-child(1) .counter-num{ color:var(--red); } .counter:nth-child(2) .counter-num{ color:var(--gold); }
.counter:nth-child(3) .counter-num{ color:#3cc98a; } .counter:nth-child(4) .counter-num{ color:var(--white); }
.counter-lbl { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.09em; color:rgba(250,250,246,0.45); }
.timeline-label { margin-bottom:0.75rem; font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:rgba(250,250,246,0.4); }
.timeline { position:relative; padding-left:2rem; }
.timeline::before { content:''; position:absolute; left:0.5rem; top:0.5rem; bottom:0.5rem; width:1px; background:rgba(252,209,22,0.25); }
.tl-item { position:relative; margin-bottom:2rem; }
.tl-item:last-child { margin-bottom:0; }
.tl-dot { position:absolute; left:-2rem; top:0.35rem; width:10px; height:10px; border-radius:50%; border:2px solid var(--gold); background:var(--black); }
.tl-year { font-size:0.65rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); margin-bottom:0.3rem; }
.tl-title { font-family:'Syne','Poppins',sans-serif; font-weight:700; font-size:0.95rem; color:var(--white); margin-bottom:0.3rem; }
.tl-desc { font-size:0.82rem; color:rgba(250,250,246,0.5); line-height:1.6; font-weight:300; }
.impact-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:3rem; display:grid; grid-template-columns:1fr 1fr; gap:4rem; }
.ib-head { font-size:0.68rem; font-weight:600; text-transform:uppercase; letter-spacing:0.12em; color:rgba(250,250,246,0.35); margin-bottom:1rem; }
.partners { display:flex; flex-wrap:wrap; gap:0.5rem; }
.partner-chip { padding:0.35rem 0.85rem; border-radius:2px; border:1px solid rgba(252,209,22,0.25); font-size:0.78rem; color:rgba(250,250,246,0.65); }
.sdgs { display:flex; flex-wrap:wrap; gap:0.5rem; }
.sdg-chip { position:relative; padding:0.4rem 0.7rem; border-radius:2px; font-size:0.72rem; font-weight:700; color:var(--white); background:var(--green); cursor:help; }
/* SDG tooltip: shows the full goal name on hover and keyboard focus. */
.sdg-chip[data-tip]:hover::after, .sdg-chip[data-tip]:focus-visible::after {
  content:attr(data-tip); position:absolute; left:50%; bottom:calc(-100% - 8px); transform:translateX(-50%);
  background:var(--black); color:var(--white); font-size:0.72rem; font-weight:400; letter-spacing:0; text-transform:none;
  white-space:nowrap; padding:0.45rem 0.7rem; border-radius:3px; z-index:30;
  box-shadow:0 6px 20px rgba(0,0,0,0.35); pointer-events:none;
}
.sdg-chip[data-tip]:hover::before, .sdg-chip[data-tip]:focus-visible::before {
  content:''; position:absolute; left:50%; bottom:calc(100% + 2px); transform:translateX(-50%);
  border:6px solid transparent; border-top-color:var(--black); z-index:30; pointer-events:none;
}
@media (max-width:600px) {
  .sdg-chip[data-tip]:hover::after, .sdg-chip[data-tip]:focus-visible::after { white-space:normal; width:200px; }
}

/* ── GET INVOLVED ── */
.section-gi { background:var(--offwhite); }
.section-head.gi-head .tag { background:rgba(0,107,63,0.1); color:var(--green); }
.gi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.gi-card { background:var(--white); border-radius:4px; overflow:hidden; border:1px solid var(--light); transition:transform .2s,box-shadow .2s; display:flex; flex-direction:column; }
.gi-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,0.1); }
.gi-top { padding:1.75rem; }
.gi-card.green .gi-top { background:var(--green); } .gi-card.gold .gi-top { background:var(--gold); } .gi-card.red .gi-top { background:var(--red); }
.gi-icon { font-size:2rem; margin-bottom:0.75rem; display:block; }
.gi-card.green .gi-icon, .gi-card.red .gi-icon, .gi-card.green h3, .gi-card.red h3 { color:var(--white); }
.gi-card.gold .gi-icon, .gi-card.gold h3 { color:var(--black); }
.gi-card h3 { font-size:1.15rem; font-weight:700; }
.gi-body { padding:1.5rem 1.75rem; display:flex; flex-direction:column; flex:1; }
.gi-body p { font-size:0.88rem; color:#555; line-height:1.65; font-weight:300; margin-bottom:1.25rem; flex:1; }
.gi-btn { align-self:flex-start; padding:0.6rem 1.25rem; border-radius:2px; font-size:0.8rem; font-weight:600; text-decoration:none; transition:opacity .2s; }
.gi-btn:hover { opacity:0.85; }
.gi-card.green .gi-btn { background:var(--green); color:var(--white); }
.gi-card.gold .gi-btn { background:var(--black); color:var(--white); }
.gi-card.red .gi-btn { background:var(--red); color:var(--white); }

/* ── CONTACT ── */
.section-contact { background:var(--black); color:var(--white); }
.section-contact h2 { color:var(--white); }
.section-contact .lead { color:rgba(250,250,246,0.55); }
.section-contact .tag { background:rgba(252,209,22,0.12); color:var(--gold); }
.contact-wrap { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.contact-list { margin-top:2.5rem; display:flex; flex-direction:column; gap:1rem; }
.dc-item { display:flex; align-items:center; gap:0.85rem; }
.dc-icon { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; font-size:1rem; color:var(--gold); flex-shrink:0; }
.dc-text { font-size:0.9rem; color:rgba(250,250,246,0.7); }
.dc-text a { color:var(--gold); text-decoration:none; }
.dc-text a:hover { text-decoration:underline; }
.contact-form { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:4px; padding:2rem; }
.contact-form h3 { font-size:1.3rem; font-weight:700; color:var(--white); margin-bottom:1.5rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { display:flex; flex-direction:column; gap:0.4rem; margin-bottom:1rem; }
.form-group label { font-size:0.75rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; color:rgba(250,250,246,0.5); }
.form-group input, .form-group select, .form-group textarea {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:2px;
  padding:0.75rem 1rem; font-family:'Outfit',sans-serif; font-size:0.9rem; color:var(--white); width:100%; outline:none; transition:border-color .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(250,250,246,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--gold); }
.form-group select option { background:var(--black); color:var(--white); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-hp { position:absolute; left:-9999px; }
.submit-btn { width:100%; padding:1rem; background:var(--gold); color:var(--black); font-family:'Outfit',sans-serif; font-size:1rem; font-weight:600; border:none; border-radius:2px; cursor:pointer; transition:background .2s,transform .15s; }
.submit-btn:hover { background:#e8c000; transform:translateY(-1px); }
.submit-btn:disabled { opacity:0.7; cursor:default; transform:none; }
.form-feedback { margin-top:1rem; font-size:0.85rem; padding:0.75rem 1rem; border-radius:2px; display:none; }
.form-feedback.show { display:block; }
.form-feedback.success { background:rgba(0,107,63,0.2); color:#7be0b0; border:1px solid rgba(0,107,63,0.5); }
.form-feedback.error { background:rgba(206,17,38,0.18); color:#ff9aa6; border:1px solid rgba(206,17,38,0.5); }

/* ── FOOTER ── */
.site-footer { background:#0a0c09; padding:3.5rem 3rem 2rem; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap:3rem; margin-bottom:3rem; }
.footer-logo { font-family:'Syne','Poppins',sans-serif; font-weight:900; font-size:1.3rem; color:var(--white); display:block; margin-bottom:0.75rem; text-decoration:none; }
.footer-logo span { color:var(--gold); }
.footer-tagline { font-style:italic; font-size:0.85rem; color:rgba(250,250,246,0.4); margin-bottom:1rem; }
.footer-desc { font-size:0.82rem; line-height:1.7; color:rgba(250,250,246,0.4); font-weight:300; }
.footer-socials { display:flex; gap:0.5rem; margin-top:1.25rem; }
.footer-socials a { width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; font-size:0.85rem; color:rgba(250,250,246,0.55); text-decoration:none; transition:all .2s; }
.footer-socials a:hover { border-color:var(--gold); color:var(--gold); }
.footer-col h4 { font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--white); margin-bottom:1rem; }
.footer-col a, .footer-address { display:block; font-size:0.82rem; color:rgba(250,250,246,0.45); text-decoration:none; margin-bottom:0.5rem; transition:color .2s; }
.footer-col a:hover { color:var(--gold); }
.footer-menu { list-style:none; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.06); padding-top:1.75rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size:0.75rem; color:rgba(250,250,246,0.3); }
.footer-meta { color:rgba(250,250,246,0.18) !important; }

/* ── INNER PAGES ── */
.page-hero { background:var(--black); color:var(--white); padding:9rem 3rem 4rem; position:relative; overflow:hidden; }
.page-hero .container { position:relative; z-index:2; }
.page-hero .tag { background:rgba(252,209,22,0.12); color:var(--gold); }
.page-hero h1 { font-size:clamp(2.2rem,4vw,3.4rem); font-weight:900; color:var(--white); line-height:1.1; margin-bottom:1rem; }
.page-hero .lead { color:rgba(250,250,246,0.6); max-width:680px; }
.page-hero .geo-accent { position:absolute; right:-60px; top:50%; transform:translateY(-50%); font-family:'Syne','Poppins',sans-serif; font-size:26rem; line-height:1; color:rgba(252,209,22,0.04); }

.breadcrumbs { background:var(--offwhite); border-bottom:1px solid var(--light); font-size:0.8rem; }
/* Clear the fixed header when the breadcrumb is the first element on a page. */
.site-main > .breadcrumbs:first-child { padding-top:70px; }
.breadcrumbs .container { padding:0.85rem 0; }
.breadcrumbs a { color:var(--green); text-decoration:none; }
.breadcrumbs a:hover { text-decoration:underline; }
.breadcrumbs .sep { color:var(--gray); margin:0 0.5rem; }
.breadcrumbs [aria-current="page"] { color:var(--gray); }

.entry-content { max-width:760px; margin:0 auto; font-size:1.02rem; line-height:1.8; color:#333; }
.entry-content > * + * { margin-top:1.25rem; }
.entry-content h2 { margin-top:2.5rem; font-size:1.8rem; }
.entry-content h3 { margin-top:2rem; font-size:1.35rem; font-weight:700; }
.entry-content a { color:var(--green); }
.entry-content ul, .entry-content ol { padding-left:1.5rem; }
.entry-content li { margin-bottom:0.5rem; }
.entry-content blockquote { border-left:3px solid var(--gold); padding-left:1.25rem; font-style:italic; color:#555; }
.entry-content img { border-radius:4px; margin:1.5rem 0; }

/* Cards / archives */
.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.75rem; }
.card { background:var(--white); border:1px solid var(--light); border-radius:6px; overflow:hidden; transition:transform .2s,box-shadow .2s; display:flex; flex-direction:column; }
.card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,0.08); }
.card-thumb { aspect-ratio:3/2; background:var(--offwhite); overflow:hidden; }
.card-thumb img { width:100%; height:100%; object-fit:cover; }
.card-icon { font-size:1.5rem; color:var(--green); padding:1.5rem 1.5rem 0; }
.card-body { padding:1.5rem; display:flex; flex-direction:column; flex:1; }
.card-body h2, .card-body h3 { font-size:1.2rem; margin-bottom:0.5rem; }
.card-body h2 a, .card-body h3 a { color:var(--black); text-decoration:none; }
.card-body h2 a:hover, .card-body h3 a:hover { color:var(--green); }
.card-body p { font-size:0.9rem; color:#555; line-height:1.6; font-weight:300; flex:1; }
.card-meta { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--gray); margin-bottom:0.5rem; }

/* Pagination */
.cpg-pagination, .navigation.pagination { margin:3rem auto 0; max-width:var(--maxw); text-align:center; }
.cpg-pagination .page-numbers, .navigation.pagination .page-numbers { display:inline-block; padding:0.5rem 0.9rem; margin:0 0.15rem; border:1px solid var(--light); border-radius:3px; text-decoration:none; color:var(--black); font-size:0.85rem; }
.cpg-pagination .page-numbers.current, .navigation.pagination .page-numbers.current { background:var(--green); color:var(--white); border-color:var(--green); }
.cpg-pagination .page-numbers:hover, .navigation.pagination .page-numbers:hover { border-color:var(--green); }
.navigation.pagination .nav-links { display:inline-flex; gap:0; position:static; flex-direction:row; background:none; padding:0; transform:none; }

/* Single program layout */
.single-program-layout { display:grid; grid-template-columns:1fr 320px; gap:3rem; align-items:start; }
.program-sidebar { position:sticky; top:90px; background:var(--offwhite); border:1px solid var(--light); border-radius:6px; padding:1.75rem; }
.program-sidebar h4 { font-size:0.7rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--gray); margin-bottom:0.75rem; }

/* 404 / search */
.cpg-message { text-align:center; max-width:620px; margin:0 auto; }
.cpg-message .big { font-family:'Syne','Poppins',sans-serif; font-size:6rem; font-weight:900; color:var(--light); line-height:1; }

/* Search form */
.search-form { display:flex; gap:0.5rem; max-width:480px; }
.search-form .search-field { flex:1; padding:0.75rem 1rem; border:1px solid var(--light); border-radius:3px; font-family:'Outfit',sans-serif; }
.search-form .search-submit { padding:0.75rem 1.25rem; background:var(--green); color:var(--white); border:none; border-radius:3px; cursor:pointer; font-weight:600; }

/* ── EVENTS / PROJECTS ── */
.section-events { background:var(--white); }
.events-head { text-align:center; }
.events-head .tag { background:rgba(0,107,63,0.1); color:var(--green); }
.events-more { text-align:center; margin-top:2.5rem; }
.event-card .card-thumb-fallback { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--green),var(--green-dk)); color:rgba(255,255,255,0.8); font-size:2rem; }
.event-meta-row { display:flex; align-items:center; gap:0.6rem; margin-bottom:0.6rem; flex-wrap:wrap; }
.event-badge { font-size:0.62rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:0.22rem 0.6rem; border-radius:2px; }
.event-badge.is-upcoming { background:var(--green); color:var(--white); }
.event-badge.is-past { background:var(--light); color:var(--gray); }
.event-foot { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; flex-wrap:wrap; }
.event-loc { font-size:0.78rem; color:var(--gray); display:inline-flex; align-items:center; gap:0.35rem; }
.event-loc i { color:var(--green); }

.event-detail-bar { display:flex; flex-wrap:wrap; gap:1.5rem; padding:1rem 1.25rem; background:var(--offwhite); border:1px solid var(--light); border-radius:4px; margin-bottom:2rem; }
.edb-item { display:inline-flex; align-items:center; gap:0.5rem; font-size:0.88rem; color:#444; }
.edb-item i { color:var(--green); }
.edb-item a { color:var(--green); text-decoration:none; font-weight:600; }
.edb-item a:hover { text-decoration:underline; }
.event-feature { margin-bottom:2rem; }
.event-feature img { width:100%; border-radius:4px; }
.event-detail-bar + .event-feature, .event-detail-bar ~ .entry-content { margin-left:auto; margin-right:auto; }
.event-outcome { max-width:760px; margin:2rem auto 0; background:var(--green-light,#E6F4EE); border-left:3px solid var(--green); padding:1.5rem 1.75rem; border-radius:0 4px 4px 0; }
.event-outcome h3 { font-size:1.1rem; margin-bottom:0.5rem; color:var(--green-dk); }
.event-outcome p { font-size:0.95rem; line-height:1.7; color:#333; }

.event-cta { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; background:rgba(255,255,255,0.04); border:1px solid rgba(252,209,22,0.25); border-radius:4px; padding:2rem 2.25rem; }
.event-cta-text h3 { color:var(--white); font-size:1.5rem; margin-bottom:0.35rem; }
.event-cta-text p { color:rgba(250,250,246,0.6); font-weight:300; max-width:480px; }
.event-cta-actions { display:flex; gap:0.75rem; flex-wrap:wrap; }
.event-cta-actions .btn-gold, .event-cta-actions .btn-ghost { white-space:nowrap; }

/* Event gallery carousel (single event page) */
.carousel { position:relative; max-width:900px; margin:0 auto; }
.carousel-viewport { overflow:hidden; border-radius:6px; background:var(--black); }
.carousel-track { display:flex; transition:transform .4s ease; }
.carousel-slide { flex:0 0 100%; min-width:100%; }
.carousel-figure { margin:0; position:relative; }
.carousel-figure img { width:100%; max-height:560px; object-fit:contain; background:var(--black); display:block; }
.carousel-figure figcaption { position:absolute; left:0; right:0; bottom:0; padding:0.75rem 1rem; font-size:0.82rem; color:var(--white); background:linear-gradient(to top,rgba(0,0,0,0.75),transparent); }
.carousel-video { position:relative; width:100%; aspect-ratio:16/9; background:var(--black); }
.carousel-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.carousel-btn {
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(17,20,16,0.7); color:var(--white); font-size:1rem;
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.carousel-btn:hover { background:var(--gold); color:var(--black); }
.carousel-btn.prev { left:0.75rem; }
.carousel-btn.next { right:0.75rem; }
.carousel-dots { display:flex; justify-content:center; gap:0.5rem; margin-top:1rem; }
.carousel-dot { width:9px; height:9px; padding:0; border:1px solid var(--gray); border-radius:50%; background:transparent; cursor:pointer; transition:background .2s,border-color .2s; }
.carousel-dot.is-active { background:var(--green); border-color:var(--green); }

/* ── ANIMATIONS ── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease,transform .65s ease; }
.reveal.in { opacity:1; transform:translateY(0); }
.reveal-l { opacity:0; transform:translateX(-24px); transition:opacity .65s ease,transform .65s ease; }
.reveal-l.in { opacity:1; transform:translateX(0); }
.reveal-r { opacity:0; transform:translateX(24px); transition:opacity .65s ease,transform .65s ease; }
.reveal-r.in { opacity:1; transform:translateX(0); }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  .reveal, .reveal-l, .reveal-r { opacity:1; transform:none; }
}

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .site-nav { padding:0 1.25rem; }
  .nav-toggle { display:flex; }
  .nav-links {
    position:fixed; top:70px; left:0; right:0; flex-direction:column; align-items:stretch; gap:0;
    background:rgba(17,20,16,0.99); padding:1rem 1.25rem 1.5rem; border-bottom:1px solid rgba(252,209,22,0.2);
    transform:translateY(-130%); transition:transform .3s ease; max-height:calc(100vh - 70px); overflow-y:auto;
  }
  .nav-links.open { transform:translateY(0); }
  .nav-links a { padding:0.85rem 0.5rem; font-size:0.85rem; }
  .nav-links .nav-cta, .nav-links a.nav-cta { margin:0.5rem 0 0; text-align:center; }
  .section, .hero, .page-hero, .site-footer { padding-left:1.5rem; padding-right:1.5rem; }
  .hero { padding-top:8rem; }
  .hero-geo { width:36%; opacity:0.35; }
  .hero-stats { grid-template-columns:repeat(3,auto); gap:1.5rem; }
  .about-grid, .impact-top, .contact-wrap { grid-template-columns:1fr; gap:2.5rem; }
  .programs-grid, .gi-grid { grid-template-columns:1fr; }
  .programs-grid .prog { border-right:none; border-bottom:1px solid var(--light); }
  .programs-grid .prog:last-child { border-bottom:none; }
  .counters { grid-template-columns:1fr 1fr; }
  .impact-bottom { grid-template-columns:1fr; gap:2rem; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
  .single-program-layout { grid-template-columns:1fr; }
  .program-sidebar { position:static; }
  .event-cta { flex-direction:column; align-items:flex-start; }
  .carousel-btn { width:38px; height:38px; }
  .carousel-figure img { max-height:60vw; }
}
@media (max-width:480px) {
  .hero-stats { grid-template-columns:1fr 1fr; }
  .footer-top { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}
