:root {
    /* CESI palette */
    --bg: #f4f4ee;
    --card: #ffffff;
    --text: #102016;
    --muted: #4b5a52;
    --border: rgba(32,80,64,0.18);
    --brand: #205040;
    --brand2: #6090b0;
    --max: 1080px;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(16,32,22,0.14);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(96,144,176,0.22), transparent 60%), radial-gradient(1000px 500px at 80% 10%, rgba(32,80,64,0.16), transparent 55%), radial-gradient(900px 500px at 50% 100%, rgba(80,112,64,0.10), transparent 60%), var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--brand);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Layout */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(244,244,238,0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand .title {
        font-weight: 800;
    }

    .brand .sub {
        font-size: 12px;
        color: var(--muted);
    }

.nav-links a {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 10px;
}

    .nav-links a.active,
    .nav-links a:hover {
        background: rgba(32,80,64,0.08);
        color: var(--text);
        text-decoration: none;
    }

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}

/* Hero layout (THIS is what you were missing) */
.hero {
    padding: 40px 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Headings */
.h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 14px;
}

h2 {
    font-size: 24px;
    margin: 0 0 12px;
}

h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

/* Text */
.lede {
    color: var(--muted);
    margin-bottom: 14px;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

/* CTA row */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(32,80,64,0.06);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
}

    .btn.primary {
        background: linear-gradient( 135deg, rgba(32,80,64,0.95), rgba(96,144,176,0.95) );
        color: #fff;
    }

    .btn:hover {
        text-decoration: none;
        transform: translateY(-1px);
    }

/* Pills (chips under hero) */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pill {
    font-size: 13px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(32,80,64,0.05);
}

/* Table-style key/value rows */
.kv {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(32,80,64,0.12);
}

    .kv:last-child {
        border-bottom: none;
    }

/* Sections */
.section {
    padding: 28px 0 44px;
}

/* 3-up grids */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 900px) {
    .grid3 {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 26px 0 40px;
    font-size: 13px;
    color: var(--muted);
    max-width: 70ch;
}

/* Highlight Donate link in nav */
.nav-links a.donate {
    background: linear-gradient( 135deg, rgba(32,80,64,0.95), rgba(96,144,176,0.95) );
    color: #ffffff;
    font-weight: 800;
}

    .nav-links a.donate:hover {
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(16,32,22,0.25);
    }

/* Social icon link (YouTube) */
.nav-links a.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--muted);
}

.nav-links a.social svg {
    width: 18px;
    height: 18px;
}

.nav-links a.social:hover {
    background: rgba(32,80,64,0.06);
    color: var(--text);
}

/* Card hover / pop effect */
.card {
    transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1), border-color 220ms;
    will-change: transform;
}

.card:hover,
.card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(16,32,22,0.18);
    border-color: rgba(32,80,64,0.22);
}

.card:active {
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
        transform: none !important;
    }
}