/* The anchor defines the assembled mark's bounds. The canvas spans the hero during formation. */
.hero-pyramids {
  position: relative;
  width: min(90%, 510px);
  aspect-ratio: 206 / 117;
  margin-top: 88px;
  pointer-events: none;
}

.hero-pyramids img { display: block; width: 100%; height: 100%; }
html[data-pyramid-startup=pending] .hero-pyramids img,
.hero-pyramids[data-ready=true] img { visibility: hidden; }

.hero-pyramid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.hero-pyramid-canvas[data-ready=true] { opacity: 1; }

@media (max-width: 480px) {
  .hero-pyramids {
    width: min(95%, 390px, 40svh);
    margin-top: clamp(56px, 10svh, 88px);
  }
}

@media (max-width: 360px) and (max-height: 650px) {
  .hero-pyramids { width: min(95%, 33svh); }
}

@media (min-width: 481px) and (max-width: 999px) {
  .hero-pyramids {
    width: min(90%, 510px, 49svh);
    margin-top: clamp(64px, 8.6svh, 88px);
  }
}

.hero.pyramid-roomy .hero-pyramids { margin-top: 124px; }

@media (forced-colors: active) {
  .hero-pyramids, .hero-pyramid-canvas { display: none; }
}
