/* ==========================================================================
   Backdrop — the network behind the page below the hero (assets/js/backdrop.js).
   One canvas, fixed to the screen and painted under everything else: the hero
   covers it, and the panels and cards keep their solid surfaces above it, so it
   shows in the open sections and around the panels. Decoration only — hidden
   from assistive technology and never in the way of the pointer.
   ========================================================================== */

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* the large viewport: no redraw when a phone's address bar slides away */
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.backdrop.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .backdrop {
    transition: none;
  }
}

@media (forced-colors: active), print {
  .backdrop {
    display: none;
  }
}
