/* Site navigation: the Gear and Pairings page links.
   Shared by every page that carries the header nav, so the links look and
   behave the same everywhere. Linked as /assets/site-nav.css?v=N: /assets/ is
   served immutable for a year (vercel.json), so bump N on any change. */

/* Sub-pages: brand on the left, page links + back link on the right. */
.nav-pages{display:flex;align-items:center;gap:22px;margin-left:auto;}
.nav-pages a{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:2.5px;color:var(--smoke);text-transform:uppercase;white-space:nowrap;text-decoration:none;transition:color .15s;}
.nav-pages a:hover,.nav-pages a[aria-current="page"]{color:var(--gold-lt);}
@media (max-width:640px){
  /* The brand already links home; drop the back link to keep the page links. */
  .nav-pages ~ .nav-back{display:none;}
  .nav-pages{gap:16px;}
  .nav-pages a{letter-spacing:1.5px;}
}
@media (max-width:340px){
  .nav-pages{gap:12px;}
  .nav-pages a{letter-spacing:1px;}
}

/* Home page: Gear and Pairings sit in the section menu on desktop and stay
   visible as a second row on narrow screens, where the section anchors hide. */
.nav--home .nav-link[aria-current="page"]{color:var(--gold-lt);}
@media (max-width:1180px){
  .nav--home .nav-links{gap:16px;}
  .nav--home .nav-link{letter-spacing:1px;}
}
@media (max-width:900px){
  .nav--home{flex-wrap:wrap;row-gap:8px;background:rgba(16,14,11,.94);}
  .nav--home .nav-links{display:flex;order:3;width:100%;justify-content:center;gap:28px;}
  .nav--home .nav-links .nav-link:not(.nav-link--page){display:none;}
}
