/* Halftone hands in Home's hero (trial, 14 November 2026), in place of the globe. Drawn by assets/hero-hands.js.
   As in the Halftone Pro demo, the two hands are one full-width band: arms running off the page's edges, fingertips nearly meeting
   in the middle. The name and sentence sit above the band, so no dot ever runs through the words.
   The band is the hero section's own child, outside the grid, so it is as wide as the page at any width, unless that would
   put its fingertips under the fold: then it is scaled to the height the first screen has left, and the arms' outer ends fade
   into the paper (--hands-above, --hands-feather). The name, the sentence and the whole band always share the first screen.
   The band's shape is --hands-aspect and the words' height is reserved (--hands-text), both before the artwork or the fonts
   load, so neither arrival moves anything.
   Without JavaScript there is nothing to draw, so the hero is the words alone. Values from tokens.css and tokens-motion.css. */

.hero.has-hands { padding-top: min(var(--sp-hero-top), var(--hands-pad-top)); }
.hero.has-hands .hero-text { min-height: var(--hands-text); }
.hands {
  position: relative; aspect-ratio: var(--hands-aspect); margin: var(--hands-gap-top) auto 0;
  width: min(100%, var(--hands-max), max(var(--hands-min), calc((100vh - var(--hands-above)) * var(--hands-aspect))));
  width: min(100%, var(--hands-max), max(var(--hands-min), calc((100svh - var(--hands-above)) * var(--hands-aspect))));
}
.hands canvas { display: block; width: 100%; height: 100%; }
html:not(.js) .hands { display: none; }

@media (forced-colors: active) {
  .hands { display: none; }
}
