/* Golden Grid HD hero recovery, 2026-11-08.
   Preserve the approved 1122×1402 original pixels and never layer the old
   low-resolution 512×682 Canva video over the typography or product.
   The optional lightweight syrup glint is SVG/CSS—not an enlarged movie. */
html[data-tle-one-motion="golden-grid"] .hero .hero-art {
  display:block;
  position:relative;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  height:auto;
  min-height:0;
  padding:0!important;
  margin:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:#d7edf4;
}
html[data-tle-one-motion="golden-grid"] .hero .hero-art > img {
  display:block!important;
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  aspect-ratio:1122 / 1402;
  object-fit:contain;
  object-position:center;
  opacity:1!important;
  transform:none!important;
  scale:none!important;
  filter:none!important;
  animation:none!important;
  transition:none!important;
  will-change:auto!important;
}
/* Do not allow older video classes or obsolete presentation overlays to return
   through cached styles. The MP4 remains in the DOM only for eligible standalone phones; iPad never loads it. */
html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-approved-hero-video {
  display:none;
}
html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-hero-motion {
  position:absolute;
  z-index:2;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  pointer-events:none;
  user-select:none;
  opacity:.75;
  transform:none!important;
  filter:none!important;
}
/* Fine light running along the syrup stream; the original photograph, its
   printed headline and its product packaging never change resolution. */
html[data-tle-one-motion="golden-grid"] .gg-syrup-glint {
  opacity:0;
  stroke-dasharray:95 720;
  stroke-dashoffset:720;
  transition:opacity .4s ease-out;
  animation:none;
}
@media(min-width:1400px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html[data-tle-one-motion="golden-grid"] .hero .hero-art[data-gg-sheen-active] svg.gg-hero-motion path.gg-syrup-glint {
    opacity:.58;
    animation:ggSyrupLight 5.8s ease-in-out infinite!important;
  }
}
@keyframes ggSyrupLight {
  0%,13% {stroke-dashoffset:720;opacity:0}
  28% {opacity:.38}
  55% {stroke-dashoffset:0;opacity:.48}
  73%,100% {stroke-dashoffset:-720;opacity:0}
}
@media(max-width:760px),(prefers-reduced-motion:reduce) {
  html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-hero-motion {
    display:none!important;
  }
  html[data-tle-one-motion="golden-grid"] .gg-syrup-glint {
    animation:none!important;
  }
}

/* Keep the other agent's approved standalone-phone motion at native scale;
   tablet/desktop must NEVER display or decode the low-resolution file. */
html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-approved-hero-video{
  display:none;
}
@media(min-width:521px),(prefers-reduced-motion:reduce){
  html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-approved-hero-video{
    display:none!important;
  }
}
html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-approved-hero-video[hidden],
html[data-tle-one-motion="golden-grid"] .hero .hero-art[data-gg-video-error] .gg-approved-hero-video{
  display:none!important;
}

/* Golden Grid: keep sharp base photo and hero dimensions on standalone phones.
   A 3:4 source fills a 4:5 frame with minimal top/bottom safe-area crop; never
   crop the waffle, bag or text and never significantly upscale the 512px layer. */
@media (max-width:520px) and (prefers-reduced-motion:no-preference){
  html[data-tle-one-motion="golden-grid"] .hero .hero-art[data-gg-mobile-video-eligible] .gg-approved-hero-video{
    display:block!important;
    position:absolute;
    z-index:2;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    object-fit:cover;
    object-position:center;
    padding:0;
    margin:0;
    border:0;
    pointer-events:none;
    background:transparent;
    opacity:0;
    transition:opacity .2s ease-out;
    -webkit-mask-image:none;
    mask-image:none;
    transform:none!important;
    filter:none!important;
    animation:none!important;
  }
  html[data-tle-one-motion="golden-grid"] .hero .hero-art[data-gg-mobile-video-eligible][data-gg-video-playing] .gg-approved-hero-video{
    opacity:1;
  }
}

/* iPad/tablet: only the untouched still photograph in portrait AND landscape.
   Exclude all syrup effects, low-res overlays and any image transforms. */
@media (min-width:521px) and (max-width:1399px), (min-width:521px) and (pointer:coarse) {
  html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-approved-hero-video,
  html[data-tle-one-motion="golden-grid"] .hero .hero-art .gg-hero-motion {
    display:none!important;
    animation:none!important;
  }
  html[data-tle-one-motion="golden-grid"] .hero .hero-art > img {
    display:block!important;
    animation:none!important;
    transition:none!important;
    transform:none!important;
    filter:none!important;
    scale:none!important;
  }
}
