    /* Custom styles & Tailwind overrides */

    html {
        scroll-behavior: smooth;
    }

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

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

    #navbar.scrolled .navbar-text {
        color: #1f321e;
    }

    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

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

    /* Mobile menu */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #mobile-menu.open {
        max-height: 400px;
    }

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

    /* Selection */
    ::selection {
        background: #c6d9be;
        color: #1f321e;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f5f3e4;
    }
    ::-webkit-scrollbar-thumb {
        background: #c6d9be;
        border-radius: 999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #9dbf95;
    }
