:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #ccff00; /* Acid Green */
    --accent-dim: rgba(204, 255, 0, 0.1);
    --border-color: #222;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    width: 100%; max-width: 100%; overflow-x: hidden; 
    background-color: var(--bg-color); color: var(--text-color);
    font-family: var(--font-body); line-height: 1.6;
}

body.no-scroll { overflow: hidden !important; height: 100vh; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Background Noise */
.noise {
    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)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9000;
}

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-color); z-index: 10000;
    display: flex; justify-content: flex-end; align-items: flex-end; padding: 40px;
    transition: transform 0.8s var(--transition-ease);
}
.counter-wrap { font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: #000; }

/* =========================================
   NAVIGATION (LOGO TOGGLE LOGIC)
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; 
    padding: 20px 50px;
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 9990; 
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

/* Navbar Logo Hidden by default (Hero State) */
.nav-logo {
    opacity: 0; 
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

/* Navbar Logo Visible (Scrolled State) */
.nav-logo.show-logo {
    opacity: 1; 
    visibility: visible;
    transform: translateY(0);
}

.logo img { height: 45px; width: auto; transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }

.menu-toggle-btn {
    display: flex; align-items: center; gap: 15px; 
    cursor: pointer; color: #fff; 
    font-family: var(--font-body); font-weight: 600; 
    letter-spacing: 1px;
}
.hamburger { width: 30px; display: flex; flex-direction: column; gap: 6px; }
.line { width: 100%; height: 2px; background: #fff; transition: 0.3s; }

/* =========================================
   MENU OVERLAY
   ========================================= */
.menu-overlay {
    position: fixed; inset: 0; background: #050505; z-index: 9995;
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    transform: translateY(-100%); transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}
.menu-overlay.open { transform: translateY(0); }

.menu-close-btn {
    position: absolute; top: 30px; right: 50px; cursor: pointer; color: #fff; 
    font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 1px; transition: 0.3s;
}
.menu-close-btn:hover { color: var(--accent-color); }

.menu-links { list-style: none; text-align: center; padding: 0; margin: 0; }
.menu-links li { margin: 15px 0; overflow: hidden; }
.menu-links a {
    display: block; font-family: var(--font-display); font-size: 3.5rem; 
    color: #fff; text-decoration: none; text-transform: uppercase;
    transition: color 0.3s ease; opacity: 0; transform: translateY(30px);
}
.menu-links a:hover { color: var(--accent-color); }

.menu-overlay.open .menu-links a { opacity: 1; transform: translateY(0); transition: opacity 0.5s, transform 0.5s; }
.menu-overlay.open .menu-links li:nth-child(1) a { transition-delay: 0.1s; }
.menu-overlay.open .menu-links li:nth-child(2) a { transition-delay: 0.15s; }
.menu-overlay.open .menu-links li:nth-child(3) a { transition-delay: 0.2s; }
.menu-overlay.open .menu-links li:nth-child(4) a { transition-delay: 0.25s; }
.menu-overlay.open .menu-links li:nth-child(5) a { transition-delay: 0.3s; }
.menu-overlay.open .menu-links li:nth-child(6) a { transition-delay: 0.35s; }
.menu-overlay.open .menu-links li:nth-child(7) a { transition-delay: 0.4s; }

/* =========================================
   HERO STRUCTURE (GLITCH & TAGLINE)
   ========================================= */
.hero { 
    height: 100vh; width: 100%; position: relative; overflow: hidden; 
}

/* Vertical Flex Layout */
.hero-container {
    width: 100%; height: 100%;
    padding: 0 50px;
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center;
    position: relative; z-index: 10;
}

/* 1. Large Logo Centerpiece */
.hero-center {
    flex-grow: 1;
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    max-height: 60vh; /* Limits center area */
}

/* Grid Stack for Glitch Effect */
.glitch-stack {
    display: grid; place-items: center; position: relative;
    max-width: 80vw;
}

.hero-large-logo {
    grid-area: 1 / 1; /* Stack in same cell */
    width: auto; max-width: 80vw; 
    height: auto; max-height: 40vh; /* Prevents cutoff on desktop */
    object-fit: contain; display: block;
}

/* Base Logo */
.base-logo {
    position: relative; z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
    transition: transform 0.5s ease;
}

/* Glitch Layers */
.glitch-layer { z-index: 1; opacity: 0; }
.glitch-1 { transform: translate(0); animation: glitch-anim-1 2.5s infinite linear alternate-reverse; }
.glitch-2 { transform: translate(0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }

/* Glitch Hover Effect */
.glitch-stack:hover .base-logo { transform: scale(1.02); }
.glitch-stack:hover .glitch-1 { opacity: 0.5; animation-duration: 0.5s; }
.glitch-stack:hover .glitch-2 { opacity: 0.5; animation-duration: 0.5s; }

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); opacity: 0.5; filter: drop-shadow(2px 0 0 red); }
    5% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); opacity: 0.6; filter: drop-shadow(-2px 0 0 cyan); }
    10% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); opacity: 0.4; }
    15% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); opacity: 0.7; }
    20% { opacity: 0; } 
    100% { opacity: 0; }
}

@keyframes glitch-anim-2 {
    0% { opacity: 0; }
    50% { opacity: 0; }
    55% { clip-path: inset(10% 0 60% 0); transform: translate(2px, 1px); opacity: 0.5; filter: drop-shadow(2px 0 0 magenta); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(-2px, -1px); opacity: 0.6; filter: drop-shadow(-2px 0 0 blue); }
    65% { clip-path: inset(30% 0 20% 0); transform: translate(2px, 0); opacity: 0.4; }
    70% { opacity: 0; }
    100% { opacity: 0; }
}

/* 2. Tagline */
.hero-tagline { margin-bottom: 60px; text-align: center; }
.hero-tagline h1 {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 800; text-transform: uppercase; color: #fff; letter-spacing: 1px;
}

/* 3. Scroll Indicator */
.hero-bottom { margin-bottom: 40px; }
.scroll-indicator { height: 60px; display: flex; align-items: flex-end; }
.scroll-line { width: 2px; height: 60px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-color); animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* Marquee */
.marquee-section {
    padding: 30px 0; background: var(--accent-color); color: #000;
    transform: rotate(-2deg) scale(1.05); margin: 80px 0; 
    width: 100%; position: relative; left: 50%; margin-left: -50%; overflow: hidden;
}
.marquee-track { display: flex; width: fit-content; gap: 0; }
.marquee-content {
    white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 3rem;
    flex-shrink: 0; padding-right: 20px; animation: marqueeMove 30s linear infinite;
}
@keyframes marqueeMove { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Sections */
.section-padding { padding: 100px 50px; }
.section-header { margin-bottom: 60px; display: flex; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.section-header.header-center { justify-content: center; text-align: center; }
.sec-title { font-family: var(--font-display); font-size: 2.5rem; color: #fff; }

.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.xp-card { border: 1px solid #222; padding: 40px; transition: 0.3s; background: #080808; }
.xp-card:hover { border-color: var(--accent-color); transform: translateY(-5px); }
.xp-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-family: var(--font-display); text-transform: uppercase; }
.xp-card p { color: #999; font-size: 1rem; }

/* Career Grid */
.career-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.career-card {
    background: #080808; border: 1px solid var(--border-color);
    min-height: 250px; display: flex; flex-direction: column; justify-content: space-between;
    transition: all 0.3s var(--transition-ease); position: relative; overflow: hidden;
}
.card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.career-card h3 {
    font-family: var(--font-display); font-size: 2rem; line-height: 1;
    margin-bottom: 10px; text-transform: uppercase; color: #fff; transition: 0.3s;
}
.career-card:hover h3 { color: var(--accent-color); }
.career-card .category { font-family: var(--font-body); font-size: 0.9rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* REMOVED: .card-arrow class styling deleted */

.card-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95); border: 1px solid var(--accent-color);
    padding: 30px; display: flex; flex-direction: column; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); pointer-events: none;
}
.career-card:hover .card-overlay { opacity: 1; transform: translateY(0); pointer-events: auto; }
.overlay-text { overflow-y: auto; max-height: 100%; color: #ddd; font-size: 1rem; line-height: 1.6; }

/* Artist Reel */
.artist-reel-section { overflow: hidden; }
.artist-reel-container { width: 100%; position: relative; }
.artist-reel {
    display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 30px; cursor: grab; scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1); scrollbar-width: thin;
}
.artist-reel::-webkit-scrollbar { height: 6px; background: rgba(255, 255, 255, 0.05); }
.artist-reel::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 4px; }
.artist-portrait { flex: 0 0 240px; scroll-snap-align: start; position: relative; }
.portrait-img { width: 100%; height: 320px; background: #111; overflow: hidden; position: relative; border: 1px solid #222; transition: 0.3s; }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.6s var(--transition-ease); }
.artist-portrait:hover .portrait-img { border-color: var(--accent-color); }
.artist-portrait:hover img { filter: grayscale(0%); transform: scale(1.05); }
.portrait-info { padding-top: 15px; }
.portrait-info h3 { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; color: #fff; margin: 0; letter-spacing: 1px; }
.portrait-deco { width: 0%; height: 2px; background: var(--accent-color); margin-top: 8px; transition: 0.4s ease; }
.artist-portrait:hover .portrait-deco { width: 40px; }
.reel-spacer { flex: 0 0 50px; }

/* Clients */
.client-minimal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); }
.client-box { padding: 40px 20px; border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-align: center; transition: 0.3s ease; }
.client-box span { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; color: #888; transition: 0.3s; font-weight: 500; }
.client-box:hover { background: rgba(255,255,255,0.03); }
.client-box:hover span { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Gallery */
.gallery-bg { background: #0a0a0a; }
.gallery-header { margin-bottom: 60px; text-align: center; }
.gallery-header h2 { font-family: var(--font-display); font-size: 5rem; line-height: 0.9; margin-bottom: 20px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.g-card { height: 400px; overflow: hidden; position: relative; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }

/* Contact */
.contact-section { border-top: 1px solid var(--border-color); background: #030303; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-left h2 { font-family: var(--font-display); font-size: 5rem; line-height: 0.9; margin-bottom: 20px; }
.highlight { color: var(--accent-color); }
.input-group { margin-bottom: 30px; }
.input-field { width: 100%; background: transparent; border: none; border-bottom: 1px solid #333; color: #fff; padding: 15px 0; font-family: var(--font-body); font-size: 1.2rem; outline: none; transition: border-color 0.3s; }
.input-field:focus { border-color: var(--accent-color); }
.btn-submit { background: transparent; border: 1px solid #fff; color: #fff; padding: 15px 50px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-body); transition: 0.3s; margin-top: 20px; }
.btn-submit:hover { background: var(--accent-color); color: #000; border-color: var(--accent-color); }

/* Footer */
.footer { margin-top: 100px; padding-top: 30px; border-top: 1px solid #222; display: flex; justify-content: space-between; align-items: center; color: #555; }
.footer-socials { display: flex; gap: 25px; align-items: center; }
.footer-socials a { 
    color: #555; 
    font-size: 1.4rem; 
    transition: all 0.3s var(--transition-ease); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-decoration: none;
}
.footer-socials a:hover { color: var(--accent-color); transform: translateY(-3px); }

.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s var(--transition-ease); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 1024px) {
    .section-padding { padding: 80px 30px; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 25px; } 
    .logo img { height: 35px; }
    .menu-close-btn { top: 20px; right: 25px; }
    .menu-links a { font-size: 2.2rem; } 
    .menu-links li { margin: 8px 0; }
    
    .hero { padding-top: 0; }
    .hero-container { padding: 0 20px 30px 20px; }
    
    /* FIX: Decreased logo size on mobile */
    .hero-large-logo { 
        max-width: 70vw; 
        max-height: 25vh; 
    }
    
    /* FIX: Decreased tagline font size */
    .hero-tagline h1 { 
        font-size: 1.5rem; 
        line-height: 1.3;
    }
    
    .marquee-section { transform: none; width: 100%; margin: 30px 0; left: 0; margin-left: 0; padding: 10px 0; }
    .marquee-content { font-size: 1.2rem; }
    .section-header { margin-bottom: 40px; padding-bottom: 10px; flex-direction: column; }
    .section-header.header-center { align-items: center; }
    .sec-title { font-size: 2rem; }
    .experience-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .career-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
    .career-card { min-height: 200px; padding: 20px; }
    .career-card h3 { font-size: 1.5rem; }
    
    /* FIX: Smaller Artists on mobile to fit more in row */
    .artist-portrait { flex: 0 0 150px; } /* Reduced size */
    .portrait-img { height: 220px; } /* Reduced height */
    .portrait-info h3 { font-size: 1rem; }
    
    .client-minimal-grid { grid-template-columns: repeat(2, 1fr); }
    .client-box { padding: 30px 10px; }
    
    .gallery-header h2 { font-size: 3rem; }
    .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
    .g-card { height: 280px; }
    
    /* FIX: Disabled JS Parallax transform on mobile */
    .g-card img.parallax-img {
        transform: none !important;
        width: 100%;
        height: 100%;
    }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-left h2 { font-size: 3rem; }
    .footer { flex-direction: column; gap: 20px; text-align: center; }
    .footer-socials { justify-content: center; width: 100%; order: -1; margin-bottom: 10px; }
}