.origin-camera {
  transform-origin: 0 0;
  transition: transform 660ms cubic-bezier(.26, .7, .28, 1);
}

#stage.origin-mobile-camera::after {
  content: '';
  position: absolute;
  left: var(--ground-left);
  top: var(--ground-top);
  width: var(--ground-width);
  height: var(--ground-height);
  background: url('portfolio/sol-planete-v2.webp') center / 100% 100% no-repeat;
  clip-path: inset(70% 0 0);
  transform-origin: center 70%;
  transform: scaleY(var(--origin-floor-stretch, 1));
  pointer-events: none;
}

.ground-detail {
  left: var(--ground-left);
  top: var(--ground-top);
  width: var(--ground-width);
  height: var(--ground-height);
}

.ground-detail,
.idea-lab {
  translate: var(--ground-slide, none);
}

body.motion-paused .origin-camera {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .origin-camera { transition: none; }
}
