/* the scroll over under the six verticals (scrollover.py) */
/* ===== THE TIER UNDER THE SIX VERTICALS SCROLLS OVER THEM ===== */
/* Matt, 5 November. The six pin at the foot of the window and the tier
   below climbs over them on the site's own 36px curve. */
html body .so-stack{position:relative;}
html body .so-stack > #services{z-index:0;}
/* THE PIN. Negative top offset, so the constraint rectangle is as tall
   as the tier and the browser can actually hold it. --so-h is measured
   below; html.so-on says the measuring ran. */
html.so-on body .so-stack > #services{position:sticky;
  top:calc(100vh - var(--so-h));}
/* THE SHEET. It needs a ground of its own: the band is transparent over
   the body's gradient everywhere else on the page, and a transparent
   sheet over a pinned tier shows the pinned tier through it. */
html body .so-stack > #industries{position:relative;z-index:5;
  background:radial-gradient(1000px 500px at 50% -100px,rgba(0,238,204,.05),transparent 60%),#0b0f2e;
  border-radius:36px 36px 0 0;
  box-shadow:0 -30px 90px rgba(0,0,0,.33);}
@media (max-width:900px){
  /* NO PIN ON A PHONE. The six are four screens tall there, so holding
     them at the foot of the window holds two cards nobody asked to keep
     looking at. The curve and the shadow stay, so the join still reads
     as one band arriving over another. */
  html.so-on body .so-stack > #services{position:static;top:auto;}
  html body .so-stack > #industries{border-radius:28px 28px 0 0;}
}
@media (prefers-reduced-motion:reduce){
  html.so-on body .so-stack > #services{position:static;top:auto;}
}
