/* DBY scroll scrub tokens (motion/scrub.css), shared by the home and result pages. scrub.js writes --p and --pe
   (and the followed --ps, --pse) on every [data-scrub] element; these tokens say how far and how softly things move. */
:root{
  --scrub-ease:cubic-bezier(.22,.61,.36,1);   /* for any CSS transition that sits beside a scrub (cubic out, as --pe) */
  --scrub-ease-inout:cubic-bezier(.65,0,.35,1); /* the house in-out curve (DBYScrub.inout): starts and lands slowly */
  --scrub-dur:760ms;                          /* how long a timed (not scrubbed) reveal takes */
  --scrub-follow:.14;                         /* how fast a followed value glides to the scroll, per 60 Hz frame */
  --scrub-drawer-travel:32%;                  /* how far a drawer slides out at --p 1, as a share of its box's depth */
  --scrub-lift:28px;                          /* how far a card rises as it settles */
  --scrub-scale-from:.86;                     /* where a part's scale starts as it comes out */
  --scrub-fade-in:.25;                        /* the share of the travel over which a part fades in */
}
[data-scrub]{--p:0;--pe:0;--ps:0;--pse:0}
/* reduced motion, and a page without script: the final, opened state */
@media (prefers-reduced-motion:reduce){[data-scrub]{--p:1;--pe:1;--ps:1;--pse:1}[data-scrub="through"]{--p:.5;--pe:.875;--ps:.5;--pse:.875}}
html:not(.js) [data-scrub]{--p:1;--pe:1;--ps:1;--pse:1}
html:not(.js) [data-scrub="through"]{--p:.5;--pe:.875;--ps:.5;--pse:.875}
