/*
  Production performance guardrails.
  Keep visuals intact while reducing expensive compositor work on smaller devices.
*/
@media (max-width: 950px) {
  .navbar,
  .land-check-sticky__shell,
  .consent-gate {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero-video,
  .hero-video-poster {
    backface-visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}


/* GSAP production compositor hints — intentionally narrow, not global. */
.hero-video,
.brand-story__portrait,
[data-hero-line],
.process-route svg,
.process-route path {
  transform: translateZ(0);
}

.hero-video,
.brand-story__portrait {
  will-change: transform;
}

@media (max-width: 950px) {
  /* Continuous video parallax is decorative and expensive on mobile GPUs. */
  .why-ossler-video,
  .why-media video {
    transform: none !important;
  }
}

/* Mobile editorial nav positioning fix */
@media (max-width: 800px) {
  .navbar--editorial .desktop-nav {
    position: absolute;
    top: calc(100% + 9px);
  }
}
