    /* ─── Custom Styles for Fox Archery ─── */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(20, 184, 166, 0.3);
        color: #0A1628;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #040B16;
    }
    ::-webkit-scrollbar-thumb {
        background: #1B3761;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #214274;
    }

    /* ─── Reveal Animations (progressive enhancement) ─── */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            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);
        }
    }

    /* Fallback: always visible if JS is disabled or prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* ─── Mobile Menu ─── */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-link {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }
    #mobile-menu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }
    #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

    /* ─── Hamburger Animation ─── */
    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
        width: 5px;
    }

    /* ─── Hover effects for service cards ─── */
    .reveal .group:hover svg {
        transform: scale(1.1);
    }
    .reveal .group svg {
        transition: transform 0.3s ease;
    }

    /* ─── Image hover containers ─── */
    .grid .group img {
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* ─── Typography refinements ─── */
    .font-serif {
        text-rendering: optimizeLegibility;
    }

    /* ─── Focus styles ─── */
    a:focus-visible, button:focus-visible {
        outline: 2px solid #5EEAD4;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* ─── Subtle texture overlay on hero ─── */
    #hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 1;
    }
    #hero > *:not(::before) {
        position: relative;
        z-index: 2;
    }

    /* ─── Navbar scroll state ─── */
    header.scrolled {
        background-color: rgba(4, 11, 22, 0.98);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }
