/* Scroll-linked motion. Transform only, opacity stays with the reveal system,
   so nothing can get stranded invisible when a range never completes. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){

    .whynow .sec-head,.uc3 .sec-head,.ctx-head{animation:smRise linear both;animation-timeline:view();animation-range:entry 8% cover 34%}
    @keyframes smRise{from{transform:translateY(40px)}to{transform:none}}

    .whynow .hg-card,.ctx-panel,.pl-item{animation:smLift linear both;animation-timeline:view();animation-range:entry 4% cover 30%}
    @keyframes smLift{from{transform:translateY(48px) scale(.98)}to{transform:none}}

    .ctx-pair>.ctx-panel:first-child{animation:smInL linear both;animation-timeline:view();animation-range:entry 4% cover 32%}
    .ctx-pair>.ctx-panel:last-child{animation:smInR linear both;animation-timeline:view();animation-range:entry 4% cover 32%}
    @keyframes smInL{from{transform:translateX(-34px)}to{transform:none}}
    @keyframes smInR{from{transform:translateX(34px)}to{transform:none}}

    .hg-stage{animation:smZoom linear both;animation-timeline:view();animation-range:entry 10% cover 46%}
    @keyframes smZoom{from{transform:scale(.94)}to{transform:none}}

    .ctx-kick::before{animation:smRule linear both;animation-timeline:view();animation-range:entry 12% cover 30%}
    @keyframes smRule{from{width:0}to{width:26px}}

    /* these elements get their transform from the timeline above, so the reveal
       layer only needs to handle their fade */
    .js-motion .whynow .sec-head,.js-motion .uc3 .sec-head,.js-motion .ctx-head,
    .js-motion .ctx-pair>*,.js-motion .pl-grid>*,.js-motion .hg-grid3>*{transform:none}
  }
}
