/* event log — sticky timeline rail with tick marks, repository masthead, numbered records */
.event-log__tick::before {
    content: "";
    position: absolute;
    top: 0.65rem;
    left: 0;
    width: 1rem;
    border-top: 2px solid currentColor;
    opacity: 0.5;
}

.event-log__record,
.event-log__mast {
    scroll-margin-top: 2rem;
}

/* The rail links glide to their record instead of jumping; off for visitors who limit motion. */
@media (prefers-reduced-motion: no-preference) {
    html:has(.event-log) {
        scroll-behavior: smooth;
    }
}

