.access-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 24px;
  overflow: auto;
  background: #fff;
  color: #121210;
  font-family: Inter, system-ui, sans-serif;
}

.access-dialog[open] {
  display: grid;
  place-items: center;
}

.access-card {
  width: min(100%, 450px);
  border: 1px solid #121210;
  padding: clamp(24px, 7vw, 48px);
}

.access-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 30px/1 'Instrument Serif', Georgia, serif;
}

.access-brand::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #f54900;
  border: 1px solid #121210;
}

.access-card h1 {
  margin: 30px 0 16px;
  font: 400 clamp(42px, 9vw, 66px)/.95 'Instrument Serif', Georgia, serif;
}

.access-card p {
  margin: 0 0 24px;
  line-height: 1.5;
  color: #504e48;
}

.access-form:not([hidden]) {
  display: grid;
  gap: 12px;
}

.access-form label, .access-card button {
  font: 13px/1.4 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.access-card input, .access-card button {
  min-height: 46px;
  border: 1px solid #121210;
  padding: 10px 14px;
}

.access-card input {
  width: 100%;
  font-size: 16px;
}

.access-card button {
  background: #121210;
  color: #fff;
  cursor: pointer;
}

.access-card button:hover:not(:disabled) {
  background: #f54900;
  color: #121210;
}

.access-card button:disabled {
  opacity: .65;
  cursor: progress;
}

.access-card :focus-visible {
  outline: 2px solid #f54900;
  outline-offset: 3px;
}

.access-sign-out {
  border: 0;
  margin-left: 20px;
  background: transparent;
  cursor: pointer;
}
