@font-face {
  font-family: "Alte Haas";
  src: url("/Fonts and Logos/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Alte Haas";
  src: url("/Fonts and Logos/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  color: #1c1a17;
  background: #efecdf;
  font-family: "Alte Haas", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body, .access-shell { width: 100%; min-height: 100%; margin: 0; }

body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #efecdf 0%, #e9e5d7 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

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

.access-gate {
  width: min(390px, 100%);
  padding: 32px;
  border: 1px solid rgba(28, 26, 23, 0.15);
  border-radius: 6px;
  background: rgba(36, 34, 30, 0.98);
  box-shadow: 0 26px 60px rgba(28, 26, 23, 0.18);
  color: #f4efe5;
}

.brand-wordmark {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 auto 34px;
  filter: brightness(0) invert(1);
}

.eyebrow, label {
  margin: 0;
  color: rgba(244, 239, 229, 0.66);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 { margin: 8px 0 30px; font-size: 30px; line-height: 1; }

form { display: grid; gap: 10px; }

input, button {
  min-height: 46px;
  font: inherit;
  font-size: 17px;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(244, 239, 229, 0.25);
  border-radius: 3px;
  outline: none;
  background: #f4efe5;
  color: #1c1a17;
}

input:focus { border-color: #dfd08a; box-shadow: 0 0 0 2px rgba(223, 208, 138, 0.3); }

button {
  margin-top: 10px;
  border: 0;
  border-radius: 3px;
  background: #dfd08a;
  color: #1c1a17;
  font-weight: 700;
  cursor: pointer;
}

button:disabled { cursor: wait; opacity: 0.65; }
.access-error { margin: 2px 0 0; color: #ffd0c4; font-size: 15px; }

.deck-status { color: #1c1a17; font-size: 16px; }

#deck-frame {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border: 0;
  background: #efecdf;
}
