/* Navigation update (Oct 2026): fits the longer menu labels on one line */
.nav { gap: 2px; }
.nav a { white-space: nowrap; padding: 12px 10px; font-size: 14px; }
.nav a.active:after { left: 10px; right: 10px; }
.nav .cta { margin-left: 6px; padding: 13px 16px; }

@keyframes drop { from { opacity: 0; transform: translateY(-12px) } to { opacity: 1; transform: none } }

/* Switch to the mobile (hamburger) menu earlier, as the full menu needs about 1300px */
@media (max-width: 1300px) {
    .nav { display: none; }
    .menu-btn { display: block; }
    .mobile-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 88px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 28px;
        display: none;
        box-shadow: 0 20px 35px rgba(7, 23, 34, .1);
    }
    .mobile-nav.open { display: block; animation: drop .35s var(--ease); }
    .mobile-nav a { display: block; padding: 14px; border-radius: 10px; text-decoration: none; font-weight: 800; }
    .mobile-nav a:hover,
    .mobile-nav a.active { background: var(--ink); color: #fff; }
}

@media (max-width: 700px) {
    .mobile-nav { top: 76px; }
}
