/* Mood Store: a brief brand entrance, independent of the site's content. */
.mood-intro {
  --mood-intro-ready: 1;
  --mood-intro-duration: 2100ms;
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b0c0e;
  color: #f6f5f2;
  pointer-events: none;
  isolation: isolate;
  animation: mood-intro-exit var(--mood-intro-duration) ease both;
}

.mood-intro[hidden] { display: none !important; }

.mood-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 55% 44%, rgba(208,184,167,.13), transparent 52%);
  animation: mood-intro-light 1800ms ease both;
}

.mood-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(208,184,167,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,184,167,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
  animation: mood-intro-grid 1750ms ease both;
}

.mood-intro__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(620px, 92vw);
  min-height: 380px;
  perspective: 1000px;
}

.mood-intro__orbit {
  position: absolute;
  width: 95%;
  height: 78%;
  border: 1px solid rgba(208,184,167,.2);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-17deg);
  animation: mood-intro-orbit 1900ms cubic-bezier(.16,1,.3,1) both;
}

.mood-intro__orbit::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid rgba(246,245,242,.08);
}

.mood-intro__horizon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, 125vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,184,167,.15) 20%, #d0b8a7 50%, rgba(208,184,167,.15) 80%, transparent);
  transform: translate(-50%, -50%);
  animation: mood-intro-horizon 1600ms cubic-bezier(.16,1,.3,1) both;
}

.mood-intro__device {
  position: absolute;
  top: -12px;
  right: 6%;
  width: 155px;
  height: 260px;
  overflow: visible;
  transform: rotateY(-25deg) rotateZ(17deg);
  transform-origin: center;
  filter: drop-shadow(10px 20px 24px rgba(0,0,0,.3));
  animation: mood-intro-device 1900ms cubic-bezier(.16,1,.3,1) both;
}

.mood-intro__signal-a,
.mood-intro__signal-b {
  position: absolute;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,184,167,.5));
  animation: mood-intro-signal 1500ms ease both;
}

.mood-intro__signal-a { left: 9%; top: 17%; }
.mood-intro__signal-b { right: 10%; bottom: 19%; transform: rotate(180deg); }
.mood-intro__signal-a::after,
.mood-intro__signal-b::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d0b8a7;
  box-shadow: 0 0 8px rgba(208,184,167,.45);
}

.mood-intro__logo {
  position: relative;
  z-index: 1;
  width: clamp(220px, 29vw, 345px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 17px rgba(246,245,242,.08));
  animation: mood-intro-logo 1700ms cubic-bezier(.16,1,.3,1) both;
}

.mood-intro__products,
.mood-intro__caption {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  animation: mood-intro-caption 1700ms ease both;
}

.mood-intro__products {
  bottom: 75px;
  color: #d0b8a7;
  font: 500 10px/1.6 var(--m-font, system-ui, sans-serif);
  letter-spacing: .17em;
}

.mood-intro__caption {
  bottom: 44px;
  color: #b8bbc1;
  font: 400 11px/1.6 var(--m-font, system-ui, sans-serif);
  letter-spacing: .025em;
}

.mood-intro__skip {
  position: absolute;
  right: max(22px, env(safe-area-inset-right));
  top: max(16px, env(safe-area-inset-top));
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(246,245,242,.2);
  border-radius: 99px;
  background: #151619;
  color: #f6f5f2;
  font: 500 11px/1.4 var(--m-font, system-ui, sans-serif);
  cursor: pointer;
  pointer-events: auto;
}

.mood-intro__skip:hover { background: #202126; }
.mood-intro__skip:focus-visible { outline: 2px solid #d0b8a7; outline-offset: 5px; }

.mood-intro__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #d0b8a7;
  transform-origin: left;
  animation: mood-intro-progress 1850ms linear both;
}

@keyframes mood-intro-exit {
  0%, 80% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes mood-intro-logo {
  0% { opacity: 0; filter: blur(6px); transform: translateZ(-100px) rotateX(12deg) translateY(12px); }
  45%, 100% { opacity: 1; filter: blur(0); transform: translateZ(0) rotateX(0) translateY(0); }
}

@keyframes mood-intro-orbit {
  0% { opacity: 0; transform: rotateX(66deg) rotateZ(-42deg) scale(.55); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: rotateX(66deg) rotateZ(-8deg) scale(1.12); }
}

@keyframes mood-intro-horizon {
  0% { opacity: 0; transform: translate(-50%, -50%) scaleX(.1); }
  22% { opacity: .9; }
  70%, 100% { opacity: 0; transform: translate(-50%, -50%) scaleX(1); }
}

@keyframes mood-intro-light {
  0% { opacity: 0; }
  35% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes mood-intro-grid {
  0% { opacity: 0; transform: scale(1.025); }
  35%, 75% { opacity: 1; }
  100% { opacity: .45; transform: scale(1); }
}

@keyframes mood-intro-device {
  0% { opacity: 0; transform: rotateY(-40deg) rotateZ(22deg) translateY(-22px) scale(.9); }
  40% { opacity: .68; }
  100% { opacity: .36; transform: rotateY(-25deg) rotateZ(17deg) translateY(0) scale(1); }
}

@keyframes mood-intro-signal {
  0%, 10% { opacity: 0; width: 0; }
  60% { opacity: .9; width: 70px; }
  100% { opacity: .3; width: 70px; }
}

@keyframes mood-intro-caption {
  0%, 28% { opacity: 0; transform: translateY(5px); }
  65%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes mood-intro-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 600px) {
  .mood-intro__stage { min-height: 330px; }
  .mood-intro__device { width: 120px; height: 200px; right: 3%; top: -6px; }
  .mood-intro__products { bottom: 62px; font-size: 9px; letter-spacing: .1em; }
  .mood-intro__caption { bottom: 32px; font-size: 10px; }
  .mood-intro__orbit { width: 95%; height: 75%; }
  .mood-intro__signal-a { left: 3%; top: 13%; }
  .mood-intro__signal-b { right: 4%; bottom: 14%; }
}

@media (prefers-reduced-motion: reduce) {
  .mood-intro { display: none !important; }
  .mood-intro, .mood-intro *, .mood-intro::before, .mood-intro::after { animation: none !important; }
}
