.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: #282a30;
  color: white;
  isolation: isolate;
}

.hero__media,
.hero__media picture,
.hero__media img,
.hero__veil,
.hero__rings {
  position: absolute;
  inset: 0;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 20%;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 58%) 45%, rgb(0 0 0 / 14%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 54%) 0%, transparent 48%);
}

.hero__rings {
  z-index: 2;
  opacity: 0.12;
  background:
    radial-gradient(circle at 0 100%, transparent 0 10rem, rgb(229 57 53 / 80%) 10.05rem 10.12rem, transparent 10.17rem 18rem, rgb(229 57 53 / 48%) 18.05rem 18.12rem, transparent 18.17rem),
    radial-gradient(circle at 100% 0, transparent 0 8rem, rgb(229 57 53 / 62%) 8.05rem 8.12rem, transparent 8.17rem 15rem, rgb(229 57 53 / 35%) 15.05rem 15.12rem, transparent 15.17rem);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1fr) minmax(27rem, 30rem);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vh, 4.5rem) 2rem;
}

.hero__copy {
  max-width: 43rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.15rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  width: 1.75rem;
  height: 0.125rem;
  border-radius: var(--radius-pill);
  background: #ff7a77;
  content: "";
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.25rem, 5.4vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 strong,
.hero h1 em {
  color: #ff7a77;
  font-style: normal;
}

.hero__lead {
  max-width: 31rem;
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.68;
}

.hero__mobile-actions { display: none; }

.hero-stats {
  display: grid;
  width: min(100%, 37rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  padding: 1rem 1.125rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 1.375rem;
  background: rgb(12 13 16 / 54%);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-stats > div {
  min-width: 0;
  padding-inline: 1.25rem;
}

.hero-stats > div:first-child {
  padding-left: 0;
}

.hero-stats > div:last-child {
  padding-right: 0;
}

.hero-stats > div + div {
  border-left: 1px solid rgb(255 255 255 / 24%);
}

.hero-stats dt {
  margin-bottom: 0.35rem;
  color: white;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-stats dd {
  max-width: none;
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero__form-wrap {
  width: 100%;
  max-width: 30rem;
  justify-self: end;
}

@media (max-width: 70rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(25rem, 27rem);
    gap: 2rem;
  }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
}

@media (max-width: 54rem) {
  .hero { min-height: auto; }
  .hero__inner {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 25rem);
    padding-block: 3.25rem;
  }
  .hero-stats { width: min(100%, 32rem); }
  .hero-stats > div { padding-inline: 0.8rem; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats > div:last-child { padding-right: 0; }
}

@media (max-width: 60rem) {
  .hero {
    min-height: auto;
    padding-top: var(--header-height);
    background: var(--color-ink);
  }

  .hero__media,
  .hero__veil,
  .hero__rings {
    height: 100svh;
  }

  .hero__media img { object-position: center 20%; }
  .hero__veil {
    background:
      linear-gradient(0deg, #202124 0%, rgb(32 33 36 / 88%) 20%, rgb(0 0 0 / 8%) 62%),
      linear-gradient(90deg, rgb(0 0 0 / 48%) 0%, transparent 76%);
  }

  .hero__inner {
    display: block;
    padding-block: 0 2rem;
  }

  .hero__copy {
    display: flex;
    min-height: calc(100svh - var(--header-height));
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(4.5rem, 12svh, 6.5rem) 0 max(1.25rem, env(safe-area-inset-bottom));
  }

  .hero h1 { max-width: 9.5ch; margin-bottom: 1rem; font-size: clamp(3rem, 13vw, 4.8rem); }
  .hero__lead { max-width: 29rem; font-size: 0.9375rem; }
  .hero__mobile-actions { display: flex; flex-wrap: wrap; gap: 0.875rem 1.25rem; align-items: center; margin-top: 1.5rem; }
  .hero__phone { color: white; font-size: 0.9375rem; font-weight: 700; }
  .hero-stats { width: 100%; margin-top: 1.75rem; padding: 0.875rem 0.75rem; }
  .hero-stats > div { padding-inline: 0.7rem; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats > div:last-child { padding-right: 0; }
  .hero-stats dd { font-size: 0.6875rem; }

  .hero__form-wrap {
    max-width: none;
    margin-top: clamp(2rem, 8vw, 3rem);
    scroll-margin-top: calc(var(--header-height) + 1rem);
  }
}

@media (max-width: 60rem) and (max-height: 44rem) {
  .hero__copy {
    padding-top: 3.5rem;
    padding-bottom: 1rem;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.65rem, 12vw, 3.45rem);
    line-height: 0.96;
  }

  .hero__lead {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero__mobile-actions { margin-top: 1rem; }
  .hero-stats { margin-top: 1rem; }
}

@media (max-width: 24rem) {
  .hero-stats { padding-inline: 0.625rem; }
  .hero-stats > div { padding-inline: 0.5rem; }
  .hero-stats dt { font-size: 1.25rem; }
  .hero-stats dd { font-size: 0.625rem; }
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
