/* ==========================================================================
   AJPRODHO–JIJUKIRWA — public website styles
   Brand: forest green (primary), leaf green (secondary), sun orange (accent)
   ========================================================================== */

:root {
    --primary: #124026;
    --primary-deep: #0b2a19;
    --secondary: #379f47;
    --accent: #ffa100;
    --accent-deep: #e06a14;
    --blue: #0986c0;
    --ink: #10231a;
    --text: #44524b;
    --muted: #6d7c74;
    --line: #e2e9e4;
    --bg: #ffffff;
    --bg-soft: #f4f8f3;
    --bg-cream: #fbf8f1;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(16, 35, 26, .06);
    --shadow: 0 14px 40px rgba(16, 35, 26, .10);
    --shadow-lg: 0 30px 70px rgba(16, 35, 26, .16);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --container: 1240px;
    --header-h: 86px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .9em 1.7em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--secondary); color: #fff; box-shadow: 0 10px 24px rgba(55, 159, 71, .3); }
.btn-primary:hover { background: var(--primary); color: #fff; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-deep); color: #fff; }
.btn-accent { background: var(--accent); color: var(--primary-deep); box-shadow: 0 10px 24px rgba(255, 161, 0, .3); }
.btn-accent:hover { background: #ffb52e; color: var(--primary-deep); }
.btn-outline { border-color: currentColor; color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--primary); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-deep); color: rgba(255,255,255,.8); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 30px; height: 30px; border-radius: 50%; justify-content: center; background: rgba(255,255,255,.08); }
.topbar-social a i { color: #fff; }
.topbar-social a:hover { background: var(--accent); }
.topbar-social a:hover i { color: var(--primary-deep); }

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16,35,26,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 1.08rem; font-weight: 800; color: var(--primary); letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: .68rem; color: var(--muted); font-weight: 600; max-width: 215px; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
    display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-radius: 10px;
    color: var(--ink); font-weight: 650; font-size: .92rem; position: relative; white-space: nowrap;
}
.main-nav > ul > li > a .caret { font-size: .7rem; transition: transform .25s; }
.main-nav > ul > li > a::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left;
}
.main-nav > ul > li:hover > a, .main-nav > ul > li.active > a { color: var(--secondary); }
.main-nav > ul > li.active > a::after, .main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.main-nav > ul > li:hover .caret { transform: rotate(180deg); }
.submenu-toggle { display: none; }
.dropdown {
    list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 20;
}
.dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.dropdown a i { color: var(--secondary); font-size: 1rem; width: 18px; text-align: center; }
.dropdown a:hover { background: var(--bg-soft); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-nav-head, .mobile-donate { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-toggle span:nth-child(2) { width: 70%; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11,42,25,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }

/* ---------- Notices ---------- */
.notice { margin: 18px 0; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.notice-success { background: #e8f6ea; color: #1c6118; border: 1px solid #bfe3c4; }
.notice-error { background: #fdecea; color: #a12a1b; border: 1px solid #f5c2bc; }
.notice-info { background: #e8f3fb; color: #0b5f87; border: 1px solid #bcdcf0; }

/* ---------- Section scaffolding ---------- */
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }
.section-dark { background: var(--primary); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.72); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head-row .section-head { margin: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
    font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-dark .eyebrow { color: var(--accent); }
.highlight { color: var(--secondary); font-family: var(--font-display); font-weight: 700; font-style: italic; letter-spacing: -.01em; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: clamp(580px, 86vh, 820px); background: var(--primary-deep); overflow: hidden; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8,32,19,.94) 0%, rgba(11,42,25,.82) 38%, rgba(11,42,25,.35) 70%, rgba(11,42,25,.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 80px 0 140px; }
.hero-content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero-slide.active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.active .hero-content > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.active .hero-content > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.active .hero-content > *:nth-child(4) { transition-delay: .45s; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .85rem; margin-bottom: 22px; backdrop-filter: blur(6px); }
.hero-eyebrow i { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--primary-deep); display: inline-flex; align-items: center; justify-content: center; }
.hero h1, .hero h2.hero-title { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.07; margin-bottom: 22px; }
.hero p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls { position: absolute; z-index: 5; bottom: 120px; right: max(20px, calc((100vw - var(--container)) / 2 + 20px)); display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: all .35s; padding: 0; }
.hero-dots button.active { width: 38px; background: var(--accent); }
.hero-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: .25s; font-size: 1.1rem; }
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-deep); }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--accent); z-index: 6; width: 0; }

/* ---------- Stats band ---------- */
.stats-wrap { position: relative; z-index: 10; margin-top: -78px; }
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 34px 28px; display: flex; align-items: center; gap: 18px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.stat-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-soft); color: var(--secondary); flex-shrink: 0; transition: .3s; }
.stat:hover .stat-icon { background: var(--secondary); color: #fff; transform: rotate(-6deg); }
.stat-num { font-size: 2.3rem; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.03em; }
.stat-num sup { font-size: 1.3rem; color: var(--accent-deep); top: -.6em; }
.stat-label { font-size: .88rem; color: var(--muted); font-weight: 600; line-height: 1.35; margin-top: 6px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-top { align-items: start; }
.split-top .collage { position: sticky; top: calc(var(--header-h) + 30px); }
.collage { position: relative; padding: 0 60px 70px 0; }
.collage-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.collage-main img, .collage-sub img { width: 100%; height: 100%; object-fit: cover; }
.collage-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.collage-badge {
    position: absolute; left: -22px; bottom: 44px; background: var(--accent); color: var(--primary-deep);
    padding: 20px 24px; border-radius: 20px; box-shadow: var(--shadow); text-align: center; line-height: 1.1;
    animation: float 5s ease-in-out infinite;
}
.collage-badge strong { display: block; font-size: 2.2rem; font-weight: 800; }
.collage-badge span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.collage-dots { position: absolute; top: -26px; left: -26px; width: 120px; height: 120px; background-image: radial-gradient(var(--secondary) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .35; z-index: -1; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lead { font-size: 1.12rem; color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list li i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #e7f4e9; color: var(--secondary); display: grid; place-items: center; font-size: .85rem; margin-top: 1px; }
.founded-card { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--accent); margin: 26px 0 30px; }
.founded-card i { font-size: 1.6rem; color: var(--accent-deep); }
.founded-card h4 { margin: 0 0 4px; font-size: 1rem; }
.founded-card p { margin: 0; font-size: .95rem; }

/* ---------- Focus area cards ---------- */
.focus-card {
    position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px 30px; border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; display: flex; flex-direction: column; height: 100%;
    color: var(--text);
}
.focus-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--secondary)); transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease); }
.focus-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.focus-card:hover::before { transform: scaleX(1); }
.focus-icon {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px;
    color: var(--c, var(--secondary)); background: color-mix(in srgb, var(--c, #379f47) 12%, white); transition: .35s;
}
.focus-card:hover .focus-icon { background: var(--c, var(--secondary)); color: #fff; transform: scale(1.06) rotate(-4deg); }
.focus-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.focus-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.focus-card .num { position: absolute; right: 22px; top: 18px; font-size: 3rem; font-weight: 800; color: var(--bg-soft); line-height: 1; letter-spacing: -.04em; }

/* ---------- What we do (dark band) ---------- */
.wwd { overflow: hidden; }
.wwd::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(55,159,71,.35), transparent 70%); right: -160px; top: -160px; }
.wwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.wwd-cards { display: grid; gap: 16px; }
.wwd-item { display: flex; gap: 18px; align-items: center; padding: 18px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; transition: .3s; }
.wwd-item:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.wwd-item b { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.05rem; }
.wwd-item span { color: #fff; font-weight: 600; }
.wwd-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); }
.wwd-image img { width: 100%; height: 100%; object-fit: cover; }
.how-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.how-list li { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .9rem; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.how-list li i { color: var(--accent); }

/* ---------- Project cards ---------- */
.card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--primary); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--secondary); }
.card-body p { font-size: .95rem; color: var(--muted); flex: 1; }
.card-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.card-meta i { color: var(--secondary); margin-right: 4px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 8px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #e7f4e9; color: var(--secondary); }
.status-pill.completed { background: #eef1f5; color: #4b5563; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- News ---------- */
.news-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.news-list { display: grid; gap: 22px; align-content: start; }
.news-mini { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .3s; }
.news-mini:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.news-mini h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 6px; }
.news-mini h3 a { color: var(--ink); }
.news-mini .card-meta { margin: 0; }
.date-badge { position: absolute; left: 16px; bottom: 16px; background: var(--accent); color: var(--primary-deep); border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1; font-weight: 800; }
.date-badge b { display: block; font-size: 1.4rem; }
.date-badge small { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Donate CTA ---------- */
.cta-donate { position: relative; overflow: hidden; color: #fff; padding: 110px 0; }
.cta-donate .bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: scroll; transform: translateZ(0); backface-visibility: hidden; }
.cta-donate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,32,19,.95) 0%, rgba(18,64,38,.85) 55%, rgba(18,64,38,.6) 100%); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.cta-box { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.cta-box h3 { margin-bottom: 6px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.amount-btn { padding: 14px 8px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 800; color: var(--ink); cursor: pointer; transition: .2s; font-size: .95rem; }
.amount-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.amount-btn.active { border-color: var(--secondary); background: var(--secondary); color: #fff; }

/* ---------- Publications ---------- */
.pub-card { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s; height: 100%; }
.pub-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pub-cover { border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-soft); box-shadow: 0 10px 22px rgba(16,35,26,.15); align-self: start; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-cover.placeholder { display: grid; place-items: center; font-size: 2.6rem; color: var(--secondary); }
.pub-body { display: flex; flex-direction: column; min-width: 0; }
.pub-cat { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.pub-body h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 8px; }
.pub-body p { font-size: .9rem; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pub-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-tabs a, .filter-tabs button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; cursor: pointer; transition: .2s; }
.filter-tabs a:hover, .filter-tabs button:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-tabs .active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-tabs .active:hover { color: #fff; }
.filter-tabs .count { opacity: .6; margin-left: 4px; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; display: block; }
.gallery-item img { width: 100%; transition: transform .6s var(--ease); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(8,32,19,.85)); opacity: 0; transition: .35s; }
.gallery-item figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; font-size: .92rem; opacity: 0; transform: translateY(10px); transition: .35s; }
.gallery-item figcaption small { display: block; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.gallery-strip .gallery-item { margin: 0; border-radius: 0; aspect-ratio: 1; background: var(--primary-deep); }
.gallery-strip .gallery-item img { height: 100%; object-fit: cover; }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,20,12,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; padding: 60px 70px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.3rem; cursor: pointer; transition: .2s; }
.lightbox button:hover { background: var(--accent); color: var(--primary-deep); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Get involved ---------- */
.involve-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.involve-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.involve-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,32,19,.1) 10%, rgba(8,32,19,.92) 85%); }
.involve-card:hover img { transform: scale(1.08); }
.involve-body { padding: 30px; }
.involve-body i.big { width: 54px; height: 54px; border-radius: 14px; background: var(--accent); color: var(--primary-deep); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.involve-body h3 { color: #fff; margin-bottom: 8px; }
.involve-body p { color: rgba(255,255,255,.82); font-size: .95rem; }
.involve-body .link-arrow { color: var(--accent); }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 50px; }
.partners a, .partners span { display: block; filter: grayscale(1); opacity: .7; transition: .3s; }
.partners a:hover { filter: none; opacity: 1; }
.partners img { max-height: 64px; width: auto; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 120px 0 110px; color: #fff; overflow: hidden; background: var(--primary-deep); }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; transform: scale(1.04); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,32,19,.95) 15%, rgba(18,64,38,.7) 60%, rgba(18,64,38,.35)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 12px; max-width: 900px; }
.page-hero p { color: rgba(255,255,255,.84); font-size: 1.12rem; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; font-weight: 600; }
.breadcrumb a { color: var(--accent); }
.breadcrumb li { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: '\F285'; font-family: bootstrap-icons; font-size: .7rem; color: rgba(255,255,255,.5); }
.page-hero-shape { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.page-hero-shape svg { width: 100%; height: 50px; display: block; }

/* ---------- Content / prose ---------- */
.prose { font-size: 1.06rem; color: var(--text); }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0; width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 22px 28px; border-left: 4px solid var(--accent); background: var(--bg-cream); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-family: var(--font-display); font-style: italic; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .post-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.prose .post-gallery figure { margin: 0; }
.prose .post-gallery img { aspect-ratio: 1; object-fit: cover; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 26px; }
.widget { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.widget h4 { font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.widget h4::before { content: ''; width: 4px; height: 18px; background: var(--accent); border-radius: 4px; }
.widget-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.widget-post { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.widget-post img { width: 76px; height: 64px; object-fit: cover; border-radius: 10px; }
.widget-post a { color: var(--ink); font-weight: 700; font-size: .9rem; line-height: 1.35; display: block; }
.widget-post a:hover { color: var(--secondary); }
.widget-post small { color: var(--muted); font-size: .78rem; }
.widget-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: #fff; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.widget-links a:hover, .widget-links a.active { background: var(--primary); color: #fff; }
.widget-cta { background: var(--primary); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.widget-cta h4 { color: #fff; }
.widget-cta::after { content: '\F417'; font-family: bootstrap-icons; position: absolute; right: -10px; bottom: -30px; font-size: 8rem; opacity: .08; color: #fff; }
.search-form { display: flex; background: #fff; border-radius: 999px; padding: 5px; border: 1px solid var(--line); }
.search-form input { flex: 1; border: 0; background: transparent; padding: 8px 14px; outline: none; min-width: 0; }
.search-form button { border: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--secondary); color: #fff; cursor: pointer; }

.article-head { margin-bottom: 30px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.article-meta i { color: var(--secondary); margin-right: 6px; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.share strong { color: var(--ink); margin-right: 6px; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); transition: .2s; }
.share a:hover { background: var(--primary); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.post-nav a { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); font-weight: 700; line-height: 1.4; transition: .2s; }
.post-nav a small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.post-nav a:hover { border-color: var(--secondary); color: var(--secondary); }
.post-nav a.next { text-align: right; grid-column: 2; }

/* ---------- Mission / vision / values ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mvv-card { padding: 38px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: .35s; }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mvv-card .icon { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: var(--secondary); margin-bottom: 22px; }
.mvv-card:nth-child(2) .icon { background: var(--accent); color: var(--primary-deep); }
.mvv-card:nth-child(3) .icon { background: var(--primary); }
.mvv-card p { font-size: 1.04rem; margin: 0; }
.values-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.values-tags span { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--primary); font-weight: 700; font-size: .9rem; }

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 30px 22px 26px; border: 1px solid var(--line); transition: .35s; height: 100%; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; position: relative; padding: 5px; background: conic-gradient(var(--secondary), var(--accent), var(--secondary)); }
.team-photo img, .team-photo .initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.team-photo .initials { display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 2.2rem; font-weight: 800; letter-spacing: .02em; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--secondary); font-weight: 700; font-size: .88rem; }
.team-card p.bio { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.team-links { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.team-links a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); }
.team-links a:hover { background: var(--primary); color: #fff; }

/* ---------- Approaches ---------- */
.approach-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; gap: 20px; align-items: flex-start; transition: .35s; height: 100%; }
.approach-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.approach-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--c, var(--secondary)); box-shadow: 0 10px 20px -8px var(--c, var(--secondary)); }
.approach-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.approach-card p { font-size: .94rem; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.field label .req { color: #d14b33; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcfb; color: var(--ink);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); background: #fff; box-shadow: 0 0 0 4px rgba(55,159,71,.14); }
.field small { color: var(--muted); font-size: .8rem; }
.field input[type=file] { padding: 10px; background: var(--bg-soft); border-style: dashed; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--secondary); }
.form-errors { background: #fdecea; border: 1px solid #f5c2bc; color: #a12a1b; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.contact-card { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; transition: .3s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card i { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.5rem; background: var(--bg-soft); color: var(--secondary); transition: .3s; }
.contact-card:hover i { background: var(--secondary); color: #fff; }
.contact-card h4 { margin-bottom: 8px; font-size: 1rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .93rem; color: var(--text); word-break: break-word; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; min-height: 100%; box-shadow: var(--shadow); background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Donate page ---------- */
.donate-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.donate-steps { display: flex; gap: 6px; background: var(--bg-soft); padding: 6px; border-radius: 999px; margin-bottom: 24px; }
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: 14px; }
.toggle-group label, .method-option { margin: 0; position: relative; display: block; }
.toggle-group input, .method-option input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.toggle-group span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; font-weight: 700; cursor: pointer; color: var(--muted); transition: .2s; text-align: center; }
.toggle-group input:checked + span { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.toggle-group input:focus-visible + span { outline: 3px solid var(--accent); }
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.method-option span { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 2px solid var(--line); cursor: pointer; transition: .2s; height: 100%; }
.method-option span i { font-size: 1.5rem; color: var(--secondary); }
.method-option span b { color: var(--ink); font-size: .95rem; }
.method-option span small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.method-option input:checked + span { border-color: var(--secondary); background: #f1f9f2; }
.method-option input:focus-visible + span { outline: 3px solid var(--accent); }
.amount-input { position: relative; }
.amount-input .cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.amount-input input { padding-left: 64px; font-size: 1.2rem; font-weight: 800; }
.donate-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.impact-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff; padding: 34px; isolation: isolate; }
.impact-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.impact-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(18,64,38,.9), rgba(8,32,19,.97)); }
.impact-card h3 { color: #fff; }
.impact-card .check-list li { color: #fff; font-weight: 500; }
.impact-card .check-list li i { background: var(--accent); color: var(--primary-deep); }
.pay-details { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; }
.pay-details h4 { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.pay-details h4 i { color: var(--secondary); }
.pay-details dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 6px; font-size: .92rem; }
.pay-details dt { color: var(--muted); font-weight: 600; }
.pay-details dd { margin: 0; color: var(--ink); font-weight: 700; word-break: break-word; }
.receipt { max-width: 760px; margin: 0 auto; text-align: center; }
.receipt-icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; font-size: 2.8rem; background: #e7f4e9; color: var(--secondary); animation: pop .6s var(--ease); }
.receipt-icon.warn { background: #fff4e0; color: var(--accent-deep); }
.receipt-icon.fail { background: #fdecea; color: #c0392b; }
.receipt .ref { display: inline-block; padding: 10px 18px; background: var(--bg-soft); border-radius: 12px; font-weight: 800; color: var(--primary); letter-spacing: .05em; margin: 6px 0 24px; }
.receipt .pay-details { text-align: left; margin: 26px 0; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Jobs ---------- */
.job-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s; }
.job-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.job-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--bg-soft); color: var(--secondary); display: grid; place-items: center; font-size: 1.5rem; }
.job-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.job-card .card-meta { margin: 0; }
.job-details { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: none; }
.job-card.open .job-details { display: block; }
.empty-state { text-align: center; padding: 60px 30px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 2px dashed var(--line); }
.empty-state i { font-size: 3rem; color: var(--secondary); display: block; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.download-box { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-cream); border: 1px solid #f1e6cc; margin: 26px 0; }
.download-box i.bi-file-earmark-word, .download-box i.bi-file-earmark-pdf, .download-box i.bi-file-earmark-arrow-down { font-size: 2.4rem; color: var(--accent-deep); }
.download-box div { flex: 1; }
.download-box strong { display: block; color: var(--ink); }
.download-box small { color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.pagination a:hover { border-color: var(--secondary); color: var(--secondary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border: 0; }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 2px); background-size: 22px 22px; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 46px; padding-bottom: 46px; position: relative; flex-wrap: wrap; }
.newsletter-text { display: flex; gap: 18px; align-items: center; }
.newsletter-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.newsletter h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.newsletter p { margin: 0; color: rgba(255,255,255,.88); }
.newsletter-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; flex: 0 1 480px; min-width: 0; }
.newsletter-form input[type=email] { flex: 1; border: 0; background: transparent; padding: 10px 18px; outline: none; color: var(--ink); min-width: 0; }
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.7); padding-top: 80px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: 50px; padding-bottom: 60px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; color: #fff; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand strong { display: block; font-size: 1.1rem; }
.footer-brand small { display: block; color: rgba(255,255,255,.6); font-size: .74rem; line-height: 1.35; }
.site-footer h4 { color: #fff; font-size: 1.08rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.footer-col ul a { display: inline-flex; gap: 8px; transition: .2s; }
.footer-col ul a:hover { transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-contact a { word-break: break-word; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.footer-social a:hover { background: var(--accent); color: var(--primary-deep); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--accent); color: var(--primary-deep); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .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) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.05em; }
.error-page .code span { color: var(--accent); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
    .brand-text small { display: none; }
    .main-nav > ul > li > a { padding: 10px 9px; }
}
@media (max-width: 1200px) {
    .main-nav > ul > li > a { padding: 10px 7px; font-size: .88rem; }
    .btn-donate { padding: .8em 1.2em; }
}
@media (max-width: 1080px) {
    :root { --header-h: 74px; }
    .nav-toggle { display: flex; }
    /* Off-canvas menu: revealed with clip-path so the closed panel never widens the page */
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 200;
        clip-path: inset(0 0 0 100%); visibility: hidden;
        transition: clip-path .4s var(--ease), visibility 0s linear .4s; overflow-y: auto; padding: 18px 20px 30px;
        display: flex; flex-direction: column;
    }
    body.nav-open .main-nav { clip-path: inset(0); visibility: visible; transition: clip-path .4s var(--ease), visibility 0s; box-shadow: var(--shadow-lg); }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    /* No blur on small screens: backdrop-filter traps the fixed menu inside the header
       and forces a repaint on every scroll frame (the flicker). */
    .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    body.nav-open .site-header { z-index: 160; }
    .mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
    .nav-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .main-nav > ul > li > a { flex: 1; padding: 14px 4px; font-size: 1rem; }
    .main-nav > ul > li > a::after, .main-nav .caret { display: none; }
    .submenu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--bg-soft); cursor: pointer; color: var(--primary); transition: transform .3s; }
    li.sub-open .submenu-toggle { transform: rotate(180deg); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 6px; min-width: 0; width: 100%; display: none; }
    li.sub-open > .dropdown { display: block; }
    .mobile-donate { display: flex; margin-top: 24px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .split, .wwd-grid, .cta-inner, .donate-layout, .layout-sidebar { grid-template-columns: 1fr; gap: 50px; }
    .split.reverse > :first-child { order: 0; }
    .sidebar, .donate-aside, .split-top .collage { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .news-featured { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: repeat(3, 1fr); }
    /* Fade only (no slide) so elements never push the page height while scrolling */
    .js .reveal { transform: none; transition: opacity .6s ease; }
    .reveal-d1, .reveal-d2, .reveal-d3 { transition-delay: 0s; }
}
@media (hover: none) {
    .gallery-item:hover img { transform: none; }
}
@media (max-width: 860px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .mvv { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }
    .hide-md { display: none !important; }
    .section { padding: 80px 0; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .topbar-contact a:nth-child(2) { display: none; }
    .brand img { width: 48px; height: 48px; }
    .brand-text strong { font-size: .95rem; }
    .btn-donate span { display: none; }
    .btn-donate { padding: 0; width: 46px; height: 46px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid, .contact-cards { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { flex-direction: column; text-align: center; padding: 24px 12px; gap: 10px; }
    .stat-num { font-size: 1.9rem; }
    .hero-content { padding: 60px 0 150px; }
    .hero-controls { bottom: 104px; left: 16px; right: auto; }
    .collage { padding: 0 30px 50px 0; }
    .collage-badge { left: 8px; bottom: 20px; padding: 14px 16px; }
    .collage-badge strong { font-size: 1.6rem; }
    .pub-card { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
    .news-mini { grid-template-columns: 110px 1fr; }
    .job-card { grid-template-columns: 1fr; }
    .job-icon { display: none; }
    .form-card { padding: 26px 20px; }
    .page-hero { padding: 80px 0 80px; }
    .section { padding: 64px 0; }
    .gallery-grid { columns: 1; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav a.next { grid-column: auto; }
    .newsletter-form { flex-basis: 100%; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox { padding: 60px 10px; }
}
