/* Composition from the approved desktop and mobile motion previews. */
.is-home-route {
  --home-motion-ink: #3f3650;
}

@media (min-width: 900px) {
  .is-home-route .header-inner { grid-template-columns: 170px minmax(0, 1fr) 220px; }
  .is-home-route .header-actions > .button { min-width: 220px; }
}

.home-motion {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(550px, calc(100svh - 212px), 840px);
  background: #30253e;
  color: #fff;
  font-family: "Avenir Next", "Onest", system-ui, sans-serif;
}

.home-motion-media,
.home-motion-media picture,
.home-motion-media img,
.home-motion-media video,
.home-motion-media::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-motion-media { z-index: -1; overflow: hidden; pointer-events: none; }
.home-motion-media img,
.home-motion-media video { display: block; object-fit: cover; }
.home-motion-media video { visibility: hidden; }
.home-motion.has-video-frame video { visibility: visible; }

.home-motion-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(48, 37, 62, .95), rgba(48, 37, 62, .76) 38%, rgba(48, 37, 62, .14) 65%, transparent);
}

.home-motion-copy {
  padding-block: 60px 52px;
}

.home-motion h1 {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(42px, 4.445vw, 64px);
  font-weight: 800;
  line-height: 1.094;
  letter-spacing: -.018em;
}

.home-motion-copy p {
  max-width: 33rem;
  margin: 24px 0 0 2px;
  color: #fff;
  font-size: clamp(17px, 1.53vw, 22px);
  line-height: 1.45;
}

.home-motion-catalog,
.home-motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.home-motion-catalog {
  justify-content: space-between;
  gap: 14px;
  width: 300px;
  max-width: 100%;
  min-height: 60px;
  margin-top: clamp(38px, 6.4vw, 92px);
  padding: 10px 24px 10px 28px;
  border: 0;
  background: #fff;
  color: var(--home-motion-ink);
  font-size: 20px;
  font-weight: 800;
}

.home-motion-toggle {
  position: absolute;
  right: 44px;
  bottom: 38px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #fff;
  background: rgba(48, 37, 62, .55);
  color: #fff;
}

.is-store-route #app-main .home-motion button svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-store-route #app-main .home-motion-toggle .home-motion-play { fill: currentColor; stroke: none; }
.home-motion-pause,
.home-motion.is-playing .home-motion-play { display: none; }
.home-motion.is-playing .home-motion-pause { display: block; }

.home-motion-catalog:hover { background: #fff4eb; }
.home-motion-toggle:hover { background: rgba(48, 37, 62, .8); }
.home-motion button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.is-home-route #home-catalog { padding-top: 42px; }
.is-home-route #home-catalog h2 { font-size: clamp(28px, 2.78vw, 40px); }
.is-home-route #home-catalog .store-section-head > p { font-size: 14px; }

@media (min-width: 640px) and (max-width: 999px) {
  .home-motion-media::after {
    background: linear-gradient(90deg, rgba(48, 37, 62, .94), rgba(48, 37, 62, .77) 53%, transparent 94%);
  }
}

@media (max-width: 639px) {
  .is-home-route .header-inner { min-height: 103px; }
  .is-home-route .brand { width: clamp(94px, 30vw, 117px); }
  .is-home-route .header-actions > .button { min-height: 35px; padding: 7px 16px; font-size: clamp(10px, 3vw, 12px); }
  .is-home-route .desktop-nav a { padding-inline: 3px; font-size: clamp(9px, 3vw, 12px); }

  .home-motion { min-height: clamp(500px, calc(100svh - 174px), 820px); }
  .home-motion-media::after {
    background: linear-gradient(180deg, transparent 38%, rgba(48, 37, 62, .86) 65%, rgba(48, 37, 62, .98));
  }
  .home-motion-copy { padding-block: 68px 13px; }
  .home-motion h1 { font-size: clamp(25px, 9.48vw, 37px); line-height: 1.135; }
  .home-motion-copy p { max-width: 260px; margin: 10px 0 0; font-size: 16px; line-height: 1.5; }
  .home-motion-catalog {
    width: min(260px, calc(100% - 56px));
    min-height: 44px;
    margin-top: 14px;
    padding: 8px 14px 8px 19px;
    font-size: clamp(13px, 4.1vw, 16px);
  }
  .home-motion-toggle {
    right: var(--playmax-content-gutter);
    bottom: 13px;
    width: 44px;
    height: 44px;
  }
  .is-home-route #home-catalog { padding-top: 20px; }
}
