/* ── SCROLL REVEAL ── */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger grid */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}
.stagger-grid.revealed > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.04s;
}
.stagger-grid.revealed > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}
.stagger-grid.revealed > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.16s;
}
.stagger-grid.revealed > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}
.stagger-grid.revealed > *:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}
.stagger-grid.revealed > *:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.34s;
}
.stagger-grid.revealed > *:nth-child(7) {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}
.stagger-grid.revealed > *:nth-child(8) {
  opacity: 1;
  transform: none;
  transition-delay: 0.46s;
}

/* ── HERO BG GRID ── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(109, 191, 62, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 191, 62, 0.8) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 22s linear infinite;
}
@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 48px;
  }
}

/* ── LINE GROW ── */
.line-grow {
  display: block;
  height: 2px;
  background: var(--color-lime);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.line-grow.revealed {
  transform: scaleX(1);
}

/* ── HERO ENTRANCE ── */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-content .eyebrow {
  animation: hero-fade-up 0.6s ease-out 0.2s both;
}
.hero-content .hero-title {
  animation: hero-fade-up 0.6s ease-out 0.4s both;
}
.hero-content .hero-sub {
  animation: hero-fade-up 0.6s ease-out 0.6s both;
}
.hero-content .hero-actions {
  animation: hero-fade-up 0.6s ease-out 0.8s both;
}
.hero-content .hero-chips {
  animation: hero-fade-up 0.6s ease-out 1s both;
}
