html.password-gate-pending body > :not(.password-gate) {
  visibility: hidden;
}

body.password-gate-active {
  overflow: hidden;
  background: #050505;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #f4f1e8;
  background:
    radial-gradient(circle at 50% 18%, rgba(200, 169, 110, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(12, 12, 12, 0.96), rgba(0, 0, 0, 0.98)),
    #050505;
  font-family: 'Saira', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.password-gate::before,
.password-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.password-gate::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.26;
}

.password-gate::after {
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.78) 100%);
}

.password-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: clamp(28px, 7vw, 44px);
  border: 1px solid rgba(200, 169, 110, 0.28);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.password-gate__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 1px solid rgba(200, 169, 110, 0.42);
  border-radius: 50%;
  background: #000;
}

.password-gate__eyebrow {
  margin-bottom: 10px;
  color: #c8a96e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.password-gate__title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.password-gate__copy {
  margin: 14px auto 28px;
  max-width: 30ch;
  color: rgba(244, 241, 232, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.password-gate__form {
  display: grid;
  gap: 12px;
}

.password-gate__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(244, 241, 232, 0.22);
  border-radius: 4px;
  outline: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
  letter-spacing: 0.08em;
}

.password-gate__input:focus {
  border-color: rgba(200, 169, 110, 0.86);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
}

.password-gate__button {
  min-height: 52px;
  border: 1px solid #c8a96e;
  border-radius: 4px;
  color: #050505;
  background: #c8a96e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.password-gate__button:hover {
  border-color: #e8c98e;
  background: #e8c98e;
  transform: translateY(-1px);
}

.password-gate__error {
  min-height: 20px;
  color: #d94f4f;
  font-size: 13px;
  font-weight: 600;
}

.password-gate__footer {
  margin-top: 22px;
  color: rgba(244, 241, 232, 0.36);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
