/* ─── Site nav ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  opacity: 0;
  animation: slideDown 0.8s ease 0.3s forwards;
}
.site-nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(200,240,80,0.07);
}

/* Logo */
.nav-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  cursor: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  color: var(--white-60);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-social {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white-25);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: none;
}
.nav-social:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: none;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200,240,80,0.3);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.nav-mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-menu a {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}
.nav-mobile-menu a:hover { color: var(--accent); }
.nav-mobile-close {
  position: absolute;
  top: 20px; right: var(--pad-x);
  font-size: 20px;
  color: var(--white-60);
  background: none;
  border: none;
  cursor: none;
}

/* Theme toggle */
.theme-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--white-12);
  border-radius: var(--radius-pill);
  color: var(--white-40);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-socials { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 480px) {
  .site-nav { padding: 16px 20px; }
}
