/* Universe: everything I work with as a map, with branching buttons to narrow it down and a plain list underneath. */
.uv { padding: calc(var(--nav-h) + 30px) var(--gut) 0; }
.uv-h1 { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: clamp(44px, 6.4vw, 110px); line-height: .86; margin: 0 0 10px; }
.uv-hint { font-size: clamp(14px, 1.15vw, 17px); margin: 0 0 14px; max-width: 48em; }
.uv-stage { position: relative; width: 100%; overflow: hidden; }
.uv-canvas { position: absolute; left: 0; top: 0; width: 1600px; height: 950px; transform-origin: 0 0; }
.uv-panel { position: absolute; left: 0; top: 0; width: 600px; height: 900px; z-index: 3; }
.uv-panel svg, .uv-map svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.uv-b { fill: var(--fg); transition: opacity .3s; }
.uv-b.off { opacity: .22; }
.uv-b.sel { fill: var(--red); }
.uv-root { position: absolute; color: var(--bg); font-size: 12px; line-height: 1.25; text-align: left; padding: 12px 10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.uv-root b { display: block; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 17px; line-height: 1; margin-bottom: 6px; }
.uv-root span { margin-top: 14px; background: var(--bg); color: var(--fg); border: 2px solid var(--fg); padding: 6px 6px 4px; font-family: var(--f-nav); font-size: 9.5px; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s, background-color .2s, color .2s; }
.uv-root.can span { opacity: 1; }
.uv-root.can:hover span { background: var(--red); color: #fff; border-color: var(--red); }
/* Each block is a button: flat, as in the reference, with a strip down its right edge that carries the arrow */
.uv-g, .uv-i { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; position: absolute; background: var(--fg); color: var(--bg); text-align: left; padding: 10px 44px 10px 12px; overflow: hidden; transition: opacity .3s, background-color .2s; }
.uv-g b, .uv-i b { display: block; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 20px; line-height: 1; white-space: nowrap; }
.uv-g small, .uv-i small { display: block; font-size: 12px; opacity: .7; margin-top: 3px; white-space: nowrap; }
.uv-g i, .uv-i::after { position: absolute; right: 0; top: 0; width: 34px; height: 100%; display: grid; place-items: center; background: var(--bg); color: var(--fg); border: 2px solid var(--fg); font-family: var(--f-nav); font-style: normal; font-size: 18px; line-height: 1; transition: background-color .2s, color .2s, border-color .2s; }
.uv-i::after { content: "→"; }
.uv-g:hover i, .uv-i:hover::after { background: var(--red); color: #fff; border-color: var(--red); }
.uv-g.off { opacity: .28; }
.uv-g.off:hover { opacity: .7; }
.uv-i b { font-size: 18px; }
.uv-i.tight { padding: 0 38px 0 12px; flex-direction: row; align-items: center; gap: 8px; }
.uv-i.tight b { font-size: 13px; letter-spacing: -.02em; } .uv-i.tight small { margin: 0; font-size: 10px; }
.uv-i.tight::after { width: 28px; font-size: 12px; }
.uv-i.sel { background: var(--red); color: #fff; }
.uv-i.sel::after { content: "×"; border-color: var(--red); color: var(--red); background: #fff; }
/* Branches play in when a group opens, and the whole page plays in on arrival */
@keyframes uvIn { from { opacity: 0; transform: translateX(-26px); } }
@keyframes uvPop { from { opacity: 0; transform: scale(0); } }
@keyframes uvFade { from { opacity: 0; } }
.uv-in .uv-i { animation: uvIn .32s var(--ease-out) both; animation-delay: calc(var(--k) * 16ms); }
.uv-in svg path { animation: uvFade .35s both; }
.uv-enter .uv-p { animation: uvPop .35s var(--ease-out) both; animation-delay: calc(40ms + var(--k) * 5ms); }
.uv-enter .uv-t, .uv-enter .uv-map svg, .uv-enter .uv-strip, .uv-enter .uv-say { animation: uvFade .45s both; }
.uv-enter .uv-g, .uv-enter .uv-root { animation: uvIn .35s var(--ease-out) both; animation-delay: calc(200ms + var(--k, 0) * 45ms); }
.uv-enter .uv-panel svg { animation: uvFade .4s .35s both; }
/* The note that says the blocks are buttons */
.uv-note { position: absolute; left: 640px; top: 14px; margin: 0; z-index: 6; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 30px; line-height: .95; pointer-events: none; padding-left: 96px; }
.uv-note span { display: block; clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease); }
.uv-note span + span { font-weight: 500; text-transform: none; letter-spacing: -.01em; font-size: 16px; line-height: 1.3; margin-top: 6px; transition-delay: .35s; }
.uv-note svg { position: absolute; left: 0; top: 0; width: 90px; height: 60px; overflow: visible; }
.uv-note path { fill: none; stroke: var(--fg); stroke-width: 1; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .7s var(--ease) .5s; }
.uv-note circle { fill: var(--bg); stroke: var(--fg); stroke-width: 1; opacity: 0; transition: opacity .2s 1.1s; }
.uv-note.on circle { opacity: 1; }
.uv-note.on span { clip-path: inset(0 0 0 0); }
.uv-note.on path { stroke-dashoffset: 0; }
.uv-stage.is-narrow .uv-note { display: none; }
.uv-map { position: absolute; left: 395px; top: 0; width: 1400px; height: 930px; transform: scale(.86); transform-origin: 0 0; transition: transform .42s var(--ease), left .42s var(--ease), top .42s var(--ease); }
.uv-stage.is-open .uv-map { left: 640px; top: 120px; transform: scale(.68); }
.uv-stage.is-narrow .uv-panel { display: none; }
.uv-stage.is-narrow .uv-canvas { width: 1400px; }
.uv-stage.is-narrow .uv-map { left: 0; top: 0; transform: none; }
.uv-ring { fill: none; stroke: var(--fg); stroke-width: .8; stroke-dasharray: 1 6; opacity: .7; }
.uv-dot, .uv-halo { pointer-events: all; cursor: pointer; }
.uv-dot { fill: var(--fg); transition: fill .2s, opacity .3s; }
.uv-halo { fill: transparent; }
.uv-halo { stroke: var(--fg); stroke-width: .9; transition: opacity .3s; }
.uv-lines path { fill: none; stroke: var(--red); stroke-width: 1.3; }
.uv-t { position: absolute; transform: translateY(-50%); white-space: nowrap; background: var(--bg); color: var(--fg); padding: 1px 5px; line-height: 1.1; z-index: 4; transition: opacity .3s, color .2s; }
.uv-t sup { font-family: var(--f-body); font-size: 10px; margin-left: 3px; }
.uv-t.big { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 34px; }
.uv-t.mid { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 20px; }
.uv-t.rim { font-size: 13px; background: none; padding: 0; }
.uv-t.rim.left { transform: translate(-100%, -50%); }
.uv-t:hover, .uv-t.on { color: var(--red); }
.uv-p { position: absolute; width: 46px; height: 32px; margin: -16px 0 0 -23px; border: 1px solid var(--fg); background: var(--bg); z-index: 2; transition: opacity .3s, transform .3s var(--ease-out), border-color .2s; }
.uv-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uv-p:hover { transform: scale(2.4); z-index: 9; }
.uv-core { position: absolute; left: 700px; top: 520px; transform: translate(-50%, -50%); font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 44px; line-height: 1; background: var(--fg); color: var(--bg); padding: 6px 12px 5px; z-index: 5; }
.uv-say { position: absolute; left: 60px; top: 0; margin: 0; font-size: 15px; }
.uv-strip { position: absolute; left: 0; top: 24px; width: 100%; height: 118px; }
.uv-s { position: absolute; bottom: 22px; background-size: cover; background-position: center; transition: opacity .3s; }
.uv-s:hover { outline: 2px solid var(--fg); z-index: 2; }
.uv-yr { position: absolute; bottom: 0; font-weight: 700; font-size: 12px; border-left: 1px solid var(--fg); padding: 100px 0 0 4px; line-height: 1; pointer-events: none; }
.uv-map.has-sel .uv-p:not(.on), .uv-map.has-sel .uv-s:not(.on) { opacity: .1; }
.uv-map.has-sel .uv-t:not(.on) { opacity: .28; }
.uv-map.has-sel .uv-dot:not(.on), .uv-map.has-sel .uv-halo:not(.on) { opacity: .2; }
.uv-map.has-sel .uv-p.on { border: 2px solid var(--red); transform: scale(1.25); z-index: 6; }
.uv-map.has-sel .uv-p.on:hover { transform: scale(2.4); z-index: 9; }
.uv-map.has-sel .uv-s.on { outline: 2px solid var(--red); z-index: 2; }
.uv-dot.on { fill: var(--red); }
.uv-more { text-align: center; font-family: var(--f-nav); font-size: 13px; text-transform: uppercase; margin: 6px 0 0; color: var(--dim); }
.uv-list { columns: 3; column-gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 6vw, 90px); padding-top: 22px; border-top: 1.5px solid var(--fg); }
.uv-lg { break-inside: avoid-column; margin: 0 0 34px; }
.uv-lg h3 { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; font-size: 26px; line-height: 1; margin: 0 0 12px; }
.uv-row { display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left; font-size: 18px; letter-spacing: -.02em; padding: 5px 0; }
.uv-row i { flex: 1; border-bottom: 1.5px dotted currentColor; transform: translateY(-4px); }
.uv-row em { font-style: normal; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.uv-row.on { background: var(--fg); color: var(--bg); padding: 5px 8px; }
.uv-ex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 0 14px; font-size: 12.5px; line-height: 1.25; }
.uv-ex img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 5px; }
@media (max-width: 1000px) { .uv-list { columns: 2; } }
@media (max-width: 640px) { .uv-list { columns: 1; } }
@media (prefers-reduced-motion: reduce) { .uv-map, .uv-p { transition: none; } .uv-in .uv-i, .uv-in svg path { animation: none; } }
