.homepage-hero {
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-top: 19.3rem;
  padding-bottom: 13.6rem;
  position: relative;
}
@media (min-width: 1115px) {
  .homepage-hero {
    gap: 4.2rem;
  }
}
@media (min-width: 768px) {
  .homepage-hero.hero-on-hp {
    height: max(86vh, 700px);
    padding-block: 0;
    justify-content: center;
  }
}
.homepage-hero.app-padding {
  padding-left: 2.8rem;
  padding-right: 2.8rem;
}
@media (min-width: 1200px) {
  .homepage-hero.app-padding {
    padding-left: 5.8rem;
    padding-right: 5.8rem;
  }
}
@media (min-width: 1400px) {
  .homepage-hero.app-padding {
    padding-left: 20.8rem;
    padding-right: 20.8rem;
  }
}
.homepage-hero {
  /* Space Tech Expo hero: per-element vertical rhythm from the design */
}
@media (min-width: 1115px) {
  .homepage-hero.stacked-hero {
    gap: 0;
    padding-top: 13.6rem;
    padding-bottom: 14rem;
  }
  .homepage-hero.stacked-hero .hero-logo {
    width: 22rem;
  }
  .homepage-hero.stacked-hero .hero-title {
    padding-top: 0;
  }
  .homepage-hero.stacked-hero .hero-description {
    max-width: 70rem;
    padding-top: 3.2rem;
  }
  .homepage-hero.stacked-hero .hero-info-text {
    padding-top: 6.3rem;
  }
  .homepage-hero.stacked-hero .cta-btn {
    margin-top: 3.2rem;
    /* Shorter than the shared 1.8rem desktop button */
    padding-block: 1.2rem;
  }
}
.homepage-hero .hero-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.homepage-hero {
  /* --- Space Tech Expo variant: logo + date on one row --- */
}
.homepage-hero .hero-logo-row {
  display: flex;
  align-items: flex-end;
  gap: 1.9rem;
}
.homepage-hero .hero-date {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  line-height: normal;
  padding-bottom: 1rem;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-date {
    font-size: 2.4rem;
    padding-bottom: 3rem;
  }
}
.homepage-hero .hero-logo {
  width: 10.2rem;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-logo {
    width: 16rem;
  }
}
.homepage-hero .hero-title {
  font-size: 5rem;
  line-height: 4.9rem;
  font-weight: 400;
  max-width: 16ch;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-title {
    font-size: 12rem;
    line-height: 12rem;
  }
}
.homepage-hero .hero-title strong {
  background: linear-gradient(91deg, #64e275 -43.25%, #11b6bc 28.3%, #1776b1 99.85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.homepage-hero .hero-title {
  /* Three-part title: each part on its own line (gradient sits in the middle) */
}
.homepage-hero .hero-title.stacked-title {
  max-width: none;
}
.homepage-hero .hero-title.stacked-title > span,
.homepage-hero .hero-title.stacked-title > strong {
  display: block;
}
.homepage-hero .hero-description {
  line-height: 2.2rem;
}
@media (min-width: 768px) {
  .homepage-hero .hero-description {
    max-width: 45ch;
    line-height: normal;
  }
}
.homepage-hero .hero-info-text {
  font-size: 2.4rem;
  line-height: normal;
  text-transform: uppercase;
  font-weight: 700;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-info-text {
    font-size: 3rem;
  }
}
.homepage-hero .hero-info-text strong {
  display: block;
  background: linear-gradient(91deg, #64e275 -43.25%, #11b6bc 28.3%, #1776b1 99.85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-info-text strong {
    display: inline-block;
  }
}
.homepage-hero .hero-button {
  display: inline-block;
  padding: 0.9rem 0;
  border-radius: 0.2rem;
  position: relative;
  background: transparent;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  width: 11.7rem;
  text-align: center;
  z-index: 1;
}
@media (min-width: 1115px) {
  .homepage-hero .hero-button {
    width: 17rem;
    padding-block: 1.2rem;
  }
}
.homepage-hero .hero-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.2rem;
  background: linear-gradient(91deg, #64e275 -43.25%, #11b6bc 28.3%, #1776b1 99.85%);
  mask: inear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.homepage-hero .hero-button:hover::before {
  padding: 0;
  -webkit-mask: none;
  mask: none;
}
.homepage-hero .hero-button:hover {
  color: white;
}
