.site-header .site-brand.winter-brand {
  position: relative;
}
.winter-brand::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -13px;
  left: -9px;
  width: 41px;
  height: 25px;
  background: url("/site-assets/winter-hat.svg") center / contain no-repeat;
  pointer-events: none;
}
.winter-snow {
  position: absolute;
  inset: -9px -9px;
  overflow: hidden;
  pointer-events: none;
}
.winter-snow i {
  position: absolute;
  width: 10px;
  height: 10px;
  background: url("/site-assets/winter-snowflake.svg") center / contain no-repeat;
  animation: winter-brand-fall 6s linear infinite;
}
.winter-snow i:nth-child(1) { left: 5%; top: 8px; animation-delay: -2s; }
.winter-snow i:nth-child(2) { left: 34%; top: 3px; animation-delay: -4s; }
.winter-snow i:nth-child(3) { left: 53%; top: 7px; animation-delay: -3.2s; }
.winter-snow i:nth-child(4) { left: 72%; top: 8px; animation-delay: -1s; }
.winter-snow i:nth-child(5) { left: 91%; top: 2px; animation-delay: -5s; }
@keyframes winter-brand-fall {
  0% { transform: translate(-3px, -24px) rotate(-20deg); opacity: 0; }
  15%, 80% { opacity: .65; }
  50% { transform: translate(3px, 3px) rotate(20deg); }
  100% { transform: translate(-1px, 30px) rotate(60deg); opacity: 0; }
}
.winter-hero-snow {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 64%;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 66%, transparent 100%);
}
.winter-hero-snow i {
  position: absolute;
  top: -16px;
  left: var(--snow-x);
  width: var(--snow-size);
  height: var(--snow-size);
  background: #f2f8fc;
  opacity: .65;
  mask: url("/site-assets/winter-snowflake.svg") center / contain no-repeat;
  animation: winter-hero-fall var(--snow-duration) linear var(--snow-delay) infinite,
    winter-hero-turn 8s ease-in-out infinite alternate;
}
@keyframes winter-hero-fall {
  0% { translate: -4px 0; }
  50% { translate: 4px 22vh; }
  100% { translate: -2px 44vh; }
}
@keyframes winter-hero-turn {
  from { rotate: -20deg; }
  to { rotate: 60deg; }
}
@media (max-width: 720px) {
  .winter-brand::before { top: -11px; width: 35px; height: 21px; }
  .winter-hero-snow i:nth-child(n+7) { display: none; }
}
@media (prefers-reduced-motion: reduce), print {
  .winter-snow, .winter-hero-snow { display: none; }
}
