/* Motion values measured on the supplied reference homepage. */
body[data-page="home"] .sb-hero-copy {position: relative}
body[data-page="home"] .sb-hero-float {animation: home-product-float 5s ease-in-out infinite}
body[data-page="home"] .sb-hero.is-entering .sb-hero-copy {
  animation: home-slide-up .65s ease both;
}
body[data-page="home"] .sb-hero.is-entering .sb-hero-copy > * {animation: none}
body[data-page="home"] .sb-hero.is-entering .sb-hero-product {
  animation: home-slide-up .8s ease .12s both;
}
body[data-page="home"] .sb-hero.is-entering #hero-product-image {
  animation: home-slide-across .65s ease both;
}
body[data-page="home"] .sb-hero-float > .sb-hero-outgoing {
  animation: home-slide-out .65s ease both;
}
.home-motion-ready .home-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.1,1);
}
.home-motion-ready .home-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.home-motion-ready .home-detail-card {
  animation: home-detail-in .62s cubic-bezier(.22,.72,.16,1) both;
}
body[data-page="home"] .ref-header-inner,
body[data-page="home"] .ref-navigation,
body[data-page="home"] .ref-nav-group {
  height: 76px;
  transition: height .25s ease;
}
body[data-page="home"] .ref-header.is-sticky .ref-header-inner,
body[data-page="home"] .ref-header.is-sticky .ref-navigation,
body[data-page="home"] .ref-header.is-sticky .ref-nav-group {height: 96px}
body[data-page="home"] .ref-header {transition: box-shadow .25s ease, background .25s ease}
body[data-page="home"] .ref-header.is-sticky {box-shadow: 0 4px 20px #00000015}
body[data-page="home"] .ref-mega:not([hidden]) {
  animation: home-menu-in .22s ease both;
}
body[data-page="home"] #ref-mobile:not([hidden]) {
  animation: home-panel-in .3s ease both;
}
body[data-page="home"] dialog[open] {
  animation: home-dialog-in .28s cubic-bezier(.22,.61,.36,1) both;
}
body[data-page="home"] dialog[open]::backdrop {animation: home-backdrop-in .25s ease both}
body[data-page="home"] .ref-support[open] {animation-name: home-panel-in}
body[data-page="home"] .ref-search-dialog[open] {animation-name: home-slide-up}
.home-menu-backdrop {display: none}
body[data-page="home"] .sb-product-tile img {transition: transform .4s ease}
body[data-page="home"] .sb-product-tile:hover img {transform: scale(1.08)}
body[data-page="home"] .sb-range-card {
  position: relative;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body[data-page="home"] .sb-range-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
body[data-page="home"] .sb-range-card:hover {
  border-color: #ff000650;
  box-shadow: 0 10px 25px #0000000a;
  transform: translateY(-3px);
}
body[data-page="home"] .sb-range-card:hover::before {transform: scaleX(1)}
body[data-page="home"] .sb-make-tile img {transition: transform .45s ease}
body[data-page="home"] .sb-make-tile:hover img {transform: scale(1.06)}
body[data-page="home"] .sb-service-grid > a {transition: transform .3s ease, box-shadow .3s ease}
body[data-page="home"] .sb-service-grid > a:hover {transform: translateY(-8px)}
body[data-page="home"] .button .sb-icon,
body[data-page="home"] .text-link .sb-icon {transition: transform .32s cubic-bezier(.22,.61,.36,1)}
body[data-page="home"] .button:hover .sb-icon,
body[data-page="home"] .text-link:hover .sb-icon {transform: translateX(6px)}
body[data-page="home"] .sb-review-dots button {transition: width .3s ease, background .3s ease}
body[data-page="home"] .sb-review-dots button.active {width: 26px; border-radius: 99px}
.home-category-stage {position: relative; min-width: 0; align-self: center}
.home-category-stage > .sb-category-image {display: block; width: 100%; height: auto}
.home-category-orbit {position: absolute; inset: 0; pointer-events: none}
.home-category-orbit img {position: absolute; width: 27%; height: 27%; object-fit: contain; filter: drop-shadow(0 5px 8px #0002)}
.home-category-orbit img:nth-child(1) {left: 0; top: 3%}
.home-category-orbit img:nth-child(2) {right: -1%; top: 6%}
.home-category-orbit img:nth-child(3) {left: 4%; bottom: 0}
.home-motion-ready .home-category-stage:not(.is-visible) {opacity: 0}
.home-category-stage.is-visible > .sb-category-image {animation: home-bike-in 1.2s cubic-bezier(.16,1,.3,1) both}
.home-category-stage.is-visible .home-category-orbit {animation: home-orbit-in 1.6s cubic-bezier(.16,1,.3,1) .1s backwards}
.home-category-stage.is-visible .home-category-orbit img {animation: home-orbit-counter 1.6s cubic-bezier(.16,1,.3,1) .1s backwards}
@keyframes home-slide-up {from {opacity: 0; transform: translateY(28px)} to {opacity: 1; transform: none}}
@keyframes home-slide-across {from {opacity: 0; transform: translateX(25px)} to {opacity: 1; transform: none}}
@keyframes home-slide-out {to {opacity: 0; transform: translateX(-25px)}}
@keyframes home-product-float {0%,100% {transform: none} 50% {transform: translateY(-12px)}}
@keyframes home-detail-in {from {opacity: 0; transform: translateY(26px)} to {opacity: 1; transform: none}}
@keyframes home-menu-in {from {opacity: 0; margin-top: 8px} to {opacity: 1; margin-top: 0}}
@keyframes home-panel-in {from {opacity: 0; transform: translateX(35px)} to {opacity: 1; transform: none}}
@keyframes home-dialog-in {from {opacity: 0; transform: translateY(18px) scale(.98)} to {opacity: 1; transform: none}}
@keyframes home-backdrop-in {from {opacity: 0} to {opacity: 1}}
@keyframes home-bike-in {from {opacity: 0; transform: scale(.88) rotate(-5deg)} to {opacity: 1; transform: none}}
@keyframes home-orbit-in {from {opacity: 0; transform: rotate(-150deg) scale(.5)} to {opacity: 1; transform: none}}
@keyframes home-orbit-counter {from {transform: rotate(150deg)} to {transform: none}}
@media (max-width: 700px) {
  body[data-page="home"] .sb-hero-dots {left: 50%; transform: translateX(-50%)}
  body[data-page="home"] .ref-header-inner,
  body[data-page="home"] .ref-header.is-sticky .ref-header-inner {height: 72px}
  .home-category-stage {grid-row: 1; grid-column: 1 / -1; width: 100%; max-width: 360px; justify-self: center}
}
@media (max-width: 1200px) {
  body.home-menu-open {overflow: hidden}
  .home-menu-open .home-menu-backdrop {display: block; position: fixed; inset: 0; z-index: 49; background: #0008; animation: home-backdrop-in .3s ease}
  body[data-page="home"] #ref-mobile:not([hidden]) {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    width: min(92vw, 430px); height: 100dvh; overflow-y: auto;
    padding: 24px; box-shadow: -12px 0 35px #0002;
    overscroll-behavior: contain;
  }
  .home-menu-close {display: flex; justify-content: space-between; width: 100%; padding: 6px 0 22px; font-weight: 700}
}
@media (prefers-reduced-motion: reduce) {
  .home-motion-ready .home-reveal,
  .home-motion-ready .home-category-stage:not(.is-visible) {opacity: 1; transform: none}
  body[data-page="home"] *, body[data-page="home"] *::before {animation: none !important; transition: none !important}
}
