/* ══════════════════════════════════════════════════════════════
   THE PERCH PROJECT — Design System
   Navigation & Layout: Teton Science Schools style
   Colors: Logo-derived (forest green + warm gold)
   Tone: PLT warm educator voice
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    /* Brand Colors — derived from logo */
    --green-900: #1a3a0a;
    --green-800: #2d5016;
    --green-700: #3a6a1e;
    --green-600: #4a7c2e;
    --green-500: #5a9236;
    --green-400: #72a84e;
    --green-300: #9dc47e;
    --green-200: #c5ddb0;
    --green-100: #e8f2de;
    --green-50:  #f4f9f0;

    --gold-600: #b8891a;
    --gold-500: #d4a020;
    --gold-400: #e0b840;
    --gold-300: #ebd06e;
    --gold-200: #f2e2a0;
    --gold-100: #faf3d8;

    --earth-700: #5c4310;
    --earth-600: #8b6914;
    --earth-500: #a07a1a;

    /* Neutrals */
    --gray-900: #1a1a1a;
    --gray-800: #2c2c2c;
    --gray-700: #404040;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #c4c4c4;
    --gray-200: #e2e2e2;
    --gray-100: #f0f0f0;
    --gray-50:  #f8f8f8;
    --white:    #ffffff;

    /* Semantic */
    --color-primary: var(--green-700);
    --color-primary-dark: var(--green-800);
    --color-accent: var(--gold-500);
    --color-accent-dark: var(--gold-600);
    --color-text: var(--gray-800);
    --color-text-light: var(--gray-600);
    --color-text-muted: var(--gray-500);
    --color-bg: var(--white);
    --color-bg-alt: var(--green-50);
    --color-bg-warm: var(--gold-100);
    --color-footer-bg: var(--green-900);
    --color-footer-text: var(--green-200);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;

    /* Sizing */
    --content-width: 1200px;
    --content-narrow: 800px;
    --nav-height: 80px;
    --section-padding: 80px;
    --section-padding-mobile: 48px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utility ───────────────────────────────────────────────── */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--content-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent-dark); }
.text-green { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-small { font-size: 0.875rem; }

.section-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--white);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-accent {
    background: var(--color-accent);
    color: var(--green-900);
    border-color: var(--color-accent);
}
.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 160, 32, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-outline-green {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline-green:hover {
    background: var(--color-primary);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-small {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition-medium);
}

.site-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo img {
    border-radius: 50%;
    height: 64px;
    width: 64px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-medium);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-donate {
    margin-left: 0.5rem;
}

.nav-donate .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    margin: 6px 0;
    transition: all var(--transition-medium);
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
@media (max-width: 1024px) {
    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 100px 32px 32px;
        transition: right var(--transition-medium);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.open { right: 0; }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.0625rem;
    }

    .nav-links a::after { display: none; }

    .nav-donate {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .nav-donate .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .nav-overlay.open { display: block; }
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 58, 10, 0.55) 0%,
        rgba(26, 58, 10, 0.4) 50%,
        rgba(26, 58, 10, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem 24px;
}

.hero-logo-wrap {
    margin: 0 auto 2rem;
}

.hero-logo {
    width: 650px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Section Basics ────────────────────────────────────────── */
.section {
    padding: var(--section-padding) 0;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section--warm {
    background: var(--color-bg-warm);
}

.section--dark {
    background: var(--green-900);
    color: var(--green-100);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

/* ── Impact Numbers ────────────────────────────────────────── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.impact-item {
    padding: 1.5rem;
}

.impact-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Card Grid ─────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .card-grid,
    .card-grid--2,
    .card-grid--4 { grid-template-columns: 1fr; }
}

/* ── Program Cards ─────────────────────────────────────────── */
.program-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-medium);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.program-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card-image .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 58, 10, 0.7) 100%);
}

.program-card-body {
    padding: 1.5rem;
}

.program-card-body h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.program-card-body p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.program-card-icon {
    width: 48px;
    height: 48px;
    background: var(--green-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* ── Sponsorship Tiers ─────────────────────────────────────── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
}

.tier-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
    transform: translateY(-2px);
}

.tier-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(212, 160, 32, 0.15);
}

.tier-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--green-900);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 1rem;
    border-radius: 50px;
}

.tier-amount {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.tier-name {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.tier-description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ── Quote / Testimonial ───────────────────────────────────── */
.quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-text::before { content: '\201C'; }
.quote-text::after { content: '\201D'; }

.quote-author {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
}

.quote-role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── Two-Column Layout ─────────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content h2 {
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.split-content .btn {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .split,
    .split--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
    text-align: center;
    padding: 4rem 2rem;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--green-200);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ── Form Styles ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(58, 106, 30, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ── Donation Amount Picker ────────────────────────────────── */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.amount-btn:hover {
    border-color: var(--color-primary);
    background: var(--green-50);
}

.amount-btn.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--white);
}

.amount-custom {
    grid-column: 1 / -1;
}

/* ── Frequency Toggle ──────────────────────────────────────── */
.freq-toggle {
    display: inline-flex;
    background: var(--gray-100);
    border-radius: 50px;
    padding: 2px;
    margin-bottom: 2rem;
}

.freq-toggle button {
    padding: 0.625rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.freq-toggle button.active {
    background: var(--color-primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

/* ── Checkbox / Cover Fees ─────────────────────────────────── */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

/* ── News Cards ────────────────────────────────────────────── */
.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-medium);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-date {
    font-size: 0.8125rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.news-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-card-body p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* ── Team / Board Grid ─────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-member {
    padding: 1rem;
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 2.5rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── Icon List ─────────────────────────────────────────────── */
.icon-list {
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.icon-list li::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--green-100);
    border-radius: 12px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a6a1e'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--gray-200);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.accordion-header:hover {
    color: var(--color-primary);
}

.accordion-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform var(--transition-medium);
    color: var(--color-primary);
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body-inner {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand img {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--green-300);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-300);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--green-200);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-200);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--green-900);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--green-400);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: var(--green-400);
}

.footer-bottom-links a:hover {
    color: var(--color-accent);
}

/* ── Involve Cards ─────────────────────────────────────────── */
.involve-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-medium);
}

.involve-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.08);
}

.involve-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.involve-card h3 {
    margin-bottom: 0.75rem;
}

.involve-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

/* ── Contact Info ──────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 1rem;
}

.contact-info-text h4 {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.contact-info-text a {
    color: var(--color-primary);
}

/* ── Legal / Policy Pages ──────────────────────────────────── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--section-padding) 24px;
    margin-top: var(--nav-height);
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.legal-content .last-updated {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ── Success / Thank You ───────────────────────────────────── */
.success-message {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--green-50);
    border-radius: 16px;
    border: 2px solid var(--green-200);
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-primary);
}

/* ── Page Header (inner pages) ─────────────────────────────── */
.page-hero {
    background: var(--green-900);
    padding: 4rem 0 3rem;
    margin-top: var(--nav-height);
    text-align: left;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    
    flex-shrink: 0;
    border: 12px solid white;
    
    background: white;
}

.page-hero-text {
    flex: 1;
}

.page-hero p {
    color: var(--green-200);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0;
}

/* ── Responsive Section Padding ────────────────────────────── */
@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-logo {
        width: 480px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Scroll Animations ─────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Donate Page Specific ──────────────────────────────────── */
.donate-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 560px;
    margin: 0 auto;
}

.donate-form-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.donate-form-card .section-label {
    text-align: center;
}

.donate-impact {
    background: var(--green-50);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Event Item ────────────────────────────────────────────── */
.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.event-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(45, 80, 22, 0.08);
}

.event-date-badge {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding: 0.75rem;
    background: var(--green-100);
    border-radius: 8px;
}

.event-date-badge .month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.event-date-badge .day {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--green-800);
    line-height: 1;
}

.event-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.event-details .event-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── EIN Badge ─────────────────────────────────────────────── */
.ein-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--green-300);
    margin-top: 1rem;
}

/* ── Misc ──────────────────────────────────────────────────── */
.divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    margin: 1.5rem auto;
}

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

/* ── Impact Card Grid (unified donate page) ────────────────── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .impact-grid { grid-template-columns: 1fr; } }

.impact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    border: 2px solid #d0d7de;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.25rem;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
.impact-card:hover {
    border-color: var(--color-primary, #2d5f1e);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.impact-card.selected {
    border-color: var(--color-primary, #2d5f1e);
    background: #f0f7ed;
    box-shadow: 0 0 0 3px rgba(45,95,30,0.15);
}
.impact-card.featured {
    border-color: var(--gold-500, #b8860b);
    position: relative;
}
.impact-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-500, #b8860b);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.impact-card.featured.selected {
    background: #fef9ee;
    border-color: var(--gold-500, #b8860b);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
}
.impact-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary, #2d5f1e);
    line-height: 1;
}
.impact-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0.125rem;
}
.impact-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin-top: 0.25rem;
}
