/* ==========================================================================
   SOLARIS — Home module
   ========================================================================== */

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: clamp(8px, 3vw, 36px) 0 24px;
}

.hero h1 {
  font-size: clamp(2.45rem, 9vw, 5.2rem);
  max-width: 13ch;
  margin: 18px 0 16px;
}

.hero-lede {
  max-width: 50ch;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Visual composition */
.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 219, 131, 0.75) 0%, rgba(184, 219, 131, 0) 70%);
  filter: blur(8px);
  animation: pulse 9s ease-in-out infinite;
}

.hero-art {
  width: min(100%, 420px);
  height: auto;
  overflow: visible;
}

.hero-art .stem {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: grow 1.8s var(--ease) 0.2s forwards;
}

.hero-art .leaf {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scale(0);
  animation: unfurl 1.2s var(--ease) forwards;
}

.hero-art .leaf-2 { animation-delay: 1.1s; }
.hero-art .leaf-3 { animation-delay: 1.4s; }

.hero-art .seed {
  animation: bob 8s ease-in-out infinite alternate;
}

.hero-art .seed-2 { animation-delay: -3s; }

.tag-1 { top: 2%; left: 0; animation-delay: 0s; }
.tag-2 { top: 34%; right: 0; animation-delay: -2.5s; }
.tag-3 { bottom: 14%; left: 0; animation-delay: -4.5s; }
.tag-4 { bottom: 0; right: 6%; animation-delay: -1.5s; }

/* Value strip */
.glance-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.glance-card {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.glance-card h3 {
  margin: 14px 0 6px;
  font-size: 1.25rem;
}

.glance-card p {
  margin: 0;
  font-size: 0.95rem;
}

@keyframes grow {
  to { stroke-dashoffset: 0; }
}

@keyframes unfurl {
  to { transform: scale(1); }
}

@keyframes bob {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* Tablet and up */
@media (min-width: 640px) {
  .glance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: two columns */
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .tag-1 { top: 8%; left: -4%; }
  .tag-2 { top: 40%; right: -4%; }
  .tag-3 { bottom: 12%; left: -2%; }
  .tag-4 { bottom: 2%; right: 2%; }
}
