    /* Custom Styles for Anderson Precision Pdts */
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Selection color */
    ::selection {
        background-color: #2d5036;
        color: #fdfcfa;
    }
    
    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #faf8f4;
    }
    ::-webkit-scrollbar-thumb {
        background: #9ec5a8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #4d8358;
    }
    
    /* Reveal animations - progressive enhancement, works without JS */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Navbar transition */
    #navbar {
        background-color: transparent;
    }
    #navbar.scrolled {
        background-color: rgba(253, 252, 250, 0.97);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 0 rgba(45, 80, 54, 0.08);
    }
    #navbar.scrolled .text-current,
    #navbar.scrolled .menu-line,
    #navbar.scrolled a:not(.bg-forest-700):not(.bg-forest-700 *) {
        color: #1e3525;
    }
    
    /* Mobile menu transitions */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }
    
    /* Menu button animation */
    .menu-line {
        transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    }
    #menu-btn.active .menu-line:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    #menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    #menu-btn.active .menu-line:nth-child(3) {
        width: 100%;
        transform: translateY(-4px) rotate(-45deg);
    }
    
    /* Mobile links */
    .mobile-link {
        transition: opacity 0.3s ease;
    }
    
    /* Button focus styles */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #4d8358;
        outline-offset: 2px;
    }
    
    /* Reduce motion preference */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .reveal {
            opacity: 1;
            transform: none;
        }
        * {
            transition-duration: 0.01ms !important;
        }
    }
