/* Flamezia • screen-locked motion patch | 12 Nov 2026
   Content and layout unchanged. The site scrolls VERTICALLY only.
   Background layers move up/down, never left/right. */
html { width: 100%; min-width: 0; max-width: 100%; overflow-x: hidden; overflow-x: clip !important; overscroll-behavior-x: none; }
body { width: 100%; min-width: 0; max-width: 100%; margin: 0; overflow-x: hidden; overflow-x: clip !important; overscroll-behavior-x: none; }
/* Avoid scrollbar-gutter-related horizontal jumps. */
html { scrollbar-gutter: stable; }
main, .site-header, .topline, .bottom-cta, .site-footer { max-width: 100%; min-width: 0; }
section, header, footer { max-width: 100%; }
/* The animated scene is tied to the VIEWPORT, not the document's contents. */
.fw-world { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden !important; contain: strict; transform: none !important; }
.fw-world .fw-canvas { display: block; width: 100%; height: 100%; }
/* Prevent transforms in decorative elements from changing document width. */
.hero-home, .hero-visual, .home-about, .about-visual, .page-banner, .banner-image,
.bottom-cta, .hero-grid, .banner-grid, .split-about, .contact-grid { min-width: 0; }
/* Images keep natural ratios and never create an oversized column. */
img, video, svg { max-width: 100%; }
/* Filter controls may scroll inside their own row, but never the whole page. */
.filters { max-width: 100%; }
/* Keep the mobile pop-out menu constrained to its parent width. */
.site-header .nav-shell { min-width: 0; }
@media (max-width: 700px) {
  html { scrollbar-gutter: auto; }
  .fw-world { width: 100% !important; }
  .fw-aura, .fw-aura-mid { filter: blur(13px); }
  .fw-circuit { opacity: .22; }
}
@media (prefers-reduced-motion: reduce) {
  .fw-world *, .fw-world *::before, .fw-world *::after { animation: none !important; }
}
