        :root {
            --graphite: #1a1c1e;
            --steel: #4a5568;
            --metallic: #e2e8f0;
            --soft-white: #fcfcfc;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--soft-white);
            color: var(--graphite);
            scroll-behavior: smooth;
        }

        .cursive { font-family: 'Great Vibes', cursive; font-size: 1.6rem; color: #718096; }
        .mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
        .heading { font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; line-height: 0.9; }
        
        /* Opening Scan Line Animation */
        #loader {
            position: fixed;
            inset: 0;
            background: #111;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            transition: transform 1.2s cubic-bezier(1, 0, 0, 1);
        }
        .scan-line {
            width: 250px;
            height: 1px;
            background: rgba(255,255,255,0.2);
            position: relative;
            overflow: hidden;
        }
        .scan-line::after {
            content: '';
            position: absolute;
            left: -100%;
            width: 100%;
            height: 100%;
            background: white;
            animation: scanning 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }
        @keyframes scanning {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Blueprint Grid Background */
        .blueprint {
            background-image: 
                linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
            background-size: 50px 50px;
        }

        /* Smooth Layering */
        .page-view { display: none; opacity: 0; }
        .page-view.active { display: block; opacity: 1; animation: fadeIn 0.8s ease forwards; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        /* Mechanical Hover */
        .btn-mech {
            position: relative;
            padding: 1rem 2.5rem;
            border: 1px solid var(--graphite);
            transition: all 0.4s;
            overflow: hidden;
        }
        .btn-mech:hover { background: var(--graphite); color: white; }
        
        .card-magazine {
            transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
            border-bottom: 1px solid transparent;
        }
        .card-magazine:hover {
            transform: translateY(-10px);
            border-bottom-color: var(--graphite);
        }

        .modal-overlay {
            background: rgba(26, 28, 30, 0.95);
            backdrop-filter: blur(10px);
        }

        /* Hero Animation */
        .bg-animate {
            background: linear-gradient(-45deg, #f8fafc, #e2e8f0, #cbd5e1);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
        }
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        #mobile-nav {
  animation: slideIn .3s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
