/* ============================================================
   bipolarist.com — UNIFIED TOP NAV
   Matches the homepage carousel nav.
   Loaded by every sub-page; the bp-logo SVG referenced via
   <use href="/assets/img/bp-logo.svg#bp-logo"> requires the
   page CSS to define --neon and --white/--grey-* tokens.
   ============================================================ */

nav.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: 100%;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
}
.nav-brand {
  display: flex;
  align-items: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white, #ffffff);
  letter-spacing: -0.015em;
  text-decoration: none;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.nav-brand .the {
  font-style: italic;
  font-size: 0.55em;
  color: var(--grey-300, #a8a8a3);
  margin-right: 0.15em;
  vertical-align: 0.8em;
}
.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  color: var(--neon, #d4ff00);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.nav-logo .brand-icon { width: 100%; height: 100%; }
.nav-logo .brand-icon svg { width: 100%; height: 100%; display: block; }
.nav-links-left { padding-right: 12px; }
.nav-links-right { padding-left: 12px; }
.nav-links {
  display: flex;
  gap: 38px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--grey-200, #d0d0cc);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--neon, #d4ff00);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--neon, #d4ff00); }
.nav-links a:hover::after { width: 100%; }
.nav-issue {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-300, #a8a8a3);
}
a.nav-join {
  background: var(--neon, #d4ff00);
  color: var(--ink, #0a0a08);
  padding: 6px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
a.nav-join:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-inner { padding: 14px 20px; gap: 14px; }
  .nav-links { display: none; }
  .nav-brand { font-size: 18px; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-brand { font-size: 16px; }
  a.nav-join { padding: 5px 12px; font-size: 11px; letter-spacing: 0.12em; }
  .nav-logo { width: 32px; height: 32px; }
}
