/* The old site's line-art range, scrolling sideways behind the page.
   The tile is seamless (its left and right edges meet), so a 75 s linear loop of one tile width
   never shows a seam. Drawn as a mask so its color stays a token, not baked into the image. */
.range {
  --h: clamp(220px, 46vh, 520px);
  --tile: calc(var(--h) * 2.6916); /* the tile's width / height */
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--h);
  z-index: -1;
  pointer-events: none;
  background: var(--text);
  opacity: 0.075;
  -webkit-mask: url(/mountains.webp) repeat-x 0 100% / auto 100%;
  mask: url(/mountains.webp) repeat-x 0 100% / auto 100%;
  animation: range-drift 75s linear infinite;
  will-change: mask-position;
}
@keyframes range-drift {
  to {
    -webkit-mask-position: calc(-1 * var(--tile)) 100%;
    mask-position: calc(-1 * var(--tile)) 100%;
  }
}
@media (max-width: 640px) {
  .range { --h: 34vh; opacity: 0.09; }
}
@media (prefers-reduced-motion: reduce) {
  .range { animation: none; }
}
