    /* Custom styles that extend Tailwind */
    :root {
        --color-emerald-950: #052e16;
        --color-cream-50: #fefef8;
        --color-cream-100: #fdf9ed;
    }

    html {
        scroll-behavior: smooth;
    }

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

    /* Navigation transition states */
    #site-header.scrolled {
        background-color: rgba(5, 46, 22, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    #site-header.scrolled .nav-text {
        color: #fdf9ed;
    }

    /* Mobile menu animation */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Scroll reveal */
    .reveal {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

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

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

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #15803d;
    }

    /* Select styling */
    select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
    }

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

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

        body {
            color: #1c1917;
            background: white;
        }

        a {
            color: #166534;
        }
    }
