        :root {
            --bg: #050505;
            --fg: #e6e6e6;
            --accent: #D69E2E;
            --border: 2px solid #e6e6e6;
            --grid-gap: 0px;
        }

        * {
            box-sizing: border-box;
        }

        /* Only hide cursor on devices that support hover */
        @media (hover: hover) and (pointer: fine) {
            * {
                cursor: none;
            }
        }

        body {
            background-color: var(--bg);
            color: var(--fg);
            font-family: 'Space Grotesk', sans-serif;
            overflow-x: hidden;
            margin: 0;
            padding: 0;
        }

        h1,
        h2,
        h3,
        h4,
        .brand-font {
            font-family: 'Archivo Black', sans-serif;
            text-transform: uppercase;
            line-height: 0.9;
        }

        /* --- Starfield Canvas --- */
        #star-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            /* Behind text */
            background-color: var(--bg);
            /* Acts as the black background */
        }

        /* --- Scroll Indicator --- */
        .scroll-indicator {
            position: absolute;
            bottom: 3rem;
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            mix-blend-mode: difference;
            z-index: 3;
            opacity: 0.8;
            font-size: 0.8rem;
            letter-spacing: 2px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            40% {
                transform: translateX(-50%) translateY(-10px);
            }

            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        /* --- Navigation --- */
        .nav-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 2rem;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            mix-blend-mode: difference;
            pointer-events: none;
        }

        .nav-logo,
        .nav-link {
            pointer-events: auto;
            color: #fff;
        }

        .nav-logo {
            font-family: 'Archivo Black';
            font-size: 1.5rem;
        }

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

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

        .cursor-outline {
            width: 40px;
            height: 40px;
            border: 1px solid var(--fg);
            transition: width 0.2s, height 0.2s;
            mix-blend-mode: difference;
        }

        body.hovering .cursor-outline {
            width: 80px;
            height: 80px;
            background-color: var(--accent);
            border-color: var(--accent);
            opacity: 0.5;
        }

        /* --- Noise Grain Animation --- */
        .noise-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9000;
            opacity: 0.07;
            background: 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.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
        }

        /* --- Hero Section (The Split) --- */
        .hero-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 50;
            display: flex;
            pointer-events: none;
            isolation: isolate;
        }

        .hero-panel {
            width: 50%;
            height: 100%;
            background-color: transparent;
            border-bottom: var(--border);
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            will-change: transform;
        }

        .hero-panel.left {
            border-right: 1px solid var(--fg);
        }

        .hero-panel.right {
            border-left: 1px solid var(--fg);
        }

        .hero-text-big {
            font-size: clamp(56px, 15vw, 200px);
            white-space: nowrap;
            color: var(--fg);
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
            z-index: 2;
            /* Above stars */
        }

        .left .hero-text-big {
            left: 100%;
        }

        .right .hero-text-big {
            left: 0%;
            -webkit-text-stroke: 2px var(--fg);
            color: transparent;
        }

        .scrolling-ticker {
            position: absolute;
            bottom: 2rem;
            width: 100%;
            white-space: nowrap;
            font-size: 1.5rem;
            font-family: 'Space Grotesk';
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.7;
            z-index: 2;
            /* Above stars */
        }

        /* --- Main Content Layout --- */
        .content-wrapper {
            position: relative;
            z-index: 10;
            padding-top: 100vh;
            background-color: var(--fg);
        }

        .manifesto {
            background-color: var(--fg);
            color: var(--bg);
            padding: 15vh 5vw;
            border-bottom: 2px solid var(--bg);
        }

        /* --- Product Grid --- */
        .grid-section {
            background-color: var(--bg);
            color: var(--fg);
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-bottom: var(--border);
        }

        .grid-item {
            aspect-ratio: 1/1;
            border-right: var(--border);
            border-bottom: var(--border);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 1.5rem;
            transition: all 0.3s ease;
        }

        .grid-item:nth-child(3n) {
            border-right: none;
        }

        .grid-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0f1219;
            z-index: 0;
            transform-origin: center;
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .grid-item:hover .grid-bg {
            transform: scale(0.95);
            background-color: #1a1e29;
        }

        .grid-content {
            position: relative;
            z-index: 2;
            pointer-events: none;
        }

        .grid-number {
            font-family: 'Archivo Black';
            font-size: 4rem;
            opacity: 0.1;
            transition: 0.3s;
        }

        .grid-item:hover .grid-number {
            opacity: 1;
            color: var(--accent);
            transform: translateX(10px);
        }

        .grid-overlay-text {
            font-size: 1.5rem;
            font-weight: bold;
            text-transform: uppercase;
            transform: translateY(100%);
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            transition: all 0.4s ease;
        }

        .grid-item:hover .grid-overlay-text {
            transform: translateY(0);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        /* --- Horizontal Timeline --- */
        .timeline-wrapper {
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background-color: var(--fg);
            color: var(--bg);
            display: flex;
            align-items: center;
        }

        .timeline-track {
            display: flex;
            gap: 10vw;
            padding: 0 5vw;
        }

        .timeline-step {
            min-width: 60vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-left: 4px solid var(--bg);
            padding-left: 2rem;
        }

        .step-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        /* --- Sections --- */


        .marquee-section {
            padding: 4rem 0;
            border-bottom: var(--border);
            overflow: hidden;
        }

        .marquee-content {
            display: flex;
            gap: 4rem;
            width: max-content;
            animation: marquee 30s linear infinite;
        }

        .marquee-item {
            font-family: 'Archivo Black';
            font-size: 4rem;
            color: #333;
            transition: 0.3s;
        }

        .marquee-item:hover {
            color: #D69E2E;
        }

        @keyframes marquee {
            to {
                transform: translateX(-50%);
            }
        }

        /* --- Works Section --- */
        .works-section {
            padding: 10vh 5vw;
            border-bottom: var(--border);
        }

        .work-item {
            border-top: 1px solid #333;
            padding: 3rem 0;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: 0.3s;
        }

        .work-item:hover {
            padding-left: 2rem;
            background-color: #0a0a0a;
        }

        .work-preview {
            position: absolute;
            top: 50%;
            right: 15%;
            left: auto;
            width: 300px;
            height: 200px;
            background: #222;
            transform: translate(0, -50%) scale(0);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: auto;
            border: 1px solid var(--accent);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: monospace;
            font-size: 0.7rem;
            color: #666;
            overflow: hidden;
            cursor: pointer;
        }

        /* --- Play Icon Overlay --- */
        .play-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 54px;
            height: 54px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-icon-overlay svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: #fff;
            stroke-width: 2;
        }

        /* --- Multi Resource Popup --- */
        .resource-popup {
            position: absolute;
            left: 50%;
            bottom: -58px;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            padding: 10px 12px;
            background: rgba(10, 10, 10, 0.7);
            border: 1px solid rgba(214, 158, 46, 0.35);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
            z-index: 20;
        }

        .work-preview.multi-res:hover .resource-popup {
            opacity: 1;
            pointer-events: auto;
        }

        .popup-thumb-wrap {
            position: relative;
            width: 46px;
            height: 32px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.12);
            cursor: pointer;
        }

        .popup-thumb-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            opacity: 0.9;
        }

        .popup-thumb-icon {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.0));
        }

        .popup-thumb-icon svg {
            width: 16px;
            height: 16px;
            stroke: #fff;
            stroke-width: 2;
            fill: none;
            opacity: 0.95;
        }

        /* --- Work Preview: show on hover (desktop) --- */
        .work-item:hover .work-preview {
            transform: translate(0, -50%) scale(1);
        }

        /* --- Modal --- */
        .video-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
            z-index: 10000;
        }

        .video-modal.active {
            opacity: 1;
            pointer-events: auto;
        }

        .video-modal-content {
            position: relative;
            width: min(1000px, 92vw);
            height: min(560px, 70vh);
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: #060606;
            border-radius: 18px;
            overflow: visible;
        }

        .modal-close {
            position: absolute;
            top: -52px;
            right: 0;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(10, 10, 10, 0.65);
            color: #fff;
            border-radius: 12px;
            cursor: pointer;
        }

        /* --- Footer + CTA --- */
        .footer {
            position: relative;
            background: var(--bg);
            color: var(--fg);
            padding: 12vh 5vw;
            border-top: var(--border);
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 18px;
            border: 1px solid rgba(214, 158, 46, 0.55);
            border-radius: 14px;
            color: var(--fg);
            text-transform: uppercase;
            letter-spacing: 0.18em;
            font-size: 0.75rem;
            background: rgba(214, 158, 46, 0.08);
            transition: 0.2s;
        }

        .cta-button:hover {
            background: rgba(214, 158, 46, 0.18);
        }

        .footer-cta {
            font-family: 'Archivo Black', sans-serif;
            font-size: clamp(52px, 7vw, 110px);
            line-height: 0.9;
            margin-top: 40px;
        }

        .footer-cta a {
            color: var(--fg);
        }

        .footer-links {
            margin-top: 24px;
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }







        /* Modal Nav & Caption */
        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 10010;
        }

        .modal-nav:hover {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
        }

        .modal-nav.prev {
            left: -80px;
        }

        .modal-nav.next {
            right: -80px;
        }

        .modal-caption {
            position: absolute;
            bottom: -50px;
            width: 100%;
            text-align: center;
            color: #ccc;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        @media (max-width: 1024px) {

            .modal-nav.prev {
                left: 10px;
            }

            .modal-nav.next {
                right: 10px;
            }
        }

        /* Loader */
        .loader {
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #fff;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 0.8s linear infinite;
            position: absolute;
            z-index: 5;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        /* Modal Image Fit */
        .modal-media-content {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Mobile Responsive Overrides */
        @media (max-width: 768px) {

            /* Typography & Safe Areas */
            html,
            body {
                overflow-x: hidden;
                width: 100%;
                max-width: 100vw;
            }

            .hero-text-big {
                font-size: clamp(56px, 18vw, 120px);
            }

            /* Disable Custom Cursor Elements */
            .cursor-dot,
            .cursor-outline {
                display: none !important;
            }

            /* Default Cursor */
            * {
                cursor: auto !important;
            }

            /* Hero - Minimal Display */
            .hero-container {
                display: block;
                z-index: 1;
            }

            .content-wrapper {
                position: relative;
                z-index: 10;
                background-color: transparent;
            }

            .nav-bar {
                padding: 1.5rem;
            }

            .hero-panel {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: none !important;
                background: transparent;
            }

            .hero-panel.right {
                pointer-events: none;
            }

            /* Centered Single Title */
            .hero-panel.left .hero-text-big {
                left: 50%;
                top: 50%;
                bottom: auto;
                transform: translate(-50%, -50%);
                text-align: center;
                width: 100%;
                line-height: 1.1;
                font-size: clamp(48px, 15vw, 120px);
            }

            /* Hide the duplicate right side text */
            .hero-panel.right .hero-text-big {
                display: none;
            }

            /* Tickers Positioned High/Low */
            .scrolling-ticker {
                font-size: 0.8rem;
                white-space: nowrap;
            }

            .hero-panel.left .scrolling-ticker {
                bottom: 15%;
            }

            .hero-panel.right .scrolling-ticker {
                top: 5rem;
                bottom: auto;
                font-size: 0.7rem;
            }

            /* Manifesto Mobile View */
            .manifesto {
                padding: 10vh 1.5rem;
            }

            .manifesto .flex.justify-between {
                flex-direction: column;
                gap: 1.25rem;
                align-items: flex-start;
                font-size: 0.75rem;
            }

            .marquee-item {
                font-size: 2.5rem;
            }

            /* Timeline - Vertical Stack */
            .timeline-wrapper {
                height: auto;
                padding: 4rem 0;
                overflow: hidden;
                width: 100%;
            }

            .timeline-track {
                width: 100%;
                flex-direction: column;
                gap: 4rem;
                transform: none !important;
                /* Cancel GSAP x transform */
                padding: 0 1.5rem;
                box-sizing: border-box;
            }

            .timeline-step {
                min-width: 0;
                width: 100%;
                border-left: 2px solid var(--accent);
                padding-left: 1.5rem;
                box-sizing: border-box;
            }

            .timeline-step h3 {
                font-size: clamp(2.5rem, 11.5vw, 4rem);
                line-height: 1.1;
                overflow-wrap: break-word;
                word-break: break-word;
            }

            /* Product Grid */
            .grid-section {
                grid-template-columns: 1fr;
            }

            .grid-item {
                border-right: none;
                aspect-ratio: auto;
                min-height: 260px;
            }

            .grid-overlay-text {
                transform: translateY(0);
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                opacity: 0.7;
            }

            .grid-number {
                opacity: 0.3;
            }

            /* Works Section (Tap interaction) */
            .works-section {
                padding: 10vh 1.5rem;
            }

            .work-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 2rem;
                padding: 3rem 0;
            }

            .work-preview {
                position: relative;
                top: auto;
                right: auto;
                left: auto;
                transform: none !important;
                width: 100%;
                height: auto;
                aspect-ratio: 16/9;
                opacity: 1 !important;
                pointer-events: auto;
                margin-top: 1rem;
                background: #222;
                border: 1px solid var(--accent);
                overflow: visible;
                /* specific for popup positioning if needed */
            }

            .work-preview img {
                opacity: 1 !important;
            }

            .play-icon-overlay {
                opacity: 0.8 !important;
                transform: translate(-50%, -50%) scale(1);
            }

            /* Resource Popup - Static and Visible */
            .resource-popup {
                position: static;
                transform: none;
                opacity: 1;
                pointer-events: auto;
                background: transparent;
                backdrop-filter: none;
                border: none;
                box-shadow: none;
                margin-top: 1rem;
                padding: 0;
                overflow-x: auto;
                justify-content: flex-start;
                white-space: nowrap;
                width: 100%;
            }

            /* Clean approach without :has() - scripts should ideally structure this,
               but with current HTML structure, flex column on parent works if items are direct children.
               .work-preview contains img + overlay + popup.
             */
            .work-preview {
                display: flex;
                flex-direction: column;
                height: auto;
            }

            /* If the scripts inject it inside .work-preview, we let it flow */
            .resource-popup::-webkit-scrollbar {
                display: none;
            }

            /* Modal Mobile */
            .video-modal-content {
                width: 95%;
                aspect-ratio: auto;
                height: auto;
                min-height: 300px;
                max-height: 80vh;
            }

            .modal-close {
                top: 10px;
                right: 10px;
                z-index: 50;
                background: rgba(0, 0, 0, 0.5);
                padding: 5px 10px;
                border-radius: 4px;
            }

            .modal-nav {
                width: 40px;
                height: 40px;
            }

            .modal-nav.prev {
                left: 10px;
            }

            .modal-nav.next {
                right: 10px;
            }

            .modal-caption {
                position: relative;
                bottom: auto;
                margin-top: 10px;
                padding: 10px;
            }

            /* Footer */
            .footer-cta {
                font-size: 10vw;
                word-wrap: break-word;
            }

            .footer-links {
                flex-direction: column;
                gap: 1.5rem;
            }
        }

/* Contact Form Styles */
.contact-section {
    background-color: var(--bg);
    border-bottom: var(--border);
}
.lead-form input::placeholder, 
.lead-form textarea::placeholder {
    color: #4a4a4a;
}
.form-status-success {
    color: #4ade80; /* green-400 */
}
.form-status-error {
    color: #f87171; /* red-400 */
}
