/* casa-brownie | Hero art direction | 2026-11-07.
Preserves all original imagery, copy, forms, CTA and business functions. */

/* Preserve approved video, poster, mobile image-first hero and original CTA. */
.hero-copy .eyebrow{animation:tleHeroRise .43s ease-out .03s both}
.hero-copy h1{animation:tleHeroRise .67s ease-out .13s both;text-wrap:balance}
.hero-copy>p{animation:tleHeroRise .52s ease-out .28s both}
.hero-copy>.primary-button{animation:tleHeroRise .48s ease-out .38s both;min-height:48px}
.hero-copy .hero-qualities{animation:tleHeroRise .48s ease-out .47s both}


@keyframes tleHeroRise{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
@keyframes tleHeroReveal{from{opacity:.65;scale:1.045}to{opacity:1;scale:1}}
@keyframes tleHeroCard{from{opacity:0;translate:0 18px;rotate:-5deg}to{opacity:1;translate:0 0;rotate:-5deg}}
@media(prefers-reduced-motion:reduce){
.hero h1,.hero h2,.hero .ey,.hero .eyebrow,.hero .hero-kicker,.hero .kicker,
.hero .hero-intro,.hero .hero-lead,.hero .hero-description,.hero .lead,.hero .sub,
.hero .hero-cta,.hero .hero-action-start,.hero .hero-start-link,.hero .hero-art img,
.hero .hero-media img,.hero .hero-photo img,.hero .hero-inset,.hero .hero-visual>img,
.hero .hero-image,.hero .hero-editorial-cta,.hero .hero-copy>p,.hero .hero-content>p,
.hero .primary-button,.hero .btn,.hero .button,.hero .button-primary,.hero .hero-link,
.hero .hero-visual::after,.hero .hero-content::before,.hero .hero-media::after,
.hero .hero-qualities,.hero .hero-foot,.hero .hero-aside,.hero .hero-stamp,
.hero h1 span,.hero h1 em,.hero-editorial picture img{animation:none!important}
}


/* TLE mobile-first release 2026-11-07 | one brand, one source, no new photos or routes */
@media(max-width:767px){
 html{scroll-padding-top:76px;-webkit-text-size-adjust:100%}
 body{max-width:100%;overflow-x:clip}
 main,section,.hero,.hero-copy,.hero-content,.hero-art,.hero-media,.hero-visual,.section-heading{min-width:0}
 img,video,picture{max-width:100%}
 h1,h2,h3{text-wrap:balance;overflow-wrap:break-word}
 p,li{overflow-wrap:break-word}
 :is(input,select,textarea){font-size:16px!important;min-width:0;max-width:100%;box-sizing:border-box}
 :is(a,button,[role="button"]){touch-action:manipulation}
 :is(a,button,input,select,textarea,[role="button"]):focus-visible{outline:3px solid currentColor;outline-offset:3px}
 .hero :is(.button,.btn,.button-primary,.primary-button,.hero-link,.hero-start-link,.hero-editorial-cta){min-height:46px;display:inline-flex;align-items:center;justify-content:center;max-width:100%;text-align:center}
 .hero :is(.lead,.hero-lead,.hero-description,.hero-body,.hero-summary){font-size:clamp(15px,3.9vw,17px);line-height:1.58}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero :is(a,button){transition:none!important}}

@media(max-width:767px){.hero-copy h1{font-size:clamp(40px,10.3vw,58px);line-height:1.1}.hero-copy>p{font-size:16px;line-height:1.62}.hero-copy>.primary-button{min-height:48px}.section h2,.section-heading h2{line-height:1.13}.flavor-grid,.delivery-steps{min-width:0}.hero-qualities{flex-wrap:wrap}}


/* Desktop editorial hero / 2026-11-07: enlarge the existing photo/video.
   Desktop only; leave the live motion, reveal, CTA and phone layout untouched. */
@media (min-width:1100px){
  body[data-tle-demo="casa-brownie"] .hero{grid-template-columns:minmax(0,42fr) minmax(0,58fr);min-height:clamp(630px,50vw,770px)}
  body[data-tle-demo="casa-brownie"] .hero>.hero-copy{min-width:0;padding:clamp(58px,5.8vw,94px) 7% clamp(36px,4vw,65px) clamp(44px,6vw,104px);justify-content:center}
  body[data-tle-demo="casa-brownie"] .hero .hero-copy h1{font-size:clamp(56px,5.1vw,89px);line-height:.98;white-space:normal;max-width:10ch}
  body[data-tle-demo="casa-brownie"] .hero .hero-copy h1 .love{font-size:clamp(62px,5.8vw,99px);line-height:.92}
  body[data-tle-demo="casa-brownie"] .hero .hero-copy>p{font-size:clamp(15px,1.2vw,18px);max-width:39ch;line-height:1.65}
  body[data-tle-demo="casa-brownie"] .hero>.hero-photo{grid-column:2;grid-row:1;min-width:0;min-height:100%}
  body[data-tle-demo="casa-brownie"] .hero .hero-qualities{margin-top:clamp(24px,4.3vw,60px);gap:3px}
  body[data-tle-demo="casa-brownie"] .hero .hero-qualities small{font-size:clamp(7px,.65vw,10px)}
}
