    /* Custom styles beyond Tailwind */

    /* Smooth scroll offset for fixed nav */
    section[id] {
        scroll-margin-top: 80px;
    }

    /* Reveal animations — progressive enhancement, respects reduced motion */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
    }

    /* Mobile menu transitions */
    #mobile-menu {
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    }

    #mobile-menu.open {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Navbar background transition */
    #navbar.scrolled {
        background: rgba(17, 28, 10, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(250, 249, 245, 0.05);
    }

    /* Form input focus animation */
    input:focus, textarea:focus {
        box-shadow: 0 0 0 3px rgba(82, 128, 53, 0.15);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f5f3ec;
    }
    ::-webkit-scrollbar-thumb {
        background: #9dbe7a;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #74a34f;
    }

    /* Selection color */
    ::selection {
        background: #c6d9b0;
        color: #111c0a;
    }
