.top-page {
  overflow: hidden;
}

.entrance {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  min-height: 100dvh;
  grid-template-rows: minmax(0, 1fr) auto auto;
  overflow: hidden;
  padding:
    calc(20px + env(safe-area-inset-top))
    calc(18px + env(safe-area-inset-right))
    calc(14px + env(safe-area-inset-bottom))
    calc(18px + env(safe-area-inset-left));
}

.entrance__image,
.entrance__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entrance__image {
  z-index: -3;
  object-fit: cover;
  object-position: 50% center;
  filter: brightness(.62) saturate(.78) contrast(1.06);
}

.entrance__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(1 5 10 / 76%) 0, rgb(1 6 12 / 22%) 38%, rgb(1 3 7 / 43%) 68%, rgb(1 2 4 / 94%) 100%),
    radial-gradient(ellipse at center 44%, transparent 28%, rgb(0 2 5 / 56%) 100%);
}

.entrance__identity {
  align-self: start;
  justify-self: center;
  display: grid;
  justify-items: center;
  width: min(100%, 620px);
  margin-top: clamp(56px, 9.5svh, 106px);
  text-align: center;
  text-shadow: 0 3px 15px #000;
}

.asset-slot--crest {
  width: clamp(58px, 15vw, 96px);
  aspect-ratio: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 18px rgb(0 0 0 / 52%));
}

.asset-slot--title {
  width: min(92vw, 590px);
  border: 0;
  background: transparent;
}

.official-title-logo {
  width: 100%;
}

.asset-slot--title h1 {
  margin: 0;
  color: var(--paper);
  font: 500 clamp(34px, 10.5vw, 78px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: .085em;
  white-space: nowrap;
}

.asset-slot--title p {
  margin: 8px 0 0;
  color: var(--gold-bright);
  font-size: clamp(11px, 3.4vw, 17px);
  letter-spacing: .28em;
}

.official-label {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 10px;
  width: min(92%, 530px);
  margin: 17px 0 0;
  color: var(--gold-bright);
  font: clamp(10px, 2.7vw, 15px)/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .25em;
}

.official-label span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.official-label span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.site-motto {
  margin: 20px 0 0;
  color: var(--gold-bright);
  font-size: clamp(13px, 4vw, 22px);
  letter-spacing: .13em;
  text-shadow: 0 2px 12px #000, 0 0 20px rgb(216 187 128 / 12%);
}

.entrance__action {
  align-self: end;
  justify-self: center;
  width: min(82vw, 430px);
  margin-bottom: clamp(16px, 3.6svh, 42px);
}

.enter-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(72px, 12svh, 104px);
  border: 1px solid var(--gold-dim);
  background: linear-gradient(180deg, rgb(17 13 10 / 92%), rgb(3 4 5 / 96%));
  color: var(--gold-bright);
  font: clamp(29px, 8vw, 48px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: .12em;
  text-decoration: none;
  box-shadow: 0 16px 28px rgb(0 0 0 / 55%), inset 0 0 0 5px rgb(216 187 128 / 7%);
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.enter-link::before,
.enter-link::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgb(216 187 128 / 25%);
  pointer-events: none;
}

.enter-link::after {
  inset: -1px;
  border-color: transparent;
  background: linear-gradient(90deg, transparent, rgb(216 187 128 / 18%), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}

.enter-link:hover::after {
  opacity: 1;
}

.enter-link:hover,
.enter-link:focus-visible {
  border-color: var(--gold);
  color: #f7e7bd;
  box-shadow: 0 18px 34px rgb(0 0 0 / 62%), inset 0 0 0 5px rgb(216 187 128 / 10%);
}

.enter-link:active {
  transform: translateY(1px);
}

.provisional-credits {
  align-self: end;
  color: rgb(241 229 204 / 58%);
  font-size: clamp(7px, 2vw, 9px);
  line-height: 1.5;
  letter-spacing: .08em;
  text-align: center;
}

@media (max-width: 350px) {
  .entrance {
    padding-inline: calc(14px + env(safe-area-inset-left)) calc(14px + env(safe-area-inset-right));
  }

  .asset-slot--title h1 {
    font-size: 31px;
    letter-spacing: .06em;
  }

  .site-motto {
    letter-spacing: .08em;
  }
}

.provisional-credits p {
  margin: 2px 0;
}

@media (max-height: 600px) {
  .entrance__identity {
    margin-top: 32px;
  }

  .asset-slot--crest {
    width: 48px;
    margin-bottom: 8px;
  }

  .official-label {
    margin-top: 10px;
  }

  .site-motto {
    margin-top: 11px;
  }

  .entrance__action {
    margin-bottom: 8px;
  }
}

@media (min-width: 700px) {
  .entrance__image {
    object-position: 50% 58%;
  }

  .entrance__identity {
    margin-top: clamp(70px, 9vh, 120px);
  }
}
