/* Motion (D05). Every start state lives under .mo, a class the inline head script adds only when JS runs and the visitor has not asked for
   reduced motion; without it nothing is hidden or moved. site.js writes --p (0 to 1 over an element's passage through the screen),
   --hp (the hero leaving) and adds .in when something scrolls into view; .ready starts the hero's load sequence. */
.mo [data-rise]{opacity:0;transform:translateY(28px)}
.mo [data-rise].in{opacity:1;transform:none;transition:opacity .9s var(--ease) calc(var(--i,0) * .12s),transform .9s var(--ease) calc(var(--i,0) * .12s)}
/* headings: each line unmasked along its slant, line by line; the mask box is padded past the ink and removed when the reveal ends */
.mo .ln__i{clip-path:polygon(-30% -35%,-24% -35%,-62% 135%,-30% 135%)}
.mo .in .ln__i,.mo.ready .hero .ln__i{clip-path:polygon(-30% -35%,155% -35%,155% 135%,-30% 135%);transition:clip-path .9s var(--ease) calc(.1s + var(--i,0) * .15s)}
.mo .ln__i.done{clip-path:none!important;transition:none}
.mo .shead .bar{transform:skewX(var(--slant)) scaleX(0);transform-origin:left}
.mo .shead.in .bar{transform:skewX(var(--slant)) scaleX(1);transition:transform .55s var(--ease)}
/* hero load: photo eases 1.12 to 1 while the lines unmask, then sub line and buttons rise */
.mo .hero__ph img{transform:scale(1.12)}
.mo.ready .hero__ph img{transform:none;transition:transform 1.9s var(--ease)}
.mo .hero__sub,.mo .hero__btns,.mo .hero__third{opacity:0;transform:translateY(20px)}
.mo.ready .hero__third{opacity:1;transform:none;transition:opacity .8s var(--ease) .75s,transform .8s var(--ease) .75s}
.mo.ready .hero__sub{opacity:1;transform:none;transition:opacity .8s var(--ease) .85s,transform .8s var(--ease) .85s}
.mo.ready .hero__btns{opacity:1;transform:none;transition:opacity .8s var(--ease) 1.05s,transform .8s var(--ease) 1.05s}
/* the strip: icons draw their strokes, then each label slides in along the slant, item by item */
.mo .strip .dr{stroke-dasharray:1;stroke-dashoffset:1}
.mo .strip.in .dr{stroke-dashoffset:0;transition:stroke-dashoffset 1.1s var(--ease-io) calc(.1s + var(--i,0) * .2s)}
.mo .strip__li{clip-path:polygon(-10% -20%,-8% -20%,-30% 130%,-10% 130%);transform:translateX(-18px)}
.mo .strip.in .strip__li{clip-path:polygon(-10% -20%,140% -20%,140% 130%,-10% 130%);transform:none;transition:clip-path .8s var(--ease) calc(.5s + var(--i,0) * .2s),transform .8s var(--ease) calc(.5s + var(--i,0) * .2s)}
.mo .strip__i:nth-child(1) .dr{transition-delay:.1s}
/* cards rise 40px one after another and end level */
.mo .pcard{opacity:0;transform:translateY(40px)}
.mo .cards.in .pcard{opacity:1;transform:none;transition:opacity .8s var(--ease) calc(var(--i,0) * .1s),transform .9s var(--ease) calc(var(--i,0) * .1s)}
/* story photo, panels, review cards */
.mo .story__ph{opacity:0}
.mo .story__ph.in{opacity:1;transition:opacity .6s}
.mo .lpan{opacity:0}
.mo .loc__pn.in .lpan{opacity:1;transition:opacity .9s var(--ease) calc((var(--n,0)) * .15s)}
.mo .rev{opacity:0;transform:translateX(80px)}
.mo .revs.in .rev{opacity:1;transform:none;transition:opacity .8s var(--ease) calc(var(--i,0) * .15s),transform 1s var(--ease) calc(var(--i,0) * .15s)}
.mo .stars__f{clip-path:inset(0 100% 0 0)}
.mo .revs.in .stars__f{clip-path:inset(0 0 0 0);transition:clip-path .9s var(--ease-io) calc(.55s + var(--i,0) * .15s)}
/* closing band heading */
.mo .close .ln__i{clip-path:polygon(-30% -35%,-24% -35%,-62% 135%,-30% 135%)}
.mo .close.in .ln__i{clip-path:polygon(-30% -35%,155% -35%,155% 135%,-30% 135%);transition:clip-path .9s var(--ease) .1s}
/* the story quote is white italic at rest. With motion on, site.js splits it into words and each word fills from slate to white as its line
   comes into view (left to right inside a line, line after line as the quote rises); a word that has filled never goes back to slate */
.mo .quote .w{color:#74839A;transition:color .45s ease var(--wd,0s)}
.mo .quote .w.on{color:#fff}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation:none!important;scroll-behavior:auto!important}}
