:root {
    --primary-dark: #0e1444;
    --accent-orange: #ff9800;
    --accent-deep-orange: #e64a19;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #6c757d;
    --border: rgba(14,20,68,0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background: var(--white);
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(14,20,68,0.08);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-brand span { color: var(--accent-orange); }
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-orange); }
.nav-support {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: opacity 0.2s, transform 0.2s !important;
}
.nav-support:hover { opacity: 0.9; transform: translateY(-1px); color: var(--white) !important; }

/* ── MAIN HERO (index.html) ── */
.hero {
    padding: 9rem 2rem 5.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2266 100%);
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(255,152,0,0.18);
    color: var(--accent-orange);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1.3rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.1rem;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.72);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 700px;
    margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
}
.stat-lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.25rem;
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
    padding: 7rem 2rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2266 100%);
    text-align: center;
}
.page-hero .hero-eyebrow { margin-bottom: 1rem; }
.page-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0.9rem;
}
.page-hero h1 span {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.68);
    max-width: 620px;
    margin: 0 auto;
}

/* ── SECTION SHELL ── */
.main-section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.section-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.icon-navy   { background: #e8eeff; }
.icon-orange { background: #fff3e0; }
.icon-green  { background: #e8f5e9; }

.section-meta h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    line-height: 1.25;
}
.section-meta p {
    color: var(--text-gray);
    font-size: 0.97rem;
    max-width: 620px;
}
.section-label {
    display: inline-block;
    background: rgba(14,20,68,0.07);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

/* ── STRIPE COLOURS (shared by summary, work, priority cards) ── */
.stripe-blue::before   { background: linear-gradient(90deg, #3d5afe, #651fff); }
.stripe-orange::before { background: linear-gradient(90deg, var(--accent-orange), var(--accent-deep-orange)); }
.stripe-green::before  { background: linear-gradient(90deg, #00c853, #00897b); }

/* ── SUPPORT BAR ── */
.support-bar {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--border);
}
.btn-support {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
    color: var(--white);
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-support:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── SUMMARY CARDS (index.html) ── */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.summary-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 3px 18px rgba(14,20,68,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.summary-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.summary-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(14,20,68,0.12); }
.summary-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}
.summary-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
}
.summary-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}
.summary-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.68;
    flex: 1;
    margin-bottom: 1.5rem;
}
.btn-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
    align-self: flex-start;
}
.btn-summary:hover { color: var(--accent-deep-orange); border-color: var(--accent-deep-orange); }

/* ── TEAM CARDS ── */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 2.2rem;
    box-shadow: 0 3px 18px rgba(14,20,68,0.06);
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
}
.team-card-role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-deep-orange);
    margin-bottom: 0.4rem;
}
.team-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.team-card-bio {
    font-size: 0.9rem;
    color: #3a3f5c;
    line-height: 1.72;
    margin-bottom: 1.2rem;
}
.team-stats {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.2rem;
}
.team-stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
}
.team-stat-lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}
.team-pubs { list-style: none; }
.team-pubs li {
    font-size: 0.8rem;
    color: var(--text-gray);
    padding: 0.38rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}
.team-pubs li::before {
    content: '';
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 6px;
}

/* ── WORK CARDS ── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.work-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 3px 18px rgba(14,20,68,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.work-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(14,20,68,0.12); }
.work-area-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}
.work-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}
.work-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}
.work-count {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
}
.count-blue   { background: #e8eeff; color: #3d5afe; }
.count-orange { background: #fff3e0; color: var(--accent-deep-orange); }
.count-green  { background: #e8f5e9; color: #2e7d32; }

.work-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.work-footer p {
    font-size: 0.92rem;
    color: var(--text-gray);
    margin: 0;
    max-width: 560px;
}
.btn-library {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-library:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── PRIORITY CARDS ── */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.priority-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    box-shadow: 0 3px 18px rgba(14,20,68,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.priority-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.priority-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(14,20,68,0.12); }
.priority-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 1.1rem;
}
.priority-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}
.priority-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}
.priority-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}
.priority-goals {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
}
.priority-goals li {
    font-size: 0.8rem;
    color: var(--text-gray);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}
.priority-goals li::before {
    content: '→';
    font-size: 0.72rem;
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── DONATE CTA ── */
.donate-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2266 100%);
    text-align: center;
}
.donate-eyebrow {
    display: inline-block;
    background: rgba(255,152,0,0.18);
    color: var(--accent-orange);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}
.donate-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    max-width: 660px;
    margin: 0 auto 1rem;
    line-height: 1.2;
}
.donate-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.68);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}
.donate-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-donate {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-deep-orange));
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-donate:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.45);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}
.footer-note { font-size: 0.78rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .summary-grid, .team-grid, .work-grid, .priorities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
}
