/* Timeline values are smoothed by one controller; CSS must not chase them. */
body[data-motion] .motion-scene{contain:layout style}
body[data-motion] .motion-scene .film-image,
body[data-motion] .motion-scene .orbit,
body[data-motion] .motion-scene .slab,
body[data-motion] .motion-scene .prism-wheel,
body[data-motion] .motion-scene .film-track{will-change:transform;transition:none}
body[data-motion] .motion-scene .film-heading,
body[data-motion] .motion-scene .film-final{will-change:transform,opacity;transition:none}
/* Static optical filters avoid repainting large blurred layers at every tick. */
body[data-motion] .afterimage .echo-a{filter:blur(3px) sepia(1) saturate(1.8)}
body[data-motion] .afterimage .echo-b{filter:blur(3px) hue-rotate(155deg)}
body[data-motion] .afterimage .echo-c{filter:blur(3px)}
body[data-motion] .focus-pull .film-heading{filter:none}
body[data-motion] .light-path{filter:drop-shadow(0 0 5px #ff934b)}
body[data-motion] .focus-line{left:20%;transform:translateX(calc(var(--p)*60vw));will-change:transform}
.home-review .experience-body{grid-template-columns:.8fr 1.2fr;gap:5vw}
.home-review .experience-story p{max-width:760px}
.home-review .experience-stat .years{font-size:23vw}
@media(max-width:700px){.home-review .experience-body{grid-template-columns:1fr}.home-review .experience-stat .years{font-size:48vw}.home-review .experience-story p{max-width:none}}

body[data-motion] .focus-pull .focus-photo{filter:none;will-change:transform}
body[data-motion] .focus-pull .focus-photo.focus-soft{filter:blur(10px);opacity:var(--focus-soft,1);will-change:transform,opacity;pointer-events:none}

/* Portal: fixed clipping geometry, compositor-only frame and image scaling. */
body[data-motion="5"] .portal .portal-photo{clip-path:none;border-radius:24px;overflow:hidden;transform:translateZ(0) scale(var(--portal-frame,.48));will-change:transform}
body[data-motion="5"] .portal .portal-photo .film-image{transform:translateZ(0) scale(var(--portal-image,2.166667));will-change:transform}
body[data-motion="5"] .portal .portal-word{mix-blend-mode:normal;will-change:transform,opacity;backface-visibility:hidden}
