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

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

    body {
        overflow-x: hidden;
    }

    /* Selection color */
    ::selection {
        background: #d4a853;
        color: #0a1628;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fafaf5;
    }
    ::-webkit-scrollbar-thumb {
        background: #d4a853;
        border-radius: 999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #b8862d;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(255, 250, 245, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06), 0 4px 24px rgba(10, 22, 40, 0.04);
    }

    /* Scroll reveal — progressive enhancement via JS */
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal.is-hidden {
            opacity: 0;
            transform: translateY(32px);
        }
        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile menu */
    #mobile-menu {
        animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #mobile-menu.hidden {
        animation: slideUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes slideUp {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-8px); pointer-events: none; }
    }

    /* Mobile link active state */
    .mobile-link.active {
        color: #0a1628;
        background: #f0f3f9;
    }

    /* Form focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Image hover container */
    .reveal.rounded-2xl {
        overflow: hidden;
    }

    /* Smooth image transitions */
    img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* Button ripple-like hover effect */
    a, button {
        -webkit-tap-highlight-color: transparent;
    }

    /* Select 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='%230a1628' stroke-width='2.5' 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;
    }

    /* Print styles */
    @media print {
        header, #contact-form, #form-success { display: none; }
        body { color: #000; background: #fff; }
        a { color: #000; text-decoration: underline; }
    }
