
/* ===== a hint that there is more below (scrollhint.py) ===== */
/* AT THE FOOT OF THE HEADER, INSIDE IT, and the detour this took is
   worth leaving on the record because the detour was my fault and the
   "fix" for it was worse than the thing it fixed.

   Every header on this site is position:sticky, which is a positioned
   element, so it gives an absolutely placed child the containing block
   it needs without any page being changed to suit it. That is all this
   ever needed.

   I then hit tested the button's own centre on all 79 pages and found
   ten where it rendered perfectly and reported as unclickable: about,
   approvals and its five approval pages, careers, onshoring and testing.
   I read that as a stacking problem, moved the button out of the header
   and fixed it to the viewport instead. That genuinely broke it: the
   headers run from 550px on contact to 979px on the case studies, all
   shorter than the window, so the foot of the VIEWPORT is inside the
   next block. Hit tested again, the hint was sitting on top of real
   copy on 45 pages.

   The ten were never blocked. Those pages carry the overview overlay,
   #ovmenu, which is visibility:visible on first paint and is hidden by
   script about 200ms later. My sweep sampled at 240ms, right on that
   boundary, so some pages caught the overlay still up and reported a
   blocker that is gone before anybody could click anything. Sampled at
   900ms, all 79 are clickable with the button where it always was.

   THIRD TIME TODAY a check has measured a page before it settled and
   reported the result as a finding: the stat bars with scrollIntoView
   against smooth scrolling, the count-up observer, and now this. The
   rule is the same every time: let the page settle, then measure, and
   when a result says ten pages are broken, check the measurement before
   changing the code. */
html body .sdh{
  position:absolute;left:50%;bottom:34px;
  transform:translateX(-50%);
  z-index:6;border:0;padding:10px 12px;margin:0;
  background:none;color:var(--aqua,#00eecc);
  cursor:pointer;line-height:0;
  opacity:.86;transition:opacity .45s ease;
  -webkit-tap-highlight-color:transparent;}
html body .sdh:hover{opacity:1;}
html body .sdh:focus-visible{outline:2px solid var(--aqua,#00eecc);
  outline-offset:6px;border-radius:999px;}
html body .sdh.sd-gone{opacity:0;pointer-events:none;}
@media (max-width:900px){html body .sdh{bottom:20px;}}

/* transform-box, because a transform on an SVG child resolves in user
   space otherwise and the origin lands outside the shape */
html body .sdh .sd-m{transform-box:fill-box;transform-origin:center;
  animation:sd-fardrop 2.1s cubic-bezier(.33,0,.25,1) infinite;}
/* THE LAG IS POSITIVE. At time t the dot is at f(t) and a ghost is at
   f(t-d), which is less far down, which is behind it. Negative would put
   the trail in front of the thing it is trailing. Sized off a render:
   85 and 170ms came out as a slightly oval dot and nothing anybody would
   call a trail, so 150, 300 and 450. */
html body .sdh .sd-g1{animation-delay:.15s;}
html body .sdh .sd-g2{animation-delay:.3s;}
html body .sdh .sd-g3{animation-delay:.45s;}
@keyframes sd-fardrop{
  0%{transform:translateY(-2px);opacity:0;}
  14%{opacity:1;}
  60%{opacity:1;}
  100%{transform:translateY(20px);opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  html body .sdh .sd-m{animation:none;opacity:1;transform:none;}
}
