/* The base markup is the complete artwork. Reveal the folds only with motion enabled. */
.hero-motion-ready .n-origin {
  animation: n-unfold 630ms var(--ease-out) both;
}

.hero-motion-ready .n-plane-base {
  animation: n-unfold 1.25s var(--ease-out) .32s both;
}

.hero-motion-ready .n-plane-join {
  animation: n-connect 1.4s var(--ease-out) .94s both;
}

.hero-motion-ready .n-plane-rise {
  animation: n-unfold 1.65s var(--ease-out) 1.55s both;
}

.hero-motion-ready .n-forward {
  stroke-dasharray: 1 1;
  animation: n-trace 1.55s var(--ease-out) 1.95s both;
}

.hero-motion-ready .n-plane path {
  animation: n-light-shift 7s ease-in-out 3.5s infinite alternate both;
}

.hero-motion-ready .n-plane-rise path { animation-delay: 4.1s; }

.hero-motion-ready:not(.hero-motion-running) .n-art * { animation-play-state: paused; }

@keyframes n-unfold {
  from { clip-path: inset(100% 0 0); opacity: .3; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes n-connect {
  from { clip-path: inset(0 100% 0 0); opacity: .45; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes n-trace {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes n-light-shift {
  from { opacity: 1; }
  to { opacity: .82; }
}

.growth-enhanced .step-ground {
  clip-path: inset(var(--step-hidden, 0%) 0 0);
}

.growth-enhanced .growth-thread path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: var(--thread-remain, 0);
}

.growth-enhanced .growth-step:not(.is-grown) .step-art { opacity: 0; }
.growth-enhanced .growth-step:not(.is-grown) .step-copy { opacity: .91; }

.growth-enhanced .plant-tendril {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.growth-enhanced .plant-leaf {
  transform-box: fill-box;
  transform-origin: 38% 88%;
}

.growth-enhanced .growth-intro-arrived .section-heading,
.growth-enhanced .growth-intro-arrived > p {
  animation: intro-arrive 560ms var(--ease-out) both;
}

.growth-enhanced .is-grown:not(.is-settled) .step-art {
  animation: plant-wash 840ms var(--ease-out) both;
}
.growth-enhanced .is-grown:not(.is-settled) .plant-tendril {
  animation: tendril-grow 1.04s var(--ease-out) 180ms both;
}
.growth-enhanced .growth-step:first-child.is-grown:not(.is-settled) .plant-tendril {
  animation-delay: 380ms;
}
.growth-enhanced .is-grown:not(.is-settled) .plant-leaf {
  animation: plant-open 840ms var(--ease-out) 460ms both;
}
.growth-enhanced .is-grown:not(.is-settled) .plant-leaf-later {
  animation-delay: 660ms;
}
.growth-enhanced .growth-step:first-child.is-grown:not(.is-settled) .plant-leaf {
  animation-duration: 440ms;
  animation-delay: 40ms;
}
.growth-enhanced .is-grown:not(.is-settled) .plant-detail {
  animation: plant-detail-in 560ms var(--ease-out) 720ms both;
}
.growth-enhanced .is-grown:not(.is-settled) .step-copy {
  animation: copy-arrive 560ms var(--ease-out) 720ms both;
}
.growth-enhanced:not(.growth-is-visible) :is(.section-heading, .values-intro > p, .step-art, .plant-tendril, .plant-leaf, .plant-detail, .step-copy) {
  animation-play-state: paused;
}

@keyframes intro-arrive {
  from { opacity: .89; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes plant-wash {
  from { opacity: 0; }
  to { opacity: .17; }
}
@keyframes tendril-grow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes plant-open {
  from { opacity: 0; transform: scale(.25, .3) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes plant-detail-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes copy-arrive {
  from { opacity: .91; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-motion] *, [data-growth] * { animation: none !important; }
  [data-growth] .step-ground { clip-path: none !important; }
  [data-growth] .growth-thread path { stroke-dashoffset: 0 !important; }
  [data-growth] .growth-step .step-art { opacity: .17 !important; }
  [data-growth] .step-copy { opacity: 1 !important; }
  .hero-motion-ready .n-forward { stroke-dasharray: none; }
  [data-hero-motion] .hero-motion-toggle { display: none !important; }
}
