/* ==========================================================================
   PACE for Social Change — custom theme
   Palette: deep forest green, warm ivory, lime & gold accents
   Type: Fraunces (display) + Manrope (body)
   ========================================================================== */

/* ---------- Reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

:root {
    --ink: #0d1f18;
    --ink-soft: #45594f;
    --ink-faint: #5b6d63;
    --green-900: #06392a;
    --green-800: #08482f;
    --green-700: #0b5b3e;
    --green-600: #0f7150;
    --green-500: #16966a;
    --green-100: #dff1e7;
    --lime: #c9f27b;
    --gold: #f2b84b;
    --coral: #e86a4a;
    --cream: #fbf7ef;
    --cream-2: #f2ebdd;
    --white: #ffffff;
    --line: rgba(13, 31, 24, 0.12);
    --line-light: rgba(251, 247, 239, 0.16);
    --shadow-sm: 0 10px 30px -18px rgba(6, 57, 42, 0.35);
    --shadow-md: 0 28px 60px -30px rgba(6, 57, 42, 0.4);
    --shadow-lg: 0 40px 100px -40px rgba(6, 57, 42, 0.5);
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 34px;
    --radius-pill: 999px;
    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
    --container: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 5.6vw, 4.7rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
h4 { font-size: 1.05rem; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--cream-2); }
.section-dark { background: var(--green-900); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark p { color: rgba(251, 247, 239, 0.75); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 0; }
.section-head-note {
    max-width: 340px;
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0;
    padding-bottom: 0.35rem;
}
.section-head-light .section-head-note { color: rgba(251, 247, 239, 0.7); }

.split {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.split-top { align-items: start; }

/* ---------- Typography bits ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-600);
    margin: 0 0 1rem;
}
.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 4px rgba(22, 150, 106, 0.16);
}
.eyebrow-light { color: var(--lime); }
.eyebrow-light .dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 242, 123, 0.18); }

.lede {
    font-size: clamp(1.06rem, 1.6vw, 1.22rem);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 36rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--green-700);
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 0.15rem;
    transition: gap 0.25s var(--ease), color 0.2s;
}
.text-link:hover { gap: 0.8rem; color: var(--green-500); }
.text-link .icon { width: 16px; height: 16px; }

.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.icon-sm { width: 16px; height: 16px; }
.icon-flip { transform: rotate(180deg); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed;
    top: -100px; left: 1rem;
    z-index: 200;
    background: var(--ink);
    color: var(--cream);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.93rem;
    line-height: 1;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--green-700);
    color: var(--cream);
    box-shadow: 0 16px 30px -16px rgba(11, 91, 62, 0.6);
}
.btn-primary:hover { background: var(--green-600); }
.btn-accent {
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 16px 30px -18px rgba(201, 242, 123, 0.7);
}
.btn-accent:hover { background: #d7f798; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(13, 31, 24, 0.04); }
.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(251, 247, 239, 0.45);
}
.btn-outline-light:hover { border-color: var(--cream); background: rgba(251, 247, 239, 0.1); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 247, 239, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
    background: rgba(251, 247, 239, 0.96);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(6, 57, 42, 0.5);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-logo {
    width: auto;
    height: 58px;
    object-fit: contain;
}
.brand-word {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--green-700);
}
.brand-word span {
    font-family: var(--font-body);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 0.34rem;
}
.brand-word-light { color: var(--lime); }
.brand-word-light span { color: rgba(251, 247, 239, 0.7); }

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.nav-list { display: flex; align-items: center; gap: 0.2rem; }
.nav-list a {
    display: block;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-soft);
    transition: color 0.2s, background 0.2s;
}
.nav-list a:hover { color: var(--green-700); background: rgba(11, 91, 62, 0.07); }
.nav-list a[aria-current="page"] { color: var(--green-700); background: rgba(11, 91, 62, 0.09); }
.nav-donate { padding: 0.8rem 1.3rem; font-size: 0.87rem; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle-close { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: 620px; height: 620px;
    right: -180px; top: -220px;
    background: radial-gradient(circle, rgba(201, 242, 123, 0.5) 0%, rgba(201, 242, 123, 0) 65%);
    filter: blur(10px);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em {
    font-style: italic;
    color: var(--green-600);
    background: linear-gradient(180deg, transparent 62%, rgba(201, 242, 123, 0.55) 62%);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.6rem; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-badges .icon { color: var(--green-600); }

.hero-media { position: relative; }
.hero-image {
    position: relative;
    border-radius: 160px var(--radius-lg) var(--radius-lg) var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5 / 4.4;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 57, 42, 0.05) 30%, rgba(6, 57, 42, 0.42));
}
.hero-card {
    position: absolute;
    left: -22px; bottom: 34px;
    background: var(--white);
    border-radius: 20px;
    padding: 1.1rem 1.3rem;
    box-shadow: var(--shadow-md);
    max-width: 220px;
}
.hero-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    color: var(--green-700);
}
.hero-card strong span { color: var(--gold); }
.hero-card p {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink-soft);
}
.hero-pill {
    position: absolute;
    top: 22px; right: -14px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 0.5rem 0.9rem;
    font-size: 0.74rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.hero-pill .icon { color: var(--green-600); }

/* ---------- Stats ---------- */
.stats-band {
    background: var(--green-900);
    color: var(--cream);
    padding: 2.2rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat {
    padding-left: 1.4rem;
    border-left: 1px solid var(--line-light);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1;
    margin: 0 0 0.35rem;
    color: var(--lime);
    letter-spacing: -0.02em;
}
.stat-label {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(251, 247, 239, 0.7);
}

/* ---------- Media stacks ---------- */
.media-stack { position: relative; padding-bottom: 2.2rem; }
.media-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3.3;
}
.media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-small {
    position: absolute;
    right: -18px; bottom: 0;
    width: 46%;
    border: 6px solid var(--cream);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--cream);
}
.media-small img { width: 100%; height: 100%; object-fit: cover; }
.media-stack-alt .media-small { border-color: var(--cream); }
.media-chip {
    position: absolute;
    left: -16px; top: 24px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1rem 0.55rem 0.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    max-width: 270px;
}
.media-chip-icon {
    display: grid; place-items: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
}
.media-chip-icon .icon { width: 17px; height: 17px; }

/* ---------- Mini cards / mission ---------- */
.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.6rem 0 1.8rem;
}
.mini-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem 1.25rem;
}
.mini-card h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.5rem;
}
.mini-card p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Focus cards ---------- */
.focus-section { overflow: hidden; }
.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.focus-card {
    position: relative;
    padding: 1.7rem 1.4rem 1.5rem;
    border: 1px solid var(--line-light);
    border-radius: 20px;
    background: rgba(251, 247, 239, 0.03);
    transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
    overflow: hidden;
}
.focus-card:hover {
    background: rgba(251, 247, 239, 0.08);
    border-color: rgba(201, 242, 123, 0.4);
    transform: translateY(-4px);
}
.focus-icon {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(201, 242, 123, 0.12);
    color: var(--lime);
    margin-bottom: 1.6rem;
}
.focus-icon .icon { width: 24px; height: 24px; }
.focus-index {
    position: absolute;
    top: 1.1rem; right: 1.2rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: rgba(251, 247, 239, 0.62);
}
.focus-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.focus-card p { margin: 0; font-size: 0.83rem; line-height: 1.5; color: rgba(251, 247, 239, 0.62); }

.values-marquee {
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.values-track {
    display: flex;
    gap: 0.7rem;
    width: max-content;
    animation: marquee 45s linear infinite;
}
.values-marquee:hover .values-track { animation-play-state: paused; }
.value-pill {
    border: 1px solid var(--line-light);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(251, 247, 239, 0.8);
    white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Featured project ---------- */
.featured-project { background: var(--cream-2); }
.project-media { position: relative; padding-bottom: 2rem; }
.project-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}
.project-main img, .project-small img { width: 100%; height: 100%; object-fit: cover; }
.project-small {
    position: absolute;
    right: -16px; bottom: 0;
    width: 44%;
    aspect-ratio: 4 / 3;
    border: 6px solid var(--cream-2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.project-label {
    position: absolute;
    left: 18px; top: 18px;
    background: var(--ink);
    color: var(--cream);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-pill);
}
.fact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.6rem 0 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.fact-list strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--green-700);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.fact-list span { font-size: 0.76rem; line-height: 1.35; color: var(--ink-soft); }

/* ---------- News cards ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.post-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.74rem;
    color: var(--ink-faint);
}
.post-tag {
    background: var(--green-100);
    color: var(--green-700);
    border-radius: var(--radius-pill);
    padding: 0.28rem 0.65rem;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.post-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; line-height: 1.2; }
.post-card h3 a:hover { color: var(--green-600); }
.post-card p { font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); margin-bottom: 1.1rem; }
.post-card .text-link { margin-top: auto; font-size: 0.82rem; }

/* ---------- Partners & moments ---------- */
.partner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2.2rem 3rem;
    padding: 2rem 2.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.partner img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.partner:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 0.8rem;
}
.moment { position: relative; border-radius: 18px; overflow: hidden; }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.moment:hover img { transform: scale(1.06); }
.moment-1 { grid-column: span 2; grid-row: span 2; }
.moment-2 { grid-column: span 2; }
.moment-5 { grid-column: span 2; }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.cta-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding: clamp(2.5rem, 6vw, 4.5rem);
    isolation: isolate;
}
.cta-panel::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(6, 57, 42, 0.94) 0%, rgba(6, 57, 42, 0.78) 55%, rgba(6, 57, 42, 0.35) 100%);
    z-index: -1;
}
.cta-copy { max-width: 610px; color: var(--cream); }
.cta-copy h2 { color: var(--cream); }
.cta-copy p { color: rgba(251, 247, 239, 0.8); max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--green-900);
    color: rgba(251, 247, 239, 0.72);
    padding: 3.5rem 0 1.5rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 1.2fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.socials { display: flex; gap: 0.55rem; }
.socials a {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    color: inherit;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.socials a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: translateY(-2px); }
.socials .icon { width: 17px; height: 17px; }
.socials-dark a { border-color: var(--line); }

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; font-size: 0.88rem; }
.footer-col a:hover { color: var(--lime); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 0.15rem; color: var(--lime); }
.footer-contact a { display: inline-block; padding: 2px 0; }
.footer-note p { font-size: 0.86rem; line-height: 1.55; }
.footer-note .text-link { color: var(--lime); border-color: var(--lime); font-size: 0.82rem; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    font-size: 0.74rem;
    color: rgba(251, 247, 239, 0.68);
}
.footer-bottom p { margin: 0; }

.to-top {
    position: fixed;
    right: 1.4rem; bottom: 1.4rem;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--green-700);
    color: var(--cream);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
    z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-500); }
.to-top .icon { width: 18px; height: 18px; }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: var(--cream);
    isolation: isolate;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(100deg, rgba(6, 57, 42, 0.92), rgba(6, 57, 42, 0.55)), var(--page-image);
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -120px; bottom: -180px;
    width: 420px; height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(201, 242, 123, 0.28);
    z-index: -1;
}
.page-hero h1 { color: var(--cream); max-width: 820px; margin-bottom: 0.5rem; }
.page-hero-sub {
    max-width: 620px;
    font-size: 1.05rem;
    color: rgba(251, 247, 239, 0.78);
    margin: 0;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(251, 247, 239, 0.62);
    margin-bottom: 1.4rem;
}
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span[aria-current] { color: var(--cream); }

/* ---------- About page ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.mv-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.mv-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mv-card p:last-child { margin-bottom: 0; }
.mv-card-primary {
    background: var(--green-700);
    border-color: transparent;
    color: var(--cream);
}
.mv-card-primary h2 { color: var(--cream); }
.mv-card-primary p { color: rgba(251, 247, 239, 0.8); }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.impact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
}
.impact-card img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 1.2rem; }
.impact-card h3 { font-size: 1.25rem; }
.impact-card p { font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.value-card {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--line-light);
    border-radius: 14px;
    background: rgba(251, 247, 239, 0.03);
}
.value-card span { font-family: var(--font-display); color: var(--lime); font-size: 0.9rem; }
.value-card p { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--cream); }

.focus-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}
.focus-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.3rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}
.focus-list-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
}
.focus-list-icon .icon { width: 20px; height: 20px; }
.focus-list h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 800; margin-bottom: 0.25rem; }
.focus-list p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Projects page ---------- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.program-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.program-card figure { aspect-ratio: 16 / 11; overflow: hidden; }
.program-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.program-card:hover figure img { transform: scale(1.04); }
.program-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.program-tag {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.5rem;
}
.program-card h3 { font-size: 1.3rem; }
.program-card p { font-size: 0.87rem; line-height: 1.55; color: var(--ink-soft); }
.check-list { display: grid; gap: 0.45rem; margin-top: auto; padding-top: 1rem; }
.check-list li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); }
.check-list .icon { color: var(--green-600); margin-top: 0.15rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.step-card {
    padding: 1.6rem 1.4rem;
    border: 1px solid var(--line-light);
    border-radius: 20px;
    background: rgba(251, 247, 239, 0.03);
}
.step-card span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--lime);
    display: block;
    margin-bottom: 1.4rem;
}
.step-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; color: var(--cream); }
.step-card p { margin: 0; font-size: 0.85rem; line-height: 1.55; color: rgba(251, 247, 239, 0.65); }

.chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.chip-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}
.chip-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
    margin-bottom: 1rem;
}
.chip-icon .icon { width: 20px; height: 20px; }
.chip-card h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 800; }
.chip-card p { margin: 0; font-size: 0.83rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- News / stories ---------- */
.lead-story {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}
.lead-media { display: block; min-height: 320px; overflow: hidden; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.lead-story:hover .lead-media img { transform: scale(1.04); }
.lead-body {
    padding: clamp(1.8rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.lead-body h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 0.7rem; }
.lead-body h2 a:hover { color: var(--green-600); }
.lead-body p { color: var(--ink-soft); font-size: 0.95rem; }
.lead-body .btn { margin-top: 0.6rem; }
.empty-state { text-align: center; color: var(--ink-soft); padding: 3rem 0; }

/* ---------- Single story ---------- */
.post-header { background: var(--cream-2); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.post-header .breadcrumb { color: var(--ink-faint); }
.post-header .breadcrumb span[aria-current] { color: var(--ink); }
.post-header .breadcrumb a:hover { color: var(--green-700); }
.post-header-inner { max-width: 900px; }
.post-header h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 0.8rem; }
.post-standfirst { font-size: 1.1rem; color: var(--ink-soft); max-width: 720px; margin: 0; }
.post-hero {
    margin-top: -2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 8;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.post-content { max-width: 760px; }
.post-content p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1.2rem; }
.post-content h2 { margin-top: 2rem; font-size: 1.8rem; }
.post-content h3 { margin-top: 1.6rem; }
.post-content a { color: var(--green-700); border-bottom: 1px solid currentColor; }
.post-content blockquote {
    margin: 1.8rem 0;
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--lime);
    background: var(--cream-2);
    border-radius: 0 14px 14px 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
}
.post-content ul, .post-content ol { margin: 0 0 1.2rem 1.2rem; list-style: disc; }
.post-content li { margin-bottom: 0.4rem; color: var(--ink-soft); }
.post-content img { border-radius: 18px; margin: 1.2rem 0; }

.post-aside { display: grid; gap: 1rem; align-content: start; position: sticky; top: 110px; }
.aside-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.4rem;
}
.aside-card h2 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.7rem;
}
.aside-card p { font-size: 0.85rem; line-height: 1.55; color: var(--ink-soft); }
.aside-card .btn { margin-top: 0.4rem; }
.aside-card-accent { background: var(--green-900); border-color: transparent; }
.aside-card-accent h2 { color: var(--lime); }
.aside-card-accent p { color: rgba(251, 247, 239, 0.75); }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    grid-auto-flow: dense;
    gap: 0.8rem;
}
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.82); }
.gallery-item:nth-child(1),
.gallery-item:nth-child(8),
.gallery-item:nth-child(13) { grid-column: span 2; grid-row: span 2; }
.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.6rem 1rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cream);
    background: linear-gradient(transparent, rgba(6, 57, 42, 0.8));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(4, 16, 11, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 88vw); text-align: center; }
.lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.lightbox-figure figcaption { color: rgba(251, 247, 239, 0.75); font-size: 0.85rem; margin-top: 0.9rem; }
.lightbox-close {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border: 1px solid rgba(251, 247, 239, 0.25);
    border-radius: 50%;
    background: transparent;
    color: var(--cream);
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(251, 247, 239, 0.12); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border: 1px solid rgba(251, 247, 239, 0.25);
    border-radius: 50%;
    background: rgba(251, 247, 239, 0.06);
    color: var(--cream);
    cursor: pointer;
}
.lightbox-nav:hover { background: rgba(251, 247, 239, 0.16); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-count {
    position: absolute;
    bottom: 1.2rem; left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(251, 247, 239, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* ---------- Contact ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-intro h2 { max-width: 460px; }
.contact-intro > p { color: var(--ink-soft); max-width: 460px; }
.contact-cards { display: grid; gap: 0.8rem; margin: 2rem 0; }
.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.contact-icon {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-700);
}
.contact-icon .icon { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-700); margin-bottom: 0.25rem; }
.contact-card p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-soft); }
.contact-card a:hover { color: var(--green-700); }
.contact-socials { display: flex; align-items: center; gap: 1rem; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.contact-socials p { margin: 0; }
.socials-dark a { color: var(--ink-soft); }
.socials-dark a:hover { color: var(--ink); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 110px;
}
.contact-form-wrap h2 { font-size: 1.7rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink-soft); }
.field label span { color: var(--coral); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(22, 150, 106, 0.12);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--coral); }
.field-error { margin: 0.35rem 0 0; font-size: 0.75rem; color: #b23a1f; }
.field-check { margin: 0.6rem 0 1.2rem; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.45; color: var(--ink-soft); font-weight: 500; }
.checkbox input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--green-600); flex: 0 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.72rem; color: var(--ink-faint); margin: 0.7rem 0 0; text-align: center; }

.alert {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.alert-success { background: var(--green-100); color: var(--green-800); }
.alert-error { background: #fde8e2; color: #9c2f15; }

/* ---------- Donate ---------- */
.donate-panel {
    background: var(--green-900);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--cream);
    box-shadow: var(--shadow-md);
}
.donate-panel h2 { color: var(--cream); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.donate-lead { color: rgba(251, 247, 239, 0.72); font-size: 0.9rem; }
.donate-methods { display: grid; gap: 0.8rem; margin: 1.4rem 0; }
.donate-method {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.9rem;
    border: 1px solid var(--line-light);
    border-radius: 14px;
    background: rgba(251, 247, 239, 0.03);
}
.donate-method > span {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(201, 242, 123, 0.12);
    color: var(--lime);
}
.donate-method .icon { width: 18px; height: 18px; }
.donate-method h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 800; color: var(--cream); margin-bottom: 0.15rem; }
.donate-method p { margin: 0; font-size: 0.8rem; line-height: 1.45; color: rgba(251, 247, 239, 0.66); }
.donate-method a { color: var(--lime); }
.donate-note { font-size: 0.72rem; color: rgba(251, 247, 239, 0.5); margin: 0.8rem 0 0; text-align: center; }

.impact-list { display: grid; gap: 0.7rem; margin: 1.4rem 0; }
.impact-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.impact-list .icon { color: var(--green-600); margin-top: 0.2rem; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tier-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
}
.tier-card-featured { background: var(--green-700); border-color: transparent; color: var(--cream); }
.tier-card-featured h3 { color: var(--cream); }
.tier-card-featured p { color: rgba(251, 247, 239, 0.8); }
.tier-amount { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-700); margin-bottom: 0.4rem; }
.tier-card-featured .tier-amount { color: var(--lime); }
.tier-card h3 { font-size: 1.15rem; }
.tier-card p { font-size: 0.87rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.tier-note { text-align: center; font-size: 0.78rem; color: var(--ink-faint); margin-top: 1.4rem; }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; color: var(--green-600); line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0.7rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- 404 ---------- */
.error-page { padding: clamp(4rem, 10vw, 8rem) 0; }
.error-inner { text-align: center; max-width: 640px; }
.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 16vw, 12rem);
    line-height: 0.8;
    color: var(--green-100);
    margin: 0;
    letter-spacing: -0.04em;
}
.error-inner h1 { margin-top: 1rem; }
.error-inner > p { color: var(--ink-soft); }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .focus-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1.3fr 1fr 1.1fr; }
    .footer-note { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-media { max-width: 620px; }
    .hero-pill { right: 0; }
    .split { grid-template-columns: 1fr; gap: 3rem; }
    .split-reverse > .project-media { order: -1; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .post-layout { grid-template-columns: 1fr; }
    .post-aside { position: static; grid-template-columns: 1fr 1fr; }
    .lead-story { grid-template-columns: 1fr; }
    .lead-media { min-height: 260px; aspect-ratio: 16 / 9; }
    .contact-layout { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .tier-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
    .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 820px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed;
        inset: 0 0 auto auto;
        top: 0; right: 0;
        height: 100vh;
        width: min(360px, 88vw);
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6rem 1.6rem 2rem;
        box-shadow: -20px 0 60px rgba(6, 57, 42, 0.2);
        transform: translateX(105%);
        transition: transform 0.35s var(--ease);
        z-index: 120;
        overflow-y: auto;
    }
    .site-nav.is-open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
    .nav-list a { padding: 0.9rem 1rem; font-size: 1rem; border-radius: 12px; }
    .nav-donate { margin-top: 1.2rem; width: 100%; }
    .nav-toggle { position: relative; z-index: 130; }
    .body-nav-open .nav-toggle-open { display: none; }
    .body-nav-open .nav-toggle-close { display: block; }
    body.body-nav-open { overflow: hidden; }
    .nav-scrim {
        position: fixed;
        inset: 0;
        background: rgba(6, 57, 42, 0.35);
        z-index: 110;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    .nav-scrim.is-visible { opacity: 1; pointer-events: auto; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .section-head-note { max-width: none; }
}

@media (max-width: 720px) {
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .chip-grid { grid-template-columns: 1fr 1fr; }
    .focus-list { grid-template-columns: 1fr; }
    .mini-cards { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .fact-list { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .moments-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .moment-1 { grid-column: span 2; grid-row: span 1; }
    .moment-5 { grid-column: span 1; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(8), .gallery-item:nth-child(13) { grid-column: span 2; grid-row: span 2; }
    .field-row { grid-template-columns: 1fr; }
    .post-aside { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; }
    .media-main { aspect-ratio: 4 / 3; }
    .media-small { width: 50%; }
    .gallery-caption { opacity: 1; transform: none; }
    .lightbox-nav { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 1.8rem, var(--container)); }
    .hero-card { left: 0; bottom: 18px; }
    .hero-pill { display: none; }
    .hero-image { border-radius: 96px var(--radius) var(--radius) var(--radius); }
    .focus-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .chip-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat { padding-left: 1rem; }
    .fact-list { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .partner-row { justify-content: center; padding: 1.5rem; }
    .partner img { max-height: 36px; }
    .post-hero { aspect-ratio: 4 / 3; margin-top: -1.4rem; }
    .cta-panel { border-radius: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}


