.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 4, 4, 0.96), rgba(5, 4, 4, 0.9));
  border-bottom: 1px solid rgba(246, 240, 232, 0.08);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2vw, 28px);
}

.header-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.5vw, 28px);
}

.nav-list {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: clamp(14px, 1.3vw, 24px);
  list-style: none;
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.25vw + 0.65rem, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-link {
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-gold));
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text-main);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--color-text-main);
}

.nav-cta-wrapper {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  margin-left: 4px;
  white-space: nowrap;
}

.nav-age-note {
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  font-size: var(--font-size-xs);
  color: var(--color-text-subtle);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(246, 240, 232, 0.18);
  background: rgba(15, 12, 11, 0.96);
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: var(--color-text-main);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle.is-active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 1480px) {
  .nav-age-note {
    display: none;
  }
}

@media (max-width: 1280px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 16px 20px 20px;
    background: rgba(9, 8, 8, 0.98);
    border-bottom: 1px solid rgba(246, 240, 232, 0.14);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-cta-wrapper {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner {
    height: 68px;
  }

  .main-nav {
    max-height: calc(100vh - 68px);
  }

  .logo-mark {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-link::after,
  .main-nav,
  .nav-toggle span {
    transition: none;
  }
}
