/* Full-screen entry split: HENGE | A-Interior — centered blocks, matched type */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body.is-gate {
  height: 100%;
  margin: 0;
}

body.is-gate {
  font-family: "Roboto Condensed", "Barlow Condensed", sans-serif;
  color: #fff;
  background: #591717;
  overflow: hidden;
}

body.is-gate .lang-switch {
  mix-blend-mode: normal;
  color: #191919;
  border-color: rgba(25, 25, 25, 0.85);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

body.is-gate .lang-switch__btn.is-active {
  background: rgba(25, 25, 25, 0.08);
}

.gate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
}

.gate__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  text-decoration: none;
  color: inherit;
  min-height: 50dvh;
  text-align: center;
}

.gate__panel--henge {
  background: var(--color-primary, #591717);
  color: #fff;
}

.gate__panel--shop {
  background: #fff;
  color: #191919;
}

.gate__block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  max-width: min(100%, 22rem);
}

/* Logo sets the width; address centers exactly under HENGE */
.gate__block--henge {
  width: clamp(200px, 28vw, 320px);
  max-width: calc(100% - 16px);
}

.gate__logo {
  display: block;
  width: 100%;
  line-height: 0;
  color: inherit;
}

.gate__logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Shared type for address + boutique lines */
.gate__line {
  display: block;
  width: 100%;
  font-family: "Roboto Condensed", "Barlow Condensed", sans-serif;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.gate__line--address {
  /* Fit under logo edge-to-edge optically */
  font-size: clamp(11px, 1.35vw, 15px);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.gate__line--title {
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.gate__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.gate__panel--henge::after {
  background: #fff;
}

.gate__panel--shop::after {
  background: #591717;
}

.gate__panel:hover::after,
.gate__panel:focus-visible::after {
  opacity: 0.04;
}

.gate__panel:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -10px;
}

@media (max-width: 768px) {
  .gate {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .gate__block--henge {
    width: min(280px, 78vw);
  }

  .gate__line--title {
    font-size: clamp(26px, 8vw, 38px);
  }

  .gate__line {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .gate__line--address {
    font-size: clamp(10px, 2.8vw, 13px);
    letter-spacing: 0.1em;
  }

  body.is-gate .lang-switch {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate__panel::after {
    transition: none;
  }
}
