/* Canonical Voidsmith Industries top navigation.
   This component is shared by every first-party public page. */
.vs-site-header,
.vs-site-header * {
  box-sizing: border-box;
}

.vs-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  width: 100%;
  min-height: 64px;
  color: #e5e2e3;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #131314;
  border-bottom: 1px solid rgba(73, 68, 84, 0.30);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.vs-site-header__bar {
  width: 100%;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vs-site-header__brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e2e3;
  text-decoration: none;
}

.vs-site-header__brand:hover,
.vs-site-header__brand:focus-visible {
  color: #ffffff;
}

.vs-site-header__logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  object-fit: contain;
}

.vs-site-header__wordmark {
  font-family: Sora, Inter, system-ui, sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: inherit;
  white-space: nowrap;
}

.vs-site-header__nav {
  min-width: 0;
  height: 64px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 32px;
}

.vs-site-header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0;
  color: #cbc3d7;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}

.vs-site-header__nav a:hover,
.vs-site-header__nav a:focus-visible,
.vs-site-header__nav a[aria-current="page"] {
  color: #ffffff;
}

.vs-site-header__nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #8b5cf6;
}

.vs-site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(73, 68, 84, 0.55);
  border-radius: 10px;
  background: transparent;
  color: #e5e2e3;
  cursor: pointer;
}

.vs-site-header__toggle:hover,
.vs-site-header__toggle:focus-visible {
  color: #d0bcff;
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.08);
}

.vs-site-header__toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

.vs-site-header__mobile {
  display: none;
  width: 100%;
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(73, 68, 84, 0.24);
  background: rgba(13, 13, 15, 0.985);
}

.vs-site-header__mobile[data-open="true"] {
  display: grid;
  gap: 4px;
}

.vs-site-header__mobile a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  color: #cbc3d7;
  font-size: 13px;
  line-height: 18px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
}

.vs-site-header__mobile a:hover,
.vs-site-header__mobile a:focus-visible,
.vs-site-header__mobile a[aria-current="page"] {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.12);
}

.vs-site-header__brand:focus-visible,
.vs-site-header__nav a:focus-visible,
.vs-site-header__mobile a:focus-visible,
.vs-site-header__toggle:focus-visible {
  outline: 2px solid #d0bcff;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .vs-site-header__nav {
    gap: 20px;
  }
}

@media (max-width: 920px) {
  .vs-site-header__nav {
    display: none;
  }

  .vs-site-header__toggle {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .vs-site-header__bar {
    padding-inline: 12px;
  }

  .vs-site-header__wordmark {
    font-size: 20px;
  }
}

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

/* Torn pages previously used an in-flow 68px masthead. The canonical header is
   fixed, so reserve the same vertical slot before the Torn-specific subnav. */
.site-shell {
  padding-top: 64px;
}

.vs-site-header + .torn-nav {
  top: 64px;
}
