/* The word travels with its opaque panel over the unchanged underlying page. */
.transition-word {
  display: none;
}

.is-sweeping {
  background: #000;
  animation: one-enter 900ms linear both;
  will-change: transform;
}

.is-sweeping.is-leaving {
  animation-name: one-leave;
}

.is-sweeping .transition-logo {
  display: none;
}

.is-sweeping .transition-word {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  fill: #202225;
  stroke: #36393d;
  stroke-width: 2;
  paint-order: stroke fill;
  font: 900 440px Arial, Helvetica, sans-serif;
}

@keyframes one-enter {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes one-leave {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .is-sweeping {
    animation-duration: 1ms;
    will-change: auto;
  }
}
