/* MPLink animated header (used on every page, including home.html)
   - at the top of the page: the floating teal pill, exactly as before
   - once you scroll down: it slides flush to the top edge and spans the full width (no empty strip above/beside it)
   - it stays docked while you scroll back up, and returns to the floating pill only at the very start of the page
   Toggled by header-anim.js through the class  .mp-docked  on  .site-header                                          */
.site-header{--mp-top:12px}
@media(max-width:760px){.site-header{--mp-top:8px}}
.site-header .wrap{
  transition:width .5s cubic-bezier(.2,.8,.2,1),max-width .5s cubic-bezier(.2,.8,.2,1),padding .5s cubic-bezier(.2,.8,.2,1),
             border-radius .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease}
.site-header.mp-docked{transform:translateY(calc(-1 * var(--mp-top)))}
.site-header.mp-docked .wrap{
  width:100%;max-width:100%;border-radius:0;
  border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;
  padding-left:max(20px,calc((100% - 1200px)/2 + 20px));padding-right:max(20px,calc((100% - 1200px)/2 + 20px));
  box-shadow:0 10px 30px rgba(12,35,64,.34)}
@media(max-width:760px){.site-header.mp-docked .wrap{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){.site-header,.site-header .wrap{transition:none}}
