/* The hero's halftone map. Europe is painted on a canvas in small dots (hero-halftone.js, from europe-dots.js): the coastline first, from the
   north down, then the land, and then dots in the three colours of Drift's pillars are slammed onto it one after another, each sending a
   ripple across it.
   The canvas is placed by its land: its westernmost point, Portugal's coast, 0.01323 of the way across the picture, lands where the copy's white
   ground has faded out (--land-from, from this column's left edge), exactly where the globe it replaces put it; the land spans 0.94518 of the
   picture. It is 22% wider than that globe, which is room taken from the right: its easternmost point, the tip of Cyprus, reaches 0.22 of the
   globe's width past this column's right edge, into the page's right margin. Past 840px wide it stops growing, so the land never reaches the
   header above it nor the Aegean the strip of reasons below. It reaches across into the copy's column, whose links stay clickable, and sits under the copy's white ground
   (.hero-top-row::before), so nothing of the map is ever under the copy. */

/* The map's room is the copy's: the white ground that hides the map where the copy is fades out in 20px, not 80, so the west coast starts 60px
   nearer the copy than the globe's did. */
.hero { --copy-fade: 20px; }

.hh {
  z-index: 2;
  aspect-ratio: 1058 / 791;
  --land-from: calc(var(--copy-fade) - var(--hero-gap) - max(0px, 100% * 1.040816 - var(--copy-max)));
  --map-w: min(850px, (100% - var(--land-from)) / 0.94518 * 1.3);
  position: absolute;
  top: 50%;
  left: calc(var(--land-from) - var(--map-w) * 0.01323);
  width: var(--map-w);
  transform: translateY(-50%);
  pointer-events: none;
}
@media (max-width: 850px) {
  .hh {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }
}
.hh-canvas { display: block; width: 100%; height: 100%; }

/* the icon sprite takes no room */
.eu-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
