.access {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 7vw 80px;
  background: var(--black);
}

.access-panel {
  width: 100%;
  max-width: 420px;
}

.access-panel > .eyebrow { margin-bottom: 28px; }

.access-stage {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}
.access-stage[data-active="true"] {
  display: block;
  animation: access-in 420ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes access-in {
  to { opacity: 1; transform: none; }
}

.access h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--paper);
}

.access-copy {
  margin: 0 0 32px;
  max-width: 46ch;
  color: #b8bdb8;
  font-size: 1rem;
  line-height: 1.6;
}
.access-copy strong { color: var(--sage); font-weight: 600; }

.access-stage label {
  display: block;
  margin-bottom: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
}

.access-stage input[type="email"] {
  width: 100%;
  padding: 15px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 180ms ease;
}
.access-stage input[type="email"]::placeholder { color: var(--graphite); }
.access-stage input[type="email"]:focus {
  outline: none;
  border-bottom-color: var(--sage);
}

.code-boxes {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.code-box {
  width: 100%;
  aspect-ratio: 1;
  max-width: 54px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 180ms ease;
}
.code-box:focus {
  outline: none;
  border-color: var(--sage);
}

.access-error {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: .82rem;
  color: #d99a8a;
}

.access-stage button[type="submit"] {
  width: 100%;
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--sage);
  border: 0;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, opacity 180ms ease;
}
.access-stage button[type="submit"]:hover { background: #d3ddd3; }
.access-stage button[type="submit"]:disabled {
  opacity: .55;
  cursor: default;
}

.access-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.access-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--graphite);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease;
}
.access-link:hover { color: var(--sage); }

.access-button {
  display: inline-block;
  margin-top: 6px;
  padding: 16px 26px;
  background: var(--sage);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background 180ms ease;
}
.access-button:hover { background: #d3ddd3; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .access { padding: 120px 26px 60px; justify-content: flex-start; }
  .code-box { max-width: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .access-stage[data-active="true"] { animation: none; opacity: 1; transform: none; }
}
