    /* Base styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        
        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }
    
    /* Navbar scroll state */
    #navbar.scrolled {
        background-color: rgba(253, 252, 250, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(180, 160, 140, 0.15);
    }
    
    /* Mobile menu */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }
    
    #mobile-menu.open .mobile-link {
        animation: fadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
    #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }
    
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile menu button active state */
    #menu-toggle.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    #menu-toggle.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    /* Selection color */
    ::selection {
        background-color: rgba(232, 82, 47, 0.15);
        color: inherit;
    }
    
    /* Focus visible */
    *:focus-visible {
        outline: 1px solid rgba(232, 82, 47, 0.5);
        outline-offset: 2px;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: #faf5ed;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #dbb988;
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #cf9f68;
    }
