:root {
    /* Colors - Deep Rich Black Theme */
    --bg-dark: #050505;       
    --bg-surface: #0a0a0a;    
    --bg-surface-lighter: #121212; 
    
    --text-main: #FAFAFA;     
    --text-secondary: #A0A0A0; 
    --text-muted: #666666;    
    
    /* Accent - Elegant Gold with multiple shades for depth */
    --accent-gold: #E5C100;
    --accent-gold-hover: #FFD700;
    --accent-gold-glow: rgba(229, 193, 0, 0.15);
    
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Typography - More characterful, extreme scales */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout */
    --container-width: 1600px;
    --section-pad-y: 12rem;
    --section-pad-x: 5%;
    
    /* Motion */
    --transition-smooth: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Lenis Smooth Scroll Setup */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* CSS Reset & Baseline */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Forces custom cursor globally */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise & Lighting System */
.noise-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,%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="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* Ambient lighting gradient linked to mouse */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(229, 193, 0, 0.03) 0%, 
        transparent 50%
    );
    transition: background 0.1s ease;
}

/* Typography Overhaul */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Huge cinematic typography */
.text-huge {
    font-size: clamp(4rem, 12vw, 12rem);
    letter-spacing: -0.05em;
    line-height: 0.9;
}

h2 { font-size: clamp(3rem, 6vw, 5rem); }
h3 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 600; text-transform: none; }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: 0; text-transform: none;}

p {
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 60ch;
    font-weight: 300;
}

/* Utility Containers */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
    position: relative;
    z-index: 2; /* Above ambient light */
}

section {
    position: relative;
    width: 100%;
}

/* High-end Masking Utilities for GSAP */
.split-text-line {
    overflow: hidden;
    vertical-align: top;
}
.char {
    display: inline-block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

/* Selection */
::selection {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}
