/* Megabite holiday home page, 2026-11-30 (designer file megabite-holiday-homepage.html).
   Only what the designer changed in or added to the home styles, as one layer after site.css; the home rules there
   are scoped to body.pg-home, so these are too. Loaded on the home page only (home route in index_v2.php). */
/* the headline is longer ("Ho Ho Hungry?"): a little smaller, as in the design */
body.pg-home .hero h1{font-size:clamp(34px,min(14.6cqi,13vh),136px);white-space:nowrap}
@media (max-width:900px){body.pg-home .hero h1{font-size:clamp(30px,14.6cqi,72px)}}
/* framing of the new hero clip */
body.pg-home .hvid video{object-position:50% 36%}
@media (min-width:901px){body.pg-home .hvid video{object-position:50% 30%}}
/* green holiday sticker */
.sticker.pine{--fill:#1b6a3d;color:var(--ivory-100)}
/* snow panels: big hand-drawn flakes drawn by holiday-snow.js, where the squiggles were */
body.pg-home .snowp{position:relative;isolation:isolate;overflow:hidden}
body.pg-home .hero .panel.snowp{background:var(--red-500)}
body.pg-home .snowbg{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
body.pg-home .snowbg path{fill:none;stroke:var(--sq-c,#d6151c);stroke-linecap:round;stroke-linejoin:round}
body.pg-home .snowbg .sf{transform-box:fill-box;transform-origin:50% 50%;animation:sfspin var(--sd,110s) linear infinite}
body.pg-home .snowbg .sf.rev{animation-direction:reverse}
@keyframes sfspin{to{transform:rotate(360deg)}}
body.pg-home .snowbg .fall{animation:sffall var(--fd,20s) linear infinite;animation-delay:var(--fdl,0s)}
@keyframes sffall{from{transform:translateY(0)}to{transform:translateY(var(--fy))}}
@media (prefers-reduced-motion:reduce){body.pg-home .snowbg .sf{animation:none}body.pg-home .snowbg .fall{animation:none;transform:translateY(var(--fs))}}
/* locations box */
body.pg-home .loc h2{text-wrap:balance}
body.pg-home .mapcol{position:relative}
body.pg-home .mapcol .lst{position:absolute;z-index:1000;pointer-events:none}
body.pg-home .mapcol .lst.a{right:-30px;top:-32px}
body.pg-home .mapcol .lst.b{left:-30px;bottom:-30px}
@media (max-width:640px){body.pg-home .mapcol .lst.a{right:-8px;top:-28px}body.pg-home .mapcol .lst.b{left:-8px;bottom:-24px}body.pg-home .mapcol .lst img{width:64px!important}}
/* favourites: the 4th card's drawing stays inside the page on narrower screens */
@media (max-width:1100px){body.pg-home .fav:nth-child(4) .fst{right:-10px!important}}
/* (site) the music player stays under the cart, the product window, the store picker and the menu (their layers start at 70) */
body #hmusic{z-index:60}
/* (site) room at the foot of the page, so the floating music player does not sit on the small print */
body.pg-home .foot{padding-bottom:64px}
/* (site, owner 11-30: no stutter) the falling flakes rest while their box is off screen (class set at the end of holiday-snow.js) */
body.pg-home .snowp.hol-rest .snowbg *{animation-play-state:paused}
/* (site) browsers without graphics acceleration (html.hol-lite): the flakes stay still, as in the design's reduced-motion rule */
html.hol-lite body.pg-home .snowbg .sf{animation:none}
html.hol-lite body.pg-home .snowbg .fall{animation:none;transform:translateY(var(--fs))}
/* (site) and the two snowflakes on the map do not bob there: anything moving over the map makes the whole map redraw */
html.hol-lite body.pg-home .mapcol .lst .spop>*{animation:none}
