/* Mobile WebKit/low-power composition guard.
   Keep the motion language, but avoid stacking 3D, alpha filters and live blur
   across the whole page — a combination that can produce black frames on iOS. */
@media (max-width: 760px), (pointer: coarse) {
  .header {
    background: linear-gradient(135deg, #fffdf8fa, #f4eee3f5) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero-art,
  .family-gallery-stage {
    perspective: none !important;
    transform-style: flat !important;
  }

  .food-plane {
    transform: translate(var(--px, 0px), var(--py, 0px)) !important;
    will-change: auto !important;
  }

  .hero.motion-in-view .food-plane,
  .family.motion-in-view .family-gallery-slide {
    will-change: auto !important;
  }

  .food-plane img,
  .scene-food,
  .section-ingredient {
    filter: none !important;
  }

  .hero::before,
  .menu-section::before,
  .rodizio::before,
  .agenda::before,
  .family::before,
  .reservation::before,
  .contact::before {
    mix-blend-mode: normal !important;
    opacity: .025 !important;
  }

  .menu-section::before,
  .family::before,
  .contact::before {
    opacity: .018 !important;
  }

  .family-gallery-slide {
    transform: translate(-50%, calc(var(--photo-y, 0px) + 52px)) scale(.68);
  }

  .family-gallery-slide.is-active {
    transform: translate(-50%, var(--photo-y, 0px)) rotate(-1.2deg) scale(1);
  }

  .family-gallery-slide.is-prev {
    transform: translate(
      calc(-50% - var(--gallery-spread)),
      calc(var(--photo-y, 0px) + 28px)
    ) rotate(-7deg) scale(.8);
  }

  .family-gallery-slide.is-next {
    transform: translate(
      calc(-50% + var(--gallery-spread)),
      calc(var(--photo-y, 0px) + 24px)
    ) rotate(7deg) scale(.82);
  }

  .family-gallery-arrow {
    background: #fffaf0f5;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
