.story { position: relative; padding-bottom: 14vh; }
.story .ic { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.st-h { text-align: center; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -.022em; padding: 16vh 24px 0; }
.st-note { width: min(42rem, calc(100% - 48px)); margin: 0 auto; text-align: center; font-size: 14px; color: var(--ink3); }
.st-label, .st-steps, .c1-meta, .c1-lines b, .c1-tasks .s, .c2 .src, .c2 .st, .c3-terms .r { font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* scroll mode: one pinned stage, three chapters taking turns */
.story:not(.static) .st-track { height: calc(var(--stage-h, 100svh) + var(--story-len, 660vh)); }
.story:not(.static) .st-stage { position: sticky; top: 0; height: var(--stage-h, 100svh); display: flex; flex-direction: column; padding: 92px 24px 4vh; }
.st-steps { display: flex; justify-content: center; gap: 30px; color: var(--ink3); }
.st-steps li { position: relative; padding-bottom: 10px; transition: color .3s; white-space: nowrap; }
.st-steps li.on { color: var(--ink); }
.st-steps i { position: absolute; inset: auto 0 0; height: 1px; background: var(--rule); }
.st-steps i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 0)); }
.st-chs { position: relative; flex: 1; margin-top: 3.5vh; }
.story:not(.static) .st-ch { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-bottom: 3vh; will-change: opacity, transform; }
.story:not(.static) .st-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.st-caps { position: relative; flex: none; height: 2.3em; font-size: clamp(24px, 2.7vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; text-align: center; }
.story:not(.static) .st-caps li { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; text-wrap: balance; }
.st-vis { position: relative; flex: none; display: flex; align-items: center; justify-content: center; margin-top: 24px; }
.st-vis::before { content: ""; position: absolute; inset: -6% -10%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(0 0 0 / .78), rgb(0 0 0 / .5) 60%, transparent); }
.st-fit { width: min(680px, 100%); flex: none; transform-origin: center; }
.st-fit.wide { width: min(940px, 100%); }

/* no script or reduced motion: every chapter, finished, one after another */
.story.static .st-steps { display: none; }
.story.static .st-ch { width: min(680px, calc(100% - 48px)); margin: 12vh auto 0; }
.story.static .st-label { color: var(--ink3); }
.story.static .st-caps { height: auto; margin-top: 12px; font-size: 22px; text-align: left; }
.story.static .st-caps li { display: inline; }
.story.static .st-vis { margin-top: 30px; }
.story.static .st-vis::before { display: none; }
.story.static .c2-loose, .story.static .c1-tasks .pick, .story.static .c3-scan { display: none; }
.story.static .st-note { margin-top: 12vh; }

/* 1 · after a call */
.c1 { position: relative; }
.c1-meta { display: flex; align-items: center; gap: 12px; color: var(--ink3); }
.c1-wave { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 18px; max-width: 220px; }
.c1-wave i { width: 2px; height: 2px; border-radius: 1px; background: var(--ink3); }
.c1-lines { margin-top: 18px; }
.c1-lines li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 6px 0; font-size: 19px; line-height: 1.4; }
.c1-lines b { padding-top: 7px; color: var(--ink3); }
.c1-lines span { color: rgb(244 244 242 / calc(1 - .45 * var(--dim, 1))); }
.c1-lines em, .c1-ghost { font-style: normal; border-radius: 4px; padding: 1px 4px; margin: -1px -4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-shadow: none; }
.c1-lines em { color: #000; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / calc(var(--w, 1) * 100%) 100%; }
.c1-ghost { position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap; font-size: 19px; line-height: 1.4; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.c1-tasks { margin-top: 34px; border-top: 1px solid rgb(255 255 255 / calc(.16 * var(--ln, 1))); }
.c1-tasks li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / calc(.16 * var(--ln, 1))); }
.c1-tasks .box { grid-row: 1 / span 2; width: 15px; height: 15px; border: 1.5px solid var(--ink2); border-radius: 50%; }
.c1-tasks .t { position: relative; justify-self: start; font-size: 18px; font-weight: 500; line-height: 1.3; }
.c1-tasks .m { grid-column: 2; font-size: 14px; color: var(--ink3); }
.c1-tasks .s { grid-column: 3; grid-row: 1 / span 2; display: grid; justify-items: end; align-items: center; color: var(--ink2); }
.c1-tasks .s > * { grid-area: 1 / 1; }
.c1-tasks .pick { display: flex; gap: 6px; opacity: 0; }
.c1-tasks .pick i { font-style: normal; padding: 7px 11px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); color: var(--ink2); text-shadow: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.c1-tasks .pick.on i.y { background: var(--ink); border-color: var(--ink); color: #000; transform: scale(1.06); }
.c1-tasks .drop .t::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: currentColor; transform-origin: left; transform: scaleX(var(--strike, 1)); }
.c1-tasks .drop { opacity: calc(1 - .5 * var(--gone, 1)); }
.c1-tasks .drop .box { border-style: dashed; }

/* 2 · every client ask */
.c2 { position: relative; display: flex; flex-direction: column; justify-content: center; }
.c2-list { width: min(680px, 100%); margin: 0 auto; }
.c2-list li { position: relative; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / calc(.16 * var(--ln, 1))); }
.c2-in { transform-origin: 0 0; will-change: transform, opacity; }
.c2-groups { display: none; }
.story:not(.static) .c2-groups { display: block; position: absolute; inset: 0; pointer-events: none; }
.c2-gh { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.c2-gh::after { content: ""; position: absolute; left: 0; bottom: -10px; width: var(--gw, 200px); height: 1px; background: var(--rule); }
.c2-list li:first-child { border-top: 1px solid rgb(255 255 255 / calc(.16 * var(--ln, 1))); }
.c2-in { width: fit-content; max-width: calc(100% - 90px); }
.c2 .src { display: flex; align-items: center; gap: 8px; color: var(--ink3); }
.c2 .x2 { margin-left: -4px; color: var(--ink); opacity: var(--x2, 1); }
.c2 .ask { margin-top: 5px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.c2 .st { position: absolute; right: 0; top: 50%; translate: 0 -50%; color: var(--ink2); opacity: var(--stv, 1); }
.c2-loose > * { position: absolute; left: 0; top: 0; max-width: none; }
.story:not(.static) .c2 .ask { white-space: nowrap; }
.c2 .noise .ask { color: var(--ink2); font-weight: 400; }

/* 3 · a new contract */
.c3 { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 0 64px; align-items: center; }
.c3-doc { position: relative; padding: 22px 22px 18px; background: #EDEDE9; color: rgb(30 30 28 / calc(1 - .55 * var(--dg, 1))); border-radius: 3px; font-size: 9.5px; line-height: 1.5; text-shadow: none; box-shadow: 7px -7px 0 -1px #1d1d1c, 14px -14px 0 -2px #121211; will-change: transform; }
.c3-doc p + p { margin-top: 6px; }
.c3-doc b { font-weight: 600; }
.c3-title { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #111; margin-bottom: 10px; }
.c3-page { margin-top: 12px !important; text-align: right; font-size: 8.5px; color: rgb(30 30 28 / .5); }
.c3-hl { color: #000; border-radius: 2px; box-shadow: inset 0 0 0 100px rgb(0 0 0 / calc(.1 * var(--h, 1))); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c3-scan { position: absolute; left: -10px; right: -10px; top: 0; height: 2px; background: #000; box-shadow: 0 0 14px 3px rgb(255 255 255 / .9); opacity: 0; pointer-events: none; }
.c3-terms li { position: relative; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.c3-terms li:first-child { border-top: 1px solid var(--rule); }
.c3-terms .t { font-size: 18px; font-weight: 500; line-height: 1.3; }
.c3-terms .r { margin-top: 6px; color: var(--ink3); }
.c3-terms .none .t { color: var(--ink2); }
.c3-links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.c3-links circle { fill: var(--ink); }

@media (max-width: 859px) {
  .story:not(.static) .st-stage { padding: 76px 20px 3vh; }
  .st-steps { gap: 16px; }
  .st-caps { font-size: 23px; }
  .c1-lines li { grid-template-columns: 1fr; gap: 0; font-size: 17px; padding: 5px 0; }
  .c1-lines b { padding-top: 0; }
  .c1-ghost { font-size: 17px; }
  .c1-tasks .t, .c2 .ask, .c3-terms .t { font-size: 16px; }
  .c1-tasks .pick i { padding: 6px 9px; }
  .c3 { grid-template-columns: 1fr; gap: 22px; }
  .c3-doc { font-size: 8.5px; padding: 16px 16px 12px; box-shadow: 5px -5px 0 -1px #1d1d1c, 10px -10px 0 -2px #121211; }
  .c3-doc p + p { margin-top: 4px; }
  .c3-terms li { padding: 10px 0; }
}
@media (max-width: 380px) {
  .st-steps { gap: 10px; letter-spacing: .03em; }
}
