/* Access gateway — intentionally minimal */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: #F7F4ED;
  color: #2E2621;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.gate { width: 100%; max-width: 340px; }
.gate label {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #5C5149;
  margin-bottom: 14px;
  text-align: center;
}
.gate-row { display: flex; border-bottom: 1px solid #332A24; }
.gate input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 4px;
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: #2E2621;
}
.gate input:focus { outline: none; }
.gate-row:focus-within { border-bottom: 2px solid #B65D43; }
.gate button {
  border: 0;
  background: #332A24;
  color: #FCFBF7;
  padding: 0 20px;
  margin: 6px 0 6px 8px;
  border-radius: 99px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.gate button:hover { background: #8C4B2F; }
.gate button:focus-visible, .gate input:focus-visible { outline: 2px solid #B65D43; outline-offset: 3px; }
.gate-error {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: .86rem;
  color: #8E3B27;
  text-align: center;
}
.gate.shake .gate-row { animation: shake .36s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
@media (prefers-reduced-motion: reduce) { .gate.shake .gate-row { animation: none; } }
