/* Hero: dot globe. An oversized sphere of points (WebGL canvas, scripts/sections/hero.js) is cropped by the right and
   bottom edges; the headline sits on clear ground on the left (the renderer quiets the dots behind it).
   The ground is --vacuum; the canvas paints the same colour (see BG_FS in the script). */
.hero { position: relative; min-height: max(44rem, 100svh); overflow: hidden; isolation: isolate; background: var(--vacuum); }

.globe { position: absolute; inset: 0; margin: 0; z-index: 0; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.no-gl .globe { display: none; }

.hero__copy { position: relative; z-index: 1; padding-top: clamp(9rem, 22vh, 13rem); padding-bottom: var(--s-9); pointer-events: none; }
.hero__title { text-shadow: 0 0 2px var(--vacuum), 0 0 14px var(--vacuum-70); }
.hero__title > span { display: block; }
.hero__cta { pointer-events: auto; margin-top: clamp(2.5rem, 6vh, 4rem); min-width: 15rem; }

/* Desktop: the headline in two lines, with the button, at the vertical middle of the hero. */
@media (min-width: 48rem) {
  .hero { display: flex; flex-direction: column; justify-content: center; }
  .hero__copy { width: 100%; padding-top: 0; padding-bottom: 0; }
  .hero__title { max-width: 10.2em; }
}

/* Phone: headline and CTA first, then the globe below them (the renderer places the sphere under the copy). */
@media (max-width: 47.99rem) {
  .hero { min-height: 0; padding-bottom: 21rem; }
  .hero__copy { padding-top: 6.75rem; padding-bottom: 0; }
  .hero__title { font-size: clamp(2.125rem, 1.4rem + 3.5vw, 3.25rem); }
  .hero__cta { margin-top: var(--s-6); min-width: min(100%, 22rem); }
}
