/* Keep the capability map centered on the Flower of Life across breakpoints. */
.hero-v3 .constellation {
  container-type: size;
  align-self: center;
}

.hero-v3 .flower-layer {
  inset: 0;
  display: block;
  overflow: visible;
}

.hero-v3 .flower-art {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(116cqh, 830px);
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .hero-v3 .flower-art {
    width: min(105cqh, 830px);
  }
}

@media (max-width: 820px) {
  .hero-v3 .flower-art {
    width: min(108cqh, 830px);
  }
}

.hero-v3 .orb-a {
  left: 50%;
  top: calc(50% - 32cqh);
}

.hero-v3 .orb-b {
  left: calc(50% + 27.7cqh);
  top: calc(50% - 16cqh);
}

.hero-v3 .orb-c {
  left: calc(50% + 27.7cqh);
  top: calc(50% + 16cqh);
}

.hero-v3 .orb-d {
  left: 50%;
  top: calc(50% + 32cqh);
}

.hero-v3 .orb-e {
  left: calc(50% - 27.7cqh);
  top: calc(50% + 16cqh);
}

.hero-v3 .orb-f {
  left: calc(50% - 27.7cqh);
  top: calc(50% - 16cqh);
}

/* Let the homepage's warm ambient light travel with its full content. */
.main-home {
  background-color: #080809;
  background-image:
    radial-gradient(ellipse 72% 560px at 82% 26%, rgba(185, 122, 43, 0.19), transparent 78%),
    radial-gradient(ellipse 68% 520px at 12% 65%, rgba(143, 83, 28, 0.17), transparent 80%),
    radial-gradient(ellipse 72% 520px at 88% 94%, rgba(185, 122, 43, 0.14), transparent 78%),
    linear-gradient(#080809, #080809);
  background-attachment: scroll;
}

.main-home .feature-showcase {
  background: linear-gradient(180deg, rgba(9, 9, 10, 0.88), rgba(8, 8, 9, 0.9));
}

/* Keep the reference's roomy two-column desktop hero, but size its copy from
   the available grid track instead of a viewport-derived inset. */
@media (min-width: 821px) {
  .hero-v3 .hero-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-left: clamp(24px, 2.5vw, 48px);
    padding-right: clamp(24px, 2.5vw, 48px);
  }
}

/* Ease the type ramp as the two-column layout approaches tablet width. */
@media (min-width: 821px) and (max-width: 1100px) {
  .hero-v3 h1 {
    font-size: clamp(46px, 5.7vw, 62px);
  }

  .hero-v3 h2 {
    font-size: clamp(19px, 2.15vw, 24px);
  }
}

/* Give the homepage's lower roadmap a deliberate, full-width rhythm. */
.home-roadmap {
  width: min(100% - 48px, 1240px);
  margin: 76px auto 56px;
  padding: 36px clamp(18px, 3vw, 44px) 42px;
}

.home-roadmap .section-intro {
  max-width: 780px;
  margin: 0 auto 20px;
}

.home-milestones {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-milestones .milestone:nth-child(5) {
  grid-column: 1 / -1;
  width: calc(50% - 7px);
  justify-self: center;
}

.home-roadmap > .btn {
  margin-top: 24px;
}

@media (max-width: 820px) {
  .home-roadmap {
    width: min(100% - 32px, 680px);
    margin: 56px auto 40px;
    padding: 28px 0 36px;
  }

  .home-milestones {
    grid-template-columns: 1fr;
  }

  .home-milestones .milestone:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 550px) {
  .home-roadmap {
    width: calc(100% - 26px);
    margin: 42px auto 28px;
    padding: 22px 0 30px;
  }

  .home-roadmap .section-intro {
    margin-bottom: 14px;
  }
}
