/* watch.css - /watch/ round 3 (round 2 + polish): THE LIVING MOSAIC (page-local). Built from src/watch.src.css by src/build_watch.py (gold resolved there).
   Phone / no JS: one vertical reel of tiles (scroll-snap, the middle one breathes). watch.js adds .is-mosaic at 768px and up: every tile is placed
   absolutely by JS (a weighted partition of the viewport, edge to edge) and the list's gold background shows only as the 1px seams where tiles meet.
   .is-play = the dark room: the playing tile fills the screen under the YouTube player, the rest sit in a thin strip under a gold hairline.
   Every still is graded to one warm black (filter + multiply veil); hover/play lifts the grade. Reduced motion: no drift, no breathing.
   Round 3: dimming is a black veil on .lm-a (never tile opacity); threads near invisible at idle; 768-1100px = justified CSS rows
   (--w from the build, overrides the JS geometry); the play strip is a 16:9 snap row (min 160px) with gold arrows at every width;
   per-film --op / --z (object-position + zoom) keep burned-in titles out of frame.
   Round 4: hover / focus / first tap GROWS a tile to its whole 16:9 frame (.is-whole: no crop, zoom or drift) and the others slide
   aside: wide = the JS partition re-splits round it, 768-1100px = its row is frozen to px flex-bases and eased, phone = full-bleed 16:9.
   Round 5: stills are bar-cropped by the build and keep their own aspect (data-ar): a grown tile is exactly that aspect = the whole
   picture, zero crop (.is-whole contain in the mosaic). Resting crops use a hand-set focal point (--op); worded stills never drift or zoom.
   The re-split is FLIP (watch.js sets the final layout at once and animates transform only; .lm-in counter-scales the picture so
   it is never stretched); .is-settle pauses every other tile's drift; the veil is an opacity layer (composited); the black bar sits
   above the tiles (never over them); no native tooltip. */
.lm-sec{position:relative;max-width:100%;overflow-x:clip;background:#050506}
/* B2 final: the intro band (--bh, measured by watch.js) sits ABOVE the wall; wall = 100svh - nav - band, clamped 640..960 */
.lm-sec.is-wide{height:calc(var(--bh,124px) + clamp(640px,calc(100svh - var(--nav-h,76px) - var(--bh,124px)),960px));min-height:0}
.lm{--g:var(--gold, #b8975a);--seam:rgba(184,151,90,.55);--ease:cubic-bezier(.2,.8,.2,1);--glide:cubic-bezier(.22,1,.36,1);--S:118px;--grade:sepia(.3) saturate(.62) contrast(1.08) brightness(.68);position:relative;color:#ece8df}
.lm [hidden]{display:none!important}
html.lm-lock{overflow:hidden}
/* the top edge: title, threads, keys */
.lm-bar{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 24px;padding:20px 16px 14px}
.lm-h1{margin:0;font-family:var(--f-display);font-weight:500;font-size:clamp(1.55rem,1.1rem + 1.3vw,2.1rem);line-height:1.05;letter-spacing:-.005em;color:#fff}
.lm-threads{display:flex;gap:0 20px;margin:0 -16px;padding:0 16px;max-width:calc(100% + 32px);overflow-x:auto;scrollbar-width:none}
.lm-threads::-webkit-scrollbar{display:none}
/* round 7 F4 + 7b item 2: phone row fades out over its last 48 px (a clipped word dissolves, not cut); 48 px end padding lets the last word scroll clear */
.lm-thread{flex:none;font:inherit;font-size:.66rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--g);background:none;border:0;border-bottom:1px solid transparent;padding:12px 0 5px;cursor:pointer;white-space:nowrap;opacity:.8;transition:opacity .3s,color .3s,border-color .3s}
.lm-thread span{margin-left:.6em;color:rgba(236,232,223,.4);letter-spacing:.06em}
.lm-thread:hover,.lm-thread:focus-visible{opacity:1;border-bottom-color:var(--seam);outline:none}
.lm-thread[aria-pressed="true"]{opacity:1;color:#fff;border-bottom-color:var(--g)}
/* tiles: the phone reel (default) */
.lm .lm-tiles{list-style:none;margin:0;padding:6px 16px 48px;display:flex;flex-direction:column;gap:14px}
/* round 6a: no resting scale(.94) on the reel (it pulled every off-centre tile 10 px inside the 16 px gutter: edges 26-349 at 375);
   the middle tile still breathes by the veil + grade lift */
.lm-tile{position:relative;overflow:hidden;flex:none;height:min(64svh,calc((100vw - 32px) * 1.15));border-radius:2px;background:#0b0907;container-type:size;scroll-snap-align:center}
/* round 5: a worded / kept still is a shorter full-width band in the reel (its whole block shows), never letterboxed */
.lm:not(.is-mosaic) .lm-tile[data-keep]{height:min(64svh,calc((100vw - 32px) / var(--lo,1)))}
.lm-a{position:absolute;inset:0;z-index:5;border-radius:inherit;--veil:0}
.lm-a::before{content:"";position:absolute;inset:0;border-radius:inherit;background:#000;opacity:var(--veil);transition:opacity .6s ease;pointer-events:none}
/* dimming = a black veil over the whole tile, never opacity (opacity lets the seams and page show through) */
.lm.is-in:not(.is-mosaic):not(.is-play) .lm-tile:not(.is-mid) .lm-a{--veil:.52}
.lm.is-play .lm-tile:not(.is-cur) .lm-a{--veil:.5}
.lm.is-in.has-big:not(.is-mosaic):not(.is-play) .lm-tile:not(.is-big) .lm-a{--veil:.62}
.lm.is-in:not(.is-mosaic):not(.is-play) .lm-tile.is-big:not(.is-mid) .lm-a,.lm.is-in:not(.is-mosaic):not(.is-play) .lm-tile.is-big .lm-a{--veil:0}
.lm.is-play .lm-tile:not(.is-cur):hover .lm-a,.lm.is-play .lm-tile:not(.is-cur):focus-within .lm-a{--veil:0}
.lm-a:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--g)}
.lm-in{position:absolute;inset:0;overflow:hidden;transform-origin:var(--op,50% 50%)}
.lm-media,.lm-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:var(--grade);transition:filter .7s ease,opacity .8s ease}
.lm-media{object-position:var(--op,50% 50%);transform:scale(calc(1.04 * var(--z,1)));transform-origin:var(--op,50% 50%);will-change:transform;animation:lm-drift 24s ease-in-out calc(var(--i,0) * -1.9s) infinite alternate}
@keyframes lm-drift{from{transform:scale(calc(1.04 * var(--z,1))) translate(0,0)}to{transform:scale(calc(1.16 * var(--z,1))) translate(var(--dx,0),var(--dy,0))}}
.lm-vid{opacity:0;transform:scale(1.02)}
.lm-vid.is-on{opacity:1}
/* round 4: a grown tile shows the whole frame (watch.js eases the zoom/position change with WAAPI); .is-fit = the rare box that cannot be 16:9 */
.lm-tile[data-words] .lm-media{animation:none;transform:none}
.lm-tile.is-off .lm-media,.lm.is-settle .lm-tile:not(.is-hot) .lm-media{animation-play-state:paused}
.lm-tile.is-whole .lm-media{animation:none;transform:none}
.lm.is-mosaic .lm-tile.is-whole .lm-media{object-fit:contain;object-position:50% 50%}
.lm.is-mosaic.is-solo .lm-tile.is-whole .lm-media{object-fit:cover;object-position:var(--op,50% 50%)}
.lm-tile.is-whole .lm-vid{transform:none}
.lm-tile.is-fit .lm-media,.lm-tile.is-fit .lm-vid{object-fit:contain;background:#000}
/* phone: the first tap grows the tile to a full-bleed 16:9 (height set by watch.js), the reel slides; a second tap plays */
.lm:not(.is-mosaic):not(.is-play) .lm-tile{transition:transform .7s var(--ease),height .56s var(--glide),margin .56s var(--glide),border-radius .56s,opacity .16s ease}
.lm:not(.is-mosaic):not(.is-play) .lm-tile.is-big{margin:0 -16px;border-radius:0;transform:none}
.lm-tile::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(120% 90% at 50% 40%,rgba(60,38,14,.16),rgba(8,6,4,.5));mix-blend-mode:multiply;transition:opacity .7s}
.lm-tile::before{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;box-shadow:inset 0 0 0 1px var(--g);opacity:0;transition:opacity .5s}
.lm:not(.is-mosaic) .lm-tile.is-mid .lm-media,.lm:not(.is-mosaic) .lm-tile.is-big .lm-media,.lm:not(.is-mosaic) .lm-tile.is-mid .lm-vid,.lm-tile.is-hot .lm-media,.lm-tile.is-hot .lm-vid,.lm-tile.is-cur .lm-media{filter:sepia(.06) saturate(.95) contrast(1.03)}
.lm:not(.is-mosaic) .lm-tile.is-mid::after,.lm-tile.is-big::after,.lm-tile.is-hot::after,.lm-tile.is-cur::after{opacity:.35}
/* title + place along the bottom edge, in the two-doors hero type */
.lm-cap{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;flex-direction:column;gap:6px;margin:0;padding:48px 18px 16px;background:linear-gradient(rgba(5,5,6,0),rgba(5,5,6,.84));pointer-events:none}
.lm-cap b{font-family:var(--f-display);font-weight:500;font-size:clamp(1.15rem,7.5cqw,2.3rem);line-height:1.06;letter-spacing:-.005em;color:#fff;text-wrap:balance;transition:transform .6s var(--ease),opacity .5s}
.lm-cap i{display:flex;align-items:center;gap:10px;font-style:normal;font-size:.62rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:rgba(236,232,223,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:transform .6s var(--ease) .06s,opacity .5s .06s}
.lm-cap i::before{content:"";flex:none;width:22px;height:1px;background:var(--g)}
.lm-svg{display:none}
/* the mosaic (JS, >= 768px) */
.lm.is-mosaic{position:absolute;inset:0;overflow:hidden}
.lm.is-mosaic .lm-bar{position:absolute;left:0;right:0;top:0;z-index:20;align-items:center;padding:12px clamp(18px,2.2vw,32px) 12px;background:#050506;pointer-events:none;transition:opacity .5s}
.lm.is-mosaic .lm-bar>*{pointer-events:auto}
.lm.is-mosaic .lm-threads{margin:0 auto;padding:0;max-width:none;gap:0 26px}
.lm.is-mosaic .lm-tiles{position:absolute;inset:var(--bh,58px) 0 0;display:block;padding:0;background:var(--seam);transition:background-color 1.2s ease}
.lm.is-mosaic:not(.is-ready) .lm-tiles{background:#050506}
.lm.is-mosaic .lm-tile{position:absolute;left:0;top:0;height:0;width:0;border-radius:0;transform-origin:0 0;opacity:0;transition:opacity .9s ease calc(var(--i,0) * 45ms)}
.lm.is-mosaic.is-in .lm-tile{opacity:1}
.lm.is-mosaic.is-ready .lm-tile{transition-delay:0s;transition-duration:.5s}
.lm.is-mosaic .lm-tile.is-hot{z-index:3}
.lm.is-mosaic .lm-tile.is-hot::before{opacity:.9}
.lm.is-mosaic .lm-cap{padding:64px clamp(14px,4cqw,26px) clamp(12px,4cqh,22px)}
.lm.is-mosaic .lm-cap,.lm.is-mosaic .lm-cap b,.lm.is-mosaic .lm-cap i{opacity:0}
.lm.is-mosaic .lm-cap{transition:opacity .45s}
.lm.is-mosaic .lm-cap b,.lm.is-mosaic .lm-cap i{transform:translateX(-26px)}
.lm.is-mosaic .lm-tile.is-hot .lm-cap,.lm.is-mosaic .lm-tile.is-hot .lm-cap b,.lm.is-mosaic .lm-tile.is-hot .lm-cap i{opacity:1;transform:none}
.lm.is-mosaic .lm-cap b{font-size:clamp(1.05rem,6cqw,2.6rem)}
.lm.is-mosaic .lm-svg{display:block;position:absolute;left:0;top:var(--bh,124px);z-index:10;width:100%;height:calc(100% - var(--bh,124px));pointer-events:none;overflow:visible;transition:opacity .5s}
.lm-th{fill:none;stroke:var(--g);stroke-width:1;stroke-linecap:round;opacity:.07;transition:opacity .45s}
.lm-dot{fill:#050506;stroke:var(--g);stroke-width:1;opacity:.12;transition:opacity .45s}
.lm-th.is-hot{opacity:.35}
.lm-dot.is-hot{opacity:.35;fill:var(--g)}
html[data-fly="off"] .lm-svg,.lm[data-fly="off"] .lm-svg{display:none!important}
.lm.is-thread .lm-th:not(.is-hot),.lm.is-thread .lm-dot:not(.is-hot){opacity:.03}
.lm.is-settle .lm-svg{opacity:0;transition-duration:.12s}
/* the dark room: a film plays */
.lm.is-play{position:fixed;inset:0;z-index:300;background:#000}
.lm.is-play .lm-bar,.lm.is-play .lm-svg{opacity:0;pointer-events:none}
.lm.is-play .lm-svg{visibility:hidden}
.lm.is-play .lm-bar>*{pointer-events:none}
.lm.is-mosaic.is-play .lm-tiles{background:#000}
.lm.is-mosaic.is-play .lm-tile{cursor:pointer}
.lm.is-play .lm-tile.is-cur{z-index:6;opacity:1}
/* wide play strip: a 16:9 snap row (min 160px) instead of JS slivers; the playing tile is pinned full screen under the stage */
.lm.is-mosaic.is-play{--S:clamp(112px,14vh,140px)!important}
.lm.is-mosaic.is-play .lm-tiles{top:auto;height:var(--S);box-sizing:border-box;display:flex;flex-direction:row;align-items:stretch;gap:8px;padding:12px 56px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 56px;scrollbar-width:none}
.lm.is-mosaic.is-play .lm-tiles::-webkit-scrollbar{display:none}
.lm.is-mosaic.is-play .lm-tile:not(.is-cur){position:relative;flex:0 0 auto;width:auto!important;height:100%!important;min-width:160px;aspect-ratio:16/9;transform:none!important;scroll-snap-align:start}
.lm.is-mosaic.is-play .lm-tile.is-cur{position:fixed;left:0;top:0;width:100%!important;height:calc(100% - var(--S))!important;transform:none!important}
.lm.is-play .lm-cap{display:none}
.lm.is-play .lm-tile::before{display:none}
.lm-stage{position:fixed;left:0;top:0;right:0;bottom:var(--S);z-index:40;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .5s,visibility 0s linear .5s}
.lm.is-play .lm-stage{visibility:visible;transition:opacity .5s}
.lm-stage.is-on{opacity:1;pointer-events:auto}
.lm-stage__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s}
.lm-stage.has-poster .lm-stage__poster{opacity:1}
.lm.is-mosaic .lm-stage__poster{display:none}
.lm-stage iframe{position:absolute;inset:0;z-index:1;width:100%;height:100%;border:0;opacity:0;transition:opacity .8s ease}
.lm-stage.is-lit iframe{opacity:1}
.lm-grab{position:absolute;left:0;right:70px;top:0;z-index:3;height:56px;touch-action:none;display:none}
.lm-grab span{position:absolute;left:50%;top:10px;width:44px;height:1px;margin-left:-22px;background:var(--g);opacity:.8}
@media (hover:none){.lm-grab{display:block}}
.lm-close{position:absolute;right:14px;top:12px;z-index:4;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--seam);border-radius:50%;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;transition:border-color .2s,background .2s}
.lm-close:hover,.lm-close:focus-visible{border-color:var(--g);background:rgba(0,0,0,.8);outline:none}
.lm-close svg,.lm-next__x svg,.lm-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
/* title card on every film change */
.lm-card{position:absolute;left:clamp(18px,3.4vw,52px);bottom:clamp(64px,10vh,96px);z-index:2;display:flex;flex-direction:column;gap:10px;max-width:min(80%,34rem);margin:0;pointer-events:none;opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .8s var(--ease)}
.lm-card.is-on{opacity:1;transform:none}
.lm-card b{font-family:var(--f-display);font-weight:500;font-size:clamp(1.7rem,1rem + 2.4vw,3.4rem);line-height:1.04;color:#fff;text-shadow:0 2px 30px rgba(0,0,0,.7);text-wrap:balance}
.lm-card i{display:flex;align-items:center;gap:12px;font-style:normal;font-size:.68rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.8);text-shadow:0 1px 10px rgba(0,0,0,.8)}
.lm-card i::before{content:"";width:28px;height:1px;background:var(--g)}
/* Next: corner card after the film ends, auto-cuts after 3 s */
.lm-next{position:absolute;right:clamp(14px,2.4vw,32px);bottom:clamp(64px,10vh,96px);z-index:4;display:flex;align-items:stretch;border:1px solid var(--seam);background:rgba(0,0,0,.84);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .5s,transform .6s var(--ease)}
.lm-next.is-up{opacity:1;transform:none;pointer-events:auto}
.lm-next__go{display:flex;align-items:center;gap:14px;padding:8px 18px 8px 8px;border:0;background:none;color:#fff;font:inherit;text-align:left;cursor:pointer}
.lm-next__go img{width:128px;height:72px;object-fit:cover;flex:none}
.lm-next__go small{display:block;font-size:.6rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--g)}
.lm-next__go b{display:block;margin-top:4px;font-family:var(--f-display);font-weight:500;font-size:1.2rem;line-height:1.1;max-width:15rem}
.lm-next__go:hover b,.lm-next__go:focus-visible b{text-decoration:underline;text-decoration-color:var(--g);text-underline-offset:5px}
.lm-next__go:focus-visible{outline:none}
.lm-next__x{display:grid;place-items:center;width:44px;padding:0;border:0;border-left:1px solid rgba(255,255,255,.1);background:none;color:rgba(255,255,255,.7);cursor:pointer}
.lm-next__x:hover{color:#fff}
.lm-next__bar{position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--g);transform:scaleX(0);transform-origin:left}
.lm-next.is-run .lm-next__bar{transform:none;transition:transform 3s linear}
.lm-hair{position:fixed;left:0;right:0;bottom:var(--S);z-index:45;height:1px;background:var(--g);opacity:0;transform:scaleX(0);transform-origin:50% 50%;pointer-events:none;transition:transform .9s var(--ease),opacity .4s}
.lm.is-play .lm-hair{opacity:.9;transform:none;transition-delay:.12s}
.lm-arrow{display:none}
.lm.is-play .lm-arrow{position:absolute;bottom:0;z-index:46;display:grid;place-items:center;width:52px;height:var(--S);padding:0 0 env(safe-area-inset-bottom);border:0;background:linear-gradient(90deg,#000 55%,rgba(0,0,0,0));color:var(--g);cursor:pointer;transition:color .3s}
.lm-arrow--l{left:0}
.lm-arrow--r{right:0;transform:scaleX(-1)}
.lm-arrow:hover{color:#d8bd86}
.lm-arrow:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--g)}
.lm-arrow:disabled{color:rgba(184,151,90,.25);cursor:default}
.lm.is-play .lm-arrow svg{width:22px;height:22px;stroke-width:1}
.lm-fly{position:fixed;z-index:400;pointer-events:none;background:#000 center/cover no-repeat}
/* round 7 R2: 768-1100 px rows also get the medium player: the stage is fixed and centred (58 vw), a black moat behind it and its
   caption, the rows stay put under the ring veil */
.lm.is-rows .lm-tile.is-cur{border-radius:0;box-shadow:none}
.lm.is-rows .lm-stage::before{content:"";position:absolute;left:-24px;right:-24px;top:calc(-1 * var(--moat,64px));bottom:-60px;z-index:-1;border-radius:16px;background:#000;box-shadow:0 0 80px rgba(0,0,0,.8)}
/* phone: the strip is a horizontal snap row with gold hairline arrows */
/* round 6b: the medium player (JS mosaic > 1100 px): .is-ring = the clicked tile is a centred 16:9 player, the rest a dimmed living ring */
.lm.is-mosaic .lm-tile.is-cur{z-index:30}
.lm.is-ring .lm-tiles{background:#000}
.lm.is-ring .lm-svg{opacity:0;visibility:hidden}
.lm.is-ring .lm-tile.is-cur{border-radius:12px;background:#000;box-shadow:0 0 80px rgba(0,0,0,.8)}
.lm.is-ring .lm-tile:not(.is-cur){cursor:pointer}
.lm.is-ring .lm-tile:not(.is-cur) .lm-a{--veil:.55}
.lm.is-ring .lm-tile:not(.is-cur):hover .lm-a,.lm.is-ring .lm-tile:not(.is-cur):focus-within .lm-a{--veil:0}
.lm.is-ring .lm-stage{right:auto;bottom:auto;visibility:visible;transition:opacity .2s}
.lm.is-ring .lm-slot{position:absolute;inset:0;overflow:hidden;border-radius:12px}
.lm-load{display:none}
.lm.is-ring .lm-stage__poster{display:block;z-index:2;object-fit:contain;background:#000;border-radius:12px;pointer-events:none;transition:opacity .3s ease}
.lm.is-ring .lm-stage.is-lit .lm-stage__poster{opacity:0}
.lm.is-ring .lm-stage iframe{transition:opacity .3s ease}
/* round 8 item 2: the page's own progress bar is gone (YouTube's controls are the progress); the gold keeps one static 48 px accent under the player */
.lm.is-ring .lm-load{display:block;position:absolute;left:0;top:calc(100% + 6px);z-index:3;width:48px;height:2px;background:var(--g);pointer-events:none}
.lm.is-ring .lm-card{left:0;right:auto;top:calc(100% + 14px);bottom:auto;flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 12px;max-width:100%;transform:none;transition:opacity .3s ease}
.lm.is-ring .lm-card b{font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;color:var(--g);text-shadow:none}
.lm.is-ring .lm-card i{font-size:14px;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.35;color:rgba(236,232,223,.56);text-shadow:none}
.lm.is-ring .lm-card i::before{display:none}
/* round 6b close, WK12b-2a: the gold x sits beside the frame top right (outside it, its top level with the frame top), in the base dark disc (40 px, same hit box) so it reads over the lit ring tiles */
.lm.is-ring .lm-close{top:0;right:-52px;width:40px;height:40px;color:var(--g)}
.lm.is-ring .lm-close svg{width:20px;height:20px}
.lm.is-ring .lm-grab{display:none}
.lm.is-ring .lm-next{top:calc(100% + 12px);bottom:auto;right:0}
/* round 6b drag-scroll: a horizontal strip that overflows can be dragged with the mouse */
.lm-drag,.lm-drag *{cursor:grab!important}
.lm-drag.is-dragging,.lm-drag.is-dragging *{cursor:grabbing!important;user-select:none;-webkit-user-select:none}
.lm-rb>*{translate:var(--rb,0px) 0}
.lm-spring>*{transition:translate .3s cubic-bezier(.2,.8,.2,1)!important}
@media (max-width:899px){
  .lm.is-play{overflow:hidden}
  .lm.is-play .lm-bar{display:none}
  .lm.is-play .lm-tiles{position:absolute;left:0;right:0;bottom:0;height:var(--S);box-sizing:border-box;flex-direction:row;gap:8px;padding:12px 46px calc(12px + env(safe-area-inset-bottom));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 46px;scrollbar-width:none}
  .lm.is-play .lm-tiles::-webkit-scrollbar{display:none}
  .lm.is-play .lm-tile{flex:0 0 auto;height:100%;aspect-ratio:16/9;min-width:160px;transform:none;scroll-snap-align:start}
  .lm.is-play .lm-tile.is-cur::before{display:block;opacity:1}
  .lm.is-play .lm-arrow{width:42px}
  .lm-card{bottom:24px}
  .lm-next{left:16px;right:16px;bottom:16px}
  .lm-next__go{flex:1;min-width:0}
  .lm-next__go img{width:96px;height:54px}
  /* NEXT-FIT-2: (the x is 44 wide, height is the card's 70+); when the card sits at the CSS bottom edge (class set by showNext) the sentence is one line and the pick's title two, so the card clears the sentence at 320x568 */
  .lm-stage.nx-fb .lm-card em:not(:empty){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
  .lm-stage.nx-fb .lm-next__go b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
}
/* tablet (768-1100px): the JS partition makes slivers here, so the mosaic becomes justified rows: widths weighted by --w,
   min 240px, 1px gold seams, rows edge to edge; JS still drives hover/focus/threads/play (its inline geometry is overridden) */
@media (min-width:900px) and (max-width:1100px){
  .lm-sec.is-wide{height:auto;min-height:0}
  .lm.is-mosaic:not(.is-play){position:relative;inset:auto;overflow:visible}
  .lm.is-mosaic:not(.is-play) .lm-bar{position:relative;padding:18px 16px 14px;background:none}
  .lm.is-mosaic:not(.is-play) .lm-svg{display:none}
  .lm.is-mosaic:not(.is-play) .lm-tiles{position:relative;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:1px}
  .lm.is-mosaic:not(.is-play) .lm-tile{position:relative;flex:var(--w,1) 1 calc(var(--w,1) * 160px);min-width:min(240px,100%);width:auto!important;height:clamp(200px,27vw,290px)!important;transform:none}
  .lm.is-mosaic:not(.is-play) .lm-tile[data-keep]:not(.is-hot){min-width:min(100%,calc(var(--lo,1) * clamp(200px,27vw,290px)));max-width:calc(var(--hi,9) * clamp(200px,27vw,290px))}
  /* round 5: a hovered tile's row is set to px flex-bases at once by watch.js and FLIP-eased (transform only) */
  .lm.is-mosaic.is-ready:not(.is-play) .lm-tile{transition:opacity .5s ease}
}
@media (prefers-reduced-motion:reduce){
  .lm-media{animation:none;transform:scale(var(--z,1))}
  .lm-tile,.lm-tile.is-mid{transform:none}
  .lm-a::before,.lm-th,.lm-dot,.lm.is-mosaic .lm-tiles,.lm-arrow{transition-duration:.01s}
  .lm-tile,.lm-cap b,.lm-cap i,.lm-card,.lm-next,.lm-hair,.lm-stage,.lm-stage iframe{transition-duration:.01s}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile,.lm.is-mosaic.is-ready:not(.is-play) .lm-tile{transition-duration:.01s}
}
/* ===== BLOCK 5 v1 + v1.1 (/work/, Site design pass 10, 2026-10-29): wall chrome, plates, phone grid, photos, two sites ===== */
/* H6: the tile fade and the hover grow are the only motion (the still drift is off) */
.lm-media{animation:none}
.lm-sub{margin:8px 0 0;font-size:15px;line-height:1.4;color:#ece8df}
.lm-sub__touch{display:none}
.lm-ph{display:none;flex-direction:column;gap:6px;margin:0;padding:14px 0 0}
.lm-ph b{font-family:var(--f-display);font-weight:500;font-size:15px;line-height:1.2;color:#fff}
.lm-ph i{font-style:normal;font-size:11px;font-weight:600;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:rgba(236,232,223,.74)}
.lm .lm-thread{flex:none;font-size:11px;font-weight:600;line-height:1.2;letter-spacing:.12em;padding:8px 14px;color:#ece8df;background:rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.18);border-radius:999px;opacity:1}
.lm .lm-thread span{margin-left:.5em;color:inherit;opacity:.7;letter-spacing:.12em}
.lm .lm-thread:hover,.lm .lm-thread:focus-visible{border-color:rgba(255,255,255,.42);outline:none}
/* v1.1 R2: active pill = 1 px gold border + gold text, no underline */
.lm .lm-thread[aria-pressed="true"]{color:var(--g);border-color:var(--g)}
/* W2 + v1.1 R3: one plate per tile; .has-hot is set by JS from the tile under the pointer (never the wall's :hover; the overlays never set it) */
.lm.is-mosaic .lm-tile::after,.lm.is-mosaic .lm-tile.is-hot::after,.lm.is-mosaic .lm-tile.is-cur::after,.lm.is-mosaic .lm-tile.is-big::after{background:rgba(0,0,0,.15);mix-blend-mode:normal;opacity:1;transition:background-color .2s ease}
.lm.is-mosaic.has-hot:not(.is-play) .lm-tile::after{background:rgba(0,0,0,.65)}
.lm.is-mosaic.has-hot:not(.is-play) .lm-tile.is-hot::after{background:rgba(0,0,0,0)}
.lm.is-mosaic .lm-tile .lm-media,.lm.is-mosaic .lm-tile .lm-vid{filter:none}
/* B2 final: the wall starts under the band; a chip filter fades it out and back in (200 ms) while it re-partitions */
.lm.is-mosaic .lm-tiles{inset:var(--bh,124px) 0 0;transition:background-color 1.2s ease}
/* Fable 124 FINAL (work filter): a chip filters with the tiles themselves (scale .92 + opacity 0, 280 ms, then hidden = display:none, then the refill); ALL reverses it (watch.js filter()).
   Hover dims ONLY the other visible tiles to .55 over 160 ms, so a tile the filter hid (display:none) is never in the set; with no pointer over a tile every tile is at 1. */
@media (hover:hover){
  .lm.is-mosaic.is-ready:not(.is-play) .lm-tile{transition-duration:.16s}
  .lm:not(.is-play) .lm-tiles:has(.lm-tile:hover) .lm-tile:not(:hover){opacity:.55}
}
@media (min-width:1101px){
  /* B2 final: the intro band is its own black band above the wall (no scrim, nothing behind it, height = its content) */
  .lm.is-mosaic .lm-bar{display:flex;flex-wrap:wrap;align-items:center;gap:16px 48px;padding:32px 64px;background:#050506}
  .lm.is-mosaic .lm-h1{font-size:34px;line-height:1.1}
  .lm.is-mosaic .lm-sub{white-space:nowrap}
  .lm.is-mosaic .lm-threads{flex-wrap:wrap;gap:8px;margin:0 0 0 auto;padding:0;overflow:visible}
  .lm.is-ring .lm-bar{opacity:0}
  .lm.is-ring .lm-bar>*{pointer-events:none}
}
@media (min-width:1101px) and (max-width:1179px){.lm.is-mosaic .lm-bar{align-items:flex-start}.lm.is-mosaic .lm-threads{flex-basis:100%;margin-left:0}}
@media (min-width:900px) and (max-width:1100px){
  .lm.is-mosaic:not(.is-play) .lm-bar{flex-direction:column;align-items:flex-start;gap:16px;padding:32px 64px}
  .lm.is-mosaic .lm-h1{font-size:34px;line-height:1.1}
  .lm.is-mosaic .lm-threads{flex-wrap:wrap;gap:8px;margin:0;padding:0;overflow:visible}
}
/* P1-P4: under 900 px the films are a 2-column grid under a sticky chip row (no reel) */
@media (max-width:899px){
  .lm-sub__wide{display:none}
  .lm-sub__touch{display:inline}
  .lm:not(.is-mosaic):not(.is-play) .lm-bar{display:contents}
  .lm:not(.is-mosaic):not(.is-play) .lm-title{padding:20px}
  .lm:not(.is-mosaic) .lm-h1{font-size:30px;line-height:1.1}
  .lm:not(.is-mosaic) .lm-sub{font-size:15px} /* Fable 108 fix 3: phone floor 15 (was 14) */
  .lm:not(.is-mosaic):not(.is-play) .lm-threads{position:sticky;top:var(--nav-h,64px);z-index:30;display:flex;gap:8px;margin:0;padding:10px 20px;max-width:none;overflow-x:auto;background:#0b0b0b;scrollbar-width:none}
  .lm:not(.is-mosaic) .lm-threads.is-over{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),rgba(0,0,0,.55) calc(100% - 22px),rgba(0,0,0,.2) calc(100% - 12px),transparent calc(100% - 4px));mask-image:linear-gradient(90deg,#000 calc(100% - 32px),rgba(0,0,0,.55) calc(100% - 22px),rgba(0,0,0,.2) calc(100% - 12px),transparent calc(100% - 4px))}
  .lm:not(.is-mosaic):not(.is-play) .lm-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 20px 0}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile,.lm:not(.is-mosaic):not(.is-play) .lm-tile[data-keep]{height:auto!important;margin:0;overflow:visible;border-radius:0;background:none;container-type:normal;transform:none;transition:none}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile.is-lead{grid-column:1/-1}
  .lm:not(.is-mosaic):not(.is-play) .lm-in{position:relative;inset:auto;aspect-ratio:4/5;border-radius:4px;background:#0b0907}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile.is-lead .lm-in{aspect-ratio:16/9}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile .lm-media{filter:none;transform:none;animation:none}
  .lm:not(.is-mosaic):not(.is-play) .lm-tile::after,.lm:not(.is-mosaic):not(.is-play) .lm-tile::before{display:none}
  .lm.lm:not(.is-mosaic):not(.is-play) .lm-tile .lm-a,.lm.is-in:not(.is-mosaic):not(.is-play) .lm-tile:not(.is-mid) .lm-a{--veil:0} /* B2 final: full brightness on the phone grid, never a veil */
  .lm:not(.is-mosaic):not(.is-play) .lm-cap{display:none}
  .lm:not(.is-mosaic):not(.is-play) .lm-ph{display:flex}
}
/* S1 photos: >= 900 all six covers in one row (v1.1 R5), phone = a scroll row */
.wk-ph__head{padding:0 64px}
.wk-eyebrow{margin:0 0 14px;font:600 11px/1.4 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.wk-h2{font-size:44px;margin:0 0 28px}
.wk-ph .wk-strip{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0 64px}
.wk-cv{min-width:0}
.wk-cv__a{display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.wk-cv__a picture,.wk-cv__a img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:4px;background:#0b0b0d}
.wk-cv__a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.wk-cv__cap{display:block;margin-top:12px;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;color:rgba(236,232,223,.74)}
/* addendum A3: two lines always - line 1 the set name, line 2 "<n> photos" (no middle dot), 11 px caps, so all six align */
.wk-cv__cap>span{display:block;white-space:nowrap}
.wk-sites__go{margin-top:20px}
/* H budget: /work/ bands run tighter than home (40 px at >= 900, 48 below); the shared parts keep their markup and copy */
.wk-ph,.wk-sites,.lm-sec~.nb-textme{padding:40px 0}
@media (min-width:900px){
  /* the pairs keep home's desktop arrangement (desk + phone over its lower right) at a 300 px card, so the page fits H */
  
}
@media (max-width:899px){
  .wk-ph,.wk-sites,.lm-sec~.nb-textme{padding:48px 0}
  /* Fable 108 fix 4 (10-29): below 900 the two sites = home's two-column device-pair treatment (home.css TWO SITES + the narrow-card
     @container rule): two-up grid, 32 px gap, no rail; each card keeps the device pair, phone over the desktop's lower right. */
}
@container nbdev (max-width:394px){
}
/* fix 4 follow-up: in the 163 px two-up column at phone width the 22 px name "Structure Movers" (nbsp) ran past the card to the screen edge; 19 px fits */
@media (max-width:899px){
  .wk-ph__head{padding:0 20px}
  .wk-h2{font-size:32px}
  .wk-ph .wk-strip{padding:0 20px}
}
/* S1 lightbox: the set's photos in a grid (3-up, phone 2-up), X / Esc close, swipe or arrows = next / previous set */
html.wk-lock{overflow:hidden}
.wk-lb{position:fixed;inset:0;z-index:400;display:none;overflow-y:auto;overscroll-behavior:contain;background:#050506;color:#ece8df}
.wk-lb.is-on{display:block}
.wk-lb__bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:16px;padding:16px 64px;background:#050506}
.wk-lb__name{margin:0;font-family:var(--f-display);font-weight:500;font-size:28px;line-height:1.1}
.wk-lb__n{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(236,232,223,.74)}
.wk-lb__x{display:grid;place-items:center;width:44px;height:44px;margin-left:auto;padding:0;border:1px solid rgba(184,151,90,.55);border-radius:50%;background:none;color:#ece8df;cursor:pointer}
.wk-lb__x:hover,.wk-lb__x:focus-visible{border-color:var(--gold);outline:none}
.wk-lb__x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
.wk-lb__grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:8px 64px 64px}
.wk-lb__grid img{display:block;width:100%;height:auto;border-radius:4px;background:#0b0b0d}
@media (max-width:899px){
  .wk-lb__bar{padding:12px 20px}
  .wk-lb__name{font-size:22px}
  .wk-lb__grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 20px 40px}
}

/* PHOTO-GRID-1 (Fable thinking 140, spec v4.52): the Sherman set is three photos: one row of three equal-width tiles from 768, stacked full width under 768 */
.wk-lb[data-set="sherman"] .wk-lb__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:767px){
  .wk-lb[data-set="sherman"] .wk-lb__grid{grid-template-columns:minmax(0,1fr)}
}

/* v4.3 DENSITY RULE (Fable 113): < 600 ONE column, each tile full width minus the 20 px gutters at 16:9, 28 px apart; two across from 600 */
@media (max-width:599px){
  .lm:not(.is-mosaic):not(.is-play) .lm-tiles{grid-template-columns:minmax(0,1fr);gap:28px}
  .lm:not(.is-mosaic):not(.is-play) .lm-in{aspect-ratio:16/9}
}

/* Fable 115 FINAL 12:48 AM 10-30: FOUR pills (All / Real estate / Business / Around town; the one music film folded into Around town),
   11 px caps, 12 px side padding, 8 px gaps: all four fit at 390 on first paint; the scroll + right-edge fade stay only where they still don't (360) */
@media (max-width:899px){
  .lm:not(.is-mosaic):not(.is-play) .lm-threads{gap:8px;padding:10px 12px}
  .lm .lm-thread{font-size:11px;padding:8px 12px;letter-spacing:.08em}
}

/* NEVER-UPSCALE (Fable 115, DPR 2): the film stills are 1280x720 at most (maxres; 607-720 px tall), so 600-899 two-across tiles are 16:9 boxes, not 4:5 (the lead spans both columns, 16:9 already)
   (portrait 4:5 boxes needed 900 px of height) and 900-1100 row tiles never grow past 612 css wide (640 / the 1.04 drift scale; a lone last-row tile). */
@media (min-width:600px) and (max-width:899px){.lm:not(.is-mosaic):not(.is-play) .lm-tile .lm-in{aspect-ratio:16/9}}
@media (min-width:900px) and (max-width:1100px){.lm.is-mosaic:not(.is-play) .lm-tile:not(.is-hot){max-width:612px!important}}

/* FINAL WORK-PHOTOS-SITES-1 (Fable thinking 130, spec v4.23 L96/L97): #photos eyebrow ivory (one gold per screen: the $512 figure is the
   gold on /work/), the v5 lede in the page's h2 lede element (p.nb-body), covers 220 x 275 under 900; TWO SITES = a continuation:
   #photos captions -> "And two sites." h2 = 120 px at >= 900, 72 px below; the figure form of 12.5: coin glyph 40 px ivory ink
   (1.5 px non-scaling stroke), "$512" Bodoni gold, "Once" caps, then "Websites ->" (own line under the figure below 900) */
.wk-eyebrow{color:var(--text)}
.wk-ph__head .wk-h2{margin-bottom:14px}
.wk-ph__lede{margin:0 0 28px}
.wk-ph{padding-bottom:0}
.wk-sites{padding-top:120px}
@media (max-width:899px){.wk-sites{padding-top:72px}}
.wk-go{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:40px 0 0}
.wk-fig{display:flex;align-items:center;gap:16px;margin:0}
.wk-coin{display:block;flex:none;width:40px;height:40px;fill:none;stroke:var(--text);stroke-width:1.5px}
.wk-coin *{vector-effect:non-scaling-stroke}
.wk-fig__n{font:500 clamp(48px,8vw,72px)/1 var(--f-display);color:var(--gold);letter-spacing:-.01em}
.wk-fig__k{font:600 12px/1.4 var(--f-body);letter-spacing:.18em;text-transform:uppercase;color:var(--text)}
.wk-go__a{display:inline-flex;align-items:center;min-height:44px;font:600 15px/1.4 var(--f-body);color:var(--text);text-decoration:none}
.wk-go__a:hover,.wk-go__a:focus-visible{text-decoration:underline;text-underline-offset:4px}
@media (min-width:900px){.wk-go{flex-direction:row;align-items:center;gap:48px}}

/* FINAL WORK-PHOTOS-SITES-2 (Fable thinking 131, 2026-10-30) */
/* fix 1 STRUCK v4.45 (FINAL WORK-COVERS-1, Fable thinking 136): the 4:5 strip and the 220 x 275 scroll row are gone; see the WORK-COVERS-1 block at the end */
/* fix 2: lede measure 600 px at >= 1200 so "the films." never sits alone on line 2 */
@media (min-width:1200px){.wk-ph__lede{max-width:600px}}
/* fix 3: >= 900 two equal columns across the content width (64 px sides), each device pair scaled to its column, max 560;
   the name block holds two lines so both URLs share one baseline ("Materials & Structure Movers" wraps) */
@media (min-width:900px){
}

/* FINAL WORK-PHOTOS-SITES-3 (ruler, spec v4.30 L95-L97, 2026-10-30): name-to-descriptor gap 16 px; fix 1 the TWO SITES wrap takes #photos' 20 px sides below 900 so both h2s start on one x; fix 2 the #photos lede balances
   at every width (no lone "the films."); fix 3 each site card is a flex column (the 2-line name min-height is gone), cards stretch to equal height in the grid, and the URL
   row is pinned to the card bottom so both URLs share one baseline at every width (390 too). */
@media (max-width:899px){.wk-sites>.nb-wrap,.wk-samples>.nb-wrap{padding-left:20px;padding-right:20px}}
.wk-ph__lede{text-wrap:balance}

/* FINAL WORK-COVERS-1 (Fable thinking 136, spec v4.45 L96, 2026-10-30): #photos covers are 3:2 landscape thirds-cropped exports (no CSS crop, no object-position).
   >= 1024: 3-up grid, two rows, gap 24, inside the 64 px gutters; 768-1023: 2-up grid, three rows, gap 24, inside the page's gutters (20 below 900, 64 from 900);
   390-767: a horizontal peek row, 300 x 200 images, gap 16, 20 px left gutter, the next card peeking ~54 px, no page-level horizontal scroll. */
@media (min-width:768px) and (max-width:1023px){.wk-ph .wk-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px) and (max-width:1023px){.wk-ph .wk-strip{padding:0 64px}}
@media (max-width:767px){
  .wk-ph .wk-strip{display:flex;gap:16px;padding:0 20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 20px;scrollbar-width:none}
  .wk-strip::-webkit-scrollbar{display:none}
  .wk-ph .wk-cv{flex:0 0 300px;scroll-snap-align:start}
}

/* WNU1 B2: one plain sentence under the open film only (data-sent on the tile; none = nothing shown) */
.lm-card em{display:none;font-style:normal;font-size:15px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:none;color:rgba(236,232,223,.8);text-shadow:0 1px 10px rgba(0,0,0,.8);text-wrap:pretty}
.lm-card em:not(:empty){display:block}
.lm-card .lm-len{display:none}
.lm.is-ring .lm-card em:not(:empty){flex:0 0 100%;font-size:14px;line-height:1.35;color:rgba(236,232,223,.42);text-shadow:none;max-width:100%}
@media (max-width:899px){
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit{background:#000}
  .lm.is-play:not(.is-ring) .lm-stage.is-land iframe{inset:auto;left:0;top:60px;width:100%;height:auto;aspect-ratio:16/9}
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit .lm-card{top:calc(60px + 56.25vw + 16px);bottom:auto;left:16px;right:16px;max-width:none;opacity:1;transform:none;gap:8px}
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit .lm-card b{font-size:clamp(1.3rem,6vw,1.7rem)}
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit .lm-card .lm-len{display:inline}
}
@media (max-width:899px){
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit{background:#000!important}
  .lm.is-play:not(.is-ring) .lm-stage.is-land.is-lit .lm-stage__poster{opacity:0!important}
}

/* WNU1 C (fix 1): in the open-film view the Next card sits UNDER the caption card (never beside it, so it cannot cover the sentence); watch.js sets --ch (caption height) and --below
   (everything under the film) and places the film so the whole stack is on screen. The rows panel behind the film now reaches under the card and the Next card, so the sentence
   never sits on the dimmed rows; the sentence is 4.5:1 or better on that black (ivory at .62 alpha on #000 = 6.2:1). */
.lm.is-ring .lm-next{top:calc(100% + 14px + var(--ch,46px) + 12px);bottom:auto;right:0}
.lm.is-rows .lm-stage::before{bottom:calc(-1 * var(--below,100px))}
.lm.is-ring .lm-card em:not(:empty){color:rgba(236,232,223,.62)}
