    /* Custom styles beyond Tailwind */

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(47, 84, 47, 0.15);
        color: #1e351e;
    }

    /* Scroll reveal base state */
    .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(24px);
        }

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

    /* Navbar solid background on scroll */
    nav.scrolled {
        background-color: rgba(250, 249, 246, 0.97);
        backdrop-filter: blur(8px);
        box-shadow: 0 1px 0 rgba(47, 84, 47, 0.08);
    }

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

    /* Custom select arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234d8a4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

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

    /* Focus styles for accessibility */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 2px solid #4d8a4d;
        outline-offset: 2px;
    }

    /* Subtle hover lift on cards */
    .reveal:hover {
        transform: translateY(-2px);
    }

    /* Decorative thin lines */
    .thin-line {
        height: 1px;
        background: linear-gradient(90deg, transparent, #c5dfc2, transparent);
    }
