main { position: relative; isolation: isolate; }
.year-thread { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: clip; pointer-events: none; }
.year-thread path { fill: none; stroke: url(#year-thread-colors); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.year-thread-base { display: none; }
.has-thread-gate [data-thread-state="waiting"] .chapter-line,
.has-thread-gate [data-thread-state="waiting"] .process-thread,
.has-thread-gate [data-thread-state="waiting"] .plan-route { visibility: hidden; }
.has-year-thread .chapter-line, .has-year-thread .process-thread, .has-year-thread .plan-route { stroke-width: 2.25; }
.has-year-thread #accounting .chapter-line, .has-year-thread #finale .chapter-line:first-of-type { visibility: hidden; }
.has-thread-gate [data-thread-state="arrived"] .chapter-line:not([data-thread-route]) { stroke-dasharray: 1; }
.thread-hit-target { fill: none; stroke: none; pointer-events: none; }
.year-thread-touch { fill: none; stroke: url(#year-thread-colors); stroke-width: 3; pointer-events: none; }
.has-year-thread .cover-exit-line, .has-year-thread .year-chapter::before { display: none; }
.has-year-thread .cover-header, .has-year-thread .cover-copy, .has-year-thread .cover-visual, .has-year-thread .cover-bottom,
.has-year-thread .gallery-shell, .has-year-thread .chapter-copy, .has-year-thread .chapter-art,
.has-year-thread .finale-copy, .has-year-thread .release-archive { position: relative; z-index: 2; }
.has-year-thread .chapter-night .chapter-copy, .has-year-thread .chapter-violet .chapter-copy { z-index: 2; }
.next-year { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 0; padding-top: 32px; overflow: clip; background: var(--paper); }
.has-year-thread .next-year:not([data-ending-state="open"]) { height: 0; padding-top: 0; }
.next-year-window { position: relative; z-index: 2; width: min(calc(100% - var(--page-gutter) * 2), 1200px); aspect-ratio: 1200 / 230; overflow: hidden; }
.next-year-art { position: absolute; inset: 0 auto auto 0; width: 100%; height: auto; }
.next-year-art text { fill: var(--brand); font-family: Manrope, sans-serif; font-size: 440px; font-weight: 600; letter-spacing: -.04em; }
.next-year-exit { position: absolute; inset-block: 0; left: calc(50% + min(2vw, 28px)); width: 3.5px; transform: translateX(-50%); background: var(--brand); }
.has-year-thread .next-year-exit { visibility: hidden; }
@media (min-width: 900px) {
    .has-year-thread .gallery-controls { column-gap: 64px; }
}
@media (max-width: 600px) {
    .year-thread path { stroke-width: 2.75; }
    .has-year-thread .chapter-line, .has-year-thread .process-thread, .has-year-thread .plan-route { stroke-width: 2; }
}
@media (prefers-reduced-motion: reduce) {
    .year-thread-base { display: block; opacity: 1; }
    .year-thread-ink, .year-thread-passage, .year-thread-future { display: none; }
    .has-thread-gate [data-thread-state="arrived"] .chapter-line { animation: none; stroke-dasharray: none; }
}
