/* ── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  z-index: 1000;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--text);
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::before,
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a::before {
  top: 0;
}

.nav-links a::after {
  bottom: 0;
  left: auto;
  right: 0;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::before,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--red-dim) !important; color: #fff !important; }

/* ── Hamburger ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Mobile menu ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--red); }

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