/* The thread: the travelling dot (desktop), one element in a page-sized layer. */
/* The layer covers the page and clips at its edges: wherever the dot is, it never widens the page. */
.thread { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: clip; display: none; }
.thread-on .thread { display: block; }
/* --d is its full size, the hero's full stop (js/thread.js measures it); on the way it is half that. */
.thread .voice { position: absolute; left: 0; top: 0; width: var(--d, 30px); height: var(--d, 30px); margin: calc(var(--d, 30px) / -2) 0 0 calc(var(--d, 30px) / -2); will-change: transform; transition: opacity 0.15s ease; }
.thread .voice::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); }
/* Where it arrives at full size, it comes alive: one swell. */
.thread .voice.is-swelling::after { animation: voice-swell 0.42s ease-out; }
@keyframes voice-swell { 40% { scale: 1.16; } }
/* Between grounds the dot goes under the page, like a stitch: it shows only where it
   rides a ground, the dial or a horizon, rests on a station, or glides with no words
   beside it (there it would read as a bullet). */
.thread .voice.is-under { opacity: 0; }
/* While a screen borrows it, it covers that screen's own dot, which plays on unseen under
   it (js/thread.js follows its place and size): the one dot seen is always this one. */
.thread-on [data-thread].is-covered { opacity: 0; }
/* While the dot travels it is every screen's mark: the still ones step aside, and the
   close's full stop waits for it to land. */
.thread-on .stop { background: transparent; }
.thread-on .dial-mark { visibility: hidden; }
/* On a page with stations (js/station-thread.js, css/station.css), while the visitor is
   still at the top the first station is the dot, and this one waits unseen on it; on the
   first scroll it shows (its fade) and the station steps aside. */
.thread .voice.is-home { opacity: 0; transition: none; }
