    /* Base & Typography */
    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: rgba(201, 85, 43, 0.2);
        color: #321008;
    }

    /* 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);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(40px);
        }

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

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

    @media (prefers-reduced-motion: reduce) {
        .reveal,
        .reveal-hero {
            opacity: 1;
            transform: none;
        }
    }

    /* Hero staggered reveals */
    @media (prefers-reduced-motion: no-preference) {
        .reveal-hero:nth-child(1) { transition-delay: 0.1s; }
        .reveal-hero:nth-child(2) { transition-delay: 0.25s; }
        .reveal-hero:nth-child(3) { transition-delay: 0.4s; }
        .reveal-hero:nth-child(4) { transition-delay: 0.55s; }
    }

    /* Navbar transitions */
    #navbar.scrolled {
        background-color: rgba(253, 248, 240, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(134, 50, 25, 0.08);
    }

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

    /* Smooth image loading */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #FDF8F0;
    }
    ::-webkit-scrollbar-thumb {
        background: #c9552b;
        border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #a8411e;
    }

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

    /* Gallery hover effect */
    .reveal img {
        will-change: transform;
    }

    /* Card image container */
    .group .aspect-\[4\/3\] img {
        will-change: transform;
    }
