/* Quiet, consistent chapter signatures over every home scene. */
.home-page .scene>.section-index{position:absolute;left:43px;bottom:24px;z-index:6;margin:0;font:10px/1.6 var(--site-font);letter-spacing:.09em;color:#aa98bd;text-shadow:0 1px 5px #0c0714,0 0 12px #0c0714;pointer-events:none}
.home-page .hero-bottom>.concept-note{transform:translateY(-24px)}
/* Fit the entire rail between the header and viewport bottom, including
   short laptop windows and landscape phones. Never clip its final chapter. */
.home-page .section-nav{--chapter-rail-height:min(calc(var(--chapter-count)*44px + (var(--chapter-count) - 1)*5px),calc(100dvh - 128px));height:var(--chapter-rail-height);top:max(50dvh,calc(104px + var(--chapter-rail-height)/2));grid-template-rows:repeat(var(--chapter-count),minmax(0,1fr));gap:clamp(0px,calc((var(--chapter-rail-height)/var(--chapter-count) - 20px)/4),5px)}
.home-page .section-nav>a{height:100%;min-height:0}
.home-page .section-nav>a>i{width:min(12px,calc(var(--chapter-rail-height)/var(--chapter-count)*.4));height:min(12px,calc(var(--chapter-rail-height)/var(--chapter-count)*.4))}
.home-page .section-nav>a.active>i{width:min(16px,calc(var(--chapter-rail-height)/var(--chapter-count)*.56));height:min(16px,calc(var(--chapter-rail-height)/var(--chapter-count)*.56))}
.home-page .section-nav>a.active::after{width:min(19px,calc(var(--chapter-rail-height)/var(--chapter-count)*.7));height:min(19px,calc(var(--chapter-rail-height)/var(--chapter-count)*.7))}
@media(max-width:700px){
 .home-page .scene>.section-index{left:23px;bottom:10px;font-size:8px;letter-spacing:.06em}
 .home-page .hero-bottom>.concept-note{transform:translateY(-16px)}
 .home-page .red-sky-chapter>.section-index{bottom:100px}
}
