/* ============================================================
   NAV — fixed 92px bar, logo colour-swap on scroll (.dark),
   desktop links, hamburger + full-screen mobile menu.
   Scroll/logo-swap and menu toggle handled in site.js.
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 92px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

nav:not(.dark) { box-shadow: 0 1px 24px -8px rgba(0, 20, 50, 0.08); }

nav.dark {
  background: rgba(10,10,10,0.88);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img { height: 48px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  opacity: 0.65;
  transition: opacity 0.25s var(--ease-out);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav.dark .nav-links a { color: var(--white); }
.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s ease !important;
}

.nav-cta:hover { background: #003d77 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

nav.dark .hamburger span { background: var(--white); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 8vw, 52px);
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--cyan); }

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

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
