/* ==========================================================================
   Migwani Community — Redesign stylesheet (2026)
   Clean, fast, accessible. No framework dependencies.
   Brand: #bc211f (deep red)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --brand: #bc211f;
    --brand-dark: #8e1916;
    --brand-soft: #fbeceb;
    --ink: #1c1a19;
    --body: #43403d;
    --muted: #6f6a65;
    --bg: #ffffff;
    --bg-alt: #f7f5f2;
    --line: #e7e2db;
    --gold: #e0a93b;
    --green: #2f7d4f;

    --container: 1180px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(28, 26, 25, 0.08);
    --shadow-lg: 0 24px 60px rgba(28, 26, 25, 0.14);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --ff: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff);
    font-size: 17px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.22rem; color: var(--ink); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1rem; letter-spacing: .01em;
    padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(188,33,31,.28); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
    padding: 18px 0;
}
.site-header.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; font-weight: 900; font-size: 1.45rem; color: #fff; letter-spacing: -.02em; }
.brand span { color: #fff; }
.brand small { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-top: 5px; }
.site-header.scrolled .brand, .site-header.scrolled .brand span { color: var(--ink); }
.site-header.scrolled .brand .accent { color: var(--brand); }
.brand .accent { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
    color: #fff; font-weight: 700; font-size: .9rem; padding: 9px 10px; border-radius: 8px;
    transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.16); }
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-links a:hover, .site-header.scrolled .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-links .nav-donate a, .nav-links a.nav-cta {
    background: var(--brand); color: #fff !important; padding: 10px 22px; border-radius: 999px;
}
.nav-links a.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: 10px; list-style: none; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all .25s var(--ease);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { color: var(--ink) !important; background: transparent !important; display: block; padding: 10px 14px; border-radius: 8px; }
.dropdown-menu a:hover { color: var(--brand) !important; background: var(--brand-soft) !important; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20,12,11,.82) 0%, rgba(20,12,11,.55) 45%, rgba(20,12,11,.25) 100%);
    z-index: 1;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 40px; }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.92); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag { display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }

/* ==========================================================================
   Floating donate button
   ========================================================================== */
.float-donate {
    position: fixed; left: 22px; top: 40%; transform: translateY(-50%); z-index: 900;
    display: inline-flex; align-items: center; gap: 9px; background: var(--brand); color: #fff;
    padding: 14px 22px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow-lg);
    transition: transform .25s var(--ease), background .25s;
}
.float-donate:hover { background: var(--brand-dark); color: #fff; transform: translateY(-50%) scale(1.05); }
@media (max-width: 560px) {
    .float-donate { left: 14px; padding: 12px 18px; font-size: .92rem; }
}
.float-donate svg { width: 18px; height: 18px; fill: #fff; }

/* ==========================================================================
   About / intro
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-grid .lead { margin-bottom: 18px; }

/* ==========================================================================
   Program / project cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; font-size: 1.35rem; }
.card-body p { color: var(--muted); flex: 1; }
.card-link { margin-top: 16px; font-weight: 800; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.card:hover .card-link::after { transform: translateX(5px); }

/* ==========================================================================
   Mission / vision / motto
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 36px 30px; border: 1px solid var(--line); }
.pillar .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.pillar h3 { color: var(--brand); }

/* ==========================================================================
   Impact stats
   ========================================================================== */
.stats { background: var(--brand); color: #fff; }
.stats .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; color: #fff; }
.stat .num::after { content: "+"; font-size: .6em; vertical-align: super; opacity: .8; }
.stat p { margin: 12px 0 0; font-weight: 700; color: rgba(255,255,255,.9); font-size: .98rem; }

/* ==========================================================================
   Stories
   ========================================================================== */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.story-media { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-alt); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-date { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; border-radius: 10px; text-align: center; padding: 8px 12px; line-height: 1; }
.story-date span { display: block; font-size: 1.3rem; font-weight: 900; }
.story-date small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.story-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.story-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.story-body h3 a { color: var(--ink); }
.story-body h3 a:hover { color: var(--brand); }
.story-body p { color: var(--muted); font-size: .98rem; flex: 1; }
.skeleton { background: linear-gradient(90deg, #efece8 25%, #f7f5f2 50%, #efece8 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ==========================================================================
   Donate CTA band
   ========================================================================== */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,12,11,.78), rgba(20,12,11,.78)); z-index: 1; }
.cta-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 28px; font-size: 1.12rem; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter { display: flex; gap: 12px; max-width: 520px; margin: 22px auto 0; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1; min-width: 220px; padding: 15px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 1rem; font-family: inherit; }
.newsletter input:focus { outline: none; border-color: var(--brand); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; }
.contact-info-item h4 { margin: 0 0 4px; }
.contact-info-item p { margin: 0; color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem; margin-bottom: 16px; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-msg { margin-top: 8px; font-weight: 700; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--brand); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #181513; color: #c9c3bc; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand .accent { color: var(--brand); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c9c3bc; }
.footer-links a:hover { color: #fff; }
.social-list { display: flex; gap: 12px; list-style: none; margin-top: 18px; }
.social-list a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.social-list a:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: #8e8881; }
.footer-bottom a { color: #8e8881; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Page banner (interior pages)
   ========================================================================== */
.page-banner { position: relative; padding: 160px 0 70px; color: #fff; text-align: center; background: var(--ink); }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,12,11,.7), rgba(20,12,11,.78)); z-index: 1; }
.page-banner .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { list-style: none; display: flex; gap: 8px; justify-content: center; color: rgba(255,255,255,.75); font-size: .92rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .6; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; list-style: none; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--ink); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.disabled { opacity: .4; pointer-events: none; }
.pagination span { border: 0; background: transparent; }

/* ==========================================================================
   Single story (article)
   ========================================================================== */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-hero { width: 100%; border-radius: var(--radius); margin: 0 0 30px; box-shadow: var(--shadow); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--body); }
.article-body h2, .article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.article-body p { margin-bottom: 1.2em; }
.article-body a { text-decoration: underline; }
.share-row { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-row a { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--ink); }
.share-row a:hover { background: var(--brand); color: #fff; }
.share-row strong { margin-right: 4px; }

.story-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.sidebar-widget { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.sidebar-widget h3 { font-size: 1.15rem; margin-bottom: 18px; }
.recent-list { list-style: none; }
.recent-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: 0; }
.recent-list img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; flex: 0 0 70px; background: #e7e2db; }
.recent-list .rl-date { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.recent-list h4 { font-size: .95rem; margin: 3px 0 0; line-height: 1.35; }
.recent-list h4 a { color: var(--ink); }
.recent-list h4 a:hover { color: var(--brand); }
@media (max-width: 880px) { .story-layout { grid-template-columns: 1fr; } .sidebar-widget { position: static; } }

/* ==========================================================================
   Donate page
   ========================================================================== */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.donate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.donate-card-media { aspect-ratio: 16/10; overflow: hidden; }
.donate-card-media img { width: 100%; height: 100%; object-fit: cover; }
.donate-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.donate-card-body .tag { display: inline-block; align-self: center; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.donate-card-body h3 { text-align: center; font-size: 1.4rem; margin-bottom: 8px; }
.donate-card-body > p { text-align: center; color: var(--muted); }
.btn-paypal { width: 100%; justify-content: center; background: #ffc439; color: #142c8e; border-color: #ffc439; margin: 6px 0 18px; }
.btn-paypal:hover { background: #f0b72e; border-color: #f0b72e; color: #142c8e; transform: translateY(-2px); }
.pay-method { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.pay-method + .pay-method { margin-top: 16px; }
.pay-method h4 { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin-bottom: 8px; }
.pay-method .mpesa-logo { height: 30px; width: auto; }
.pay-method ul { list-style: none; font-size: .94rem; }
.pay-method li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.pay-method li:last-child { border-bottom: 0; }
.pay-method li span { color: var(--ink); font-weight: 700; }
@media (max-width: 880px) { .donate-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ==========================================================================
   Gallery grid
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; padding: 30px 18px 16px; font-weight: 700; font-size: .95rem; transform: translateY(8px); opacity: 0; transition: all .3s var(--ease); }
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ==========================================================================
   Program page — checklist + split
   ========================================================================== */
.checklist { list-style: none; }
.checklist li { position: relative; padding: 0 0 14px 38px; color: var(--body); }
.checklist li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--brand);
    position: absolute; left: 0; top: 2px; width: 26px; height: 26px; background: var(--brand-soft);
    border-radius: 50%; display: grid; place-items: center; font-size: .72rem;
}
.checklist li strong { color: var(--ink); display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3; }
.split.reverse .media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.reverse .media { order: 0; } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .cards, .pillars, .stories-grid { grid-template-columns: repeat(2, 1fr); }
    .stats .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; flex-direction: column;
        align-items: stretch; padding: 90px 22px 30px; gap: 4px; transform: translateX(100%);
        transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { color: var(--ink); padding: 14px 12px; border-radius: 8px; font-size: 1rem; }
    .nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
    body.nav-open { overflow: hidden; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; opacity: 0; visibility: hidden; transition: .3s; }
    .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 760px) {
    .section { padding: 64px 0; }
    body { font-size: 16px; }
}
@media (max-width: 560px) {
    .cards, .pillars, .stories-grid, .gallery-grid { grid-template-columns: 1fr; }
    .stats .stats-grid { grid-template-columns: 1fr 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 88vh; }
}
