 :root {
            --cyan: #00f6ff;
            --violet: #8b8dff;
            --bg: #000;
            --mono: 'JetBrains Mono', monospace;
            --safe-area: 6%;
        }

        /* --- GLOBAL RESET & RESPONSIVENESS --- */
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        
        html { 
            scroll-behavior: smooth; 
            scroll-padding-top: 100px; 
        }

        body {
            background: var(--bg); 
            color: #ffffff; 
            font-family: 'Space Grotesk', sans-serif; 
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* --- UNIFIED HEADER --- */
        nav { 
            position: fixed; top: 0; width: 100%; padding: 30px var(--safe-area); 
            display: flex; justify-content: space-between; align-items: center; 
            z-index: 10000; background: rgba(0,0,0,0.85); 
        }
        .logo-img { height: 55px; width: auto; transition: 0.3s; }
        .nav-links { display: flex; gap: 40px; list-style: none; }
        .nav-links a { 
            text-decoration: none; color: #fff; font-size: 0.9rem; letter-spacing: 2px; 
            text-transform: uppercase; font-family: var(--mono); opacity: 0.8; transition: 0.3s;
            position: relative; padding: 10px 0;
        }
        .nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }
        .nav-links a::after { 
            content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; 
            background: var(--cyan); transition: 0.3s; box-shadow: 0 0 8px var(--cyan); 
        }
        .nav-links a:hover::after { width: 100%; }

        .menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 10002; padding: 10px; }
        .menu-toggle span { width: 28px; height: 2px; background: var(--cyan); transition: 0.3s; }

        .hero {
            min-height: 80vh;
            display: flex; flex-direction: column; justify-content: center;
            padding: 140px var(--safe-area) 60px;
            background: radial-gradient(circle at 90% 10%, rgba(0, 246, 255, 0.1), transparent 50%);
        }
        .hero h1 { 
            font-size: clamp(2.5rem, 8vw, 5.5rem); 
            font-weight: 700; line-height: 1; margin-bottom: 20px; text-transform: uppercase;
        }
        .hero p { 
            font-family: var(--mono); font-size: 0.8rem; color: var(--cyan);
            border-left: 2px solid var(--cyan); padding-left: 20px; text-transform: uppercase;
        }

        /* --- STICKY SERVICE NAV --- */
        .service-nav-wrapper {
            position: sticky; top: 115px; z-index: 1500;
            background: rgba(0,0,0,0.95); 
            border-bottom: 1px solid rgba(255,255,255,0.1);
            overflow-x: auto;
        }
        .service-list-inline { display: flex; gap: 40px; list-style: none; padding: 20px var(--safe-area); min-width: max-content; }
        .service-anchor {
            text-decoration: none; color: #fff; font-family: var(--mono);
            font-size: 0.7rem; text-transform: uppercase; opacity: 0.4; transition: 0.3s;
        }
        .service-anchor.active-service { opacity: 1; color: var(--cyan); }

        .service-strip {
            position: relative; min-height: 100vh; width: 100%;
            display: flex; align-items: center; overflow: hidden;
        }
        /* --- OPTIMIZED BACKGROUND IMAGES --- */
        .bg-image {
            position: absolute; inset: 0; 
            background-size: cover; 
            background-position: center;
            filter: brightness(0.6); 
            z-index: 1; 
            transition: transform 2s ease;
            /* Improvement: Only render when near the viewport */
            content-visibility: auto; 
        }

        /* Mobile Optimization: Serve WebP for speed, keep PNG for Desktop */
        @media (max-width: 768px) {
            .bg-image { background-position: center top; }
            
            #porting .bg-image { 
                background-image: image-set(url('games-mobile.webp') 1x, url('games.png') 2x); 
            }
            #spatial .bg-image { 
                background-image: image-set(url('spatial-mobile.webp') 1x, url('spatial.png') 2x); 
            }
            #mastering .bg-image { 
                background-image: image-set(url('ai-ml-mobile.webp') 1x, url('ai-ml.png') 2x); 
            }
            #architect .bg-image { 
                background-image: image-set(url('apple-architect-mobile.webp') 1x, url('apple architect.png') 2x); 
            }
        }

        .content-overlay {
            position: relative; z-index: 2; width: 100%;
            padding: 100px var(--safe-area); display: grid; grid-template-columns: 1fr; gap: 40px;
        }

        .info-card {
            background: rgba(255, 255, 255, 0.03); 
            backdrop-filter: blur(12px); 
            -webkit-backdrop-filter: blur(12px);
            padding: clamp(30px, 5vw, 60px); 
            border: 1px solid rgba(255,255,255,0.1);
            border-left: 5px solid var(--cyan);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
        }

        .info-card h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 20px; text-transform: uppercase; line-height: 1.1; }
        .info-card p { font-weight: 300; margin-bottom: 30px; opacity: 0.9; }

        .spec-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
        .spec-list li {
            font-family: var(--mono); font-size: 0.65rem; padding: 8px 15px;
            border: 1px solid var(--cyan); text-transform: uppercase; color: var(--cyan);
        }

        /* --- NEW: MONOCHROME BUTTON & LINK EFFECTS --- */
        .cta-final-section {
    padding: 100px var(--safe-area);
    text-align: center;
    background: #000;
    overflow: visible; /* ✅ prevents border clipping on mobile */
}
/* --- Publications-style CTA button --- */
.studio-btn {
    display: inline-block;
    padding: 22px 40px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    border-radius: 40px;
    box-shadow: 0 0 25px rgba(0,246,255,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.studio-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0,246,255,0.6);
}

@media (max-width: 480px) {
    .studio-btn {
        padding: 20px 30px;
    }
}

.studio-btn {
    margin-top: -20px;
}

       .btn-monochrome {
    display: inline-block;
    padding: 20px 40px;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;

    box-sizing: border-box; /* ✅ */
    max-width: 100%;        /* ✅ */
}
@media (max-width: 480px) {
    .btn-monochrome {
        padding: 18px 28px; /* ✅ balanced internal spacing */
    }
}



        .btn-monochrome:hover {
            background: #ffffff;
            color: #000000;
            border-color: #ffffff;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
        }

        /* Zerocoin Link Effect */
        @keyframes pulse-cyan {
            0%, 100% { text-shadow: 0 0 2px var(--cyan); }
            50% { text-shadow: 0 0 12px var(--cyan); }
        }

        .inline-link {
            color: var(--cyan);
            text-decoration: none;
            font-family: var(--mono);
            font-weight: 700;
            border-bottom: 1px dotted var(--cyan);
            animation: pulse-cyan 3s infinite ease-in-out;
            padding: 0 2px;
        }

        .inline-link::before { content: '['; opacity: 0.4; }
        .inline-link::after { content: ']'; opacity: 0.4; }

        footer { padding: 80px var(--safe-area); text-align: center; border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 10; background: #000; }
        .footer-logo { height: 45px; margin-bottom: 20px; }
        .copyright { font-family: var(--mono); font-size: 0.7rem; opacity: 0.5; letter-spacing: 2px; }

        @media (min-width: 992px) { .content-overlay { grid-template-columns: 1fr 1fr; } }
        
        @media (max-width: 992px) {
            .menu-toggle { display: flex; }
            .nav-links { 
                position: fixed; top: 0; right: -100%; height: 100vh; width: 100%; 
                background: #000; flex-direction: column; justify-content: center; 
                align-items: center; transition: 0.5s ease; gap: 30px;
            }
            .nav-links.active { right: 0; }
            .info-card { border-left: 3px solid var(--cyan); padding: 30px; }
            
        }

        @media (max-width: 768px) {
            .service-strip { min-height: 70vh; }
            .bg-image { background-position: center top; }
        }