.site-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fbfef8;
  isolation: isolate;
  place-items: center;
  overflow: hidden;
}

html.intro-eligible .site-intro {
  display: grid;
}

.site-intro__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fbfef8;
  /* The logo sits below the center of the source frame. Center its visible mark. */
  transform: translateY(max(-13.4vh, -7.54vw));
}

@media (max-width: 600px) and (orientation: portrait) {
  .site-intro__video {
    transform: translateY(max(-15.8vh, -8.9vw)) scale(1.18);
  }
}

.site-intro.is-closing {
  opacity: 0;
  transition: opacity 120ms ease-out;
}

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