/* Loading gate — the film's first frame.
   A full-viewport blur over the page while the hero flight's three legs download.
   Injected and removed entirely by assets/js/preloader.js, so a no-JS visitor
   never sees it and the page has exactly its old markup. */

.ody-pl {
  position: fixed;
  inset: 0;
  z-index: 1200;                     /* engine stage is z 10, page overlay chrome z 30/40 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6, 1.5rem);
  background: rgba(5, 5, 5, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(0.9);
  backdrop-filter: blur(22px) saturate(0.9);
  opacity: 1;
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ody-pl.is-out { opacity: 0; }

.ody-pl__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Reuses the hero's own wordmark treatment (.hero-mark, hero.css), one size down —
   this is a threshold, not the headline. */
.ody-pl .hero-mark {
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: #fff;
  margin: 0;
}

.ody-pl__track {
  position: relative;
  width: clamp(220px, 34vw, 280px);
  height: 2px;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.ody-pl__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: #E8630A;
  box-shadow: 0 0 12px rgba(232, 99, 10, 0.5);
}

.ody-pl__label {
  margin-top: var(--sp-4, 1rem);
  font-family: var(--font-mono, ui-monospace, Menlo, monospace);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}

/* Scroll lock while the gate is up. */
html.ody-pl-lock,
html.ody-pl-lock body { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  .ody-pl__fill { box-shadow: none; }
  .ody-pl { transition: opacity 650ms linear; }
}
