One link per chapter, in the same order
The script pairs the first [data-ssr-link] with the first [data-ssr-chapter], and so on. Give each chapter an id and point its link's href at it so the rail still works as plain anchors.
Keep names to one word
The rail column is a quarter of the width and the strip shows three or four names on a phone. Single words read best, and the hairline fits each label exactly.
One short headline per chapter
Each headline is one short statement. Lines are split once the page's fonts have loaded, and split again after a resize until they've risen, so the reveal always follows the real line breaks.
Eyebrow, second sentences and paired pictures are optional
It ships without them, and the styles are still in code.css. Add <p class="ssr_eyebrow"> at the top of the rail (it hides on the strip), <span class="ssr_soft"> after a headline's text for a quieter second sentence, or a .ssr_pair under a chapter's plate: two .ssr_side columns, each a .ssr_subhead and a .ssr_plate--small.
Give the last chapter some room
The last chapter becomes active once its bottom is on screen, so it lights up even when it's too short to reach the middle. Content after the section (a footer or a closing block) keeps the page from ending abruptly.