/* Closing scene, after the contact section: "Making the impossible, bioavailable".
   "impossible," sharpens out of a haze letter by letter; "bioavailable" condenses
   beneath it with a soft left-to-right reveal (one gradient, painted once). It continues the contact section's dark blue, so the page
   ends on the promise. Without JavaScript or with Reduced Motion the finished
   line is shown. */
.closer{--top:88px;position:relative;background:#020d1b}
.closer-stage{position:relative;height:calc(100vh - var(--top) - 12px);height:calc(100svh - var(--top) - 12px);min-height:420px;margin:0 24px;overflow:hidden;
  border-radius:28px;background:#020d1b;color:#f5f5f7;display:grid;place-items:center}
.closer-claim{position:relative;margin:0;padding:0 24px;text-align:center;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",sans-serif;font-size:clamp(44px,7.8vw,124px);font-weight:700;letter-spacing:-.05em;line-height:1.04;color:#f5f5f7}
.closer-claim .l1{display:block}
.closer-claim .old{white-space:nowrap}
.closer-claim .ch{display:inline-block}
.closer-claim .new{--m:1;display:block;width:fit-content;white-space:nowrap;
  /* room for the ink and for the blur of the reveal (the gradient and the mask stop at this box); the negative margins keep the layout */
  padding:.2em .2em .24em;margin:-.2em auto -.16em;
  background-image:linear-gradient(95deg,#b8a2ff 0%,#8fb5ff 32%,#7fd1ff 55%,#ffd08d 92%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  /* the word is painted once; a soft edge sweeping left to right reveals it */
  -webkit-mask-image:linear-gradient(90deg,#000 calc(var(--m) * 140% - 40%),transparent calc(var(--m) * 140%));
  mask-image:linear-gradient(90deg,#000 calc(var(--m) * 140% - 40%),transparent calc(var(--m) * 140%))}

@media(prefers-reduced-motion:no-preference){
  .js .closer{height:calc(150vh + 100vh - var(--top) - 12px);height:calc(150vh + 100svh - var(--top) - 12px)}
  .js .closer-stage{position:sticky;top:var(--top)}
}
@media(max-width:700px){
  .closer{--top:80px}
  .closer-stage{margin:0 12px;border-radius:20px}
  .closer-claim{font-size:clamp(36px,10.6vw,64px);padding:0 16px}
}
@media(forced-colors:active){.closer-claim .new{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText}}
/* Let the contact section's corner glows fade out before it meets the closing scene. */
.contact:has(+ .closer)::before{background:linear-gradient(180deg,transparent 78%,#020d1b 100%),radial-gradient(ellipse at 3% 110%,#153f714d,transparent 58%),radial-gradient(ellipse at 100% 105%,#ad79321a,transparent 48%)}
