/* Five quiet Three.js dioramas on one continuous watercolor river. */
#future .future-heading > span {
  display: block;
  margin-top: 15px;
  color: var(--wc-ink-soft);
  font-size: 13px;
  letter-spacing: .08em;
}

#future .future-stage {
  isolation: isolate;
}

#future .future-stage::before {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: calc(100% + 220px);
  height: auto;
  aspect-ratio: 16 / 9;
  opacity: .28;
  background-size: 100% 100%;
  transform: translate(-50%, -50%) rotate(90deg);
  filter: saturate(.66) contrast(.86);
  mask-image: linear-gradient(90deg, transparent 0, #000 7% 93%, transparent 100%);
}

#future .future-three-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s cubic-bezier(.2, .75, .2, 1);
}

#future .future-stage.is-three-ready .future-three-canvas {
  opacity: 1;
}

#future .future-stage.is-three-ready.is-immersive .future-three-canvas {
  opacity: 0;
  transition-duration: .35s;
}

#future .future-stage.is-three-ready .future-world:not(.is-active) {
  z-index: 3;
}

#future .future-stage.is-three-ready .future-world:not(.is-active) .world-scene-image,
#future .future-stage.is-three-ready .future-world:not(.is-active) .world-svg {
  opacity: 0;
  visibility: hidden;
}

#future .future-stage.is-three-ready .future-world:not(.is-active) .world-trigger::before {
  opacity: 0;
}

#future .future-stage.is-three-ready .future-world:not(.is-active) .world-label {
  z-index: 5;
  top: 56%;
  padding: 10px 0 9px;
  background: rgba(250, 249, 246, .68);
}

#future .future-stage.is-three-ready .future-world:not(.is-active) .world-trigger:hover .world-label,
#future .future-stage.is-three-ready .future-world:not(.is-active) .world-trigger:focus-visible .world-label {
  transform: translateY(-5px);
}

#future .future-stage.is-three-ready .future-world:not(.is-active) .world-trigger:hover,
#future .future-stage.is-three-ready .future-world:not(.is-active) .world-trigger:focus-visible {
  filter: drop-shadow(0 18px 18px rgba(88, 101, 153, .12));
}

#future .world-restaurant:not(.is-active) {
  left: 15%;
}

#future .world-entertainment:not(.is-active) {
  left: 16%;
}

@media (max-width: 760px) {
  #future .future-heading > span {
    font-size: 12px;
  }

  #future .future-stage.is-three-ready .future-world:not(.is-active) .world-label {
    top: 75%;
  }

  #future .future-stage::before {
    width: 1600px;
    height: auto;
    inset: 50% auto auto 50%;
    background-size: 100% 100%;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #future .future-three-canvas {
    transition: none;
  }
}
