/* Homepage banner and a single entrance sequence. */
.group-hero.home-hero {
  padding: 24px 0 44px;
}

.home-hero-wrap {
  width: min(1320px, calc(100% - 48px));
}

.home-banner {
  overflow: hidden;
  border: 1px solid #d4af3740;
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 16px 38px #17181512;
  animation: jrh-banner-enter 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.home-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-conversion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 35px 24px 0;
}

.home-hero-heading,
.home-hero-next {
  min-width: 0;
}

.home-hero-intro {
  font-size: 9px;
  letter-spacing: .13em;
  animation: jrh-copy-enter 700ms 100ms both;
}

.home-hero h1 {
  margin: 15px 0 0;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.06;
  letter-spacing: -.06em;
}

.home-hero-line {
  display: block;
  animation: jrh-copy-enter 800ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: 180ms;
}

.home-hero-line + .home-hero-line {
  animation-delay: 300ms;
}

.home-hero p.home-hero-description {
  max-width: 570px;
  font-size: 14px;
  animation: jrh-copy-enter 750ms 360ms both;
}

.home-hero .funnel-hero-actions {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.home-hero .hero-actions .btn {
  padding: 14px 19px;
  gap: 20px;
  font-size: 12px;
  animation: jrh-copy-enter 650ms 440ms both;
}

.home-hero .hero-actions .btn:nth-child(2) {
  animation-delay: 520ms;
}

.home-hero .hero-actions .btn:nth-child(3) {
  animation-delay: 600ms;
}

@keyframes jrh-banner-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jrh-copy-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .home-hero-conversion {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 28px 12px 0;
  }

  .home-hero h1 {
    font-size: clamp(46px, 7vw, 64px);
  }

  .home-hero-line {
    display: inline-block;
    margin-right: .12em;
  }

  .home-hero-line + .home-hero-line {
    margin-right: 0;
  }

  .home-hero .funnel-hero-actions {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .group-hero.home-hero {
    padding: 16px 0 34px;
  }

  .home-hero-wrap {
    width: calc(100% - 28px);
  }

  .home-banner {
    border-radius: 12px;
  }

  .home-hero-conversion {
    gap: 24px;
    padding: 27px 10px 0;
  }

  .home-hero-intro {
    font-size: 8px;
    letter-spacing: .08em;
  }

  .home-hero h1 {
    font-size: clamp(40px, 12.3vw, 62px);
  }

  .home-hero-line {
    display: block;
    margin-right: 0;
  }

  .home-hero .funnel-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100%;
  }

  .home-hero .hero-actions .btn {
    width: 100%;
    min-height: 49px;
    padding: 14px 19px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner,
  .home-hero-intro,
  .home-hero-line,
  .home-hero-description,
  .home-hero .hero-actions .btn {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
