/* Life never started over. Static: one thread through every stage (vertical on phones, across on desktop).
   Motion: a sticky stage where one living form grows layer by layer and the copy below it reads the current stage. */
.evo { list-style: none; position: relative; display: grid; gap: 28px; }
.evo::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--delta), var(--synapse), var(--ember)); }
.evo li { position: relative; padding-left: 72px; display: grid; gap: 4px; min-height: 48px; }
.evo svg { position: absolute; left: 0; top: 0; width: 48px; height: 48px; padding: 6px; border-radius: 50%; background: var(--paper);
  border: 1px solid var(--line); overflow: visible; }
.evo svg * { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.evo .yr { font: 12px var(--mono); color: var(--dim); }
.evo b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.evo li > span:last-child { color: var(--dim); font-size: var(--fs-small); }
.evo .next svg { border-color: var(--delta); }
.evo .next svg * { fill: var(--delta); stroke: none; }
.evo .next b { color: var(--delta-text); }
@media (min-width: 1000px) {
  .evo { grid-template-columns: repeat(7, 1fr); gap: 20px; }
  .evo::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--delta), var(--synapse), var(--ember)); }
  .evo li { padding: 68px 0 0; align-content: start; }
}
#evoCv, .evo-year, .evo-rail, .evo-inside { display: none; }

.motion #evolve { padding: 0; }
/* Phones: the heading sits at the top of the window and the readout at the bottom, with the form between. */
.motion #evolve .evo-read .sec-head { margin: 0 0 auto; padding-top: 80px; }
.motion #evolve .evo-read .kicker { display: none; }
.motion #evolve .evo-read .lede { font-size: var(--fs-small); }
.motion .evo-pin { position: relative; height: 400svh; }
.motion .evo-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.motion #evoCv { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.motion .evo-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, var(--paper) 34%, transparent 50%); }
.motion .evo-read { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; }
.motion .evo-year { display: flex; flex-wrap: wrap; align-items: baseline; white-space: nowrap; gap: 10px; margin-bottom: 6px; font: 500 13px var(--mono); color: var(--dim); }
.evo-year b { font: 500 clamp(26px, 3.6vw, 44px)/1.1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--ink); }
.motion .evo { display: grid; grid-template-columns: 1fr; gap: 0; }
.motion .evo::before, .motion .evo svg, .motion .evo .yr { display: none; }
.motion .evo li { grid-area: 1 / 1; padding: 0; min-height: 0; opacity: 0; transform: translateY(10px);
  transition: opacity .45s, transform .55s var(--ease-out); }
.motion .evo li.on { opacity: 1; transform: none; }
.motion .evo b { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.motion .evo li > span:last-child { font-size: var(--fs-body); }
.motion .evo-rail { display: flex; align-items: center; margin-top: 18px; }
.evo-rail i { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--control); transition: background .3s, border-color .3s, box-shadow .3s; }
.evo-rail i + i { margin-left: 26px; }
.evo-rail i + i::before { content: ""; position: absolute; right: 100%; top: 3px; width: 26px; height: 1px; background: var(--line); }
.evo-rail i.past { background: var(--ink); border-color: var(--ink); }
.evo-rail i.past + i::before, .evo-rail i.past + i.past::before { background: var(--control); }
.evo-rail i.on { background: var(--delta); border-color: var(--delta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--delta) 25%, transparent); }
.motion .evo-inside { display: block; margin-top: 12px; font: 13px/1.5 var(--mono); color: var(--dim); min-height: 3em; }
.evo-inside span { color: var(--ink); }
@media (min-width: 900px) {
  .motion .evo-stage::before { background: linear-gradient(90deg, var(--paper) 20%, color-mix(in srgb, var(--paper) 60%, transparent) 34%, transparent 46%); }
  .motion .evo-read { justify-content: center; padding-top: 72px; padding-bottom: 16px; }
  .motion .evo-read > * { max-width: 480px; }
  .motion #evolve .evo-read .sec-head { margin: 0 0 36px; padding-top: 0; }
  .motion #evolve .evo-read .kicker { display: block; }
  .motion #evolve .evo-read .lede { font-size: calc(var(--fs-body) * 1.1); }
}
/* Short laptop screens: keep the label clear of the header by tightening the column. */
@media (min-width: 900px) and (max-height: 760px) {
  .motion #evolve .evo-read .sec-head { margin-bottom: 20px; }
  .motion #evolve .evo-read h2 { font-size: clamp(36px, 4.4vw, 52px); }
  .motion .evo-year b { font-size: clamp(24px, 3vw, 36px); }
  .motion .evo-rail { margin-top: 12px; }
}
