        :root {
            --neon-red: #FF3131;

            /* Dark Mode Defaults (Fallback) */
            --bg-main: #050505;
            --bg-secondary: #0a0a0a;
            --text-main: #f0f0f0;
            --text-muted: #9ca3af;
            /* gray-400 */
            --border-color: #1f2937;
            /* gray-800 */
            --nav-bg: rgba(5, 5, 5, 0.95);
            --cursor-color: #ffffff;
            --card-hover-border: rgba(255, 255, 255, 0.1);
            --scrollbar-track: rgba(8, 0, 255, 0.05);
        }

        /* Light Mode Overrides (Active by default via HTML attribute) */
        [data-theme="light"] {
            --bg-main: #ffffff;
            --bg-secondary: #ffffff;
            --text-main: #050505;
            --text-muted: #4b5563;
            /* gray-600 */
            --border-color: #a3a3a3;
            --nav-bg: rgba(255, 255, 255, 0.95);
            /* FIX: Set cursor to white for difference blend mode to create contrast (White - Light Bg = Dark Cursor) */
            --cursor-color: #ffffff;
            --card-hover-border: rgba(0, 0, 0, 0.1);
            --scrollbar-track: rgba(0, 0, 0, 0.05);
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-main);
            font-family: 'Space Grotesk', sans-serif;
            overflow-x: hidden;
            cursor: none;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        /* Theme Utility Classes */
        .bg-theme-main {
            background-color: var(--bg-main);
            transition: background-color 0.5s ease;
        }

        .bg-theme-secondary {
            background-color: var(--bg-secondary);
            transition: background-color 0.5s ease;
        }

        .text-theme-main {
            color: var(--text-main);
            transition: color 0.5s ease;
        }

        .text-theme-muted {
            color: var(--text-muted);
            transition: color 0.5s ease;
        }

        .border-theme {
            border-color: var(--border-color);
            transition: border-color 0.5s ease;
        }

        .bg-nav {
            background-color: var(--nav-bg);
            backdrop-filter: blur(10px);
            transition: background-color 0.5s ease;
            box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        h1,
        h2,
        h3,
        .display-font {
            font-family: 'Syne', sans-serif;
        }

        .font-cardo {
            font-family: 'Cardo', serif;
        }

        /* Hide Default Scrollbar for Custom Implementation on Slider */
        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* Custom Cursor */
        .cursor-dot,
        .cursor-outline {
            position: fixed;
            top: 0;
            left: 0;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            z-index: 9999;
            pointer-events: none;
            mix-blend-mode: difference;
        }

        .cursor-dot {
            width: 8px;
            height: 8px;
            background-color: var(--cursor-color);
        }

        .cursor-outline {
            width: 40px;
            height: 40px;
            border: 1px solid var(--cursor-color);
            transition: width 0.2s, height 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        body:hover .cursor-outline.hovered {
            width: 40px;
            height: 40px;
            background-color: var(--neon-red);
            border-color: var(--neon-red);
            mix-blend-mode: normal;
            opacity: 0.9;
        }

        /* Noise Overlay for Texture */
        /* .noise-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9000;
            opacity: 0.05;
            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");
        } */

        .noise-overlay {
            display: none;
            /* This completely removes the texture */
        }

        /* Text Selection */
        ::selection {
            background: var(--neon-red);
            color: white;
        }

        /* Utility animations */
        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
        }

        .marquee-content {
            display: inline-block;
            animation: marquee 20s linear infinite;
        }

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

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

        /* Image Reveal Hover */
        .service-item .service-img {
            top: 0;
            left: 0;
            opacity: 0;
            pointer-events: none;
            position: fixed;
            z-index: 50;
            transform: scale(0.8);
            will-change: transform, opacity;
        }

        .loader {
            position: fixed;
            inset: 0;
            background: var(--neon-red);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
        }

        /* Navigation Links & Active State */
        .nav-link {
            position: relative;
            cursor: pointer;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0%;
            height: 2px;
            background-color: var(--neon-red);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        /* Mobile menu overlay */
        .mobile-menu {
            transform: translateX(100%);
            transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        /* Scramble Text Monospace Font Fallback */
        .scramble-effect {
            font-family: 'Syne', sans-serif;
        }

        .stat-card:hover .stat-number {
            color: var(--neon-red);
            transform: scale(1.1);
        }

        /* Page Transitions */
        .view-section {
            transition: opacity 0.5s ease-in-out;
        }

        .hidden-view {
            display: none;
            opacity: 0;
            pointer-events: none;
        }

        /* Work Grid Specifics - Replaces List */
        .work-grid-container {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .work-grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .work-grid-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .work-card {
            position: relative;
            overflow: hidden;
            border-radius: 4px;
            transition: opacity 0.5s ease;
        }

        .work-card.span-2 {
            grid-column: span 1;
        }

        @media (min-width: 768px) {
            .work-card.span-2 {
                grid-column: span 2;
            }
        }

        .work-card img {
            height: 115%;
            /* Extra height for Parallax */
            width: 100%;
            object-fit: cover;
            position: relative;
            top: -7.5%;
            /* Center the extra height */
            transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1), filter 0.5s ease;
            filter: grayscale(100%);
            will-change: transform;
        }

        .work-card:hover img {
            transform: scale(1.05);
            /* Parallax handles Y, this handles Scale */
            filter: grayscale(0%);
        }

        .work-card .overlay {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .work-card:hover .overlay {
            opacity: 1;
        }

        /* Floating Work Preview */
        #work-floating-preview {
            pointer-events: none;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 40;
            width: 30vw;
            height: 20vw;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8);
            border: 1px solid var(--neon-red);
            background-color: var(--bg-secondary);
            overflow: hidden;
            display: none;
        }

        @media (min-width: 768px) {
            #work-floating-preview {
                display: block;
            }
        }

        /* Collective Grid Item */
        .collective-card {
            border: 1px solid var(--card-hover-border);
            /* Removed transition here to avoid conflict with GSAP */
        }

        .collective-card:hover {
            border-color: var(--neon-red);
            /* background handled by inner elements */
        }

        /* Contact Form Styles */
        .input-group input,
        .input-group textarea,
        .input-group select {
            width: 100%;
            background: transparent;
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 0;
            font-size: 1.25rem;
            color: var(--text-main);
            transition: border-color 0.3s ease, color 0.3s ease;
            outline: none;
            border-radius: 0;
        }

        .input-group input:focus,
        .input-group textarea:focus,
        .input-group select:focus {
            border-bottom-color: var(--neon-red);
        }

        .input-group label {
            display: block;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        /* Work Filters */
        .work-filter-btn {
            position: relative;
            padding: 0.5rem 1rem;
            border: 1px solid transparent;
            border-radius: 0;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .work-filter-btn.active {
            border-color: var(--neon-red);
            color: var(--neon-red);
        }

        .work-filter-btn:hover {
            color: var(--neon-red);
        }

        /* Slide Indicator Animation */
        @keyframes slideLoop {
            0% {
                left: 0%;
            }

            50% {
                left: 66%;
            }

            100% {
                left: 0%;
            }
        }

        .animate-slide-loop {
            animation: slideLoop 2s infinite ease-in-out;
        }

        /* Prevent image drag ghosting for custom slider */
        #work-slider img {
            user-drag: none;
            -webkit-user-drag: none;
            pointer-events: none;
            /* Allow events to pass to container for drag */
        }

        /* Specific Red Scrollbar for Filters */
        .filter-scrollbar {
            scrollbar-width: thin;
            scrollbar-color: var(--neon-red) transparent;
        }

        .filter-scrollbar::-webkit-scrollbar {
            height: 6px;
            /* Visible thickness */
        }

        .filter-scrollbar::-webkit-scrollbar-track {
            background: transparent;
        }

        .filter-scrollbar::-webkit-scrollbar-thumb {
            background-color: var(--neon-red) !important;
            border-radius: 3px;
        }

        .filter-scrollbar::-webkit-scrollbar-thumb:hover {
            background-color: #ff1a1a !important;
        }

        /* --- GAME STYLES START --- */
        #playground {
            user-select: none;
            touch-action: none;
            position: relative;
            /* Matches user prompt background */
            background-color: #E0DCDC;
        }

        #playground canvas {
            display: block;
        }

        #ui-layer {
            position: absolute;
            top: 20px;
            left: 20px;
            color: #000;
            font-size: 20px;
            pointer-events: none;
            text-shadow: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 10;
            font-family: 'Courier New', Courier, monospace;
        }

        .interactive {
            pointer-events: auto !important;
        }

        input[type=range] {
            accent-color: #ff0033;
            cursor: pointer;
        }

        #goal-display {
            position: absolute;
            top: 20px;
            right: 20px;
            color: #000;
            font-size: 20px;
            font-weight: bold;
            pointer-events: none;
            z-index: 10;
            font-family: 'Courier New', Courier, monospace;
        }

        #win-screen {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 100;
        }

        .neon-text {
            color: #ff0033;
            font-size: 40px;
            text-align: center;
            font-weight: bold;
            margin-bottom: 40px;
            font-family: 'Courier New', Courier, monospace;
        }

        #continue-btn {
            padding: 15px 40px;
            font-size: 24px;
            font-family: 'Courier New', Courier, monospace;
            font-weight: bold;
            background-color: #ff0033;
            color: #fff;
            border: none;
            cursor: pointer;
            box-shadow: 0 0 15px #ff0033;
            transition: all 0.3s;
        }

        #continue-btn:hover {
            transform: scale(1.1);
            background-color: #ff3355;
            box-shadow: 0 0 25px #ff0033;
        }

        /* --- GAME STYLES END --- */

        #form-btn {
            width: 260px;
            /* 🔒 FIXED WIDTH */
            height: 56px;
            /* 🔒 FIXED HEIGHT */
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            border: 2px solid transparent;
            cursor: pointer;
        }

        #form-btn:disabled {
            cursor: not-allowed;
            opacity: 0.7;
        }

        /* Loader */
        .btn-loader {
            width: 12px;
            height: 12px;
            background: #ff3131;
            border-radius: 50%;
        }
    

        /* --- Minimal hover video player (work case-study videos) --- */
        .pickd-video { position: relative; }

        .pickd-video .hero-logo {
            position: absolute;
            left: 16px;
            bottom: 14px;
            width: 78px;
            height: auto;
            z-index: 20;
            opacity: 0.92;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        /* Logo steps aside while the controls are visible (no corner clash) */
        .pickd-video:hover .hero-logo,
        .pickd-video:focus-within .hero-logo { opacity: 0; }

        .pickd-video .hero-controls {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 25;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 18px 16px 12px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
            opacity: 0;
            transform: translateY(6px);
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .pickd-video:hover .hero-controls,
        .pickd-video:focus-within .hero-controls {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .pickd-video .hc-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            flex: 0 0 auto;
            color: #ffffff;
            background: transparent;
            border: 0;
            padding: 0;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .pickd-video .hc-btn:hover { color: var(--neon-red); }

        .pickd-video .hc-seek {
            flex: 1 1 auto;
            -webkit-appearance: none;
            appearance: none;
            height: 3px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.32);
            outline: none;
            cursor: pointer;
            margin: 0;
        }

        .pickd-video .hc-seek::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ffffff;
            cursor: pointer;
        }

        .pickd-video .hc-seek::-moz-range-thumb {
            width: 12px;
            height: 12px;
            border: 0;
            border-radius: 50%;
            background: #ffffff;
            cursor: pointer;
        }

        .pickd-video .hc-time {
            flex: 0 0 auto;
            min-width: 38px;
            text-align: center;
            color: #ffffff;
            font-size: 12px;
            font-variant-numeric: tabular-nums;
            font-family: 'Space Grotesk', sans-serif;
        }

        .pickd-video .hidden { display: none !important; }
