    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fdfcfa;
    }
    ::-webkit-scrollbar-thumb {
        background: #a3c382;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #7fa556;
    }

    /* Selection */
    ::selection {
        background: #c7dcb3;
        color: #2c401b;
    }

    /* Scroll reveal animations */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
        .reveal:nth-child(5) { transition-delay: 0.4s; }
        .reveal:nth-child(6) { transition-delay: 0.5s; }
    }

    /* Mobile menu animation */
    @media (max-width: 767px) {
        .menu-line:last-child {
            transition: all 0.3s ease;
        }
        #menuBtn.active .menu-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        #menuBtn.active .menu-line:nth-child(2) {
            opacity: 0;
        }
        #menuBtn.active .menu-line:nth-child(3) {
            width: 24px;
            margin-left: 0;
            transform: rotate(-45deg) translate(5px, -5px);
        }
    }

    /* Navbar scroll state */
    nav.scrolled {
        background: rgba(253, 252, 250, 0.95) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 20px rgba(44, 64, 27, 0.08);
    }

    nav.scrolled .font-serif {
        color: #2c401b !important;
    }

    nav.scrolled .text-forest-700 {
        color: #365021 !important;
    }

    /* Select dropdown styling */
    select option {
        background: #fdfcfa;
        color: #2c401b;
    }

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