/* ==========================================================================
   COMPONENTS · NAV — the publication's running head: the mark on the left,
   gridded small-caps section links in the middle, account actions on the right.
   Premium without gloss; a single hairline divides it from the page.
   ========================================================================== */

.op-nav {
  background: color-mix(in oklab, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--rule);
}

.op-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-xs);
}

.op-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.op-nav__link {
  font-family: var(--font-furniture);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding-block: var(--space-3xs);
  border-bottom: 2px solid transparent;
  transition: var(--transition-ink);
}
.op-nav__link:hover { color: var(--text); border-bottom-color: var(--rule-strong); }

.op-nav__link.is-current,
.op-nav__link[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.op-nav__actions { display: flex; align-items: center; gap: var(--space-xs); }

/* Sticky running head */
.op-nav--sticky { position: sticky; top: 0; z-index: var(--z-sticky); }

@media (max-width: 56.25rem) {
  .op-nav__list { gap: var(--space-sm); font-size: var(--text-2xs); }
  .op-nav__inner { flex-wrap: wrap; }
}
