/* The loader is opt-in: a disabled or blocked script leaves the landing visible. */
.home-loader { display: none; }
.home-loading { overflow: hidden; }
.home-loading body > :not(.home-loader):not(script) { visibility: hidden; }
.home-loading .home-loader {
  display: grid;
  place-content: center;
  justify-items: center;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #ffa2d4; /* el rosa de Studies (css/home.css) */
  color: var(--lime);
  cursor: default;
}
.home-loader picture { opacity: 0; display: block; width: min(70vw, 420px); aspect-ratio: 1; }
.home-loader img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }

.home-loading.is-revealing body > :not(.home-loader):not(script) { visibility: visible; }
.home-loading.is-revealing .home-loader { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .home-loader picture { opacity: 1; }
}
