/* Wild layer — wind, chroma and nav previews.
   Everything here is created by wild.js, which only runs when motion is allowed. */
.m-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Wind & chroma ---------- */
html.m-windy .edition[aria-hidden="false"] .hero-garment,
html.m-windy .plate-product {
  filter: url(#m-wind) drop-shadow(8px 13px 9px #3e162836);
}
html.m-windy .m-cab-booth.is-open .m-cab-inside img,
html.m-windy .season-fold img {
  filter: url(#m-wind) drop-shadow(5px 10px 6px #4d1b3038);
}
html.m-fast
  :is(
    .poster-word,
    .m-statement,
    .m-cab-head h2,
    .m-nu-title,
    .season-lead h2,
    .cl-ch-title,
    .ft-cta,
    .letter-inner h1,
    .fold-name
  ) {
  text-shadow:
    calc(var(--v, 0) * 7px) 0 0 #ff4f9a99,
    calc(var(--v, 0) * -7px) 0 0 #46cfff99;
}

/* ---------- Nav previews ---------- */
.m-peek {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  z-index: 30;
  pointer-events: none;
}
.m-peek img {
  position: absolute;
  left: -40px;
  top: 18px;
  width: 80px;
  height: 98px;
  object-fit: contain;
  padding: 6px;
  background: #fff9ef;
  border: 1px solid #d7c9be;
  box-shadow: 5px 7px 0 #59192f26;
  opacity: 0;
  scale: 0.2;
  translate: 0 -24px;
  transition:
    opacity 0.25s,
    scale 0.5s cubic-bezier(0.3, 1.6, 0.5, 1),
    translate 0.5s cubic-bezier(0.3, 1.6, 0.5, 1),
    rotate 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
a:hover > .m-peek img {
  opacity: 1;
  scale: 1;
}
a:hover > .m-peek img:nth-child(1) {
  translate: -72px 0;
  rotate: -14deg;
}
a:hover > .m-peek img:nth-child(2) {
  translate: 0 14px;
  rotate: 3deg;
  transition-delay: 0.05s;
}
a:hover > .m-peek img:nth-child(3) {
  translate: 72px 0;
  rotate: 15deg;
  transition-delay: 0.1s;
}
