/* Harlan & Reed Millwork — "The Drawing Set". Bone, ink, real wood, drafting red. Instrument Sans (condensed for display) + IBM Plex Mono.
   Tokens and rules: DESIGN.md. Animate transform and opacity only (plus small SVG stroke offsets). */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-var-latin.woff2") format("woff2-variations"), url("fonts/instrument-sans-var-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* metric-matched fallbacks so the swap does not move anything */
@font-face { font-family: "IS Fallback"; src: local("Arial Narrow"), local("Helvetica Neue Condensed"), local("Arial"); size-adjust: 96%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Mono Fallback"; src: local("Menlo"), local("Courier New"); size-adjust: 98%; ascent-override: 102%; descent-override: 27%; }

:root {
  --bone: #F3F2EE; --paper: #FBFBF9; --vellum: #E6E5E0;
  --ink: #141517; --graphite: #3A3C41; --lead: #5C5F66;
  --rule: #C9C8C2; --rule-ink: rgba(20, 21, 23, .14); --pencil: rgba(20, 21, 23, .22);
  --red: #C42A1C; --red-line: #D93A2B; --red-hi: #FF6B5B;
  --carbon: #121315; --slate: #1D1F22; --mist: #B9BBC0; --rule-dark: rgba(243, 242, 238, .16);
  --sans: "Instrument Sans", "IS Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", "Mono Fallback", ui-monospace, Menlo, monospace;
  --m: 40px; --gut: 24px; --hd: 72px;
  --t-press: 90ms; --t-quick: 160ms; --t-base: 240ms; --t-settle: 380ms; --t-page: 560ms; --t-wood: 900ms;
  --glide: cubic-bezier(.16, 1, .3, 1); --cut: cubic-bezier(.65, 0, .35, 1); --settle: cubic-bezier(.34, 1.4, .64, 1); --exit: cubic-bezier(.4, 0, 1, 1);
  color-scheme: light;
}
@media (max-width: 1099px) { :root { --m: 32px; } }
@media (max-width: 719px) { :root { --m: 20px; --gut: 16px; --hd: 60px; } }
@media (max-width: 374px) { :root { --m: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 24px); }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.58 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: tabular-nums; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--red-line); outline-offset: 3px; }
.dk :focus-visible, .ft :focus-visible { outline-color: var(--red-hi); }
::selection { background: var(--ink); color: var(--bone); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--bone); padding: 14px 18px; text-decoration: none; min-height: 44px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
.xxl { font: 500 clamp(64px, 14.2vw, 232px)/.8 var(--sans); font-stretch: 75%; letter-spacing: -.05em; }
.xl { font: 500 clamp(48px, 9.4vw, 152px)/.84 var(--sans); font-stretch: 76%; letter-spacing: -.045em; }
.dl { font: 500 clamp(40px, 6vw, 96px)/.9 var(--sans); font-stretch: 80%; letter-spacing: -.035em; }
.h2 { font: 520 clamp(30px, 3.4vw, 52px)/1 var(--sans); font-stretch: 86%; letter-spacing: -.025em; }
.h3 { font: 560 clamp(21px, 1.7vw, 26px)/1.15 var(--sans); font-stretch: 94%; letter-spacing: -.01em; }
.lede { font: 420 clamp(19px, 1.5vw, 23px)/1.42 var(--sans); letter-spacing: -.005em; max-width: 34em; }
.body { display: grid; gap: 1em; max-width: 36em; color: var(--graphite); }
.dk .body, .dk .lede { color: var(--mist); }
.fig { font: 400 13px/1.45 var(--mono); letter-spacing: .02em; color: var(--lead); }
.lab { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.dk .fig, .dk .lab { color: var(--mist); }
.red { color: var(--red); }
.dk .red { color: var(--red-hi); }

/* line masks: headlines rise out of their own line */
.lm { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.lm > span { display: block; }
.js .rise .lm > span { transform: translateY(105%); }
.js .rise.in .lm > span { transform: none; transition: transform 900ms var(--glide); }
.js .rise.in .lm:nth-child(2) > span { transition-delay: 90ms; }
.js .rise.in .lm:nth-child(3) > span { transition-delay: 180ms; }
.js .up { opacity: 0; transform: translateY(18px); }
.js .up.in { opacity: 1; transform: none; transition: opacity 700ms var(--glide), transform 700ms var(--glide); transition-delay: var(--d, 0ms); }

/* ---------- layout ---------- */
.m { padding-inline: var(--m); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
@media (max-width: 1099px) { .g { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 719px) { .g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dk { background: var(--carbon); color: var(--bone); color-scheme: dark; }
.vel { background: var(--vellum); }
.pad { padding-block: clamp(96px, 11vw, 176px); }
.rule-t { border-top: 1px solid var(--rule-ink); }
.dk .rule-t { border-color: var(--rule-dark); }

/* ---------- buttons: the push latch ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 560 16px/1 var(--sans); font-stretch: 96%; letter-spacing: 0; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform var(--t-settle) var(--settle), box-shadow var(--t-quick), color var(--t-base) var(--glide), background-color var(--t-quick); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.btn::before { content: ""; position: absolute; inset: 3px; border: 1px solid currentColor; opacity: 0; transition: opacity var(--t-quick); pointer-events: none; }
.btn .arr { display: inline-block; transition: transform var(--t-base) var(--glide); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink::before { border-color: rgba(243, 242, 238, .55); }
.btn-line::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform var(--t-base) var(--glide); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: #000; }
  .btn:hover::before { opacity: 1; }
  .btn:hover .arr { transform: translateX(4px); }
  .btn-line:hover { color: var(--bone); }
  .btn-line:hover::after { transform: none; }
  .btn-line:hover::before { border-color: rgba(243, 242, 238, .55); }
}
.btn.is-press, .btn:active { transform: translateY(1px) scale(.985); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .5); transition-duration: var(--t-press); transition-timing-function: var(--glide); }
.btn-line.is-press, .btn-line:active { box-shadow: inset 0 2px 0 rgba(20, 21, 23, .25); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.dk .btn { border-color: var(--bone); color: var(--bone); }
.dk .btn-ink { background: var(--bone); color: var(--ink); }
.dk .btn-ink::before { border-color: rgba(20, 21, 23, .5); }
@media (hover: hover) and (pointer: fine) { .dk .btn-ink:hover { background: #fff; } .dk .btn-line:hover { color: var(--ink); } }
.dk .btn-line::after { background: var(--bone); }
@media (max-width: 719px) { .btn { min-height: 56px; } }

/* text link with a dimension-line underline */
.tlink { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 560 16px/1.2 var(--sans); font-stretch: 96%; text-decoration: none; color: var(--ink); }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 9px; background: linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) 0 0 / 1px 9px no-repeat, linear-gradient(currentColor, currentColor) 100% 0 / 1px 9px no-repeat; transform-origin: left; opacity: .38; transition: opacity var(--t-quick), color var(--t-quick); }
.tlink:hover::after, .tlink:focus-visible::after { opacity: 1; color: var(--red-line); }
.tlink .arr { transition: transform var(--t-base) var(--glide); }
.tlink:hover .arr { transform: translateX(4px); }
.dk .tlink { color: var(--bone); }
.dk .tlink:hover::after { color: var(--red-hi); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 100; height: var(--hd); background: var(--bone); border-bottom: 1px solid var(--rule-ink); transition: transform var(--t-base) var(--glide); view-transition-name: head; }
.hd.away { transform: translateY(-101%); transition-timing-function: var(--exit); }
.hd-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--m); }
.mark { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; color: var(--ink); }
.mark b { font: 600 23px/1 var(--sans); font-stretch: 78%; letter-spacing: -.025em; }
.mark span { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lead); padding-left: 14px; border-left: 1px solid var(--rule); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font: 520 15.5px/1 var(--sans); text-decoration: none; color: var(--graphite); transition: color var(--t-quick); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 7px; background: linear-gradient(var(--red-line), var(--red-line)) 0 3px / 100% 1.5px no-repeat, linear-gradient(var(--red-line), var(--red-line)) 0 0 / 1.5px 7px no-repeat, linear-gradient(var(--red-line), var(--red-line)) 100% 0 / 1.5px 7px no-repeat; }
.nav .btn { min-height: 44px; margin-left: 14px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: 0 4px 0 14px; border: 0; background: none; font: 560 16px/1 var(--sans); align-items: center; gap: 10px; }
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: currentColor; }
@media (max-width: 1099px) { .nav .btn .long { display: none; } }
@media (max-width: 719px) { .nav { display: none; } .menu-btn { display: inline-flex; } .mark b { font-size: 21px; } .mark span { display: none; } }
@media (min-width: 720px) and (max-width: 1099px) { .nav a:not(.btn) { padding: 0 10px; } }

/* the menu: a drawer on full-extension runners */
.menu { position: fixed; inset: 0 0 0 auto; width: min(100vw, 480px); height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(20, 21, 23, .35); transform: translateX(100%); transition: transform var(--t-settle) var(--settle), overlay var(--t-settle) allow-discrete, display var(--t-settle) allow-discrete; overflow-y: auto; overscroll-behavior: contain; }
.menu:popover-open { transform: none; }
@starting-style { .menu:popover-open { transform: translateX(100%); } }
.menu::backdrop { background: rgba(20, 21, 23, 0); transition: background var(--t-settle), overlay var(--t-settle) allow-discrete, display var(--t-settle) allow-discrete; }
.menu:popover-open::backdrop { background: rgba(20, 21, 23, .4); }
@starting-style { .menu:popover-open::backdrop { background: rgba(20, 21, 23, 0); } }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--m) calc(24px + env(safe-area-inset-bottom)); }
.menu-top { height: var(--hd); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule-ink); margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
.menu-top .btn { min-height: 44px; padding: 0 18px; }
.menu ul { padding-block: 20px; flex: 1; }
.menu li { border-bottom: 1px solid var(--rule-ink); }
.menu li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; text-decoration: none; font: 500 40px/1 var(--sans); font-stretch: 78%; letter-spacing: -.035em; }
.menu li a small { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.menu li.sub a { min-height: 48px; font-size: 22px; font-stretch: 90%; letter-spacing: -.015em; padding-left: 20px; }
.menu li a[aria-current="page"] small { color: var(--red); }
.menu .btn { width: 100%; }
.js .menu:popover-open li { animation: drawer-in 520ms var(--glide) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(28px); } }

/* ---------- sheet strip (masthead title block) ---------- */
.strip { display: flex; border-bottom: 1px solid var(--rule-ink); padding-inline: var(--m); overflow: hidden; }
.strip > div { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 18px; border-right: 1px solid var(--rule-ink); font: 400 12px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; }
.strip > div:first-child { padding-left: 0; }
.strip > div:last-child { border-right: 0; margin-left: auto; }
.strip b { font-weight: 500; color: var(--ink); }
.strip .red { color: var(--red); }
@media (max-width: 719px) { .strip > div:nth-child(n+3):not(:last-child) { display: none; } .strip > div { padding: 8px 12px; } }

/* ---------- page head ---------- */
.ph { padding: clamp(40px, 6vw, 96px) var(--m) clamp(48px, 6vw, 96px); }
.ph h1 { margin-left: -.04em; }
.ph-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); margin-top: clamp(32px, 4vw, 64px); align-items: end; }
.ph-row .lede { grid-column: 7 / span 5; }
.ph-row .ph-note { grid-column: 1 / span 4; }
@media (max-width: 1099px) { .ph-row .lede { grid-column: 4 / -1; } .ph-row .ph-note { grid-column: 1 / span 3; } }
@media (max-width: 719px) { .ph-row { grid-template-columns: 1fr; gap: 20px; } .ph-row .lede, .ph-row .ph-note { grid-column: 1; } }

/* ---------- HERO: the material library ---------- */
.lib { position: relative; }
.lib-stage { position: relative; width: 100%; aspect-ratio: 1536 / 1024; overflow: hidden; background: #D9D6CF; }
.lib-layer { position: absolute; inset: 0; overflow: hidden; }
.lib-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.lib-layer:not(.on):not(.in) { visibility: hidden; }
.lib-layer.on { z-index: 1; }
.lib-layer.in { z-index: 2; }
.lib-layer.in.wipe { animation: mask-down var(--t-wood) var(--cut) both; }
.lib-layer.in.wipe > .lib-pic { animation: mask-down-inner var(--t-wood) var(--cut) both; }
.lib-pic { position: absolute; inset: 0; }
@keyframes mask-down { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes mask-down-inner { from { transform: translateY(100%); } to { transform: none; } }
.lib-layer.in.fade { animation: fade-in 200ms linear both; }
@keyframes fade-in { from { opacity: 0; } }
.knife { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 0; pointer-events: none; opacity: 0; }
.knife::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--red-line); box-shadow: 0 0 0 .5px rgba(243, 242, 238, .5); }
.knife::after { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; background: linear-gradient(to top, rgba(20, 21, 23, .22), rgba(20, 21, 23, 0)); }
.knife.run { animation: knife var(--t-wood) var(--cut) both; }
@keyframes knife { 0% { opacity: 1; transform: translateY(0); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--h, 900px)); } }
/* vellum: the room as a drawing, before it is built */
.lib-wash { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.lib-wash .lib-pic { filter: grayscale(1) contrast(.82) brightness(1.12); }
.lib-wash::after { content: ""; position: absolute; inset: 0; background: rgba(243, 242, 238, .58); }
.lib-wash .grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(20, 21, 23, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .06) 1px, transparent 1px); background-size: 24px 24px; }
.lib-wash.built { animation: mask-up var(--t-wood) var(--cut) both; }
.lib-wash.built > * { animation: mask-up-inner var(--t-wood) var(--cut) both; }
@keyframes mask-up { to { transform: translateY(100%); } }
@keyframes mask-up-inner { to { transform: translateY(-100%); } }
.lib-wash.gone { display: none; }
.no-js .lib-wash, .still .lib-wash { display: none; }
/* dimension strings */
.dims { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dims .halo { fill: none; stroke: rgba(243, 242, 238, .7); stroke-width: 4; vector-effect: non-scaling-stroke; }
.dims .ln { fill: none; stroke: var(--red-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dims .ext { fill: none; stroke: var(--red-line); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .9; }
.dims .tick { stroke: var(--red-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.js .dims .ds .ln, .js .dims .ds .halo { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .dims .ds .ext, .js .dims .ds .tick { opacity: 0; }
.js .dims.go .ds .ln, .js .dims.go .ds .halo { stroke-dashoffset: 0; transition: stroke-dashoffset 700ms var(--cut); transition-delay: calc(var(--i) * 160ms + 120ms); }
.js .dims.go .ds .ext { opacity: .9; transition: opacity 120ms linear; transition-delay: calc(var(--i) * 160ms); }
.js .dims.go .ds .tick { opacity: 1; transition: opacity 60ms linear; transition-delay: calc(var(--i) * 160ms + 760ms); }
.dimtag { position: absolute; z-index: 6; transform: translate(-50%, -50%); padding: 3px 7px; background: var(--paper); color: var(--red); font: 500 12.5px/1.2 var(--mono); letter-spacing: .02em; white-space: nowrap; pointer-events: none; box-shadow: 0 0 0 1px rgba(217, 58, 43, .35); }
.js .dimtag { opacity: 0; transform: translate(-50%, calc(-50% + 6px)); }
.js .dims-on .dimtag { opacity: 1; transform: translate(-50%, -50%); transition: opacity 200ms var(--glide), transform 200ms var(--glide); transition-delay: calc(var(--i) * 160ms + 820ms); }
.quiet .dims { opacity: .85; transition: opacity 600ms; }
/* headline on the bare plaster */
.lib-head { position: absolute; z-index: 7; left: var(--m); top: clamp(28px, 4.2vw, 64px); pointer-events: none; color: var(--ink); }
.lib-head { top: clamp(20px, 2.4vw, 36px); }
.lib-head h1 { font: 500 min(8.8vw, 15.5vh)/.8 var(--sans); font-stretch: 75%; letter-spacing: -.052em; margin-left: -.04em; margin-top: clamp(16px, 2vw, 30px); }
.lib-head p { font: 400 16px/1.5 var(--sans); color: var(--graphite); max-width: 44em; }
/* the flitch: five veneer leaves */
.board { position: absolute; z-index: 8; right: var(--m); top: clamp(80px, 9vw, 150px); width: 214px; padding: 14px 14px 10px; background: var(--paper); box-shadow: 0 24px 50px -28px rgba(20, 21, 23, .5); }
.board legend { padding: 0; margin-bottom: 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lead); }
.board fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.leaf { position: relative; }
.leaf + .leaf { margin-top: 2px; }
.leaf input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.leaf label { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; min-height: 62px; padding: 4px 6px 4px 0; cursor: pointer; transition: transform var(--t-settle) var(--settle); }
.leaf .slice { position: relative; display: block; width: 40px; height: 54px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .12); transition: transform var(--t-settle) var(--settle); }
.leaf .slice img { width: 100%; height: 100%; object-fit: cover; }
.leaf b { display: block; font: 560 16px/1.1 var(--sans); font-stretch: 92%; color: var(--graphite); transition: color var(--t-quick); }
.leaf small { display: block; margin-top: 3px; font: 400 11.5px/1.2 var(--mono); letter-spacing: .02em; color: var(--lead); }
.leaf label::before { content: ""; position: absolute; left: -14px; top: 50%; width: 9px; height: 1.5px; background: var(--red-line); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--glide); }
@media (hover: hover) and (pointer: fine) { .leaf label:hover .slice { transform: translateX(-6px); } .leaf label:hover b { color: var(--ink); } }
.leaf input:checked + label .slice { transform: translateX(-14px) scale(1.04); box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .2), 6px 8px 16px -8px rgba(20, 21, 23, .5); }
.leaf input:checked + label b { color: var(--ink); }
.leaf input:checked + label::before { transform: none; }
.leaf input:focus-visible + label { outline: 2px solid var(--red-line); outline-offset: 2px; }
.leaf.wait .slice::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red-line); animation: wait 900ms var(--cut) infinite; }
@keyframes wait { from { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } to { transform: scaleX(0); transform-origin: right; } }
.js .board { opacity: 0; transform: translateX(18px); }
.js .lib.ready .board { opacity: 1; transform: none; transition: opacity 420ms var(--glide), transform 620ms var(--glide); }
.js .board .leaf { opacity: 0; transform: translateX(24px); }
.js .lib.ready .board .leaf { opacity: 1; transform: none; transition: opacity 420ms var(--glide), transform 520ms var(--glide); transition-delay: calc(var(--i) * 60ms + 120ms); }
/* caption row: a title block */
.lib-cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; border-bottom: 1px solid var(--rule-ink); padding-inline: var(--m); }
.lib-cap > * { display: flex; align-items: center; min-height: 56px; padding: 10px 20px; border-right: 1px solid var(--rule-ink); }
.lib-cap > :first-child { padding-left: 0; }
.lib-cap > :last-child { border-right: 0; padding-right: 0; }
.lib-cap .lab { color: var(--red); }
.lib-cap b { font: 560 17px/1.3 var(--sans); }
.lib-cap .fig { color: var(--graphite); white-space: nowrap; }
.lib-note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); padding: 28px var(--m) 0; }
.lib-note p { grid-column: 1 / span 6; color: var(--graphite); max-width: 36em; }
@media (max-width: 1099px) {
  .board { width: 196px; top: 24px; }
  .lib-cap { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lib-cap > :nth-child(3), .lib-cap > :nth-child(4) { display: none; }
  .lib-note p { grid-column: 1 / -1; }
}
/* phones: the portrait kitchen, the flitch along the bottom in the thumb zone */
@media (max-width: 719px) {
  .lib-stage { aspect-ratio: 1024 / 1536; }
  .lib-head { top: 22px; display: flex; flex-direction: column-reverse; }
  .lib-head h1 { font-size: clamp(58px, 18.6vw, 84px); margin-top: 0; }
  .lib-head p { max-width: 26em; margin-top: 16px; }
  .board { position: relative; right: auto; top: auto; width: auto; padding: 14px var(--m) 4px; box-shadow: none; background: var(--bone); }
  .board legend { margin-bottom: 8px; }
  .board fieldset > div.leaves { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .leaf + .leaf { margin-top: 0; }
  .leaf label { grid-template-columns: 1fr; gap: 6px; justify-items: stretch; min-height: 96px; padding: 0 0 4px; }
  .leaf .slice { width: 100%; height: 58px; }
  .leaf b { font-size: 14px; text-align: left; }
  .leaf small { display: none; }
  .leaf label::before { left: 0; right: 0; top: auto; bottom: -2px; width: auto; height: 2px; }
  .leaf input:checked + label .slice { transform: translateY(-8px); }
  .js .board .leaf { transform: translateY(16px); }
  .lib-cap { grid-template-columns: minmax(0, 1fr) auto; }
  .lib-cap > :first-child { display: none; }
  .lib-cap > :nth-child(2) { padding-left: 0; }
  .lib-cap b { font-size: 16px; }
  .lib-cap .tlink { font-size: 15px; }
  .lib-note { padding-top: 20px; }
  .dimtag { font-size: 11.5px; padding: 2px 5px; }
}
.dims-m { display: none; }
@media (max-width: 719px) { .dims-d { display: none; } .dims-m { display: block; } }

/* ---------- statement (3/9 margin note) ---------- */
.stmt { padding: clamp(96px, 12vw, 200px) var(--m) clamp(80px, 9vw, 150px); }
.stmt .note { grid-column: 1 / span 3; padding-top: .6em; }
.stmt .big { grid-column: 4 / -1; font: 500 clamp(34px, 4.6vw, 76px)/1 var(--sans); font-stretch: 82%; letter-spacing: -.035em; }
.stmt .big .soft { color: var(--lead); }
.sched { grid-column: 4 / -1; margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.sched > div { padding: 16px 20px 0 0; border-right: 1px solid var(--rule-ink); }
.sched > div + div { padding-left: 20px; }
.sched > div:last-child { border-right: 0; }
.sched dt { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.sched dd { margin-top: 10px; font: 500 18px/1.3 var(--sans); font-stretch: 94%; }
@media (max-width: 1099px) { .stmt .note { grid-column: 1 / -1; margin-bottom: 24px; } .stmt .big, .sched { grid-column: 1 / -1; } }
@media (max-width: 719px) { .sched { grid-template-columns: 1fr 1fr; } .sched > div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule-ink); } .sched > div:nth-child(2n) { border-right: 0; padding-left: 12px; } .sched > div:nth-child(2n+1) { padding-left: 0; } }

/* ---------- project index: the rack ---------- */
.idx-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 var(--m) 28px; }
.rows { border-top: 1px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--rule-ink); }
.row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: var(--gut); padding: clamp(18px, 2vw, 30px) var(--m); text-decoration: none; color: var(--ink); transition: opacity var(--t-base) var(--glide); }
.row .no { align-self: start; padding-top: .9em; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--red); }
.row h2, .row h3 { font: 500 clamp(48px, 9vw, 148px)/.86 var(--sans); font-stretch: 76%; letter-spacing: -.045em; transition: transform var(--t-settle) var(--glide); }
.row .meta { display: grid; justify-items: end; gap: 6px; text-align: right; font: 400 16px/1.35 var(--sans); letter-spacing: .02em; color: var(--graphite); transition: transform var(--t-settle) var(--glide); }
.row .meta b { font: 560 16px/1.2 var(--sans); color: var(--ink); letter-spacing: 0; }
.row .thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .rows.hovering .row { opacity: .32; }
  .rows.hovering .row.on { opacity: 1; }
  .row.on h2, .row.on h3 { transform: translateX(24px); }
  .row.on .meta { transform: translateX(-8px); }
}
.row:focus-visible { outline-offset: -4px; }
.row.is-press h2, .row.is-press h3 { transform: translateX(24px) translateY(1px); }
/* the board pulled from the rack, following the hand */
/* phones and tablets: a snap carousel of boards */
@media (max-width: 1099px), (hover: none) {
  .rows.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding: 0 var(--m) 8px; border-top: 0; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rows.carousel::-webkit-scrollbar { display: none; }
  .rows.carousel > li { flex: 0 0 min(82vw, 420px); scroll-snap-align: start; border: 0; }
  .rows.carousel .row { display: block; padding: 0; }
  .rows.carousel .row .thumb { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--vellum); }
  .rows.carousel .row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--glide); }
  .rows.carousel .row .no { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 8px; background: var(--paper); }
  .rows.carousel .row h2, .rows.carousel .row h3 { margin-top: 16px; font-size: clamp(44px, 12.4vw, 64px); }
  .rows.carousel .row .meta { justify-items: start; text-align: left; margin-top: 10px; }
  .rows.carousel .row.is-press .thumb img { transform: scale(.985); }
  .dots { display: flex; gap: 6px; padding: 18px var(--m) 0; }
  .dots span { width: 28px; height: 2px; background: var(--rule); transition: background var(--t-base); }
  .dots span.on { background: var(--red-line); }
}
@media (min-width: 1100px) and (hover: hover) { .dots { display: none; } }

/* ---------- dark band: the shop ---------- */
.band { position: relative; padding-bottom: clamp(96px, 11vw, 176px); }
.band-ph { position: relative; aspect-ratio: 1536 / 1024; max-height: 92vh; width: 100%; overflow: hidden; }
.band-ph img { width: 100%; height: 100%; object-fit: cover; }
.band-row { margin-top: calc(clamp(120px, 16vw, 260px) * -1); position: relative; z-index: 2; padding-inline: var(--m); align-items: end; }
.band-inset { grid-column: 1 / span 4; aspect-ratio: 1536 / 1024; overflow: hidden; outline: 8px solid var(--carbon); }
.band-inset img { width: 100%; height: 100%; object-fit: cover; }
.band-txt { grid-column: 6 / span 6; padding-top: clamp(140px, 18vw, 300px); }
.band-txt .body { margin-top: 24px; }
.band-txt .tlink { margin-top: 24px; }
@media (max-width: 1099px) { .band-inset { grid-column: 1 / span 4; } .band-txt { grid-column: 5 / -1; } }
@media (max-width: 719px) { .band-ph { aspect-ratio: 4 / 5; max-height: none; } .band-row { margin-top: -96px; } .band-inset { grid-column: 1 / span 3; } .band-txt { grid-column: 1 / -1; padding-top: 40px; } }

/* ---------- the story stick ---------- */
.stick { padding: clamp(96px, 11vw, 176px) var(--m); }
.stick-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: end; margin-bottom: clamp(56px, 6vw, 96px); }
.stick-head h2 { grid-column: 1 / span 7; }
.stick-head .lede { grid-column: 8 / -1; color: var(--graphite); }
.stick-bar { position: relative; height: 34px; }
.stick-bar svg { width: 100%; height: 34px; overflow: visible; }
.stick-bar .base { stroke: var(--ink); stroke-width: 1.5; }
.stick-bar .t { stroke: var(--ink); stroke-width: 1; }
.stick-bar .T { stroke: var(--red-line); stroke-width: 2; }
.js .stick-bar .base { transform-origin: left; transform: scaleX(0); }
.js .stick.in .stick-bar .base { transform: none; transition: transform 1400ms var(--cut); }
.js .stick-bar .t, .js .stick-bar .T { opacity: 0; }
.js .stick.in .stick-bar .t, .js .stick.in .stick-bar .T { opacity: 1; transition: opacity 200ms; transition-delay: calc(var(--x) * 1300ms); }
.stick-marks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); margin-top: 18px; }
.stick-marks li { padding-right: 16px; }
.stick-marks .n { font: 500 13px/1 var(--mono); color: var(--red); letter-spacing: .04em; }
.stick-marks h3 { margin-top: 14px; font: 500 clamp(34px, 3.6vw, 56px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.035em; }
.stick-marks p { margin-top: 14px; color: var(--graphite); max-width: 22em; }
.js .stick-marks li { opacity: 0; transform: translateY(14px); }
.js .stick.in .stick-marks li { opacity: 1; transform: none; transition: opacity 600ms var(--glide), transform 600ms var(--glide); transition-delay: calc(var(--i) * 260ms + 300ms); }
@media (max-width: 1099px) { .stick-head h2 { grid-column: 1 / -1; } .stick-head .lede { grid-column: 1 / -1; margin-top: 20px; } }
@media (max-width: 719px) {
  .stick-v { display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
  .stick-bar { height: auto; width: 30px; }
  .stick-bar svg { width: 30px; height: 100%; }
  .stick-marks { grid-template-columns: 1fr; gap: 40px; margin-top: 0; }
  .js .stick-bar .base { transform-origin: top; transform: scaleY(0); }
}
@media (min-width: 720px) { .stick-v { display: block; } }

/* ---------- close ---------- */
.close { padding: clamp(110px, 13vw, 220px) var(--m) clamp(96px, 11vw, 176px); }
.close h2 { grid-column: 1 / span 9; }
.close .side { grid-column: 9 / -1; align-self: end; display: grid; gap: 28px; justify-items: start; }
.close .side .lede { color: var(--graphite); }
@media (max-width: 1099px) { .close h2 { grid-column: 1 / -1; } .close .side { grid-column: 1 / -1; margin-top: 36px; } }
.magnet { transition: transform var(--t-settle) var(--settle); }

/* ---------- footer: the title block ---------- */
.ft { background: var(--carbon); color: var(--bone); }
.ft-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-bottom: 1px solid var(--rule-dark); }
.ft-grid > * { padding: clamp(40px, 4vw, 64px) var(--gut) clamp(36px, 3.6vw, 56px) 0; border-right: 1px solid var(--rule-dark); }
.ft-grid > * + * { padding-left: var(--gut); }
.ft-grid > :last-child { border-right: 0; }
.ft-who { grid-column: 1 / span 5; padding-left: var(--m) !important; }
.ft-who .nm { font: 500 clamp(34px, 3.2vw, 48px)/.92 var(--sans); font-stretch: 78%; letter-spacing: -.035em; }
.ft-who p { margin-top: 18px; color: var(--mist); max-width: 30em; }
.ft-idx { grid-column: 6 / span 4; }
.ft-idx ol { display: grid; gap: 0; margin-top: 14px; }
.ft-idx a { display: grid; grid-template-columns: 58px 1fr; align-items: center; min-height: 44px; text-decoration: none; color: var(--bone); border-bottom: 1px solid var(--rule-dark); }
.ft-idx a span { font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--mist); }
.ft-idx a b { font: 500 16px/1.2 var(--sans); }
.ft-idx a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.ft-idx a[aria-current="page"] span, .ft-idx a[aria-current="page"] b { color: var(--red-hi); }
.ft-go { grid-column: 10 / -1; padding-right: var(--m) !important; display: grid; align-content: start; gap: 20px; }
.ft-go p { color: var(--mist); }
.ft .lab { color: var(--mist); }
.tb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-inline: var(--m); }
.tb > div { padding: 14px 16px 16px; border-right: 1px solid var(--rule-dark); min-height: 72px; }
.tb > div:first-child { padding-left: 0; }
.tb > div:last-child { border-right: 0; }
.tb dt { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.tb dd { margin-top: 8px; font: 500 15px/1.3 var(--sans); }
.tb .red { color: var(--red-hi); }
@media (max-width: 1099px) { .ft-who { grid-column: 1 / -1; padding-right: var(--m) !important; border-right: 0 !important; border-bottom: 1px solid var(--rule-dark); } .ft-idx { grid-column: 1 / span 4; padding-left: var(--m) !important; } .ft-go { grid-column: 5 / -1; } .tb { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tb > div:nth-child(3n) { border-right: 0; } .tb > div:nth-child(3n+1) { padding-left: 0; } .tb > div:nth-child(-n+3) { border-bottom: 1px solid var(--rule-dark); } }
@media (max-width: 719px) { .ft-idx, .ft-go { grid-column: 1 / -1; padding-inline: var(--m) !important; border-right: 0 !important; } .ft-idx { border-bottom: 1px solid var(--rule-dark); } .tb { grid-template-columns: 1fr 1fr; } .tb > div { border-bottom: 1px solid var(--rule-dark); } .tb > div:nth-child(3n) { border-right: 1px solid var(--rule-dark); } .tb > div:nth-child(2n) { border-right: 0; } .tb > div:nth-child(2n+1) { padding-left: 0; } .tb > div:nth-child(3n+1) { padding-left: 0; } .tb > div:nth-child(2n) { padding-left: 16px; } .ft { padding-bottom: 76px; } }

/* phone call to action */
.pbar { display: none; }
@media (max-width: 719px) {
  .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: block; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: var(--bone); border-top: 1px solid var(--rule-ink); transition: transform var(--t-base) var(--glide); }
  .pbar .btn { width: 100%; }
  .pbar.away { transform: translateY(105%); transition-timing-function: var(--exit); }
}

/* ---------- case study ---------- */
.case-title { padding: clamp(36px, 5vw, 80px) var(--m) clamp(36px, 4.4vw, 72px); }
.case-title h1 { margin-left: -.04em; }
.case-title .ph-row { margin-top: clamp(28px, 3vw, 48px); }
.case-hero { position: relative; width: 100%; overflow: hidden; background: var(--vellum); }
.case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-hero.land { aspect-ratio: 1536 / 1024; max-height: 94vh; }
.case-hero.tall { aspect-ratio: 16 / 10; max-height: 94vh; }
.case-hero.tall img { object-position: 50% 42%; }
.case-hero figcaption { position: absolute; left: var(--m); bottom: 18px; padding: 6px 10px; background: var(--paper); font: 400 16px/1.3 var(--sans); color: var(--graphite); }
@media (max-width: 719px) { .case-hero.tall { aspect-ratio: 4 / 5; } .case-hero.land { aspect-ratio: 4 / 3.4; } }
.brief { padding: clamp(96px, 11vw, 176px) var(--m); }
.brief .bl { grid-column: 1 / span 2; padding-top: 6px; }
.brief-cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); margin-top: clamp(56px, 6vw, 96px); }
.brief-cols h3 { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.brief-cols p { margin-top: 14px; color: var(--graphite); }
.brief-cols .ans { font: 500 clamp(22px, 2vw, 30px)/1.22 var(--sans); font-stretch: 92%; letter-spacing: -.012em; color: var(--ink); }

/* the pinned scene: drawn, then built */
.scene { position: relative; height: 440vh; background: var(--bone); }
.scene-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(var(--hd) + 16px) var(--m) 24px; gap: 16px; overflow: hidden; }
.scene-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.scene-top h2 { font: 500 clamp(36px, 4.4vw, 72px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.04em; }
.scene-top .fig { text-align: right; }
.scene-frame { position: relative; min-height: 0; display: grid; place-items: center; }
.scene-art { position: relative; height: 100%; max-width: 100%; aspect-ratio: 1536 / 1024; }
.scene-art > picture img, .scene-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-wash { position: absolute; inset: 0; background: var(--paper); opacity: calc(1 - clamp(0, (var(--p, 0) - .3) * 5, 1)); }
.scene-wash::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 21, 23, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .05) 1px, transparent 1px); background-size: 24px 24px; }
.scene-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene-draw .pn { fill: none; stroke: var(--pencil); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, (var(--p, 0) - .0) * 7, 1)); opacity: calc(1 - clamp(0, (var(--p, 0) - .3) * 5, 1)); }
.scene-draw .ik { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - clamp(0, (var(--p, 0) - .1) * 5.5, 1)); opacity: calc(1 - clamp(0, (var(--p, 0) - .34) * 4, .72)); }
.scene-draw .dm { fill: none; stroke: var(--red-line); stroke-width: 1.25; vector-effect: non-scaling-stroke; opacity: clamp(0, (var(--p, 0) - .18) * 8, 1); }
.scene-draw .dm-t { font: 500 15px var(--mono); fill: var(--red); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; opacity: clamp(0, (var(--p, 0) - .2) * 8, 1); }
.hots { position: absolute; inset: 0; }
.callout { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--paper); color: var(--ink); text-decoration: none; font: 500 15px/1 var(--mono); box-shadow: 0 0 0 1.5px var(--ink), 0 8px 18px -8px rgba(20, 21, 23, .6); opacity: clamp(0, (var(--p, 0) - (.5 + var(--n) * .02)) * 12, 1); transform: scale(calc(.6 + .4 * clamp(0, (var(--p, 0) - (.5 + var(--n) * .02)) * 12, 1))); transition: box-shadow var(--t-quick), color var(--t-quick); }
.callout::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--red-line); opacity: 0; transform: scale(.7); transition: opacity var(--t-base), transform var(--t-settle) var(--settle); }
.callout.on { color: var(--red); box-shadow: 0 0 0 2px var(--red-line), 0 8px 18px -8px rgba(20, 21, 23, .6); }
.callout.on::after { opacity: 1; transform: none; }
.callout:hover { color: var(--red); }
.scene-cap { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: var(--gut); align-items: start; border-top: 1px solid var(--ink); padding-top: 14px; min-height: 104px; }
.scene-cap .stat { display: grid; gap: 6px; }
.scene-cap .stat dd { font: 500 18px/1.1 var(--sans); }
.scene-cap .stat .fitted { color: var(--red); }
.caps { position: relative; min-height: 84px; }
.caps > div { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(8px); transition: opacity var(--t-base) var(--glide), transform var(--t-base) var(--glide); }
.caps > div.on { opacity: 1; transform: none; }
.caps h3 { font: 560 20px/1.15 var(--sans); font-stretch: 92%; }
.caps p { margin-top: 6px; color: var(--graphite); max-width: 52em; font-size: 16px; line-height: 1.5; }
.caps .k { font: 500 12px/1 var(--mono); color: var(--red); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.scene-cap .hint { font: 400 16px/1.4 var(--sans); color: var(--lead); max-width: 16em; text-align: right; }
@media (max-width: 1099px) { .scene-cap { grid-template-columns: 1fr; gap: 10px; } .scene-cap .stat { grid-template-columns: auto auto; justify-content: start; gap: 4px 16px; } .scene-cap .hint { display: none; } .caps { min-height: 120px; } }
@media (max-width: 719px) {
  .scene { height: 400vh; }
  .scene-stage { padding: calc(var(--hd) + 10px) 0 16px; grid-template-rows: auto auto minmax(0, 1fr); }
  .scene-top { padding-inline: var(--m); }
  .scene-top .fig { display: none; }
  .scene-art { width: 100%; height: auto; }
  .scene-cap { padding: 14px var(--m) 0; border-top: 0; }
  .caps { min-height: 150px; }
  .callout { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 13px; }
  .callout::before { content: ""; position: absolute; inset: -6px; }
  .scene-draw .dm-t { font-size: 24px; stroke-width: 8px; }
}
.still .scene, .no-js .scene { height: auto; --p: 1; }
.still .scene-stage, .no-js .scene-stage { position: relative; height: auto; }
.still .scene-art, .no-js .scene-art { height: auto; width: 100%; }
.still .scene-draw .ik, .no-js .scene-draw .ik { opacity: .3; }
.still .caps > div, .no-js .caps > div { position: relative; opacity: 1; transform: none; }
.still .caps > div + div, .no-js .caps > div + div { display: none; }

/* making: a carbon sheet with an image bleeding off the left */
.making { position: relative; padding-block: clamp(96px, 11vw, 176px); overflow: hidden; }
.making .g { padding-right: var(--m); align-items: start; }
.mk-ph { grid-column: 1 / span 7; position: relative; }
.mk-ph .a { aspect-ratio: var(--ar); overflow: hidden; }
.mk-ph .a img { width: 100%; height: 100%; object-fit: cover; }
.mk-tx { grid-column: 9 / -1; padding-top: clamp(20px, 4vw, 64px); }
.mk-tx .body { margin-top: 24px; }
.mk-fin { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule-dark); }
.mk-fin .sw { width: 56px; height: 84px; overflow: hidden; }
.mk-fin .sw img { width: 100%; height: 100%; object-fit: cover; }
.mk-cap { margin-top: clamp(80px, 9vw, 140px); }
@media (max-width: 1099px) { .mk-ph { grid-column: 1 / span 5; } .mk-tx { grid-column: 6 / -1; } }
@media (max-width: 719px) { .making .g { padding-left: 0; } .mk-ph { grid-column: 1 / -1; margin-right: 18%; } .mk-ph .b { right: -22%; width: 46%; } .mk-tx { grid-column: 1 / -1; padding: 96px var(--m) 0; } }
.making.rev .mk-ph { grid-column: 6 / -1; order: 2; margin-right: calc(var(--m) * -1); }
.making.rev .mk-tx { grid-column: 1 / span 4; padding-left: var(--m); order: 1; }
@media (max-width: 719px) { .making.rev .mk-ph { grid-column: 1 / -1; order: 1; margin: 0 0 0 18%; } .making.rev .mk-ph .b { left: -22%; } .making.rev .mk-tx { order: 2; grid-column: 1 / -1; padding: 96px var(--m) 0; } }


/* the details: a detail sheet */
.details { padding: clamp(96px, 11vw, 176px) var(--m); }
.details-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.det-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.det-list li { padding: 20px 22px 8px; border-right: 1px solid var(--rule-ink); scroll-margin-top: calc(var(--hd) + 24px); }
.det-list li:first-child { padding-left: 0; }
.det-list li:last-child { border-right: 0; padding-right: 0; }
.det-list li:target { background: linear-gradient(var(--paper), var(--paper)); }
.det-list li:target .k { color: var(--red); }
.det-dw { position: relative; aspect-ratio: 1; max-width: 220px; margin-bottom: 22px; background: var(--paper); background-image: linear-gradient(rgba(20, 21, 23, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .05) 1px, transparent 1px); background-size: 12px 12px; }
.det-dw svg { width: 100%; height: 100%; }
.det-dw .bubble { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 13px/1 var(--mono); background: var(--paper); }
.det-list .k { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.det-list h3 { margin-top: 10px; font: 560 21px/1.15 var(--sans); font-stretch: 92%; letter-spacing: -.01em; }
.det-list p { margin-top: 10px; color: var(--graphite); font-size: 16.5px; line-height: 1.55; }
.det-dw .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.det-dw .ln-t { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .55; }
.det-dw .ln-h { fill: none; stroke: var(--ink); stroke-width: 3; }
.det-dw .acc { fill: none; stroke: var(--red-line); stroke-width: 1.8; }
.det-dw .hatch { fill: url(#dhatch); stroke: var(--ink); stroke-width: 1; }
@media (max-width: 1099px) { .det-list { grid-template-columns: 1fr 1fr; } .det-list li:nth-child(2n) { border-right: 0; padding-right: 0; } .det-list li:nth-child(2n+1) { padding-left: 0; } .det-list li:nth-child(-n+2) { border-bottom: 1px solid var(--rule-ink); padding-bottom: 32px; } .det-list li:nth-child(n+3) { padding-top: 32px; } }
@media (max-width: 719px) { .det-list { grid-template-columns: 1fr; } .det-list li { padding: 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--rule-ink); } .det-dw { max-width: 180px; } }

.next { display: block; padding: clamp(56px, 6vw, 96px) var(--m) clamp(64px, 7vw, 112px); border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.next .lab { color: var(--red); }
.next h2 { margin-top: 18px; transition: transform var(--t-settle) var(--glide); }
.next p { margin-top: 24px; color: var(--graphite); max-width: 34em; }
@media (hover: hover) { .next:hover h2 { transform: translateX(24px); } }

@media (hover: hover) { .filters button:hover { background: var(--vellum); } .filters button[aria-pressed="true"]:hover { background: #000; } }

/* ---------- materials: species columns ---------- */
.cols { display: flex; height: calc(100svh - var(--hd)); min-height: 620px; max-height: 1000px; gap: 2px; background: var(--ink); }
.col { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 700ms var(--cut); scroll-margin-top: var(--hd); }
.col.open { flex-grow: 3.6; }
.col-btn { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; text-align: left; color: var(--ink); }
.col-ph { position: absolute; inset: 0; }
.col-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--glide); }
.col.open .col-ph img { transform: scale(1.04); }
.col-lab { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 16px 18px; background: var(--paper); pointer-events: none; transition: transform var(--t-settle) var(--glide); }
.col-lab b { display: block; font: 500 clamp(26px, 2.4vw, 38px)/.92 var(--sans); font-stretch: 78%; letter-spacing: -.03em; }
.col-lab span { display: block; margin-top: 8px; font: 400 12px/1.3 var(--mono); color: var(--graphite); letter-spacing: .02em; }
.col-lab .open-hint { position: absolute; right: 14px; top: 16px; font: 500 20px/1 var(--mono); color: var(--red); transition: transform var(--t-settle) var(--settle); }
.col.open .col-lab .open-hint { transform: rotate(45deg); }
.col-panel { position: absolute; z-index: 4; left: 16px; bottom: 16px; width: min(500px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 22px 24px 24px; background: var(--paper); opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity var(--t-base) var(--glide), transform var(--t-settle) var(--glide); }
.col.open .col-panel { opacity: 1; transform: none; pointer-events: auto; transition-delay: 80ms; }
.col.open .col-lab { transform: translateY(102%); }
.col-panel h2 { font: 500 clamp(36px, 3.4vw, 52px)/.9 var(--sans); font-stretch: 78%; letter-spacing: -.035em; }
.col-panel .latin { margin-top: 8px; }
.col-panel .note { margin-top: 16px; color: var(--graphite); font-size: 16.5px; }
.sp-table { margin-top: 18px; border-top: 1px solid var(--ink); }
.sp-table > div { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule-ink); }
.sp-table dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.sp-table dd { font-size: 16px; line-height: 1.45; }
.scale { position: relative; height: 26px; margin-top: 8px; }
.scale svg { width: 100%; height: 26px; overflow: visible; }
.scale .sb { stroke: var(--ink); stroke-width: 1; }
.scale .sm { stroke: var(--ink); stroke-width: 1; }
.scale .mk { fill: var(--red-line); }
.col-close { position: absolute; z-index: 5; right: 12px; top: 12px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; background: var(--paper); font: 560 15px/1 var(--sans); opacity: 0; pointer-events: none; transition: opacity var(--t-base); }
.col.open .col-close { opacity: 1; pointer-events: auto; transition-delay: 300ms; }
@media (max-width: 719px) {
  .cols { flex-direction: column; height: auto; min-height: 0; max-height: none; }
  .col { flex: none; height: 132px; transition: height 600ms var(--cut); }
  .col.open { height: auto; min-height: 132px; }
  .col.open .col-btn { position: absolute; height: 132px; }
  .col-ph { height: 100%; }
  .col.open .col-ph { position: absolute; height: 100%; }
  .col-lab { top: auto; padding: 12px var(--m) 14px; }
  .col-panel { position: relative; left: 0; bottom: 0; width: 100%; max-height: none; margin-top: 132px; padding: 22px var(--m) 26px; display: none; }
  .col.open .col-panel { display: block; }
  .col.open .col-lab { transform: none; }
  .col-close { top: 10px; right: 10px; }
}

/* hardware schedule */
.schedule { width: 100%; border-collapse: collapse; margin-top: clamp(40px, 5vw, 72px); }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule-ink); }
.schedule thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.schedule td:first-child { font: 400 13px/1.5 var(--mono); color: var(--lead); width: 72px; }
.schedule td:nth-child(2) { font: 500 clamp(22px, 2vw, 30px)/1.05 var(--sans); font-stretch: 84%; letter-spacing: -.02em; width: 26%; }
.schedule td { color: var(--graphite); }
@media (max-width: 719px) { .schedule thead { display: none; } .schedule tr { display: grid; grid-template-columns: 56px 1fr; padding: 16px 0; border-bottom: 1px solid var(--rule-ink); } .schedule td { border: 0; padding: 4px 0; } .schedule td:nth-child(2) { width: auto; } .schedule td:nth-child(n+3) { grid-column: 2; } }

/* ---------- the shop ---------- */
.shop-hero { aspect-ratio: 1536 / 1024; max-height: 92vh; width: 100%; overflow: hidden; }
.shop-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719px) { .shop-hero { aspect-ratio: 4 / 4.6; } }
.parallax { will-change: transform; }


/* joinery: exploded drawings */
.joinery { padding: clamp(96px, 11vw, 176px) var(--m); }
.joinery-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: end; margin-bottom: clamp(56px, 7vw, 120px); }
.joinery-head h2 { grid-column: 1 / span 7; }
.joinery-head .lede { grid-column: 8 / -1; color: var(--graphite); }
.joint { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: center; padding-block: clamp(40px, 5vw, 80px); border-top: 1px solid var(--rule-ink); }
.joint .jph { grid-column: 1 / span 4; aspect-ratio: 1; overflow: hidden; }
.joint .jph img { width: 100%; height: 100%; object-fit: cover; }
.joint .jdw { grid-column: 5 / span 5; }
.joint .jdw svg { width: 100%; height: auto; overflow: visible; }
.joint .jtx { grid-column: 10 / -1; }
.joint .jtx h3 { margin-top: 12px; font: 500 clamp(30px, 2.8vw, 44px)/.92 var(--sans); font-stretch: 80%; letter-spacing: -.03em; }
.joint .jtx p { margin-top: 14px; color: var(--graphite); }
.joint:nth-child(even) .jph { grid-column: 9 / -1; order: 3; }
.joint:nth-child(even) .jdw { grid-column: 4 / span 5; order: 2; }
.joint:nth-child(even) .jtx { grid-column: 1 / span 3; order: 1; }
.xp .face { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.xp .side { fill: var(--vellum); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.xp .top { fill: #EEEDE8; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.xp .hid { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; opacity: .55; }
.xp .gr { fill: none; stroke: var(--ink); stroke-width: .7; opacity: .25; }
.xp .ldr { fill: none; stroke: var(--red-line); stroke-width: 1; }
.xp .dot { fill: var(--red-line); }
.xp text { font: 500 12.5px var(--mono); fill: var(--red); letter-spacing: .02em; }
.xp .part { transform: translate(calc(var(--e, 1) * var(--dx, 0) * 1px), calc(var(--e, 1) * var(--dy, 0) * 1px)); }
.xp .lbl { opacity: clamp(0, (var(--e, 1) - .55) * 3, 1); }
@media (max-width: 1099px) { .joint .jph { grid-column: 1 / span 4; } .joint .jdw { grid-column: 5 / -1; } .joint .jtx { grid-column: 1 / -1; } .joint:nth-child(even) .jph { grid-column: 5 / -1; order: 2; } .joint:nth-child(even) .jdw { grid-column: 1 / span 4; order: 1; } .joint:nth-child(even) .jtx { grid-column: 1 / -1; order: 3; } }
@media (max-width: 719px) { .joint .jph, .joint .jdw, .joint .jtx, .joint:nth-child(even) .jph, .joint:nth-child(even) .jdw, .joint:nth-child(even) .jtx { grid-column: 1 / -1; } .joint .jdw { order: 2 !important; } .joint .jph { order: 1 !important; } .joint .jtx { order: 3 !important; } }

/* people */
.people { padding: clamp(96px, 11vw, 176px) var(--m); }
.people .g { align-items: start; }
.pp-ph { grid-column: 1 / span 5; aspect-ratio: 1024 / 1536; overflow: hidden; }
.pp-ph img { width: 100%; height: 100%; object-fit: cover; }
.pp-tx { grid-column: 7 / -1; }
.pp-tx .body { margin-top: 22px; }
.crew { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--bone); }
.crew li { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark); }
.crew b { font: 500 clamp(26px, 2.4vw, 36px)/1 var(--sans); font-stretch: 80%; letter-spacing: -.025em; }
.crew span { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); text-align: right; }
.crew p { grid-column: 1 / -1; color: var(--mist); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: clamp(64px, 8vw, 120px); }
.pair figure { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: var(--carbon); font: 400 16px/1.3 var(--sans); color: var(--bone); }
@media (max-width: 1099px) { .pp-ph { grid-column: 1 / span 3; } .pp-tx { grid-column: 4 / -1; } }
@media (max-width: 719px) { .pp-ph { grid-column: 1 / span 3; } .pp-tx { grid-column: 1 / -1; margin-top: 36px; } .pair { grid-template-columns: 1fr; } .crew li { grid-template-columns: 1fr; } .crew span { text-align: left; } }

/* ---------- consultation: the drafting sheet ---------- */
.desk { padding: clamp(28px, 3vw, 48px) var(--m) clamp(80px, 9vw, 140px); background: var(--vellum); background-image: linear-gradient(rgba(20, 21, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .045) 1px, transparent 1px); background-size: 24px 24px; }
.sheet { position: relative; background: var(--paper); box-shadow: 0 1px 0 rgba(20, 21, 23, .08), 0 30px 60px -40px rgba(20, 21, 23, .45); padding: 10px; }
.sheet-in { border: 1.5px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 720px; }
.sheet-main { padding: clamp(28px, 3.4vw, 56px); border-right: 1.5px solid var(--ink); min-width: 0; }
.sheet h1 { font: 500 clamp(44px, 6vw, 96px)/.88 var(--sans); font-stretch: 76%; letter-spacing: -.045em; }
.revs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(28px, 3vw, 44px) 0 clamp(32px, 3.6vw, 52px); border: 1px solid var(--ink); }
.revs li { position: relative; padding: 10px 12px; border-right: 1px solid var(--rule-ink); font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); min-height: 54px; display: grid; align-content: space-between; gap: 6px; }
.revs li:last-child { border-right: 0; }
.revs li i { font-style: normal; font-weight: 400; color: var(--lead); }
.revs li.cur { color: var(--ink); background: var(--bone); }
.revs li.cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red-line); }
.revs li.done { color: var(--ink); }
.revs li.done i::after { content: " ✓"; color: var(--red); }
@media (max-width: 719px) { .revs li span { display: none; } .revs li { min-height: 40px; padding: 8px; text-align: center; } .revs li.cur span { display: block; position: absolute; left: 0; top: calc(100% + 8px); white-space: nowrap; color: var(--red); } .revs { margin-bottom: 44px; } }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .step:not(.cur) { display: none; }
.js .step.cur { animation: step-in 480ms var(--glide) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }
.step legend { padding: 0; font: 500 clamp(30px, 3vw, 44px)/1 var(--sans); font-stretch: 84%; letter-spacing: -.03em; }
.step:focus { outline: none; }
.hint { margin-top: 12px; color: var(--graphite); max-width: 36em; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.choices.list { grid-template-columns: 1fr 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { position: relative; display: grid; gap: 6px; align-content: start; min-height: 132px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--rule); background: var(--paper); cursor: pointer; transition: border-color var(--t-quick), background var(--t-quick), color var(--t-quick), transform var(--t-settle) var(--settle); }
.choice.wide label { min-height: 84px; }
.choice label svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; margin-bottom: 10px; }
.choice label b { font: 560 19px/1.1 var(--sans); font-stretch: 92%; }
.choice label small { font-size: 16px; line-height: 1.4; color: var(--graphite); }
.choice label::after { content: ""; position: absolute; right: -1px; top: -1px; width: 18px; height: 18px; background: linear-gradient(135deg, transparent 50%, var(--red-line) 50%); transform: scale(0); transform-origin: top right; transition: transform var(--t-base) var(--settle); }
@media (hover: hover) { .choice label:hover { border-color: var(--ink); } }
.choice input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.choice input:checked + label small { color: var(--mist); }
.choice input:checked + label::after { transform: none; }
.choice input:focus-visible + label { outline: 2px solid var(--red-line); outline-offset: 3px; }
.choice label:active { transform: translateY(1px) scale(.99); transition-duration: var(--t-press); }
.species-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; }
.species-pick .choice label { min-height: 0; padding: 0 0 12px; gap: 10px; }
.species-pick .chip { display: block; aspect-ratio: 2 / 3; overflow: hidden; }
.species-pick .chip img { width: 100%; height: 100%; object-fit: cover; }
.species-pick label b { padding: 0 10px; font-size: 15px; }
.subq { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule-ink); }
.subq > p { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.step-err { min-height: 26px; margin-top: 14px; color: var(--red); font-weight: 520; }
.step-err:not(:empty)::before { content: "Δ "; font-family: var(--mono); }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule-ink); }
.drop { display: grid; justify-items: center; gap: 10px; margin-top: 28px; padding: 40px 24px; border: 1.5px dashed var(--lead); text-align: center; transition: border-color var(--t-quick), transform var(--t-settle) var(--settle), background var(--t-quick); }
.drop svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.drop b { font: 560 20px/1.1 var(--sans); }
.drop p { color: var(--graphite); max-width: 30em; }
.drop .btn { margin-top: 8px; }
.drop.over { border-color: var(--red-line); background: var(--bone); transform: scale(.985); }
.thumbs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.thumbs li { position: relative; width: 140px; padding: 6px 6px 10px; background: #fff; box-shadow: 0 10px 20px -14px rgba(20, 21, 23, .6); transform: rotate(var(--r, -1deg)); }
.thumbs li:nth-child(2n) { --r: 1.2deg; }
.thumbs img { width: 128px; height: 110px; object-fit: cover; }
.thumbs .nm { display: block; margin-top: 6px; font: 400 11.5px/1.2 var(--mono); color: var(--graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumbs button { position: absolute; right: -12px; top: -12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bone); display: grid; place-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 28px; }
.fld { display: grid; gap: 8px; align-content: start; }
.fld.full { grid-column: 1 / -1; }
.fld label { font: 560 16px/1.35 var(--sans); color: var(--ink); transition: color var(--t-quick); }
.fld:focus-within label { color: var(--red); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: var(--bone); font-size: 18px; transition: box-shadow var(--t-quick), background var(--t-quick); -webkit-appearance: none; appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.fld textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; box-shadow: 0 2px 0 var(--ink); background: #fff; }
.fld [aria-invalid="true"] { border-bottom-color: var(--red-line); box-shadow: 0 2px 0 var(--red-line); }
.fld .err { min-height: 20px; color: var(--red); font-size: 16px; font-weight: 520; }
.fld .err:not(:empty)::before { content: "Δ "; font-family: var(--mono); }
.review-rows { border-top: 1px solid var(--ink); margin-top: 26px; }
.review-rows > div { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule-ink); }
.review-rows dt { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.review-rows dd { font-weight: 520; overflow-wrap: anywhere; }
.review-rows .tlink { min-height: 44px; }
/* the title block that fills in */
.sheet-tb { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.sheet-tb .tb-ph { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1.5px solid var(--ink); }
.sheet-tb .tb-ph img { width: 100%; height: 100%; object-fit: cover; }
.sheet-tb dl > div { padding: 12px 18px; border-bottom: 1px solid var(--rule-ink); }
.sheet-tb dt { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lead); }
.sheet-tb dd { margin-top: 4px; font: 560 17px/1.25 var(--sans); min-height: 21px; }
.sheet-tb dd.empty { color: var(--lead); font-weight: 400; }
.sheet-tb dd.wrote { animation: write 520ms var(--glide); }
@keyframes write { from { opacity: 0; transform: translateX(-8px); } }
.sheet-tb .tb-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.sheet-tb .tb-foot > div { padding: 12px 18px; }
.sheet-tb .tb-foot > div + div { border-left: 1px solid var(--rule-ink); }
.sheet-tb .tb-foot dd { font: 500 15px/1.3 var(--mono); }
.sheet-tb .tb-note { padding: 14px 18px; color: var(--graphite); font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--rule-ink); }
@media (max-width: 1099px) { .sheet-in { grid-template-columns: 1fr; } .sheet-main { border-right: 0; } .sheet-tb { border-top: 1.5px solid var(--ink); grid-template-rows: auto; } .sheet-tb .tb-ph { display: none; } .sheet-tb dl.tb-vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .sheet-tb dl.tb-vals > div { border-right: 1px solid var(--rule-ink); } }
@media (max-width: 719px) {
  .desk { padding: 12px 10px 100px; }
  .sheet { padding: 6px; }
  .sheet-main { padding: 22px 16px 24px; }
  .choices, .choices.list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice label { min-height: 118px; padding: 14px 12px; }
  .choice.wide label { min-height: 92px; }
  .species-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .species-pick label b { padding: 0 4px; font-size: 13px; }
  .fields { grid-template-columns: 1fr; }
  .step-actions { position: sticky; bottom: 0; z-index: 5; margin-inline: -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); }
  .step-actions .btn { flex: 1; }
  .step-actions > span:empty { display: none; }
  .review-rows > div { grid-template-columns: 1fr auto; }
  .review-rows dd { grid-column: 1; }
  .review-rows .tlink { grid-row: 1 / span 2; grid-column: 2; }
  .sheet-tb dl.tb-vals { grid-template-columns: 1fr 1fr; }
}
/* sent */
.done { position: relative; padding: clamp(40px, 5vw, 80px) clamp(28px, 3.4vw, 56px) clamp(56px, 6vw, 96px); }
.done:focus { outline: none; }
.done h1 { margin-top: 18px; }
.done .lede { margin-top: 24px; color: var(--graphite); }
.done .ref { margin-top: 22px; font: 500 14px/1.4 var(--mono); letter-spacing: .04em; }
.done .ref span { color: var(--red); }
.done ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); margin-top: 48px; border-top: 1.5px solid var(--ink); }
.done ol li { padding-top: 18px; }
.done ol b { display: block; font: 500 clamp(26px, 2.4vw, 36px)/.95 var(--sans); font-stretch: 80%; letter-spacing: -.025em; }
.done ol span { display: block; margin-top: 10px; color: var(--graphite); }
.done .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }
.stamp { position: absolute; right: clamp(20px, 5vw, 80px); top: clamp(24px, 4vw, 60px); width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--red-line); color: var(--red); display: grid; place-items: center; text-align: center; transform: rotate(-4deg); pointer-events: none; }
.stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid var(--red-line); }
.stamp b { display: block; font: 600 26px/1 var(--sans); font-stretch: 80%; letter-spacing: .04em; text-transform: uppercase; }
.stamp span { display: block; margin-top: 6px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.js .done:not([hidden]) .stamp { animation: stamp 420ms var(--settle) 200ms both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.3) rotate(-9deg); } 60% { opacity: 1; } }
@media (max-width: 719px) { .stamp { position: relative; right: auto; top: auto; width: 128px; height: 128px; margin-bottom: 18px; } .stamp b { font-size: 20px; } .done ol { grid-template-columns: 1fr; gap: 0; } .done ol li { padding: 16px 0; border-bottom: 1px solid var(--rule-ink); } }

/* ---------- page transitions: the plane stroke ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 560ms var(--cut) both vt-old; }
::view-transition-new(root) { animation: 560ms var(--cut) both vt-new; }
@keyframes vt-old { to { opacity: .7; transform: translateX(-2%); } }
@keyframes vt-new { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
::view-transition-group(head) { animation-duration: 0s; }
::view-transition-group(*) { animation-duration: 560ms; animation-timing-function: var(--cut); }
html.vt-back::view-transition-new(root) { animation-name: vt-new-back; }
html.vt-back::view-transition-old(root) { animation-name: vt-old-back; }
@keyframes vt-new-back { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes vt-old-back { to { opacity: .7; transform: translateX(2%); } }

/* ---------- reduced motion: a designed still version ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .rise .lm > span, .js .up, .js .board .leaf, .js .stick-marks li, .js .dimtag { transform: none !important; opacity: 1 !important; }
  .js .dims .ds .ln, .js .dims .ds .halo { stroke-dashoffset: 0 !important; }
  .js .dims .ds .ext, .js .dims .ds .tick { opacity: .9 !important; }
  .js .stick-bar .base { transform: none !important; }
  .js .stick-bar .t, .js .stick-bar .T { opacity: 1 !important; }
  .lib-layer.in.wipe, .lib-layer.in.wipe > .lib-pic { animation: none !important; }
  .lib-wash { display: none !important; }
  .peek { display: none !important; }
}

/* ---------- additions ---------- */
.tags { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.nav .btn .short { display: none; }
@media (min-width: 720px) and (max-width: 1099px) { .nav .btn .long { display: none; } .nav .btn .short { display: inline; } }
.leaf b .sf { display: none; }
@media (max-width: 719px) { .leaf b .lf { display: none; } .leaf b .sf { display: inline; } }
.board legend span { display: none; }
@media (max-width: 719px) { .board legend span { display: inline; } }
.scene-frame { container-type: size; }
.scene-art { height: auto; width: min(100cqw, 150cqh); }
@media (max-width: 719px) { .scene-frame { container-type: normal; } .scene-art { width: 100%; } }
.sheet > .done { border: 1.5px solid var(--ink); }
.close.dk .side .lede { color: var(--mist); }
.lib-layer:not(.on):not(.in) { display: none; }
@media (max-width: 719px) {
  .stick-bar { display: none; }
  .stick-marks { border-left: 1.5px solid var(--ink); padding-left: 22px; }
  .stick-marks li { position: relative; }
  .stick-marks li::before { content: ""; position: absolute; left: -29px; top: 2px; width: 12px; height: 2px; background: var(--red-line); }
}
/* the scene on wide screens: the drawing large on the left, the reading column on the right */
.scene-draw .dm-t { font-size: 26px; stroke-width: 7px; }
@media (min-width: 1100px) {
  .scene-stage { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr); column-gap: 40px; row-gap: 0; padding-bottom: 32px; }
  .scene-frame { grid-column: 1; grid-row: 1 / span 2; }
  .scene-top { grid-column: 2; grid-row: 1; display: block; padding-top: 8px; }
  .scene-top .fig { text-align: left; margin-top: 18px; }
  .scene-cap { grid-column: 2; grid-row: 2; align-self: end; grid-template-columns: 1fr; gap: 18px; border-top: 1px solid var(--ink); }
  .scene-cap .stat { grid-template-columns: 1fr 1fr; }
  .scene-cap .hint { text-align: left; }
  .caps { min-height: 230px; }
  .caps h3 { font-size: 24px; }
}
@media (max-width: 719px) { .scene-draw .dm-t { font-size: 46px; stroke-width: 10px; } .caps { min-height: 200px; } }

.callout { left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); }
.scene-art { overflow: hidden; }
@media (max-width: 719px) {
  .scene-art { aspect-ratio: 1 / 1; }
  .callout { left: calc((var(--x) * 1.5 - .25) * 100%); }
  .scene-stage { grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 719px) {
  .col { height: 150px; }
  .col.open { min-height: 150px; }
  .col.open .col-btn { height: 150px; }
  .col-panel { margin-top: 150px; }
  .col-lab { left: var(--m); right: auto; bottom: 12px; min-width: 62%; padding: 10px 44px 11px 14px; }
  .col-lab b { font-size: 26px; }
  .col-lab .open-hint { right: 14px; top: 50%; margin-top: -10px; }
}
@media (max-width: 719px) { .callout { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 14px; } .callout::before { content: none; } }
@media (max-width: 719px) { .strip > div:nth-child(n+3) { display: none; } .strip > div:nth-child(2) { border-right: 0; } }
.mark { white-space: nowrap; flex: none; }
.menu-top .btn { flex: none; width: auto; }
.menu li a[aria-current="page"] { color: var(--ink); }
.menu li a[aria-current="page"]::before { content: ""; position: absolute; left: -20px; width: 10px; height: 2px; margin-top: .5em; background: var(--red-line); }
.menu li a { position: relative; }
.menu li.sub a[aria-current="page"]::before { left: 0; }
@media (max-width: 719px) { .band-txt { padding-top: 48px; } }
/* closed species panels are out of the page entirely; opening plays the slide-up */
.col:not(.open) .col-panel { display: none; }
.col.open .col-panel { animation: panel-in 460ms var(--glide) 240ms both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px); } }
/* tablets: the flitch becomes a slim strip of five leaves on the tall cabinets; names stay in the label text for readers */
@media (min-width: 720px) and (max-width: 1099px) {
  .board { width: 80px; padding: 10px 10px 8px; top: clamp(56px, 8vw, 88px); }
  .board legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .leaf label { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 0; }
  .leaf label > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .leaf .slice { width: 60px; height: 56px; }
  .leaf + .leaf { margin-top: 4px; }
  .leaf label::before { left: -10px; }
  .leaf input:checked + label .slice { transform: translateX(-10px) scale(1.04); }
  .lib-head p { max-width: calc(100% - 150px); }
}
.col-btn:focus-visible { outline-offset: -5px; }
.leaf input:focus-visible + label .slice { outline: 2px solid var(--red-line); outline-offset: 2px; }
.lib-head p { color: var(--ink); font-weight: 500; }
.scene-draw .dm-t { stroke-width: 5px; letter-spacing: .02em; }
@media (max-width: 719px) { .scene-draw .dm-t { stroke-width: 8px; } }
/* stroke widths in drawing units: non-scaling strokes break pathLength-based dashes, so the draw-on lines scale with their drawing */
.dims .halo, .dims .ln, .dims .ext, .dims .tick, .scene-draw .pn, .scene-draw .ik, .scene-draw .dm { vector-effect: none; }
.dims-d .halo { stroke-width: 5; } .dims-d .ln, .dims-d .tick { stroke-width: 1.7; } .dims-d .ext { stroke-width: 1.1; }
.dims-m .halo { stroke-width: 11; } .dims-m .ln, .dims-m .tick { stroke-width: 4; } .dims-m .ext { stroke-width: 2.6; }
.scene-draw .pn { stroke-width: 1.6; } .scene-draw .ik { stroke-width: 2.3; } .scene-draw .dm { stroke-width: 1.9; }
@media (max-width: 719px) { .scene-draw .pn { stroke-width: 2.6; } .scene-draw .ik { stroke-width: 3.6; } .scene-draw .dm { stroke-width: 3; } }
@media (max-width: 1099px) { .joinery-head { grid-template-columns: 1fr; gap: 20px; } .joinery-head h2, .joinery-head .lede { grid-column: 1; } }
@media (min-width: 720px) { .col-panel { width: 500px; max-width: calc(46vw - 40px); } .col.open .col-panel { animation-delay: 480ms; } }
/* line masks keep descenders (g, y, p) inside the mask */
.lm { padding-bottom: .2em; margin-bottom: -.2em; }
/* phones: their own dimension set, inside the square crop; --k is how far the crop magnifies the photograph's width */
.scene-draw .dmm { display: none; }
@media (max-width: 719px) {
  .scene-draw .dmd { display: none; }
  .scene-draw .dmm { display: inline; }
  .scene-draw .dm-t { font-size: 40px; }
  .scene-art { --k: 1.5; }
  .callout { left: calc((var(--x) * var(--k) - (var(--k) - 1) / 2) * 100%); }
}
@media (max-width: 719px) and (max-height: 700px) {
  .scene-art { aspect-ratio: 1.25 / 1; --k: 1.2; }
  .caps { min-height: 170px; }
}
/* joinery on phones: the words, then the drawing coming apart, then the photograph */
@media (max-width: 719px) { .joint .jtx { order: 1 !important; } .joint .jdw { order: 2 !important; } .joint .jph { order: 3 !important; } }
/* reduced motion on desktop: the rack becomes a still index, each row with its photograph beside it */
@media (prefers-reduced-motion: reduce) and (min-width: 1100px) and (hover: hover) {
  .rows .row { grid-template-columns: 96px minmax(0, 1fr) auto 232px; }
  .rows .row .no { grid-column: 1; grid-row: 1; }
  .rows .row h2, .rows .row h3 { grid-column: 2; grid-row: 1; }
  .rows .row .meta { grid-column: 3; grid-row: 1; }
  .rows .row .thumb { display: block; grid-column: 4; grid-row: 1; aspect-ratio: 4 / 3; overflow: hidden; background: var(--vellum); }
  .rows .row .thumb img { width: 100%; height: 100%; object-fit: cover; }
}
/* ---------- reading sizes: every sentence is at least 16px; mono stays for figures, sheet numbers and labels ---------- */
.cap { font: 400 16px/1.5 var(--sans); color: var(--graphite); }
.dk .cap { color: var(--mist); }
.ph-note { font: 400 16px/1.55 var(--sans); color: var(--graphite); max-width: 30em; }
.ph-note.meta { max-width: 36em; }
.meta > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule-ink); }
.meta > div:last-child { border-bottom: 1px solid var(--rule-ink); }
.meta dt { font: 500 11.5px/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.meta dd { font: 400 16px/1.45 var(--sans); color: var(--ink); }
.lib-head p { font: 500 17px/1.45 var(--sans); letter-spacing: 0; color: var(--ink); }
@media (max-width: 719px) { .lib-head p { font-size: 16px; max-width: 22em; } }
.mk-fin figcaption { font: 400 16px/1.5 var(--sans); color: var(--mist); }
.mk-fin figcaption b { color: var(--bone); font-weight: 560; }
.mk-fin figcaption .fig { color: var(--mist); }
.scene-top .scroll-cue { margin-top: 6px; }
.scene-cap .hint { font: 400 16px/1.45 var(--sans); color: var(--lead); text-align: left; max-width: 18em; }
.choice label small { font-size: 16px; }
.sheet-tb .tb-note { font-size: 16px; }
.fld .err { font-size: 16px; }
.tb dd { font-size: 16px; }
.nav a:not(.btn) { font-size: 16px; }
.nav .btn { font-size: 16px; }
.species-pick label b { font-size: 16px; }
@media (max-width: 719px) { .species-pick label b { font-size: 14px; } .scene-top .scroll-cue { display: none; } }
@media (min-width: 1100px) { .scene-top .fig { text-align: left; } }
.scene-meta { text-align: right; } @media (min-width: 1100px) { .scene-meta { text-align: left; margin-top: 18px; } .scene-top .fig { margin-top: 0; } }
/* ---------- page transition, refined: the old sheet lifts away at once, the new one is laid down in one pass
   behind a red leading rule; the photograph in hand flies into the case-study hero ---------- */
::view-transition { background: var(--bone); }
::view-transition-old(root) { animation: 240ms var(--exit) both vt-old; }
::view-transition-new(root) { animation: 640ms var(--cut) 40ms both vt-new; }
@keyframes vt-old { to { opacity: 0; transform: translateX(-1.5%); } }
@keyframes vt-new { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html.vt-back::view-transition-new(root) { animation-name: vt-new-back; }
html.vt-back::view-transition-old(root) { animation-name: vt-old-back; }
@keyframes vt-old-back { to { opacity: 0; transform: translateX(1.5%); } }
::view-transition-group(*) { animation-duration: 640ms; animation-timing-function: var(--cut); }
::view-transition-group(head) { animation-duration: 0s; }
::view-transition-group(vt-rule) { animation: none; }
::view-transition-new(vt-rule) { animation: vt-rule 640ms var(--cut) 40ms both; }
html.vt-back::view-transition-new(vt-rule) { animation-name: vt-rule-back; }
@keyframes vt-rule { 0% { transform: translateX(0); opacity: 1; } 94% { opacity: 1; } 100% { transform: translateX(100vw); opacity: 0; } }
@keyframes vt-rule-back { 0% { transform: translateX(100vw); opacity: 1; } 94% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
.vt-rule { position: fixed; top: 0; bottom: 0; left: 0; z-index: 999; width: 2px; background: var(--red-line); box-shadow: 0 0 0 .5px rgba(243, 242, 238, .5); pointer-events: none; view-transition-name: vt-rule; }
/* the drawing's figures: paper tags centred on their dimension lines, arriving with the red strings */
.stags { position: absolute; inset: 0; pointer-events: none; }
.scene-tag { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); transform: translate(-50%, -50%); padding: 3px 7px; background: var(--paper); color: var(--red); font: 500 12.5px/1.2 var(--mono); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 0 0 1px rgba(217, 58, 43, .35); opacity: clamp(0, (var(--p, 0) - .2) * 8, 1); }
.scene-tag.dmm { display: none; }
@media (max-width: 719px) {
  .scene-tag.dmd { display: none; }
  .scene-tag.dmm { display: block; left: calc((var(--x) * var(--k) - (var(--k) - 1) / 2) * 100%); font-size: 11.5px; padding: 2px 5px; }
}
/* case-study masthead: the name at poster scale with its schedule beside it, so the room starts on the first screen */
.case-title { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; padding-bottom: clamp(32px, 3.4vw, 56px); }
.case-title h1 { grid-column: 1 / span 8; }
.case-title .meta { grid-column: 9 / -1; margin-bottom: .4em; }
@media (max-width: 1099px) { .case-title h1, .case-title .meta { grid-column: 1 / -1; } .case-title .meta { margin-top: 32px; } }
/* consultation actions on phones: Back folds to a square arrow so the forward action always has room for its whole label */
.step-actions .arr-l { display: none; }
@media (max-width: 719px) {
  .step-actions .btn { flex: none; }
  .step-actions .btn-ink { flex: 1 1 auto; min-width: 0; padding: 0 18px; gap: 10px; }
  .step-actions [data-back] { width: 56px; padding: 0; }
  .step-actions [data-back] .arr-l { display: inline; font-size: 20px; line-height: 1; }
  .step-actions [data-back] .bk { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* joint annotations read at phone size too */
@media (max-width: 719px) { .xp text { font-size: 18px; } }

/* =====================================================================================================
   v4 — the monograph, complete. Appended to v3 and wins over it. DESIGN.md §v4.
   ===================================================================================================== */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
body { font-variant-numeric: proportional-nums; }
.fig, .lab, .strip, table, .tb, dl.sched, .cm-rows, .kp-sts b, .ptag, .key { font-variant-numeric: tabular-nums; }
p, li, dd, figcaption { hanging-punctuation: first; }
.anchor { display: block; height: 0; scroll-margin-top: calc(var(--hd) + 24px); }
.anchor:focus { outline: none; }
.it { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.opt { font: 400 13px/1.3 var(--mono); letter-spacing: .02em; text-transform: none; color: var(--lead); margin-left: 6px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; gap: 10px; }
.sq { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 15px/1 var(--mono); transition: background var(--t-quick), color var(--t-quick), transform var(--t-settle) var(--settle); }
@media (hover: hover) and (pointer: fine) { .sq:hover { background: var(--ink); color: var(--bone); } }
.sq:active, .sq.is-press { transform: translateY(1px) scale(.96); transition-duration: var(--t-press); }
.sq[aria-current="true"], .sq.on { background: var(--ink); color: var(--bone); box-shadow: inset 0 -2px 0 var(--red-line); }
.dk .sq { border-color: var(--bone); color: var(--bone); }

/* the toggle: one state language (§v4.7). A square that fills, a red tick, and the word itself */
.tbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 520 15px/1 var(--sans); font-stretch: 94%; transition: border-color var(--t-quick), background var(--t-quick), color var(--t-quick), transform var(--t-settle) var(--settle); }
.tbtn i { position: relative; width: 14px; height: 14px; border: 1.5px solid currentColor; flex: none; transition: background var(--t-quick); }
.tbtn i::after { content: ""; position: absolute; left: 2px; top: -1px; width: 5px; height: 9px; border: solid var(--red-line); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--t-base) var(--settle); }
@media (hover: hover) and (pointer: fine) { .tbtn:hover { border-color: var(--ink); } }
.tbtn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.tbtn[aria-pressed="true"] i { background: var(--bone); border-color: var(--bone); }
.tbtn[aria-pressed="true"] i::after { transform: rotate(45deg) scale(1); }
.tbtn:active, .tbtn.is-press { transform: translateY(1px) scale(.97); transition-duration: var(--t-press); }
.tbtn[disabled] { opacity: .4; pointer-events: none; }
.dk .tbtn { background: var(--slate); color: var(--bone); border-color: var(--rule-dark); }
.dk .tbtn[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.dk .tbtn[aria-pressed="true"] i { background: var(--ink); border-color: var(--ink); }
.chip-r { position: relative; display: inline-block; }
.chip-r input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-r label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 8px; border: 1px solid var(--rule); background: var(--paper); font: 520 15px/1 var(--sans); font-stretch: 94%; cursor: pointer; transition: border-color var(--t-quick), background var(--t-quick), color var(--t-quick); }
.chip-r label i { width: 14px; height: 22px; box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .2); }
@media (hover: hover) and (pointer: fine) { .chip-r label:hover { border-color: var(--ink); } }
.chip-r input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bone); box-shadow: inset 0 -2px 0 var(--red-line); }
.chip-r input:focus-visible + label { outline: 2px solid var(--red-line); outline-offset: 3px; }
.chip-r input:disabled + label { opacity: .35; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* figures, numbered and captioned */
.ph-fig { margin: 0; }
.pf { position: relative; overflow: hidden; background: var(--vellum); }
.pf img, .sp-ph img, .kp-img img, .sd-ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-fig figcaption, .spread figcaption, .kp-view figcaption, .mk-ph figcaption, .shop-hero figcaption, .case-hero figcaption { margin-top: 12px; font: 400 16px/1.5 var(--sans); color: var(--graphite); max-width: 40em; }
.fn { display: inline-block; margin-right: 10px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.dk .fn { color: var(--red-hi); }
.dk .ph-fig figcaption, .dk figcaption { color: var(--mist); }
img { transition: opacity 360ms var(--glide); }
.js img[loading="lazy"]:not(.ld) { opacity: 0; }
.js img.ld { opacity: 1; }

/* typography by role (§v4.6) */
.xxl { text-wrap: balance; }
.dl { font-stretch: 82%; }
.h2 { font-stretch: 88%; }
.lede { font-stretch: 100%; }
.body { font-size: 17px; line-height: 1.6; }
.body p { max-width: 36em; }

/* ---------- header: five links fit at 1100 ---------- */
@media (min-width: 1100px) and (max-width: 1279px) { .nav a:not(.btn) { padding: 0 10px; } .nav .btn .long { display: none; } .nav .btn .short { display: inline; } }
.nav .btn .short { display: none; }
@media (max-width: 1099px) { .nav .btn .short { display: inline; } }
@media (min-width: 720px) and (max-width: 1099px) { .nav a[href="commission.html"] { display: none; } }

/* ---------- footer: phones get a route list in a disclosure ---------- */
.ft-idx-m { display: none; }
@media (max-width: 719px) {
  .ft-idx { display: none; }
  .ft-idx-m { display: block; grid-column: 1 / -1; padding: 0 var(--m) !important; border-right: 0 !important; border-bottom: 1px solid var(--rule-dark); }
  .ft-idx-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 64px; font: 500 18px/1.2 var(--sans); cursor: pointer; list-style: none; }
  .ft-idx-m summary::-webkit-details-marker { display: none; }
  .ft-idx-m summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--mist); }
  .ft-idx-m[open] summary::after { content: "−"; }
  .ft-idx-m summary .lab { margin-left: auto; margin-right: 14px; color: var(--red-hi); }
  .ft-idx-m ol { padding-bottom: 16px; }
  .ft-idx-m a { display: grid; grid-template-columns: 58px 1fr; align-items: center; min-height: 44px; text-decoration: none; color: var(--bone); border-bottom: 1px solid var(--rule-dark); }
  .ft-idx-m a span { font: 400 12px/1 var(--mono); color: var(--mist); }
  .ft-idx-m a b { font: 500 16px/1.2 var(--sans); }
  .ft-idx-m a[aria-current="page"] * { color: var(--red-hi); }
  .ft-who p:not(.nm) { display: none; }
  .ft-who { padding-block: 32px 20px !important; }
  .ft-go { padding-block: 24px 32px !important; }
  .ft-go > p:not(.lab) { display: none; }
  .tb { grid-template-columns: 1fr 1fr !important; }
  .tb > div:nth-child(-n+4) { display: none; }
  .tb > div:nth-child(5) { padding-left: 0; }
}

/* ---------- HOME HERO: settled, with Show drawing and Compare ---------- */
.lib-head { position: absolute; z-index: 7; left: var(--m); top: clamp(20px, 2.4vw, 36px); pointer-events: none; }
.js .lib.settled .dims, .js .lib.settled .tags { opacity: 0; transition: opacity 400ms var(--glide); }
.js .lib.settled.show-dims .dims, .js .lib.settled.show-dims .tags { opacity: 1; }
.js .lib.settled.show-dims .dims .ds .ln, .js .lib.settled.show-dims .dims .ds .halo { stroke-dashoffset: 0; }
@media (min-width: 720px) { .board { width: 236px; } }
.board-tools { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-ink); }
.board-tools .tbtn { width: 100%; justify-content: flex-start; }
.against { margin-top: 12px !important; padding-top: 10px !important; border-top: 1px solid var(--rule-ink) !important; }
.against .chips { gap: 4px; }
.against .chip-r label { min-height: 44px; padding: 0 8px 0 6px; font-size: 14px; }
.cmp-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lib-status:empty { display: none; }
.lib-status { color: var(--red); font-weight: 520; gap: 10px; }
.lib-status button { min-height: 44px; padding: 0 12px; border: 1px solid var(--red-line); background: none; color: var(--red); font: inherit; }
.lib-note { align-items: start; }
.lib-note .btn { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 1099px) { .lib-note .btn { grid-column: 1 / -1; justify-self: start; margin-top: 16px; } }
/* compare: wood B is masked from the divider rightward; the divider follows the hand 1:1 */
.cmp { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; --x: 50%; }
.lib.comparing .cmp { display: block; }
.cmp-in { position: absolute; inset: 0; overflow: hidden; transform: translateX(var(--x)); }
.cmp-in > .lib-pic { transform: translateX(calc(var(--x) * -1)); }
.cmp-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--red-line); transform: translateX(var(--x)); box-shadow: 0 0 0 .5px rgba(243, 242, 238, .6); }
.lib-stage { --cw: 100%; }
.cmp-grip { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 2px var(--red-line), 0 10px 24px -10px rgba(20, 21, 23, .6); pointer-events: auto; cursor: ew-resize; touch-action: none; }
.cmp-grip i::before, .cmp-grip i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-grip i::before { left: 9px; border-right-color: var(--ink); }
.cmp-grip i::after { right: 9px; border-left-color: var(--ink); }
.lib.cmp-focus .cmp-grip { outline: 2px solid var(--red-line); outline-offset: 4px; }
.cmp-lab { position: absolute; bottom: 18px; padding: 6px 10px; background: var(--paper); font: 500 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.cmp-lab.a { left: 18px; } .cmp-lab.b { right: 18px; }
.lib.comparing .lib-stage { cursor: ew-resize; }
.lib.comparing .dims, .lib.comparing .tags { opacity: 0 !important; }
@media (max-width: 719px) {
  .lib-head { position: relative; left: auto; top: auto; display: flex; flex-direction: column; padding: 16px var(--m) 16px; }
  .lib-head h1 { order: -1; font-size: clamp(56px, 17.6vw, 80px); margin-top: 0; }
  .lib-head p { margin-top: 14px; }
  .lib-stage { aspect-ratio: 4 / 5; }
  .board > fieldset:first-child > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .board { padding-top: 12px; }
  .lib-layer img, .lib-wash img, .cmp-in img { object-position: 50% 100%; }
  .dims-m, .tags.dims-m { top: auto; bottom: 0; height: auto; aspect-ratio: 1024 / 1536; }
  .tags.dims-m { position: absolute; left: 0; right: 0; }
  .board { width: auto; }
  .board-tools { grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .against { margin-top: 8px !important; }
  .against .chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .against .chip-r label { width: 100%; justify-content: center; padding: 0 4px; font-size: 13px; gap: 4px; }
  .against .chip-r label i { display: none; }
  .lib-note .btn { width: 100%; }
}

/* ---------- the rack: rows with a steady plate (desktop), carousel and index (phones) ---------- */
.sel { padding-top: clamp(24px, 3vw, 48px); }
.rack { position: relative; }
.plate, .rack-nav, .rack-idx { display: none; }
.row h2, .row h3 { font-stretch: 86%; letter-spacing: -.035em; }
.row .row-plan, .row .row-line { display: none; }
@media (min-width: 1100px) and (hover: hover) {
  .rack { display: grid; grid-template-columns: minmax(0, 1fr) 36vw; gap: 0 var(--gut); padding-right: var(--m); }
  .rack .rows { grid-column: 1; }
  .row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .row h2, .row h3 { font-size: clamp(48px, 6.2vw, 108px); }
  .plate { display: block; grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hd) + 24px); align-self: start; margin: 0; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--hd) - 72px); }
  .plate .pl { position: absolute; inset: 0 0 36px; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity 320ms var(--glide), transform 420ms var(--glide); }
  .plate .pl.on { opacity: 1; transform: none; z-index: 1; }
  .plate img { width: 100%; height: 100%; object-fit: cover; }
  .plate figcaption { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; gap: 12px; font: 400 16px/1.1 var(--sans); letter-spacing: .03em; color: var(--graphite); }
  .plate figcaption span:first-child { color: var(--red); }
  .rows.hovering .row { opacity: .32; }
  .rows.hovering .row.on { opacity: 1; }
  .row.on h2, .row.on h3 { transform: translateX(16px); }
  .rack-work .row { grid-template-columns: 72px minmax(0, 1fr) 210px; grid-template-rows: auto auto; row-gap: 10px; }
  .rack-work .row .row-name { grid-column: 2; grid-row: 1; }
  .rack-work .row .meta { grid-column: 3; grid-row: 1 / span 2; align-self: start; padding-top: 10px; }
  .rack-work .row .row-line { display: block; grid-column: 2; grid-row: 2; max-width: 34em; font-size: 16px; color: var(--graphite); }
  .rack-work .row .row-plan { display: block; grid-column: 3; grid-row: 2; width: 150px; justify-self: end; opacity: .9; }
  .rack-work .meta { justify-items: end; }
  .still .rack .rows .row .thumb { display: none !important; }
}
.plan-mini { width: 100%; height: auto; }
@media (max-width: 1099px), (hover: none) {
  .rack-nav { display: flex; align-items: center; gap: 14px; padding: 16px var(--m) 0; }
  .rack-nav .fig { min-width: 4.5em; text-align: center; }
  .rack + .dots, .dots { display: none !important; }
  .rack-idx { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gut); margin: 18px var(--m) 0; border-top: 1px solid var(--ink); }
  .rack-idx a { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; align-items: baseline; column-gap: 6px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--rule-ink); text-decoration: none; color: var(--graphite); font: 540 16px/1.2 var(--sans); font-stretch: 94%; }
  .rack-idx a span { grid-row: 1 / span 2; font: 500 12px/1.2 var(--mono); color: var(--lead); }
  .rack-idx a small { grid-column: 2; font: 400 12px/1.2 var(--mono); color: var(--lead); margin-top: 4px; }
  .rack-idx a.on { color: var(--ink); }
  .rack-idx a.on span { color: var(--red); }
  .rack-idx a.on::before { content: ""; position: absolute; }
  .rack-idx a.on { box-shadow: inset 0 -2px 0 var(--red-line); }
  .rows.carousel .row h2, .rows.carousel .row h3 { font-size: clamp(38px, 10.4vw, 56px); font-stretch: 84%; }
  .rack-work .row .row-line { display: block; margin-top: 10px; font-size: 16px; color: var(--graphite); }
}
.ph-work { padding-bottom: clamp(32px, 4vw, 64px); }
.jump { grid-column: 7 / -1; display: flex; flex-wrap: wrap; gap: 6px; justify-self: end; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); font: 520 15px/1 var(--sans); transition: background var(--t-quick), color var(--t-quick); }
@media (hover: hover) and (pointer: fine) { .jump a:hover { background: var(--ink); color: var(--bone); } }
.jump a:active { transform: translateY(1px); }
@media (max-width: 1099px) { .jump { grid-column: 1 / -1; justify-self: start; } }
.work-sec { padding-bottom: clamp(96px, 11vw, 176px); }

/* home: four details, and three routes */
.four { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.four-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.four-head h2 { grid-column: 1 / span 6; }
.four-head .lede { grid-column: 8 / -1; color: var(--graphite); }
.four-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.four-row a { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.four-row .pf img { transition: transform 900ms var(--glide); }
@media (hover: hover) and (pointer: fine) { .four-row a:hover .pf img { transform: scale(1.04); } .four-row a:hover small { color: var(--red); } }
.four-row .fn { margin-top: 10px; }
.four-row b { font: 560 21px/1.15 var(--sans); font-stretch: 92%; }
.four-row span:not(.fn):not(.pf) { color: var(--graphite); font-size: 16px; line-height: 1.5; }
.four-row small { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; font: 520 15px/1 var(--sans); color: var(--ink); transition: color var(--t-quick); }
@media (max-width: 1099px) { .four-head h2, .four-head .lede { grid-column: 1 / -1; } .four-row { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 719px) { .four-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-padding-inline: var(--m); scrollbar-width: none; } .four-row::-webkit-scrollbar { display: none; } .four-row li { flex: 0 0 72vw; scroll-snap-align: start; } }
.band { margin-top: clamp(96px, 11vw, 176px); }
.stick-head > div { grid-column: 8 / -1; display: grid; gap: 14px; justify-items: start; }
@media (max-width: 1099px) { .stick-head > div { grid-column: 1 / -1; margin-top: 20px; } .stick-head > div .lede { margin-top: 0; } }
.routes { padding: clamp(64px, 8vw, 120px) var(--m) 0; }
.routes .note { grid-column: 1 / span 3; padding-top: 22px; }
.route-list { grid-column: 4 / -1; border-top: 1px solid var(--ink); }
.route-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr) 32px; gap: var(--gut); align-items: center; min-height: 88px; padding: 18px 0; border-bottom: 1px solid var(--rule-ink); text-decoration: none; color: var(--ink); }
.route-list b { font: 500 clamp(24px, 2.4vw, 36px)/1 var(--sans); font-stretch: 84%; letter-spacing: -.02em; transition: transform var(--t-settle) var(--glide); }
.route-list span:not(.fig):not(.arr) { color: var(--graphite); }
.route-list .fig { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .route-list a:hover b { transform: translateX(12px); } .route-list a:hover .arr { transform: translateX(4px); } }
.route-list .arr { transition: transform var(--t-base) var(--glide); }
@media (max-width: 1099px) { .routes .note { grid-column: 1 / -1; padding: 0 0 16px; } .route-list { grid-column: 1 / -1; } }
@media (max-width: 719px) { .route-list a { grid-template-columns: 1fr 24px; gap: 6px 12px; } .route-list .fig { grid-column: 1; } .route-list b { grid-column: 1; } .route-list span:not(.fig):not(.arr) { grid-column: 1; } .route-list .arr { grid-column: 2; grid-row: 1 / span 3; } }

/* ---------- THE FOUR ROOMS ---------- */
.case-mast { padding: 0 0 clamp(20px, 2.4vw, 36px); }
.cm-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 16px var(--gut); padding: clamp(28px, 4vw, 64px) var(--m) 0; align-items: start; }
.case-h { grid-column: 1 / span 8; align-self: end; font: 500 clamp(54px, 8.4vw, 144px)/.86 var(--sans); font-stretch: 84%; letter-spacing: -.04em; margin-left: -.03em; }
.case-line { grid-column: 1 / span 6; font: 420 clamp(19px, 1.5vw, 23px)/1.42 var(--sans); color: var(--graphite); max-width: 30em; }
.cm-meta { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: start; margin-top: .6em; border-top: 1px solid var(--ink); }
.cm-meta > div, .cm-meta-m dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-ink); }
.cm-meta dt, .cm-meta-m dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.cm-meta dd, .cm-meta-m dd { font-size: 16px; line-height: 1.4; }
.cm-meta-m { display: none; }
.chap { display: flex; gap: 6px; padding: clamp(24px, 3vw, 40px) var(--m) 0; flex-wrap: wrap; }
.chap a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font: 520 15px/1 var(--sans); transition: border-color var(--t-quick), background var(--t-quick); }
.chap a::before { content: "↓"; margin-right: 8px; font-family: var(--mono); color: var(--red); }
@media (hover: hover) and (pointer: fine) { .chap a:hover { border-color: var(--ink); } }
@media (max-width: 1099px) { .case-h { grid-column: 1 / -1; } .case-line { grid-column: 1 / -1; } .cm-meta { display: none; } .cm-meta-m { display: block; grid-column: 1 / -1; border-top: 1px solid var(--ink); } .cm-meta-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font: 520 16px/1 var(--sans); cursor: pointer; list-style: none; } .cm-meta-m summary::-webkit-details-marker { display: none; } .cm-meta-m summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--red); } .cm-meta-m[open] summary::after { content: "−"; } }
@media (max-width: 719px) { .case-mast .strip > div:nth-child(3) { display: none; } .cm-row { padding-top: 18px; gap: 12px; } .case-h { font-size: clamp(44px, 13vw, 60px); } .case-line { font-size: 17px; } .chap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 16px; } .chap::-webkit-scrollbar { display: none; } .chap a { flex: none; } .case-mast { padding-bottom: 16px; } }
.case-hero figcaption { position: static; margin: 12px var(--m) 0; padding: 0; background: none; }
@media (max-width: 719px) { .case-hero.land { aspect-ratio: 4 / 3; } .case-hero.tall { aspect-ratio: 4 / 5; } }

.brief { padding: clamp(96px, 11vw, 176px) var(--m) clamp(80px, 9vw, 140px); row-gap: 24px; }
.brief .bl { grid-column: 1 / span 3; color: var(--red); }
.brief-h { grid-column: 4 / -1; font: 500 clamp(32px, 3.8vw, 62px)/1.04 var(--sans); font-stretch: 84%; letter-spacing: -.03em; max-width: 18em; }
.brief-cols { grid-column: 4 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ink); }
.brief-cols p { color: var(--graphite); max-width: 32em; margin: 0; }
@media (max-width: 1099px) { .brief .bl, .brief-h, .brief-cols { grid-column: 1 / -1; } }

.spread { margin: 0; }
.spread .sp-ph { aspect-ratio: var(--ar); max-height: 100vh; overflow: hidden; background: var(--vellum); }
.spread figcaption { margin: 14px var(--m) 0; }
.spread.dk { padding-bottom: 40px; }
.spread + .kp, .spread + .pair-row, .spread + .scene, .spread + .install { margin-top: clamp(80px, 9vw, 140px); }
@media (max-width: 719px) { .spread .sp-ph { aspect-ratio: 4 / 5; max-height: none; } }

/* chapters: words beside their evidence */
.ch { padding: clamp(96px, 11vw, 176px) 0 0; }
.ch > .g { padding-inline: var(--m); align-items: start; }
.ch-tx { grid-column: 1 / span 5; position: sticky; top: calc(var(--hd) + 32px); }
.ch-tx .lab { margin-bottom: 14px; color: var(--red); }
.ch-tx .body { margin-top: 22px; }
.ch-fig { grid-column: 7 / -1; margin-right: calc(var(--m) * -1); }
.ch-fig figcaption { margin-right: var(--m); }
.ch.rev .ch-tx { grid-column: 8 / -1; grid-row: 1; }
.ch.rev .ch-fig { grid-column: 1 / span 6; grid-row: 1; margin: 0 0 0 calc(var(--m) * -1); }
.ch.rev .ch-fig figcaption { margin-left: var(--m); }
.ch-sec { padding: clamp(56px, 6vw, 96px) var(--m) 0; }
@media (max-width: 1099px) { .ch-tx { grid-column: 1 / -1; position: static; } .ch-fig, .ch.rev .ch-fig { grid-column: 1 / -1; grid-row: 2; margin: 40px calc(var(--m) * -1) 0; } .ch.rev .ch-tx { grid-column: 1 / -1; } .ch-fig figcaption { margin-inline: var(--m); } }
.ch.seq .ch-tx, .ch.float .ch-tx { position: static; grid-column: 1 / span 7; }
.seq-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); padding: clamp(40px, 5vw, 72px) var(--m) 0; counter-reset: s; }
.seq-row li { counter-increment: s; }
.seq-row li::before { content: "0" counter(s); display: block; margin-bottom: 10px; font: 500 12px/1 var(--mono); color: var(--red); }
@media (max-width: 719px) { .seq-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; } .seq-row::-webkit-scrollbar { display: none; } .seq-row li { flex: 0 0 78vw; scroll-snap-align: start; } }
.float-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gut); align-items: start; padding: clamp(40px, 5vw, 72px) var(--m) 0; }
.float-row .float-fig { margin-top: 0; }
@media (max-width: 1099px) { .float-row { grid-template-columns: 1fr; gap: 48px; } }
.diptych { padding: clamp(96px, 11vw, 176px) 0 0; }
.diptych > .g { padding-inline: var(--m); }
.diptych .ch-tx { position: static; grid-column: 1 / span 7; }
.dip { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: clamp(40px, 5vw, 72px); background: var(--ink); }
.dip .ph-fig { background: var(--bone); }
.dip .ph-fig figcaption { margin: 12px var(--m) 0 var(--m); }
.dip .pf { aspect-ratio: 3 / 2 !important; }
@media (max-width: 719px) { .dip { grid-template-columns: 1fr; } }
.pair-row { padding: clamp(80px, 9vw, 140px) var(--m) 0; align-items: end; }
.pair-row .pr-a { grid-column: 1 / span 6; }
.pair-row .pr-tx { grid-column: 8 / -1; display: grid; gap: 14px; padding-bottom: 48px; }
.pair-row .pr-tx .lab { color: var(--red); }
@media (max-width: 1099px) { .pair-row .pr-a, .pair-row .pr-tx { grid-column: 1 / -1; } .pair-row .pr-tx { padding: 28px 0 0; } }
.install { padding: clamp(96px, 11vw, 176px) var(--m) 0; align-items: center; }
.install .in-fig { grid-column: 1 / span 7; }
.install .in-tx { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
.install .in-tx .lab { color: var(--red); }
@media (max-width: 1099px) { .install .in-fig, .install .in-tx { grid-column: 1 / -1; } .install .in-tx { margin-top: 32px; } }
.seq-in { padding: clamp(96px, 11vw, 176px) 0 0; }
.seq-in > .g { padding-inline: var(--m); }
.seq-in .ch-tx { position: static; grid-column: 1 / span 7; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding: clamp(40px, 5vw, 72px) var(--m) 0; }
.steps4 li { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--ink); padding-top: 14px; }
.steps4 .s-n, .s-n { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--red); }
.steps4 .pf { aspect-ratio: 4 / 5 !important; }
.steps4 h3 { font: 560 21px/1.15 var(--sans); font-stretch: 92%; }
.steps4 p:not(.fn) { color: var(--graphite); font-size: 16px; }
@media (max-width: 1099px) { .steps4 { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 719px) { .steps4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; } .steps4::-webkit-scrollbar { display: none; } .steps4 li { flex: 0 0 76vw; scroll-snap-align: start; } }

/* ---------- drawings: one line language ---------- */
.hatch-ln { stroke: var(--lead); stroke-width: .7; fill: none; }
.hatch-red { stroke: var(--red-line); stroke-width: .8; fill: none; }
.dwg { position: relative; width: 100%; background: var(--paper); background-image: linear-gradient(rgba(20, 21, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .045) 1px, transparent 1px); background-size: 24px 24px; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.dwg > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dwg .cut, .det-svg .cut, .hw-svg .cut { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.dwg .bey, .det-svg .bey, .hw-svg .bey { fill: none; stroke: var(--lead); stroke-width: 1; }
.dwg .wood, .det-svg .wood, .hw-svg .wood { fill: url(#kh); stroke: none; }
.dwg .wood2, .det-svg .wood2 { fill: url(#kh2); stroke: none; }
.dwg .stone, .det-svg .stone, .hw-svg .stone { fill: url(#kst); stroke: none; }
.dwg .core, .det-svg .core, .hw-svg .core { fill: var(--vellum); stroke: none; }
.dwg .steel, .det-svg .steel, .hw-svg .steel { fill: var(--ink); stroke: none; }
.det-svg .steel2 { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 3; }
.dwg .zinc, .det-svg .zinc { fill: #D6D8DA; stroke: none; }
.dwg .cush { fill: var(--vellum); stroke: var(--lead); stroke-width: 1; }
.dwg .fin, .det-svg .fin { fill: none; stroke: var(--red-line); stroke-width: 1.6; stroke-dasharray: 1 0; }
.dwg .acc, .det-svg .acc, .hw-svg .acc { fill: none; stroke: var(--red-line); stroke-width: 2; }
.dwg circle.acc { fill: var(--red-line); }
.dwg .dimr, .det-svg .dimr, .hw-svg .dimr { fill: none; stroke: var(--red-line); stroke-width: 1.2; }
.dwg .ldr { fill: none; stroke: var(--red-line); stroke-width: 1; }
.dwg .swing, .det-svg .swing, .hw-svg .swing { fill: none; stroke: var(--lead); stroke-width: 1; stroke-dasharray: 5 4; }
.dwg .hair { fill: none; stroke: var(--red-line); stroke-width: 1.4; }
.dwg .heat, .det-svg .heat { fill: none; stroke: var(--red-line); stroke-width: 1.2; }
.dwg .cloud { fill: none; stroke: var(--red-line); stroke-width: 1.8; }
.dwg .block { fill: url(#kh2); stroke: var(--ink); stroke-width: 1; stroke-dasharray: 6 4; }
.dwg .zone { fill: rgba(217, 58, 43, .06); stroke: var(--red-line); stroke-width: 1.2; stroke-dasharray: 5 4; }
.dwg .app, .hw-svg .app { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.dwg .mill { fill: url(#kh2); stroke: var(--ink); stroke-width: 1.6; }
.dwg .top { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.dwg .leaf { fill: none; stroke: var(--ink); stroke-width: 2.6; }
.dwg .win { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.dwg .wall-s { fill: var(--paper); }
.dwg .truss { stroke: var(--rule); stroke-width: 1; }
.dwg .route { fill: none; stroke: var(--red-line); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .walk.in .dwg .route, .no-js .dwg .route, .still .dwg .route { stroke-dashoffset: 0; transition: stroke-dashoffset 2400ms var(--cut); }
.hw-svg .brass, .hw-svg .brass-l { fill: #B89650; stroke: var(--ink); stroke-width: 1.2; }
.hw-svg .brass-l { fill: none; stroke: #8E7132; stroke-width: 6; stroke-linecap: round; }
.hw-svg .bronze { fill: #4C3A2C; stroke: var(--ink); stroke-width: 1.2; }
.key { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--red-line); color: var(--red); font: 500 12px/1 var(--mono); pointer-events: none; }
.co-notes .key, .keys li > span { position: static; margin: 0; display: inline-grid; flex: none; }
.ptag { position: absolute; transform: translate(-50%, -50%); padding: 2px 6px; background: var(--paper); color: var(--red); font: 500 12px/1.2 var(--mono); white-space: nowrap; pointer-events: none; }
.sec { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gut); margin: 0; align-items: start; }
.sec-dw { position: relative; }
.sec-zoom { position: absolute; right: 10px; top: 10px; z-index: 2; background: var(--paper); }
.sec figcaption .lab { color: var(--red); }
.keys { display: grid; gap: 10px; margin-top: 16px; counter-reset: k; }
.keys li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--graphite); }
.keys li > span { width: 24px; height: 24px; place-items: center; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--red-line); color: var(--red); font: 500 12px/1 var(--mono); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-ink); font-size: 16px; color: var(--graphite); }
.lg-fin { width: 22px; height: 2px; background: var(--red-line); }
.lg-hatch { width: 22px; height: 14px; background: repeating-linear-gradient(-45deg, var(--lead) 0 1px, transparent 1px 6px); box-shadow: inset 0 0 0 1px var(--ink); margin-left: 8px; }
.dk .sec .keys li, .dk .legend { color: var(--mist); }
@media (max-width: 1099px) { .sec { grid-template-columns: 1fr; } .sec-dw .dwg { min-width: 0; } }
@media (max-width: 719px) { .sec-dw { overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scrollbar-width: thin; } .sec-dw .dwg { width: 600px; } .sec-zoom { position: sticky; left: calc(100% - 140px); top: auto; margin-top: 10px; } .ptag { font-size: 11.5px; } }

/* ---------- the key plan: the new signature ---------- */
.kp { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.kp-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gut); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.kp-head .lab { grid-column: 1 / -1; color: var(--red); }
.kp-head h2 { grid-column: 1 / span 6; }
.kp-head .body { grid-column: 8 / -1; }
.kp-how { font: 400 16px/1.5 var(--sans); color: var(--lead); }
@media (max-width: 1099px) { .kp-head h2, .kp-head .body { grid-column: 1 / -1; } }
.kp-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 24px var(--gut); align-items: start; }
.kp-planwrap { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: calc(var(--hd) + 16px); }
.kp-view { grid-column: 2; grid-row: 1; margin: 0; }
.kp-sts { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gut); border-top: 1px solid var(--ink); }
.kp-sts button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; width: 100%; min-height: 56px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule-ink); background: none; text-align: left; color: var(--graphite); font: 400 16px/1.35 var(--sans); transition: color var(--t-quick); }
.kp-sts button b { display: grid; place-items: center; width: 26px; height: 26px; font: 500 12px/1 var(--mono); box-shadow: inset 0 0 0 1.5px currentColor; transition: background var(--t-quick), color var(--t-quick), box-shadow var(--t-quick); }
@media (hover: hover) and (pointer: fine) { .kp-sts button:hover { color: var(--ink); } }
.kp-sts button[aria-pressed="true"] { color: var(--ink); }
.kp-sts button[aria-pressed="true"] b { background: var(--red-line); color: #fff; box-shadow: none; }
.kp-sts button:active { transform: translateY(1px); }
.plan { position: relative; width: 100%; background: var(--paper); background-image: linear-gradient(rgba(20, 21, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .045) 1px, transparent 1px); background-size: 24px 24px; box-shadow: inset 0 0 0 1px var(--rule-ink); }
.plan-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-svg .wall, .plan-mini .wall { fill: var(--ink); }
.plan-svg .win, .plan-mini .win { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .glass, .plan-mini .glass { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .mill, .plan-mini .mill { fill: url(#ph); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan-svg .mill-ln, .plan-mini .mill-ln { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .app, .plan-mini .app { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.plan-svg .app-ln, .plan-mini .app-ln { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .top, .plan-mini .top { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan-svg .over, .plan-mini .over { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.plan-svg .furn, .plan-mini .furn { fill: none; stroke: var(--lead); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .rug { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-mini .rug { display: none; }
.plan-svg .beyond, .plan-mini .beyond { fill: none; stroke: var(--lead); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.plan-svg .leaf, .plan-mini .leaf { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.plan-svg .swing, .plan-mini .swing { fill: none; stroke: var(--lead); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.plan-svg .pivot, .plan-mini .pivot { fill: var(--red-line); }
.plan-svg .cleat { stroke: var(--red-line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.plan-svg .glass-pan { stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan-svg .dimln, .plan-svg .ext { fill: none; stroke: var(--red-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-mini .dimln, .plan-mini .ext { display: none; }
.plan-svg .north circle { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan-svg .north path { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.pnorth { position: absolute; transform: translate(-50%, -50%); font: 500 12px/1 var(--mono); }
.pzone { position: absolute; transform: translate(-50%, -50%); font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px var(--paper), 0 0 3px var(--paper); }
.pzone.v { transform: translate(-50%, -50%) rotate(-90deg); }
/* layers */
.plan .ly { opacity: 0; transition: opacity 280ms var(--glide); }
.plan .ly.on { opacity: 1; }
.plan .store { fill: url(#pr); stroke: var(--red-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plan .tray { fill: rgba(217, 58, 43, .1); stroke: var(--red-line); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.plan .heat { fill: url(#pr); opacity: .55; stroke: none; }
.plan .circ { fill: none; stroke: var(--red-line); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.plan .circ.alt { stroke-width: 1.2; }
.plan .ly.on .circ { stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--cut); }
.plan .ly.on .circ.alt { transition-delay: 200ms; }
.plan .svc path, .plan .svc-ln { fill: none; stroke: var(--red-line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.plan .svc-c { fill: var(--paper); stroke: var(--red-line); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
/* stations and their cones */
.plan .cone { fill: rgba(217, 58, 43, .14); stroke: var(--red-line); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: view-box; transform: scale(0); opacity: 0; transition: transform 240ms var(--glide), opacity 160ms; }
.plan .cone.on { transform: none; opacity: 1; }
.pst { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.pst i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -10px 0 0 -7px; border: solid transparent; border-width: 0 7px 14px; border-bottom-color: var(--ink); transform: rotate(var(--a)); transform-origin: 7px 10px; transition: border-color var(--t-quick); }
.pst b { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); font: 500 11.5px/1 var(--mono); color: var(--ink); transition: background var(--t-quick), color var(--t-quick), box-shadow var(--t-quick), transform var(--t-settle) var(--settle); }
@media (hover: hover) and (pointer: fine) { .pst:hover b { box-shadow: 0 0 0 1.5px var(--red-line); color: var(--red); } }
.pst.on b { background: var(--red-line); color: #fff; box-shadow: 0 0 0 1.5px var(--red-line); transform: scale(1.12); }
.pst.on i { border-bottom-color: var(--red-line); }
.kp-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.kp-note { min-height: 3em; margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--graphite); max-width: 40em; }
.kp-ph { position: relative; }
.kp-img { position: absolute; inset: 0; opacity: 0; transition: opacity 280ms var(--glide); background: var(--vellum); overflow: hidden; }
.kp-img:first-child { position: relative; }
.kp-img.on { opacity: 1; z-index: 1; }
.kp-ph { aspect-ratio: 3 / 2; }
.kp-ph .kp-img { position: absolute !important; inset: 0; aspect-ratio: auto !important; }
.kp-view figcaption { min-height: 3em; }
@media (max-width: 1099px) {
  .kp-body { grid-template-columns: 1fr; }
  .kp-planwrap { grid-row: 1; position: static; }
  .kp-view { grid-column: 1; grid-row: 3; }
  .kp-sts { grid-column: 1; grid-row: 2; display: flex; overflow-x: auto; gap: 8px; border: 0; scrollbar-width: none; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scroll-snap-type: x proximity; }
  .kp-sts::-webkit-scrollbar { display: none; }
  .kp-sts li { flex: 0 0 auto; scroll-snap-align: start; }
  .kp-sts button { width: auto; max-width: 240px; min-height: 52px; padding: 8px 12px 8px 8px; border: 1px solid var(--rule); }
  .kp-sts button[aria-pressed="true"] { border-color: var(--ink); }
  .kp-sts button { max-width: none; align-items: center; }
  .kp-sts button span { white-space: nowrap; }
}
@media (max-width: 719px) { .pzone { font-size: 11px; letter-spacing: .03em; } .pst { width: 36px; height: 36px; margin: -18px 0 0 -18px; } .pst b { width: 20px; height: 20px; font-size: 11px; } .kp-tools .tbtn { padding: 0 10px 0 8px; font-size: 15px; } }
/* full screen: the plan alone at a readable scale */
.kp-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.kp-dlg::backdrop { background: rgba(20, 21, 23, .5); }
.kp-dlg-in { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.kp-dlg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px var(--m); border-bottom: 1px solid var(--rule-ink); }
.kp-dlg-plan { overflow: auto; padding: 16px; display: grid; place-items: center; }
.kp-dlg-plan > * { width: min(100%, calc((100dvh - 120px) * 1.4)); min-width: min(760px, 200vw); }
.kp-dlg-plan .sec { grid-template-columns: 1fr; }

/* ---------- scene: shorter, with direct controls ---------- */
.scene { height: 260vh; }
@media (max-width: 719px) { .scene { height: 230vh; } }
.scene-top { flex-wrap: wrap; row-gap: 10px; }
.scene-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.scene-ctl .skipscene { margin-left: 8px; }
@media (min-width: 1100px) { .scene-cap { grid-template-columns: 1fr; } .scene-ctl { margin-top: 18px; } .scene-ctl .skipscene { margin-left: 0; } .det-steps { justify-content: flex-start; } }
.det-steps { display: flex; gap: 6px; align-self: center; }
.tlink.inl { display: inline; min-height: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 560; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red-line); text-underline-offset: 4px; cursor: pointer; }
.tlink.inl::after { display: none; }
.caps p .tlink.inl { line-height: 2.6; }
@media (max-width: 1099px) { .det-steps { justify-content: flex-start; } .scene-cap { grid-template-columns: 1fr; } }
@media (max-width: 719px) {
  .scene-top { padding-inline: var(--m); }
  .scene-top h2 { font-size: 34px; }
  .scene-ctl { gap: 4px; }
  .scene-ctl .tbtn { padding: 0 10px 0 8px; font-size: 14px; gap: 6px; }
  .scene-ctl .tbtn i { width: 12px; height: 12px; }
  .scene-ctl .skipscene { margin-left: 2px; font-size: 14px; }
  .scene-stage { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .caps { min-height: 130px; }
  .det-steps { gap: 4px; }
}
@media (max-width: 719px) and (max-height: 700px) { .scene-top h2 { display: none; } .caps { min-height: 108px; } .caps p { font-size: 16px; line-height: 1.4; } }

/* making: the figure carries its own caption now */
.mk-ph figcaption { margin-top: 12px; }
.mk-ph .a { aspect-ratio: var(--ar); }
.mk-fin figcaption .tlink { margin-top: 4px; }

/* schedule sheet */
.sched-sheet { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.sched-sheet > .g { row-gap: 28px; }
.ss-head { grid-column: 1 / span 4; display: grid; gap: 14px; align-content: start; }
.ss-head .lab { color: var(--red); }
.ss-note { color: var(--graphite); font-size: 16px; }
.fsched { grid-column: 6 / -1; width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.fsched th, .fsched td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule-ink); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.45; }
.fsched thead th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); padding-block: 10px; }
.fsched tbody th { font-weight: 560; width: 28%; }
.fsched td:last-child { color: var(--graphite); }
@media (max-width: 1099px) { .ss-head, .fsched { grid-column: 1 / -1; } }
@media (max-width: 719px) { .fsched thead { display: none; } .fsched, .fsched tbody, .fsched tr, .fsched th, .fsched td { display: block; width: auto !important; } .fsched tr { padding: 14px 0; border-bottom: 1px solid var(--rule-ink); } .fsched th, .fsched td { padding: 2px 0; border: 0; } .fsched td:last-child::before { content: "Finish: "; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); } }

/* details: drawings and photographs, each opening its study */
.det-open { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 100%; padding: 0; margin-bottom: 22px; border: 0; background: var(--ink); cursor: zoom-in; transition: transform var(--t-settle) var(--settle); }
.det-open .det-dw { margin: 0; max-width: none; aspect-ratio: 4 / 3; display: block; }
.det-open .det-dw svg { width: 100%; height: 100%; }
.det-open .det-ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--vellum); }
.det-open .det-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--glide); }
@media (hover: hover) and (pointer: fine) { .det-open:hover .det-ph img { transform: scale(1.06); } .det-open:hover { box-shadow: 0 0 0 2px var(--red-line); } }
.det-open:active { transform: scale(.99); }
.det-list p b { font-weight: 600; color: var(--ink); }
.det-svg .bey { stroke-width: 1; }
.det-list li { scroll-margin-top: calc(var(--hd) + 24px); }

/* the study: beside the room on desktop, a bottom sheet on phones */
.study { width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -30px 0 80px -20px rgba(20, 21, 23, .35); }
.study[open] { animation: sheet-in 320ms var(--glide) both; }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.study::backdrop { background: rgba(20, 21, 23, .32); }
.sd-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.sd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 24px; border-bottom: 1px solid var(--rule-ink); }
.sd-top .lab { color: var(--red); }
.sd { overflow-y: auto; }
.sd-ph { overflow: hidden; background: var(--vellum); }
.sd-tx { padding: 24px; display: grid; gap: 20px; }
.sd-dw { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; background: var(--bone); box-shadow: inset 0 0 0 1px var(--rule-ink); }
.sd-dw svg { width: 100%; height: 100%; }
.sd-tx dl { display: grid; gap: 16px; border-top: 1px solid var(--ink); padding-top: 16px; }
.sd-tx dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.sd-tx dd { margin-top: 6px; font-size: 17px; line-height: 1.5; }
.sd-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule-ink); }
@media (max-width: 719px) {
  .study { width: 100vw; height: auto; max-height: 92dvh; margin: auto 0 0; box-shadow: 0 -30px 80px -20px rgba(20, 21, 23, .35); }
  .study[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .sd-in { height: auto; max-height: 92dvh; }
  .sd-top, .sd-nav { padding-inline: var(--m); }
  .sd-tx { padding: 18px var(--m); }
  .sd-ph { max-height: 38dvh; }
  .sd-nav .tlink { font-size: 15px; }
}
.still .study[open], .still .kp-dlg[open] { animation: none; }

/* ---------- MATERIALS ---------- */
.cp-block { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.cp-g { aspect-ratio: 1; overflow: hidden; background: var(--vellum); }
.cp-g img { width: 100%; height: 100%; object-fit: cover; }
.cp-block .note { margin-top: 0; }
.cp-acts { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.age { display: inline-flex; vertical-align: middle; width: 64px; height: 14px; margin-right: 10px; background: linear-gradient(90deg, var(--f), var(--a)); box-shadow: inset 0 0 0 1px rgba(20, 21, 23, .2); }
.scale { position: relative; }
.scale span { position: absolute; bottom: -18px; font: 400 11.5px/1 var(--mono); color: var(--lead); }
.scale span:first-of-type { left: 0; }
.scale span:last-of-type { right: 0; }
.sp-table > div:last-child { padding-bottom: 28px; }
@media (max-width: 719px) { .cp-block { grid-template-columns: 96px 1fr; } }
.janka { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.janka .note { grid-column: 1 / span 3; padding-top: .6em; }
.jk-body { grid-column: 4 / -1; }
.jk-body .big { font: 500 clamp(28px, 3.4vw, 54px)/1.05 var(--sans); font-stretch: 84%; letter-spacing: -.03em; }
.jk-body .big .soft { color: var(--lead); }
.jk-body .src { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule-ink); color: var(--graphite); max-width: 46em; font-size: 16px; }
@media (max-width: 1099px) { .janka .note, .jk-body { grid-column: 1 / -1; } .janka .note { margin-bottom: 20px; } }
.compare { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.cm-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gut); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.cm-head h2 { grid-column: 1 / span 5; }
.cm-pick { grid-column: 7 / -1; display: grid; gap: 14px; }
.cm-pick fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.cm-pick legend { padding: 0; margin-bottom: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
@media (max-width: 1099px) { .cm-head h2, .cm-pick { grid-column: 1 / -1; } }
.cm-cols { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 0 var(--gut); }
.cm-cols::before { content: ""; }
.cc-ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--vellum); }
.cc-img { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms var(--glide); }
.cc-img.on { opacity: 1; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; }
.cc h3 { margin-top: 16px; font: 500 clamp(26px, 2.6vw, 40px)/1 var(--sans); font-stretch: 84%; letter-spacing: -.02em; }
.cc .fig { margin-top: 6px; }
.cm-rows { margin-top: 28px; border-top: 1.5px solid var(--ink); }
.cr { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 0 var(--gut); padding: 14px 0; border-bottom: 1px solid var(--rule-ink); align-items: start; }
.cr dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.cr dd { display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.cr dd .age { margin: 2px 0 0; }
.bar { position: relative; display: block; height: 10px; background: linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 12.5% 100%, var(--bone); box-shadow: inset 0 0 0 1px var(--rule); }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--v)); transition: transform 600ms var(--glide); }
.bar.two { height: 16px; }
.bar.two i { height: 7px; bottom: auto; }
.bar.two i + i { top: auto; bottom: 0; background: var(--red-line); }
.cm-line { margin-top: 24px; font: 500 clamp(20px, 1.8vw, 26px)/1.35 var(--sans); font-stretch: 94%; max-width: 40em; }
@media (max-width: 1099px) { .cm-cols { grid-template-columns: 1fr 1fr; } .cm-cols::before { display: none; } .cr { grid-template-columns: 1fr 1fr; row-gap: 8px; } .cr dt { grid-column: 1 / -1; } }
.finishes { padding: clamp(96px, 11vw, 176px) 0 0; }
.finishes > .g { padding-inline: var(--m); }
.fn-head { grid-column: 1 / span 7; display: grid; gap: 16px; }
.fn-head .lab, .hw-head .lab { color: var(--red); }
.fboard { margin: clamp(36px, 4vw, 64px) 0 0; }
.fboard .pf { aspect-ratio: 2 / 1; }
.fboard .pf img { object-position: 50% 52%; }
.fboard figcaption { margin: 12px var(--m) 0; }
.fb-lab { position: absolute; top: 16%; transform: translateX(-50%); padding: 6px 10px; background: var(--paper); font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.fn-row { padding: clamp(48px, 6vw, 88px) var(--m) 0; align-items: start; row-gap: 40px; }
.fn-sheen { grid-column: 1 / span 6; }
.fn-read { grid-column: 8 / -1; display: grid; gap: 16px; align-content: start; justify-items: start; }
.fn-read .lab { color: var(--red); }
.fn-read p:not(.lab):not(.lede) { color: var(--graphite); }
.fsheet-w { grid-column: 1 / -1; overflow-x: auto; }
.fsheet { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.fsheet th, .fsheet td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-ink); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.45; }
.fsheet thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.fsheet tbody th { font-weight: 600; }
.fsheet tr:target { background: var(--paper); }
.fn-more { padding: 24px var(--m) 0; }
@media (max-width: 1099px) { .fn-sheen, .fsheet-w, .fn-head, .fn-read { grid-column: 1 / -1; } }
@media (max-width: 719px) { .fb-lab { top: auto; bottom: 10px; padding: 4px 5px; font-size: 10px; letter-spacing: .02em; } .fboard .pf { aspect-ratio: 4 / 3; } .fboard .pf img { object-position: 50% 50%; } .fsheet-w { margin-inline: calc(var(--m) * -1); padding-inline: var(--m); } }
.hardware { padding: clamp(96px, 11vw, 176px) var(--m) clamp(96px, 11vw, 176px); }
.hw-head { grid-column: 1 / span 7; display: grid; gap: 16px; }
.hw-lede { grid-column: 8 / -1; color: var(--graphite); }
@media (max-width: 1099px) { .hw-head, .hw-lede { grid-column: 1 / -1; } .hw-lede { margin-top: 20px; } }
.hw-list { margin-top: clamp(36px, 4vw, 64px); border-top: 1.5px solid var(--ink); }
.hw { border-bottom: 1px solid var(--rule-ink); }
.hw summary { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 140px 32px; gap: var(--gut); align-items: center; min-height: 84px; padding: 12px 0; cursor: pointer; list-style: none; }
.hw summary::-webkit-details-marker { display: none; }
.hw-k { font: 500 13px/1 var(--mono); color: var(--red); }
.hw summary b { font: 560 20px/1.2 var(--sans); font-stretch: 92%; }
.hw-w { color: var(--graphite); font-size: 16px; }
.hw-dw { display: block; height: 70px; }
.hw-svg { width: 100%; height: 100%; }
.hw summary > i { width: 32px; height: 32px; display: grid; place-items: center; }
.hw summary > i::before { content: "+"; font: 400 22px/1 var(--mono); color: var(--ink); }
.hw[open] summary > i::before { content: "−"; color: var(--red); }
@media (hover: hover) and (pointer: fine) { .hw summary:hover b { color: var(--red); } }
.hw-body { padding: 0 0 32px 88px; }
.hw-phs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.hw-ph .pf { aspect-ratio: 1 !important; }
.hw-ages { margin-top: 18px; color: var(--graphite); max-width: 40em; }
.hw-ages b { color: var(--ink); }
@media (max-width: 1099px) { .hw summary { grid-template-columns: 48px 1fr 32px; } .hw-w { grid-column: 2; grid-row: 2; } .hw-dw { display: none; } .hw summary > i { grid-column: 3; grid-row: 1 / span 2; } .hw-body { padding-left: 0; } }
@media (max-width: 719px) { .hw-phs { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; } .hw-phs::-webkit-scrollbar { display: none; } .hw-phs > * { flex: 0 0 72vw; scroll-snap-align: start; } }

/* ---------- CARE ---------- */
.care-day { padding: 0 var(--m); }
.cd-head { grid-column: 1 / -1; display: grid; gap: 12px; margin-bottom: 28px; }
.cd-head .lab { color: var(--red); }
.cd-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.cd-list li { padding: 20px 22px 24px 0; border-right: 1px solid var(--rule-ink); scroll-margin-top: calc(var(--hd) + 24px); }
.cd-list li + li { padding-left: 22px; }
.cd-list li:last-child { border-right: 0; }
.cd-list li:target h3 { color: var(--red); }
.cd-list h3 { font: 560 22px/1.15 var(--sans); font-stretch: 92%; }
.cd-list dl { display: grid; gap: 12px; margin-top: 16px; }
.cd-list dt { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.cd-list dd { margin-top: 4px; font-size: 16px; line-height: 1.45; }
@media (max-width: 1099px) { .cd-list { grid-template-columns: 1fr 1fr; } .cd-list li:nth-child(2n) { border-right: 0; } .cd-list li:nth-child(2n+1) { padding-left: 0; } .cd-list li:nth-child(-n+2) { border-bottom: 1px solid var(--rule-ink); } }
@media (max-width: 719px) { .cd-list { grid-template-columns: 1fr; } .cd-list li { padding: 20px 0 !important; border-right: 0; border-bottom: 1px solid var(--rule-ink); } }
.care-never { display: grid; grid-template-columns: 1fr 1fr; gap: 16px var(--gut); margin-top: clamp(40px, 5vw, 72px); max-width: 1100px; }
.care-never li { padding-left: 22px; position: relative; color: var(--graphite); }
.care-never li::before { content: "Δ"; position: absolute; left: 0; top: 0; font: 500 14px/1.6 var(--mono); color: var(--red); }
.care-never b { color: var(--ink); }
@media (max-width: 719px) { .care-never { grid-template-columns: 1fr; } }
.care-sp { padding: clamp(96px, 11vw, 176px) var(--m) clamp(80px, 9vw, 140px); }
.care-sp .note { grid-column: 1 / span 3; padding-top: 22px; }
.cs-list { grid-column: 4 / -1; border-top: 1px solid var(--ink); }
.cs-list li { display: grid; grid-template-columns: 56px 180px minmax(0, 1fr) auto; gap: var(--gut); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule-ink); scroll-margin-top: calc(var(--hd) + 24px); }
.cs-sw { width: 56px; height: 56px; overflow: hidden; }
.cs-sw img { width: 100%; height: 100%; object-fit: cover; }
.cs-list h3 { font: 560 20px/1.2 var(--sans); font-stretch: 92%; }
.cs-list p { color: var(--graphite); font-size: 16px; }
@media (max-width: 1099px) { .care-sp .note, .cs-list { grid-column: 1 / -1; } .care-sp .note { padding: 0 0 16px; } .cs-list li { grid-template-columns: 56px 1fr; } .cs-list h3 { grid-column: 2; } .cs-list p, .cs-list .tlink { grid-column: 2; } .cs-sw { grid-row: 1 / span 3; align-self: start; } }
.care-move { padding: clamp(96px, 11vw, 176px) var(--m); }
.care-move .g { align-items: center; row-gap: 48px; }
.cmv-tx { grid-column: 1 / span 5; }
.cmv-tx .body { margin-top: 24px; }
.cmv-dw { grid-column: 7 / -1; margin: 0; }
.cmv-dw .dwg { background-color: var(--slate); background-image: linear-gradient(rgba(243, 242, 238, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 242, 238, .05) 1px, transparent 1px); box-shadow: none; }
.cmv-dw .dwg .cut { stroke: var(--bone); }
.cmv-dw .dwg .bey { stroke: var(--mist); }
.cmv-dw .hatch-ln { stroke: var(--mist); }
.cmv-dw figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: 14px; font-size: 16px; color: var(--mist); }
@media (max-width: 1099px) { .cmv-tx, .cmv-dw { grid-column: 1 / -1; } }
.repair { padding: clamp(96px, 11vw, 176px) 0 0; }
.repair > .g { padding-inline: var(--m); }
.rp-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gut); align-items: end; }
.rp-head .lab { grid-column: 1 / -1; color: var(--red); }
.rp-head h2 { grid-column: 1 / span 6; }
.rp-head .lede { grid-column: 8 / -1; color: var(--graphite); }
@media (max-width: 1099px) { .rp-head h2, .rp-head .lede { grid-column: 1 / -1; } }
.rp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: clamp(40px, 5vw, 72px); background: var(--ink); }
.rp-steps li { background: var(--bone); padding-bottom: 20px; }
.rp-steps .s-n { display: block; margin: 16px 20px 0; }
.rp-steps h3 { margin: 8px 20px 0; font: 560 20px/1.2 var(--sans); font-stretch: 92%; }
.rp-steps p { margin: 8px 20px 0; color: var(--graphite); font-size: 16px; }
.rp-note { padding: 24px var(--m) 0; color: var(--graphite); max-width: 52em; }
@media (max-width: 1099px) { .rp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) { .rp-steps .s-n, .rp-steps h3, .rp-steps p { margin-inline: 12px; } .rp-steps h3 { font-size: 18px; } .rp-steps p { font-size: 16px; } }
.adjust { padding: clamp(96px, 11vw, 176px) var(--m) 0; align-items: start; row-gap: 40px; }
.aj-ph { grid-column: 1 / span 6; }
.aj-tx { grid-column: 8 / -1; display: grid; gap: 18px; align-content: start; }
.aj-tx .lab { color: var(--red); }
.aj-dw { margin: 8px 0 0; }
.aj-note { color: var(--lead); font-size: 16px; }
@media (max-width: 1099px) { .aj-ph, .aj-tx { grid-column: 1 / -1; } }
.brass { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.brass .note { grid-column: 1 / span 3; padding-top: .6em; }
.brass .big { grid-column: 4 / -1; font: 500 clamp(28px, 3.4vw, 54px)/1.05 var(--sans); font-stretch: 84%; letter-spacing: -.03em; }
.brass .big .soft { color: var(--lead); }
@media (max-width: 1099px) { .brass .note, .brass .big { grid-column: 1 / -1; } .brass .note { margin-bottom: 18px; } }
.kit { padding: clamp(96px, 11vw, 176px) var(--m) 0; align-items: center; row-gap: 40px; }
.kt-ph { grid-column: 1 / span 7; }
.kt-tx { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
.kt-tx .lab { color: var(--red); }
.kt-list { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--ink); }
.kt-list li { padding: 10px 0; border-bottom: 1px solid var(--rule-ink); }
.kt-list li::before { content: "—"; margin-right: 10px; color: var(--red); font-family: var(--mono); }
@media (max-width: 1099px) { .kt-ph, .kt-tx { grid-column: 1 / -1; } }

/* ---------- SHOP WALK ---------- */
.shop-hero figcaption { margin: 12px var(--m) 0; }
.walk { padding: clamp(96px, 11vw, 176px) 0 0; }
.walk-head { padding-inline: var(--m); align-items: end; row-gap: 20px; }
.walk-head > div { grid-column: 1 / span 7; display: grid; gap: 16px; }
.walk-head .lab { color: var(--red); }
.walk-head .lede { grid-column: 9 / -1; color: var(--graphite); }
@media (max-width: 1099px) { .walk-head > div, .walk-head .lede { grid-column: 1 / -1; } }
.walk-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gut); padding: clamp(40px, 5vw, 72px) var(--m) 0; align-items: start; }
.walk-map { position: sticky; top: calc(var(--hd) + 24px); }
.walk-now { margin-top: 12px; color: var(--ink); }
.fst { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; text-decoration: none; color: var(--ink); font: 500 13px/1 var(--mono); }
.fst::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); z-index: -1; transition: background var(--t-quick), box-shadow var(--t-quick), transform var(--t-settle) var(--settle); }
.fst { z-index: 1; isolation: isolate; }
@media (hover: hover) and (pointer: fine) { .fst:hover::before { box-shadow: 0 0 0 1.5px var(--red-line); } }
.fst.on { color: #fff; }
.fst.on::before { background: var(--red-line); box-shadow: 0 0 0 1.5px var(--red-line); transform: scale(1.15); }
.walk-list { display: grid; gap: clamp(56px, 6vw, 96px); }
.walk-list li { scroll-margin-top: calc(var(--hd) + 24px); }
.ws-tx { display: grid; grid-template-columns: 48px 1fr; gap: 6px 14px; margin-top: 16px; }
.ws-tx .s-n { grid-row: 1 / span 3; padding-top: 6px; }
.ws-tx h3 { font: 560 clamp(22px, 2vw, 28px)/1.15 var(--sans); font-stretch: 90%; }
.ws-tx p { color: var(--graphite); max-width: 36em; }
@media (max-width: 1099px) { .walk-body { grid-template-columns: 1fr; } .walk-map { position: sticky; top: 0; z-index: 5; margin-inline: calc(var(--m) * -1); padding: 8px var(--m) 8px; background: var(--bone); border-bottom: 1px solid var(--rule-ink); } .walk-map .dwg { max-width: 720px; } .walk-now { margin-top: 6px; } .hd:not(.away) ~ main .walk-map { top: var(--hd); } }
@media (max-width: 719px) { .fst { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 11px; } .fst::before { inset: 8px; } }
/* joints with direct control */
.jctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.jrange { flex: 1 1 140px; min-width: 120px; height: 44px; accent-color: var(--red-line); }
.joint .bear { fill: none; stroke: var(--red-line); stroke-width: 3; stroke-linecap: round; opacity: calc(.15 + var(--e, 0) * .85); }
.joint .jtx .bear-tx { margin-top: 12px; color: var(--graphite); }
.joint .jtx .bear-tx b { color: var(--ink); }
.crew li { display: grid; grid-template-columns: 88px 1fr; column-gap: 18px; }
.crew-ph { grid-row: 1 / span 3; width: 88px; height: 88px; overflow: hidden; }
.crew-ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- THE COMMISSION ---------- */
.cstick { padding: 0 var(--m) clamp(48px, 6vw, 96px); }
.cstick .stick-bar svg { width: 100%; height: 40px; }
.cstick .stick-bar .base { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cstick .stick-bar .t { stroke: var(--lead); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cstick .stick-bar .T { stroke: var(--red-line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cs-marks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 12px; margin-top: 10px; }
.cs-marks a { display: grid; gap: 6px; align-content: start; min-height: 64px; padding-top: 6px; text-decoration: none; color: var(--ink); }
.cs-marks .n { font: 500 12px/1 var(--mono); color: var(--red); }
.cs-marks b { font: 560 17px/1.15 var(--sans); font-stretch: 92%; transition: color var(--t-quick); }
@media (hover: hover) and (pointer: fine) { .cs-marks a:hover b { color: var(--red); } }
.okm { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--red-line); background: radial-gradient(circle, var(--red-line) 0 3px, transparent 3.5px); vertical-align: middle; }
.cs-marks .okm { margin-top: 2px; }
.cs-legend { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--graphite); }
@media (max-width: 1099px) { .cs-marks { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; } .cstick .stick-bar { display: none; } .cs-marks a { border-top: 1px solid var(--ink); } }
@media (max-width: 719px) { .cs-marks { grid-template-columns: 1fr 1fr; } }
.stage { padding: clamp(96px, 11vw, 176px) var(--m); scroll-margin-top: var(--hd); }
.stage + .stage:not(.dk) { padding-top: 0; }
.stage.dk + .stage { padding-top: clamp(96px, 11vw, 176px); }
.stage > .g { align-items: start; row-gap: 40px; }
.sg-tx { grid-column: 1 / span 5; position: sticky; top: calc(var(--hd) + 32px); }
.sg-tx .lab { color: var(--red); }
.sg-tx h2 { margin-top: 16px; }
.sg-tx .body { margin-top: 22px; }
.sg-art { grid-column: 7 / -1; display: grid; gap: 28px; }
.stage.rev .sg-tx { grid-column: 8 / -1; grid-row: 1; }
.stage.rev .sg-art { grid-column: 1 / span 6; grid-row: 1; }
.sg-sched { margin-top: 28px; border-top: 1.5px solid var(--ink); }
.sg-sched > div { display: grid; grid-template-columns: 8em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule-ink); }
.dk .sg-sched > div { border-color: var(--rule-dark); }
.dk .sg-sched { border-color: var(--bone); }
.sg-sched dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); display: flex; gap: 8px; align-items: baseline; }
.dk .sg-sched dt { color: var(--mist); }
.sg-sched dd { font-size: 16px; line-height: 1.45; }
.sg-sched .ok dt { color: var(--red); }
.dk .sg-sched .ok dt { color: var(--red-hi); }
.sg-sched .ok dd { font-weight: 560; }
.sg-dw { padding: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink); }
.sg-dw .lab { color: var(--red); margin-bottom: 14px; }
.chk li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--rule-ink); font-size: 16px; }
.chk svg { width: 20px; height: 20px; fill: none; stroke-width: 1.5; }
.chk svg rect { stroke: var(--ink); }
.chk svg path { stroke: var(--red-line); stroke-width: 2; stroke-dasharray: 20; stroke-dashoffset: 20; }
.js .stage.in .chk svg path, .no-js .chk svg path, .still .chk svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 360ms var(--cut); }
.chk li:nth-child(2) svg path { transition-delay: 90ms !important; } .chk li:nth-child(3) svg path { transition-delay: 180ms !important; } .chk li:nth-child(4) svg path { transition-delay: 270ms !important; } .chk li:nth-child(5) svg path { transition-delay: 360ms !important; } .chk li:nth-child(6) svg path { transition-delay: 450ms !important; } .chk li:nth-child(7) svg path { transition-delay: 540ms !important; }
.rev-dw { margin: 0; padding: 0; background: none; box-shadow: none; }
.revt { width: 100%; margin-top: 14px; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.revt caption { text-align: left; padding-bottom: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.revt th, .revt td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-ink); text-align: left; font-size: 16px; vertical-align: top; }
.revt thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.rv { display: inline-grid; place-items: center; width: 26px; height: 22px; color: var(--red); font: 500 12px/1 var(--mono); clip-path: polygon(50% 0, 100% 100%, 0 100%); background: rgba(217, 58, 43, .12); padding-top: 6px; }
.sg-ph2 { max-width: 60%; justify-self: end; }
.dk .sg-dw { background: var(--slate); box-shadow: none; }
.inst ol { display: grid; gap: 0; counter-reset: i; }
.inst li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-dark); font-size: 16px; }
.inst li span { font: 500 12px/1.6 var(--mono); color: var(--red-hi); }
@media (max-width: 1099px) { .sg-tx, .stage.rev .sg-tx, .sg-art, .stage.rev .sg-art { grid-column: 1 / -1; grid-row: auto; position: static; } .sg-ph2 { max-width: 80%; } }
.timing { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.timing .note { grid-column: 1 / span 3; padding-top: .6em; }
.tm-body { grid-column: 4 / -1; }
.tm-body .big { font: 500 clamp(28px, 3.4vw, 54px)/1.05 var(--sans); font-stretch: 84%; letter-spacing: -.03em; }
.tm-body .big .soft { color: var(--lead); }
.tm-list { margin-top: 32px; border-top: 1px solid var(--ink); }
.tm-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule-ink); font-size: 17px; }
.tm-list .fig { color: var(--red); }
@media (max-width: 1099px) { .timing .note, .tm-body { grid-column: 1 / -1; } .timing .note { margin-bottom: 18px; } }

/* ---------- ARCHITECTS & BUILDERS ---------- */
.ph-sm h1 { font-size: clamp(54px, 9vw, 150px); }
.coord { padding: 0 0 0; }
.coord > .g { padding-inline: var(--m); }
.co-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px var(--gut); align-items: end; }
.co-head .lab { grid-column: 1 / -1; color: var(--red); }
.co-head h2 { grid-column: 1 / span 6; }
.co-head .lede { grid-column: 8 / -1; color: var(--graphite); }
@media (max-width: 1099px) { .co-head h2, .co-head .lede { grid-column: 1 / -1; } }
.co-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gut); padding: clamp(40px, 5vw, 72px) var(--m) 0; align-items: start; }
.co-dw { position: relative; margin: 0; }
.co-notes { border-top: 1.5px solid var(--ink); }
.co-notes li { display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-ink); }
.co-notes .key { grid-row: 1 / span 2; }
.co-notes b { font-weight: 600; }
.co-notes p { color: var(--graphite); font-size: 16px; }
@media (max-width: 1099px) { .co-body { grid-template-columns: 1fr; } }
@media (max-width: 719px) { .co-dw { overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); } .co-dw .dwg { width: 620px; } .co-dw .sec-zoom { position: sticky; left: calc(100% - 140px); margin-top: 10px; } }
.send { padding: clamp(96px, 11vw, 176px) var(--m) 0; align-items: start; row-gap: 40px; }
.se-tx { grid-column: 1 / span 5; display: grid; gap: 18px; }
.se-tx .lab { color: var(--red); }
.se-list { border-top: 1.5px solid var(--ink); }
.se-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule-ink); }
.se-list b { font-weight: 600; }
.se-list span { color: var(--graphite); font-size: 16px; }
.se-ph { grid-column: 7 / -1; }
@media (max-width: 1099px) { .se-tx, .se-ph { grid-column: 1 / -1; } }
.matrix { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.mx-head { grid-column: 1 / -1; display: grid; gap: 12px; margin-bottom: 28px; }
.mx-head .lab { color: var(--red); }
.mx-note { color: var(--graphite); max-width: 40em; }
.mx { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.mx th, .mx td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule-ink); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.45; }
.mx thead th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.mx tbody th { font-weight: 600; width: 22%; }
.mx td:nth-child(2) { width: 39%; }
.mx td:nth-child(3) { color: var(--graphite); }
@media (max-width: 719px) { .mx thead { display: none; } .mx, .mx tbody, .mx tr, .mx th, .mx td { display: block; width: auto !important; } .mx tr { padding: 14px 0; border-bottom: 1px solid var(--rule-ink); } .mx th, .mx td { padding: 3px 0; border: 0; } .mx td::before { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); } .mx td:nth-child(2)::before { content: "Harlan & Reed"; } .mx td:nth-child(3)::before { content: "The project team"; } }
.tr-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CONSULTATION, v4 ---------- */
.restored { margin-top: 16px; padding: 10px 14px; background: var(--bone); color: var(--graphite); font-size: 16px; box-shadow: inset 2px 0 0 var(--red-line); }
.step-now { display: none; }
.revs li { padding: 0; }
.revs li button { display: grid; gap: 4px; width: 100%; min-height: 52px; padding: 10px 12px; border: 0; background: none; text-align: left; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.revs li button:disabled { cursor: default; color: var(--lead); }
.revs li.done button { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .revs li.done button:hover { background: var(--bone); } }
@media (max-width: 719px) {
  .step-now { display: grid; gap: 10px; margin-top: 18px; }
  .step-now p { display: flex; align-items: baseline; gap: 10px; font-size: 18px; }
  .step-now b { font-weight: 600; }
  .prog { display: block; height: 3px; background: var(--rule); }
  .prog i { display: block; height: 100%; background: var(--red-line); transform-origin: left; transform: scaleX(var(--v)); transition: transform 380ms var(--glide); }
  .revs { margin: 14px 0 22px; }
  .revs li button { min-height: 44px; padding: 6px 2px; text-align: center; place-items: center; }
  .revs li button span { display: none; }
}
.sketch { margin-top: 28px; }
.sk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.sk-t { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.sk-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-pad { display: block; width: 100%; aspect-ratio: 5 / 3; height: auto; background: #fff; background-image: linear-gradient(rgba(20, 21, 23, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 21, 23, .07) 1px, transparent 1px); background-size: 4% 6.6667%; box-shadow: inset 0 0 0 1.5px var(--ink); touch-action: none; cursor: crosshair; }
.sketch .help, .fld .help { margin-top: 8px; font-size: 16px; color: var(--lead); }
.file-msg { min-height: 1.5em; margin-top: 10px; font-size: 16px; color: var(--graphite); }
.file-msg.bad { color: var(--red); font-weight: 520; }
.file-msg.bad::before { content: "Δ "; font-family: var(--mono); }
.carried { margin-top: 12px; font-size: 16px; color: var(--graphite); }
.bpeek { display: none; }
@media (max-width: 719px) {
  .sheet-tb { display: none !important; }
  .bpeek { display: block; margin-top: 18px; border: 1px solid var(--ink); background: var(--bone); }
  .bpeek summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px; font: 560 16px/1.2 var(--sans); cursor: pointer; list-style: none; }
  .bpeek summary::-webkit-details-marker { display: none; }
  .bpeek summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--red); }
  .bpeek[open] summary::after { content: "−"; }
  .bpeek summary .fig { margin-left: auto; }
  .bpeek .tb-vals { padding: 0 14px 10px; }
}
.brief-doc { margin-top: 28px; max-width: 760px; padding: 24px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.brief-doc h2 { font: 560 22px/1.2 var(--sans); }
.brief-doc dl { margin-top: 14px; border-top: 1px solid var(--ink); }
.brief-doc dl > div { display: grid; grid-template-columns: 11em 1fr; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--rule-ink); }
.brief-doc dt { font: 500 11.5px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lead); }
.brief-doc dd { overflow-wrap: anywhere; }
.brief-doc img { margin-top: 14px; max-width: 100%; box-shadow: inset 0 0 0 1px var(--rule); }
.done .acts { flex-wrap: wrap; }
.next3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); margin-top: 36px; border-top: 1px solid var(--ink); }
.next3 li { display: grid; gap: 6px; padding-top: 14px; }
.next3 b { font-weight: 600; }
.next3 span { color: var(--graphite); font-size: 16px; }
.acts2 { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
@media (max-width: 719px) { .next3 { grid-template-columns: 1fr; } .brief-doc { padding: 16px; } .brief-doc dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media print {
  .hd, .menu, .ft, .pbar, .strip, .done .acts, .done .acts2, .stamp, .next3, .skip { display: none !important; }
  body, .desk, .sheet { background: #fff !important; box-shadow: none !important; }
  .brief-doc { box-shadow: none; padding: 0; }
}

/* ---------- reduced motion: still versions of the v4 moments ---------- */
.still .plan .cone { transition: none; }
.still .plan .ly.on .circ { transition: none; }
.still .kp-img, .still .cc-img, .still .plate .pl { transition: none; }
.still img { transition: none; }
.still .js img[loading="lazy"]:not(.ld), .still img[loading="lazy"] { opacity: 1 !important; }
.js .cstick .stick-bar .base { transform: none; }
.js .cstick .stick-bar .t, .js .cstick .stick-bar .T { opacity: 1; }
.walk-list .pf { aspect-ratio: 4 / 3 !important; }
/* scrollers that hold no controls of their own take keyboard focus */
.steps4:focus-visible, .seq-row:focus-visible, .hw-phs:focus-visible, .fsheet-w:focus-visible { outline: 2px solid var(--red-line); outline-offset: 4px; }
/* phones: the floor diagram's stations are numbered dots; the list below is the control */
.fdot { display: none; }
@media (max-width: 719px) {
  .fst { display: none; }
  .fdot { position: absolute; display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink); font: 500 11px/1 var(--mono); color: var(--ink); transition: background var(--t-quick), color var(--t-quick); }
  .fdot.on { background: var(--red-line); color: #fff; box-shadow: 0 0 0 1.5px var(--red-line); }
}
/* the full-screen control sits under its drawing, never over it */
.sec-zoom, .co-dw .sec-zoom { position: relative !important; left: auto !important; top: auto !important; right: auto !important; margin-top: 10px; }
@media (min-width: 1100px) { .float-row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.float-row .sec { grid-template-columns: 1fr; }
.float-row .sec figcaption .keys { grid-template-columns: 1fr 1fr; column-gap: var(--gut); }
@media (max-width: 719px) { .float-row .sec figcaption .keys { grid-template-columns: 1fr; } }
/* red labels on dark sheets use the lighter red */
.dk .sg-tx .lab, .dk .sg-dw .lab, .dk .ch-tx .lab, .dk .kp-head .lab, .dk .inst li span { color: var(--red-hi); }
/* portrait heroes, cropped wide on desktop, keep the part of the room the page is about */
@media (min-width: 720px) { .case-gainesville-mudroom .case-hero img { object-position: 50% 80%; } .case-ansley-library .case-hero img { object-position: 50% 46%; } }
/* v4: under reduced motion the steady plate already shows each room, so the rows keep the plate layout */
@media (prefers-reduced-motion: reduce) and (min-width: 1100px) and (hover: hover) {
  .rack .rows .row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .rack-work .rows .row { grid-template-columns: 72px minmax(0, 1fr) 210px; }
  .rack .rows .row .thumb { display: none; }
}
.lib-wash img, .cmp-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 719px) { .lib-wash img, .cmp-in img { object-position: 50% 100%; } }
@media (max-width: 719px) { .rack-idx { grid-template-columns: 1fr; } }
@media (max-width: 719px) { .brief-cols { grid-template-columns: 1fr; } }
.xp .face-dk { fill: #D8CFC6; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.joint .jph { position: relative; }
.bmark { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red-line), 0 0 0 4px rgba(251, 251, 249, .7); pointer-events: none; }
.blab { position: absolute; padding: 4px 10px; background: var(--paper); color: var(--red); font: 500 16px/1.3 var(--sans); white-space: nowrap; pointer-events: none; }
.dwg .pipe { fill: none; stroke: var(--graphite); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.dwg .trap { fill: #E4E1DC; stroke: var(--graphite); stroke-width: 1.6; }
.dwg .frame { fill: none; stroke: var(--rule-ink); stroke-width: 1; }
.walk-now { font: 400 16px/1.4 var(--sans); }

/* ===== v4.1 (eval_hr_1): distinct endings, merged detail sheet, milestones, phone drawings, static scene states ===== */
/* Dahlonega: from the bench to the wall */
.bsite { padding-block: clamp(96px, 11vw, 176px); margin-top: clamp(80px, 9vw, 140px); }
.bs-head { padding-inline: var(--m); }
.bs-head .lab { grid-column: 1 / -1; color: var(--red-hi); margin-bottom: 16px; }
.bs-head h2 { grid-column: 1 / span 9; }
.bs-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--gut); align-items: start; padding: clamp(40px, 5vw, 72px) var(--m) 0; }
.bs-tx { display: grid; gap: 12px; align-content: start; justify-items: start; color: var(--mist); font-size: 16px; line-height: 1.55; }
.bs-tx .k, .tl-when, .df-head .lab { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); }
.bs-tx .k + p { margin-top: -4px; }
.bs-tx .mk-fin { margin-top: 12px; width: 100%; }
.bs-b { margin-top: clamp(40px, 8vw, 120px); }
@media (max-width: 1099px) { .bs-row { grid-template-columns: 1fr 1fr; } .bs-tx { grid-column: 1 / -1; grid-row: 2; max-width: 40em; } .bs-b { margin-top: 0; } }
@media (max-width: 719px) { .bs-row { grid-template-columns: 1fr; } .bs-tx { grid-row: auto; } }
.bsite + .spread { margin-top: 0; }

/* Ansley: the dry fit, as a record */
.dryfit { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.df-head .lab { grid-column: 1 / -1; color: var(--red); margin-bottom: 16px; }
.df-head h2 { grid-column: 1 / span 9; }
.df-row { margin-top: clamp(40px, 5vw, 72px); align-items: start; row-gap: 32px; }
.df-ph { grid-column: 1 / span 5; }
.df-rec { grid-column: 7 / -1; display: grid; gap: 28px; align-content: start; }
.df-intro { font: 420 clamp(19px, 1.5vw, 23px)/1.42 var(--sans); max-width: 30em; }
.dryfit + .spread { margin-top: clamp(80px, 9vw, 140px); }
@media (max-width: 1099px) { .df-ph { grid-column: 1 / span 4; } .df-rec { grid-column: 5 / -1; } .bs-head h2, .df-head h2, .tl-head h2, .mg-head h2 { grid-column: 1 / -1; } }
@media (max-width: 719px) { .df-ph, .df-rec { grid-column: 1 / -1; } }

/* shared: a record or approval slip (the dry fit, the finished board, the handover) */
.slip { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink), 0 1px 0 var(--rule-ink); padding: 20px 22px 18px; }
.slip-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.slip-top p { font: 560 20px/1.2 var(--sans); font-stretch: 92%; }
.slip-top span { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); }
.slip dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-ink); }
.slip dt { font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); }
.slip dd { font-size: 16px; line-height: 1.45; }
.df-slip dd::before { content: "✓"; margin-right: 8px; color: var(--red); font-weight: 600; }
.slip-ok { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; font-weight: 560; font-size: 16px; }
.slip-sign { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 26px; }
.slip-sign span { padding-top: 8px; border-top: 1px solid var(--ink); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); }
@media (max-width: 719px) { .slip { padding: 16px 16px 14px; } .slip dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Highlands: every face, in the shop and in the house */
.faces { padding-block: clamp(96px, 11vw, 176px); margin-top: clamp(80px, 9vw, 140px); }
.fc-head { padding-inline: var(--m); row-gap: 24px; align-items: end; }
.fc-h { grid-column: 1 / span 6; }
.fc-h .lab { color: var(--red-hi); margin-bottom: 16px; }
.fc-head .body { grid-column: 8 / -1; }
.fc-head .mk-fin { margin-top: 24px; }
.fc-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gut); align-items: end; padding: clamp(40px, 5vw, 72px) var(--m) 0; }
@media (max-width: 1099px) { .fc-h, .fc-head .body { grid-column: 1 / -1; } }
@media (max-width: 719px) { .fc-row { grid-template-columns: 1fr; } }

/* Gainesville: bench to back door */
.tline { padding: clamp(96px, 11vw, 176px) var(--m) 0; }
.tl-head .lab { grid-column: 1 / -1; color: var(--red); margin-bottom: 16px; }
.tl-head h2 { grid-column: 1 / span 9; }
.tl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); margin-top: clamp(40px, 5vw, 72px); border-top: 1.5px solid var(--ink); }
.tl > li { position: relative; display: grid; gap: 12px; align-content: start; align-self: start; padding-top: 22px; font-size: 16px; line-height: 1.5; color: var(--graphite); }
.tl > li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bone); box-shadow: inset 0 0 0 2px var(--red-line); }
.tl-when { color: var(--red); display: flex; gap: 10px; }
.tl-when span { color: var(--lead); }
.tl-card { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink); padding: 22px 20px 20px !important; margin-top: 18px; }
.tl-card::before { top: -25px !important; }
.tl-card h3 { font: 560 21px/1.15 var(--sans); font-stretch: 92%; color: var(--ink); }
.tl-ph figcaption { font-size: 16px; }
@media (max-width: 1099px) { .tl { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 719px) { .tl { grid-template-columns: 1fr; border-top: 0; border-left: 1.5px solid var(--ink); padding-left: 20px; gap: 32px; } .tl > li { padding-top: 0; } .tl > li::before { left: -27px; top: 2px; } .tl-card { margin-top: 0; } .tl-card::before { top: 22px !important; } }

/* Gainesville: two chapters on one sheet over the tray section */
.ch2 .g > .ch-tx { position: static; grid-column: 1 / span 5; }
.ch2 .g > .ch-tx + .ch-tx { grid-column: 7 / span 5; }
@media (max-width: 1099px) { .ch2 .g > .ch-tx + .ch-tx { grid-column: 1 / -1; margin-top: 48px; } }

/* the detail sheet now carries the schedule */
.details-head { align-items: end; }
.details-head .lab { color: var(--red); margin-bottom: 16px; }
.dt-note { max-width: 24em; color: var(--graphite); font-size: 16px; line-height: 1.5; }
.det-sched { margin-top: clamp(56px, 6vw, 96px); row-gap: 24px; }
.h3s { font: 560 clamp(24px, 2.2vw, 32px)/1.1 var(--sans); font-stretch: 88%; letter-spacing: -.015em; }
.sd-ans { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--graphite); }
@media (max-width: 719px) { .details-head { display: grid; gap: 16px; } }

/* Commission: five milestones */
.mgroup { padding: clamp(96px, 11vw, 176px) var(--m); scroll-margin-top: var(--hd); }
.mg-head .lab { grid-column: 1 / -1; color: var(--red); margin-bottom: 16px; }
.mgroup.dk .mg-head .lab { color: var(--red-hi); }
.mg-head h2 { grid-column: 1 / span 9; }
.mg-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px) var(--gut); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.mg-st { display: grid; gap: 16px; align-content: start; scroll-margin-top: calc(var(--hd) + 16px); }
.mg-st > .lab { color: var(--red); margin-top: 8px; }
.dk .mg-st > .lab { color: var(--red-hi); }
.mg-t { font: 560 clamp(26px, 2.4vw, 34px)/1.08 var(--sans); font-stretch: 88%; letter-spacing: -.015em; }
.mg-what { font-size: 17px; line-height: 1.55; color: var(--graphite); max-width: 38em; }
.dk .mg-what { color: var(--mist); }
.sg-mini { margin-top: 4px; }
.sg-mini > div { grid-template-columns: 7.5em 1fr; padding: 10px 0; }
@media (max-width: 1099px) { .mg-two { grid-template-columns: 1fr; } }
.revbig { padding: clamp(96px, 11vw, 176px) var(--m); background: var(--vellum); scroll-margin-top: var(--hd); }
.rb-head { align-items: end; row-gap: 24px; }
.rb-h { grid-column: 1 / span 6; }
.rb-h .lab { color: var(--red); margin-bottom: 16px; }
.rb-head .mg-what { grid-column: 8 / -1; }
.rb-dw { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gut); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.rb-sheet { position: relative; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink); padding: 12px; }
.rb-cap .lab { color: var(--red); margin-bottom: 10px; }
.rb-cap .revt { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.rb-foot { margin-top: clamp(40px, 5vw, 64px); align-items: start; row-gap: 28px; }
.rb-ph { grid-column: 1 / span 5; }
.rb-foot .sg-mini { grid-column: 7 / -1; margin-top: 0; }
@media (max-width: 1099px) { .rb-h, .rb-head .mg-what, .rb-ph, .rb-foot .sg-mini { grid-column: 1 / -1; } .rb-dw { grid-template-columns: 1fr; } }
.bslip, .hrec { padding: clamp(96px, 11vw, 176px) var(--m); scroll-margin-top: var(--hd); }
.bslip > .g, .hrec > .g { align-items: start; row-gap: 36px; }
.bsl-tx, .hr-tx { grid-column: 1 / -1; display: grid; gap: 20px; }
.bsl-tx .lab, .hr-tx .lab { color: var(--red); }
.bsl-tx .mg-what, .hr-tx .mg-what { max-width: 40em; }
.bsl-ph, .hr-ph { grid-column: 1 / span 6; }
.bslip .slip, .hr-sheet { grid-column: 8 / -1; }
.hr-sheet { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink); padding: 20px 22px 18px; }
.hr-t { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hr-t thead th { padding: 10px 12px 8px 0; text-align: left; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); border-bottom: 1px solid var(--rule-ink); }
.hr-t tbody th, .hr-t td { padding: 11px 12px 11px 0; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.45; border-bottom: 1px solid var(--rule-ink); }
.hr-t tbody th { font-weight: 560; width: 46%; }
.hr-visit { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--graphite); }
.hr-visit b { color: var(--ink); }
@media (max-width: 1099px) { .bsl-ph, .hr-ph, .bslip .slip, .hr-sheet { grid-column: 1 / -1; } }

/* plan stations: real buttons where a pointer can aim at them; the station list serves touch and keyboards */
button.pst { padding: 0; border: 0; background: none; font: inherit; color: inherit; }
@media (max-width: 1099px), (pointer: coarse) { .pst { pointer-events: none; cursor: default; } }

/* phones: technical drawings as a whole-sheet overview, with a full-screen view to read them closer */
@media (max-width: 719px) {
  .sec-dw { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sec-dw .dwg, .co-dw .dwg { width: 100%; }
  .co-dw { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sec-dw .key, .co-dw .key, .rb-sheet .key { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 11px; }
  .kp-dlg-plan { place-items: start; }
}
.dlg-hint { display: none; margin-top: 4px; font-size: 16px; color: var(--graphite); }
@media (max-width: 899px) { .dlg-hint { display: block; } }

/* the finish sheet on phones: one finish at a time, its cleaning, water and repair read together */
@media (max-width: 719px) {
  .fsheet-w { overflow: visible; }
  .fsheet, .fsheet tbody, .fsheet tr, .fsheet th, .fsheet td { display: block; width: auto; }
  .fsheet { min-width: 0 !important; }
  .fsheet thead { display: none; }
  .fsheet tr { padding: 16px 0 10px; border-bottom: 1.5px solid var(--ink); }
  .fsheet tbody th { padding: 0 0 8px; border: 0; font: 560 20px/1.2 var(--sans); }
  .fsheet td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule-ink); }
  .fsheet td:last-child { border-bottom: 0; }
  .fsheet td::before { content: attr(data-label); font: 500 12px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lead); }
}

/* the brief: what is inside it, what goes separately */
.incl { display: grid; gap: 6px; margin-top: 18px; padding: 14px 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule-ink); font-size: 16px; line-height: 1.5; }
.incl b { font-weight: 600; }
.incl:empty { display: none; }
.acts-b { margin-top: 12px; }

/* reduced motion: the scene's three buttons select static states */
.still .scene .mo, .no-js .scene .mo { display: none; }
.still .caps > div { display: none; }
.still .caps > div.on { display: block; }
.still .scene[data-view="draw"] .scene-draw .ik { opacity: 1; }
.still .scene[data-view="draw"] .hots, .still .scene[data-view="room"] .hots { visibility: hidden; }
/* the dry fit sits on bone, so its finish swatch takes the light-ground colors */
.dryfit .mk-fin { border-top-color: var(--rule-ink); }
.dryfit .mk-fin figcaption { color: var(--graphite); }
.dryfit .mk-fin figcaption b { color: var(--ink); }
.dryfit .mk-fin figcaption .fig { color: var(--lead); }
.dryfit .mk-fin .tlink { color: var(--ink); }
/* reduced motion and no script: the scene is static, so its frame sizes to its content (no size containment) */
.still .scene-frame, .no-js .scene-frame { container-type: normal; }
.still .scene-art, .no-js .scene-art { width: 100%; }
