/* One rotating galaxy is masked by the entire word, leaving the sky untouched. */
.page-index .hero h1.galaxy-title {
  width: fit-content;
  position: relative;
  color: #fff;
  text-shadow: none;
}
.page-index .hero h1.galaxy-ready { color: transparent; }
.galaxy-title canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.page-index .card-grid { grid-auto-rows: 1fr; }
@media (forced-colors: active) {
  .page-index .hero h1.galaxy-ready { color: CanvasText; }
  .galaxy-title canvas { display: none; }
}

/* Homepage donations sit centrally immediately below the counter. */
.page-index .home-counter-donations { width: 100%; margin-top: 16px; }
.page-index .home-counter-donations .optional-donations { margin: 0 auto; }
.page-index .home-counter-donations summary { margin-inline: auto; text-align: center; }
.page-index .home-counter-donations .copy-status { text-align: center; }

/* Larger welcome lettering, with a narrow-screen limit to avoid clipping. */
.page-index .hero h1.galaxy-title { font-size: clamp(4.75rem, 10vw, 8.75rem); }
@media (max-width: 600px) {
  .page-index .hero h1.galaxy-title { font-size: min(4.75rem, 15vw); }
}
