    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        margin: 0;
        background-color: #070B12;
        color: #e2e8f0;
    }

    ::selection {
        background: rgba(249, 117, 131, 0.3);
        color: #f97583;
    }

    /* Scroll reveal animations — progressive enhancement, only when JS runs */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reduced motion: keep everything visible */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0D1320;
    }
    ::-webkit-scrollbar-thumb {
        background: #22304A;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #F97583;
    }

    /* Focus visible styles */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #F97583;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Mobile menu transition */
    #mobileMenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    #mobileMenu.open {
        max-height: 400px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
