/* Cinematic intro overlay for the original home page */

html:not(.intro-done) body.is-intro-locking {
  overflow: hidden;
}

#cinematic-intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  overflow: hidden;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.7s;
}

#cinematic-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#cinematic-intro video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.intro-skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 28%);
  background: transparent;
  color: rgb(255 255 255 / 75%);
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.intro-skip:hover {
  color: #fff;
  border-color: #fff;
}
