/* THE BLOCK — one continuous New York block from real facade photographs.
   Buildings stand wall to wall on one sidewalk (composed by LIVE-DEMOS/the-block/compose_block.py);
   each shop screen plays the live demo in place.
   On every screen, vertical scroll walks you sideways along the block. */
.tb{--h:100vh;--h:100svh}
.tb .block{position:relative;background:#0b0f18}
.tb .sticky{position:sticky;top:0;height:var(--h);overflow:hidden}
.tb .sky{position:absolute;inset:0;background:linear-gradient(#0b1220 0%,#16233a 34%,#2d3a55 62%,#4b4a5c 82%,#5b4f55 100%)}
.tb .street{position:absolute;left:0;bottom:0;height:100%;display:flex;align-items:flex-end;padding:0;will-change:transform}
/* the roadway below the sidewalk: a real asphalt texture, darkened for dusk */
.tb .street::after{content:"";position:absolute;left:-100vw;right:-100vw;bottom:0;height:calc(var(--h)*.07);
  background:linear-gradient(#2a2a2c,#121214 70%);box-shadow:inset 0 3px 0 #77706399}
.tb .fac{position:relative;flex:none;height:calc(var(--h)*.93);aspect-ratio:var(--ar);margin:0 -1px calc(var(--h)*.07) 0;z-index:1}
.tb .fac:last-child{margin-right:0}
.tb .fac-in{position:absolute;inset:0;display:block;color:inherit;text-decoration:none}
.tb .fac-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tb .scr{position:absolute;overflow:hidden;background:#000}
.tb .scr video,.tb .scr img{width:100%;height:100%;object-fit:cover;display:block;filter:brightness(.92) saturate(.95)}
/* the glass in front of the screen: a faint reflection so the screen sits inside the shop, not on top of the photo */
.tb .scr::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,#ffffff14 0%,#ffffff00 38%,#ffffff00 70%,#ffffff0a 100%);pointer-events:none}
.tb .tag{position:absolute;left:50%;bottom:calc(var(--h)*-.052);transform:translateX(-50%);display:flex;align-items:center;gap:10px;white-space:nowrap;
  padding:7px 14px;border-radius:99px;background:#0b0f18e6;border:1px solid #ffffff24;color:#f3efe6;font:500 13px/1 var(--bl-font-body,system-ui);letter-spacing:.01em;z-index:2}
.tb .tag b{font:500 12px/1 var(--bl-font-mono,monospace);color:var(--bl-accent,#84cff5)}
.tb .tag i{font-style:normal;color:#ffffffa6;max-width:0;overflow:hidden;transition:max-width .35s ease}
.tb .fac-in:hover .tag i,.tb .fac-in:focus-visible .tag i{max-width:120px}
.tb .fac-in:focus-visible{outline:3px solid var(--bl-accent,#84cff5);outline-offset:-3px}
.tb .walk{position:absolute;top:calc(var(--bl-header-h,68px) + 18px);bottom:auto;left:auto;right:clamp(20px,5vw,60px);display:flex;align-items:center;gap:12px;padding:8px 14px;border-radius:99px;background:#0b0f18cc;border:1px solid #ffffff1f;font:500 12px var(--bl-font-mono,monospace);color:#ffffffcc;z-index:3}
.tb .walk i{display:block;width:120px;height:2px;background:#ffffff2e}
.tb .walk b{display:block;height:100%;width:0;background:#fff}

/* phones and tall screens: still a street. Shops stand side by side at full height and
   scrolling walks you along the block, like on desktop; you see one shop and its neighbours */
@media (max-width:760px),(max-aspect-ratio:4/5){
  .tb .tag{font-size:12.5px}
  .tb .walk{right:16px;padding:6px 12px}
  .tb .walk i{width:72px}
}
