/* YUMMM hero: approved motion opens the three-scene carousel.
   The original storefront and boxes-to-go photographs remain visible on slides 2 and 3. */
html[data-tle-one-motion="yummm"] .hero .hero-media{
  isolation:isolate;
  pointer-events:none;
}
html[data-tle-one-motion="yummm"] .hero .hero-media>.hero-slide{
  visibility:visible;
  z-index:0;
}
html[data-tle-one-motion="yummm"] .hero .hero-media>.hero-slide.is-current{
  z-index:1;
}
html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]{
  overflow:hidden;
  background:#493127;
  transform:none!important;
}
html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]>.yummm-motion-poster,
html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]>.yummm-motion-video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
  transform:none!important;
  filter:none!important;
  pointer-events:none;
}
html[data-tle-one-motion="yummm"] .hero .yummm-motion-poster{z-index:1}
html[data-tle-one-motion="yummm"] .hero .yummm-motion-video{
  z-index:2;
  opacity:0;
  transition:opacity .25s ease;
}
html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"].is-current .yummm-motion-video.is-playing{
  opacity:1;
}
html[data-tle-one-motion="yummm"] .hero .hero-shade{z-index:2;pointer-events:none}
html[data-tle-one-motion="yummm"] .hero .hero-content{z-index:3}
html[data-tle-one-motion="yummm"] .editorial-banner .ribbon-track,
html[data-tle-one-motion="yummm"] .editorial-banner:hover .ribbon-track,
html[data-tle-one-motion="yummm"] .editorial-banner:focus-within .ribbon-track{
  animation-play-state:running!important;
}
@media(prefers-reduced-motion:reduce){
  html[data-tle-one-motion="yummm"] .hero .yummm-motion-video{display:none!important}
  html[data-tle-one-motion="yummm"] .editorial-banner .ribbon-track{animation:none!important}
}

/* iPhone framing refinement: step back slightly without changing the
   approved MP4 or cropping the two subsequent photography slides.
   The first-frame poster fills the perimeter to avoid empty bars. */
@media(max-width:768px){
  html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]>.yummm-motion-poster,
  html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]>.yummm-motion-video{
    object-position:50% 42%;
    transform:scale(.92)!important;
    transform-origin:50% 50%;
  }
  html[data-tle-one-motion="yummm"] .hero .hero-slide[data-slide="0"]>.yummm-motion-video{
    -webkit-mask-image:radial-gradient(ellipse farthest-side at center,#000 90%,transparent 100%);
    mask-image:radial-gradient(ellipse farthest-side at center,#000 90%,transparent 100%);
  }
}
