    /* Base & Typography */
    *, *::before, *::after {
        box-sizing: border-box;
    }

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

    body {
        margin: 0;
        overflow-x: hidden;
    }

    ::selection {
        background-color: rgba(47, 79, 47, 0.2);
        color: #152115;
    }

    /* Scroll Reveal Animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .reveal[data-reveal="delay-1"] { transition-delay: 0.1s; }
        .reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
        .reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }
        .reveal[data-reveal="delay-4"] { transition-delay: 0.4s; }
    }

    /* Reduced motion - content always visible */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* Navbar transitions */
    #navbar {
        transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    }

    #navbar.scrolled {
        background-color: rgba(250, 249, 246, 0.97);
        box-shadow: 0 1px 20px rgba(21, 33, 21, 0.08);
        backdrop-filter: blur(10px);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f5f3ed;
    }
    ::-webkit-scrollbar-thumb {
        background: #b8d1b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #8fb88f;
    }

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

    /* Form focus transitions */
    input, select, textarea {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Subtle pattern backgrounds */
    .pattern-dots {
        background-image: radial-gradient(circle, rgba(47, 79, 47, 0.08) 1px, transparent 1px);
        background-size: 24px 24px;
    }

    /* Print styles */
    @media print {
        #navbar, #mobile-menu, button, iframe {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
        .bg-forest-800, .bg-forest-950 {
            background: #fff !important;
            color: #000 !important;
        }
    }
