.winter-snowfall {
  position: fixed;
  z-index: 45;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.winter-initial {
  --hat-width-em: .97;
  --hat-contact-y: .258em;
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.winter-wordmark { white-space: nowrap; }
.winter-wordmark .winter-initial { --hat-width-em: 1.10; }

.winter-letter {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(to bottom, #9d8093 0 var(--hat-contact-y),
    #d5c4d6 calc(var(--hat-contact-y) + .07em), var(--duo-ink, var(--ink)) calc(var(--hat-contact-y) + .17em));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.winter-hat {
  --hat-tilt: -4deg;
  position: absolute;
  top: -.275em;
  left: -.252em;
  width: calc(var(--hat-width-em) * 1em);
  max-width: none;
  height: auto;
  transform: rotate(var(--hat-tilt));
  transform-origin: 60% 66%;
  pointer-events: none;
  animation: winter-hat-settle .8s var(--ease-out) both;
}

.winter-hat-back {
  filter: drop-shadow(0 .032em .04em #17081870);
}

.winter-hat-front {
  z-index: 2;
  clip-path: polygon(
    0 0, 0 100%, 24% 100%, 25% 69.3%, 31% 68%, 37% 66.5%,
    45% 65%, 53% 64%, 61% 63.6%, 69% 63.8%, 77% 64.4%,
    84% 65.5%, 90% 67.1%, 94% 68%, 96% 100%, 100% 100%, 100% 0
  );
}

.winter-initial.is-hat-fitted > img.winter-hat {
  display: none;
}

.winter-hat-shaped {
  --hat-tilt: -2deg;
  top: var(--hat-seat-y);
  left: var(--hat-seat-x);
  transform-origin: 60% var(--hat-pivot);
  animation: winter-hat-land .93s both;
}

.winter-hat-shaped.winter-hat-front { clip-path: none; }

.duo-intro-on .winter-hat { animation-delay: .65s; }
.duo-copy .duo-kicker { margin-bottom: 39px; }

@keyframes winter-hat-settle {
  0% { opacity: 0; transform: translateY(-.14em) rotate(-13deg); }
  55% { opacity: 1; transform: translateY(.025em) rotate(.5deg); }
  81% { opacity: 1; transform: translateY(-.006em) rotate(-6deg); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--hat-tilt)); }
}

@keyframes winter-hat-land {
  0% {
    opacity: 0;
    transform: translateY(-.19em) rotate(-9deg) scaleY(1.025);
    animation-timing-function: cubic-bezier(.55,.12,.83,.52);
  }
  42% {
    opacity: 1;
    transform: translateY(0) rotate(-3deg) scaleY(1);
    animation-timing-function: cubic-bezier(.2,.7,.43,1);
  }
  54% { opacity: 1; transform: translateY(.013em) rotate(0deg) scaleY(.91); }
  77% { opacity: 1; transform: translateY(-.003em) rotate(-2.7deg) scaleY(1.012); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--hat-tilt)) scaleY(1); }
}

@media (forced-colors: active) {
  .winter-letter { color: CanvasText; background: none; }
}

.winter-label {
  --snow-headroom: 18px;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.winter-label-heading {
  --snow-headroom: 31px;
  max-width: 100%;
}

@media (min-width: 961px) {
  .nav a { color: color-mix(in srgb, var(--soft) 68%, var(--ink)); }
  .nav a:is(:hover, :focus-visible) { color: var(--ink); }
}

@media (any-hover: hover) and (any-pointer: fine) {
  .winter-label::before {
    content: "";
    position: absolute;
    inset: calc(1px - var(--snow-headroom)) -2px 0;
  }
}

.winter-cap {
  position: absolute;
  top: calc(-1 * var(--snow-headroom));
  left: -8px;
  max-width: none;
  pointer-events: none;
}

@media (max-width: 700px) {
  .duo-copy .duo-kicker { margin-bottom: 19px; }
}

@media (max-width: 700px) and (max-height: 660px) {
  .duo-layout { padding-top: 18px; }
  .duo-copy .duo-kicker { margin-bottom: 14px; }
}

@media (max-width: 360px) {
  .shop-footer .logo { gap: 7px; font-size: 20px; }
}
