/* A different transition for each chapter; native scroll and full reading space. */
.chapter-stack{position:relative;isolation:isolate;background:var(--paper)}
.chapter-stack>#system,.chapter-stack>#applications{background:var(--paper)}
#dataset,#learning{background:#050505}
.motion-item{transition:opacity .65s ease,translate .85s cubic-bezier(.22,1,.36,1);transition-delay:var(--enter-delay,0ms)}
@media(min-width:1000px) and (min-height:650px){
 .chapter-motion .hero{transform:scale(calc(1 - var(--hero-depth,0)*.035));transform-origin:center bottom}
 .chapter-motion .hero-copy{opacity:calc(1 - var(--hero-depth,0)*.5)}
 .chapter-motion .approach{border-radius:4px 4px 0 0;box-shadow:0 -22px 65px #17140e20}
 .chapter-motion .chapter-stack>#system,.chapter-motion .chapter-stack>#applications{position:sticky;top:var(--chapter-pin,0px);z-index:0;padding-bottom:150px}
 .chapter-motion .chapter-stack>#dataset,.chapter-motion .chapter-stack>#fleet{position:relative;z-index:2;border-radius:4px 4px 0 0;box-shadow:0 -24px 70px #00000025}
 .chapter-motion .work-data-stack .nucleus-work-grid{transform:scale(calc(1 - var(--cover,0)*.025));transform-origin:center bottom}
 .chapter-motion .work-data-stack>#dataset{overflow:clip}
 .chapter-motion .film-fleet-stack>#fleet{border-top:0}
 .chapter-motion .film-fleet-stack:focus-within>#applications{position:relative;top:auto}
 .chapter-motion .fleet-product-frame{transform:perspective(1600px) rotateX(calc(var(--product-arrival,0)*3deg)) scale(calc(1 - var(--product-arrival,0)*.025));transform-origin:center bottom}
 .chapter-motion .fleet-features article{transition-duration:.7s}
 .chapter-motion #learning{padding-bottom:140px}
 .chapter-motion .founders{margin-top:45px;box-shadow:0 20px 70px #2a27200b}
}
@media(max-width:999px),(max-height:649px){
 .varied-motion .hero{position:relative;top:auto}.varied-motion .founders-photo{position:relative;top:auto}
 .motion-item{--enter-y:18px!important;transition-duration:.5s}
}
@media(prefers-reduced-motion:reduce){
 .chapter-stack>*{position:relative!important;top:auto!important}.hero,.hero-copy,.nucleus-work-grid,.fleet-product-frame{transform:none!important;opacity:1!important}
 .motion-item,.motion-item.motion-waiting{opacity:1;translate:none;transition:none}.founders-photo img{transform:none!important}
}
@media print{.chapter-stack>*{position:static!important}.motion-item{opacity:1!important;translate:none!important}}

/* Mobile chapter transitions: bounded sticky layers, shorter depth changes. */
@media(max-width:999px),(max-height:649px){
 .chapter-motion .hero{position:sticky;top:var(--hero-pin,0px);transform:scale(calc(1 - var(--hero-depth,0)*.02));transform-origin:center bottom;z-index:0}
 .chapter-motion .approach{position:relative;z-index:2;border-radius:4px 4px 0 0;box-shadow:0 -16px 40px #17140e20}
 .chapter-motion .chapter-stack>#system,.chapter-motion .chapter-stack>#applications{position:sticky;top:var(--chapter-pin,0px);z-index:0;padding-bottom:76px}
 .chapter-motion .chapter-stack>#dataset,.chapter-motion .chapter-stack>#fleet{position:relative;z-index:2;border-radius:4px 4px 0 0;box-shadow:0 -18px 42px #00000024}
 .chapter-motion .chapter-stack>#dataset{overflow:clip}
 .chapter-motion .work-data-stack .nucleus-work-grid{transform:scale(calc(1 - var(--cover,0)*.018));transform-origin:center bottom}
 .chapter-motion .shift-player{clip-path:inset(0 var(--film-inset,0%) round 14px)}
 .chapter-motion .fleet-product-frame{transform:translateY(calc(var(--product-arrival,0)*18px)) scale(calc(1 - var(--product-arrival,0)*.025));transform-origin:center bottom}
 .chapter-motion .founders-photo img{transform:translateY(var(--founder-parallax,0px)) scale(1.035)}
 .chapter-motion .film-fleet-stack:focus-within>#applications{position:relative;top:auto}
 .motion-item{--enter-y:28px!important;transition-duration:.65s}
}
@media(prefers-reduced-motion:reduce){
 .hero,.chapter-stack>*{position:relative!important;top:auto!important}.hero,.hero-copy,.nucleus-work-grid,.fleet-product-frame,.founders-photo img{transform:none!important}.shift-player{clip-path:none!important}
}
