:root {
    --bg: #0a0a0a;
    --accent: #0066ff;
    --text: #ffffff;
    --text-dim: #888888;
    --glass-bg: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.05);
}

html { scroll-behavior: initial; } /* Disabled for Lenis */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-blur: 10px; }
.text-outline { -webkit-text-stroke: 1px var(--text); color: transparent; }

/* 100% PageSpeed: Local Inline Noise (No external requests) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

/* Hide cursor on touch devices */
@media (pointer: fine) {
    body { cursor: none; }
    .cursor { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10000; transition: transform 0.1s ease; }
    .cursor-follower { width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.2s ease-out; }
}

.heading-xl {
    font-size: clamp(2.5rem, 10vw, 7rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-transform: uppercase;
}

.heading-l {
    font-size: clamp(2.2rem, 8vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-transform: uppercase;
}

.reveal-img {
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-img.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.card-image-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.card-image-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-scrolled {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
}

.nav-scrolled .logo-tagline {
    display: none;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hide number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
