/* Motion is isolated from the existing storefront stylesheet. */
.hero.has-motion { min-height:430px; height:auto; }
.hero.has-motion .hero-image { opacity:.07; }
.hero.has-motion .hero-copy { z-index:2; width:55%; padding-bottom:60px; }
.hero.has-motion .hero-caption { display:none; }
.hero-motion { position:absolute; right:0; top:0; width:48%; height:100%; color:var(--plum); }
.motion-art { position:absolute; inset:0; perspective:800px; background:radial-gradient(ellipse at 50% 55%,#f7f0e880,transparent 65%); }
.motion-shoe { position:absolute; width:92%; left:1%; top:7%; transform:rotate(-13deg) rotateY(var(--tilt,0deg)); transition:transform .4s ease-out; }
.motion-shoe svg { width:100%; overflow:visible; }
.shoe-body { animation:nilav-float 6s ease-in-out infinite; transform-origin:50% 60%; }
.shoe-shadow { fill:#4b2939; opacity:.12; }
.shoe-sole { fill:#e6d5be; stroke:#876e78; stroke-width:1.3; }
.shoe-upper { fill:#f9f3e9; stroke:#634454; stroke-width:1.6; }
.shoe-panel { fill:#e2d4dc; stroke:#85677b; stroke-width:1; }
.shoe-stitch,.shoe-detail { fill:none; stroke:#93798b; stroke-width:1; }
.shoe-stitch { stroke-dasharray:3 4; }
.shoe-laces { fill:none; stroke:#faf5ee; stroke-width:5; stroke-linecap:round; }
.motion-orbit { position:absolute; border:1px solid #80607440; border-radius:50%; width:86%; height:58%; left:6%; top:24%; transform:rotate(-24deg); }
.orbit-two { width:65%; height:86%; left:16%; top:5%; transform:rotate(45deg); border-style:dashed; animation:nilav-orbit 28s linear infinite; }
.motion-coordinate { position:absolute; font:10px/1.5 var(--sans); letter-spacing:.12em; }
.coordinate-one { top:38px; left:12%; }
.coordinate-two { bottom:30px; left:12%; font-family:var(--serif); font-size:23px; letter-spacing:0; }
.motion-dot { position:absolute; width:7px; height:7px; border-radius:50%; background:#79536e; box-shadow:0 0 0 6px #79536e0f; }
.dot-one { left:12%; top:63%; }.dot-two { right:17%; top:25%; }
.motion-toggle { position:relative; display:block; margin:12px auto 0; border:1px solid #80607450; border-radius:999px; padding:8px 13px; font:11px var(--sans); background:#faf7f0; color:var(--plum); cursor:pointer; min-height:36px; }
.hero-motion .motion-toggle { position:absolute; right:24px; bottom:16px; }
.motion-toggle:focus-visible { outline:3px solid var(--plum); outline-offset:3px; }
.fit-motion { margin:0 0 28px; padding:18px; border:1px solid #d9c9d4; border-radius:16px; background:linear-gradient(145deg,#f9f5ef,#e9dce6); color:var(--plum); overflow:hidden; }
.motion-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; font:9px/1.5 var(--sans); letter-spacing:.11em; }
.fit-contours { max-width:300px; margin:6px auto 0; }
.fit-contours svg { display:block; width:100%; }
.contour-foot { fill:#79536e0d; stroke:#79536e; stroke-width:1.2; }
.contour-inner { fill:none; stroke-opacity:.35; }
.measurement-line { fill:none; stroke:#8c6c82; stroke-width:1; stroke-dasharray:2 3; transform-origin:0 35px; transition:transform .35s ease,opacity .35s ease; }
.motion-readings { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #cbb6c6; padding-top:12px; gap:12px; }
.motion-readings span { display:block; font:9px var(--sans); letter-spacing:.1em; margin-bottom:5px; }
.motion-readings strong { font:20px var(--serif); }
.fit-motion .motion-disclosure { font:11px/1.6 var(--sans); margin:12px 0 0; color:#695360; }
.motion-scene[data-moving="false"] *, .motion-scene[data-moving="false"] *::before { animation-play-state:paused !important; }
@keyframes nilav-float { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-12px) rotate(2deg); } }
@keyframes nilav-orbit { to { transform:rotate(405deg); } }
@media(max-width:1000px) { .hero.has-motion .hero-copy { padding:38px 30px 60px; } .hero.has-motion .hero-copy h1 { font-size:44px; } .coordinate-one { font-size:8px; } }
@media(max-width:700px) {
  .hero.has-motion { display:flex; flex-direction:column; }
  .hero.has-motion .hero-copy { width:100%; max-width:none; padding:30px 24px 12px; }
  .hero.has-motion .hero-copy h1 { font-size:40px; }
  .hero.has-motion .hero-copy p:not(.eyebrow) { margin-bottom:18px; }
  .hero-motion { position:relative; width:100%; height:265px; flex:none; }
  .motion-art { max-width:400px; left:50%; width:100%; transform:translateX(-50%); }
  .motion-shoe { top:0; width:94%; left:3%; }
  .coordinate-one { top:0; left:12%; }.coordinate-two { bottom:45px; font-size:20px; }
  .hero-motion .motion-toggle { bottom:8px; right:16px; }
  .fit-motion { max-width:420px; margin-left:auto; margin-right:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-scene *, .motion-scene *::before { animation:none !important; transition:none !important; }
  .motion-scene .motion-toggle { display:none; }
  .motion-shoe { transform:rotate(-13deg); }
}
/* The photo-guide pause control is hidden under reduced motion; a class display rule must not override that. */
[data-guide-pause][hidden] { display:none; }
