.nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(32px, 4.8vw, 76px);
  pointer-events: none;
}

.nav > * { pointer-events: auto; }

.nav-mark {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .42);
  background: var(--gradient, var(--hero-gradient));
}

.nav-logo {
  margin-right: auto;
  color: var(--pink, var(--clr-soft-pink));
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: clamp(10px, .9vw, 13px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
  margin: 0;
  padding: 12px 20px;
  color: var(--lilac-50, var(--clr-lilac-50));
  border: 1px solid rgba(221, 214, 254, .28);
  background: rgba(8, 9, 20, .72);
  backdrop-filter: blur(18px);
  list-style: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}

.nav-links li { position: relative; }

.nav-links li.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 1px;
  background: var(--gradient, var(--hero-gradient));
}

.nav-links a:hover,
.nav-links a[aria-current='page'] { color: var(--pink, var(--clr-soft-pink)); }

.nav-toggle { display: none; }

.access-gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 194, 194, .18), transparent 30%),
    rgba(4, 5, 14, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  backdrop-filter: blur(18px);
}

.access-gate.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.access-gate-card {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(28px, 5vw, 42px);
  color: var(--lilac-50, #f7f2ff);
  border: 1px solid rgba(221, 214, 254, .28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 194, 194, .13), rgba(125, 211, 252, .08)),
    rgba(9, 10, 24, .92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}

.access-gate.is-visible .access-gate-card {
  transform: none;
}

.access-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: rgba(247, 242, 255, .82);
  border: 1px solid rgba(221, 214, 254, .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.access-gate-close::before,
.access-gate-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.access-gate-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.access-gate-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.access-gate-eyebrow {
  margin: 0 0 10px;
  color: var(--pink, var(--clr-soft-pink));
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
}

.access-gate-title {
  margin: 0 0 26px;
  font: 600 clamp(30px, 4vw, 42px)/1.02 var(--serif, Georgia, serif);
}

.access-gate-form {
  display: grid;
  gap: 14px;
}

.access-gate-field {
  display: grid;
  gap: 8px;
  color: rgba(247, 242, 255, .74);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.access-gate-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: inherit;
  font: 400 16px var(--sans, Arial, sans-serif);
  border: 1px solid rgba(221, 214, 254, .26);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  outline: none;
}

.access-gate-input:focus {
  border-color: rgba(244, 194, 194, .72);
  box-shadow: 0 0 0 3px rgba(244, 194, 194, .12);
}

.access-gate-error {
  min-height: 18px;
  margin: 0;
  color: #fda4af;
  font-size: 13px;
}

.access-gate-submit {
  min-height: 46px;
  color: #090a18;
  border: 0;
  border-radius: 999px;
  background: var(--gradient, var(--hero-gradient));
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .14em;
  font: 600 11px var(--sans, Arial, sans-serif);
}

@media (max-width: 980px) {
  .nav { padding: 16px 18px; }
  .nav-logo { letter-spacing: .28em; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(221, 214, 254, .34);
    background: rgba(8, 9, 20, .78);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links {
    position: absolute;
    top: 62px;
    right: 18px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 190px;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .22s ease;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 640px) {
  .nav-mark { width: 14px; height: 14px; }
  .nav-logo { font-size: 10px; letter-spacing: .18em; }
}
