/* Project each page's artwork locally, then move the cached page plane.
   The impress camera still travels in 3D; sibling pages no longer share
   hundreds of intersecting descendant layers in one global 3D context. */
.stage{transform-style:flat;perspective:2000px;isolation:isolate;overflow:hidden;contain:layout paint;will-change:transform}
.stage:before,.paper-rim{display:none}
.depth-layer{transform-style:flat}
.learning .depth-layer:has(.scholar){z-index:2}
.step:not(.onstage) .stage{display:none}
.global-view .step .stage{display:block}
.preparing *{transition:none!important;animation:none!important}
.in-motion .step *{animation-play-state:paused!important}
#impress,#impress>div{will-change:transform;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}
.travel-canvas{display:none;position:fixed;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}
.gpu-travel .travel-canvas{display:block}
.gpu-travel #impress{display:none}
