
.banner-wrapper.festive-hero {position:relative;isolation:isolate}
.festive-overlay {position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.festive-snow {position:absolute;inset:-126px -16px 0;opacity:.72;
  background-image:radial-gradient(circle at 20px 21px,#fff 1px,transparent 1.9px),radial-gradient(circle at 125px 82px,#fff9 1.5px,transparent 2.3px),radial-gradient(circle at 82px 97px,#fff8 .9px,transparent 1.6px);
  background-size:183px 126px;animation:festive-fall 8s linear infinite}
.festive-snow::after {content:"";position:absolute;inset:0;opacity:.44;
  background-image:radial-gradient(circle at 35px 82px,#fff 1.3px,transparent 2px),radial-gradient(circle at 122px 39px,#fff 1px,transparent 1.8px);
  background-size:151px 126px}
/* Both snow patterns repeat every 126px vertically, matching one animation cycle. */
@keyframes festive-fall {to{transform:translateY(126px)}}
.festive-lights {position:absolute;top:0;right:clamp(16px,5vw,72px);width:min(280px,60%);height:32px;display:flex;justify-content:space-around;align-items:start}
.festive-lights::before {content:"";position:absolute;inset:-14px 0 auto;height:30px;border-bottom:1px solid #a4a1bc;border-radius:50%;opacity:.8}
.festive-lights i {position:relative;top:var(--drop);width:7px;height:10px;border-radius:45% 45% 50% 50%;background:var(--bulb);color:var(--bulb);box-shadow:0 0 8px currentColor;animation:festive-twinkle 3.6s ease-in-out infinite alternate;animation-delay:var(--delay)}
.festive-lights i::before {content:"";position:absolute;top:-3px;left:1px;width:5px;height:4px;background:#c5bfd0;border-radius:1px}
@keyframes festive-twinkle {from{opacity:.48}to{opacity:1}}
.festive-toggle {position:absolute;right:12px;bottom:10px;display:flex;align-items:center;gap:6px;background:#251e47eb;color:white;border-radius:6px;padding:5px 8px;font-size:12px;z-index:2}
.festive-toggle input {margin:0;accent-color:#ff791e}
.festive-hero:has(.festive-toggle input:checked) :is(.festive-snow,.festive-lights i) {animation-play-state:paused}
@media(max-width:760px){.festive-lights{right:12px}.festive-snow{opacity:.49}}
@media(prefers-reduced-motion:reduce){.festive-snow,.festive-lights i{animation:none}.festive-toggle{display:none}}

.festive-hero .festive-lights {
  left:0;right:0;width:100%;padding-inline:12px;z-index:2;
  background:linear-gradient(#1f194673,transparent 68%);
}
.festive-hero .festive-lights::before {inset:4px 0 auto;height:1px;border-radius:0}
.festive-hero .festive-lights i {width:9px;height:13px;box-shadow:0 0 11px currentColor}
.festive-hero .festive-lights i::before {left:2px}
.festive-hero .festive-overlay {z-index:1}
.festive-hero .festive-snow {
  opacity:.78;
  background-image:radial-gradient(circle at 16px 17px,#fff 1.5px,transparent 2.35px),radial-gradient(circle at 83px 78px,#fff 1.9px,transparent 2.8px),radial-gradient(circle at 56px 96px,#fff9 1.4px,transparent 2.3px),radial-gradient(circle at 100px 32px,#fff 1.2px,transparent 2px);
  background-size:141px 126px;
}
.festive-hero .festive-snow::after {opacity:.49;background-size:98px 126px}
.festive-art {position:absolute;z-index:1;height:auto;pointer-events:none}



.festive-toggle {z-index:3}
@media(max-width:991px){



  .festive-toggle {right:calc(50% - 66px);bottom:8px}
}
@media(max-width:550px){
 .festive-lights i:nth-child(even){display:none}


}

.festive-hero .festive-lights {gap:0;padding-inline:0;height:62px}
.festive-hero .festive-lights::before {content:none}
.festive-light-arc {position:relative;display:flex;justify-content:space-around;flex:1;min-width:0}
.festive-light-arc::before {content:"";position:absolute;inset:0 0 auto;height:var(--sag);border-bottom:1px solid #aca0bf;border-radius:0 0 50% 50% / 0 0 100% 100%}
.festive-hill-frame {position:absolute;inset:0;overflow:hidden;pointer-events:none;container-type:size;z-index:1}
.festive-hill-map {position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:max(100cqw,218.103cqh);aspect-ratio:2000/917}
.festive-hill-map .festive-art {right:auto;bottom:auto;max-width:none;transform:translate(-50%,-99%)}





@media(max-width:991px){

  .festive-hill-frame {display:none}



}
@media(max-width:550px) {
 .festive-light-arc {--sag:20px!important}
 .festive-hero .festive-light-arc i {top:calc(var(--drop)*.57);width:7px;height:9px}
}


.festive-figure {position:absolute;transform:translate(-50%,-100%)}
.festive-figure img {position:relative;display:block;width:100%;height:auto;mask-image:linear-gradient(#000 95%,transparent)}
.festive-figure::before {content:"";position:absolute;bottom:-2%;left:19%;width:72%;height:8%;border-radius:50%;background:#413a6a33;filter:blur(3px)}
.festive-figure.tall {left:17%;top:85%;width:13.6%}
.festive-figure.trees {left:min(87%,calc(44.5% + 50cqw - 2px));top:64.7%;width:11%}
@media(max-width:991px){
  .festive-figure.tall {left:18%;top:86%;width:27%}
  .festive-figure.trees {left:87%;top:64.7%;width:24%}
}

.festive-hero .festive-lights i {animation:festive-sequence 5.6s ease-in-out infinite;animation-delay:var(--delay)}
@keyframes festive-sequence {
  0%,64%,100% {opacity:.32;transform:scale(.88)}
  20%,39% {opacity:1;transform:scale(1.17)}
}
.festive-hero:has(.festive-toggle input:checked) .festive-lights i {animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.festive-hero .festive-lights i{animation:none}}

.festive-figure.hill-firs {left:30%;top:85.5%;width:7.4%}
.festive-figure.hill-firs img {transform:scaleX(-1)}
@media(max-width:991px){.festive-figure.hill-firs {left:43%;top:81%;width:16%}}

.festive-figure.cabin {left:44%;top:80%;width:10.2%}
.festive-figure.cabin img {mask-image:linear-gradient(#000 93%,transparent)}
@media(max-width:991px){.festive-figure.cabin {left:63%;top:70%;width:21%}}

/* Decorations cannot receive pointer input. Keep the actual hero content above them. */
.banner-wrapper.festive-hero > .container {position:relative;z-index:2}
.festive-hero .festive-toggle {font-weight:400;cursor:pointer}
.festive-hero .festive-toggle input:focus-visible {outline:2px solid white;outline-offset:2px}
@media (prefers-reduced-motion: reduce) {
  .festive-hero .festive-snow,.festive-hero .festive-lights i {animation:none}
  .festive-hero .festive-toggle {display:none}
}
