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

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background: rgba(255, 107, 74, 0.3);
        color: #fff;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1a1a1a;
    }
    ::-webkit-scrollbar-thumb {
        background: #3d3d3d;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    /* Navbar scroll state */
    nav.scrolled {
        background: rgba(26, 26, 26, 0.95);
        backdrop-blur-lg;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav.scrolled .menu-line {
        background: #fff;
    }

    /* Mobile menu open state */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    /* Mobile menu links */
    .mobile-link {
        opacity: 1;
    }

    /* Service card hover lift */
    .service-card {
        transform: translateY(0);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    border-color 0.4s ease,
                    background 0.4s ease;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    /* Scroll reveal animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        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);
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .service-card:hover {
            transform: none;
        }
        .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* Select dropdown arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem;
    }

    /* Focus visible */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #FF6B4A;
        outline-offset: 2px;
    }
