:root {
    --bg-dark: #0c0f12;
    --bg-dark-overlay: rgba(12, 15, 18, 0.92);
    --text-on-dark: #f0ede8;
    --text-muted: #a0a5aa;
    --accent-gold: #d4af37;
    --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%;
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    width: 250px;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 20px;
}

#loader-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 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(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    z-index: 1000;
    mix-blend-mode: difference;
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.cta-link {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.cta-link:hover {
    background: #fff;
    color: #000;
}

/* Hero */
.hero-standalone {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    background: var(--bg-dark);
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: 11rem;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-heading span {
    display: block;
}

.hero-heading .italic {
    font-style: italic;
    font-weight: 600;
    color: var(--accent-gold);
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.mouse {
    width: 30px;
    height: 46px;
    border: 2px solid var(--text-on-dark);
    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-dark);
    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-overlay);
    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.8;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: 15vw;
    font-weight: 800;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

/* Scroll Container */
#scroll-container {
    height: 1000vh;
    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;
    visibility: hidden;
}

/* Content Alignment Zones */
.align-left {
    padding-left: 8vw;
    padding-right: 55vw;
}

.align-right {
    padding-left: 55vw;
    padding-right: 8vw;
}

.align-center {
    justify-content: center;
    text-align: center;
}

.section-inner {
    max-width: 40vw;
}

.align-center .section-inner {
    max-width: 60vw;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
}

.section-body {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Stats */
.section-stats {
    justify-content: center;
    padding: 0 10vw;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
    text-align: center;
}

.stat-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent-gold);
}

.stat-label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent-gold);
    color: #000;
    padding: 20px 45px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s var(--trans-ease), background 0.3s;
}

.cta-button:hover {
    transform: scale(1.03);
    background: #f2ce5c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 5rem;
    }

    .site-header {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .align-left,
    .align-right {
        padding: 0 5vw;
        justify-content: center;
        text-align: center;
    }

    .section-inner {
        max-width: 100%;
    }

    .section-heading {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 5rem;
    }

    #scroll-container {
        height: 700vh;
    }
}