/* Home opening only. The persistent hero and shared styles are unchanged. */
.uoken-opening {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #071522 url('/assets/img/ocean-intro.jpg') center / cover;
  text-align: center;
  letter-spacing: 0;
  animation: uokenOpeningExit 4s linear forwards;
}

.uoken-opening__brand {
  width: min(680px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 22px;
  animation: uokenOpeningEmerge 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.uoken-opening__logo {
  display: block;
  width: 136px;
  height: 136px;
  object-fit: contain;
  border-radius: 50%;
}

.uoken-opening .uoken-opening__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
}

.uoken-opening .uoken-opening__concept {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0;
}

.uoken-opening__concept span {
  display: inline-block;
  white-space: nowrap;
}

.uoken-opening__concept span:last-child {
  color: #bfe8e4;
}

.uoken-opening__skip {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #bfe8e4;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: 600 14px / 1.4 var(--sans);
  letter-spacing: 0;
  cursor: pointer;
}

.uoken-opening__skip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

@media (hover: hover) {
  .uoken-opening__skip:hover { color: #bfe8e4; }
}

.uoken-opening__skip:active { color: #bfe8e4; }

@keyframes uokenOpeningEmerge {
  from { opacity: .55; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes uokenOpeningExit {
  0%, 82.5% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 720px) {
  .uoken-opening__brand { gap: 20px; }
  .uoken-opening__logo { width: 112px; height: 112px; }
  .uoken-opening .uoken-opening__name { font-size: 72px; }
  .uoken-opening .uoken-opening__concept { font-size: 22px; }
  .uoken-opening__concept span { display: block; }
}

@media (max-height: 500px) {
  .uoken-opening__brand { gap: 10px; }
  .uoken-opening__logo { width: 76px; height: 76px; }
  .uoken-opening .uoken-opening__name { font-size: 56px; }
  .uoken-opening .uoken-opening__concept { font-size: 18px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .uoken-opening { display: none; animation: none; }
  .uoken-opening__brand { animation: none; }
}
