/* ═══════════════════════════════════════════════════════════
   NAV — Fixed header, mobile menu, sticky CTA
   ═══════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── Logo ──────────────────────────────────────────────── */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

/* ── Desktop CTA ───────────────────────────────────────── */
.nav__cta {
  flex-shrink: 0;
}

/* ── Hamburger ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 105;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Overlay ────────────────────────────────────── */
.nav__overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 103;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav__overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.nav__overlay-links a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  transition: color 0.2s ease;
}

.nav__overlay-links a:hover {
  color: var(--accent-hot);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav__overlay {
    display: flex;
  }
}
