/* Seasonal details are entirely scoped and disappear when the CMS switch is off. */
.hx-portfolio[data-christmas=true] :is(.hx-identity,.hx-menu-identity) { position:relative; }
.hx-christmas-hat {
  position:absolute;
  width:28px;
  height:22.4px;
  left:-1px;
  top:calc(50% - 29px);
  transform:rotate(-7deg);
  transform-origin:50% 85%;
  pointer-events:none;
}
.hx-christmas-greeting {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 22px;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.4!important;
  letter-spacing:.01em;
  color:#4325ff;
  animation:none!important;
}
.hx-christmas-greeting svg { width:14px; height:14px; flex:none; }
.hx-christmas-snow {
  position:fixed;
  inset:0;
  z-index:8;
  overflow:hidden;
  overflow:clip;
  pointer-events:none;
  user-select:none;
  contain:strict;
}
.hx-christmas-snow span {
  position:absolute;
  top:-16px;
  width:var(--snow-size);
  height:var(--snow-size);
  background:#9684e0;
  opacity:.27;
  animation:hx-snow-fall var(--snow-duration) var(--snow-delay) linear infinite;
}
.hx-christmas-snow .hx-snow-star {
  opacity:.35;
  clip-path:polygon(40% 0,60% 0,60% 30%,70% 30%,70% 40%,100% 40%,100% 60%,70% 60%,70% 70%,60% 70%,60% 100%,40% 100%,40% 70%,30% 70%,30% 60%,0 60%,0 40%,30% 40%,30% 30%,40% 30%);
}
.hx-christmas-snow[data-paused=true] { visibility:hidden; }
.hx-christmas-snow[data-paused=true] span { animation-play-state:paused; }
@keyframes hx-snow-fall {
  from { transform:translate3d(0,-20px,0) rotate(0deg); }
  to { transform:translate3d(var(--snow-drift),calc(100vh + 36px),0) rotate(130deg); }
}
@supports(height:100svh) {
  @keyframes hx-snow-fall {
    from { transform:translate3d(0,-20px,0) rotate(0deg); }
    to { transform:translate3d(var(--snow-drift),calc(100svh + 36px),0) rotate(130deg); }
  }
}
@media(prefers-color-scheme:dark) {
  .hx-christmas-snow span { background:#eeeaff; opacity:.38; }
  .hx-christmas-snow .hx-snow-star { opacity:.5; }
  .hx-christmas-greeting { color:#b5a9ff; }
}
@media(max-width:809px) {
  .hx-christmas-snow span:nth-child(n+11) { display:none; }
  .hx-christmas-greeting { margin-bottom:16px; font-size:13px!important; }
  .hx-christmas-hat { width:25px; height:20px; top:calc(50% - 26px); }
}
@media(prefers-reduced-motion:reduce) {
  .hx-christmas-snow { display:none; }
  .hx-christmas-snow span { animation:none; }
}
