    /* Custom styles and overrides */
    :root {
        --emerald-950: #052e16;
        --emerald-900: #14532d;
        --emerald-800: #166534;
        --emerald-700: #15803d;
        --emerald-600: #16a34a;
        --emerald-500: #22c55e;
        --cream-50: #fefdf8;
        --cream-100: #fdf9f0;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Lato', Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

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

    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-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);
        }

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

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(20, 83, 45, 0.08);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled span {
        color: #166534 !important;
    }

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

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

    ::-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='%23166534' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.25em 1.25em;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    /* Focus visible for accessibility */
    *:focus-visible {
        outline: 2px solid #16a34a;
        outline-offset: 2px;
    }

    /* Animation keyframes */
    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(2deg); }
        50% { transform: translateY(-10px) rotate(2deg); }
    }

    @keyframes float-reverse {
        0%, 100% { transform: translateY(0px) rotate(-1deg); }
        50% { transform: translateY(-8px) rotate(-1deg); }
    }

    @keyframes float-alt {
        0%, 100% { transform: translateY(0px) rotate(1deg); }
        50% { transform: translateY(-6px) rotate(1deg); }
    }

    /* Apply floating animations to hero cards */
    @media (prefers-reduced-motion: no-preference) {
        .absolute.top-8.left-0 {
            animation: float 6s ease-in-out infinite;
        }
        .absolute.top-1\/2.left-4 {
            animation: float-reverse 7s ease-in-out infinite;
        }
        .absolute.bottom-8.right-8 {
            animation: float-alt 5s ease-in-out infinite;
        }
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .font-serif {
            font-size: clamp(1.75rem, 5vw, 2.5rem);
        }
    }

    /* Print styles */
    @media print {
        nav, #mobile-menu-btn, .scroll-reveal {
            display: none !important;
        }
        body {
            background: white !important;
            color: black !important;
        }
    }
