.hero-section {
  position: relative;
  min-height: calc(100vh - 132px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 255, 255, 0.86) 0 18%, transparent 42%),
    linear-gradient(180deg, #fffaf2 0%, var(--fdv-cream) 100%);
}

.hero-content {
  width: min(1522px, calc(100% - 150px));
  min-height: 809px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(505px, 0.88fr) minmax(590px, 1.12fr);
  align-items: center;
  column-gap: 72px;
}

.hero-copy {
  padding-top: 16px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--fdv-orange);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker i {
  width: 62px;
  height: 2px;
  display: inline-block;
  background: var(--fdv-orange-light);
}

.hero-title {
  max-width: 680px;
  margin: 0;
  color: var(--fdv-navy-text);
  font-size: clamp(62px, 4.55vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  color: var(--fdv-orange);
}

.hero-description {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--fdv-muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.68;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-button {
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hero-button-primary {
  min-width: 288px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  padding: 0 18px;
  background: var(--fdv-orange);
  color: var(--fdv-white);
  box-shadow: 0 18px 32px rgba(253, 99, 0, 0.18);
}

.hero-button-primary img {
  width: 30px;
  height: 30px;
}

.hero-button-primary span {
  text-align: center;
}

.hero-button-primary:hover {
  background: #e95800;
  box-shadow: 0 24px 42px rgba(253, 99, 0, 0.34);
  transform: translateY(-3px);
}

.hero-button-secondary {
  min-width: 244px;
  border: 2px solid var(--fdv-line);
  background: rgba(255, 255, 255, 0.32);
  color: var(--fdv-navy-text);
}

.hero-button-secondary:hover {
  border-color: var(--fdv-orange);
  background: rgba(253, 99, 0, 0.06);
  color: var(--fdv-orange);
  box-shadow: 0 18px 32px rgba(4, 20, 46, 0.12);
  transform: translateY(-3px);
}

.hero-feature-list {
  max-width: 650px;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero-feature-item {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 18px;
  color: var(--fdv-navy-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  cursor: default;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.hero-feature-item::before {
  width: 4px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--fdv-orange-light);
  content: "";
}

.hero-feature-item span {
  max-width: 118px;
}

.hero-feature-item:hover {
  color: var(--fdv-orange);
  transform: translateY(-4px);
}

.hero-visual {
  position: relative;
  align-self: center;
  padding-top: 48px;
  padding-bottom: 72px;
}

.hero-image-frame {
  position: relative;
  height: min(690px, calc(100vh - 250px));
  min-height: 585px;
  overflow: hidden;
  border-radius: 16px;
  background: #f4e7d6;
  box-shadow: var(--fdv-shadow);
}

.hero-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 180ms ease;
}

.hero-product-image.is-changing {
  opacity: 0.18;
}

.hero-size-card {
  position: absolute;
  left: 48px;
  bottom: 44px;
  width: min(568px, calc(100% - 96px));
  padding: 27px 30px 24px;
  border: 1px solid rgba(4, 20, 46, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 40px rgba(4, 20, 46, 0.16);
}

.hero-size-title {
  margin: 0 0 20px;
  color: var(--fdv-navy-text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hero-size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-size-option {
  position: relative;
  min-height: 94px;
  padding: 13px 12px;
  display: grid;
  grid-template-columns: minmax(48px, auto);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4, 20, 46, 0.12);
  border-radius: 9px;
  background: var(--fdv-white);
  color: var(--fdv-navy-text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hero-size-option:hover {
  border-color: rgba(253, 99, 0, 0.55);
  transform: translateY(-1px);
}

.hero-size-option span {
  position: relative;
  z-index: 2;
  min-width: 48px;
  display: block;
  text-align: center;
  white-space: nowrap;
}

.hero-size-option-active {
  border: 2px solid var(--fdv-orange);
  box-shadow: inset 0 0 0 1px rgba(253, 99, 0, 0.04);
}

.hero-size-option-active::after {
  position: absolute;
  right: 16px;
  bottom: 10px;
  left: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--fdv-orange);
  content: "";
}

@media (min-width: 1000px) {
  .hero-section {
    min-height: calc(100vh - 112px);
    padding: 34px 0 42px;
  }

  .hero-content {
    width: min(1080px, calc(100% - 96px));
    min-height: 0;
    grid-template-columns: minmax(390px, 0.92fr) minmax(450px, 1.08fr);
    column-gap: 68px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-title {
    max-width: 540px;
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-description {
    max-width: 515px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    margin-top: 30px;
    gap: 16px;
  }

  .hero-button {
    height: 58px;
    font-size: 13px;
  }

  .hero-button-primary {
    min-width: 218px;
  }

  .hero-button-secondary {
    min-width: 184px;
  }

  .hero-feature-list {
    max-width: 520px;
    margin-top: 38px;
    column-gap: 18px;
  }

  .hero-feature-item {
    gap: 12px;
    min-width: 0;
    font-size: 13px;
  }

  .hero-feature-item span {
    max-width: 100px;
  }

  .hero-visual {
    padding: 22px 0 48px;
  }

  .hero-image-frame {
    height: min(520px, calc(100vh - 230px));
    min-height: 430px;
  }

  .hero-size-card {
    left: 26px;
    bottom: 22px;
    width: min(440px, calc(100% - 52px));
    padding: 18px 20px;
  }

  .hero-size-title {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .hero-size-options {
    gap: 10px;
  }

  .hero-size-option {
    min-height: 70px;
    padding: 8px 7px;
    grid-template-columns: minmax(0, auto);
    font-size: 12px;
  }
}

@media (min-width: 1350px) {
  .hero-section {
    padding-block: 46px 54px;
  }

  .hero-content {
    width: min(1260px, calc(100% - 140px));
    grid-template-columns: minmax(440px, 0.9fr) minmax(520px, 1.1fr);
    column-gap: 84px;
  }

  .hero-title {
    max-width: 590px;
    font-size: 52px;
  }

  .hero-description {
    max-width: 540px;
    font-size: 15.5px;
  }

  .hero-actions {
    margin-top: 32px;
    gap: 18px;
  }

  .hero-button {
    height: 60px;
    font-size: 13.5px;
  }

  .hero-feature-list {
    margin-top: 42px;
  }

  .hero-image-frame {
    height: min(560px, calc(100vh - 240px));
    min-height: 460px;
  }

  .hero-size-card {
    left: 32px;
    bottom: 26px;
    width: min(470px, calc(100% - 64px));
    padding: 20px 22px;
  }
}

@media (min-width: 1650px) {
  .hero-section {
    padding-block: 58px 66px;
  }

  .hero-content {
    width: min(1440px, calc(100% - 200px));
    grid-template-columns: minmax(500px, 0.9fr) minmax(590px, 1.1fr);
    column-gap: 104px;
  }

  .hero-kicker {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero-title {
    max-width: 630px;
    font-size: 56px;
  }

  .hero-description {
    max-width: 565px;
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .hero-button {
    height: 62px;
    font-size: 14px;
  }

  .hero-feature-list {
    margin-top: 46px;
  }

  .hero-image-frame {
    height: min(600px, calc(100vh - 250px));
    min-height: 490px;
  }

  .hero-size-card {
    left: 38px;
    bottom: 30px;
    width: min(500px, calc(100% - 76px));
    padding: 21px 24px;
  }

  .hero-size-title {
    font-size: 17px;
  }

  .hero-size-option {
    min-height: 74px;
    font-size: 12.5px;
  }
}

/* Keep every desktop hero slide and its frame at the source image ratio. */
@media (min-width: 1000px) {
  .hero-image-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
  }

  .hero-product-image {
    display: block;
    object-fit: contain;
  }
}

/* Rotate the hero benefits through one focused spotlight. */
.hero-feature-list {
  position: relative;
  display: block;
  width: min(100%, 520px);
  min-height: 94px;
  margin-top: 42px;
  padding: 0;
}

.hero-feature-item {
  position: absolute;
  inset: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;
  padding: 18px 20px 18px 17px;
  overflow: hidden;
  border: 1px solid rgba(4, 20, 46, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 32px rgba(4, 20, 46, 0.07);
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    visibility 300ms ease;
}

.hero-feature-item::before {
  display: none;
}

.hero-feature-item span {
  max-width: none;
}

.hero-feature-bar {
  width: 5px;
  height: 58px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a45 0%, var(--fdv-orange) 100%);
  transform: scaleY(0.18);
  transform-origin: center bottom;
  transition:
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 450ms ease;
}

.hero-feature-item-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-feature-item-active .hero-feature-bar {
  transform: scaleY(1);
  box-shadow: 0 0 14px rgba(253, 99, 0, 0.28);
  animation: heroFeatureBarGlow 3400ms ease-in-out infinite;
}

@keyframes heroFeatureBarGlow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(253, 99, 0, 0.2);
  }

  48% {
    box-shadow: 0 0 22px rgba(253, 99, 0, 0.48);
  }
}

.hero-feature-copy {
  width: auto;
  min-width: 0;
  max-width: none;
  display: grid;
  gap: 5px;
}

.hero-feature-label {
  color: var(--fdv-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.hero-feature-text {
  color: var(--fdv-navy-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-feature-index {
  align-self: end;
  color: var(--fdv-navy-text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.hero-feature-index small {
  color: rgba(4, 20, 46, 0.38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-feature-list.is-paused .hero-feature-bar {
  animation-play-state: paused;
}

@media (min-width: 1000px) and (max-width: 1349px) {
  .hero-feature-list {
    width: min(100%, 490px);
    margin-top: 38px;
  }

  .hero-feature-item {
    min-height: 88px;
    padding-right: 16px;
  }

  .hero-feature-text {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 999px) {
  .hero-feature-list {
    width: min(100%, 650px);
    min-height: 86px;
    margin-top: 30px;
  }

  .hero-feature-item {
    min-height: 86px;
    padding: 16px 18px 16px 15px;
  }

  .hero-feature-text {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .hero-feature-list {
    width: 100%;
    min-height: 82px;
    margin-top: 28px;
  }

  .hero-feature-item {
    min-height: 82px;
    grid-template-columns: 4px minmax(0, 1fr) auto;
    column-gap: 13px;
    padding: 15px 15px 15px 13px;
    border-radius: 12px;
  }

  .hero-feature-bar {
    width: 4px;
    height: 48px;
  }

  .hero-feature-label {
    font-size: 8px;
  }

  .hero-feature-text {
    font-size: 15px;
  }

  .hero-feature-index {
    font-size: 16px;
  }

  .hero-feature-index small {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-item,
  .hero-feature-bar {
    transition: none;
    animation: none;
  }
}
