:root {
    --bg-dark: #0a1f16;
    /* Deep forest green */
    --bg-cream: #f4f1ea;
    --text-on-dark: #f4f1ea;
    --text-on-light: #0a1f16;
    --accent-gold: #c5a059;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --trans-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-cream);
    color: var(--text-on-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* LOADER */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    width: 250px;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-on-dark);
    display: block;
    margin-bottom: 20px;
}

#loader-bar {
    width: 100%;
    height: 2px;
    background: rgba(244, 241, 234, 0.1);
    position: relative;
    margin-bottom: 10px;
}

#loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

#loader-percent {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 500;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    z-index: 1000;
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-on-light);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-on-light);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.cta-link {
    text-decoration: none;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 12px 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
}

/* HERO */
.hero-standalone {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    background: var(--bg-cream);
    text-align: center;
}

.hero-inner {
    max-width: 800px;
}

.section-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: 10rem;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-heading span {
    display: block;
}

.hero-heading .italic {
    font-style: italic;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto 50px;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.5;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-on-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-on-light);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* CANVAS & OVERLAYS */
.canvas-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    clip-path: circle(0% at 50% 50%);
}

#canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.marquee-wrap {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: 12vw;
    font-weight: 800;
    white-space: nowrap;
    color: rgba(244, 241, 234, 0.05);
    text-transform: uppercase;
}

/* SCROLL CONTAINER */
#scroll-container {
    height: 800vh;
    position: relative;
    z-index: 4;
}

.scroll-section {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10vw;
    visibility: hidden;
}

.section-inner {
    max-width: 45vw;
}

.align-left .section-inner {
    margin-right: auto;
}

.align-right .section-inner {
    margin-left: auto;
    text-align: right;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.section-body {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    color: var(--text-on-dark);
    margin-bottom: 40px;
}

.section-note {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    color: var(--text-on-dark);
    margin-top: 10px;
}

/* PROGRAM LIST */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-item {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--text-on-dark);
    border-bottom: 1px solid rgba(244, 241, 234, 0.1);
    padding-bottom: 10px;
}

/* CTA BUTTON */
.cta-button {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 20px 45px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s var(--trans-ease);
}

.cta-button:hover {
    transform: scale(1.05);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 5rem;
    }

    .site-header {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .section-inner {
        max-width: 100%;
        text-align: center;
    }

    .scroll-section {
        padding: 0 5vw;
    }

    .section-heading {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 4rem;
    }
}