/* Seasonal layer. One class on <html> (season-fall, season-holidays, season-winter, season-spring, season-summer)
   picks the palette and the weather. Everything here is decorative and switches off for reduced motion. */
:root{--season-accent:#d9772b;--season-glow:#ffd68a}
.season-fall{--season-accent:#d9772b}
.season-holidays{--season-accent:#e0a33a}
.season-winter{--season-accent:#9fc3d6}
.season-spring{--season-accent:#e3a6b4}
.season-summer{--season-accent:#e8c45a}

/* ---------- storefront life: swaying bushes, flickering lamps (desktop image only) ---------- */
.scene-fx{position:absolute;top:0;left:0;width:100%;aspect-ratio:1536/672;pointer-events:none;z-index:1;display:none}
@media (min-width:701px){.scene-fx{display:block}}
.fx{position:absolute;inset:0;background:url(assets/storefront-sign.webp) 0 0/100% 100% no-repeat;will-change:transform,filter}
.fx-bush1{clip-path:ellipse(4.9% 19% at 7.9% 66%);transform-origin:7.9% 86%;animation:sway 5.8s ease-in-out infinite alternate}
.fx-bush2{clip-path:ellipse(5.2% 9.6% at 17.2% 77%);transform-origin:17.2% 87%;animation:sway 7.2s ease-in-out -2s infinite alternate}
.fx-bush3{clip-path:ellipse(3.1% 10.5% at 70.8% 73%);transform-origin:70.8% 83%;animation:sway 6.4s ease-in-out -4s infinite alternate}
@keyframes sway{from{transform:rotate(-.7deg)}to{transform:rotate(.7deg)}}
.fx-lamp{animation:flicker 7s steps(1,end) infinite}
.fx-lamp3{clip-path:circle(2.2% at 46.8% 42.5%);animation-delay:-1.4s;animation-duration:11s}
.fx-lamp4{clip-path:circle(1.6% at 89.8% 58.5%);animation-delay:-5s;animation-duration:8s}
.fx-lamp5{clip-path:circle(1.6% at 97% 58.8%);animation-delay:-2.2s;animation-duration:10s}
@keyframes flicker{0%,100%{filter:brightness(1.18)}12%{filter:brightness(.92)}14%{filter:brightness(1.25)}47%{filter:brightness(1.1)}49%{filter:brightness(.85)}51%{filter:brightness(1.22)}80%{filter:brightness(1.15)}}

/* ---------- weather ---------- */
.weather{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.wx{position:absolute;top:-6%;display:block;animation:fall linear infinite}
@keyframes fall{0%{transform:translate3d(0,-10vh,0) rotate(0)}100%{transform:translate3d(var(--drift,40px),110cqw,0) rotate(var(--spin,360deg))}}
.wx-leaf{width:var(--s,18px);height:var(--s,18px);background:var(--c,#c8642b);clip-path:polygon(50% 0,63% 20%,100% 28%,80% 50%,92% 88%,56% 74%,50% 100%,44% 74%,8% 88%,20% 50%,0 28%,37% 20%);opacity:.9}
.wx-snow{width:var(--s,6px);height:var(--s,6px);border-radius:50%;background:#f4efe6;opacity:.75}
.wx-petal{width:var(--s,10px);height:calc(var(--s,10px)*.7);border-radius:60% 40% 60% 40%;background:#f0bccb;opacity:.85}
.wx-fly{width:5px;height:5px;border-radius:50%;background:#ffe9a3;animation:float 6s ease-in-out infinite alternate,blink 2.6s ease-in-out infinite}
@keyframes float{from{transform:translate(0,0)}to{transform:translate(var(--drift,30px),-40px)}}
@keyframes blink{0%,100%{opacity:.1}50%{opacity:1}}

/* holiday string lights across the top of the storefront */
.stringlights{position:absolute;left:0;right:0;top:0;height:5cqw;display:none;pointer-events:none;z-index:2}
.season-holidays .stringlights{display:block}
.stringlights svg{width:100%;height:100%;display:block}
.stringlights path{fill:none;stroke:#2a1a10;stroke-width:2}
.stringlights circle{animation:twinkle 3s ease-in-out infinite}
@keyframes twinkle{0%,100%{opacity:1}50%{opacity:.45}}

/* ---------- slimmer marquee with chasing bulbs ---------- */
.marquee{width:min(560px,100%);aspect-ratio:auto;background:none;margin:0 auto 28px;position:relative;display:block}
.marquee-svg{display:block;width:100%;height:auto}
.marquee-board{position:absolute;inset:0;display:grid;place-items:center;padding:0 12%}
.marquee h2{font-size:clamp(1.35rem,3.6vw,2.2rem)!important;color:var(--amber-soft);margin:0;letter-spacing:.04em}
.marquee .bulb{fill:#ffe1a1;animation:chase 2.4s linear infinite}
.marquee .frame-o{fill:#5a3620}.marquee .frame-i{fill:#3b2415}.marquee .board{fill:#140c08}
.marquee .slat{stroke:#1f140e;stroke-width:1.5}
@keyframes chase{0%,100%{opacity:1}40%{opacity:.35}60%{opacity:.35}}
.season-fall .marquee .frame-o{fill:#6b3a1e}
.season-holidays .marquee .bulb:nth-of-type(3n){fill:#e8574a}.season-holidays .marquee .bulb:nth-of-type(3n+1){fill:#7fbf8a}

/* a small seasonal note under the marquee */
.season-note{display:block;text-align:center;font:600 .95rem var(--body);color:var(--season-accent);margin:-14px 0 22px;letter-spacing:.02em}

@media (prefers-reduced-motion:reduce){.weather,.stringlights circle,.fx{animation:none!important}.weather{display:none}}

/* ---------- the hanging sign: swings a touch in the breeze, and the lamp light slides across the branded wood ---------- */
.fx-sign{clip-path:polygon(9.7% 10.1%,16% 10.1%,19.5% 5.6%,23.3% 4.7%,27.1% 5.6%,30.5% 10.1%,36.9% 10.1%,36.9% 42.7%,33.6% 42.7%,33.6% 56.8%,12.8% 56.8%,12.8% 42.7%,9.7% 42.7%);transform-origin:23.3% 4%;animation:swing 5.5s ease-in-out infinite alternate,signlight 5.5s ease-in-out infinite alternate}
.fx-sheen{position:absolute;inset:0;clip-path:polygon(11.2% 13.4%,35.4% 13.4%,35.4% 39.6%,11.2% 39.6%);transform-origin:23.3% 4%;mix-blend-mode:screen;opacity:.85;
  background:radial-gradient(ellipse 7% 12% at 17% 15%,rgba(255,214,150,.55),rgba(255,214,150,0) 70%) no-repeat;background-size:100% 100%; /* taste-skill-ignore: a soft lamp reflection needs a falloff */
  animation:swing 5.5s ease-in-out infinite alternate,sheen 5.5s ease-in-out infinite alternate}
@keyframes swing{from{transform:rotate(-.45deg)}to{transform:rotate(.45deg)}}
@keyframes signlight{from{filter:brightness(1.04)}50%{filter:brightness(.97)}to{filter:brightness(1.08)}}
@keyframes sheen{from{background-position:-3cqw 0}to{background-position:9cqw 0}}
/* phone picture has its own sign position */
.scene-fx-m{position:absolute;top:0;left:0;width:100%;aspect-ratio:800/1421;pointer-events:none;z-index:1;display:block}
@media (min-width:701px){.scene-fx-m{display:none}}
.fxm{position:absolute;inset:0;background:url(assets/storefront-mobile-sign.webp) 0 0/100% 100% no-repeat;will-change:transform,filter}
.fxm-sign{clip-path:polygon(14.5% 7.8%,30.6% 7.8%,39% 5%,49.1% 4.3%,59.2% 5%,67.5% 7.8%,83.8% 7.8%,83.8% 28.3%,75.3% 28.3%,75.3% 37.2%,22.4% 37.2%,22.4% 28.3%,14.5% 28.3%);transform-origin:49.1% 3.9%;animation:swing 5.5s ease-in-out infinite alternate,signlight 5.5s ease-in-out infinite alternate}
.fxm-sheen{position:absolute;inset:0;clip-path:polygon(18% 10.3%,80.5% 10.3%,80.5% 26.5%,18% 26.5%);transform-origin:49.1% 3.9%;mix-blend-mode:screen;opacity:.85;
  background:radial-gradient(ellipse 16% 5% at 32% 10.5%,rgba(255,214,150,.55),rgba(255,214,150,0) 70%) no-repeat;background-size:100% 100%; /* taste-skill-ignore */
  animation:swing 5.5s ease-in-out infinite alternate,sheen 5.5s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){.scene-fx-m{display:none}}

/* ---------- time of day, from the visitor's own clock ---------- */
.tod-day .scene picture img,.tod-day .scene-fx,.tod-day .scene-fx-m{filter:brightness(1.38) contrast(.86) saturate(.82) hue-rotate(-6deg)}
.tod-day .scene::before{content:"";position:absolute;inset:0;z-index:3;background:#9fc3e6;mix-blend-mode:soft-light;opacity:.55;pointer-events:none}
.tod-dusk .scene picture img,.tod-dusk .scene-fx,.tod-dusk .scene-fx-m{filter:brightness(1.14) saturate(1.08)}
.tod-dusk .scene::before{content:"";position:absolute;inset:0;z-index:3;background:#e2875a;mix-blend-mode:soft-light;opacity:.45;pointer-events:none}
.tod-dawn .scene picture img,.tod-dawn .scene-fx,.tod-dawn .scene-fx-m{filter:brightness(1.2) saturate(.9)}
.tod-dawn .scene::before{content:"";position:absolute;inset:0;z-index:3;background:#d9a7c0;mix-blend-mode:soft-light;opacity:.4;pointer-events:none}
.scene picture img{transition:filter 1.2s linear}

/* wind-blown leaves */
.weather{perspective:600px}
.leaf{position:absolute;left:0;top:0;background:url(assets/leaves.webp) 0 0 no-repeat;will-change:transform;filter:brightness(.9) saturate(.95)}
.tod-day .leaf{filter:brightness(1.05)}
.tod-dusk .leaf,.tod-dawn .leaf{filter:brightness(.95)}
