/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5, 4, 8, 0.97) 0%, transparent 100%);
  padding: 20px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(5, 4, 8, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 241, 208, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-bright);
  white-space: nowrap;
  line-height: 1;
}

.nav-crest {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 241, 208, 0.8);
  transition: color 0.2s;
  text-decoration: none;
}

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

.nav-links a.active {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* CTA in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold-bright);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--cream);
  z-index: 101;
}

.nav-hamburger svg {
  display: block;
}

/* Mobile menu overlay */
.nav-mobile {
  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;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--gold);
}

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: var(--gutter);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
}

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

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }
}
