/* V18 — first-view hero entrance motion for four approved pages only. */
@keyframes damei-hero-rise {
  from { opacity: 0; transform: translate3d(0, 34px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes damei-hero-slide {
  from { opacity: 0; transform: translate3d(-46px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes damei-logo-arrive {
  from { opacity: 0; transform: translate3d(-10px, 4px, 0) scale(.92); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes damei-dream-arrive {
  0% { opacity: 0; transform: translate3d(0, 28px, 0) scale(.72); }
  72% { opacity: 1; transform: translate3d(0, -5px, 0) scale(1.035); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes damei-sun-awaken {
  0% { opacity: 0; filter: brightness(.75) saturate(.85); }
  45% { opacity: .35; }
  100% { opacity: 1; filter: brightness(1) saturate(1); }
}

.hero-entry-home .hero-content > .eyebrow { animation: damei-hero-slide .72s cubic-bezier(.22, 1, .36, 1) .24s both; }
.hero-entry-home .hero-content > h1 { animation: damei-hero-slide .82s cubic-bezier(.22, 1, .36, 1) .38s both; }
.hero-entry-home .hero-content > .hero-copy { animation: damei-hero-rise .72s cubic-bezier(.22, 1, .36, 1) .58s both; }
.hero-entry-home .hero-content > .hero-actions { animation: damei-hero-rise .72s cubic-bezier(.22, 1, .36, 1) .72s both; }
.hero-entry-home .hero-content > .trust-row { animation: damei-hero-rise .72s cubic-bezier(.22, 1, .36, 1) .86s both; }

@keyframes damei-journey-step-in {
  0% { opacity: 0; scale: .58; }
  72% { opacity: 1; scale: 1.08; }
  100% { opacity: 1; scale: 1; }
}

@keyframes damei-journey-logo-in {
  from { opacity: 0; clip-path: circle(0 at 50% 46%); }
  to { opacity: .98; clip-path: circle(76% at 50% 46%); }
}

.hero-entry-home.hero-journey-replay .journey-node:nth-of-type(1) {
  animation: damei-journey-step-in .34s cubic-bezier(.2, .9, .3, 1.25) 1s both, float 5s ease-in-out 1.34s infinite;
}
.hero-entry-home.hero-journey-replay .journey-node:nth-of-type(2) {
  animation: damei-journey-step-in .34s cubic-bezier(.2, .9, .3, 1.25) 1.24s both, float 5s ease-in-out 1.58s infinite;
}
.hero-entry-home.hero-journey-replay .journey-node:nth-of-type(3) {
  animation: damei-journey-step-in .34s cubic-bezier(.2, .9, .3, 1.25) 1.48s both, float 5s ease-in-out 1.82s infinite;
}
.hero-entry-home.hero-journey-replay .journey-node:nth-of-type(4) {
  animation: damei-journey-step-in .34s cubic-bezier(.2, .9, .3, 1.25) 1.72s both, float 5s ease-in-out 2.06s infinite;
}
.hero-entry-home.hero-journey-replay .journey-node:nth-of-type(5) {
  animation: damei-journey-step-in .34s cubic-bezier(.2, .9, .3, 1.25) 1.96s both, float 5s ease-in-out 2.30s infinite;
}
.hero-entry-home.hero-journey-replay .journey-visual::after {
  animation: damei-journey-logo-in .40s cubic-bezier(.22, 1, .36, 1) 2.22s both, journey-logo-float 6s ease-in-out 2.62s infinite;
}

.hero-entry-training .v2-hero-copy > h1 {
  animation: damei-hero-slide .86s cubic-bezier(.22, 1, .36, 1) .08s both;
}
.hero-entry-training .v2-hero-copy > .eyebrow { animation: damei-hero-rise .62s cubic-bezier(.22, 1, .36, 1) .34s both; }
.hero-entry-training .v2-hero-copy > p { animation: damei-hero-rise .68s cubic-bezier(.22, 1, .36, 1) .46s both; }
.hero-entry-training .v2-hero-copy > .btn { animation: damei-hero-rise .68s cubic-bezier(.22, 1, .36, 1) .60s both; }
.hero-entry-training .garden-dream.b1 .skin { animation: damei-dream-arrive .72s cubic-bezier(.22, 1, .36, 1) .90s both; }
.hero-entry-training .garden-dream.b2 .skin { animation: damei-dream-arrive .72s cubic-bezier(.22, 1, .36, 1) 1.08s both; }
.hero-entry-training .garden-dream.b3 .skin { animation: damei-dream-arrive .72s cubic-bezier(.22, 1, .36, 1) 1.26s both; }
.hero-entry-training .garden-dream.b4 .skin { animation: damei-dream-arrive .72s cubic-bezier(.22, 1, .36, 1) 1.44s both; }

.hero-entry-ai main#top > .hero .hero-grid > div:first-child > .eyebrow { animation: damei-hero-slide .66s cubic-bezier(.22, 1, .36, 1) .08s both; }
.hero-entry-ai main#top > .hero .hero-grid > div:first-child > h1 { animation: damei-hero-slide .84s cubic-bezier(.22, 1, .36, 1) .22s both; }
.hero-entry-ai main#top > .hero .hero-grid > div:first-child > .lead { animation: damei-hero-rise .70s cubic-bezier(.22, 1, .36, 1) .44s both; }
.hero-entry-ai main#top > .hero .hero-grid > div:first-child > .hero-actions { animation: damei-hero-rise .70s cubic-bezier(.22, 1, .36, 1) .60s both; }
.hero-entry-ai main#top > .hero .hero-grid > div:first-child > .hero-note { animation: damei-hero-rise .70s cubic-bezier(.22, 1, .36, 1) .74s both; }
.hero-entry-ai .hero.hero-runner-banner .ai-hero-runner {
  animation: damei-runner-reveal .92s cubic-bezier(.16, 1, .3, 1) 1.38s both;
}

@keyframes damei-runner-reveal {
  from { opacity: 0; filter: blur(5px) brightness(1.06); }
  to { opacity: 1; filter: blur(0) brightness(1); }
}

.hero-entry-leadership .mountain-hero-content > .mountain-kicker { animation: damei-hero-slide .64s cubic-bezier(.22, 1, .36, 1) .08s both; }
.hero-entry-leadership .mountain-hero-content > h1 { animation: damei-hero-slide .86s cubic-bezier(.22, 1, .36, 1) .20s both; }
.hero-entry-leadership .mountain-hero-content > .mountain-subtitle { animation: damei-hero-rise .70s cubic-bezier(.22, 1, .36, 1) .44s both; }
.hero-entry-leadership .mountain-hero-content > .mountain-actions { animation: damei-hero-rise .70s cubic-bezier(.22, 1, .36, 1) .60s both; }
.hero-entry-leadership .mountain-hero-content > .mountain-context,
.hero-entry-leadership .mountain-hero-content > .stat-strip { animation: damei-hero-rise .72s cubic-bezier(.22, 1, .36, 1) .76s both; }
.hero-entry-leadership .mountain-hero > .mountain-hero-motion {
  animation: damei-sun-awaken 1.35s ease-out .92s both;
}

.hero-entry-iso .hero-network {
  opacity: 0;
  transition: opacity .78s ease;
}
.hero-entry-iso .hero-network .current,
.hero-entry-iso .hero-network .iso-float,
.hero-entry-iso .hero-network .energy-pulse,
.hero-entry-iso .hero-network::after {
  animation-play-state: paused !important;
}
.hero-entry-iso.hero-effects-ready .hero-network { opacity: 1; }
.hero-entry-iso.hero-effects-ready .hero-network .current,
.hero-entry-iso.hero-effects-ready .hero-network .iso-float,
.hero-entry-iso.hero-effects-ready .hero-network .energy-pulse,
.hero-entry-iso.hero-effects-ready .hero-network::after {
  animation-play-state: running !important;
}

@media (max-width: 640px) {
  @keyframes damei-hero-slide {
    from { opacity: 0; transform: translate3d(-28px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes damei-hero-rise {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-entry-home .hero-content > *,
  .hero-entry-home .journey-node,
  .hero-entry-home .journey-visual::after,
  .hero-entry-training .v2-hero-copy > *,
  .hero-entry-training .garden-dream.b1 .skin,
  .hero-entry-training .garden-dream.b2 .skin,
  .hero-entry-training .garden-dream.b3 .skin,
  .hero-entry-training .garden-dream.b4 .skin,
  .hero-entry-ai main#top > .hero .hero-grid > div:first-child > *,
  .hero-entry-ai .hero.hero-runner-banner .ai-hero-runner,
  .hero-entry-leadership .mountain-hero-content > *,
  .hero-entry-leadership .mountain-hero > .mountain-hero-motion,
  .hero-entry-iso .hero-network {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    scale: 1 !important;
    clip-path: none !important;
  }
  .hero-entry-iso .hero-network .current,
  .hero-entry-iso .hero-network .iso-float,
  .hero-entry-iso .hero-network .energy-pulse,
  .hero-entry-iso .hero-network::after {
    animation-play-state: paused !important;
  }
}
