/* A layered, living still life. Keep type outside the ingredient orbit. */
.hero{background:var(--bg);transition:background 1.2s ease;isolation:isolate}
.hero:before{background:var(--lower);opacity:.22;transition:background 1.2s ease;clip-path:ellipse(95% 76% at 70% 100%)}
.header{transition:background 1.2s ease}
.hero-art{overflow:visible;pointer-events:none;z-index:1}
.hero-art:before{inset:12% -12%;background:radial-gradient(ellipse,#fff7e96b,transparent 68%)}
.hero-scene{position:absolute;inset:0;will-change:transform,opacity}
.hero-art .hero-cone{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(14px 30px 20px #552b351c);animation:cream-float 9s ease-in-out infinite;z-index:2}
.hero-art .hero-orbit{position:absolute;inset:1% -23% auto;width:146%;height:91%;object-fit:contain;filter:drop-shadow(4px 10px 7px #45252c15);animation:orbit-drift 13s ease-in-out infinite;z-index:1}
@keyframes orbit-drift{0%,100%{transform:translateY(4px) rotate(-3deg)}50%{transform:translateY(-10px) rotate(3deg)}}
.hero-copy,.hero-side,.hero-detail,.hero-bottom{z-index:3}
.hero .motion-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #42272c55;border-radius:30px;font-size:13px;background:#fff8f040}
.hero .motion-toggle:before{content:'';width:7px;height:11px;border-left:2px solid;border-right:2px solid}
.hero .motion-toggle[aria-pressed=true]:before{width:0;height:0;border:6px solid transparent;border-left:9px solid currentColor;border-right:0}
.hero.paused .hero-art img,.hero.hero-offscreen .hero-art img,body.quiet-motion .hero-art img{animation-play-state:paused}
@media(min-width:721px){.hero-art{left:34%;width:47%;height:98%;top:-3%}.hero-side{left:81%;right:4%}.hero-detail{left:81%;right:4%}.hero-copy{left:6%;max-width:38%}.hero-copy h1{font-size:clamp(52px,5.5vw,84px)}.hero-copy .flavor-desc{max-width:245px}.hero-caption{left:47%}}
@media(max-width:720px){
 .hero{display:grid;padding:14px 7% 22px;grid-template-columns:1fr 1fr;grid-template-rows:auto 290px auto auto auto;gap:12px 0;overflow:hidden}
 .hero-copy h1{grid-column:1/-1;grid-row:1;font-size:clamp(42px,11.5vw,64px);line-height:1.03;z-index:3}
 .hero-art{grid-column:1/-1;grid-row:2;position:relative;left:auto;top:auto;width:100%;height:350px;margin:-25px 0 -35px;align-self:center}
 .hero-art .hero-cone{width:86%;left:9%}
 .hero-art .hero-orbit{width:132%;left:-16%;height:95%;top:0}
 .hero-copy .flavor-desc{grid-column:1/-1;grid-row:3;max-width:27em;padding:0;margin:0;font-size:16px;line-height:1.55}
 .hero-copy .line-link{grid-column:1/-1;grid-row:4;justify-self:start;margin:3px 0 8px;padding:13px 20px;font-size:15px;background:#fff7ed45;border-radius:3px}
 .hero-detail{display:none}
 .hero-bottom{grid-row:5;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-top:1px solid #42272c35;padding-top:17px;margin:0}
 .hero-bottom .step-controls{gap:4px;order:2}.hero-bottom .count{display:none}.hero-bottom .flavor-tabs{order:1;gap:6px}.hero-bottom .flavor-tabs button{width:41px;height:49px;border-radius:24px}
 .hero .motion-toggle{order:3;font-size:12px;padding:8px 10px}
 .hero:before{inset:25% -15% 0;clip-path:ellipse(80% 55% at 60% 80%)}
}
@media(prefers-reduced-motion:reduce){.hero,.header{transition:none}.hero-art img{animation:none!important}}
/* Give the small orbit more breathing room without shrinking the cone. */
.hero-art .hero-orbit{scale:.88}
@media(max-width:720px){.hero-bottom .step-controls .round{width:36px;height:40px}.hero .motion-toggle{padding:8px;min-width:64px}.hero-bottom{column-gap:5px}.hero-art .hero-orbit{scale:.86}}
.hero-all-flavors{position:absolute;left:6%;bottom:18%;z-index:4;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:5px;padding:10px 0}
@media(max-width:720px){.hero-all-flavors{position:static;grid-column:1/-1;grid-row:6;justify-self:start;font-size:14px;padding:10px 0 0}.hero{grid-template-rows:auto 290px auto auto auto auto}}
.hero[data-flavor=vanilje] .hero-copy h1{color:#55452c}
.hero[data-flavor=sjokolade] .hero-copy h1{color:#4d3027}
.hero[data-flavor=vanilje] .hero-orbit{scale:.7}
@media(max-width:720px){
 .hero-bottom{display:grid;grid-template-columns:1fr auto;row-gap:12px}
 .hero-bottom .flavor-tabs{grid-column:1/-1;grid-row:1;display:flex;justify-content:space-between;width:100%;gap:8px}
 .hero-bottom .flavor-tabs button{width:48px;height:54px;flex:none}
 .hero-bottom .step-controls{grid-column:1;grid-row:2;justify-self:start}
 .hero-bottom .motion-toggle{grid-column:2;grid-row:2;justify-self:end}
 .hero[data-flavor=sjokolade] .hero-copy h1{font-size:clamp(36px,10.3vw,60px)}
}
