/**
 * Location gate — Pax Romana–style enter screen
 * Burgundy field, cream type, off-white logo & line art
 */

.gate__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.gate-page {
  margin: 0;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-headline);
  min-height: 100vh;
  min-height: 100dvh;
}

.gate-page .skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: var(--cream);
  background: var(--burgundy);
}

.gate-page .skip:focus {
  position: fixed;
  left: 1rem;
  top: max(1rem, env(safe-area-inset-top));
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  overflow: visible;
  outline: 2px solid var(--cream);
}

.gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  padding-top: max(clamp(2rem, 6vh, 4rem), env(safe-area-inset-top));
  padding-bottom: max(clamp(2rem, 6vh, 4rem), env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.gate__brand {
  flex-shrink: 0;
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
  line-height: 0;
}

.gate__brand img {
  display: block;
  width: min(520px, 94vw);
  height: auto;
  mix-blend-mode: screen;
}

.gate__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  width: min(1100px, 100%);
  align-items: end;
}

@media (max-width: 820px) {
  .gate__grid {
    grid-template-columns: 1fr;
    max-width: min(340px, 100%);
    gap: clamp(2.75rem, 10vw, 3.75rem);
  }
}

.gate__loc {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gate__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.gate__link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 8px;
  border-radius: 6px;
}

.gate__link:hover {
  opacity: 0.9;
}

.gate__art {
  width: min(240px, 68vw);
  margin: 0 0 clamp(1.25rem, 3vh, 1.75rem);
  line-height: 0;
  transform-origin: 50% 88%;
  cursor: default;
}

.gate__art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

@keyframes gate-rock {
  0%,
  100% {
    transform: rotate(-2.75deg);
  }
  50% {
    transform: rotate(2.75deg);
  }
}

.gate__loc:hover .gate__art {
  animation: gate-rock 0.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .gate__loc:hover .gate__art {
    animation: none;
  }
}

.gate__name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}

