.home-banner {
  position: relative;
  height: clamp(520px, 67vw, 720px);
  min-height: 560px;
  overflow: hidden;
  background: #f7f3ed;
}

.banner-track,
.banner-slide {
  position: absolute;
  inset: 0;
}

.banner-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.banner-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 6s ease;
}

.banner-slide.active > img {
  transform: scale(1);
}

.banner-content {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 6vw, 92px);
  top: 50%;
  width: min(39%, 540px);
  transform: translateY(-50%);
  color: var(--ink);
}

.banner-content h1 {
  margin: 15px 0 24px;
  font: 400 clamp(50px, 5.2vw, 78px)/1.06 var(--display);
  letter-spacing: -1.3px;
}

.banner-content h1 em {
  color: var(--brown);
  font-family: var(--serif);
  font-weight: 500;
}

.banner-content > p:not(.eyebrow) {
  margin: 0 0 27px;
  line-height: 1.75;
}

.banner-controls {
  position: absolute;
  z-index: 4;
  left: clamp(28px, 6vw, 92px);
  right: clamp(28px, 5vw, 76px);
  bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-dots button {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(73, 46, 29, .28);
  cursor: pointer;
  transition: width .3s, background .3s;
}

.banner-dots button.active {
  width: 48px;
  background: var(--brown);
}

.banner-arrows {
  display: flex;
  gap: 8px;
}

.banner-arrows button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(92, 61, 40, .55);
  border-radius: 50%;
  background: rgba(251, 250, 247, .8);
  color: var(--brown);
  cursor: pointer;
  font-size: 19px;
  transition: .25s;
}

.banner-arrows button:hover {
  background: var(--brown);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide,
  .banner-slide > img {
    transition: none;
  }
}

@media (max-width: 720px) {
  .home-banner {
    height: 680px;
    min-height: 0;
  }

  .banner-slide > img {
    object-position: 61% center;
  }

  .banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248,245,240,.97) 0%, rgba(248,245,240,.88) 48%, rgba(248,245,240,.08) 100%);
  }

  .banner-content {
    left: 24px;
    right: 24px;
    top: 45%;
    width: auto;
  }

  .banner-content h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .banner-content > p:not(.eyebrow) {
    max-width: 310px;
  }

  .banner-controls {
    left: 24px;
    right: 24px;
    bottom: 25px;
  }
}
