.hero {
  --top-gap: 20rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100svh;
  display: flex;
  position: relative;
  overflow-x: clip;
}

.hero .hero-container {
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0 0 5rem;
  display: grid;
  position: relative;
}

.hero .hero-glows {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.hero .hero-glow {
  --glow: 2, 132, 199;
  background: radial-gradient(ellipse closest-side, rgba(var(--glow), .1) 0%, rgba(var(--glow), .095) 45%, rgba(var(--glow), .06) 70%, rgba(var(--glow), .02) 88%, rgba(var(--glow), 0) 100%);
  will-change: transform;
  border-radius: 50%;
  width: 100rem;
  height: 60rem;
  position: absolute;
  bottom: 0;
}

.hero .hero-glow.is--1 {
  left: 0;
  transform: translate(-30%, 40%);
}

.hero .hero-glow.is--2 {
  right: 0;
  transform: translate(30%, 40%);
}

.hero .hero-lines {
  left: 50%;
  top: var(--top-gap);
  pointer-events: none;
  width: 100vw;
  height: auto;
  position: absolute;
  transform: translate(-50%);
}

.hero .hero-heading {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 80rem;
  display: flex;
}

.hero .hero-heading .hero-title {
  color: #0f172a;
  letter-spacing: -3.2px;
  text-align: center;
  font-family: Manrope;
  font-size: max(40px, min(7rem + 5px, 150px));
  font-weight: 500;
  line-height: 100%;
}

.hero .hero-heading .hero-desc {
  color: gray;
  text-align: center;
  letter-spacing: -.18px;
  width: 85%;
  font-size: max(12px, min(1.6rem + 2px, 40px));
  font-weight: 500;
}

.hero .hero-heading .hero-actions {
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.hero .hero-heading .hero-title, .hero .hero-heading .hero-desc, .hero .hero-heading .hero-actions, .hero .hero-meta > img {
  opacity: 0;
  visibility: hidden;
}

.hero .hero-meta {
  width: auto;
  height: 60vmin;
  padding-top: 5rem;
  position: relative;
}

.hero .hero-meta img {
  object-position: center center;
}

@media (orientation: landscape) and (height <= 900px) {
  .hero .hero-heading .hero-desc {
    width: 92rem;
  }
}

@media (orientation: portrait) {
  .hero .hero-container {
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 20rem 0 10rem;
  }

  .hero .hero-glow {
    display: none;
  }

  .hero .hero-meta {
    width: 100%;
    height: 100%;
    max-height: none;
    padding-top: 0;
    position: relative;
  }

  .hero .hero-meta img {
    object-position: center bottom;
    width: auto;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero .hero-lines {
    top: 0;
    transform: translate(-50%, -100%);
  }

  .hero .hero-heading {
    gap: 1.2rem;
    width: 100%;
    padding: 0 2.5rem;
  }

  .hero .hero-heading .hero-title {
    letter-spacing: -.1rem;
    font-size: 3.5rem;
    line-height: 105%;
  }

  .hero .hero-heading .hero-desc {
    letter-spacing: 0;
    width: 30rem;
    font-size: 1.2rem;
    line-height: 150%;
  }

  .hero .hero-heading .hero-actions {
    gap: 1rem;
    margin-top: .5rem;
  }
}
