        :root {
            --beige: #f7ecde;
            --burgundy: #6E1A37;
            --burgundy-light: #8b2a4a;
        }

        body {
            font-family: 'Noto Sans', sans-serif;
            background-color: var(--beige);
            color: var(--burgundy);
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        /* CUSTOM UTILITIES */
        .bg-beige { background-color: var(--beige); }
        .bg-burgundy { background-color: var(--burgundy); }
        .text-beige { color: var(--beige); }
        .text-burgundy { color: var(--burgundy); }
        
        /* HEADER ANIMATION */
        header {
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        header.scrolled {
            background-color: var(--beige);
            padding: 1rem 2rem;
            box-shadow: 0 10px 30px rgba(110, 26, 55, 0.1);
        }

        .nav-link {
            position: relative;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-size: 0.75rem;
            cursor: pointer;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 50%;
            background-color: var(--burgundy);
            transition: all 0.4s ease;
            transform: translateX(-50%);
        }
        .nav-link:hover::after {
            width: 100%;
        }

        /* HERO ANIMATIONS */
        @keyframes slideUpFade {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .animate-hero { animation: slideUpFade 1s forwards; }

        @keyframes bgMove {
            0% { background-position: 0% 0%; }
            100% { background-position: 100% 100%; }
        }
        .animated-tech-bg {
            background-image: linear-gradient(rgba(110, 26, 55, 0.9), rgba(110, 26, 55, 0.9)), 
                              url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
            animation: bgMove 20s linear infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }
        .floating-card {
            animation: float 6s ease-in-out infinite;
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
        }

        /* LAYERED CARDS */
        .layered-card {
            transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .layered-card:hover {
            transform: translateY(-25px) scale(1.03);
            z-index: 40;
            box-shadow: 0 40px 80px rgba(110, 26, 55, 0.3);
        }

        /* TIMELINE */
        .timeline-line {
            width: 2px;
            background: linear-gradient(to bottom, transparent, var(--beige), transparent);
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            transform: translateX(-50%);
        }

        /* PAGE TRANSITIONS */
        .page-view { display: none; }
        .page-view.active { display: block; animation: fadeIn 0.6s ease-out; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* BUTTONS */
        .btn-burgundy {
            background-color: var(--burgundy);
            color: var(--beige);
            padding: 1.25rem 2.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .btn-burgundy:hover {
            background-color: #521329;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(110, 26, 55, 0.2);
        }

        /* MODAL */
        #modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(110, 26, 55, 0.98);
            z-index: 10000;
            overflow-y: auto;
        }
        
        .custom-scrollbar::-webkit-scrollbar { width: 4px; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 10px; }

        /* CASE STUDY IMAGE WRAPPERS */
        .reveal-img {
            clip-path: inset(0 0 0 0);
            transition: clip-path 1s ease;
        }
        .reveal-img:hover {
            clip-path: inset(5% 5% 5% 5%);
        }
