/* =========================================================================
   SIGNATURE MOTION
   Four moments built out of things this brand already owns — the mountain
   mist in its own photography, the seal, the star rating, the headline.
   Same switch and the same start-state rule as the layer above.
   ========================================================================= */

/* --- 1 & 2. the seal's stamp and the stars' pop live in motion.css now, so
   the inner pages can use the same two moments. --------------------------- */

/* --- 3. the headline arrives a word at a time --------------------------- */
.hero-main h1 .w{display:inline-block}

/* The About heading uses the same mask, but a LINE at a time rather than a
   word. It is the counterpart to the focus pull on the copy below it: that
   one is optical - words resolving out of blur - and this one is geometric,
   two straight-edged lines rising out of a mask. Different mechanisms, so
   they do not read as the same trick twice, and the straight edge belongs
   to the same grammar as the square buttons and the hairline rules.

   The hidden state opens the mask from the TOP inset rather than letting it
   ride at 0. At this heading's 1.04 line-height the cap of the serif sits
   right on the edge of its own box, so a top inset of 0 shaves it for the
   first frames of the travel. Holding the top at -30% for the whole
   transition - the same value the arrival already lands on - keeps the
   letterforms whole without adding a pixel of height. (Padding the spans
   instead works visually but grew the heading 140px -> 152px, which moved
   everything below it.) */
html.has-anim .discover-copy h2 > span[data-anim="word"]{
  clip-path:inset(-30% -8% 108% -8%);
}
/* the generic "word" mask itself is in motion.css, shared with the inner
   pages' banner headlines */

/* --- 4. morning mist over the ridges ------------------------------------
   Two blurred bands per photograph, drifting at different speeds and fading
   out at each end so the loop has no seam. This one never stops — it is
   weather, not an entrance. */
.mistfx{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.mistfx b{
  position:absolute;left:-45%;right:-45%;height:42%;
  background:radial-gradient(58% 100% at 50% 50%,
    rgba(255,255,255,.34) 0%, rgba(255,255,255,.14) 45%, rgba(255,255,255,0) 72%);
  filter:blur(22px);opacity:0;will-change:transform,opacity;
}
.mistfx b:nth-child(1){top:34%;animation:mist-a 44s ease-in-out infinite}
.mistfx b:nth-child(2){top:52%;height:34%;animation:mist-b 61s ease-in-out infinite 6s}
@keyframes mist-a{
  0%  {transform:translate3d(-16%,6%,0) scaleX(1);   opacity:0}
  22% {opacity:.62}
  70% {opacity:.44}
  100%{transform:translate3d(16%,-4%,0) scaleX(1.22);opacity:0}
}
@keyframes mist-b{
  0%  {transform:translate3d(14%,4%,0) scaleX(1.15); opacity:0}
  26% {opacity:.42}
  74% {opacity:.34}
  100%{transform:translate3d(-14%,-6%,0) scaleX(1);  opacity:0}
}

@media (prefers-reduced-motion:reduce){
  .mistfx{display:none}
}
