.vs-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(2, 3, 6, 0.96), rgba(2, 3, 6, 0.88));
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.vs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.vs-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.vs-header__logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background-image: conic-gradient(from 220deg, #f7f3ec, #c9a66b, #7a5a3b, #111111, #f7f3ec);
  padding: 2px;
}

.vs-header__logo-mark::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.9), transparent 55%), radial-gradient(circle at 80% 100%, rgba(201, 166, 107, 0.7), rgba(5, 6, 10, 1));
}

.vs-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.vs-header__brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f7f3ec;
}

.vs-header__brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(217, 210, 199, 0.78);
}

.vs-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.vs-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.vs-header__nav-link {
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.85);
  position: relative;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

.vs-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 166, 107, 0.9), rgba(255, 255, 255, 0.9));
  transition: width var(--transition-medium);
}

.vs-header__nav-link:hover::after,
.vs-header__nav-link:focus-visible::after {
  width: 100%;
}

.vs-header__cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vs-header__cta-primary {
  padding-inline: 1.6rem;
}

.vs-header__cta-secondary {
  padding-inline: 1.4rem;
  font-size: var(--font-size-xs);
}

.vs-header__toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(5, 7, 12, 0.9);
  color: #f7f3ec;
}

.vs-header__toggle-bar {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #f7f3ec, #c9a66b);
  transition: transform var(--transition-medium), opacity var(--transition-medium), width var(--transition-medium);
}

.vs-header__toggle:focus-visible {
  box-shadow: var(--shadow-outline);
}

.vs-header--menu-open .vs-header__toggle-bar:first-child {
  transform: translateY(4px) rotate(40deg);
}

.vs-header--menu-open .vs-header__toggle-bar:last-child {
  transform: translateY(-4px) rotate(-40deg);
}

@media (max-width: 960px) {
  .vs-header__toggle {
    display: inline-flex;
  }

  .vs-header__nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 55%), linear-gradient(145deg, #05060a, #131520);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
  }

  .vs-header--menu-open .vs-header__nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .vs-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .vs-header__nav-link {
    font-size: 0.8rem;
  }

  .vs-header__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .vs-header__cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .vs-header__brand-tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .vs-header__brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  .vs-header__brand {
    gap: 0.6rem;
  }

  .vs-header__logo-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .vs-header__cta-primary {
    padding-inline: 1.1rem;
  }

  .vs-header__cta-secondary {
    padding-inline: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-header__nav {
    transition: none;
  }

  .vs-header__toggle-bar {
    transition: none;
  }
}
