/* Homepage: keep the original viewport-based minimum, then grow with the text. */
.hero-figma {
  height: auto;
  min-height: clamp(780px, 100svh, 900px);
  max-height: none;
}

@media (min-width: 769px) {
  .hero-figma {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figma__content {
    position: relative;
    right: auto;
    height: auto;
    margin-right: 420px;
    justify-self: right;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-figma {
    min-height: clamp(600px, 100svh, 900px);
  }

  .hero-figma__content {
    margin-right: 160px;
  }
}

@media (max-width: 768px) {
  .hero-figma {
    min-height: 100svh;
  }
}
