.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #292a26;
  color: var(--ivory);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #292a26;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 190px;
  background: linear-gradient(180deg, #12130f70 0%, transparent 100%);
  pointer-events: none;
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.9);
  transform: translate3d(var(--hero-drift-x, 0px), var(--hero-drift-y, 0px), 0)
    scale(1.045);
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(0deg, #11120fc9 0%, #11120f6b 23%, transparent 61%),
    linear-gradient(90deg, #11120f3b 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: clamp(660px, 88svh, 920px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 190px;
  padding-bottom: clamp(72px, 9vw, 118px);
}

.hero-kicker {
  color: #eeeae1;
  margin: 0 0 21px;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font: 400 clamp(58px, 7.1vw, 96px) / 0.93 var(--serif);
  letter-spacing: -0.05em;
}

.hero h1 em {
  color: #d4ddcd;
  font-weight: 400;
}

.hero-copy {
  max-width: 445px;
  margin: 22px 0 26px;
  color: #f0eee7;
  font-size: 13px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero .button {
  background: var(--sage);
  color: var(--paper);
}

.hero .button:hover {
  background: var(--forest);
}

.hero .text-link {
  color: var(--paper);
  border-color: #ffffff80;
}

.hero .text-link:hover {
  color: #d4ddcd;
  border-color: var(--sage-light);
}

.hero-badges {
  position: absolute;
  z-index: 3;
  right: max(var(--gutter), calc((100vw - var(--page)) / 2));
  bottom: 28px;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  position: relative;
  isolation: isolate;
  display: flex;
  width: clamp(84px, 8.2vw, 104px);
  height: clamp(84px, 8.2vw, 104px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #f4f0e6a8;
  border-radius: 50%;
  background: #17171535;
  color: var(--ivory);
  text-align: center;
  backdrop-filter: blur(3px);
}

.hero-badges li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  border: 1px solid #f4f0e638;
  border-radius: 50%;
}

.hero-badges .badge-mark {
  color: var(--sage-light);
  font-size: 12px;
  line-height: 1;
}

.hero-badges strong {
  font: 500 9px / 1.1 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-badges li > span:last-child {
  max-width: 75px;
  color: #f4f0e6d9;
  font: 400 8px / 1.2 var(--sans);
}

@media (max-width: 740px) {
  .hero-content {
    min-height: max(650px, 88svh);
    padding-top: 150px;
    padding-bottom: 78px;
  }

  .hero-visual::before {
    height: 150px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero::after {
    background: linear-gradient(
      0deg,
      #11120fd9 0%,
      #11120f7c 32%,
      transparent 72%
    );
  }

  .hero-kicker {
    max-width: 245px;
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 540px;
    padding-bottom: 15px;
    font-size: clamp(54px, 13vw, 78px);
    margin-bottom:15px;
  }

  .hero-copy {
    max-width: 345px;
    margin: 20px 0 23px;
    padding-top: 10px;
  }

  .hero-actions {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transform: none;
    transition: none;
    will-change: auto;
  }
}