.showroom-intro {
  --showroom-intro-ready: yes;
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 42%, var(--showroom-light), transparent 63%), var(--showroom-dark);
  color: var(--text-inverse);
  transition: opacity 280ms var(--ease);
  animation: showroom-opening-expiry 1400ms step-end both;
}

.showroom-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: clamp(14px, 3.2vw, 39px);
  border: 1px solid var(--brand-gold);
  opacity: .32;
  pointer-events: none;
}

.showroom-intro__lockup {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 3vw, 22px);
  min-inline-size: 0;
  padding-inline: 20px;
  animation: showroom-opening-mark 420ms var(--ease) both;
}

.showroom-intro__emblem {
  position: relative;
  display: block;
  inline-size: clamp(71px, 21vw, 124px);
  aspect-ratio: 1;
}

.showroom-intro__emblem img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  filter: brightness(0) saturate(100%) invert(78%) sepia(25%) saturate(524%) hue-rotate(4deg) brightness(94%);
}

@supports (mask-image: url('assets/sheng-xin-rong-mark.svg')) {
  .showroom-intro__shine {
    position: absolute;
    inset: 0;
    mask: url('assets/sheng-xin-rong-mark.svg') center / contain no-repeat;
  }

  .showroom-intro__shine::after {
    content: '';
    position: absolute;
    inset: -16%;
    background: linear-gradient(114deg, transparent 32%, var(--text-inverse) 49%, transparent 64%);
    animation: showroom-opening-light 620ms var(--ease) 45ms both;
  }
}

.showroom-intro__wordmark {
  font-family: var(--display);
  font-size: clamp(1.55rem, 6.1vw, 2.65rem);
  line-height: 1;
  letter-spacing: .16em;
  white-space: nowrap;
}

.showroom-intro__wordmark sup {
  margin-inline-start: .13em;
  font: 600 .29em / 1 system-ui, sans-serif;
  letter-spacing: 0;
  vertical-align: super;
}

.showroom-intro[data-releasing] { opacity: 0; pointer-events: none; }

@keyframes showroom-opening-expiry { to { visibility: hidden; } }
@keyframes showroom-opening-mark {
  from { opacity: 0; transform: translateY(6px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes showroom-opening-light {
  0% { opacity: 0; transform: translateX(-53%); }
  42% { opacity: .62; }
  100% { opacity: 0; transform: translateX(52%); }
}
@media (prefers-reduced-motion: reduce) {
  .showroom-intro { display: none; }
}
