/* Real video only; isolated from the main website. */
#loading-screen { display: none; }
html.is-loading { overflow: hidden; }
html.is-loading #loading-screen {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  min-height: 100%;
  z-index: 99999;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity .8s ease;
}
html.is-loading #loading-screen.loading-leaving { opacity: 0; }
.loading-video {
  position: absolute;
  inset: 0;
  width: 100%;
  /* Clip has embedded black bands: visible smoke is the central ~332/1280 px.
     Enlarge presentation only; the MP4 stays untouched. */
  height: 385.55%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  opacity: 0;
}
.loading-started .loading-video { opacity: 1; }
.loading-fallback .loading-video { display: none; }
.loading-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
}
.loading-started .loading-title { animation: loading-title-arrive .8s ease 1.5s both; }
@keyframes loading-title-arrive {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}
/* Retain a semantic page heading without repeating the loading title onscreen. */
.site-start { height: 0; }
.site-start h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .loading-title { font-size: clamp(10px, 3.1vw, 13px); letter-spacing: .19em; }
  .loading-video { object-position: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #loading-screen .loading-video { display: none; }
  #loading-screen .loading-title { animation: loading-title-reduced .8s ease 1.5s both !important; }
  html.is-loading #loading-screen { transition: opacity .8s ease !important; }
}
@keyframes loading-title-reduced { from { opacity: 0; } to { opacity: 1; } }
