@keyframes intro-mark {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-exit {
  to { opacity: 0; }
}

.site-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: #faf9f6;
  cursor: pointer;
}

.site-intro__mark {
  display: block;
  width: min(320px, 72vw, 64vh);
  opacity: 0;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at center, #000 57%, transparent 72%);
}

.site-intro[data-playing] {
  animation: intro-exit 360ms ease-in 950ms both;
}

.site-intro[data-playing] .site-intro__mark {
  animation: intro-mark 530ms cubic-bezier(.22, .72, .25, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
}
