/* ── Navbar ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
  background: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-logo {
  height: 62px;
  max-height: 100%;
  transition: opacity 0.5s ease;
  object-fit: contain;
  cursor: pointer;
  margin-left: 36px;
}

/* pill nav */
.pill-nav {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  padding: 4px;
  gap: 0;
  transition: border-color 0.4s ease, background 0.4s ease;
}

nav.scrolled .pill-nav {
  border-color: rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.04);
}

.pill-nav li {
  position: relative;
  z-index: 1;
  cursor: pointer;
}

/* ── Nav dropdown ── */
.pill-nav li.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(12,12,12,0.97);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pill-nav li:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  height: 44px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(249,248,246,0.9) !important;
  text-decoration: none;
  padding: 0 20px;
  border-radius: 7px;
  letter-spacing: 0.3px;
  mix-blend-mode: normal !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold) !important;
}
.nav-chevron {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.nav-chevron svg {
  width: 8px; height: 8px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
nav.scrolled .nav-chevron svg { stroke: var(--black); }

.pill-nav li a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 8px 18px;
  transition: color 0.25s ease;
  mix-blend-mode: difference;
  white-space: nowrap;
}

nav.scrolled .pill-nav li a {
  color: var(--black);
}

.pill-cursor {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--gold);
  z-index: 0;
  pointer-events: none;
  transition: left 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
}

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s ease;
  white-space: nowrap;
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.25s;
}

nav.scrolled .hamburger span {
  background: var(--black);
}

/* ══════════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════════ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.mobile-drawer.open { pointer-events: auto; }
.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer.open .mobile-drawer-overlay { opacity: 1; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid rgba(201,168,76,0.15);
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(249,248,246,0.6);
  font-size: 22px;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s ease;
}
.mobile-drawer-close:hover { color: var(--gold); }
.mobile-drawer-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249,248,246,0.85);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateX(24px);
  transition: color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}
.mobile-drawer.open .mobile-drawer-link { opacity: 1; transform: translateX(0); }
.mobile-drawer-link:hover { color: var(--gold); }
.mobile-drawer-cta {
  margin-top: 24px;
  display: block;
  background: var(--gold);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 2px;
  text-align: center;
  opacity: 0;
  transform: translateX(24px);
  transition: background 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}
.mobile-drawer.open .mobile-drawer-cta { opacity: 1; transform: translateX(0); }
.mobile-drawer-cta:hover { background: var(--gold-light); }

/* ══════════════════════════════════════
   MOBILE DRAWER EXPANDABLE
══════════════════════════════════════ */
.drawer-expand-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249,248,246,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-top: none;
  border-left: none;
  border-right: none;
  background: none;
  cursor: pointer;
  text-align: left;
  opacity: 0;
  transform: translateX(24px);
  transition: color 0.2s ease, opacity 0.35s ease, transform 0.35s ease;
}
.mobile-drawer.open .drawer-expand-btn { opacity: 1; transform: translateX(0); }
.drawer-expand-btn:hover { color: var(--gold); }
.drawer-expand-chevron {
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}
.drawer-expand-chevron svg {
  width: 10px; height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.drawer-expand-btn.open .drawer-expand-chevron { transform: rotate(180deg); }
.drawer-sub-links {
  display: none;
  flex-direction: column;
  padding: 4px 0 4px 16px;
}
.drawer-sub-links.open { display: flex; }
.drawer-sub-link {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(249,248,246,0.65);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s ease;
}
.drawer-sub-link:hover { color: var(--gold); }

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .pill-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}
