/* Continuous motion runs only while visible. Keep native touch/arrow scrolling. */
.product-grid[data-continuous="true"] { scroll-snap-type: none; scroll-behavior: auto; }
.ribbon-section { position: relative; }
.brand-ribbon > .ribbon-track { display: flex; width: max-content; min-width: 0; padding: 0; gap: 0; justify-content: flex-start; animation: ribbon-drift 44s linear infinite; animation-play-state: paused; }
.ribbon-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; gap: 38px; width: max(800px, 100vw); padding: 18px 40px; }
.brand-ribbon[data-moving="true"] > .ribbon-track { animation-play-state: running; will-change: transform; }
.motion-toggle { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; border: 1px solid #b98c94; border-radius: 24px; background: #faf8f2; color: var(--ink); padding: 8px 14px; font-size: 11px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: var(--yellow); }
.motion-toggle [data-motion-icon] { font-size: 17px; line-height: 1; min-width: 15px; }
.motion-paused .brand-ribbon > .ribbon-track { animation-play-state: paused!important; will-change: auto; }
.motion-paused .hero-copy, .motion-paused .hero-visual { animation-play-state: paused; }
.visit-help a { text-decoration: underline; text-underline-offset: 3px; }
@keyframes ribbon-drift { to { transform: translateX(-50%); } }
@keyframes hero-arrive { from { transform: translateY(14px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-arrive .65s cubic-bezier(.2,.7,.2,1) both; }
  .hero-visual { animation: hero-arrive .8s cubic-bezier(.2,.7,.2,1) both; }
}
@media (max-width: 640px) {
  .ribbon-group { width: max(640px, 100vw); gap: 28px; padding: 15px 28px; }
  .motion-toggle { right: 10px; padding: 8px; }
  .motion-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-ribbon > .ribbon-track { animation: none; transform: none; }
  .hero-copy, .hero-visual { animation: none; }
  .motion-toggle { display: none; }
}
