@font-face {
  font-family: "Space Mono";
  src: url("/Space_Mono/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Neue Haas";
  src: url("/Neue Haas Grotesk Display Pro/Linotype - NHaasGroteskDSPro-95Blk.otf") format("opentype");
  font-weight: 900;
}

:root {
  --red: #ff0000;
  --pink: #f3e3ed;
  --cream: #f8f8f0;
  --blue: #d8edf7;
  --yellow: #ffff00;
  color: #161616;
  background: var(--cream);
  font-family: "Space Mono", monospace;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--cream);
  background-image: linear-gradient(rgba(255, 0, 0, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 0, .12) 1px, transparent 1px);
  background-size: 64px 64px;
}

.access-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.access-card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 64px);
  border: 2px solid var(--red);
  border-radius: 28px;
  background: var(--pink);
  box-shadow: 10px 10px 0 var(--red);
}

.access-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.access-brand img { width: 58px; height: 58px; }
.access-brand strong, .access-brand span { display: block; }
.access-brand strong { font-family: "Neue Haas", sans-serif; font-size: 1.5rem; }
.access-brand span { color: var(--red); font-weight: 700; }

.access-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--yellow);
  font-family: "Neue Haas", sans-serif;
  font-size: .82rem;
}

h1 {
  margin: 0;
  color: var(--red);
  font-family: "Neue Haas", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: .95;
}

.access-intro { max-width: 58ch; margin: 28px 0 34px; line-height: 1.6; }

label { display: block; margin-bottom: 10px; color: var(--red); font-weight: 700; }

input {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid var(--red);
  border-radius: 14px;
  background: var(--cream);
  color: #161616;
  font: inherit;
  font-size: 1rem;
}

button {
  width: 100%;
  min-height: 58px;
  margin-top: 16px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font: 700 1rem "Neue Haas", sans-serif;
}

button:disabled { cursor: wait; opacity: .65; }
.access-status { min-height: 1.5em; margin: 16px 0 0; color: var(--red); font-weight: 700; }
.access-help { margin: 32px 0 0; font-size: .82rem; line-height: 1.6; }

@media (max-width: 560px) {
  .access-card { box-shadow: 6px 6px 0 var(--red); }
  .access-brand { margin-bottom: 32px; }
}
