:root {
    --bg: #F9F6F0;
    --card-bg: #EEE8DD;
    --border: #D4CEC3;
    --accent: #746558;
    --dark: #484237;
}
* { box-sizing: border-box; }
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    line-height: 1.65;
    background-color: var(--bg);
    color: var(--accent);
}
h1, h2, h3 {
    font-family: 'Gelasio', Georgia, serif;
    color: var(--dark);
    font-weight: 400;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 60px;
}
.site-nav .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Gelasio', Georgia, serif;
    font-size: 1.2em;
    color: var(--dark);
}
.site-nav .brand .mark {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}
.site-nav a {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.95em;
    letter-spacing: 0.02em;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--dark);
    border-bottom-color: var(--dark);
}
.nav-toggle {
    display: none;
}

/* Hero */
header.hero {
    display: flex;
    min-height: 500px;
}
header.hero .hero-image {
    flex: 1 1 45%;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    min-height: 320px;
}
header.hero .hero-content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 60px;
}
.logo-mark {
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.logo-mark .logo-image {
    max-width: 75%;
    max-height: 75%;
    width: 75%;
    height: 75%;
    object-fit: contain;
}
header.hero .quote {
    font-size: 1.3em;
    color: var(--dark);
    max-width: 480px;
    margin: 0;
}
header.hero .quote::before {
    content: "\201C";
}
header.hero .quote::after {
    content: "\201D";
}

/* Simple page header banner (for interior pages) */
.page-header {
    text-align: center;
    padding: 70px 24px 50px;
}
.page-header h1 {
    font-size: 2.6em;
    margin: 0 0 14px;
}
.page-header p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05em;
}

/* Section banners (photo strip) */
.banner {
    width: 100%;
    height: 220px;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
}

/* Sections */
section {
    padding: 50px 0;
}
section h2 {
    font-size: 2.2em;
    margin: 0 0 40px;
}

/* Icon + pillar columns (used for Journey and Project Mgmt sections) */
.col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.col-grid .icon {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 14px;
}
.col-grid h3 {
    font-size: 1.3em;
    margin: 0 0 12px;
}
.col-grid p, .col-grid ul {
    margin: 0;
    font-size: 0.95em;
}
.col-grid ul {
    list-style: none;
    padding: 0;
}
.col-grid li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}
.col-grid li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Photo program cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.program-grid .photo {
    width: 100%;
    height: 170px;
    border-radius: 6px;
    background-color: var(--card-bg);
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
}
.program-grid h3 {
    font-size: 1.15em;
    margin: 0 0 12px;
}
.program-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95em;
}
.program-grid li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}
.program-grid li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Partnerships timeline */
.timeline-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 8px;
}
.timeline-text p {
    text-align: center;
    font-size: 0.95em;
    margin: 0;
}
.timeline-text p:nth-child(2) {
    grid-column: 3;
}
.timeline-track {
    position: relative;
    height: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 0;
}
.timeline-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border);
}
.timeline-track .node {
    justify-self: center;
    position: relative;
    z-index: 1;
}
.timeline-track .num {
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gelasio', Georgia, serif;
    font-size: 1.2em;
    color: var(--dark);
}
.timeline-caption {
    text-align: center;
    font-size: 0.95em;
    max-width: 520px;
    margin: 0 auto;
}

/* Team grid (About page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}
.team-card {
    text-align: center;
}
.team-card .avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Gelasio', Georgia, serif;
    font-size: 2.2em;
    color: var(--dark);
}
.team-card h3 {
    font-size: 1.2em;
    margin: 0 0 6px;
}
.team-card .role {
    font-size: 0.9em;
    color: var(--accent);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Contact */
.contact-info {
    text-align: center;
}
.contact-info a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
}
.contact-info a:hover {
    text-decoration: underline;
}
.contact-info .address {
    margin-top: 14px;
    font-size: 0.9em;
    color: var(--accent);
}

footer {
    text-align: center;
    padding: 30px 24px;
    color: var(--accent);
    font-size: 0.85em;
    border-top: 1px solid var(--border);
}
footer p {
    margin: 4px 0;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Legal pages (Terms / Privacy) */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0 60px;
}
.legal h2 {
    font-size: 1.3em;
    margin: 32px 0 12px;
}
.legal p {
    font-size: 0.98em;
    margin: 0 0 14px;
}
.legal a {
    color: var(--dark);
}

@media (max-width: 800px) {
    header.hero { flex-direction: column; }
    .container { padding: 0 24px; }
    .site-nav { padding: 18px 24px; flex-wrap: wrap; gap: 14px; }
    .site-nav ul { gap: 20px; }
    .timeline-text { grid-template-columns: 1fr; }
    .timeline-text p:nth-child(2) { grid-column: 1; }
    .timeline-track { grid-template-columns: 1fr; height: auto; gap: 20px; }
    .timeline-track::before { display: none; }
}

@media (max-width: 600px) {
    .site-nav { justify-content: center; text-align: center; }
    .site-nav ul { justify-content: center; flex-wrap: wrap; gap: 14px 20px; }
    header.hero .hero-image { min-height: 220px; }
    header.hero .hero-content { padding: 32px 24px; }
    .logo-mark { width: 130px; height: 130px; }
    header.hero .quote { font-size: 1.1em; max-width: 100%; }
    .page-header { padding: 48px 20px 36px; }
    .page-header h1 { font-size: 2em; }
    section { padding: 36px 0; }
    section h2 { font-size: 1.6em; margin-bottom: 28px; }
    .banner { height: 150px; }
    .col-grid, .program-grid, .team-grid { gap: 28px; }
    .program-grid .photo { height: 140px; }
    .team-card .avatar { width: 110px; height: 110px; font-size: 1.8em; }
    #partnerships {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        column-gap: 18px;
        row-gap: 18px;
        align-items: center;
    }
    #partnerships h2,
    #partnerships .timeline-caption {
        grid-column: 1 / -1;
    }
    #partnerships .timeline-text {
        grid-column: 2;
        grid-row: 2;
        display: contents;
        margin: 0;
    }
    #partnerships .timeline-text p {
        text-align: left;
    }
    #partnerships .timeline-text p:first-child {
        grid-column: 2;
        grid-row: 2;
    }
    #partnerships .timeline-text p:nth-child(2) {
        grid-column: 2;
        grid-row: 3;
    }
    #partnerships .timeline-caption {
        grid-column: 2;
        grid-row: 4;
        text-align: left;
        margin: 0;
    }
    .timeline-track {
        grid-column: 1;
        grid-row: 2 / 5;
        display: grid;
        grid-template-rows: subgrid;
        align-items: start;
        align-self: stretch;
        height: auto;
        margin: 0;
    }
    .timeline-track::before {
        display: block;
        top: 20px;
        bottom: 20px;
        left: 50%;
        right: auto;
        width: 1px;
        height: auto;
    }
    .timeline-track .node { justify-self: center; }
    .timeline-track .node:nth-child(2),
    .timeline-track .node:nth-child(3) {
        transform: none;
    }
    .timeline-track .num {
        width: 32px;
        height: 32px;
        font-size: 1em;
    }
}



