:root {
            --ink: #0C0B09;
            --ink-2: #141310;
            --bone: #F0EDE6;
            --sand: #C8B89A;
            --gold: #D4A853;
            --rust: #C45C3A;
            --line: rgba(240,237,230,0.07);
            --font-display: 'Cormorant Garamond', serif;
            --font-body: 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            cursor: none; /* Hide default cursor for custom cursor */
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--ink);
            color: var(--bone);
            font-family: var(--font-body);
            overflow-x: hidden;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            paint-order: stroke fill;
        }

        /* Noise & Grain */
        .noise-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: 0.025;
            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");
            animation: grain 8s steps(10) infinite;
        }

        @keyframes grain {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -5%); }
            20% { transform: translate(-10%, 5%); }
            30% { transform: translate(5%, -10%); }
            40% { transform: translate(-5%, 15%); }
            50% { transform: translate(-10%, 5%); }
            60% { transform: translate(15%, 0); }
            70% { transform: translate(0, 10%); }
            80% { transform: translate(-15%, 0); }
            90% { transform: translate(10%, 5%); }
        }

        /* Custom Cursor */
        #cursor {
            position: fixed;
            width: 12px;
            height: 12px;
            background-color: var(--bone);
            border-radius: 50%;
            pointer-events: none;
            z-index: 10000;
            mix-blend-mode: difference;
            top: 0;
            left: 0;
            will-change: transform;
            transform-origin: center center;
        }

        #cursor-label {
            position: fixed;
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--ink);
            pointer-events: none;
            z-index: 10001;
            opacity: 0;
            top: 0;
            left: 0;
            white-space: nowrap;
            transform: translate(-100vw, -100vh);
        }

        /* Typography */
        h1, h2, h3, h4 {
            font-family: var(--font-display);
            font-weight: 400;
            letter-spacing: -0.02em;
        }

        .eyebrow {
            font-family: var(--font-mono);
            font-size: 11px;
            letter-spacing: 0.2em;
            color: var(--gold);
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .eyebrow::before {
            content: '';
            width: 8px;
            height: 8px;
            border: 1.5px solid var(--gold);
            transform: rotate(45deg);
            flex-shrink: 0;
        }

        /* Layout */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
        }

        section {
            padding: 120px 0;
            position: relative;
            content-visibility: auto;
            contain-intrinsic-size: 0 800px;
        }

        /* Nav */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 30px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            mix-blend-mode: difference;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            color: var(--bone);
            text-decoration: none;
            line-height: 1;
        }
        .nav-logo svg {
            display: block;
        }

        .nav-links {
            display: flex;
            gap: 40px;
        }

        .nav-links a {
            font-family: var(--font-mono);
            font-size: 12px;
            color: var(--bone);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }

        .nav-links a:hover {
            opacity: 1;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            z-index: 2000;
        }

        .menu-toggle span {
            width: 25px;
            height: 1px;
            background-color: var(--bone);
            transition: 0.3s;
        }

        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--ink);
            z-index: 1500;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 30px;
            transform: translateY(-100%);
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .mobile-nav.active {
            transform: translateY(0);
        }

        .mobile-nav a {
            font-family: var(--font-display);
            font-size: 48px;
            color: var(--bone);
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .menu-toggle { display: flex; }
        }

        /* Hero */
        #hero {
            height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        #hero h1 {
            font-size: clamp(60px, 8vw, 120px);
            line-height: 0.9;
            margin-bottom: 30px;
        }

        .hero-sub {
            font-size: 18px;
            color: var(--sand);
            max-width: 500px;
            margin-bottom: 40px;
        }

        .hero-canvas-container {
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            z-index: 1;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            padding: 18px 35px;
            font-family: var(--font-mono);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border-radius: 2px;
        }

        .btn-primary {
            background-color: var(--gold);
            color: var(--ink);
        }

        .btn-outline {
            border: 1px solid var(--line);
            color: var(--bone);
            margin-left: 20px;
        }

        /* About & Stats */
        #about {
            background-color: var(--ink-2);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 80px;
            align-items: center;
        }

        .about-logo-img {
            width: 100%;
            max-width: 400px;
            mix-blend-mode: multiply;
            opacity: 0.9;
            filter: grayscale(1) contrast(1.2);
        }

        .about-text p {
            font-size: 24px;
            font-family: var(--font-display);
            color: var(--bone);
            line-height: 1.4;
        }

        .stats-row {
            display: flex;
            justify-content: space-between;
            margin-top: 80px;
            padding-top: 60px;
            border-top: 1px solid var(--line);
        }

        .stat-item .number {
            font-family: var(--font-display);
            font-size: 64px;
            color: var(--gold);
            display: block;
        }

        .stat-item .label {
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--sand);
            text-transform: uppercase;
        }

        /* Services */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1px;
            background-color: var(--line);
            border: 1px solid var(--line);
        }

        .service-card {
            background-color: var(--ink);
            padding: 60px 40px;
            position: relative;
            overflow: hidden;
        }

        .service-card .service-3d {
            width: 100%;
            height: 150px;
            margin-bottom: 30px;
        }

        .service-card h3 {
            font-size: 32px;
            margin-bottom: 20px;
        }

        .service-card p {
            color: var(--sand);
            font-size: 15px;
        }

        .service-card::after {
            content: '';
            position: absolute;
            top: -100%;
            left: -100%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(212, 168, 83, 0.05), transparent);
            transition: 0.6s;
            pointer-events: none;
        }

        .service-card:hover::after {
            top: 0;
            left: 0;
        }

        /* Work Section - Horizontal Scroll */
        #work {
            padding: 0;
            height: 100vh;
            overflow: hidden;
        }

        .horizontal-scroll-wrapper {
            display: flex;
            height: 100vh;
            width: 400vw;
            will-change: transform;
            contain: layout style paint;
        }

        .work-slide {
            width: 100vw;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 10%;
            position: relative;
        }

        .work-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            width: 100%;
        }

        .work-info h3 {
            font-size: 72px;
            margin-bottom: 20px;
        }

        .work-info .tags {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
        }

        .work-info .tags span {
            font-family: var(--font-mono);
            font-size: 10px;
            color: var(--gold);
            border: 1px solid rgba(212, 168, 83, 0.3);
            padding: 4px 10px;
        }

        .work-img-placeholder {
            aspect-ratio: 16/10;
            background-color: var(--ink-2);
            border: 1px solid var(--line);
            position: relative;
            overflow: hidden;
        }

        .work-img-placeholder::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(212, 168, 83, 0.1), transparent);
            opacity: 0;
            transition: 0.5s;
        }

        .work-slide:hover .work-img-placeholder::before {
            opacity: 1;
        }

        /* Process Accordion */
        .process-accordion {
            max-width: 900px;
            margin: 60px auto 0;
        }

        .accordion-item {
            border-bottom: 1px solid var(--line);
        }

        .accordion-header {
            padding: 40px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .accordion-header h4 {
            font-size: 32px;
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .accordion-header .num {
            font-family: var(--font-mono);
            font-size: 14px;
            color: var(--sand);
        }

        .accordion-content {
            height: 0;
            overflow: hidden;
            transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .accordion-content p {
            padding-bottom: 40px;
            color: var(--sand);
            font-size: 18px;
            max-width: 600px;
            margin-left: 60px;
        }

        .accordion-item.active .accordion-header h4 {
            color: var(--gold);
        }

        /* Contact Section */
        #contact {
            text-align: center;
            padding-bottom: 150px;
        }

        #contact h2 {
            font-size: clamp(60px, 8vw, 120px);
            margin-bottom: 50px;
        }

        .contact-reveal-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-form {
            display: none;
            text-align: left;
            margin-top: 50px;
        }

        .form-group {
            margin-bottom: 30px;
        }

        .form-group label {
            display: block;
            font-family: var(--font-mono);
            font-size: 10px;
            text-transform: uppercase;
            color: var(--sand);
            margin-bottom: 10px;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--line);
            padding: 15px 0;
            color: var(--bone);
            font-family: var(--font-display);
            font-size: 24px;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-group input:focus, .form-group textarea:focus {
            border-color: var(--gold);
        }

        .copy-email-btn {
            margin-top: 30px;
            background: transparent;
            border: none;
            color: var(--sand);
            font-family: var(--font-mono);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        /* Footer */
        footer {
            padding: 60px 5%;
            border-top: 1px solid var(--line);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--font-mono);
            font-size: 11px;
            color: var(--sand);
        }

        .status {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background-color: #4ade80;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.5); opacity: 0.5; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* Scroll Progress */
        .progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 2px;
            background-color: var(--gold);
            width: 0%;
            z-index: 1001;
        }

        /* Mobile Adjustments */
        @media (max-width: 1024px) {
            .about-grid { grid-template-columns: 1fr; gap: 40px; }
            .services-grid { grid-template-columns: 1fr; }
            #work { height: auto; }
            .horizontal-scroll-wrapper { flex-direction: column; width: 100%; height: auto; }
            .work-slide { height: auto; padding: 80px 5%; }
            .work-card { grid-template-columns: 1fr; }
            .hero-canvas-container { display: none; }
        }