:root {
    --bg: rgb(234, 234, 234);
    --text: rgb(255, 255, 255);
    --accent: rgb(0, 0, 0);
    --card-w: 55vw;
    --card-h: 30vw;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
    :root {
        --card-w: 70vw;
        --card-h: 50vw;
    }
}
@media (max-width: 600px) {
    :root {
        --card-w: 85vw;
        --card-h: 110vw; /* Portrait for mobile */
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* --- OVERLAYS --- 
.noise-overlay {
    position: fixed; inset: 0; z-index: 900; opacity: 0.04; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
.vignette-overlay {
    position: fixed; inset: 0; z-index: 800; pointer-events: none;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.8) 100%);
}

/* --- CURSOR --- */
.cursor-dot, .cursor-circle {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9999; mix-blend-mode: difference;
    border-radius: 50%;
}
.cursor-dot { width: 8px; height: 8px; background: white; }
.cursor-circle { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.5); transition: width 0.3s, height 0.3s; }

/* --- UI --- */
.ui-layer {
    position: fixed; top: 0; width: 100%; padding: 2.5rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; mix-blend-mode: exclusion;
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; font-weight: 500;
}
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem; }
.reg { font-size: 0.5em; vertical-align: top; }
.meta { display: flex; gap: 2rem; opacity: 0.7; }
.menu-trigger { cursor: pointer; position: relative; }
.menu-trigger::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 1px; 
    background: white; transition: width 0.3s var(--ease-out-expo);
}
.menu-trigger:hover::after { width: 100%; }

/* --- STAGE --- */
.stage {
    position: relative; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
}

.card-stack {
    position: relative;
    width: var(--card-w);
    max-width: 1000px;
    height: var(--card-h);
    max-height: 800px;
    z-index: 10;
    perspective: 1500px;
}

.card {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 4px; overflow: hidden;
    transform-origin: 50% 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    will-change: transform, opacity;
    background-color: #EAEAEA;
}

.card-inner {
    width: 100%; height: 100%; overflow: hidden;
}

.card img {
    width: 100%; height: 120%; /* Taller for parallax */
    object-fit: cover;
    filter: brightness(.8) saturate(0.9);
    transform: scale(1);
}

/* --- TYPOGRAPHY --- */
.text-layer {
    position: absolute; z-index: 50;
    text-align: center; pointer-events: none;
    color: var(--text); width: 100%;
    mix-blend-mode: normal;
}



.word-clipper {
    overflow: hidden; position: relative; height: 1.4em; display: inline-flex;
}

.dynamic-word {
    position: fixed;
    top: -2rem;
    font-weight: 700; color: var(--accent);
    font-size: 1.8rem;
    font-weight: 600;
    
    z-index: 100;
    text-align: center;
    font-family: 'Syne', sans-serif;
}

.main-title {
    font-family: 'Syne', sans-serif;
    font-size: 7vw; line-height: 0.9;
    text-transform: uppercase; font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 2rem;
    display: flex; flex-direction: column;
}

/* Footer Meta */
.footer-meta {
    position: fixed; bottom: 3rem; left: 50%; transform: translateX(-50%);
    width: 300px; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}

.progress-bar { width: 100%; height: 2px; background: white; }
.progress-fill { width: 25%; height: 100%; background: var(--accent); }
.counter { font-size: 0.8rem; letter-spacing: 0.2em; opacity: 0.6; color: var(--accent);}