/* Light motion layer. Only active when JS runs and the reader has not asked for reduced motion. */
:root{--ease:cubic-bezier(.2,.7,.2,1)}

/* Kinetic titles: words rise in */
.js-motion .kin .w{display:inline-block;opacity:0;transform:translateY(.45em);filter:blur(6px);
  transition:opacity .7s var(--ease),transform .8s var(--ease),filter .8s var(--ease);transition-delay:calc(var(--i,0)*60ms)}
.js-motion .kin.in .w{opacity:1;transform:none;filter:none}

/* Generic reveal */
.js-motion .rv{opacity:0;transform:translateY(18px);transition:opacity .8s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0)*70ms)}
.js-motion .rv.in{opacity:1;transform:none}

/* Plates: bars grow */
.js-motion figure.plate .hbars .bt i,
.js-motion figure.plate .vs .bt i{transform:scaleX(0);transform-origin:left center;transition:transform 1s var(--ease);transition-delay:calc(var(--i,0)*45ms + 150ms)}
.js-motion figure.plate.in .hbars .bt i,
.js-motion figure.plate.in .vs .bt i{transform:none}
.js-motion figure.plate .hbars.mark2 .bt::after{opacity:0;transition:opacity .6s ease 1.1s}
.js-motion figure.plate.in .hbars.mark2 .bt::after{opacity:1}
.js-motion figure.plate .stake .grow i{transform:scaleY(0);transform-origin:bottom;transition:transform .8s var(--ease);transition-delay:calc(var(--i,0)*90ms + 600ms)}
.js-motion figure.plate.in .stake .grow i{transform:none}
.js-motion figure.plate .stake .flat{transform:scaleX(0);transform-origin:left;transition:transform 1s var(--ease) .6s}
.js-motion figure.plate.in .stake .flat{transform:none}

/* Plates: chain steps arrive one by one */
.js-motion figure.plate .chain li{opacity:0;transform:translateY(10px);transition:opacity .5s var(--ease),transform .6s var(--ease);transition-delay:calc(var(--i,0)*70ms)}
.js-motion figure.plate.in .chain li{opacity:1;transform:none}

/* Plates: line chart draws itself */
.js-motion figure.plate svg.chart .l1,
.js-motion figure.plate svg.chart .l2{transition:stroke-dashoffset 1.8s var(--ease) .2s}
.js-motion figure.plate svg.chart .d1,.js-motion figure.plate svg.chart .d2,
.js-motion figure.plate svg.chart .lab,.js-motion figure.plate svg.chart .val{opacity:0;transition:opacity .5s ease 1.8s}
.js-motion figure.plate.in svg.chart .d1,.js-motion figure.plate.in svg.chart .d2,
.js-motion figure.plate.in svg.chart .lab,.js-motion figure.plate.in svg.chart .val{opacity:1}
.js-motion figure.plate svg.chart .l0{stroke-dashoffset:640;transition:stroke-dashoffset 1.4s var(--ease)}
.js-motion figure.plate.in svg.chart .l0{stroke-dashoffset:0}

/* Plates: tiles and table rows */
.js-motion figure.plate .tier,
.js-motion figure.plate .facts>div,
.js-motion figure.plate tbody tr{opacity:0;transform:translateY(12px);transition:opacity .6s var(--ease),transform .7s var(--ease);transition-delay:calc(var(--i,0)*60ms + 200ms)}
.js-motion figure.plate.in .tier,
.js-motion figure.plate.in .facts>div,
.js-motion figure.plate.in tbody tr{opacity:1;transform:none}

/* Pull quotes: the accent line draws down */
.js-motion blockquote.pull{border-left-color:transparent;background:linear-gradient(var(--accent),var(--accent)) left top/3px 0 no-repeat;transition:background-size .9s var(--ease) .2s,opacity .8s var(--ease),transform .9s var(--ease)}
.js-motion blockquote.pull.in{background-size:3px 100%}

/* Buttons: a gentle lift */
.btn{transition:transform .25s var(--ease),filter .25s ease}
.btn:hover{transform:translateY(-1px)}

@media (prefers-reduced-motion: reduce){
  .js-motion .kin .w,.js-motion .rv,.js-motion figure.plate *{transition:none!important;transform:none!important;opacity:1!important;filter:none!important}
}
