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

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

    body {
        margin: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    ::selection {
        background-color: rgba(212, 168, 75, 0.3);
        color: #FDF8F0;
    }

    /* Scroll reveal base — always visible, enhanced by JS */
    .reveal-up,
    .reveal-left,
    .reveal-right {
        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);
    }

    /* Progressive enhancement: animate only when JS adds the class */
    .reveal-animate .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-animate .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-animate .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    /* Stagger children */
    .reveal-animate > .reveal-up:nth-child(2) { transition-delay: 0.1s; }
    .reveal-animate > .reveal-up:nth-child(3) { transition-delay: 0.2s; }
    .reveal-animate > .reveal-up:nth-child(4) { transition-delay: 0.3s; }
    .reveal-animate > .reveal-up:nth-child(5) { transition-delay: 0.4s; }
    .reveal-animate > .reveal-up:nth-child(6) { transition-delay: 0.5s; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .reveal-up, .reveal-left, .reveal-right {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #050C09;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(212, 168, 75, 0.3);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 168, 75, 0.5);
    }

    /* Navbar glass effect */
    nav.scrolled {
        background: rgba(5, 12, 9, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    }

    /* Gold shimmer on hover for buttons */
    button:hover, a:hover {
        /* handled by individual elements */
    }

    /* Focus styles */
    :focus-visible {
        outline: 2px solid rgba(212, 168, 75, 0.6);
        outline-offset: 2px;
    }

    /* Image loading placeholder */
    img {
        background-color: #0D1F17;
    }
