/* Design index and generated project pages. Colours and type come from chrome.css. */

/* ---------- index ---------- */
.work { --edge: max(var(--gut), calc((100% - 1400px) / 2)); }
.work, .pj { font-weight: 400; }
.work p, .pj p { text-wrap: pretty; }
.work img, .pj img { display: block; width: 100%; height: auto; background: var(--paper-2); }
.work h1 { margin: 0; font: 500 clamp(2.9rem, 7vw, 6.2rem)/.95 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.work-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; padding: clamp(20px, 4vh, 48px) var(--edge) clamp(24px, 4vh, 40px); }
.work-head p { margin: 16px 0 0; max-width: 42ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--ink-2); }
.work-head ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--stone); }
.work-head li a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--stone); color: inherit; text-decoration: none; }
.work-head strong { font: 500 clamp(1.35rem, 1.8vw, 1.7rem)/1.2 var(--serif); }
.work-head span { color: var(--ink-2); }
.work-head li a:hover strong, .show h2 a:hover, .more a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.work a:focus-visible, .work button:focus-visible, .pj a:focus-visible, .pj button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.show + .show, .more { margin-top: clamp(72px, 13vh, 150px); }
.show-walk, .show-wide, .show-trio, .more { padding-inline: var(--edge); }
.show h2 { margin: 0; font: 500 clamp(2.4rem, 5.6vw, 5rem)/.96 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.show h2 a { color: inherit; text-decoration: none; }
.show p { margin: 0 0 12px; max-width: 46ch; }
.show p:last-child { margin-bottom: 0; }
.show .show-kind { margin-bottom: 4px; color: var(--brass-ink); font-weight: 500; }
.show-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--ink); color: var(--paper); font: 500 1rem/1 var(--sans); text-decoration: none; transition: background .24s; }
.show-open:hover { background: var(--taupe); }
.show-enter { display: inline-flex; align-items: center; min-height: 44px; margin-left: 20px; color: inherit; font: 500 1rem/1 var(--sans); text-underline-offset: 5px; }
.pj-head .show-open { margin: 10px 0 .5em; }
.pj-enter { position: relative; display: block; overflow: hidden; }
.pj-enter img { width: 100%; height: auto; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.pj-enter:hover img { scale: 1.02; }
.pj-enter span { position: absolute; left: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 2.4vw, 36px); display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; background: #f3eee6; color: #2a2420; font: 500 1.15rem/1 var(--sans); }
.pj-enter-text { margin: 16px 0 0; max-width: 60ch; }
@media (max-width: 480px) { .show-enter { margin-left: 0; } .show-open + .show-enter { display: flex; } }
.show-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 80px); align-items: end; }

/* dusk: full width, the words stand on the evening lawn */
.show-dusk { --dusk: 0; position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); }
.dusk-stage { position: relative; display: block; height: clamp(520px, 92vh, 1000px); }
.dusk-stage img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 45%; background: none; }
.dusk-night { position: absolute; inset: 0; opacity: var(--dusk); }
.dusk-stage::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(23, 19, 17, .62) 55%, rgba(23, 19, 17, .9)); }
:is(.show-dusk, .lead) .show-head { position: absolute; inset: auto 0 0; padding: 0 var(--edge) clamp(28px, 5vh, 56px); pointer-events: none; }
:is(.show-dusk, .lead) .show-head a { pointer-events: auto; }
:is(.show-dusk, .lead) .show-kind { color: #ecc894; }
:is(.show-dusk, .lead) .show-open { background: var(--on-dark); color: var(--night); }
:is(.show-dusk, .lead) .show-open:hover { background: var(--stone); }
:is(.show-dusk, .lead) a:focus-visible { outline-color: var(--focus-dark); }

/* lead: the first project when it is a walk. Its main picture fills the screen, the plan follows. */
.lead { position: relative; margin-inline: calc(-1 * var(--edge)); overflow: hidden; background: var(--night); color: var(--on-dark); }
.lead .dusk-stage img { object-position: 42% 30%; }

/* walk: the view, and the plan that says where it was seen from */
.walk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px clamp(16px, 2.4vw, 36px); }
.show-walk .walk { margin-top: clamp(24px, 4vh, 44px); }
.walk-stage { position: relative; display: block; overflow: hidden; aspect-ratio: var(--frame, 16 / 9); background: var(--paper-2); }
.walk-view { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.walk-view.is-on, .walk:not(:has(.is-on)) .walk-view:first-child { opacity: 1; }
.walk .walk-view img { height: 100%; object-fit: cover; }
.walk-plan { position: relative; width: clamp(150px, 17vw, 244px); aspect-ratio: 1 / var(--plan); align-self: center; }
.walk .walk-plan img { position: absolute; inset: 0; height: 100%; background: none; }
.walk .walk-wide { display: none; }
.walk-dot { --north: -90deg; position: absolute; left: calc(var(--v) * 100%); top: calc((1 - var(--u)) * 100%); width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 0; background: none; cursor: pointer; }
.walk-dot::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 2px var(--paper); transition: transform .24s var(--ease); }
.walk-dot:hover::before { transform: scale(1.35); }
.walk-dot[data-on] { z-index: 1; }
.walk-dot[data-on]::before { background: var(--brass-ink); transform: scale(1.25); }
.walk-dot[data-on]::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin-top: -32px; transform-origin: 0 50%; transform: rotate(calc(var(--turn) + var(--north))); background: linear-gradient(90deg, rgba(121, 83, 51, .65), rgba(121, 83, 51, 0)); clip-path: polygon(0 50%, 100% 12%, 100% 88%); pointer-events: none; }
.walk-names { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 2vw, 30px); }
.walk-names button { flex: none; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-2); font: 400 1.02rem/1.2 var(--sans); white-space: nowrap; cursor: pointer; text-decoration: underline transparent 2px; text-underline-offset: 7px; transition: color .24s, text-decoration-color .24s; }
.walk-names button:hover { color: var(--ink); text-decoration-color: var(--stone); }
.walk-names button[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--brass); }

/* upright views beside a larger plan */
.walk-upright { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.walk-upright .walk-stage { aspect-ratio: 4 / 5; }
.walk-upright .walk-plan { width: min(100%, 560px); justify-self: center; }
/* a frame without a plan: drawings, or the stages of one view */
.walk-only { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.walk-only .walk-stage { aspect-ratio: var(--frame); }
.walk-drawing .walk-stage { background: none; }
.walk .walk-view:is(.walk-drawing *) img { object-fit: contain; background: none; }

/* wide and trio */
.wide-stage { display: block; }
.show-wide .show-head { margin-top: clamp(18px, 3vh, 32px); }
.show-trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(14px, 2vw, 30px); }
.show-trio > a { display: block; }
.trio-copy { align-self: end; padding-bottom: 12px; }
.trio-copy h2 { margin-bottom: 20px; }
.trio-1 { grid-column: 2; grid-row: 1 / span 2; }
.trio-1 img { aspect-ratio: 4 / 5; object-fit: cover; }
.trio-2 { grid-column: 1; align-self: end; }
.trio-2 img { aspect-ratio: 3 / 2; object-fit: cover; }
.trio-3 { grid-column: 1 / -1; }
.trio-3 img { aspect-ratio: 21 / 9; object-fit: cover; }

.more h2 { margin: 0 0 24px; font: 500 clamp(2rem, 4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.02em; }
.more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vh, 52px) clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.more a { display: block; color: inherit; text-decoration: none; }
.more img { aspect-ratio: 3 / 2; object-fit: cover; }
.more h3 { margin: 14px 0 2px; font: 500 1.7rem/1.15 var(--serif); }
.more p { margin: 0; color: var(--ink-2); }
.work-note { margin: clamp(56px, 9vh, 100px) var(--edge) clamp(48px, 8vh, 90px); padding-top: 18px; border-top: 1px solid var(--stone); color: var(--ink-2); }

/* ---------- project page ---------- */
.pj { display: flow-root; overflow: clip; }
.pj-themed { --ink-2: color-mix(in srgb, var(--ink) 78%, var(--paper)); --stone: color-mix(in srgb, var(--ink) 22%, var(--paper)); --paper-2: color-mix(in srgb, var(--ink) 8%, var(--paper)); background: var(--paper); color: var(--ink); }
.pj-head, .pj-facts, .pj-group, .pj-note { width: min(1400px, calc(100% - 2 * var(--gut))); margin-inline: auto; }
.pj figure { margin: 0; }
.pj-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; padding: clamp(28px, 5vh, 60px) 0 clamp(24px, 4vh, 44px); }
.pj-kind { grid-column: 1 / -1; margin: 0; color: var(--brass-ink); font: 500 1rem/1.4 var(--sans); }
.pj h1 { margin: 0; font: 500 clamp(2.9rem, 7vw, 6.2rem)/.95 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.pj-lead { margin: 0 0 .5em; max-width: 34ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.pj .pj-hero img { aspect-ratio: 16 / 9; max-height: 86vh; object-fit: cover; object-position: 50% 45%; }
.pj-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-block: clamp(28px, 5vh, 56px) 0; }
.pj-facts > div { padding: 18px 0 22px; border-bottom: 1px solid var(--stone); }
.pj-facts dt { margin-bottom: 6px; color: var(--brass-ink); font: 500 .95rem/1.4 var(--sans); }
.pj-facts dd { margin: 0; font: 500 clamp(1.15rem, 1.5vw, 1.4rem)/1.3 var(--serif); }
.pj-group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vh, 56px) clamp(18px, 2.4vw, 36px); margin-top: clamp(64px, 11vh, 130px); }
.pj-group > * { grid-column: 1 / -1; min-width: 0; }
.pj-group > .pj-half { grid-column: auto; }
.pj h2 { margin: 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.02em; }
.pj-group > h2 { margin-bottom: calc(-1 * clamp(8px, 1.5vh, 20px)); }
.pj-full figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 4px clamp(18px, 2.4vw, 36px); align-items: baseline; }
.pj figcaption { padding-top: 14px; }
.pj figcaption h3 { margin: 0; font: 500 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--serif); }
.pj figcaption p { margin: 4px 0 0; max-width: 52ch; color: var(--ink-2); }
.pj-grid, .pj-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px) clamp(12px, 1.8vw, 26px); margin: 0; padding: 0; list-style: none; }
.pj .pj-grid figcaption { padding-top: 8px; font: 500 1.15rem/1.3 var(--serif); }
.pj-steps figcaption { display: grid; gap: 4px; }
.pj-steps strong { font: 500 1.5rem/1.2 var(--serif); }
.pj-steps span { color: var(--ink-2); }
.pj-contents { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 40px); width: min(1400px, calc(100% - 2 * var(--gut))); margin: clamp(20px, 3vh, 32px) auto 0; }
.pj-contents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font: 400 1.05rem/1.2 var(--sans); text-decoration: underline var(--stone) 1px; text-underline-offset: 7px; transition: text-decoration-color .24s; }
.pj-contents a:hover { text-decoration-color: var(--brass); }
.pj-group[id] { scroll-margin-top: 96px; }
.pj-group.pj-sub { margin-top: clamp(48px, 8vh, 88px); }
.pj-sub > h3 { margin: 0 0 calc(-1 * clamp(8px, 1.5vh, 20px)); font: 500 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 var(--serif); }
.pj-intro { margin: 0; max-width: 58ch; font-size: clamp(1.05rem, 1.2vw, 1.18rem); line-height: 1.55; color: var(--ink-2); }
.pj-turn { position: relative; aspect-ratio: var(--frame); }
.pj .pj-turn img { width: 100%; height: 100%; object-fit: contain; background: none; }
.pj-turn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: grab; touch-action: pan-y; }
.pj-turn input:active { cursor: grabbing; }
.pj-turn p { position: absolute; left: 50%; bottom: 12px; margin: 0; translate: -50% 0; padding: 6px 14px; background: rgba(23, 19, 17, .78); color: #f3eee6; pointer-events: none; transition: opacity .4s; }
.pj-turn.is-turned p { opacity: 0; }
.pj-turn:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
.pj-text p { max-width: 62ch; margin: 0 0 1em; font-size: 1.15rem; }
.pj-note { display: grid; gap: 14px; margin-top: clamp(64px, 11vh, 120px); }
.pj-note p { margin: 0; max-width: 68ch; }
.pj-compare { --at: 50%; position: relative; }
.pj-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--at)) 0 0); }
.pj .pj-before img { height: 100%; object-fit: cover; }
.pj-compare::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--at); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.pj-compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.pj-compare:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
.pj-tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; background: rgba(23, 19, 17, .78); color: #f3eee6; pointer-events: none; }
.pj-tag-r { left: auto; right: 14px; }

/* opening with moving light: the title stands on the picture, --hour runs from -1 (morning) to 1 (evening) */
.pj-light { position: relative; overflow: hidden; height: min(calc(100vh - 72px), 1200px); height: min(calc(100svh - 72px), 1200px); min-height: 540px; background: var(--night); color: var(--on-dark); }
.pj-light-view, .pj-light-view > div { position: absolute; inset: 0; }
.pj .pj-light-view img { height: 100%; object-fit: cover; object-position: 50% 50%; background: none; }
.pj-light-view picture { display: contents; }
.pj-morning { opacity: max(0, calc(var(--hour) * -1)); }
.pj-evening { opacity: max(0, var(--hour)); }
.pj-light::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgb(19 16 13 / .55) 46%, rgb(19 16 13 / .92)); pointer-events: none; }
.pj-light-copy { position: absolute; z-index: 1; inset: auto max(var(--gut), calc((100% - 1400px) / 2)) clamp(84px, 12vh, 112px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px 48px; align-items: end; pointer-events: none; }
.pj-light-copy .pj-kind { color: #ecc894; }
.pj-light-copy .pj-lead { color: var(--on-dark); }
.pj .pj-light-copy h1 { font-size: clamp(3.2rem, 8.6vw, 8.4rem); }
.pj-hour { position: absolute; z-index: 2; left: 50%; bottom: clamp(20px, 3.4vh, 34px); translate: -50% 0; display: flex; align-items: center; gap: 18px; width: min(560px, calc(100% - 2 * var(--gut) - 60px)); color: var(--on-dark); font: 500 1rem/1 var(--sans); }
.pj-hour[hidden] { display: none; }
.pj-hour input { flex: 1; min-width: 0; height: 44px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: grab; }
.pj-hour input:active { cursor: grabbing; }
.pj-hour input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #4fb6b0, #e9e2d6 50%, #f08a3c); }
.pj-hour input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #4fb6b0, #e9e2d6 50%, #f08a3c); }
.pj-hour input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pj-hour input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.pj-hour input:focus-visible { outline: 2px solid var(--focus-dark); outline-offset: 2px; }

/* rise: a tall dark section whose stage stays in view while scrolling builds the building. Without script it is one screen with all dates in a list. */
.pj-group.pj-bleed { display: block; width: auto; margin-top: clamp(56px, 10vh, 120px); }
.rise { --focus: var(--focus-dark); background: #14110f; color: var(--on-dark); }
.rise-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 clamp(24px, 4vw, 72px); padding: clamp(32px, 6vh, 72px) max(var(--gut), calc((100% - 1400px) / 2)); }
.rise-copy { grid-area: 1 / 1; align-self: center; }
.rise-figure { grid-area: 1 / 2; display: grid; place-items: center; min-width: 0; min-height: 0; }
.rise-frame { position: relative; width: 100%; aspect-ratio: var(--wide) / var(--tall); }
.rise-frame canvas { mask: linear-gradient(90deg, transparent 1%, #000 8%, #000 92%, transparent 99%), linear-gradient(transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.rise-frame canvas, .pj .rise-frame img { display: block; width: 100%; height: 100%; background: none; }
.rise-words { margin: 24px 0 0; padding: 0; list-style: none; }
.rise-words li + li { margin-top: 20px; }
.rise-words strong { display: block; color: #ecc894; font: 500 1.6rem/1 var(--serif); }
.rise-words h3 { margin: 4px 0; font: 500 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--serif); }
.rise-words p { margin: 0; max-width: 40ch; color: var(--on-dark-2); font-size: clamp(1.05rem, 1.2vw, 1.18rem); line-height: 1.55; }
.rise.is-live { height: 760vh; }
.is-live .rise-stage { position: sticky; top: 0; grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: 100svh; padding-block: clamp(16px, 3vh, 36px) clamp(20px, 4vh, 40px); overflow: hidden; box-sizing: border-box; }
.is-live .rise-figure { container-type: size; }
.is-live .rise-frame { width: min(100cqw, 100cqh * var(--wide) / var(--tall)); }
.is-live .rise-copy { z-index: 1; display: grid; align-content: space-between; align-self: stretch; padding: 72px 0 clamp(16px, 5vh, 56px); }
.is-live .rise-copy h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-variant-numeric: lining-nums; }
.is-live .rise-words { position: relative; display: grid; margin: 0; }
.is-live .rise-words li { grid-area: 1 / 1; align-self: end; margin: 0; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .35s, translate .5s var(--ease), visibility 0s .35s; }
.is-live .rise-words .is-on { opacity: 1; visibility: visible; translate: none; transition: opacity .45s .12s, translate .6s .12s var(--ease); }
.is-live .rise-words strong { margin-bottom: 14px; font-size: clamp(5rem, 12.5vw, 12rem); line-height: .82; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.is-live .rise-words h3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.rise-top { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); right: -2%; margin: 0; border-top: 1px solid rgb(236 200 148 / .55); color: #ecc894; pointer-events: none; }
.rise-top[hidden] { display: none; }
.rise-top b { position: absolute; right: 0; bottom: 6px; font: 500 clamp(1.1rem, 1.7vw, 1.6rem)/1 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.rise-years { grid-column: 1 / -1; z-index: 1; display: flex; gap: clamp(6px, 1vw, 16px); padding-right: 52px; }
.rise-years[hidden] { display: none; }
.rise-years button { flex: 1; min-width: 0; min-height: 44px; padding: 10px 0 0; border: 0; border-top: 2px solid #4b4139; background: none; color: var(--on-dark-2); font: 400 1rem/1.2 var(--sans); text-align: left; cursor: pointer; transition: color .24s, border-color .24s; }
.rise-years button:hover { color: var(--on-dark); }
.rise-years .is-done { border-color: var(--brass); }
.rise-years [aria-current] { border-color: var(--on-dark); color: var(--on-dark); font-weight: 500; }
.pj .rise button:focus-visible { outline-color: var(--focus-dark); }

@media (max-width: 900px) {
  .walk { grid-template-columns: minmax(0, 1fr); }
  .walk-stage { margin-inline: calc(-1 * var(--gut)); aspect-ratio: 4 / 3; }
  .walk-plan { width: auto; aspect-ratio: var(--plan); }
  .walk .walk-wide { display: block; }
  .walk .walk-tall { display: none; }
  .walk-upright .walk-stage { margin-inline: 0; aspect-ratio: 4 / 5; }
  .walk-upright .walk-plan { width: 100%; }
  .walk-only .walk-stage { margin-inline: 0; aspect-ratio: var(--frame); }
  .walk-dot { --north: 0deg; left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); }
  .walk-dot[data-on]::after { width: 46px; height: 46px; margin-top: -23px; }
  .walk-names { grid-row: 2; gap: 0 22px; }
}
@media (max-width: 800px) {
  .work-head, .show-head, .show-trio { grid-template-columns: minmax(0, 1fr); }
  .show-trio > * { grid-column: 1; grid-row: auto; }
  .trio-3 img { aspect-ratio: 3 / 2; }
  .dusk-stage { height: max(620px, 88svh); }
  .dusk-stage::after { inset: 25% 0 0; }
  .pj-head, .pj-facts, .pj-group, .pj-full figcaption, .pj-steps { grid-template-columns: minmax(0, 1fr); }
  .pj-group > .pj-half { grid-column: 1 / -1; }
  .pj-grid { grid-template-columns: 1fr 1fr; }
  .pj .pj-hero img { aspect-ratio: 4 / 3; }
  .pj-full figcaption p { margin-top: 0; }
  .pj-light { height: min(calc(100svh - 64px), 900px); }
  .pj-light-copy { grid-template-columns: minmax(0, 1fr); bottom: 92px; }
  .pj-light-copy .pj-lead { font-size: 1rem; line-height: 1.45; }
  .pj-hour { left: var(--gut); translate: none; gap: 12px; width: calc(100% - 2 * var(--gut) - 56px); font-size: .95rem; }
}
/* layers: one view, built up */
.pj-layers { display: grid; grid-template-columns: minmax(0, 3.1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.pj-layers .walk-stage { aspect-ratio: var(--frame); margin: 0; }
.pj .pj-layers .walk-view img { height: 100%; object-fit: cover; }
.pj-layers .walk-view:is(.is-on) { opacity: 1; }
.pj-layers .walk-names { grid-column: auto; display: grid; grid-auto-rows: 1fr; gap: 0; }
.pj-layers .walk-names button { display: flex; flex-direction: column; justify-content: flex-start; padding: 8px 0; border-top: 2px solid var(--stone); text-align: left; white-space: normal; text-decoration: none; transition: border-color .24s, color .24s; }
.pj-layers .walk-names button:hover { border-color: var(--taupe); }
.pj-layers .walk-names button[aria-pressed="true"] { border-color: var(--brass); }
.pj-layers strong { display: block; margin-bottom: 4px; font: 500 1.3rem/1.2 var(--serif); color: var(--ink); }
.pj-layers span { display: block; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }

/* cut: the long section over the plan, at one scale with the cross-section */
.pj-cut { display: grid; width: min(100%, 148svh); grid-template-columns: 142fr 74fr 56fr; gap: 0 clamp(16px, 2.4vw, 36px); align-items: start; }
.pj .pj-cut img { background: none; mix-blend-mode: multiply; user-select: none; -webkit-user-drag: none; }
.cut-pull { position: relative; grid-row: 1 / span 2; touch-action: pan-y; }
.is-ready .cut-pull { cursor: ew-resize; }
.cut-line { display: none; position: absolute; top: 0; bottom: 0; left: calc((var(--from) + (var(--to) - var(--from)) * var(--cut)) * 100%); width: 2px; margin-left: -1px; background: var(--brass-ink); pointer-events: none; }
.is-ready .cut-line { display: block; }
.cut-line::after { content: ''; position: absolute; left: 50%; top: 70.4%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; background: var(--brass-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 16l-6 6 6 6M27 16l6 6-6 6'/%3E%3C/svg%3E") center / cover; }
.cut-pull input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cut-pull:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.cut-places { display: grid; align-self: end; }
.cut-places button { min-height: 44px; padding: 8px 0; border: 0; border-top: 2px solid var(--stone); background: none; color: var(--ink-2); font: 500 1.2rem/1.2 var(--serif); text-align: left; cursor: pointer; transition: border-color .24s, color .24s; }
.cut-places button:hover { color: var(--ink); border-color: var(--taupe); }
.cut-places button[aria-pressed="true"] { color: var(--ink); border-color: var(--brass); }
.pj-cut:not(.is-ready) .cut-places { visibility: hidden; }
.cut-words { grid-column: 2 / -1; align-self: start; padding-top: clamp(12px, 2vw, 28px); }
.cut-words h3 { margin: 0 0 8px; font: 500 clamp(1.5rem, 2.4vw, 2.2rem)/1.15 var(--serif); }
.cut-words p { margin: 0; max-width: 42ch; color: var(--ink-2); line-height: 1.55; }

/* marks: drawings with marked places */
.marks-tabs { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 40px); margin-bottom: 18px; }
.marks-tabs button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-2); font: 500 clamp(1.2rem, 1.7vw, 1.5rem)/1.2 var(--serif); cursor: pointer; text-decoration: underline transparent 2px; text-underline-offset: 8px; transition: color .24s, text-decoration-color .24s; }
.marks-tabs button:hover { color: var(--ink); text-decoration-color: var(--stone); }
.marks-tabs button[aria-pressed="true"] { color: var(--ink); text-decoration-color: var(--brass); }
.marks-sheet { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 14px clamp(20px, 3vw, 48px); align-items: end; }
.marks-sheet[hidden] { display: none; }
.marks-drawing { aspect-ratio: var(--frame); display: flex; justify-content: center; border-bottom: 2px solid var(--ink); }
.marks-drawing > div { position: relative; height: 100%; }
.pj .marks-drawing img { height: 100%; background: none; }
.marks-drawing .walk-dot { left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.marks-drawing .walk-dot::before { inset: 10px; box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px rgba(42, 36, 32, .35); }
.marks-drawing .walk-dot[data-on]::after { --north: 0deg; display: none; }
.marks-drawing .walk-dot.is-facing[data-on]::after { display: block; }
.marks-views { position: relative; display: grid; }
.marks-views .walk-view { position: static; grid-area: 1 / 1; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.marks-views .walk-view:is(.is-on), .marks-sheet:not(:has(.is-on)) .walk-view:first-child { opacity: 1; visibility: visible; }
.pj .marks-views img { aspect-ratio: 4 / 3; object-fit: cover; }
.marks-sheet .walk-names { grid-column: 1 / -1; }
.marks-wide .marks-sheet { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 48px); max-width: 150svh; }
.marks-wide .marks-drawing { border: 0; }
.pj .marks-wide .marks-drawing img { mix-blend-mode: multiply; }
/* the names stand beside the small drawing in two columns, the picture takes the whole width under both */
.marks-wide .walk-names { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.marks-wide .walk-names button { text-align: left; }
.marks-wide .marks-views { grid-column: 1 / -1; }
.pj .marks-wide .marks-views img { aspect-ratio: 2 / 1; }

@media (max-width: 900px) {
  .marks-sheet, .marks-wide .marks-sheet { grid-template-columns: minmax(0, 1fr); }
  .marks-wide .walk-names { grid-column: 1; grid-row: 2; }
  .pj .marks-wide .marks-views img { aspect-ratio: 3 / 2; }
  .marks-sheet .walk-names { grid-row: 2; }
  /* ten places on a phone-wide drawing stand too close to press: the marks only show where a place is, the names below are the buttons */
  .marks-wide .walk-dot { pointer-events: none; }
  .marks-wide .walk-dot:not([data-on])::before { inset: 14px; }
  .marks-drawing .walk-dot { left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); }
  .marks-drawing .walk-dot::before { inset: 12px; }
  .pj-layers { grid-template-columns: minmax(0, 1fr); }
  .pj-layers .walk-stage { margin-inline: calc(-1 * var(--gut)); }
  .pj-layers .walk-names { grid-template-columns: repeat(6, 200px); gap: 0 16px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); overflow-x: auto; scrollbar-width: none; }
  .pj-cut, .marks-wide .marks-sheet { width: 100%; max-width: none; }
}
@media (max-width: 800px) {
  .pj-cut { grid-template-columns: 1.15fr 1fr; gap: 20px 16px; }
  .cut-pull { grid-column: 1 / -1; grid-row: 1; }
  .cut-words { grid-column: 2; grid-row: 2; padding: 0; }
  .cut-across { grid-column: 1; grid-row: 2; }
  .cut-places { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr 1fr; gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .pj-enter img, .marks-views .walk-view, .walk-view, .walk-dot::before, .show-open { transition: none; } }

/* The opening of a project page in three views: the main one large, two beside it. */
.pj-views { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(6px, .6vw, 10px); aspect-ratio: 24 / 9; max-height: 86vh; }
.pj-view { position: relative; display: block; min-height: 0; overflow: hidden; color: inherit; text-decoration: none; background: var(--paper-2); }
.pj-view-main { grid-row: 1 / span 2; }
.pj .pj-views picture { display: contents; }
.pj .pj-views img { height: 100%; aspect-ratio: auto; max-height: none; object-fit: cover; object-position: 50% 50%; transition: transform .6s var(--ease); }
a.pj-view:hover img { transform: scale(1.03); }
.pj-view-tag { position: absolute; left: clamp(10px, 1.2vw, 18px); bottom: clamp(10px, 1.2vw, 18px); padding: 6px 11px; background: rgb(24 21 18 / .66); color: #f3eee6; font: 500 .88rem/1.2 var(--sans); letter-spacing: .01em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
a.pj-view .pj-view-tag::after { content: " \2193"; }
@media (max-width: 800px) {
  .pj-views { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; max-height: none; }
  .pj-view-main { grid-column: 1 / -1; grid-row: auto; }
  .pj .pj-views img { aspect-ratio: 4 / 3; height: auto; }
  .pj-view:not(.pj-view-main) .pj-view-tag { font-size: .8rem; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) { .pj .pj-views img { transition: none; } }
@media (max-width: 1000px) and (orientation: portrait) {
  .rise-stage { grid-template: auto auto / minmax(0, 1fr); gap: 24px 0; }
  .rise-copy, .rise-figure { grid-column: 1; grid-row: auto; }
  .is-live .rise-stage { grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr); gap: 8px 0; padding-block: 72px 18px; }
  .is-live .rise-copy { grid-row: 1; align-content: start; gap: 10px; padding: 0; }
  .is-live .rise-words li { align-self: start; min-height: 150px; }
  .is-live .rise-words strong { margin-bottom: 4px; font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .is-live .rise-words h3 { font-size: 1.4rem; }
  .is-live .rise-words p { font-size: 1rem; line-height: 1.45; }
  .is-live .rise-figure { grid-row: 2; }
  .rise-top { right: 0; }
  .rise-years { gap: 4px; padding-right: 50px; }
  .rise-years button { font-size: clamp(.72rem, 1.9vw, 1rem); }
}
@media (max-height: 520px) {
  .is-live .rise-stage { grid-template: minmax(0, 1fr) auto / minmax(0, 1.3fr) minmax(0, 1fr); padding-block: 14px 8px; }
  .is-live .rise-copy { grid-area: 1 / 1; padding: 0; }
  .is-live .rise-figure { grid-area: 1 / 2; }
  .is-live .rise-words li { min-height: 0; }
  .is-live .rise-words strong { font-size: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .is-live .rise-words li, .is-live .rise-words .is-on, .pj-enter img, .walk-view, .walk-dot::before, .show-open { transition: none; } }

/* An opening with the title in the sky, behind the building. */
.cover-view { position: relative; overflow: hidden; height: min(56.25vw, 100vh - 252px); height: min(56.25vw, 100svh - 252px); min-height: 400px; background: #4a7cae; }
.cover-frame { --w: max(100vw, 712px); position: absolute; top: 0; left: 50%; width: var(--w); aspect-ratio: 16 / 9; translate: -50% 0; }
.cover-frame picture { display: contents; }
.pj .cover-frame img { width: 100%; height: auto; background: none; }
.pj .cover-frame h1 { position: absolute; top: 6.2%; left: 47.6%; display: grid; color: #fffaf1; font-size: calc(var(--w) * .1); line-height: .8; letter-spacing: -.035em; white-space: nowrap; }
.cover-frame h1 span + span { margin-left: 1.62em; }
.cover-front { position: absolute; top: 0; pointer-events: none; }
.cover-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto repeat(2, minmax(150px, 196px)); gap: 14px clamp(14px, 2.4vw, 36px); align-items: center; width: min(1400px, calc(100% - 2 * var(--gut))); margin: clamp(16px, 2.6vh, 26px) auto 0; }
.cover-foot .pj-lead { margin: 4px 0 0; max-width: 46ch; line-height: 1.45; }
.cover-foot .show-open { min-height: 56px; padding-inline: 28px; }
.cover-way { position: relative; display: block; overflow: hidden; color: #fffaf1; text-decoration: none; }
.pj .cover-way img { aspect-ratio: 16 / 10; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.cover-way:hover img { scale: 1.04; }
.cover-way::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(19 16 13 / .78)); }
.cover-way span { position: absolute; z-index: 1; left: 12px; bottom: 9px; font: 500 1rem/1.2 var(--sans); }
@media (max-height: 520px) { .cover-view { height: calc(100vh - 76px); height: calc(100svh - 76px); min-height: 240px; } }
@media (max-width: 900px) and (orientation: portrait) {
  .cover-view { height: 150vw; max-height: 118vh; min-height: 0; background: linear-gradient(#34618f, #4e7fae 34vw); }
  .cover-frame { --w: 222vw; top: 25vw; left: 0; translate: -23.2% 0; }
  .cover-frame > img, .cover-frame > picture img { -webkit-mask-image: linear-gradient(transparent, #000 15%); mask-image: linear-gradient(transparent, #000 15%); }
  .pj .cover-frame h1 { top: -11.5%; left: 25%; font-size: 17.6vw; line-height: .84; }
  .cover-frame h1 span + span { margin-left: .04em; }
}
@media (max-width: 900px) {
  .cover-foot { grid-template-columns: 1fr 1fr; }
  .cover-foot > div, .cover-foot .show-open { grid-column: 1 / -1; }
  .cover-foot .show-open { justify-content: center; }
}

/* A short film over the picture that leads into the 3D page. */
.pj-enter video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.pj-enter video.is-on { opacity: 1; }
/* on a phone the button stands under the film, not on the figure in it */
@media (max-width: 700px) {
  .pj-enter { display: grid; text-decoration: none; }
  .pj-enter video { height: calc(100% - 52px); }
  .pj-enter span { position: relative; inset: auto; z-index: 1; justify-content: center; min-height: 52px; background: var(--ink); color: var(--paper); }
}

/* A building whose parts lift off one another. */
.pj-apart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); gap: 32px clamp(28px, 5vw, 84px); align-items: center; }
.apart-intro { margin: 18px 0 0; max-width: 44ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
.apart-words dl { margin: clamp(22px, 4vh, 40px) 0 0; }
.apart-words dl > div { padding: 10px 0 11px; border-top: 1px solid var(--stone); }
.apart-words dt { font: 500 1.45rem/1.2 var(--serif); }
.apart-words dd { margin: 2px 0 0; max-width: 60ch; line-height: 1.45; color: var(--ink-2); }
.apart-words dl > div { transition: opacity .5s; }
.is-fire .apart-words dl > div:not(.is-lost) { opacity: .38; }
.apart-frame { position: relative; width: min(100%, calc((100vh - 190px) * var(--wide) / var(--tall))); min-width: min(100%, 420px); margin-inline: auto; aspect-ratio: var(--wide) / var(--tall); }
.pj .apart-frame img, .apart-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: none; }
.apart-frame picture { display: contents; }
.pj .apart-frame .apart-lost { opacity: 0; transition: opacity .6s; }
.pj .is-fire .apart-lost { opacity: 1; }
.apart-name { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); display: flex; align-items: center; gap: 8px; translate: 0 -50%; font: 500 1rem/1.2 var(--sans); white-space: nowrap; transition: opacity .4s; }
.apart-name::before { content: ''; width: clamp(16px, 2.4vw, 38px); height: 1px; background: currentColor; }
.is-moving .apart-name { opacity: 0; }
.apart-hand { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 32px; margin-top: 14px; }
.apart-hand[hidden] { display: none; }
.apart-hand label { display: flex; align-items: center; gap: 14px; }
.apart-hand input { width: clamp(120px, 17vw, 260px); height: 44px; margin: 0; accent-color: var(--ink); cursor: grab; }
.apart-hand button { min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); background: none; color: var(--ink); font: 500 1rem/1 var(--sans); cursor: pointer; transition: background .24s, color .24s; }
.apart-hand button:hover { background: var(--paper-2); }
.apart-hand button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) {
  .pj-apart { grid-template-columns: minmax(0, 1fr); }
  .apart-words { display: contents; }
  .apart-words h2, .apart-intro { grid-column: 1; }
  .apart-intro { margin-top: -18px; }
  .apart-words dl { order: 1; margin-top: 0; }
  .apart-frame { width: min(100%, max(320px, (100vh - 120px) * var(--wide) / var(--tall))); min-width: 0; }
  .apart-name { font-size: .86rem; gap: 5px; }
  .apart-name::before { width: 9px; }
  .apart-hand label { width: 100%; }
  .apart-hand input { flex: 1; width: auto; }
}

/* Close-ups set close together. */
.pj-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: clamp(5px, .55vw, 9px); }
.pj-mosaic .is-big { grid-area: span 2 / span 2; }
.pj-mosaic figure { position: relative; height: 100%; overflow: hidden; }
.pj-mosaic picture { display: contents; }
.pj .pj-mosaic img { height: 100%; aspect-ratio: 1; object-fit: cover; transition: scale .9s cubic-bezier(.2, .7, .2, 1); }
.pj-mosaic li:hover img { scale: 1.05; }
.pj .pj-mosaic figcaption { position: absolute; inset: auto 0 0; padding: 34px 12px 9px; background: linear-gradient(transparent, rgb(19 16 13 / .78)); color: #fffaf1; font: 500 clamp(.84rem, 1vw, 1rem)/1.2 var(--sans); }
.pj .pj-mosaic .is-big figcaption { padding: 60px 18px 15px; font: 500 clamp(1.3rem, 1.9vw, 1.8rem)/1.1 var(--serif); }
@media (max-width: 800px) { .pj-mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pj .pj-mosaic img, .pj .cover-way img, .pj .apart-lost, .apart-name, .apart-words dl > div { transition: none; } }

/* The link to the 3D walk in the opening with moving light */
.pj-light-copy .show-open { margin-top: 18px; pointer-events: auto; background: var(--on-dark); color: var(--night); }
.pj-light-copy .show-open:hover { background: var(--stone); }

/* many building years on a phone: rows of five, wide enough for a finger */
@media (max-width: 700px) and (orientation: portrait) {
  .rise-years:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 0 4px; }
  .rise-years button { font-size: .85rem; }
}

/* spots: a picture with points to open */
.pj-spots { display: grid; gap: 14px; }
.spots-view { position: relative; }
.spots-frame { position: relative; aspect-ratio: var(--frame); max-width: calc(82vh * var(--r, 9)); margin-inline: auto; background: var(--paper-2); }
.spots-drawing .spots-frame { background: none; }
.pj .spots-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); z-index: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; }
.spot > span:first-child { position: absolute; inset: 9px; display: grid; place-items: center; border-radius: 50%; background: var(--brass); color: #fff; font: 600 .78rem/1 var(--sans); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 8px rgba(0, 0, 0, .25); transition: transform .2s var(--ease), background .2s; }
.spot-dot > span:first-child { inset: 14px; }
.spot:hover > span:first-child, .spot[aria-expanded="true"] > span:first-child { transform: scale(1.2); background: var(--brass-ink); }
.spot:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; border-radius: 50%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spots-card { position: absolute; z-index: 2; width: min(300px, 80%); padding: 16px 18px 18px; background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(23, 19, 17, .22); }
.spots-card img { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.spots-card h3 { margin: 0 28px 6px 0; font: 400 1.25rem/1.2 var(--serif); }
.spots-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.spots-card a { display: inline-block; margin-top: 12px; color: var(--ink); text-underline-offset: 4px; }
.spots-close { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-2); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 720px) {
  .spots-card { position: relative; left: auto !important; top: auto !important; width: auto; margin-top: 10px; box-shadow: none; border: 1px solid var(--stone); }
  .spots-card img { max-width: 220px; }
  .spot { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .spot > span:first-child { inset: 3px; font-size: .68rem; }
  .spot-dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .spot-dot > span:first-child { inset: 3px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 1px 4px rgba(0, 0, 0, .25); }
}
