html.entrance-active { overflow: hidden; }
.entrance {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100%; height: 100dvh; max-height: none; margin: 0;
  padding: 0; border: 0; overflow: auto;
  color: #f2f3f5; background: #030405;
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.entrance::backdrop { background: #030405; transition: background .8s ease; }
.entrance-stage {
  position: relative; isolation: isolate; min-height: 100%; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  padding: max(2rem, env(safe-area-inset-top)) 6vw max(2rem, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 50% 37%, #181c22 0, #090b0e 34%, #030405 70%);
}
.entrance-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, #b8c8dd0a 49%, transparent 62%);
  animation: entrance-light 5.2s ease-in-out both;
}
.entrance-center { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 0 2rem; }
.entrance-logo { position: relative; width: min(76vw, 54vh, 540px); aspect-ratio: 1.12; overflow: hidden; animation: entrance-logo 2.5s cubic-bezier(.16,1,.3,1) both; }
.entrance-logo img { position: absolute; left: 50%; top: 54%; width: 300%; max-width: none; height: auto; transform: translate(-50%, -50%); }
.entrance-enter {
  display: inline-flex; align-items: center; justify-content: center; gap: 2rem;
  min-width: 150px; min-height: 48px; padding: .75rem 1.3rem;
  margin-top: 1rem; border: 1px solid #737a86; border-radius: 0;
  background: transparent; color: #e6e9ee; cursor: pointer;
  font-family: var(--sans); font-size: .875rem; letter-spacing: .2em; text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.entrance-enter span { font-size: 1.1rem; }
.entrance-enter:hover { background: #ffffff12; border-color: #e6e9ee; }
.entrance-enter:focus-visible { outline: 2px solid #f2f3f5; outline-offset: 6px; }
.entrance-bottom { text-align: center; animation: entrance-caption 1.6s .45s both; }
.entrance-bottom p { margin: 0; }
.entrance-bottom p > span { display: block; color: #b3bac5; font-size: .875rem; letter-spacing: .2em; line-height: 1.8; text-transform: uppercase; }
.entrance-bottom strong { display: block; margin-top: .55rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2; letter-spacing: .015em; }
.entrance-line { width: min(240px, 50vw); height: 1px; margin: 1.75rem auto 0; background: #ffffff16; overflow: hidden; }
.entrance-line::after { content: ""; display: block; height: 100%; background: linear-gradient(90deg, #697484, #edf2fa); transform-origin: left; animation: entrance-progress 5.2s linear both; }
.entrance.is-leaving { opacity: 0; transform: scale(1.035); pointer-events: none; }
.entrance.is-leaving::backdrop { background: transparent; }
@keyframes entrance-logo { from { opacity: 0; transform: translateY(14px) scale(.92); filter: blur(7px) brightness(.65); } to { opacity: 1; transform: none; filter: none; } }
@keyframes entrance-caption { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes entrance-light { from { opacity: 0; transform: translateX(-12%); } 45% { opacity: 1; } to { opacity: .35; transform: translateX(12%); } }
@keyframes entrance-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 540px) {
  .entrance-stage { padding-left: 7vw; padding-right: 7vw; }
  .entrance-bottom p > span { letter-spacing: .12em; max-width: 290px; margin: auto; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .entrance-stage { padding-top: 1rem; padding-bottom: 1rem; }
  .entrance-center { flex-direction: row; gap: 4vw; padding: 0; }
  .entrance-logo { width: min(42vw, 58vh); }
  .entrance-bottom strong { font-size: 1.7rem; }
  .entrance-line { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .entrance, .entrance::backdrop { transition: none; }
  .entrance-logo, .entrance-bottom, .entrance-stage::before { animation: none; }
  .entrance-line::after { animation: none; }
  .entrance.is-leaving { transform: none; }
}
