/* =========================================================
   NAV — thin black bar, center brand, underline hover
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(0,0,0,0.88);
  border-bottom-color: var(--line);
}

.nav-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.nav-brand sup {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: super;
  margin-left: 4px;
  color: var(--fg-3);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: -0.005em;
  transition: color 0.3s var(--ease);
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #fff;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover { background: #fff; color: #000; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}
