.brand-intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #0d140f;
  animation: brand-intro-enter 100ms ease-out both;
}

.brand-intro[hidden],
.brand-intro [hidden] {
  display: none;
}

.brand-intro[data-leaving] {
  animation: brand-intro-leave 140ms ease-in both;
}

.brand-intro :is(video, img) {
  display: block;
  width: min(92vw, 45rem);
  height: auto;
}

@keyframes brand-intro-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes brand-intro-leave {
  to { opacity: 0; }
}

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