/* ---------- Holiday decor (Christmas 2026) ----------
   Everything here only shows while holiday.js adds the "holiday" class to <html>,
   which it does from Nov 25 through Jan 6. After that the site looks exactly as normal.
   To turn it off early, delete the two holiday lines in each page's <head>. */

/* String of lights hanging under the header */
.holiday .header-bar{position:relative}
.xmas-lights{position:absolute;left:0;right:0;bottom:-20px;height:26px;pointer-events:none;z-index:40;overflow:hidden}
.xmas-lights svg.wire{position:absolute;left:0;top:0;width:100%;height:14px}
.xmas-lights .bulb{position:absolute;top:6px;width:10px;height:15px;border-radius:50% 50% 45% 45% / 55% 55% 45% 45%;
  transform-origin:50% -4px;box-shadow:0 0 8px 2px currentColor;background:currentColor;opacity:.95}
.xmas-lights .bulb::before{content:"";position:absolute;left:2px;top:-4px;width:6px;height:5px;border-radius:2px;background:#3d4d41}
.xmas-lights .bulb.c1{color:#d9473a}
.xmas-lights .bulb.c2{color:#3fa66b}
.xmas-lights .bulb.c3{color:#f2c14e}
.xmas-lights .bulb.c4{color:#F4BDAB}
@keyframes xmas-twinkle{0%,100%{opacity:.95;box-shadow:0 0 9px 3px currentColor}50%{opacity:.45;box-shadow:0 0 2px 0 currentColor}}
.xmas-lights .bulb{animation:xmas-twinkle 2.6s ease-in-out infinite}

/* Gentle snowfall in the big hero sections */
.holiday .hero,.holiday .hero-dark{position:relative;overflow:hidden}
.xmas-snow{position:absolute;inset:0;pointer-events:none}
.xmas-snow i{position:absolute;top:-12px;display:block;border-radius:50%;background:#fff;opacity:.85;animation:xmas-fall linear infinite}
.hero .xmas-snow i{background:#c9d8cc}
@keyframes xmas-fall{0%{transform:translate3d(0,-12px,0)}100%{transform:translate3d(28px,110vh,0)}}

/* Holly sprig after the logo */
.holiday .brand-name::after{content:"";display:inline-block;width:30px;height:22px;margin-left:6px;vertical-align:-2px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 44'%3E%3Cpath d='M30 26 C22 10 8 14 4 6 C10 20 2 22 6 30 C14 26 20 32 30 26Z' fill='%231F4636' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M30 26 C38 10 52 14 56 6 C50 20 58 22 54 30 C46 26 40 32 30 26Z' fill='%233fa66b' stroke='%23ffffff' stroke-width='2'/%3E%3Ccircle cx='26' cy='30' r='5' fill='%23d9473a' stroke='%23ffffff' stroke-width='1.5'/%3E%3Ccircle cx='34' cy='31' r='5' fill='%23d9473a' stroke='%23ffffff' stroke-width='1.5'/%3E%3Ccircle cx='30' cy='36' r='5' fill='%23b8352a' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center/contain}

/* Candy-cane trim along the top announcement bar */
.holiday .announce{border-bottom:5px solid transparent;border-image:repeating-linear-gradient(45deg,#d9473a 0 10px,#ffffff 10px 20px) 5}

/* Holiday greeting in the footer */
.xmas-greeting{max-width:1200px;margin:28px auto 0;text-align:center;font-family:'Kaushan Script',cursive;font-size:26px;color:var(--peach)}
.xmas-greeting span{color:#f2c14e}

@media (prefers-reduced-motion: reduce){
  .xmas-lights .bulb,.xmas-snow i{animation:none}
  .xmas-snow{display:none}
}
@media (max-width:640px){
  .holiday .brand-name::after{width:24px;height:18px}
  .xmas-greeting{font-size:22px}
}
