.site-intro {
  position: fixed;
  z-index: 90;
  inset: 0;
  isolation: isolate;
  pointer-events: none;
}

.site-intro::before, .site-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #fff;
  animation: intro-open 720ms cubic-bezier(.75, 0, .25, 1) 1s both;
}

.site-intro::before {
  clip-path: polygon(0 0, 59% 0, 42% 100%, 0 100%);
  --intro-exit: -62%;
}

.site-intro::after {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 41% 100%);
  --intro-exit: 62%;
}

.site-intro img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(72vw, 25rem);
  height: auto;
  mix-blend-mode: multiply;
  animation: intro-logo 1.3s ease both;
}

.intro-playing .hero-lines span,
.intro-playing .hero h1,
.intro-playing .hero-cta { animation-play-state: paused; }

@keyframes intro-open {
  to { transform: translateX(var(--intro-exit)); }
}

@keyframes intro-logo {
  0% { opacity: 0; transform: scale(.94); }
  31%, 67% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.035); }
}

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