/* Lenis owns wheel easing when mounted. Native input remains native otherwise.
   Load the unmodified, locally vendored Lenis stylesheet before this file. */
html { scroll-behavior: auto !important; }
html:has(dialog[open]) { overflow: hidden; }
[data-drift] { transform-origin: 50% 50%; }
[data-flow-path] { pointer-events: none; }
[data-motion-toggle] { touch-action: manipulation; }
[data-motion-toggle]:disabled { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  [data-drift] { transform: none !important; }
  [data-flow-path] { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* Optional desktop control is available before a visitor starts scrolling. */
.motion-quick { margin: 0; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font: 11px/1.4 ui-monospace, monospace; white-space: nowrap; cursor: pointer; }
.motion-quick:disabled { opacity: .75; cursor: default; }
@media(max-width:760px) { .motion-quick { display: none; } }
