/* ─────────────────────────────────────────
   Frame99 — Shared Subnav
   Sticky pill-link bar that sits 60px below the main nav.

   Per-link accent color: set `--sn-color` on the link inline,
     e.g. <a class="sn-link" style="--sn-color:var(--gold)">...</a>
   The .active state uses --sn-color, falling back to --azure.

   Pages that want a hovering / animated variant (fixed + .visible
   toggle) override .subnav locally — see living/index.html.
   ───────────────────────────────────────── */

.subnav {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(12,12,10,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--hint);
  padding: 0 52px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }

.sn-link {
  font-family: var(--mono);
  font-size: var(--t-label-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .2s, background .2s;
  border: 0.5px solid transparent;
  flex-shrink: 0;
}
.sn-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.sn-link.active {
  color: var(--sn-color, var(--azure));
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
  .subnav { padding: 0 24px; }
}
