/* Loading animation — see Website Screens/Loading Animation (frames 1–11)
   The green screen has a logo-shaped window cut into it. The window draws
   itself, fills into a solid oval, then grows until the page shows through. */

html.is-loading {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.loader__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loader__green {
  fill: var(--green);
}

/* Plain green until the script has sized and positioned the logo,
   so the raw artwork never flashes on screen while the page loads */
.loader:not(.is-ready) .loader__logo {
  opacity: 0;
}

/* Used when the visitor has asked their device to reduce motion */
.loader.is-fading {
  opacity: 0;
  transition: opacity 0.5s ease;
}
