/* Page transition: an ink curtain with the logo mark covers the page on leave
   and lifts off the next page on arrival. Classes come from pt.js. */
html.pt-out body::after,html.pt-in body::after{content:'';position:fixed;left:0;top:0;width:100%;height:100%;z-index:9998;background:#0D0E10;pointer-events:none}
html.pt-out body::before,html.pt-in body::before{content:'';position:fixed;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;z-index:9999;background:url(/demo/overlap/media/mark-paper.svg) center/contain no-repeat;pointer-events:none}
html.pt-out body::after{animation:pt-cover .42s cubic-bezier(.76,0,.24,1) both}
html.pt-out body::before{animation:pt-logo-in .3s .18s cubic-bezier(.2,.8,.2,1) both}
html.pt-in body::after{animation:pt-reveal .62s .08s cubic-bezier(.76,0,.24,1) both}
html.pt-in body::before{animation:pt-logo-out .24s cubic-bezier(.4,0,1,1) both}
@keyframes pt-cover{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes pt-reveal{from{clip-path:inset(0 0 0 0)}to{clip-path:inset(0 0 100% 0)}}
@keyframes pt-logo-in{from{opacity:0;transform:translateY(10px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes pt-logo-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-12px)}}
@media (prefers-reduced-motion:reduce){html.pt-out body::after,html.pt-in body::after,html.pt-out body::before,html.pt-in body::before{display:none}}
