:root {
    --bg-white: #000000;
    --text-black: #ffffff;
    --text-grey: #a0a0a0;
    --border-light: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    height: 100%;
    overflow: hidden; /* No scroll on single-page hero */
}

body {
    height: 100%;
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-body);
    font-weight: 400;
    overflow: hidden; /* Single page — no scroll */
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4vw;
}

/* ================================
   Curtain Loader
   ================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: all; /* Block clicks on content while loader is visible */
}

.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0a0a0a;
    will-change: transform;
}

.curtain-left {
    left: 0;
    width: calc(50% + 1px); /* 1px overlap to prevent center seam */
}

.curtain-right {
    right: 0;
    width: calc(50% + 1px); /* 1px overlap to prevent center seam */
}

.loader-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 1;
}

.loader-logo {
    height: 48px;
    width: auto;
    filter: invert(1);
    opacity: 0;
}

.loader-line {
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    max-width: 180px;
}

/* Custom Cursor */
.cursor {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
}

/* Video Background */
.video-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Header */
/* Site Header — hidden until loader done */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 0;
    /* Reduced padding for cleaner look */
    z-index: 1000;
    opacity: 0; /* revealed by JS after loader */
}

.nav-container {
    padding: 0 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 0 0 auto;
}

.header-logo {
    height: 36px;
    /* Slightly smaller for better balance */
    width: auto;
    filter: invert(1);
    display: block;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: lowercase !important;
    letter-spacing: 0.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-black);
    opacity: 0; /* revealed by JS after loader */
    transform: translateY(100%); /* revealed by JS after loader */
}

.nav-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-black);
    display: block;
}

/* Hero Section */
.smooth-content {
    height: 100%;
    overflow: hidden;
}

.hero-section {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Hero Heading — hidden until loader done */
.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 6.8vw, 5.1rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.reveal {
    display: inline-block;
    opacity: 0; /* revealed by JS after loader */
    transform: translateY(100%);
}

/* Marquee */
.hero-marquee {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
    overflow: hidden;
    opacity: 0; /* revealed by JS after loader */
    transform: translateY(80px);
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-inner span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-right: 5rem;
    letter-spacing: 0.15rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Polish */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 5vw;
    }

    .nav-item span {
        display: none;
        /* Icon only for extreme mobile cleanliness */
    }

    .nav-item svg {
        width: 22px;
        height: 22px;
    }

    .header-logo {
        height: 30px;
    }

    .hero-heading {
        font-size: 3rem;
        line-height: 0.9;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8vw;
    }

    .hero-heading {
        font-size: 2.55rem;
    }
}

/* Loader mobile tweaks */
@media (max-width: 768px) {
    .loader-logo {
        height: 36px;
    }

    .loader-line {
        max-width: 120px;
    }
}