{% comment %} `.collapse:not(.show) { display: none }` and `.navbar-expand-lg .navbar-collapse { display: flex !important }` are both plain CSS, so the menu collapses on mobile and stays open on desktop with Alpine off. Only the toggle needs JS. {% endcomment %}