    /* Custom styles beyond Tailwind */
    
    *, *::before, *::after {
        box-sizing: border-box;
    }
    
    html {
        scroll-behavior: smooth;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Hero reveal animation */
    .reveal-hero {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    /* Scroll reveal for below-fold sections */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Navbar styles */
    #navbar {
        background: transparent;
    }
    
    #navbar.scrolled {
        background: rgba(254, 252, 232, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
    }
    
    /* Mobile menu */
    #mobileMenu.open {
        opacity: 1;
        pointer-events: all;
    }
    
    /* Menu button animation */
    #menuBtn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    #menuBtn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    #menuBtn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
        width: 20px;
    }
    
    /* Mobile link animation */
    .mobile-link {
        opacity: 1;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #fefce8;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #14b8a6;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #0d9488;
    }
    
    /* Selection color */
    ::selection {
        background: #bbf7d0;
        color: #0a1628;
    }
    
    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        
        html {
            scroll-behavior: auto;
        }
    }
    
    /* Smooth image loading */
    img {
        image-rendering: auto;
        will-change: transform;
    }
    
    /* Focus styles */
    a:focus-visible, button:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
        border-radius: 4px;
    }
