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

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: #065f46;
        color: #fefdf8;
    }

    /* Floating card animations */
    @media (prefers-reduced-motion: no-preference) {
        .floating-card {
            animation: float 6s ease-in-out infinite;
        }

        .card-1 {
            animation-delay: 0s;
        }

        .card-2 {
            animation-delay: -1.5s;
        }

        .card-3 {
            animation-delay: -3s;
        }

        .card-4 {
            animation-delay: -4.5s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-12px);
            }
        }

        /* Marquee */
        .marquee-track {
            animation: marquee 30s linear infinite;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
    }

    /* Scroll reveal (below fold only, progressive enhancement) */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
    }

    /* Reduced motion - ensure content is always visible */
    @media (prefers-reduced-motion: reduce) {
        .floating-card {
            animation: none;
        }
        
        .marquee-track {
            animation: none;
            display: flex;
            flex-wrap: nowrap;
            overflow: hidden;
        }

        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    /* Navbar transition */
    #navbar.scrolled {
        background-color: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
    }

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

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

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #fdf8ee;
    }

    ::-webkit-scrollbar-thumb {
        background: #065f46;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #047857;
    }

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    /* Button hover lift */
    a[href="#menu"],
    a[href="#about"],
    a[href="#roastery"],
    a[href="#visit"] {
        position: relative;
    }

    /* Image hover zoom */
    .aspect-\[4\/5\] img,
    .aspect-square img {
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .aspect-\[4\/5\]:hover img,
    .aspect-square:hover img {
        transform: scale(1.03);
    }
