/* Reset and Base Styles */
:root {
    --cream: #fffef9;
    --gold-pale: #fffce0;
    --gold-light: #fff4a3;
    --gold: #fff9b0;
    --gold-mid: #e8c468;
    --gold-deep: #c08a3e;
    --brown: #9c5f24;
    --brown-dark: #7a4718;
    --ink: #1a1a1a;
    --olive: #4f6a1d;
    --olive-dark: #38480f;
    --text-body: #3a3324;
    --text-muted: #746c56;
    --border-warm: #eee0c0;
    --font-heading: 'Rosario', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border-warm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    flex-wrap: wrap;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.7;
}

.brand-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--olive);
    line-height: 1;
}

.brand-for {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--olive);
    line-height: 1;
}

.brand-chapter {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--olive);
    opacity: 0.7;
    margin-left: 0.35rem;
    padding-left: 0.6rem;
    border-left: 1px solid rgba(79, 106, 29, 0.35);
    line-height: 1;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--olive);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.15px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a.active {
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--olive);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(55% 40% at 20% 8%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%),
        radial-gradient(45% 30% at 80% 12%, rgba(255,244,163,0.6) 0%, rgba(255,244,163,0) 60%),
        linear-gradient(180deg, #fffce0 0%, #fff9b0 40%, #e8c468 100%);
    padding: 80px 20px 0;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-skyline {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 50px auto 0;
    line-height: 0;
}

.hero-skyline svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 0.15rem;
    letter-spacing: -1px;
}

.hero-location {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--olive);
    opacity: 0.8;
    margin-bottom: 0.15rem;
    font-weight: 700;
    position: relative;
    top: -10px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--olive);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--olive);
    color: #fff;
}

.btn-primary:hover {
    background: var(--olive-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--olive);
    border: 2px solid var(--olive);
}

.btn-secondary:hover {
    background: var(--gold-pale);
}

/* Content Sections */
.content-section {
    padding: 55px 20px;
    background: #fff;
}

main > .content-section:first-of-type {
    padding-top: 40px;
}

.content-section.alt {
    background: var(--gold-pale);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--olive);
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 800px;
}

/* Supporters Section */
.supporters-section {
    padding: 50px 20px;
    background: var(--gold-pale);
    border-top: 1px solid var(--border-warm);
    text-align: center;
}

.supporters-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.supporters-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.supporter-link {
    color: var(--gold-deep);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.supporter-link:hover {
    color: var(--brown);
}

/* Join Section */
.join-section {
    padding: 80px 20px;
    background: #fff;
}

.join-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.join-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--olive);
}

.join-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.email-form input {
    padding: 12px 16px;
    border: 1px solid var(--border-warm);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    min-width: 280px;
    transition: border-color 0.3s;
}

.email-form input:focus {
    outline: none;
    border-color: var(--olive);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #33430f 0%, #241c0c 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.footer .container {
    max-width: 800px;
}

.copyright {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-email {
    margin-bottom: 1.5rem;
}

.contact-email a {
    color: var(--gold-light);
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.design-credit {
    font-size: 0.85rem;
    color: #a89f88;
}

.design-credit a {
    color: var(--gold-light);
    text-decoration: none;
}

.design-credit a:hover {
    text-decoration: underline;
}

/* Sub-page Header */
.page-header {
    background:
        radial-gradient(60% 45% at 15% 10%, #ffffff 0%, var(--gold-pale) 40%, rgba(255,255,255,0) 100%),
        radial-gradient(45% 35% at 80% 30%, var(--gold-light) 0%, rgba(255,243,180,0.55) 45%, rgba(255,255,255,0) 100%),
        #ffffff;
    padding: 70px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--olive);
}

/* Dark statement banner */
.banner-dark {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.banner-dark h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Belief blocks */
.belief-block {
    padding: 60px 20px;
    background: #fff;
}

.belief-block.alt {
    background: var(--gold-pale);
}

.belief-block .container {
    max-width: 800px;
}

.belief-block p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.belief-block h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--olive);
    text-align: left;
    margin: 0 0 1.5rem;
    font-weight: 700;
}

.goals-list {
    margin-top: 1.5rem;
}

.goals-list .goal {
    margin-bottom: 1.5rem;
}

.goals-list .goal strong {
    color: var(--olive);
}

/* Pillars grid (Building community / Learning / Doing) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pillar h3 {
    font-family: var(--font-heading);
    color: var(--olive);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.pillar p {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Activity list */
.activity-list {
    max-width: 800px;
    margin: 2rem auto 0;
    padding-left: 1.25rem;
}

.activity-list li {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

/* Get Involved blocks */
.involve-block {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.involve-block h3 {
    font-family: var(--font-heading);
    color: var(--olive);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.involve-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}

.involve-block a {
    color: var(--gold-deep);
    font-weight: 600;
}

.contact-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-note a {
    color: var(--gold-deep);
    font-weight: 600;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.team-card[href]:hover {
    opacity: 0.75;
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--gold-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--olive-dark);
    object-fit: cover;
}

.team-card h3 {
    font-family: var(--font-heading);
    color: var(--olive);
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

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

.team-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.team-blurb {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 0.5rem 0 0.9rem;
}

.team-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    width: 100%;
    max-width: 160px;
}

.team-btn-linkedin {
    background: #eef2e6;
    color: var(--olive);
    border: 1px solid rgba(79, 106, 29, 0.3);
}

.team-btn-linkedin:hover {
    background: var(--olive);
    color: #fff;
}

.li-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: currentColor;
    position: relative;
}

.li-badge::after {
    content: "in";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--gold-pale);
    font-family: var(--font-body);
}

.team-btn-coffee {
    background: var(--olive);
    color: #fff;
}

.team-btn-coffee:hover {
    background: var(--olive-dark);
}

.placeholder-note {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.1rem;
    background: var(--gold-pale);
    border: 1px dashed var(--gold-deep);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Events list */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-warm);
    border-radius: 8px;
}

.event-date {
    flex-shrink: 0;
    width: 68px;
    text-align: center;
    background: var(--gold-pale);
    border-radius: 6px;
    padding: 0.6rem 0.4rem;
    font-family: var(--font-heading);
    color: var(--olive);
}

.event-date .event-month {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-date .event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.event-info h3 {
    font-family: var(--font-heading);
    color: var(--olive);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.event-info p {
    color: var(--text-body);
    font-size: 0.95rem;
}

.event-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1.2rem 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-warm);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .email-form input {
        min-width: 100%;
    }

    .supporters-logos {
        gap: 1rem;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .hero-skyline {
        margin-top: 30px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .banner-dark h2 {
        font-size: 1.7rem;
    }

    .belief-block h2 {
        font-size: 1.6rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        width: auto;
        padding: 0.4rem 0.7rem;
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
    }

    .event-date .event-day {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}
