/* Homepage refinement: joined Humanscale Freedom feature and range banner. */

body.muf-modern.home .muf-freedom-feature {
  width: min(1920px, 100%);
  margin: 2px auto 0;
  overflow: hidden;
  background: #11120f;
}

body.muf-modern.home .muf-freedom-feature__top {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(390px, 2fr);
  min-height: clamp(450px, 30vw, 540px);
}

body.muf-modern.home .muf-freedom-feature__image {
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #ddd8cf;
}

body.muf-modern.home .muf-freedom-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transition: transform .55s ease;
}

body.muf-modern.home .muf-freedom-feature:hover .muf-freedom-feature__image img {
  transform: scale(1.012);
}

body.muf-modern.home .muf-freedom-feature__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 3vw, 58px) clamp(30px, 3.4vw, 64px);
  color: #171914;
  background: var(--muf-mustard, #f4b644);
}

body.muf-modern.home .muf-freedom-feature__copy h2 {
  max-width: none;
  margin: 0;
  color: #171914;
  font-family: var(--muf-font, Inter, "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(38px, 3vw, 56px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.055em;
}

body.muf-modern.home .muf-freedom-feature__copy > p {
  max-width: 68ch;
  margin: clamp(17px, 1.6vw, 25px) 0 0;
  color: #292b26;
  font-size: clamp(13px, .86vw, 15px);
  line-height: 1.55;
}

body.muf-modern.home .muf-freedom-feature__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: clamp(20px, 1.8vw, 29px);
}

body.muf-modern.home .muf-freedom-feature__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  padding: 11px 16px;
  border: 1px solid #171914;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

body.muf-modern.home .muf-freedom-feature__button span {
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}

body.muf-modern.home .muf-freedom-feature__button--dark {
  color: #fff;
  background: #171914;
}

body.muf-modern.home .muf-freedom-feature__button--light {
  color: #171914;
  background: rgba(255,255,255,.24);
}

body.muf-modern.home .muf-freedom-feature__button:hover,
body.muf-modern.home .muf-freedom-feature__button:focus-visible {
  color: #171914;
  background: #fff;
  transform: translateY(-2px);
}

body.muf-modern.home .muf-freedom-feature__button:hover span,
body.muf-modern.home .muf-freedom-feature__button:focus-visible span {
  transform: translateX(3px);
}

body.muf-modern.home .muf-freedom-feature__banner,
body.muf-modern.home .muf-freedom-feature__banner img {
  display: block;
  width: 100%;
}

body.muf-modern.home .muf-freedom-feature__banner {
  margin: 0;
  line-height: 0;
  background: #0c0d0b;
}

body.muf-modern.home .muf-freedom-feature__banner img {
  height: auto;
  margin: 0;
}

@media (max-width: 980px) {
  body.muf-modern.home .muf-freedom-feature__top {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    min-height: 480px;
  }

  body.muf-modern.home .muf-freedom-feature__copy {
    padding: 32px 29px;
  }

  body.muf-modern.home .muf-freedom-feature__copy h2 {
    font-size: clamp(36px, 4.35vw, 43px);
  }

  body.muf-modern.home .muf-freedom-feature__copy > p {
    font-size: 13px;
    line-height: 1.52;
  }

  body.muf-modern.home .muf-freedom-feature__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  body.muf-modern.home .muf-freedom-feature {
    width: 100%;
  }

  body.muf-modern.home .muf-freedom-feature__top {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  body.muf-modern.home .muf-freedom-feature__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body.muf-modern.home .muf-freedom-feature__image img {
    object-position: 50% 50%;
  }

  body.muf-modern.home .muf-freedom-feature__copy {
    min-height: 0;
    padding: 43px 24px 48px;
  }

  body.muf-modern.home .muf-freedom-feature__copy h2 {
    max-width: 12ch;
    font-size: clamp(37px, 11.4vw, 49px);
    line-height: 1;
  }

  body.muf-modern.home .muf-freedom-feature__copy > p {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.61;
  }

  body.muf-modern.home .muf-freedom-feature__actions {
    gap: 9px;
    margin-top: 28px;
  }

  body.muf-modern.home .muf-freedom-feature__button {
    width: 100%;
    min-height: 48px;
    padding-inline: 17px;
  }

  body.muf-modern.home .muf-freedom-feature__banner img {
    width: 100%;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.muf-modern.home .muf-freedom-feature__image img,
  body.muf-modern.home .muf-freedom-feature__button,
  body.muf-modern.home .muf-freedom-feature__button span {
    transition: none !important;
  }
}
