/* Intro: logo on ink, then it travels into the header while the curtain lifts off the video */

.intro {
  display: none;
}

.intro-play {
  overflow: hidden;
}

.intro-play .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.intro__curtain {
  position: absolute;
  inset: 0;
  background: var(--surface);
}

.intro__logo {
  position: relative;
  width: min(58vw, 680px);
  height: auto;
  transform-origin: 0 0;
  clip-path: inset(0 100% 0 0);
  will-change: transform, clip-path;
}

/* The header logo stays hidden until the travelling logo lands on it */
.intro-play .brand__logo {
  opacity: 0;
}

@media (max-width: 640px) {
  .intro__logo {
    width: 76vw;
  }
}
