/* TLE scroll art direction | 2026-11-08
   Inspired by BrewedOps: Scroll triggered reveal, Reveal mask, Staggered entrance.
   Every brand keeps original hero, static banners, images, layout and checkout.
   Scroll effects replay on each viewport re-entry in either direction; no pinning or scroll hijacking. */
html[data-tle-one-motion] {
  --tle-scroll-duration:1400ms;
  --tle-scroll-ease:cubic-bezier(.22,.66,.25,1);
  --tle-scroll-rise:translate3d(0,15px,0);
  --tle-scroll-image:translate3d(0,13px,0) scale(.99);
  --tle-scroll-mask:inset(7% 0 0 0);
  --tle-scroll-blur:0px;
}
html[data-tle-one-motion="sova"] {--tle-scroll-duration:1250ms;--tle-scroll-rise:translate3d(-19px,0,0);--tle-scroll-image:translate3d(17px,0,0);--tle-scroll-mask:inset(0 9% 0 0)}
html[data-tle-one-motion="golden-grid"] {--tle-scroll-duration:1400ms;--tle-scroll-rise:translate3d(0,24px,0);--tle-scroll-image:translate3d(0,17px,0);--tle-scroll-mask:inset(14% 0 0 0)}
html[data-tle-one-motion="casa-brownie"] {--tle-scroll-duration:1500ms;--tle-scroll-rise:translate3d(0,13px,0);--tle-scroll-image:translate3d(0,10px,0) scale(.985);--tle-scroll-mask:inset(5% 0 0 0 round 10px)}
html[data-tle-one-motion="crumb"] {--tle-scroll-duration:1380ms;--tle-scroll-rise:translate3d(18px,0,0);--tle-scroll-image:translate3d(-14px,0,0);--tle-scroll-mask:inset(0 0 0 13%)}
html[data-tle-one-motion="havana-19"] {--tle-scroll-duration:1650ms;--tle-scroll-rise:translate3d(0,23px,0);--tle-scroll-image:translate3d(0,14px,0);--tle-scroll-mask:inset(12% 0 0 0)}
html[data-tle-one-motion="ivory-and-bloom"] {--tle-scroll-duration:1650ms;--tle-scroll-rise:translate3d(0,16px,0);--tle-scroll-image:translate3d(0,0,0) scale(1.024);--tle-scroll-mask:inset(13% 0 0 0)}
html[data-tle-one-motion="la-vie-in-pink"] {--tle-scroll-duration:1660ms;--tle-scroll-rise:translate3d(0,17px,0);--tle-scroll-image:translate3d(0,11px,0);--tle-scroll-mask:inset(0 11% 0 0)}
html[data-tle-one-motion="marea-wigs-miami"] {--tle-scroll-duration:1350ms;--tle-scroll-rise:translate3d(-23px,0,0);--tle-scroll-image:translate3d(19px,0,0);--tle-scroll-mask:inset(0 15% 0 0)}
html[data-tle-one-motion="aftr"] {--tle-scroll-duration:1300ms;--tle-scroll-rise:translate3d(0,24px,0);--tle-scroll-image:translate3d(0,17px,0) scale(.98);--tle-scroll-mask:inset(12% 0 0 0)}
html[data-tle-one-motion="lavender-edit"] {--tle-scroll-duration:1750ms;--tle-scroll-rise:translate3d(0,10px,0);--tle-scroll-image:translate3d(0,7px,0);--tle-scroll-mask:inset(5% 0 0 0);--tle-scroll-blur:3px}
html[data-tle-one-motion="experience-cleaning"] {--tle-scroll-duration:1400ms;--tle-scroll-rise:translate3d(0,13px,0);--tle-scroll-image:translate3d(0,10px,0);--tle-scroll-mask:inset(7% 0 0 0)}
html[data-tle-one-motion="seasonal-brew"] {--tle-scroll-duration:1580ms;--tle-scroll-rise:translate3d(0,13px,0);--tle-scroll-image:translate3d(0,13px,0);--tle-scroll-mask:inset(0 7% 0 0)}
html[data-tle-one-motion="soluna-yoga"] {--tle-scroll-duration:1800ms;--tle-scroll-rise:translate3d(0,9px,0);--tle-scroll-image:translate3d(0,7px,0);--tle-scroll-mask:inset(5% 0 0 0)}
html[data-tle-one-motion="wok-social"] {--tle-scroll-duration:1250ms;--tle-scroll-rise:translate3d(21px,0,0);--tle-scroll-image:translate3d(-18px,0,0);--tle-scroll-mask:inset(0 0 0 12%)}
html[data-tle-one-motion="yummm"] {--tle-scroll-duration:1500ms;--tle-scroll-rise:translate3d(0,18px,0);--tle-scroll-image:translate3d(0,11px,0) scale(1.018);--tle-scroll-mask:inset(8% 0 0 0)}
/* New brand profiles reuse existing effects without modifying their approved heroes. */
html[data-tle-one-motion="freska"] {--tle-scroll-duration:1050ms;--tle-scroll-rise:translate3d(0,18px,0);--tle-scroll-image:translate3d(-16px,0,0) scale(.99);--tle-scroll-mask:inset(0 10% 0 0)}
html[data-tle-one-motion="sneekiefs"] {--tle-scroll-duration:1200ms;--tle-scroll-rise:translate3d(19px,0,0);--tle-scroll-image:translate3d(17px,0,0);--tle-scroll-mask:inset(0 0 0 9%)}
html[data-tle-one-motion="jaramillo-boutique"] {--tle-scroll-duration:1450ms;--tle-scroll-rise:translate3d(-20px,0,0);--tle-scroll-image:translate3d(0,14px,0);--tle-scroll-mask:inset(0 12% 0 0)}
/* JS opts each editorial element in, and replays after it leaves/re-enters. No pre-JS hiding. */
html[data-tle-one-motion] .tle-scroll-pending{
  transition:
    opacity var(--tle-scroll-duration) var(--tle-scroll-ease) var(--tle-scroll-delay,0ms),
    transform var(--tle-scroll-duration) var(--tle-scroll-ease) var(--tle-scroll-delay,0ms),
    clip-path var(--tle-scroll-duration) var(--tle-scroll-ease) var(--tle-scroll-delay,0ms),
    filter var(--tle-scroll-duration) var(--tle-scroll-ease) var(--tle-scroll-delay,0ms) !important;
  /* Avoid permanent GPU layer promotion during repeated mobile scrolling. */
}
html[data-tle-one-motion] .tle-scroll-pending:not(.tle-scroll-visible){transition-delay:0ms!important}
html[data-tle-one-motion] .tle-scroll-pending:not(.tle-scroll-visible)[data-tle-scroll-part="headline"]{
  opacity:0;transform:var(--tle-scroll-rise);filter:blur(var(--tle-scroll-blur));
}
html[data-tle-one-motion] .tle-scroll-pending:not(.tle-scroll-visible)[data-tle-scroll-part="photo"]{
  opacity:.4;transform:var(--tle-scroll-image);clip-path:var(--tle-scroll-mask);
}
html[data-tle-one-motion] .tle-scroll-pending.tle-scroll-visible[data-tle-scroll-part="photo"]{clip-path:inset(0 0 0 0)}
/* Keep interactive focus and accessibility: never reveal forms, cart, buttons or menus. */
@media(prefers-reduced-motion:reduce){
 html[data-tle-one-motion] .tle-scroll-pending,
 html[data-tle-one-motion] .tle-scroll-pending:not(.tle-scroll-visible){
   opacity:1!important;transform:none!important;clip-path:none!important;filter:none!important;transition:none!important;
 }
}


/* Interactive editorial hero — cursor-controlled depth and scroll-responsive media.
   Uses independent CSS translate/scale/rotate properties so approved animations,
   subject photography, React slideshows and all CTA handlers remain unchanged. */
@media (prefers-reduced-motion: no-preference) {
  html[data-tle-one-motion] [data-tle-reactive-photo] {
    translate:var(--tle-rh-px, 0px) var(--tle-rh-py, 0px);
    scale:1.035;
    rotate:var(--tle-rh-rotation, 0deg);
    transition:translate .3s cubic-bezier(.2,.7,.18,1),rotate .42s ease-out,scale .3s ease-out;
    will-change:translate;
    transform-origin:center center;
  }
  html[data-tle-one-motion] [data-tle-reactive-copy] {
    translate:var(--tle-rh-copy-x, 0px) var(--tle-rh-copy-y, 0px);
    transition:translate .42s cubic-bezier(.25,.72,.2,1);
  }
  /* Keep the media framed rather than exposing overhanging corners on phones. */
  html[data-tle-one-motion="golden-grid"] .hero-art,
  html[data-tle-one-motion="seasonal-brew"] .hero-media,
  html[data-tle-one-motion="lavender-edit"] .hero-art,
  html[data-tle-one-motion="wok-social"] .hero-photo-frame,
  html[data-tle-one-motion="marea-wigs-miami"] .hero-visual,
  html[data-tle-one-motion="ivory-and-bloom"] .hero-photo,
  html[data-tle-one-motion="la-vie-in-pink"] .hero-visual,
  html[data-tle-one-motion="jaramillo-boutique"] .hero-scene {
    overflow:clip;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-tle-one-motion] [data-tle-reactive-photo],
  html[data-tle-one-motion] [data-tle-reactive-copy] {
    translate:none!important;
    rotate:none!important;
    scale:none!important;
    transition:none!important;
    will-change:auto!important;
  }
}
