@font-face {
  font-family: Manrope;
  src: url("fonts/Manrope-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #070807;
  --gold: #cfaa63;
  --text: #eee5d4;
  --muted: #b3ad9f;
  --line: #cfaa6347;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.5 Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
.access-page { margin: 0; background: radial-gradient(ellipse at 24% 48%, #211b10 0%, transparent 56%); }
.access-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  width: min(100%, 1120px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 48px) clamp(16px, 5vw, 56px);
}
.access-header { display: flex; }
.access-home { display: inline-flex; align-items: center; min-height: 48px; border-radius: 4px; }
.access-home img { display: block; width: clamp(126px, 15vw, 164px); height: auto; }
.access-emblem {
  position: absolute;
  z-index: -1;
  inset-block-start: 53%;
  inset-inline-start: 0;
  width: min(51%, 560px);
  height: auto;
  transform: translateY(-50%);
  opacity: .33;
  pointer-events: none;
}
.access-card {
  align-self: center;
  justify-self: end;
  width: min(100%, 440px);
  min-width: 0;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(142deg, #1b1b13f5, #10120ff2 68%);
  box-shadow: 0 26px 80px #0007;
}
.access-card h1 {
  margin: 7px 0 22px;
  color: var(--text);
  font: 700 clamp(40px, 6vw, 57px)/.99 "Barlow Condensed", Arial, sans-serif;
  letter-spacing: -.015em;
}
.access-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.access-form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field input {
  min-width: 0;
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid #6e5d3d;
  border-radius: 10px;
  background: #0d0f0c;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.check { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); }
.access-card a { color: #e0be7c; }
.access-card > a { display: flex; align-items: center; width: fit-content; min-height: 44px; font-size: 14px; text-underline-offset: 3px; }
.access-card .button, .access-card .primary {
  min-height: 49px;
  padding: 10px 15px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: linear-gradient(135deg, #e5c689, #c8a25b);
  color: #161205;
  font: 800 15px/1.4 Manrope, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.access-card .button:hover, .access-card .primary:hover { background: #eed4a0; }
.access-page :focus-visible { outline: 2px solid #e6c789; outline-offset: 3px; }
.access-message {
  margin: 0 0 16px;
  padding: 9px 12px;
  border-inline-start: 2px solid #7dbb8e;
  background: #253329;
  color: #d6ebda;
  font-size: 14px;
}
.access-message.warn { border-color: #e7967d; background: #39251d; color: #ffd6c9; }
.access-note { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 700px) {
  .access-shell { gap: 38px; }
  .access-card { justify-self: center; }
  .access-emblem {
    inset-block-start: clamp(135px, 21svh, 210px);
    inset-inline-start: 58%;
    width: min(78%, 360px);
    transform: translate(-50%, -50%);
    opacity: .30;
  }
}
