/* Portable motion layer for the product pages and field guide. */
:root { --crew-ease: cubic-bezier(.2,.7,.18,1); --crew-spring: cubic-bezier(.2,1.35,.32,1); }
html { scroll-behavior: smooth }
.crew-line { display:block; overflow:clip; padding-block:.08em .12em; margin-block:-.08em -.12em }
.crew-line > span { display:block }
.crew-ready .crew-line > span { animation:crew-enter .85s var(--crew-ease) both;animation-delay:calc(var(--line,0) * 125ms + 90ms) }
.crew-ready [data-enter] { animation:crew-enter .9s var(--crew-ease) both; animation-delay:var(--delay,320ms) }
@keyframes crew-enter {
  from { opacity:0; transform:translateY(32px); filter:blur(12px) }
  to { opacity:1; transform:translateY(0); filter:blur(0) }
}
.crew-ready [data-reveal] { transition:opacity .55s var(--crew-ease), translate .65s var(--crew-ease); }
.crew-ready [data-reveal]:not(.crew-visible) { opacity:0; translate:0 26px }
.crew-ready [data-parallax] { translate: 0 var(--crew-shift,0px) }
.crew-ready [data-spring] { transition: translate .38s var(--crew-spring), scale .38s var(--crew-spring), background-color .2s ease, color .2s ease, border-color .2s ease }
@media (hover:hover) { .crew-ready [data-spring]:hover { translate:0 -4px } }
.crew-ready [data-spring]:active { translate:0 0;scale:.975 }
.crew-shine { position:relative;isolation:isolate;overflow:hidden }
.crew-ready .crew-shine::after { content:"";position:absolute;z-index:2;pointer-events:none;inset:0;background:linear-gradient(115deg,transparent 34%,rgba(255,255,255,.14) 49%,transparent 65%);transform:translateX(-115%);animation:crew-sheen 1.35s var(--crew-ease) .45s both }
@keyframes crew-sheen { to { transform:translateX(115%) } }
.crew-frame { margin:0 }
.crew-beat { scroll-margin-top:var(--anchor-offset,6rem) }
.crew-on .crew-pin { position:sticky;top:var(--crew-top,7rem);align-self:start }
.crew-on .crew-stack { position:relative;aspect-ratio:var(--crew-ratio,1.5);max-height:calc(100svh - var(--crew-top,7rem) - 5.5rem);overflow:hidden }
.crew-on .crew-frame { position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .32s var(--crew-ease),visibility 0s .32s }
.crew-on .crew-frame img { position:absolute;inset:0;padding:2.4%;transform:scale(var(--crew-scale,1)) }
.crew-on .crew-frame.crew-document img { transform:none }
.crew-on .crew-frame.crew-current { opacity:1;visibility:visible;transition-delay:0s }
.crew-on .crew-beat { min-height:clamp(18rem,65vh,34rem);opacity:.62;transition:opacity .25s ease }
.crew-on .crew-beat.crew-current { opacity:1 }
.crew-ready .crew-static-image { display:none }
.crew-on .crew-story-nav { display:flex }
.crew-story-nav { display:none }
html.crew-motion-off { scroll-behavior:auto }
.crew-motion-off *, .crew-motion-off *::before, .crew-motion-off *::after { animation:none!important; transition:none!important;scroll-behavior:auto!important }
.crew-motion-off [data-reveal] { opacity:1!important;translate:none!important }
.crew-motion-off [data-parallax] { translate:none!important }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto }
  .crew-ready *, .crew-ready *::before, .crew-ready *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important }
  .crew-ready [data-reveal] { opacity:1!important;translate:none!important }
  .crew-ready [data-parallax] { translate:none!important }
}
