/* ==========================================================================
   CARE Nigeria — Centre for Ability, Rehabilitation and Empowerment
   Design system (palette drawn from the CARE logo: orange + leaf green)
   ========================================================================== */

:root {
  --orange: #F26522;
  --orange-600: #C2410C; /* text/links: 5.2:1 on white */
  --orange-btn: #CC4A0E; /* white text on it: 4.6:1 */
  --orange-50: #FFF3EC;
  --green: #8DC63F;
  --green-700: #3F7212;
  --green-50: #F1F9E6;
  --sun: #FFC83D;
  --sun-50: #FFF8E1;
  --sky: #1E9BD7;
  --sky-50: #E8F5FC;
  --berry: #E5336B;
  --berry-50: #FDEBF1;
  --violet: #6A4BDF;
  --violet-50: #F0ECFD;

  --ink: #15203B;
  --ink-2: #26335A;
  --text: #2C3550;
  --muted: #5D6784;
  --line: #E6E8F0;
  --bg: #FFFFFF;
  --bg-soft: #FFF9F4;
  --bg-cool: #F5F7FB;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(21, 32, 59, .06);
  --shadow: 0 14px 34px -14px rgba(21, 32, 59, .22);
  --shadow-lg: 0 30px 60px -24px rgba(21, 32, 59, .35);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", cursive;
  --container: 1200px;
  --header-h: 84px;
  --fs-scale: 1;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(100% * var(--fs-scale)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(242, 101, 34, .8); }
.btn-primary:hover { background: #B33A09; color: #fff; }
.btn-green { background: var(--green); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(141, 198, 63, .9); }
.btn-green:hover { background: #7DB52F; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--orange-600); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .65em 1.15em; font-size: .9rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .45em; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #C9D1E6; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a { color: #C9D1E6; }
.topbar a:hover { color: var(--sun); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info i { color: var(--green); margin-right: 6px; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, height .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .96rem;
  padding: .55em .95em; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--orange-50); color: var(--orange-600); }
.nav a.active { background: var(--ink); color: #fff; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--orange-50); color: var(--orange-600); font-size: 1.2rem;
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 560px) {
  .header-cta .btn { display: none; }
}
@media (max-width: 720px) {
  .topbar-info span.hide-sm { display: none; }
  .topbar-social { display: none; }
  .brand img { height: 46px; }
  :root { --header-h: 72px; }
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px); display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--ink);
}
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease;
  z-index: -2;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(21,32,59,.92) 0%, rgba(21,32,59,.72) 42%, rgba(21,32,59,.15) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(141,198,63,.55), rgba(141,198,63,0) 65%);
  z-index: -1;
}
.hero-content { max-width: 720px; padding: 90px 0 120px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .55em 1.1em; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-600);
}
.eyebrow.on-dark { background: rgba(255,255,255,.12); color: var(--sun); border: 1px solid rgba(255,255,255,.18); }
.eyebrow.green { background: var(--green-50); color: var(--green-700); }
.eyebrow.sky { background: var(--sky-50); color: #0E6FA3; }
.eyebrow.violet { background: var(--violet-50); color: var(--violet); }
.eyebrow.berry { background: var(--berry-50); color: #B81E50; }
.hero h1 { color: #fff; margin: 22px 0 18px; }
.hero h1 .hl { color: var(--sun); }
.hero h1 .hl-green { color: var(--green); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #DDE3F2; max-width: 600px; }
.hero-quote { font-family: var(--font-script); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--sun); margin: 0 0 30px; line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); transition: width .3s, background .3s;
}
.hero-dots button.active { width: 34px; background: var(--sun); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 70px; color: #fff; z-index: 1; }
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* ---------- Color stripe ---------- */
.stripe { height: 6px; background: linear-gradient(90deg, var(--orange) 0 20%, var(--sun) 20% 40%, var(--green) 40% 60%, var(--sky) 60% 80%, var(--violet) 80% 100%); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  display: flex; gap: 16px; align-items: center; border-bottom: 5px solid var(--c, var(--orange));
}
.stat-icon {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.4rem; background: var(--cbg, var(--orange-50)); color: var(--c, var(--orange));
}
.stat strong { display: block; font-size: 1.9rem; color: var(--ink); line-height: 1.05; font-weight: 800; }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } .stats { margin-top: -40px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-cool { background: var(--bg-cool); }
.section-dark { background: var(--ink); color: #D3DAEC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #B7C1DB; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head-row .section-head { margin: 0; }
.script { font-family: var(--font-script); color: var(--orange-btn); font-weight: 600; font-size: 1.5em; line-height: 1; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.collage { position: relative; padding: 0 30px 40px 0; }
.collage .main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.3; object-fit: cover; }
.collage .inset {
  position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--radius);
  border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover;
}
.collage .badge {
  position: absolute; left: -14px; top: 26px; background: var(--green); color: var(--ink);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.collage .badge strong { display: block; font-size: 2rem; font-weight: 800; }
.collage .badge span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.collage .blob {
  position: absolute; z-index: -1; width: 180px; height: 180px; border-radius: 50%;
  background: var(--sun); top: -26px; right: 30px; opacity: .55; filter: blur(2px);
}
.lead { font-size: 1.12rem; color: var(--ink-2); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i {
  flex: none; margin-top: 4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; background: var(--green); color: #fff;
}
.section-dark .check-list li i { background: var(--sun); color: var(--ink); }

/* ---------- CORE values ---------- */
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.core-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px 26px 30px;
  background: var(--cbg); color: var(--ink); transition: transform .3s, box-shadow .3s;
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.core-card .letter {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; color: #fff; background: var(--c); margin-bottom: 20px;
  box-shadow: 0 12px 24px -12px var(--c);
}
.core-card h3 { margin-bottom: .35em; }
.core-card p { margin: 0; color: var(--text); font-size: .96rem; }
.core-card::after {
  content: attr(data-letter); position: absolute; right: -10px; bottom: -46px;
  font-size: 9rem; font-weight: 800; color: var(--c); opacity: .09; line-height: 1;
}
@media (max-width: 980px) { .core-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .core-grid { grid-template-columns: 1fr; } }

/* ---------- Feature (dark) ---------- */
.feature-img { position: relative; }
.feature-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-img .tag {
  position: absolute; left: 22px; bottom: 22px; background: #fff; color: var(--ink);
  border-radius: 16px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow);
}
.feature-img .tag img { width: 86px; aspect-ratio: auto; border-radius: 6px; }
.feature-img .tag span { font-size: .8rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.section-dark .lead { color: #E4E9F5; }
.deco-ring {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03); pointer-events: none;
}

/* ---------- Campaign banner ---------- */
.campaign {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--orange) 0%, var(--berry) 55%, var(--violet) 100%);
  color: #fff; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.campaign h2 { color: #fff; margin-top: 14px; }
.campaign p { color: #FFE9E0; font-size: 1.08rem; }
.campaign-figure { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.campaign-figure .pill {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  padding: 18px 22px; min-width: 170px; backdrop-filter: blur(4px);
}
.campaign-figure strong { font-size: 2.3rem; font-weight: 800; display: block; line-height: 1; }
.campaign-figure span { font-size: .85rem; opacity: .9; }
.campaign::before, .campaign::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08);
}
.campaign::before { width: 300px; height: 300px; right: -80px; top: -120px; }
.campaign::after { width: 180px; height: 180px; left: 38%; bottom: -110px; background: rgba(255,200,61,.25); }
.campaign > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .campaign { grid-template-columns: 1fr; } .campaign-figure { justify-content: flex-start; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff; border-radius: var(--radius-lg); padding: 18px 18px 24px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1/1.04; margin-bottom: 18px;
  background: var(--cbg, var(--orange-50));
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c, var(--orange));
}
.team-card h3 { font-size: 1.12rem; margin-bottom: .2em; }
.team-card .role {
  display: inline-block; font-size: .82rem; font-weight: 700; color: var(--c, var(--orange-600));
  background: var(--cbg, var(--orange-50)); padding: .3em .85em; border-radius: 999px;
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.gallery-item {
  break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-cool);
}
.gallery-item img { width: 100%; transition: transform .5s ease; }
.gallery-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff;
  background: linear-gradient(180deg, rgba(242,101,34,.0), rgba(21,32,59,.65)); opacity: 0; transition: opacity .3s;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item .cap {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: .8rem; font-weight: 600;
  text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; line-height: 1.35;
}
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; transform: none; }
.gallery-item.hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem;
  padding: .6em 1.2em; border-radius: 999px; transition: all .2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange-600); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn .count { font-size: .75rem; opacity: .7; margin-left: 4px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,18,34,.94); display: none;
  align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #D7DDEC; margin-top: 14px; font-size: .95rem; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.15rem; display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: var(--orange); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 70px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-cool); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.06); }
.chip {
  display: inline-flex; align-items: center; gap: .4em; font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: .45em .9em; border-radius: 999px; background: var(--orange-btn); color: #fff;
}
.chip.projects { background: var(--green); color: var(--ink); }
.post-card .thumb .chip { position: absolute; left: 16px; top: 16px; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-meta i { color: var(--orange); margin-right: 5px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .55em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--orange-600); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card.hidden { display: none; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 36px;
}
.post-featured .thumb { min-height: 340px; position: relative; }
.post-featured .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-featured .body { padding: clamp(26px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0; }
.post-featured h2 a { color: var(--ink); }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-featured .thumb { min-height: 240px; } }

.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.toolbar .filters { margin: 0; justify-content: flex-start; }
.search { position: relative; flex: 1; max-width: 360px; min-width: 220px; }
.search input {
  width: 100%; padding: .85em 1em .85em 2.8em; border-radius: 999px; border: 2px solid var(--line);
  font: inherit; background: #fff; color: var(--ink);
}
.search input:focus { border-color: var(--orange); outline: none; }
.search i { position: absolute; left: 1.1em; top: 50%; transform: translateY(-50%); color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; display: none; }
.load-more-wrap { text-align: center; margin-top: 40px; }

/* ---------- Single post ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.article { background: #fff; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.prose { font-size: 1.08rem; color: var(--text); }
.prose p { margin-bottom: 1.25em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 28px auto; box-shadow: var(--shadow-sm); }
.prose figure { margin: 30px 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 10px; font-style: italic; }
.prose blockquote {
  margin: 30px 0; padding: 22px 26px; border-left: 5px solid var(--orange); background: var(--orange-50);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; color: var(--ink);
}
.prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li { margin-bottom: .4em; }
.prose > p:first-child::first-letter {
  float: left; font-size: 3.6em; line-height: .9; font-weight: 800; color: var(--orange); margin: .06em .12em 0 0;
}
.article-footer { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: .82rem; font-weight: 600; background: var(--bg-cool); color: var(--ink-2); padding: .35em .85em; border-radius: 999px; }
.share { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.share a, .share button {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0;
  background: var(--bg-cool); color: var(--ink); transition: background .2s, color .2s;
}
.share a:hover, .share button:hover { background: var(--orange); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.post-nav a {
  display: block; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.post-nav a:hover { border-color: var(--orange); background: var(--orange-50); }
.post-nav small { display: block; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin-bottom: 6px; }
.post-nav strong { font-size: .98rem; line-height: 1.4; display: block; }
.post-nav .next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

.sidebar { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1000px) { .sidebar { position: static; } }
.widget { background: var(--bg-cool); border-radius: var(--radius-lg); padding: 26px; }
.widget h3, .widget .widget-title { font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.widget h3::before, .widget .widget-title::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--orange); }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; color: var(--ink); }
.mini-post + .mini-post { border-top: 1px solid var(--line); }
.mini-post img { width: 72px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; }
.mini-post strong { font-size: .9rem; line-height: 1.35; display: block; }
.mini-post small { color: var(--muted); font-size: .78rem; }
.mini-post:hover strong { color: var(--orange-600); }
.widget-cta { background: linear-gradient(140deg, var(--green) 0%, #5FAF2E 100%); color: var(--ink); }
.widget-cta h3::before, .widget-cta .widget-title::before { background: var(--ink); }
.widget-cta p { font-size: .95rem; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(80px, 10vw, 130px);
  background: var(--ink) center/cover no-repeat; isolation: isolate; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(21,32,59,.94) 10%, rgba(21,32,59,.78) 50%, rgba(242,101,34,.55) 100%);
}
.page-hero h1 { color: #fff; margin: 18px 0 12px; max-width: 900px; }
.page-hero p { color: #DCE2F1; max-width: 680px; font-size: 1.1rem; margin: 0; }
.page-hero.article-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #B9C3DC; margin-bottom: 4px; }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb a:hover { color: var(--sun); }
.breadcrumb .sep { opacity: .55; }
.page-hero .post-meta { color: #C9D1E6; margin-top: 18px; }
.page-hero .post-meta i { color: var(--sun); }

/* ---------- Founder ---------- */
.founder-card {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 5vw, 60px); align-items: start;
}
.founder-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.founder-photo .frame {
  border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--sun), var(--orange));
  padding: 10px; box-shadow: var(--shadow-lg);
}
.founder-photo img { border-radius: calc(var(--radius-lg) - 8px); width: 100%; }
.founder-photo .name { margin-top: 20px; text-align: center; }
.founder-photo .name strong { display: block; font-size: 1.3rem; color: var(--ink); }
.founder-photo .name span { color: var(--orange-600); font-weight: 700; font-size: .92rem; }
.founder-quote {
  font-family: var(--font-script); font-size: 1.8rem; color: var(--ink); line-height: 1.25; margin: 0 0 24px;
  padding-left: 22px; border-left: 5px solid var(--green);
}
@media (max-width: 900px) { .founder-card { grid-template-columns: 1fr; } .founder-photo { position: static; max-width: 360px; margin: 0 auto; } }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { border-radius: var(--radius-lg); padding: 36px 32px; color: var(--ink); position: relative; overflow: hidden; }
.vm-card .ico {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem;
  background: #fff; color: var(--c); box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.vm-card p { margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%);
  background: linear-gradient(var(--orange), var(--sun), var(--green), var(--sky), var(--violet)); border-radius: 4px;
}
.tl-item { position: relative; width: 50%; padding: 0 44px 40px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; }
.tl-item::before {
  content: ""; position: absolute; top: 22px; right: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 5px solid var(--c, var(--orange)); z-index: 1;
}
.tl-item:nth-child(even)::before { right: auto; left: -11px; }
.tl-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.tl-date { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--orange)); }
.tl-card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.tl-card p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 760px) {
  .timeline::before { left: 11px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin: 0; padding: 0 0 28px 44px; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* ---------- Program cards ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  border-radius: var(--radius-lg); padding: 32px 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
  border-top: 6px solid var(--c);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card .ico {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--cbg); color: var(--c); margin-bottom: 20px;
}
.program-card p { color: var(--muted); flex: 1; }
@media (max-width: 980px) { .program-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.partner {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px 22px;
  height: 110px; width: 190px; display: grid; place-items: center; transition: transform .3s, box-shadow .3s;
  position: relative;
}
.partner img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.6); opacity: .85; transition: filter .3s, opacity .3s; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner:hover img { filter: none; opacity: 1; }
.partner.funding { width: 260px; border: 2px solid var(--green); }
.partner.funding img { filter: none; opacity: 1; }
.partner .label {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--green); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .3em .8em; border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-cards { display: grid; gap: 18px; }
.info-card {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--cbg); color: var(--ink);
}
.info-card .ico {
  flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--c); color: #fff;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p, .info-card a { margin: 0; color: var(--text); font-size: .98rem; }
.info-card a { display: block; }
.info-card a:hover { color: var(--orange-600); }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--berry); }
.field input, .field textarea, .field select {
  width: 100%; padding: .9em 1.05em; border-radius: 14px; border: 2px solid var(--line); font: inherit; color: var(--ink);
  background: var(--bg-cool); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: var(--berry); }
.field .error { color: var(--berry); font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid .error { display: block; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid #CBE7A4; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, #63B232 100%); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center;
  gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; font-size: 1.05rem; color: #24361A; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C3DC; padding-top: 70px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { background: #fff; border-radius: 16px; padding: 10px 14px; display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 54px; width: auto; }
.site-footer h4, .site-footer .footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.site-footer a { color: #B9C3DC; }
.site-footer a:hover { color: var(--sun); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: .7rem; color: var(--green); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--orange); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating: back to top + a11y ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--orange-btn); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

.a11y-toggle {
  position: fixed; left: 20px; bottom: 20px; z-index: 95; width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff;
  background: var(--sky); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow); display: grid; place-items: center;
}
.a11y-toggle:hover { background: #157FB3; }
.a11y-panel {
  position: fixed; left: 20px; bottom: 86px; z-index: 210; width: 380px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; display: none; border: 1px solid var(--line);
}
.a11y-panel.open { display: block; }
.a11y-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.a11y-head h2 { font-size: 1.2rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.a11y-head h2::before { content: "\f29a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--sky); }
.a11y-head p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.45; }
.a11y-close { flex: none; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--bg-cool); color: var(--ink); }
.a11y-listen .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.a11y-size { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-cool); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.a11y-size .group { display: flex; align-items: center; gap: 6px; }
.a11y-size button { width: 42px; height: 38px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--ink); }
.a11y-size button:hover { border-color: var(--sky); color: var(--sky); }
.a11y-size output { min-width: 48px; text-align: center; font-weight: 800; }
.a11y-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a11y-tile {
  display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .78rem; line-height: 1.2; text-align: center;
  transition: border-color .15s, background .15s;
}
.a11y-tile i { font-size: 1.25rem; color: var(--sky); }
.a11y-tile:hover { border-color: var(--sky); }
.a11y-tile[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: #fff; }
.a11y-tile[aria-pressed="true"] i { color: #fff; }
.a11y-tile[aria-pressed="true"]::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; }
.a11y-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.a11y-foot .btn { justify-content: center; white-space: normal; text-align: center; padding: .7em .6em; font-size: .82rem; }
.a11y-reset { width: auto; margin: 0; }
.a11y-tip { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
kbd { font-family: inherit; font-size: .85em; font-weight: 700; background: var(--bg-cool); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--ink); }
@media (max-width: 420px) { .a11y-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Read aloud ---------- */
.tts-bar {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 220;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); max-width: calc(100vw - 24px);
}
.tts-bar[hidden] { display: none; }
.tts-status { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.tts-bar button, .tts-bar select {
  height: 40px; min-width: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-weight: 700;
}
.tts-bar button:hover { background: var(--orange); }
.tts-bar select { padding: 0 10px; font: inherit; font-size: .85rem; }
.tts-bar select option { color: var(--ink); }
.tts-wave { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.tts-wave i { width: 4px; border-radius: 2px; background: var(--sun); animation: wave 1s ease-in-out infinite; }
.tts-wave i:nth-child(2) { animation-delay: .15s; background: var(--green); }
.tts-wave i:nth-child(3) { animation-delay: .3s; background: var(--orange); }
.tts-wave i:nth-child(4) { animation-delay: .45s; background: var(--sky); }
.tts-bar.paused .tts-wave i { animation-play-state: paused; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 18px; } }
.tts-active { background: var(--sun-50) !important; box-shadow: 0 0 0 6px var(--sun-50), inset 4px 0 0 var(--sun); border-radius: 6px; color: var(--ink) !important; }
.listen-btn { display: inline-flex; align-items: center; gap: .6em; padding: .6em 1.1em; border-radius: 999px; border: 2px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: .92rem; margin-top: 18px; }
.listen-btn:hover { background: #fff; color: var(--ink); }
.listen-btn[hidden] { display: none; }
html.a11y-clickread main :is(p, h1, h2, h3, h4, li, blockquote, figcaption, td) { cursor: help; }
html.a11y-clickread main :is(p, h1, h2, h3, h4, li, blockquote, figcaption):hover { outline: 2px dashed var(--sky); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 900px) {
  .tts-bar { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .tts-status { max-width: 110px; }
}

/* ---------- Reading guide ---------- */
.reading-guide { display: none; position: fixed; left: 0; right: 0; height: 44px; top: -100px; z-index: 199; pointer-events: none;
  background: rgba(255,200,61,.18); border-top: 3px solid var(--sun); border-bottom: 3px solid var(--sun); box-shadow: 0 0 0 100vmax rgba(21,32,59,.12); }
html.a11y-guide .reading-guide { display: block; }

/* ---------- Accessibility modes ---------- */
html.a11y-contrast { --text: #000; --muted: #1d1d1d; --ink: #000; --line: #000; --orange-600: #A63A0A; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .hero::before, html.a11y-contrast .page-hero::before { background: rgba(0,0,0,.88); }
html.a11y-contrast a { text-decoration: underline; }
html.a11y-contrast .btn { text-decoration: none; }
html.a11y-contrast .post-card, html.a11y-contrast .team-card, html.a11y-contrast .form-card, html.a11y-contrast .program-card { border: 2px solid #000; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px !important; }
html.a11y-links a:not(.btn):hover { background: var(--sun); color: var(--ink) !important; }
html.a11y-readable body { letter-spacing: .03em; word-spacing: .12em; line-height: 1.95; }
html.a11y-readable p, html.a11y-readable li { max-width: 72ch; }
html.a11y-font body, html.a11y-font button, html.a11y-font input, html.a11y-font textarea, html.a11y-font select,
html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4 { font-family: "Atkinson Hyperlegible", Verdana, Tahoma, sans-serif !important; letter-spacing: 0; }
html.a11y-font .script, html.a11y-font .hero-quote, html.a11y-font .founder-quote { font-family: "Atkinson Hyperlegible", Verdana, sans-serif !important; font-style: italic; font-size: 1em; }
html.a11y-focus :focus { outline: 4px solid var(--sun) !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px var(--ink) !important; border-radius: 6px; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 17-13 3 8 15-6 3-8-15-11 10z' fill='%2315203B' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-cursor a, html.a11y-cursor button, html.a11y-cursor a *, html.a11y-cursor button *, html.a11y-cursor label {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 17-13 3 8 15-6 3-8-15-11 10z' fill='%23F26522' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
}
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-noimg main img, html.a11y-noimg .hero-card img { visibility: hidden !important; }
html.a11y-noimg .hero-slide, html.a11y-noimg .page-hero, html.a11y-noimg .auth-art { background-image: none !important; }
html.a11y-noimg .gallery-item, html.a11y-noimg .team-photo, html.a11y-noimg .thumb { background: var(--bg-cool); }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Slideshow pause control ---------- */
.hero-dots .hero-pause { width: 28px !important; height: 28px !important; border-radius: 50% !important; background: rgba(255,255,255,.2) !important; color: #fff; font-size: .7rem; display: grid; place-items: center; margin-left: 4px; }
.hero-dots .hero-pause:hover { background: var(--orange) !important; }
.hero-dots { align-items: center; }
@media (min-width: 1081px) { .hero-dots .hero-pause { margin: 4px 0 0; } }
.marquee:focus-within .marquee-track { animation-play-state: paused; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .01s; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.c-orange { --c: var(--orange-600); --cbg: var(--orange-50); }
.c-green  { --c: var(--green-700); --cbg: var(--green-50); }
.c-sun    { --c: #8A5D00; --cbg: var(--sun-50); }
.c-sky    { --c: #0E6FA3; --cbg: var(--sky-50); }
.c-berry  { --c: #B81E50; --cbg: var(--berry-50); }
.c-violet { --c: var(--violet); --cbg: var(--violet-50); }

/* ==========================================================================
   v2 ENHANCEMENTS — Laravel build
   ========================================================================== */

/* ---------- Header refinements ---------- */
.site-header .container { transition: height .25s; }
.site-header.scrolled .container { height: calc(var(--header-h) - 12px); }
.nav a { position: relative; }
.nav a:not(.active)::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sun)); transform: translateX(-50%); transition: width .25s;
}
.nav a:not(.active):hover::after { width: 22px; }

/* ---------- Drawer (mobile menu) ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw); z-index: 201;
  background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow-lg); border-radius: 28px 0 0 28px;
  padding-bottom: env(safe-area-inset-bottom); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(21,32,59,.5); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer-head {
  position: relative; padding: 22px 22px 70px; color: #fff; overflow: hidden; flex: none;
  background: linear-gradient(135deg, var(--orange) 0%, var(--berry) 60%, var(--violet) 100%);
}
.drawer-head::after {
  content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.drawer-head .brand-chip { background: #fff; border-radius: 14px; padding: 6px 10px; display: inline-block; position: relative; z-index: 1; }
.drawer-head .brand-chip img { height: 40px; width: auto; }
.drawer-head p { margin: 14px 0 0; font-family: var(--font-script); font-size: 1.35rem; line-height: 1.2; position: relative; z-index: 1; max-width: 280px; }
.drawer-close {
  position: absolute; top: 20px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 14px; border: 0;
  background: rgba(255,255,255,.2); color: #fff; font-size: 1.15rem; display: grid; place-items: center;
}
.drawer-body { padding: 0 18px 24px; margin-top: -46px; position: relative; z-index: 1; display: grid; gap: 16px; }
.drawer-links { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.drawer-links a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px;
  color: var(--ink); font-weight: 700; font-size: 1.02rem;
}
.drawer-links a .ico {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: var(--cbg); color: var(--c); font-size: 1rem;
}
.drawer-links a .chev { margin-left: auto; color: #B5BCCE; font-size: .8rem; }
.drawer-links a:hover, .drawer-links a.active { background: var(--bg-cool); }
.drawer-links a.active .chev { color: var(--orange); }
.drawer-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.drawer-quick a {
  display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; background: var(--bg-cool);
  color: var(--ink); font-weight: 700; font-size: .8rem; text-align: center;
}
.drawer-quick a i { font-size: 1.2rem; color: var(--c); }
.drawer .btn { justify-content: center; }
.drawer .socials { justify-content: center; margin: 4px 0 0; }
.drawer .socials a { background: var(--bg-cool); color: var(--ink); }

/* ---------- Mobile dock (bottom tab bar) ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 150;
    height: 64px; padding: 0 6px; border-radius: 22px;
    background: rgba(21,32,59,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -12px rgba(21,32,59,.55);
    transition: transform .3s;
  }
  .dock.hide { transform: translateY(calc(100% + 20px)); }
  .dock a, .dock button {
    display: grid; justify-items: center; align-content: center; gap: 3px; height: 64px; border: 0; background: none;
    color: #9AA6C4; font-size: .68rem; font-weight: 700; letter-spacing: .02em; position: relative; padding: 0;
  }
  .dock i { font-size: 1.15rem; transition: transform .2s; }
  .dock a.active { color: #fff; }
  .dock a.active::before { content: ""; position: absolute; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); }
  .dock a.active i { transform: translateY(2px); color: var(--sun); }
  .dock .dock-cta { align-content: start; }
  .dock .dock-cta .bubble {
    width: 56px; height: 56px; margin-top: -20px; border-radius: 20px; display: grid; place-items: center;
    background: linear-gradient(140deg, var(--orange), var(--berry)); color: #fff; font-size: 1.3rem;
    box-shadow: 0 12px 24px -8px rgba(242,101,34,.8); border: 4px solid #fff;
  }
  .dock .dock-cta .label { color: #fff; margin-top: 3px; }
  .to-top { bottom: calc(90px + env(safe-area-inset-bottom)); right: 14px; width: 44px; height: 44px; }
  .a11y-toggle { bottom: calc(90px + env(safe-area-inset-bottom)); left: 14px; width: 46px; height: 46px; font-size: 1.3rem; }
  .a11y-panel { bottom: calc(146px + env(safe-area-inset-bottom)); left: 10px; right: 10px; width: auto; max-height: calc(100vh - 170px); }
}

/* ---------- Hero v2 ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: center; width: 100%; }
.hero-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 18px; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero-card .label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); display: flex; align-items: center; gap: 8px; }
.hero-card .label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(141,198,63,.3); animation: pulse 2s infinite; }
.hero-card img { border-radius: 16px; aspect-ratio: 16/10; object-fit: cover; width: 100%; margin: 12px 0; }
.hero-card h2, .hero-card h3 { color: #fff; font-size: 1.05rem; line-height: 1.35; margin: 0 0 10px; letter-spacing: -.01em; }
.hero-card h2 a, .hero-card h3 a { color: #fff; }
.hero-card .link-arrow { color: var(--sun); font-size: .9rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(141,198,63,0); } }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { display: none; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 30px 26px 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
}
.quote-card .qmark { position: absolute; right: 22px; top: 18px; font-size: 2.6rem; color: var(--c); opacity: .18; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.06rem; color: var(--ink); line-height: 1.65; font-weight: 500; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 14px; }
.quote-card .avatar {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--c); color: #fff; font-weight: 800; font-size: 1rem;
}
.quote-card .who strong { display: block; color: var(--ink); line-height: 1.3; }
.quote-card .who strong + span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }
.quote-card .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.c-sun .avatar { color: var(--ink); background: var(--sun); }

/* ---------- Partner marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 30s linear infinite; padding: 16px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
html.a11y-motion .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
html.a11y-motion .marquee-track [aria-hidden="true"] { display: none; }
.partners-funding { display: flex; justify-content: center; margin-bottom: 18px; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 8px; margin-top: 16px; background: rgba(255,255,255,.08); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 14px; font: inherit; font-size: .92rem; }
.newsletter input::placeholder { color: #8E9AB8; }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { border-color: var(--sun); }
.newsletter-note { font-size: .82rem; margin-top: 8px; color: #8E9AB8; }
.form-error-light { color: #FF9AB5; font-size: .85rem; margin-top: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 20px; transform: translate(-50%, -20px); z-index: 400; opacity: 0;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
  transition: opacity .35s, transform .35s; font-weight: 600; font-size: .95rem; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ok { color: var(--green); font-size: 1.2rem; }
.toast button { background: none; border: 0; color: #9AA6C4; margin-left: 6px; font-size: 1rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 46px 0 0; list-style: none; padding: 0; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 700; border: 2px solid var(--line); color: var(--ink); background: #fff;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange-600); }
.pagination .active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .disabled span { opacity: .4; }

/* ---------- Article ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--orange), var(--sun), var(--green)); }
.related { margin-top: 70px; }
.related h2 { font-size: 1.6rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(70px, 12vw, 140px) 0; }
.notfound .big {
  font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--orange), var(--berry), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound .hero-actions { justify-content: center; }

/* ---------- Timeline icon ---------- */
.tl-card .tl-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cbg); color: var(--c); float: right; margin-left: 12px; }

/* ---------- Support / donation ---------- */
.donation-box { background: #fff; border: 2px dashed var(--green); border-radius: var(--radius-lg); padding: 22px 26px; margin: 30px auto 0; max-width: 720px; white-space: pre-line; color: var(--ink); }
.donation-box h3 { display: flex; gap: 10px; align-items: center; }

/* ---------- Form field errors (server-side) ---------- */
.field .error.show { display: block; }
.field.invalid .error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   MOBILE-FIRST POLISH
   ========================================================================== */
.mobile-more { display: none !important; }
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head-row { margin-bottom: 26px; }
  .section-head-row > .btn, .section-head-row > .hero-actions { display: none; }
  .mobile-more { display: flex !important; justify-content: center; margin-top: 22px; }
  h2 { font-size: clamp(1.65rem, 6.4vw, 2.2rem); }
  .lead { font-size: 1.04rem; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .container { padding: 0 18px; }

  /* Hero */
  .hero { min-height: min(calc(100svh - var(--header-h) - 30px), 700px); align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(21,32,59,.25) 0%, rgba(21,32,59,.7) 42%, rgba(21,32,59,.96) 100%); }
  .hero-content { padding: 140px 0 112px; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.7rem); margin: 16px 0 12px; }
  .hero-quote { font-size: 1.4rem; margin-bottom: 12px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { gap: 10px; }
  .hero .hero-actions { margin-top: 22px !important; }
  .hero .hero-actions .btn { flex: 1; justify-content: center; padding: 1em .9em; }
  .hero-dots { bottom: 86px; left: 18px; transform: none; }
  .eyebrow { font-size: .7rem; padding: .5em .95em; letter-spacing: .1em; }

  /* Stats 2x2 */
  .stats { margin-top: -54px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 18px; border-bottom-width: 4px; }
  .stat-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.05rem; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .78rem; }

  /* Page hero */
  .page-hero { padding: 48px 0 84px; }
  .page-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .page-hero p { font-size: 1rem; }
  .page-hero.article-hero h1 { font-size: clamp(1.45rem, 6.4vw, 1.95rem); }
  .page-hero .post-meta { gap: 10px; font-size: .8rem; }
  .breadcrumb { font-size: .8rem; }

  /* Collage */
  .collage { padding: 0 18px 30px 0; }
  .collage .badge { left: -6px; top: 14px; padding: 10px 14px; }
  .collage .badge strong { font-size: 1.5rem; }

  /* Gallery 2 columns */
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; border-radius: 14px; }
  .gallery-item .cap { display: none; }

  /* Horizontal chips */
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -18px; margin-right: -18px; padding: 4px 18px 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }

  /* Campaign */
  .campaign { border-radius: 24px; padding: 30px 22px; }
  .campaign-figure { flex-wrap: nowrap; }
  .campaign-figure .pill { flex: 1; min-width: 0; padding: 14px 16px; }
  .campaign-figure strong { font-size: 1.8rem; }
  .campaign .btn { width: 100%; justify-content: center; }

  /* Cards & misc */
  .post-card .body { padding: 18px 18px 22px; }
  .cta-band { border-radius: 24px; padding: 30px 22px; }
  .cta-band .hero-actions { width: 100%; }
  .cta-band .btn { flex: 1; justify-content: center; }
  .feature-img .tag { left: 12px; bottom: 12px; padding: 8px 12px; }
  .feature-img .tag img { width: 64px; }
  .partner { width: 150px; height: 92px; }
  .partner.funding { width: 220px; }
  .footer-grid { gap: 30px; }
  .site-footer { padding-top: 50px; }
  .prose { font-size: 1.03rem; }
  .article-cover { border-radius: 20px; margin-bottom: 24px; }
  .founder-quote { font-size: 1.5rem; }
  .map-wrap iframe { height: 300px; }
  .form-card { border-radius: 22px; }
  .info-card { padding: 18px; border-radius: 20px; }
  .post-featured .body { padding: 22px; }
  .vm-card { padding: 28px 22px; }
  .program-card { padding: 26px 22px; }
  .tl-card { padding: 18px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }
}

/* Swipeable carousels on small screens */
.swipe-dots { display: none; }
@media (max-width: 760px) {
  .swipe {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important;
    margin-left: -18px; margin-right: -18px; padding: 6px 18px 16px; scroll-padding: 0 18px; scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe.narrow > * { flex-basis: 62%; }
  .swipe .reveal { opacity: 1; transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 99px; background: #CDD3E1; transition: width .25s, background .25s; }
  .swipe-dots span.on { width: 22px; background: var(--orange); }
}
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.script { margin: 0 .12em 0 .04em; display: inline-block; }

/* ==========================================================================
   Donations
   ========================================================================== */
.donate-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.donate-card { position: relative; overflow: hidden; }
.donate-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--berry), var(--violet)); }
.donate-head h2 { font-size: 1.7rem; margin: 14px 0 20px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0 0 18px; }
.amount-btn { position: relative; cursor: pointer; }
.amount-btn input { position: absolute; opacity: 0; }
.amount-btn span {
  display: grid; place-items: center; height: 56px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg-cool);
  font-weight: 800; font-size: 1.05rem; color: var(--ink); transition: all .2s;
}
.amount-btn:hover span { border-color: var(--orange); }
.amount-btn input:checked + span { background: linear-gradient(135deg, var(--orange-btn), #B81E50); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -10px rgba(229,51,107,.8); }
.amount-btn input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
fieldset:disabled .amount-btn span { opacity: .55; cursor: not-allowed; }
.naira-input { position: relative; }
.naira-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 1.2rem; color: var(--orange); }
.naira-input input { padding-left: 2.2em !important; font-size: 1.25rem !important; font-weight: 800; }
.check-row { display: flex; gap: 10px; align-items: center; margin: 16px 0 4px; font-size: .95rem; color: var(--ink); cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--orange); }
.donate-submit { width: 100%; justify-content: center; margin-top: 18px; padding: 1.1em; font-size: 1.08rem; }
.donate-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.secure-note { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .86rem; color: var(--muted); }
.secure-note i.fa-shield-halved { color: var(--green-700); }
.pay-icons { display: flex; gap: 10px; font-size: 1.35rem; color: #9AA3BA; }
.notice-box { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sun-50); border: 1px solid #F4DC94; color: var(--ink); font-size: .95rem; margin-bottom: 18px; }
.notice-box i { color: #C98A00; margin-top: 4px; }

.donate-side { display: grid; gap: 20px; }
.progress-card, .impact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.progress-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.progress-top strong { font-size: 1.8rem; color: var(--ink); }
.progress-top span { color: var(--muted); }
.progress { height: 14px; border-radius: 99px; background: var(--bg-cool); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--sun), var(--orange)); }
.progress-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.impact-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.impact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.impact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.impact-list .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cbg); color: var(--c); }
.impact-list strong { color: var(--ink); }
.donor-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.donor-list li { display: flex; gap: 12px; align-items: center; }
.donor-list .avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--berry)); color: #fff; font-weight: 800; flex: none; }
.donor-list strong { display: block; color: var(--ink); line-height: 1.2; }
.donor-list small { color: var(--muted); }

.thanks { background: radial-gradient(circle at 20% 0%, var(--orange-50), transparent 50%), radial-gradient(circle at 90% 100%, var(--green-50), transparent 50%); }
.thanks-card { max-width: 680px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(30px, 5vw, 54px); border: 1px solid var(--line); }
.thanks-card h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 16px 0 12px; }
.thanks-icon { width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2.2rem; color: #fff; }
.thanks-icon.ok { background: linear-gradient(135deg, var(--orange), var(--berry)); box-shadow: 0 18px 30px -14px rgba(229,51,107,.8); animation: beat 1.6s ease-in-out infinite; }
.thanks-icon.wait { background: var(--sky); }
.thanks-icon.fail { background: var(--berry); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(1); } }
.receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; background: var(--bg-cool); border-radius: 18px; padding: 18px 20px; margin: 26px 0; }
.receipt div { min-width: 0; }
.receipt dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); }
.receipt dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); word-break: break-all; }

.campaign-progress { margin-top: 22px; max-width: 460px; }
.campaign-progress .progress { background: rgba(255,255,255,.25); }
.campaign-progress .progress span { background: #fff; }
.campaign-progress .progress-foot { color: #fff; }

@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .amount-btn span { height: 52px; font-size: 1rem; }
  .receipt { grid-template-columns: 1fr; }
  .progress-card, .impact-card { padding: 20px; }
}

/* ---------- Wider layout on desktop: bars and content share one wide, aligned column ---------- */
@media (min-width: 1081px) {
  :root { --container: 1440px; }
  .container { padding-left: clamp(24px, 3.5vw, 56px); padding-right: clamp(24px, 3.5vw, 56px); }
  .site-header .nav { gap: 6px; }
}

.quote-card .who .avatar { color: #fff; display: grid; place-items: center; line-height: 1; letter-spacing: .02em; }
.quote-card.c-sun .who .avatar { color: var(--ink); }

/* Links inside running text are underlined so they never rely on colour alone (WCAG 1.4.1) */
main p a:not(.btn):not(.link-arrow), .prose li a, .notice-box a, .info-card p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tts-bar.notice button, .tts-bar.notice select, .tts-bar.notice .tts-wave { display: none; }
.tts-bar.notice { padding: 14px 20px; border-radius: 18px; }
.tts-bar.notice .tts-status { max-width: min(520px, 80vw); white-space: normal; }

/* ---------- Overflow guards ----------
   Screen-reader-only text is absolutely positioned; inside a swipe carousel it must be contained by the
   carousel, otherwise text from off-screen cards stretches the page sideways on phones. */
.swipe, .post-card, .team-card, .core-card, .program-card, .quote-card { position: relative; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
/* Narrow phones (360px): let share buttons wrap and the search box shrink */
.share { flex-wrap: wrap; }
.article-footer > *, .toolbar > *, .article-layout > * { min-width: 0; }
@media (max-width: 720px) { .search { min-width: 0; width: 100%; } }
.footer-grid > *, .contact-grid > *, .form-grid > * { min-width: 0; }
.footer-contact span, .info-card a, .info-card p { overflow-wrap: anywhere; }
@media (max-width: 720px) { .toolbar { display: grid; grid-template-columns: minmax(0, 1fr); } }
