.landing-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms cubic-bezier(0.33, 1, 0.68, 1);
  background: var(--paper);
}

.landing-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.landing-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.landing-overlay__columns {
  display: flex;
  width: 100%;
  height: 100%;
}

.landing-overlay__column {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
}

.landing-overlay__image {
  position: absolute;
  inset: 0;
  margin: 0;
  display: block;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform 620ms cubic-bezier(0.72, 0.02, 0.36, 1),
    opacity 520ms cubic-bezier(0.6, 0.08, 0.68, 0.53);
  will-change: transform, opacity;
}

.landing-overlay__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-overlay__image.is-active {
  opacity: 1;
}

.landing-overlay__image.is-entering-from-top {
  transform: translate3d(0, -110%, 0);
}

.landing-overlay__image.is-entering-from-bottom {
  transform: translate3d(0, 110%, 0);
}

.landing-overlay__image.is-leaving-up {
  transform: translate3d(0, -110%, 0);
  opacity: 0.35;
}

.landing-overlay__image.is-leaving-down {
  transform: translate3d(0, 110%, 0);
  opacity: 0.35;
}

.landing-overlay__image.is-hidden {
  opacity: 0;
}

.landing-overlay__column::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
  mix-blend-mode: multiply;
}

.landing-overlay__column--right::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}

body.landing-active {
  overflow: hidden;
}

@media (max-width: 720px) {
  .landing-overlay {
    display: none;
  }
}
