    /* ========================================
       Galesville Farmers Market — Custom Styles
       ======================================== */

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

    body {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        color: #1a0d21;
        background-color: #ffffff;
    }

    .font-display {
        font-family: 'Playfair Display', Georgia, serif;
    }

    /* Scroll Reveal Animations */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal[data-reveal="delay-1"] { transition-delay: 0.1s; }
    .reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
    .reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }
    .reveal[data-reveal="delay-4"] { transition-delay: 0.4s; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        .reveal[data-reveal] { transition-delay: 0s; }
    }

    /* Navigation */
    #site-header {
        background: transparent;
        transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    }

    #site-header.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(91, 44, 111, 0.08);
    }

    #site-header.scrolled .nav-link {
        color: #1a0d21;
    }

    #site-header.scrolled .nav-link:hover {
        color: #5B2C6F;
    }

    #site-header.scrolled .font-display {
        color: #1a0d21;
    }

    /* Nav link underline animation */
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #f59e0b;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

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

    .mobile-link {
        animation: fadeIn 0.3s ease forwards;
    }

    .mobile-link:nth-child(1) { animation-delay: 0.05s; }
    .mobile-link:nth-child(2) { animation-delay: 0.1s; }
    .mobile-link:nth-child(3) { animation-delay: 0.15s; }
    .mobile-link:nth-child(4) { animation-delay: 0.2s; }

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

    /* Menu toggle animation */
    .menu-line {
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
        width: 24px;
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Card hover effects */
    .group:hover .group-hover\:scale-110 {
        transform: scale(1.1);
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #7c4f91;
    }

    /* Focus visible styles */
    :focus-visible {
        outline: 2px solid #f59e0b;
        outline-offset: 2px;
    }

    /* Selection */
    ::selection {
        background: #5B2C6F;
        color: #fff;
    }

    /* Input autofill */
    input:-webkit-autofill,
    textarea:-webkit-autofill,
    select:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
        -webkit-text-fill-color: #1a0d21 !important;
    }

    /* Hero parallax-like subtle effect */
    #hero img {
        will-change: transform;
    }

    /* Print styles */
    @media print {
        #site-header,
        #mobile-menu,
        .reveal {
            display: block !important;
            opacity: 1 !important;
        }

        #hero {
            min-height: auto;
            padding: 2rem 0;
        }

        #hero img {
            display: none;
        }

        footer {
            background: #1a0d21 !important;
        }
    }
