.hero {
  --hero-image-opacity: 1;
  isolation: isolate;
  min-height: min(840px, calc(100dvh - 110px));
  background: #253249;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  opacity: var(--hero-image-opacity);
  background: url("../images/hero-gold-editorial-v2.png") center / cover no-repeat;
  filter: saturate(0.92) contrast(1.06);
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, #253249 0%, #253249f5 35%, #253249b8 55%, #25324924 77%, #25324940 100%),
    linear-gradient(0deg, #253249bd 0%, transparent 34%);
}

.hero-signal {
  display: none;
}

.hero-layout {
  z-index: 2;
  width: 100%;
  grid-template-columns: minmax(0, 760px) minmax(120px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
  padding: clamp(76px, 10vh, 116px) 0 clamp(72px, 9vh, 104px);
}

.hero-copy {
  grid-column: 1;
  max-width: 760px;
}

.hero .eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 11px;
  color: var(--gold);
  background: #253249d9;
  border: 1px solid #f3bc485c;
  border-radius: 5px;
  box-shadow: 0 12px 32px #2532493d;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(48px, 7.7vw, 92px);
  line-height: 0.91;
  text-wrap: balance;
}

.hero h1 em {
  margin-top: 5px;
}

.hero-lead {
  max-width: 590px;
  color: #ffffffd9;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  flex-direction: row;
  align-items: center;
  margin-top: 34px;
}

.hero-actions .button {
  min-width: 190px;
}

.hero-aside {
  grid-column: 1;
  width: 100%;
  max-width: 720px;
  margin-top: -20px;
  padding-top: 22px;
  border-top-color: #ffffff33;
  justify-self: start;
}

.hero .hero-layout > .hero-aside {
  width: 100%;
  margin-inline: 0 auto;
  justify-self: start;
}

.hero-aside > p {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 15px;
}

.hero-aside dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.hero-aside dl > div {
  min-width: 0;
  padding: 0 18px;
  display: block;
  border-top: 0;
  border-left: 1px solid #ffffff24;
}

.hero-aside dl > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-aside dt {
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-aside dd {
  color: #ffffffb8;
  font-size: 13px;
}

@media (width < 880px) {
  .hero {
    --hero-image-opacity: 0.72;
    min-height: auto;
  }

  .hero::before {
    background-position: 64% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, #253249fa 0%, #253249e8 58%, #25324999 100%),
      linear-gradient(0deg, #253249ed 0%, transparent 46%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-aside {
    margin-top: 0;
  }
}

@media (width < 640px) {
  .hero {
    --hero-image-opacity: 0.48;
  }

  .hero::before {
    background-position: 68% center;
  }

  .hero::after {
    background: linear-gradient(90deg, #253249fa 0%, #253249e8 100%);
  }

  .hero-layout {
    gap: 40px;
    padding: 64px 0 72px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-aside dl {
    grid-template-columns: 1fr;
  }

  .hero-aside dl > div,
  .hero-aside dl > div:first-child {
    padding: 13px 0;
    border-top: 1px solid #ffffff1f;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: hero-image-settle 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes hero-image-settle {
  from {
    opacity: calc(var(--hero-image-opacity) * 0.78);
    filter: saturate(0.82) contrast(1.02) blur(5px);
    transform: scale(1.025);
  }

  to {
    opacity: var(--hero-image-opacity);
    filter: saturate(0.92) contrast(1.06) blur(0);
    transform: scale(1);
  }
}
