/* Holiday touches. Each holiday changes a different part of the page, and only that part. */
.trim{display:none;height:44px;overflow:hidden;pointer-events:none}
.sx{pointer-events:none;user-select:none}

/* December: a string of lights across the top. lights.js draws it so each bulb can dim on its own. */
[data-season="lights"] .trim{display:block}
[data-season="lights"] .top{padding-top:.2rem}
.trim svg{display:none;height:44px;width:auto;position:relative;left:50%;transform:translateX(-50%)}
[data-season="lights"] .trim svg{display:block}
.trim .glass{transition:opacity .55s ease}
.trim .dim .glass{opacity:.26}

/* New Year: the new year written beside the logo with two gold sparks, and one short fall of confetti when the page opens. */
.sx-year{position:relative;margin-left:.15em;padding-right:.75em;font-weight:800;font-size:.92em;color:var(--edge);transform:rotate(-5deg)}
.sx-year::before,.sx-year::after{content:"";position:absolute;background:url(spark.svg) center/contain no-repeat}
.sx-year::before{right:0;top:-.5em;width:.7em;height:.7em}
.sx-year::after{right:.55em;top:-.85em;width:.4em;height:.4em;opacity:.8}
.sx-fall{position:fixed;inset:0;z-index:40;overflow:hidden}
.sx-fall i{position:absolute;top:-4vh;border-radius:1px;animation:sx-fall linear 1 both}
@keyframes sx-fall{from{transform:translateY(0) rotate(0)}85%{opacity:1}to{transform:translateY(96vh) rotate(600deg);opacity:0}}

/* Valentine's Day: the line under the business name ends in a heart. The logo's spark is a heart too. */
[data-season="valentine"] #home .name{position:relative}
.sx-heart{position:absolute;right:.4rem;bottom:0;width:44px;height:40px}

/* St. Patrick's Day: the orange goes green, the logo's spark is a shamrock, one gold clover on the button. */
[data-season="stpatrick"]{--edge:#1F6B4A;--wax:#2E7A5A;--tint:#DDEFE4}
[data-season="stpatrick"] .ways .btn{position:relative}
.sx-luck{position:absolute;top:-13px;right:-12px;width:28px;height:28px;transform:rotate(14deg)}

/* Easter and spring: tulips growing along the top edge of the dark band. */
[data-season="spring"] #home .band,[data-season="flags"] #home .band,[data-season="halloween"] #home .band{position:relative}
.sx-tulips{position:absolute;left:0;right:0;bottom:100%;height:44px;background:url(spring.svg) repeat-x center bottom}

/* Memorial Day and July 4, and Halloween: the dark band becomes the night sky. */
.sx-sky{position:absolute;inset:0;overflow:hidden}
.sx-sky~.wrap{position:relative;z-index:1}
.sx-sky i{position:absolute;background:center/contain no-repeat;opacity:0;animation:sx-pop 7s ease-out infinite}
@keyframes sx-pop{0%{opacity:0;transform:scale(.45)}14%{opacity:.9;transform:scale(1)}50%{opacity:.65;transform:scale(1.07)}78%,100%{opacity:0;transform:scale(1.12)}}
.sx-web{position:absolute;top:0;right:0;width:120px;height:120px}
.sx-spider{position:absolute;top:-22px;left:5%;width:30px;height:116px;animation:sx-bob 4.5s ease-in-out infinite alternate}
@keyframes sx-bob{from{transform:translateY(0)}to{transform:translateY(14px)}}
.sx-bat{position:absolute;width:32px;height:12px}

/* Thanksgiving: a small pumpkin and wheat sitting on top of the sample window in the hero. */
.sx-harvest{position:absolute;right:7%;bottom:calc(100% - 2px);width:136px;height:46px}

@media (max-width:900px){[data-season="thanksgiving"] .stage{margin-top:2rem}}
@media (max-width:600px){
  .trim{height:34px}
  [data-season="newyear"] .mark{position:relative}
  .sx-year{position:absolute;right:-.2em;top:calc(100% + .1em);margin:0;font-size:.8em}
  .trim svg{height:34px}
  .sx-web{width:84px;height:84px}
  .sx-harvest{width:106px;height:36px}
  .sx-tulips{height:34px;background-size:auto 34px}
}
@media (prefers-reduced-motion:reduce){
  .trim .glass{transition:none}
  .sx-sky i{animation:none;opacity:.6}
  .sx-spider{animation:none}
}

/* ---- The second set, added November 12. ---- */
:root{--phw:clamp(96px,13vw,180px);--phr:clamp(.6rem,2vw,1.6rem);--phb:clamp(4px,.5vw,7px)}
.sxw{position:relative;display:inline-block}
[data-season="spring"] .sx-eggs{position:absolute;left:11%;bottom:calc(100% - 3px);width:62px;height:30px}
[data-season="spring"] .sx-egg-hid{left:auto;right:calc(var(--phr) + var(--phw) - 8px);bottom:-9px;width:50px;height:24px}
[data-season="snow"] .btn,[data-season="lights"] .btn{position:relative}
.sx-snow{position:absolute;left:3px;right:3px;bottom:calc(100% - 9px);height:22px;background:url(snow.svg) repeat-x left top/auto 22px;filter:drop-shadow(0 2px 2px rgb(28 33 71/.16))}
.sx-mask{position:absolute;right:calc(var(--phr) - var(--phw)*.2);bottom:calc(-2.2rem + var(--phw)*1.18);width:calc(var(--phw)*1.4);height:auto;transform:rotate(-5deg);filter:drop-shadow(0 5px 6px rgb(28 33 71/.3))}
[data-season="aprilfools"] .sxw{transform:rotate(180deg)}
.sx-note{position:absolute;right:calc(var(--phr) + var(--phw)*.14);bottom:calc(-2.2rem + var(--phw)*.75);width:calc(var(--phw)*.72);height:auto;filter:drop-shadow(0 4px 5px rgb(28 33 71/.28))}
[data-season="earth"] .sxw{color:transparent}
.sx-globe{position:absolute;left:50%;bottom:.19em;width:.64em;height:.64em;margin-left:-.32em}
[data-season="cinco"] #home .band{position:relative}
.sx-picado{position:absolute;left:0;right:0;top:0;height:50px;background:url(picado.svg) repeat-x center top}
[data-season="cinco"] #home .band>.wrap{position:relative;z-index:1}
.sx-vase{position:absolute;left:8%;bottom:calc(100% - 3px);width:90px;height:118px}
[data-season="fathers"] .top .btn{position:relative}
.sx-collartie{position:absolute;left:50%;top:calc(100% - 16px);width:62px;height:94px;margin-left:-31px}
#home .sx-hardhat,#home .sx-globe{max-width:none}
.sx-hardhat{position:absolute;left:-.13em;top:-.12em;width:.74em;height:auto;transform:rotate(-13deg)}
.sx-vets{display:flex;align-items:center;justify-content:center;gap:1.4rem;margin:calc(clamp(3rem,8vw,7rem)*-.45) 1rem clamp(2rem,4vw,3rem)}
#home .sx-usflag{width:152px;height:80px;flex:none;box-shadow:0 0 0 1px rgb(255 255 255/.18),0 10px 24px -10px #000}
.sx-thanks{margin:0;font:700 clamp(1.3rem,2.6vw,2rem)/1.1 var(--head);letter-spacing:-.025em;color:#F3EEE3}
.sx-awning{position:absolute;left:-8px;right:-8px;bottom:calc(100% - 12px);height:38px;background:url(awning.svg) repeat-x left top;filter:drop-shadow(0 4px 4px rgb(28 33 71/.18))}
.sx-sign{position:absolute;right:7%;top:20px;width:70px;height:52px}
@media (max-width:900px){[data-season="smallbiz"] .stage{margin-top:2rem}[data-season="mothers"] .stage{margin-top:6.4rem}}
@media (max-width:600px){
  .sx-picado{height:34px;background-size:auto 34px}
  .sx-vase{width:72px;height:94px}
  #home .sx-usflag{width:99px;height:52px}
  .sx-vets{gap:.9rem}
  .sx-awning{height:28px;background-size:auto 28px;bottom:calc(100% - 9px)}
  .sx-sign{width:50px;height:37px;top:15px}
  .sx-collartie{width:36px;height:55px;margin-left:-18px;top:calc(100% - 10px)}
  [data-season="spring"] .sx-eggs{width:46px;height:22px}
}
