/* ── Navigation — Mobile-First, Premium Cross-Browser ── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 92px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  transition:
    background var(--t-slow) var(--ease-gold),
    box-shadow var(--t-slow) var(--ease-gold),
    top 0.2s ease;
  will-change: background, box-shadow;
}

.site-nav.scrolled {
  background: rgba(10,10,10,0.96);
  box-shadow: var(--shadow-nav);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.site-nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.nav-inner {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.nav-logo {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 54px; height: 54px;
  object-fit: contain;
  -webkit-flex-shrink: 0; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201,162,39,0.3));
  transition: filter var(--t-mid) var(--ease-gold);
}
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 0 14px rgba(201,162,39,0.6)); }
.nav-logo-text { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; line-height: 1; }
.nav-logo-top {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.07em;
  color: var(--gold);
  line-height: 1;
  transition: color var(--t-mid) var(--ease-gold);
}
.nav-logo:hover .nav-logo-top { color: var(--gold-light); }
.nav-logo-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin-top: 5px; }
.nav-logo-sub span {
  font-family: var(--font-body);
  font-size: 0.46rem;
  letter-spacing: 0.22em;
  color: var(--gray-mid);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

/* Desktop Links */
.nav-links {
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  gap: clamp(var(--sp-3), 1.8vw, var(--sp-5));
  list-style: none;
  -webkit-flex-wrap: nowrap; flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 0.85vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color var(--t-mid) var(--ease-gold);
  -webkit-tap-highlight-color: transparent;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t-mid) var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
  white-space: nowrap !important;
  color: #0A0A0A !important;
}
.nav-cta:hover { color: #0A0A0A !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  -webkit-flex-direction: column; flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: 12px;
  margin-right: -12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-mid) var(--ease-out);
}
.nav-toggle:hover span { background: var(--gold-light); }
.nav-toggle.open span:nth-child(1) { -webkit-transform: translateY(7px) rotate(45deg); transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { -webkit-transform: translateY(-7px) rotate(-45deg); transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6,9,15,0.98);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: column; flex-direction: column;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-gold), visibility 0.28s var(--ease-gold);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 0 60px;
}
.nav-mobile.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--gray-light);
  text-decoration: none;
  padding: 10px 40px;
  width: 100%;
  text-align: center;
  min-height: 54px;
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  transition: color var(--t-mid) var(--ease-gold), background var(--t-mid) var(--ease-gold);
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile a:active,
.nav-mobile a:hover { color: var(--gold); background: rgba(201,162,39,0.06); }
.nav-mobile-divider {
  width: 32px; height: 1px;
  background: rgba(200,168,75,0.2);
  margin: 2px 0;
  -webkit-flex-shrink: 0; flex-shrink: 0;
}
/* Close button — large tap target, clears announce bar */
.nav-mobile-close {
  position: fixed;
  top: var(--announce-h, 0px); right: 0;
  width: 64px; height: 64px;
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  background: none; border: none;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 151;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-mid) var(--ease-gold), -webkit-transform var(--t-mid) var(--ease-spring), transform var(--t-mid) var(--ease-spring);
}
.nav-mobile-close:hover { color: var(--gold-light); -webkit-transform: rotate(90deg); transform: rotate(90deg); }
.nav-mobile .nav-give-btn {
  margin-top: var(--sp-3);
  color: #0A0A0A !important;
  border-radius: var(--radius);
  min-width: 200px; width: auto;
}

/* Breakpoints */
@media (max-width: 1100px) {
  .nav-links  { display: none; }
  .nav-toggle { display: -webkit-flex; display: flex; }
}
@media (max-width: 768px) {
  .site-nav     { height: 72px; }
  .nav-logo-img { width: 46px; height: 46px; }
}
@media (max-width: 480px) {
  .site-nav     { height: 64px; }
  .nav-inner    { padding: 0 var(--sp-3); }
  .nav-logo-top { font-size: 1.2rem; }
  .nav-logo-img { width: 40px; height: 40px; }
  .nav-logo-sub { display: none; }
  .nav-mobile a { font-size: clamp(1.4rem, 7vw, 2rem); padding: 8px 32px; min-height: 48px; }
}
