.home-scroll-page {
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-hero {
  min-height: calc(100vh - var(--home-topbar-height, 74px));
  min-height: calc(100svh - var(--home-topbar-height, 74px));
  min-height: calc(100dvh - var(--home-topbar-height, 74px));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: visible;
}

.centered-container {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF;
  padding: 0 16px;
  --base-size: clamp(42px, 10vw, 120px);
  --slogan-scale: 0.38;
  will-change: transform, opacity;
}

.centered-text {
  text-align: center;
  font-size: var(--base-size);
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(to right, #FF6B35, #F9C80E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.slogan {
  text-align: center;
  font-size: calc(var(--base-size) * var(--slogan-scale));
  line-height: 1.1;
  white-space: nowrap;
  margin-top: calc(var(--base-size) * -0.30);
  color: #b0b0b0;
}

.centered-text p,
  .slogan p {
  margin: 0;
}

.home-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  opacity: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

.home-scroll-arrow {
  --home-arrow-bounce: 6px;
  display: block;
  width: 32px;
  height: 32px;
  border-right: 4px solid #94a3b8;
  border-bottom: 4px solid #94a3b8;
  transform: rotate(45deg);
  animation: homeArrowPulse 1.8s ease-in-out infinite;
}

@keyframes homeArrowPulse {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.65;
  }

  50% {
    transform: translateY(var(--home-arrow-bounce)) rotate(45deg);
    opacity: 1;
  }
}

.home-best-sellers-stage {
  min-height: calc(100vh - var(--home-topbar-height, 74px));
  min-height: calc(100svh - var(--home-topbar-height, 74px));
  min-height: calc(100dvh - var(--home-topbar-height, 74px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-services-stage {
  --home-services-scroll-distance: 28vh;
  min-height: calc(100vh - var(--home-topbar-height, 74px) + var(--home-services-scroll-distance));
  min-height: calc(100svh - var(--home-topbar-height, 74px) + var(--home-services-scroll-distance));
  min-height: calc(100dvh - var(--home-topbar-height, 74px) + var(--home-services-scroll-distance));
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

.home-services-pin {
  position: sticky;
  top: var(--home-topbar-height, 74px);
  min-height: calc(100vh - var(--home-topbar-height, 74px));
  min-height: calc(100svh - var(--home-topbar-height, 74px));
  min-height: calc(100dvh - var(--home-topbar-height, 74px));
  display: flex;
  align-items: center;
}

.home-services-content {
  width: calc(100% - var(--content-edge-gap, 32px));
  max-width: var(--content-max-width, 1360px);
  margin: 0 auto;
  padding: 0 14px;
  box-sizing: border-box;
}

.home-services-kicker {
  margin: 0 0 14px;
  font-size: clamp(17px, 2.5vw, 38px);
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
}

.home-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.home-service-item {
  display: inline-block;
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.06;
  text-decoration: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.home-service-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(180px, 0, 0);
  will-change: transform, opacity;
}

.home-best-sellers.product-related-accordion.products-index-best-seller {
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  transform: translate3d(0, 70px, 0);
  will-change: transform, opacity;
}

@media (min-width: 981px) {
  .home-scroll-hint {
    position: fixed;
    bottom: 60px;
    z-index: 3;
  }
}

@media (max-width: 980px) {
  /* Mobile layout for Safari-stable animated flow. */
  .home-hero {
    min-height: calc(100svh - var(--home-topbar-height, 66px));
    min-height: calc(100dvh - var(--home-topbar-height, 66px));
  }

  .home-services-stage {
    --home-services-scroll-distance: 38svh;
    min-height: calc(100svh + var(--home-services-scroll-distance));
    overflow: visible;
  }

  .home-services-pin {
    position: sticky;
    top: var(--home-mobile-pin-top, calc(var(--home-topbar-height, 66px) + 6svh));
    min-height: calc(100svh - var(--home-topbar-height, 66px));
    display: flex;
    align-items: center;
    width: 100%;
  }

  .home-best-sellers-stage {
    min-height: calc(100svh - var(--home-topbar-height, 66px));
    min-height: calc(100dvh - var(--home-topbar-height, 66px));
    padding-top: 0;
  }

  .home-scroll-hint {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom) + 4px);
    transform: translateX(-50%);
    z-index: 3;
  }

  .home-scroll-arrow {
    --home-arrow-bounce: 0px;
    width: 22px;
    height: 22px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .home-services-content {
    width: calc(100% - 24px);
    padding: 0 12px;
  }

  .home-services-list {
    gap: 10px;
  }

  .home-services-kicker {
    margin-bottom: 11px;
    font-size: clamp(13px, 4.2vw, 23px);
  }

  .home-service-item {
    font-size: clamp(26px, 8.4vw, 46px);
    line-height: 1.08;
  }

  html.is-ios-safari-home .home-services-kicker,
  html.is-ios-safari-home .home-service-item,
  html.is-ios-safari-home .home-best-sellers.product-related-accordion.products-index-best-seller {
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

