/* Stable motion / full-height paint. No dvh-driven canvas allocations while
   iOS Chrome animates its toolbars. Only the viewport crops the excess paint. */
@media (prefers-reduced-motion:no-preference) {
  :root[data-stable-viewport][data-hero-scroll="fixed"] .stage--hero {height:calc(200 * var(--motion-vh) + var(--page-entry-radius));}
  :root[data-stable-viewport] .cadence-edition .new-page {--closing-overlap:min(var(--motion-height),100dvh);}
  :root[data-stable-viewport][data-hero-scroll="fixed"] .new-page {margin-top:calc(-100 * var(--motion-vh) - var(--page-entry-radius));}
  :root[data-stable-viewport] .hero {height:var(--motion-height);}
  :root[data-stable-viewport] .cadence-edition [data-service-continuity].is-revealing .service-stage {height:var(--scene-cover-height);}
  :root[data-stable-viewport] .cadence-edition [data-service-continuity].is-revealing .scene-copy .display {top:calc(var(--motion-height) * .20);}
  :root[data-stable-viewport] .cadence-edition [data-service-continuity].is-revealing .scene-bottom {bottom:calc(var(--scene-cover-height) - var(--motion-height) + 28px);}
  :root[data-stable-viewport] .cadence-edition .about:has([data-team-sequence]) {margin-top:calc(-1 * var(--scene-cover-height));}
  :root[data-stable-viewport] .cadence-edition [data-team-sequence] {height:calc(240 * var(--motion-vh) + var(--scene-cover-height));}
  :root[data-stable-viewport] .cadence-edition [data-team-sequence] .team-sticky {height:var(--scene-cover-height);}
  :root[data-stable-viewport] .cadence-edition [data-team-sequence] .team-caption {bottom:calc(var(--scene-cover-height) - var(--motion-height) + 8 * var(--motion-vh));}
  :root[data-stable-viewport] .cadence-edition [data-process-scroll]:not(.is-static) {height:calc(var(--motion-height) + var(--process-travel,2400px) + var(--closing-overlap));}
  :root[data-stable-viewport] [data-process-scroll]:not(.is-static) .process-pin {height:var(--motion-height);}
  :root[data-stable-viewport] .cadence-edition [data-process-scroll]:not(.is-static) + .closing {margin-top:calc(-1 * var(--closing-overlap));}
}

/* A truly small screen still uses the existing unpinned layout. */
 :root[data-short-chapters] .cadence-edition [data-service-devices]:not(.is-revealing) .scene-body {height:1050px;}
 :root[data-short-chapters] .cadence-edition [data-service-devices]:not(.is-revealing) .scene-copy .display {top:8%;}
 :root[data-short-chapters] .scene-device-object {height:45%;top:46%;}
 :root[data-short-chapters] .cadence-edition .about:has([data-team-sequence]) {margin-top:0;}
 :root[data-short-chapters] .cadence-edition [data-team-sequence] {height:auto;padding-top:var(--g-2xl);}
 :root[data-short-chapters] .cadence-edition [data-team-sequence] .team-sticky {position:relative;height:auto;padding-inline:var(--page-gutter);overflow:visible;}
 :root[data-short-chapters] .cadence-edition [data-team-sequence] .team-title {position:relative;inset:auto;transform:none;margin-bottom:var(--g-xl);}
 :root[data-short-chapters] .cadence-edition [data-team-sequence] .team-frame {position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.65;transform:none!important;opacity:1!important;visibility:visible!important;}
 :root[data-short-chapters] .cadence-edition [data-team-sequence] .team-caption {bottom:8%;opacity:1!important;transform:none!important;filter:none!important;font-size:clamp(20px,3.5vw,42px);}
