/* taste-skill layout.js - the small moments of the layout v4 heroes (references/layout-v4.md, section 3). Load it once, after system.js: Every loop runs through ui.loop (it rests off screen, carries the kit's pause button and restarts when the pointer enters its box); on a phone (under 640px), on kind other and on a place, and under reduced motion each shows its finished picture and holds. - [data-ly-word='["offices","pianos"]'] on a span.ly-word in the h1 (hero--word): one live word. The first word is in the markup; it changes every 2 s for two rounds, rests on the first, and plays a round again when the pointer enters the headline. The slot is as wide as the widest word (CSS grid, one cell), so a change never moves another word or breaks a line differently. - h1[data-ly-letters] (hero--word, hero--editorial): letters near the pointer take a heavier weight (+200), and a wider width (+10%) with data-ly-letters="wdth" on a face with a wdth axis (type.json "letters"). Fine pointers only; the h1 keeps one aria-label. - Lines locked: an h1 with a live word or letters keeps the lines it has at rest (a break where each line ends, then no wrapping), measured again on resize; a wider letter never re-breaks a line. - .ly-collage with two to four .ly-collage__set (hero--triptych): the sets crossfade every 2.8 s; nothing moves inside a set. - [data-ly-steps] on a box (a chat, a list, a status): it shows the finished picture first, holds it 1.8 s (data-ly-hold), then its [data-step] children arrive one by one 0.7 s apart (data-ly-steps="900" sets the step time) and it holds again; the pointer entering restarts it. - .ly-pic in an h1 (hero--editorial): a photograph set in the headline as a pill, whole on the first frame (layout.css), so nothing here; letters() leaves it whole. - .ly-spot (hero--product): the disc opens its spec card on a tap or Enter; hover and focus open it in CSS. Escape or a tap elsewhere closes it. - .ly-play[data-film="film.mp4"] (hero--film): plays the film in its frame with controls. Without data-film a