/* Homepage hero story animation — chaos → connected */

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero-visual-story {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.hero-story-mount {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-story-mount .hero-story-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.hero-story-mount.is-ready .hero-story-svg {
  filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.12));
}

.hero-story-fallback {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

.hero-story-mount.is-ready .hero-story-fallback {
  display: none;
}

/* Reduced motion: show final frame via JS; hide flying clones */
@media (prefers-reduced-motion: reduce) {
  .hero-story-mount .hero-story-svg [id^="hs-fly-"] {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }

  .hero-subtitle,
  .hero-name-meaning {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual-story {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    padding-top: 6rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}
