/* Entrance is opt-in; the complete, usable cover is the default state. */
#cover.cover-arriving {
  transform-origin: 20% 70%;
  animation: cover-board-arrival 720ms both;
  will-change: transform;
}
.cover-arriving .cover-title img {
  transform-origin: 48% 70%;
  animation: cover-lettering-arrival 700ms 180ms both;
  will-change: transform;
}
#cover.cover-arriving .cover-subtitle {
  transform-origin: 50% 0;
  animation: cover-paper-arrival 780ms 300ms both;
  will-change: transform;
}
.cover-arriving .cover-landscape img {
  transform-origin: 45% 90%;
  animation: cover-landscape-arrival 750ms 420ms both;
  will-change: transform;
}
.cover-arriving .cover-invitation {
  animation: cover-copy-arrival 550ms 750ms both;
}
.cover-arriving .cover-bookmark {
  animation: cover-bookmark-arrival 550ms 1150ms both;
}
#cover.cover-arriving #start span {
  display: inline-block;
  animation: cover-arrow-arrival 400ms 1250ms both;
}
@keyframes cover-board-arrival {
  0% { transform: translateY(-14px) rotate(-.8deg) scale(.985); }
  65% { transform: translateY(1px) rotate(.1deg) scale(1.001); }
  82% { transform: translateY(-.5px) rotate(-.04deg); }
  100% { transform: none; }
}
@keyframes cover-lettering-arrival {
  0% { transform: translateY(-5px) rotate(.6deg); }
  62% { transform: translateY(1px) rotate(-.12deg); }
  80% { transform: translateY(-.5px) rotate(.05deg); }
  100% { transform: none; }
}
@keyframes cover-paper-arrival {
  0% { transform: perspective(650px) rotate(-4deg) rotateX(24deg) translateY(-3px); }
  65% { transform: perspective(650px) rotate(-1.6deg) rotateX(-3deg); }
  82% { transform: perspective(650px) rotate(-2.1deg) rotateX(1deg); }
  100% { transform: rotate(-2deg); }
}
@keyframes cover-landscape-arrival {
  0% { transform: translateY(-7px) rotate(-.45deg); }
  65% { transform: translateY(1px) rotate(.08deg); }
  82% { transform: translateY(-.5px); }
  100% { transform: none; }
}
@keyframes cover-copy-arrival {
  from { opacity: .28; }
  to { opacity: 1; }
}
@keyframes cover-bookmark-arrival {
  from { opacity: .35; }
  to { opacity: 1; }
}
@keyframes cover-arrow-arrival {
  0%, 100% { transform: none; }
  55% { transform: translateX(3px); }
}
@keyframes cover-board-arrival-phone {
  0% { transform: translateY(-5px); }
  65% { transform: translateY(.7px); }
  100% { transform: none; }
}
@media (max-width: 699px), (orientation: portrait) {
  #cover.cover-arriving { animation-name: cover-board-arrival-phone; }
}
@media (prefers-reduced-motion: reduce) {
  #cover.cover-arriving,
  #cover.cover-arriving * { animation: none !important; will-change: auto; }
}
