/* Preserve the wrapper's safe-area/layout rules without forcing a white first paint. */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #0a0a0a;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
/* The root paints first; a transparent body keeps the negative-z film above it. */
body { background: transparent; }
img { max-width: 100%; }
[hidden]:not([hidden=until-found i]) { display: none !important; }
/* Keep a real poster visible when playback is blocked, disabled or unavailable. */
.bg[data-page="home"] { background-image: url("hero-loop.jpg"); background-position: center; background-size: cover; }
.bg__video { visibility: hidden; }
.bg__video.is-playing { visibility: visible; }
