.growth-figure {
  --growth-rail: 3.3rem;
  display: grid;
  position: relative;
  min-width: 0;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cebd9e;
  border-radius: 1.1rem;
  background: #fbf7ee;
  box-shadow: 0 .6rem 1.8rem -.95rem #51432f55;
}
.growth-scene, .growth-steps { grid-area: 1 / 1; }
.growth-scene {
  position: relative;
  align-self: start;
  overflow: hidden;
  margin-bottom: var(--growth-rail);
  background: #dfc9ab;
}
.growth-scene img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: var(--growth-x, 50%) var(--growth-y, 50%);
}
.growth-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 76% at var(--growth-x, 50%) var(--growth-y, 50%), transparent 42%, #44321926);
}
.growth-figure[data-stage="0"] { --growth-x: 19%; --growth-y: 69%; }
.growth-figure[data-stage="1"] { --growth-x: 47%; --growth-y: 50%; }
.growth-figure[data-stage="2"] { --growth-x: 78%; --growth-y: 41%; }
.growth-figure[data-stage] .growth-scene::after { opacity: 1; }
.growth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
.growth-step {
  display: flex;
  align-items: end;
  justify-content: stretch;
  min-width: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.growth-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  height: var(--growth-rail);
  border-top: 2px solid transparent;
  font: 600 clamp(.76rem, 1.1vw, .88rem)/1.15 var(--font-sans, sans-serif);
  color: #334b3d;
  text-align: center;
}
.growth-step + .growth-step .growth-label { border-left: 1px solid #e2d9c9; }
.growth-step[aria-current="true"] .growth-label {
  color: #fffaf0;
  background: #254b3d;
  border-top-color: #c49a5c;
}
.growth-step:focus-visible { outline: 3px solid #23483b; outline-offset: -4px; }
.growth-step:focus-visible .growth-label { text-decoration: underline; text-underline-offset: .25em; }
@media (hover: hover) {
  .growth-step:hover .growth-label { border-top-color: #95643e; background: #ece6d7; color: #273f32; }
  .growth-step[aria-current="true"]:hover .growth-label { background: #234637; color: white; }
}
@media (prefers-reduced-motion: no-preference) {
  .growth-scene img { transition: transform .5s ease-out, transform-origin .5s ease-out; }
  .growth-figure[data-stage] .growth-scene img { transform: scale(1.018); }
  .growth-scene::after { transition: opacity .35s ease; }
  .growth-label { transition: color .18s, background-color .18s, border-color .18s; }
}
@media (max-width: 420px) {
  .growth-figure { --growth-rail: 2.95rem; }
}
