/* Christmas decoration. Loaded only while saayo_xmas_on(). Visual only. */
.xmas-snow{position:fixed;inset:0;z-index:40;pointer-events:none;overflow:hidden;contain:strict}
.xmas-snow i{position:absolute;top:-12px;width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 4px rgba(120,150,170,.55);opacity:.85;animation:xfall linear infinite;will-change:transform}
.xmas-snow i:nth-child(1){left:4%;animation-duration:13s;animation-delay:-2s}
.xmas-snow i:nth-child(2){left:11%;animation-duration:17s;animation-delay:-9s;width:5px;height:5px}
.xmas-snow i:nth-child(3){left:18%;animation-duration:11s;animation-delay:-5s;width:9px;height:9px;opacity:.7}
.xmas-snow i:nth-child(4){left:25%;animation-duration:19s;animation-delay:-14s}
.xmas-snow i:nth-child(5){left:32%;animation-duration:14s;animation-delay:-1s;width:5px;height:5px}
.xmas-snow i:nth-child(6){left:39%;animation-duration:16s;animation-delay:-11s}
.xmas-snow i:nth-child(7){left:46%;animation-duration:12s;animation-delay:-7s;width:9px;height:9px;opacity:.7}
.xmas-snow i:nth-child(8){left:53%;animation-duration:18s;animation-delay:-3s}
.xmas-snow i:nth-child(9){left:60%;animation-duration:13s;animation-delay:-10s;width:5px;height:5px}
.xmas-snow i:nth-child(10){left:67%;animation-duration:20s;animation-delay:-16s}
.xmas-snow i:nth-child(11){left:74%;animation-duration:12s;animation-delay:-6s;width:9px;height:9px;opacity:.7}
.xmas-snow i:nth-child(12){left:81%;animation-duration:15s;animation-delay:-12s}
.xmas-snow i:nth-child(13){left:88%;animation-duration:17s;animation-delay:-4s;width:5px;height:5px}
.xmas-snow i:nth-child(14){left:94%;animation-duration:14s;animation-delay:-8s}
.xmas-snow i:nth-child(15){left:8%;animation-duration:21s;animation-delay:-18s;width:5px;height:5px}
.xmas-snow i:nth-child(16){left:70%;animation-duration:22s;animation-delay:-13s}
@keyframes xfall{0%{transform:translate3d(0,-2vh,0)}50%{transform:translate3d(22px,50vh,0)}100%{transform:translate3d(-10px,104vh,0)}}
@media (max-width:700px){.xmas-snow i:nth-child(n+9){display:none}}
@media (prefers-reduced-motion:reduce){.xmas-snow{display:none}}

/* Santa hat on the logo mark */
.xmas .wordmark{position:relative}
.xmas .wordmark:before{content:"";position:absolute;left:-7px;top:-13px;width:30px;height:24px;pointer-events:none;transform:rotate(-14deg);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'%3E%3Cpath d='M8 36C10 18 24 6 40 6c8 0 14 6 16 16l-6 2c-2-6-5-9-9-9-3 0-4 3-3 8l4 13z' fill='%23d62828'/%3E%3Crect x='3' y='33' width='44' height='11' rx='5.5' fill='%23fff' stroke='%23e3e8e5'/%3E%3Ccircle cx='53' cy='25' r='6' fill='%23fff' stroke='%23e3e8e5'/%3E%3C/svg%3E") center/contain no-repeat}

/* Home hero: snow drift with trees along the bottom edge (behind the commitments card) */
.xmas .hero-home:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:74px;pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 74'%3E%3Cg fill='%231d4a2c'%3E%3Cpath d='M30 8l13 20h-7l11 17h-9l12 18H10l12-18h-9l11-17h-7z'/%3E%3Cpath d='M112 26l9 14h-5l8 12h-6l8 12H98l8-12h-6l8-12h-5z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M30 8l5 8-5-2-5 2z'/%3E%3Cpath d='M112 26l4 6-4-1.500-4 1.500z'/%3E%3C/g%3E%3C/svg%3E") left 3% bottom 12px/150px 74px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 74'%3E%3Cg fill='%231d4a2c'%3E%3Cpath d='M40 26l9 14h-5l8 12h-6l8 12H26l8-12h-6l8-12h-5z'/%3E%3Cpath d='M118 8l13 20h-7l11 17h-9l12 18H98l12-18h-9l11-17h-7z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M118 8l5 8-5-2-5 2z'/%3E%3Cpath d='M40 26l4 6-4-1.500-4 1.500z'/%3E%3C/g%3E%3C/svg%3E") right 3% bottom 12px/150px 74px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c120-18 240-18 380-6s260 16 400 2 280-16 420 0v22z' fill='%23fff'/%3E%3C/svg%3E") center bottom/100% 30px no-repeat}
@media (max-width:700px){.xmas .hero-home:after{height:56px;background-size:104px 52px,104px 52px,100% 22px;background-position:left 2% bottom 8px,right 2% bottom 8px,center bottom}}

/* Footer: snow cap and greeting */
.xmas .site-footer{position:relative}
.xmas .site-footer:before{content:"";position:absolute;left:0;right:0;top:-1px;height:18px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0h240v6c-20 10-40 10-60 2s-40-6-60 2-40 10-60 0-40-8-60 0z' fill='%23fff'/%3E%3C/svg%3E") left top/240px 18px repeat-x}
.xmas-greet{grid-column:1/-1;margin:0 0 6px;color:#fff;font-weight:600;font-size:.98rem;text-align:center}
