.hero.hero--invitation {
  isolation: isolate;
  align-items: flex-end;
  min-height: calc(100svh + 4px);
  height: auto;
  background: #0d1114;
}

.hero--invitation picture {
  position: absolute;
  inset: 0;
}

.hero--invitation .hero__bg {
  object-position: 52% center;
}

.hero--invitation .hero__scrim {
  background:
    linear-gradient(180deg, rgba(5, 8, 10, .08) 0%, rgba(5, 8, 10, .04) 35%, rgba(5, 8, 10, .44) 62%, rgba(5, 8, 10, .9) 100%),
    linear-gradient(90deg, rgba(5, 8, 10, .28) 0%, rgba(5, 8, 10, 0) 72%);
}

.hero--invitation .hero__copy {
  width: 100%;
  max-width: 560px;
  gap: 0;
  padding: 0 20px 32px;
}

.hero--invitation .hero__title {
  max-width: none;
  color: #fff;
  font-size: clamp(31px, 8.7vw, 40px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .96;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .22);
}

.hero--invitation .hero__title > span {
  display: block;
}

.hero--invitation .hero__title-payoff {
  margin-top: .27em;
}

.hero--invitation .hero__title-accent {
  color: var(--color-solder-orange);
}

.hero--invitation .hero__sub {
  max-width: 430px;
  margin-top: 19px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 23px;
}

.hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: 999px;
  font-family: var(--font-suisse-intl-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.hero__action:active {
  transform: scale(.98);
}

.hero__action--primary {
  min-width: 204px;
  padding: 0 28px;
  background: var(--color-solder-orange);
  color: #111;
  box-shadow: 0 12px 34px rgba(255, 108, 47, .2);
}

.hero__action--primary:hover,
.hero__action--primary:focus-visible {
  background: #ff8150;
}

.hero__action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .hero.hero--invitation {
    align-items: stretch;
    min-height: calc(100vh + 4px);
    height: calc(100vh + 4px);
  }

  .hero--invitation .hero__bg {
    object-position: center 48%;
  }

  .hero--invitation .hero__scrim {
    background:
      linear-gradient(90deg, rgba(5, 8, 10, .78) 0%, rgba(5, 8, 10, .54) 32%, rgba(5, 8, 10, .12) 61%, rgba(5, 8, 10, 0) 76%),
      linear-gradient(180deg, rgba(5, 8, 10, .05) 55%, rgba(5, 8, 10, .28) 100%);
  }

  .hero--invitation .hero__copy {
    justify-content: center;
    max-width: 780px;
    padding: 132px 48px 70px clamp(48px, 6vw, 96px);
  }

  .hero--invitation .hero__title {
    max-width: 620px;
    font-size: clamp(42px, 4vw, 58px);
    line-height: .95;
  }

  .hero--invitation .hero__sub {
    margin-top: 25px;
    font-size: 17px;
  }

  .hero__actions {
    gap: 13px;
    margin-top: 29px;
  }

  .hero__action {
    min-height: 62px;
    padding: 0 30px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 999px;
    font-size: 15px;
  }

  .hero__action--primary {
    min-width: 220px;
    border-color: var(--color-solder-orange);
  }
}

@media (max-width: 370px) {
  .hero--invitation .hero__copy {
    padding-inline: 17px;
    padding-bottom: 24px;
  }

  .hero--invitation .hero__title {
    font-size: 30px;
  }

  .hero--invitation .hero__sub {
    margin-top: 15px;
    font-size: 14px;
  }

  .hero__actions {
    margin-top: 18px;
  }

  .hero__action--primary {
    min-width: 190px;
    min-height: 56px;
    padding-inline: 22px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__action {
    transition: none;
  }
}
