/* SOO wordmark: shared entry screen for public pages, except HOME.
   This file does not modify any page layout or content animation. */
.soo-wordmark-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f8f6;
  color: #111;
  direction: ltr;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
  /* If JavaScript fails, the overlay never traps the site indefinitely. */
  animation: soo-wordmark-failsafe .01s linear 9s forwards;
}
.soo-wordmark-screen.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.soo-wordmark-screen__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  user-select: none;
}
.soo-wordmark-screen__text {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .025em;
  font-family: "OnMedium", "OnNormal", Arial, sans-serif;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .025em;
  font-kerning: normal;
  font-variant-ligatures: none;
}
.soo-wordmark-screen__text span { display: inline-block; }
.soo-wordmark-o { will-change: transform; }
.soo-wordmark-o--first { animation: soo-drift-left 2.8s ease-in-out infinite; }
.soo-wordmark-o--second { animation: soo-drift-right 2.8s ease-in-out infinite; }
@keyframes soo-drift-left {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-4px,0,0); }
}
@keyframes soo-drift-right {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(4px,0,0); }
}
.soo-wordmark-screen__dots { display:flex; align-items:center; justify-content:center; gap:8px; }
.soo-wordmark-screen__dots i {
  display:block;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#555;
  opacity:.22;
  animation:soo-wordmark-dot 1.1s ease-in-out infinite;
}
.soo-wordmark-screen__dots i:nth-child(2) { animation-delay:.15s; }
.soo-wordmark-screen__dots i:nth-child(3) { animation-delay:.3s; }
@keyframes soo-wordmark-dot {
  0%,100% { opacity:.2; transform:translateY(0); }
  50% { opacity:.85; transform:translateY(-2px); }
}
/* Preserve legacy artwork styling in mobile transition overlays. */
.soo-entry-overlay__mark { display:block; width:clamp(112px,11vw,160px); height:auto; aspect-ratio:1145/580; object-fit:contain; }
@keyframes soo-wordmark-failsafe { to { visibility:hidden; pointer-events:none; } }
@media (prefers-reduced-motion: reduce) {
  .soo-wordmark-screen__text span,
  .soo-wordmark-screen__dots i { animation:none !important; }
  .soo-wordmark-screen { transition:none; }
}
