﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0B3551;
    --navy-dark: #07253A;
    --navy-mid: #0E4368;
    --teal: #1F6F73;
    --teal-mid: #267A7E;
    --sage: #6F9278;
    --sage-light: #8EAE96;
    --sage-pale: #D4E4D8;
    --sage-wash: #EBF3EC;
    --blue: #A9CAD6;
    --blue-pale: #D8ECF2;
    --blue-wash: #EEF6F9;
    --gold: #D8A84F;
    --gold-dark: #B8882F;
    --gold-champ: #C9A24A;
    --gold-pale: #F5E8CC;
    --gold-wash: #FBF4E4;
    --cream: #F8F5EF;
    --cream-mid: #F0EBE0;
    --cream-deep: #E2D9C8;
    --white: #FEFCF8;
    --ink: #0B1E16;
    --ink-mid: #1A3828;
    --ink-muted: #3A5A4A;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --body: 'Source Sans 3', sans-serif;
    --label: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    background: var(--cream);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    padding: 1.35rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s;
}

.nav.scrolled {
    background: rgba(7,37,58,0.97);
    backdrop-filter: blur(18px);
    padding: 0.9rem 2.5rem;
    box-shadow: 0 1px 0 rgba(169,202,214,0.1);
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.nav-mark {
    width: 55px;
    height: 50px;
    flex-shrink: 0;
}

.nav-wordmark {
    line-height: 1.18;
}

.nav-word-top {
    display: block;
    font-family: var(--label);
    font-size: 0.53rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--blue);
    opacity: 0.75;
}

.nav-word-main {
    display: block;
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 500;
    font-style: italic;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.85rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--label);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(216,236,242,0.62);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.nav-cta {
    font-family: var(--label) !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 0.55rem 1.35rem;
    border-radius: 2px;
    transition: all 0.22s !important;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--gold-champ) !important;
    transform: translateY(-1px);
}

/* ════ FOOTER ════ */
.footer {
    background: var(--ink);
    padding: 5rem 2.5rem 2.5rem;
}

.footer-logo {
    width: 240px;
    height: 60px;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(169,202,214,0.07);
    margin-bottom: 2rem;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.footer-brand-name {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(216,236,242,0.80);
}

.footer-tagline {
    font-family: var(--body);
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(169,202,214,0.80);
    line-height: 1.72;
}

.footer-tagline em {
    font-style: italic;
    display: block;
    margin-top: 0.25rem;
    color: rgba(169,202,214,0.80);
}

.footer-col h4 {
    font-family: var(--label);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 1.1rem;
    opacity: 0.68;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.55rem;
}

.footer-col a {
    font-family: var(--body);
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(169,202,214,0.80);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: rgba(169,202,214,0.80);
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--label);
    font-size: 0.64rem;
    color: rgba(169,202,214,0.80);
    letter-spacing: 0.05em;
    line-height: 1.65;
}

.footer-scope {
    font-family: var(--body);
    font-size: 0.65rem;
    color: rgba(169,202,214,0.80);
    line-height: 1.75;
    max-width: 560px;
    text-align: right;
}

/* ════ ANIMATIONS ════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: 0.1s
}

.d2 {
    transition-delay: 0.2s
}

.d3 {
    transition-delay: 0.32s
}

.d4 {
    transition-delay: 0.44s
}

/* ════ RESPONSIVE ════ */
@media(max-width:1024px) {
    .premise-inner {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .premise-rule {
        display: none
    }

    .founder-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .founder-rule {
        display: none
    }

    .pillars-grid {
        grid-template-columns: 1fr
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .nav {
        padding: 1.1rem 1.5rem
    }

    .nav.scrolled {
        padding: 0.85rem 1.5rem
    }

    .nav-links {
        display: none
    }

    .hero, .premise, .different, .summer, .serve, .founder, .final-cta, .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }

    .prog-row.three, .prog-row.two {
        grid-template-columns: 1fr
    }

    .summer-header {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .summer-header-note {
        display: none
    }

    .audience-grid {
        grid-template-columns: 1fr
    }

    .final-btns {
        flex-direction: column;
        align-items: center
    }

    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-scope {
        text-align: left
    }
}

/*.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;*/ /* space between line and star */
    /*margin: 1.5rem 0;*/ /* vertical spacing around divider */
/*}

.divider-line {
    flex: 1;*/ /* line stretches to fill space */
    /*height: 1px;
    background: linear-gradient( to right, rgba(201, 162, 74, 0),*/ /* fade in */
    /*#c9a24a,*/ /* gold */
    /*rgba(201, 162, 74, 0)*/ /* fade out */
    /*);
}

.divider-icon {
    color: #c9a24a;*/ /* gold */
    /*font-size: 1.1rem;
    letter-spacing: 0.1em;
}*/

/* Optional: constrain width for large screens */
/*.header-divider {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gold {
    background-color: #D8A84F;
    color: #0B3551;
}
.btn-blue {
    background-color: #0B3551;
    color: white;
    border-color: white;
    font-family: inter
}*/