/* Same pace and easing as /laptop-tables. Only opacity and transforms animate. */
html { scroll-padding-top: var(--sw-header-offset, 96px); }
.sw-motion { --sw-motion-ease: cubic-bezier(.16,1,.3,1); }
.sw-motion [data-sw-reveal]:not([data-sw-reveal="heading"]) { opacity: 0; transform: translate3d(0,28px,0); transition: opacity .8s var(--sw-motion-ease), transform .9s var(--sw-motion-ease); transition-delay: var(--sw-reveal-delay,0ms); }
.sw-motion [data-sw-reveal="photo"] { transform: translate3d(0,32px,0) scale(.97); }
.sw-motion [data-sw-reveal].sw-revealed { opacity: 1; transform: none; }
.sw-word { display: inline-block; overflow: clip; vertical-align: bottom; max-width: 100%; padding: .16em .04em; margin: -.16em -.04em; }
.sw-word-inner { display: inline-block; max-width: 100%; }
.sw-motion [data-sw-reveal="heading"] .sw-word-inner { opacity: 0; transform: translate3d(0,115%,0) rotate(2deg); transform-origin: left bottom; transition: transform .95s var(--sw-motion-ease), opacity .6s ease; transition-delay: var(--sw-word-delay,0ms); }
.sw-motion [data-sw-reveal="heading"].sw-revealed .sw-word-inner { opacity: 1; transform: none; }
.sw-reading-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; }
.sw-reading-progress span { display: block; width: 100%; height: 100%; background: var(--wood-700, var(--copper, #856545)); transform: scaleX(0); transform-origin: left; }
@media (hover:hover) and (pointer:fine) {
  .sw-motion a:not(.sw-word) svg, .sw-motion button svg { transition: transform .3s var(--sw-motion-ease); }
  .sw-motion a:hover > svg, .sw-motion button:hover > svg { transform: translateX(3px); }
}
@media (max-width:700px) {
  .sw-motion [data-sw-reveal]:not([data-sw-reveal="heading"]) { transition-duration: .65s; }
  .sw-motion [data-sw-reveal="heading"] .sw-word-inner { transition-duration: .75s; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  [data-sw-reveal], .sw-word-inner { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sw-reading-progress { display: none; }
}
