/* Archivo, self-hosted (SIL Open Font License, see fonts/OFL.txt) */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-italic.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

/* Hannes Latour. Quiet white pages, one family, short and subtle motion. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --tint: #F3F3F1;
  --ink: #111111;
  --ink-2: #6B6B6B;
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Archivo", "Arial Narrow", sans-serif;
  --side: max(24px, env(safe-area-inset-left, 0px));
  --side-r: max(24px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.25, .6, .2, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--bg); }
.skip { position: absolute; left: var(--side); top: -60px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
.pad { padding-left: var(--side); padding-right: var(--side-r); }

/* Small text links: underline slides in */
.tl { position: relative; display: inline-block; padding-block: 4px; }
.tl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.tl:hover::after, .tl:focus-visible::after, .tl[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* Corner bar shared by all pages */
.corner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 28px; font-size: 16px; }
.corner .name { font-weight: 600; }

/* ---------- Home ---------- */
.home { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); }
.home > * { min-width: 0; }
.home .corner { align-items: flex-start; }
.intro { max-width: 30ch; font-size: clamp(22px, 2.05vw, 30px); line-height: 1.28; letter-spacing: -0.01em; font-weight: 400; }
.intro strong { font-weight: 600; }
.intro .sub { display: block; margin-top: .9em; font-size: 17px; line-height: 1.5; color: var(--ink-2); letter-spacing: 0; max-width: 38ch; }
.rot { display: grid; }
.rot > span { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rot > span[aria-hidden="true"] { opacity: 0; transform: translateY(.35em); }
.rot > span.out { opacity: 0; transform: translateY(-.35em); }
.about-link { font-size: 16px; }

.strip-wrap { padding-bottom: 28px; }
.strip { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 0 0 30px; margin: 0; list-style: none; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: 1 0 0; min-width: 240px; scroll-snap-align: start; }
.thumb { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; }
.thumb .frame { position: absolute; inset: 0; overflow: hidden; background: var(--tint); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s var(--ease); }
.thumb .label { position: absolute; left: 10px; top: calc(100% + 8px); font-size: 13px; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.thumb .label span { color: var(--ink-2); }
a.thumb:hover img, a.thumb:focus-visible img { transform: scale(1.06); }
.thumb:hover .label, .thumb:focus-visible .label { opacity: 1; transform: none; }
.thumb.soon { cursor: default; }
.thumb.soon img { filter: grayscale(.35); }
.strip:hover .thumb:not(:hover) img { filter: grayscale(.6) opacity(.75); }
@media (hover: none) { .thumb .label { opacity: 1; transform: none; } }

/* ---------- Inner pages ---------- */
.inner .corner { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-bottom: 18px; padding-top: max(28px, env(safe-area-inset-top, 0px)); }
.page { max-width: 1280px; margin: 0 auto; }
.block { margin-top: clamp(96px, 12vw, 180px); }
.block:first-child { margin-top: clamp(56px, 8vw, 120px); }
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.two > *, .three > * { min-width: 0; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 820px) { .two, .three { grid-template-columns: 1fr; } }
.h-l { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.h-m { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.015em; }
.h-s { font-size: 17px; font-weight: 600; }
.lede { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; max-width: 40ch; }
.body { display: grid; gap: 1em; max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; font-size: 15px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.fig { margin: 0; background: var(--tint); overflow: hidden; }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.cap { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* About */
.portrait { width: min(100%, 280px); aspect-ratio: 3 / 4; }
.portrait img { filter: grayscale(1); }
.cv { display: grid; gap: 40px; }
.cv dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px 20px; margin: 10px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.cv dt { color: var(--ink-2); }
.cv dd { margin: 0; }
.contact { min-height: 70vh; display: grid; align-content: end; padding-bottom: 40px; }
.contact .big { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.025em; word-break: break-word; }
.copy { font: 500 14px var(--f); background: var(--ink); color: var(--bg); border: 0; padding: 9px 14px; cursor: pointer; transition: transform .15s var(--ease), opacity .2s; touch-action: manipulation; }
.copy:hover { opacity: .85; }
.copy:active { transform: scale(.96); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; font-size: 14px; color: var(--ink-2); }

/* Project page */
.ph-hero { margin-top: clamp(40px, 6vw, 96px); }
.ph-hero .fig { aspect-ratio: 16 / 9; }
.jump { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.jump .arr { display: inline-block; transition: transform .3s var(--ease); }
.jump:hover .arr { transform: translateY(3px); }
.jump.up:hover .arr { transform: translateY(-3px); }
.chapter { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-top: 28px; background: var(--tint); margin-left: calc(-1 * var(--side)); margin-right: calc(-1 * var(--side-r)); padding-left: var(--side); padding-right: var(--side-r); padding-bottom: 28px; }
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.chain li { display: grid; gap: 10px; align-content: start; }
.chain .q { font-size: 14px; color: var(--ink-2); }
.chain ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
@media (max-width: 820px) { .chain { grid-template-columns: 1fr; } }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.tools .fig { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; font-size: 15px; }
.pc h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.pc ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 820px) { .tools { grid-template-columns: 1fr; } }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
.quotes blockquote { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; letter-spacing: -0.01em; }
.quotes figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.goal { font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.02em; max-width: 26ch; }
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry .fig { break-inside: avoid; margin-bottom: 14px; }
.masonry .fig img { height: auto; }
.wide2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: start; }
@media (max-width: 820px) { .wide2 { grid-template-columns: 1fr; } }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 40px; }

/* Reveal: visible by default; only hidden once JS has armed it */
.js [data-rise] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-rise].in { opacity: 1; transform: none; }
.home-in { animation: fadeup .8s var(--ease) both; }
.strip li { animation: fadeup .7s var(--ease) both; animation-delay: calc(250ms + var(--n, 0) * 70ms); }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .home-in, .strip li { animation: none; }
  .thumb img, .rot > span, .tl::after, .jump .arr { transition: none; }
}

/* ---------- Project sheet: mirrors the PDF spreads ---------- */
.sheet { --rule: #D9D9D9; --grey: #8A8A8A; }
.spread { display: grid; grid-template-columns: minmax(0, 18fr) minmax(0, 64fr) minmax(0, 18fr); border-top: 1px solid var(--rule); min-height: min(100vh, 1000px); }
.spread > * { min-width: 0; }
.spread .l, .spread .r { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-block: 28px 40px; }
.spread .l { padding-right: clamp(16px, 2vw, 32px); border-right: 1px solid var(--rule); }
.spread .r { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); text-align: left; }
.spread .m { padding: clamp(28px, 3vw, 48px) clamp(16px, 2.2vw, 36px) 40px; display: grid; gap: 14px; align-content: start; }
.meta { font-size: 13px; line-height: 1.45; letter-spacing: .04em; text-transform: uppercase; color: var(--grey); }
.meta b { color: var(--ink); font-weight: 500; }
.chap { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); text-align: right; }
.stext { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: .9em; font-size: 15px; line-height: 1.5; color: #3A3A3A; hyphens: auto; }
.stext h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.stext u, .pq u { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pq { margin: 0; text-align: center; font-style: italic; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; color: var(--ink); }
.pq cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--grey); }
.g { display: grid; gap: 14px; }
.g .fig { background: none; }
.g .fig img { height: 100%; }
.cover { grid-template-columns: minmax(0, 18fr) minmax(0, 82fr); }
.cover .num { font-size: clamp(80px, 9vw, 150px); font-weight: 300; line-height: .85; color: var(--grey); text-align: right; letter-spacing: -0.03em; }
.cover .ttl { font-size: clamp(80px, 9vw, 150px); font-weight: 400; line-height: .85; letter-spacing: -0.03em; }
.cover .sub2 { font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: #444; margin-top: 10px; }
.cover .l { justify-content: flex-end; text-align: right; }
.cover .m { align-content: end; padding-top: 18vh; }
.interviews { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 18px 24px; align-items: center; }
.interviews .pq { text-align: left; }
.who { font-size: 14px; line-height: 1.4; }
.who b { font-weight: 600; display: block; }
.who span { color: var(--grey); }
@media (max-width: 900px) {
  .spread, .cover { grid-template-columns: 1fr; min-height: 0; }
  .spread .l, .spread .r { border: 0; padding-right: 0; padding-left: 0; padding-block: 20px; }
  .spread .r { order: -1; padding-bottom: 0; }
  .spread .l { order: 2; }
  .spread .m { padding-inline: 0; }
  .chap { text-align: left; }
  .cover .l { text-align: left; order: 0; }
  .cover .num { text-align: left; }
  .cover .m { padding-top: 0; }
  .interviews { grid-template-columns: 1fr 96px; }
}
@media (max-width: 900px) {
  .sheet .g { grid-template-columns: 1fr 1fr !important; }
  .sheet .g > * { grid-row: auto !important; grid-column: auto !important; width: auto !important; margin: 0 !important; }
  .sheet .interviews .g { grid-template-columns: 1fr !important; grid-column: 1 / -1; }
  .sheet .m > .fig { width: 100% !important; margin: 0 !important; }
}

/* ---------- Project page, koe-style rows ---------- */
.pj main { padding-bottom: 40px; }
.pj-hero { margin: 0 calc(-1 * var(--side-r)) 0 calc(-1 * var(--side)); height: 86vh; min-height: 420px; overflow: hidden; background: var(--tint); position: relative; }
.pj-hero img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
.pj-hero .down { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.pj-hero .down svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.r12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(16px, 2vw, 28px); align-items: start; }
.r12 > * { min-width: 0; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: 1 / -1; }
.o1 { grid-column-start: 2; } .push { margin-left: auto; }
.sec { margin-top: clamp(80px, 10vw, 160px); }
.sec-s { margin-top: clamp(16px, 2vw, 28px); }
.lbl { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.pj h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.pj .tag { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); margin-top: 10px; }
.txt { display: grid; gap: 1em; font-size: 17px; line-height: 1.6; max-width: 60ch; }
.txt h3 { font-size: 17px; font-weight: 600; }
.txt u, .bq u { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bq { margin: 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; }
.bq.sm { font-size: clamp(18px, 1.5vw, 21px); }
.bq cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--ink-2); letter-spacing: 0; }
.center { text-align: center; margin-inline: auto; }
.im { margin: 0; overflow: hidden; background: var(--tint); }
.im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.im.white { background: #fff; }
.im.white img { object-fit: contain; }
.a43 { aspect-ratio: 4 / 3; } .a34 { aspect-ratio: 3 / 4; } .a11 { aspect-ratio: 1 / 1; } .a169 { aspect-ratio: 16 / 9; } .a23 { aspect-ratio: 2 / 3; } .a21 { aspect-ratio: 2 / 1; }
.meta2 { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.meta2 b { color: var(--ink); font-weight: 500; }
.partners { display: grid; gap: 22px; font-size: 15px; }
.partners b { display: block; font-weight: 600; }
.partners span { color: var(--ink-2); }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
@media (max-width: 860px) {
  .r12 > * { grid-column: 1 / -1 !important; }
  .r12 > .keep2 { grid-column: span 6 !important; }
  .five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pj-hero { height: 62vh; }
}
/* Header hides on scroll down, returns on scroll up */
.inner .corner { transition: transform .25s var(--ease); }
.inner .corner.hide { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .pj-hero img, .pj-hero .down svg { animation: none; } .inner .corner { transition: none; } }

/* Cover like the PDF: title left, big image right */
html, body { overflow-x: clip; }
.pj-cover { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: end; min-height: calc(100vh - 80px); padding-block: 24px 40px; }
.cv-text { display: grid; gap: 14px; align-content: end; padding-bottom: 8px; }
.cv-num { font-size: clamp(56px, 7vw, 120px); font-weight: 300; line-height: .85; color: #A3A3A3; letter-spacing: -0.03em; }
.cv-title { font-size: clamp(80px, 11vw, 190px) !important; font-weight: 400 !important; line-height: .82 !important; letter-spacing: -0.04em !important; }
.cv-sub { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #444; }
.cv-meta { margin-top: clamp(24px, 4vw, 64px); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #8A8A8A; line-height: 1.5; }
.cv-img { margin: 0; height: min(calc(100vh - 140px), 900px); background: #F4F3F1; overflow: hidden; }
.cv-img img { width: 100%; height: 100%; object-fit: contain; animation: settle 1.4s var(--ease) both; }
@media (max-width: 860px) {
  .pj-cover { grid-template-columns: 1fr; min-height: 0; }
  .cv-img { height: 70vh; order: 2; }
}

/* Quotes run in from the left and leave to the right while scrolling */
.quotes-run { display: grid; gap: clamp(56px, 8vw, 120px); }
.quotes-run .bq, .pj .bq { max-width: 30ch; will-change: transform, opacity; }
.pj .bq { margin-left: auto; margin-right: auto; text-align: left; }
@media (prefers-reduced-motion: reduce) { .pj .bq { transform: none !important; opacity: 1 !important; } }

/* Justified text, balanced columns of equal height */
.pj .txt p, .pj .muted.small { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.cols { display: block; column-gap: clamp(20px, 2.4vw, 40px); column-fill: balance; max-width: none; }
.cols p { margin: 0 0 1em; break-inside: auto; }
.cols3 { columns: 3; }
.cols2 { columns: 2; }
@media (max-width: 860px) { .cols3, .cols2 { columns: 1; } }

/* Studio: text travels down with the image column */
.stackimgs { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.stick { position: sticky; top: clamp(80px, 12vh, 140px); }
@media (max-width: 860px) { .stick { position: static; } }

/* Quotes: one smooth slide-in from the left, then they stay */
.pj .bq { opacity: 1; transform: none; }

.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.figcap { margin-top: 10px; }
.pj .bq { max-width: 34ch; }

/* Quotes: centred, with real distance to the images around them */
.pj .bq { text-align: center; }
.pj .bq.sec { margin-top: clamp(32px, 3.5vw, 56px); margin-bottom: clamp(16px, 2vw, 32px); }
.quotes-run .bq { margin-inline: auto; }


/* Exploded view: parts fly in from the right while scrolling */
.explode { position: relative; margin: 0; aspect-ratio: 1417 / 638; }
.explode img { position: absolute; height: auto; will-change: transform, opacity; }
.flushtop > :first-child { margin-top: -0.35em; }

/* ---------- Shared pieces for all project pages ---------- */
.six { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.six .im { aspect-ratio: 4 / 3; }
.g3, .three-i { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.g3 .im { aspect-ratio: 4 / 3; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fa { overflow-x: auto; }
.fa table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.fa caption { text-align: left; font-weight: 600; font-size: 17px; padding-bottom: 14px; }
.fa caption span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.fa th, .fa td { text-align: left; vertical-align: top; padding: 9px 14px 9px 0; border-bottom: 1px solid #ECECEA; }
.fa thead th { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.fa tbody th { font-weight: 400; }
.fa td:nth-child(2) { color: var(--ink-2); font-variant-numeric: tabular-nums; width: 3em; }
.fa .fa-cat th { padding-top: 22px; font-weight: 600; border-bottom-color: #D5D5D3; }
.partlist { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.6em; font-size: 16px; font-variant-numeric: tabular-nums; }
.partlist li { padding-block: 3px; break-inside: avoid; }
.partlist li::marker { color: var(--ink-2); }
.cfig { margin: 0; }
.stats { display: grid; gap: clamp(36px, 5vw, 72px); align-content: space-between; }
.stats p { margin: 0; max-width: 38ch; }
.big-n { font-size: clamp(56px, 6.6vw, 104px) !important; line-height: .95; letter-spacing: -0.035em; font-weight: 600; margin-bottom: 12px !important; }
.src { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 2em 1fr; font-size: 17px; line-height: 1.5; }
.steps li::before { content: counter(st); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.legend { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.legend li::before { content: "— "; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 28px 40px; align-items: center; font-size: 16px; text-align: center; position: relative; }
.flow li { background: var(--tint); padding: 18px 16px; }
.flow .f-a { grid-column: 1; grid-row: 2; }
.flow .f-b { grid-column: 2; grid-row: 1; }
.flow .f-c { grid-column: 2; grid-row: 2; }
.flow .f-d { grid-column: 2; grid-row: 3; }
.flow .f-a::after { content: "→"; position: absolute; margin-left: 22px; color: var(--ink-2); }
.flow .f-b::after { content: "↺"; display: block; color: var(--ink-2); margin-top: 6px; font-size: 14px; }
.flow .f-c::after { content: "↓"; display: block; color: var(--ink-2); margin-top: 6px; }
.cv-title.long { font-size: clamp(52px, 6.2vw, 112px) !important; }
@media (max-width: 860px) {
  .six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partlist { columns: 1; }
  .flow { grid-template-columns: 1fr; }
  .flow li { grid-column: 1 !important; grid-row: auto !important; }
  .flow .f-a::after { content: none; }
}

/* Blocks that should fit one screen together */
.im.short { aspect-ratio: auto; height: min(46vh, 460px); }
.im.short-l { aspect-ratio: auto; height: min(54vh, 520px); }
.im.white.short img { object-fit: contain; }
@media (max-width: 860px) { .im.short, .im.short-l { height: auto; aspect-ratio: 4 / 3; } }

/* Section labels: caps, aligned with the cover meta at the page edge */
.pj main { container-type: inline-size; }
.pj .lbl { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A8A; margin-left: 0; margin-bottom: 18px; }
/* Cover: optical left edge of the big title, block sits on the image's bottom edge */
.cv-title { margin-left: -0.055em !important; }
.cv-text { padding-bottom: 0; gap: 12px; }
.cv-meta { margin-bottom: -0.3em; }

/* Section titles: rotated 90°, in the left screen margin, ending at the top edge of the section's first image */
@media (min-width: 861px) {
  .pj main { padding-left: max(64px, env(safe-area-inset-left, 0px)); }
  .pj main > .page > section { position: relative; }
  .pj .lbl {
    position: absolute; top: 0; margin: 0 !important;
    left: calc(-1 * max(0px, (100cqw - 1280px) / 2) - 40px);
    writing-mode: vertical-rl; transform: rotate(180deg) !important; transition: opacity .5s var(--ease) !important;
    white-space: nowrap; line-height: 1;
  }
}
/* Cover title in the condensed light cut, like the PDF */
.cv-title { font-family: var(--f-cond) !important; font-weight: 300 !important; letter-spacing: -0.01em !important; }
.cv-title { font-stretch: 72%; font-variation-settings: "wdth" 72; }
.cv-title { font-weight: 100 !important; }

/* Jump to final design: fixed bottom-right on project pages */
.to-final {
  position: fixed; z-index: 6;
  right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--ink); color: var(--bg);
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.to-final svg { transition: transform .3s var(--ease); }
.to-final:hover svg, .to-final:focus-visible svg { transform: translateY(3px); }
.to-final.gone { opacity: 0; transform: translateY(12px); pointer-events: none; }
.to-final:focus-visible { outline-color: var(--ink); }
#final { scroll-margin-top: 24px; }
@media (max-width: 600px) { .to-final span { display: none; } .to-final { padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .to-final, .to-final svg { transition: none; } }
.to-final { background: rgba(230, 230, 228, .55); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.to-final:hover { background: rgba(215, 215, 213, .75); }
.to-final { padding: 6px 14px; gap: 8px; } .to-final svg { width: 11px; height: 14px; }
/* About: tiny endless photo band, drifting left to right */
.life { overflow: hidden; margin-top: clamp(64px, 10vh, 120px); }
.life-track { display: flex; gap: 8px; padding-right: 8px; width: max-content; animation: life-drift 200s linear infinite; }
.life img { height: 150px; width: auto; display: block; }
@keyframes life-drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.life:hover .life-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .life-track { animation: none; } }

/* Project navigation: prev/next pinned to the left and right page edges (same edges as header and footer) */
.pj .next { margin-left: calc(-1 * max(0px, (100cqw - 1280px) / 2)); margin-right: calc(-1 * max(0px, (100cqw - 1280px) / 2)); }
@media (min-width: 861px) {
  .pj .next { margin-left: calc(-1 * max(0px, (100cqw - 1280px) / 2) - 40px); }
}
/* Cover subtitle and meta: a touch narrower and tighter so the caps don't read as stretched */
.cv-sub, .cv-meta { font-stretch: 85%; font-variation-settings: "wdth" 85; letter-spacing: .02em; }
/* MOD: process collage, loosely composed on a 12-column grid with the morph video in the middle */
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(34px, 4.4vw, 68px); gap: clamp(10px, 1.2vw, 18px); }
.collage .im { height: 100%; }
.collage .im video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .collage > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1; }
  .collage > .cl-vid { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
}
/* Hanging headings: body text starts flush with the image top, the heading sits above it */
.sec-h { margin-top: clamp(64px, 7vw, 112px); }
@media (min-width: 861px) {
  .hang { position: relative; }
  .hang > h3:first-child { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0 0 .6em; }
  .hang > h3:first-child + p, .r12 > .txt:not(.hang) > p:first-child { margin-top: -0.35em; }
  .stick.hang { top: clamp(120px, 16vh, 180px); }
}
/* Collage runs the full screen width, aligned with header and footer edges */
.collage-wrap { container-type: inline-size; margin-left: calc(-1 * max(0px, (100cqw - 1280px) / 2)); margin-right: calc(-1 * max(0px, (100cqw - 1280px) / 2)); }
@media (min-width: 861px) { .collage-wrap { margin-left: calc(-1 * max(0px, (100cqw - 1280px) / 2) - 40px); } }
.collage-wrap .collage { grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 10px; grid-auto-rows: calc((100cqw - 230px) / 24 * 0.75); }
/* Sticky text with hanging heading must stay sticky */
.stick.hang { position: sticky; }
/* Parts list with right-aligned numbers and more space before the text */
.pl-num { list-style: none; padding-left: 0; columns: 1; counter-reset: pl; }
.pl-num li { counter-increment: pl; display: grid; grid-template-columns: 2ch 1fr; column-gap: 1.1em; }
.pl-num li::before { content: counter(pl); text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* Sound toggle on the product film */
.vfig { position: relative; }
.snd { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; font: inherit; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.14); border: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.snd:hover { background: rgba(255,255,255,.26); }
.snd:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* MOD concept line drawings: a small row, not full images */
.concepts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); align-self: start; max-width: 620px; }
.concepts .im { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .concepts { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
/* Homepage subline on one line (wide screens) */
@media (min-width: 760px) { .intro .sub { max-width: none; white-space: nowrap; } }
/* Full-bleed figure, edge to edge of the screen */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.bleed .im { background: #fff; }
.bleed img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 861px) { .bleed { margin-left: calc(50% - 50vw - 20px); } }
@media (min-width: 861px) { .bleed { padding-left: 64px; padding-right: 64px; box-sizing: border-box; } }
/* MOD parts list, laid out like the presentation slide: large render, list bottom right */
.parts { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 1fr); column-gap: clamp(20px, 2.4vw, 40px); align-items: end; }
.parts .im img { display: block; height: auto; }
.parts-list { font-size: 13px; line-height: 1.45; }
.parts-list h3 { font-size: 13px; font-weight: 600; margin: 0; }
.parts-list > p { margin: 0 0 1.1em; color: var(--ink-2); }
.parts-list ol { list-style: none; margin: 0; padding: 0; }
.parts-list li { display: grid; grid-template-columns: 2.2em 1fr; }
.parts-list li span { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; row-gap: 20px; } }
@media (min-width: 861px) { .parts { grid-template-columns: minmax(0, 1fr) auto; } .parts-list li { white-space: nowrap; } }
/* Concept drawings: 2 x 2, the fifth (ear device) large below */
.concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.concepts .im:nth-child(5) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.concepts { max-width: 78%; margin-left: auto; column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(28px, 3.5vw, 56px); }
.concepts .im:nth-child(5) { width: 70%; justify-self: center; }
@media (max-width: 860px) { .concepts { max-width: none; } .concepts .im:nth-child(5) { width: 100%; } }
.concepts { max-width: none; margin-left: 0; grid-template-columns: 36% 36%; justify-content: space-between; }
.concepts .im:nth-child(5) { width: 50%; }
@media (max-width: 860px) { .concepts { grid-template-columns: 1fr 1fr; } .concepts .im:nth-child(5) { width: 100%; } }
/* MOD cover: wordmark from the documentation instead of set type */
.cv-logo { line-height: 0 !important; margin-left: 0 !important; }
.cv-logo img { height: clamp(52px, 7.4vw, 128px); width: auto; display: block; }
/* Lightbox */
.pj main figure img.zoomable { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; transition: opacity .25s var(--ease); cursor: zoom-out; }
.lb.on { opacity: 1; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lb img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.18); transform: scale(.97); transition: transform .3s var(--ease); }
.lb.on img { transform: none; }
.lb figcaption { font-size: 13px; color: var(--ink-2); text-align: center; max-width: 70ch; }
.lb-x { position: fixed; top: 20px; right: 24px; border: 0; background: none; font: inherit; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
html.lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lb, .lb img { transition: none; } }
.pj main figure img.zoomable, .lb { cursor: default; }
/* Fullscreen button on videos, shown on hover */
.fs { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font: inherit; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.28); border: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transition: opacity .25s var(--ease); }
.vfig:hover .fs, .fs:focus-visible { opacity: 1; }
@media (hover: none) { .fs { opacity: 1; } }
.fs:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vcover { position: absolute; inset: 0; z-index: 1; }
.snd, .fs { z-index: 2; }
/* Collage: show every image whole, no cropping */
.collage .im { background: transparent; }
.collage .im img { object-fit: contain; }
/* About: lead line in one row, thin start, rotating ending like the homepage */
.lede-rot { max-width: none; }
.lede-rot .thin { font-weight: 200; }
.lede-rot .rot { display: inline-grid; vertical-align: top; justify-items: start; }
@media (min-width: 861px) { .lede-rot { white-space: nowrap; } }
@media (min-width: 861px) { .lede-rot { font-size: min(1.42vw, 22px); } }
/* About intro: a bit more air between headline, lead line and body text */
.body > .lede-rot { margin-top: clamp(10px, 1.2vw, 18px); margin-bottom: clamp(10px, 1.2vw, 18px); }
/* Contact: smaller address, light-grey copy buttons like the Final design button */
.contact-line { display: flex; align-items: center; gap: 14px; font-size: clamp(18px, 1.6vw, 22px); }
.contact .copy { padding: 5px 12px; font: inherit; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: rgba(230,230,228,.55); border: 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; }
.contact .copy:hover { background: rgba(215,215,213,.75); }
/* Copy option only appears on hover */
.contact .copy { opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.contact-line:hover .copy, .contact-line:focus-within .copy { opacity: 1; pointer-events: auto; }
@media (hover: none) { .contact .copy { opacity: 1; pointer-events: auto; } }

/* Homepage intro: three fixed rows on desktop */
.br-d { display: none; }
@media (min-width: 760px) {
  .br-d { display: inline; }
  .intro { max-width: none; }
  .intro h1 { white-space: nowrap; }
  .intro h1 .rot { display: inline-grid; vertical-align: top; justify-items: start; }
}

.intro .rot { font-weight: 600; }

/* Locked (unfinished) projects: card flips on click */
.thumb.locked { cursor: pointer; perspective: 1400px; }
.thumb.locked .frame { overflow: visible; background: none; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.thumb.locked.flipped .frame { transform: rotateY(180deg); }
.thumb.locked .frame img, .thumb.locked .back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
a.thumb.locked:hover img, a.thumb.locked:focus-visible img { transform: none; }
.thumb.locked .back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--tint); color: var(--ink); font-size: 15px; line-height: 1.4; }
.thumb.locked:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .thumb.locked .frame { transition: none; } }


/* Legal notice */
.foot-legal { display: inline-flex; gap: 18px; }
.home-legal { display: flex; justify-content: flex-end; gap: 18px; margin: 0; font-size: 13px; color: var(--ink-2); }
.legal { max-width: 68ch; margin-bottom: clamp(72px, 8vw, 120px); }
.legal h1 { margin: 0 0 8px; }
.legal h1 + .muted { margin: 0 0 clamp(32px, 4vw, 56px); }
.legal h2 { font-size: 17px; font-weight: 600; margin: 40px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal address { font-style: normal; margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; margin: 0 0 12px; }
.legal li { margin: 0 0 4px; }
.home-legal { justify-content: space-between; align-items: center; }

/* SOLUM project page */
.s-big { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 500; margin: 0; }
.facts { margin-top: clamp(40px, 5vw, 80px); }
.facts .fact { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.versus .im { margin-bottom: clamp(16px, 2vw, 28px); }
.versus .im img, .proc .im img, .pstack .im img, .anatomy .im img { height: auto; }
.im.tall { aspect-ratio: 1100 / 2240; }
.anatomy { align-items: stretch; }
.anat-col { display: grid; align-content: space-between; gap: clamp(40px, 5vw, 80px); }
.anat-img { display: flex; justify-content: center; }
.anat-img img { width: auto !important; max-width: 100%; max-height: 92vh; height: auto; }
.mech { display: grid; grid-template-columns: minmax(70px, 30%) 1fr; gap: clamp(14px, 1.6vw, 24px); align-items: center; }
.mech .im img { max-height: 200px; width: auto; margin: 0 auto; display: block; }
.pstack { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.pg2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: center; }
.expo-side { display: grid; align-content: space-between; gap: 32px; }
.three-cap .txt h3 { margin-bottom: 6px; }
@media (max-width: 860px) {
  .pg2 { grid-template-columns: 1fr; }
  .im.tall { aspect-ratio: 3 / 4; }
  .anat-img img { max-height: 70vh; }
}
.pg12 { grid-template-columns: 1fr 2fr; }
@media (max-width: 860px) { .pg12 { grid-template-columns: 1fr; } }
/* Homepage strip: portrait thumbnails, all projects in one row on wide screens */
.thumb { aspect-ratio: 3 / 4; }
.strip li { min-width: 170px; }
@media (min-width: 1000px) { .strip li { min-width: 0; } }
@media (max-width: 860px) { .pg12 > .im:first-child img { max-width: 60%; margin: 0 auto; display: block; } }
.thumb.locked .vx-back { flex-direction: column; gap: 16px; }
.vx-back img { width: 62% !important; max-width: 170px; height: auto !important; object-fit: contain; transform: none !important; filter: none !important; }

/* SOLUM v2 */
.cv-img.cv-narrow { width: auto; justify-self: end; }
@media (max-width: 860px) { .cv-img.cv-narrow { justify-self: stretch; width: 100%; aspect-ratio: auto !important; } }
.lede-s { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; letter-spacing: -0.005em; }
.facts-list { margin: 0; display: grid; gap: 4px; font-size: 15px; }
.facts-list dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8A8A8A; margin-top: 14px; }
.facts-list dt:first-child { margin-top: 0; }
.facts-list dd { margin: 0; line-height: 1.45; }
.bq.stmt { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.15; max-width: 24ch; text-align: center; }
.txt sup { font-size: .62em; line-height: 0; margin-left: 1px; }
.outcome .fact { color: #3a8a2e; }
.part { display: flex; align-items: baseline; gap: clamp(14px, 1.6vw, 24px); border-top: 1px solid #e3e3e3; padding-top: clamp(18px, 2vw, 28px); }
.part span { font-size: 14px; letter-spacing: .06em; color: #8A8A8A; }
.part h2 { margin: 0; font-size: clamp(34px, 4.2vw, 68px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; font-stretch: 85%; font-variation-settings: "wdth" 85; }
.part + .sec-s { margin-top: clamp(40px, 5vw, 80px); }
.field .im img { height: auto; }
.mason { columns: 4 240px; column-gap: 12px; }
.mason .im { break-inside: avoid; margin: 0 0 12px; }
.mason .im img { height: auto; display: block; }
.collage-wrap .mason { padding: 0 2px; }
.steps { padding-top: 8px; }
.steps img { height: auto; }
.steps-cap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; text-align: center; }
.iso3 .im { margin-bottom: 18px; }
.iso3 .im img, .g2 > .im img { height: auto; display: block; }
.c8.g2 { align-items: start; }
.anat-sec { margin-top: clamp(120px, 14vw, 220px); }
.anat { display: grid; grid-template-columns: 1fr minmax(260px, 30%) 1fr; gap: clamp(20px, 3vw, 56px); }
.anat-img { background: #fff; }
.anat-img img { width: 100%; height: auto; display: block; }
.anat-side { position: relative; }
.anat-h { position: sticky; top: 90px; font-size: 13px !important; letter-spacing: .06em; text-transform: uppercase; color: #8A8A8A; font-weight: 400 !important; margin: 0; }
.anat-side.right .anat-h { text-align: left; }
.lab { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; will-change: transform, opacity; }
.anat-side.left .lab { grid-template-columns: 1fr 84px; }
.anat-side.left .lab > .im { order: 2; }
.lab > .im img { height: auto; max-height: 170px; width: auto; max-width: 100%; display: block; margin: 0 auto; }
.lab .txt h3 { margin-bottom: 6px; }
.lab .drill2 { margin-top: 14px; }
.lab .drill2 img { max-height: none; width: 100%; height: auto; }
.sources ol { padding-left: 1.2em; margin: 0; display: grid; gap: 6px; max-width: 90ch; }
@media (max-width: 860px) {
  .anat { grid-template-columns: 1fr; }
  .anat-img { order: -1; max-width: 70%; margin: 0 auto; }
  .anat-side { display: grid; gap: 36px; margin-top: 32px; }
  .lab { position: static; transform: none !important; opacity: 1 !important; }
  .anat-h { position: static; }
  .steps-cap { grid-template-columns: 1fr; text-align: left; }
  .mason { columns: 2; }
}
.mason { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.mcol { display: grid; gap: 12px; }
.mason .im { margin: 0; }
.anat { grid-template-columns: 1fr minmax(300px, 34%) 1fr; }
@media (max-width: 860px) { .mason { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.anat { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.anat-img { height: clamp(1500px, 230vh, 2400px); }
.anat-img img { height: 100%; width: auto; margin: 0 auto; }
.anat-h { z-index: 2; background: #fff; padding: 4px 0; }
@media (max-width: 860px) { .anat-img { height: auto; } .anat-img img { height: auto; width: 100%; } }
.anat-img { --ah: clamp(1500px, 230vh, 2400px); height: var(--ah); width: calc(var(--ah) * 891 / 2400); }
.anat-img img { width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; }
@media (max-width: 860px) { .anat-img { width: 70%; height: auto; } .anat-img img { height: auto !important; } }
.anat-img { --ah: clamp(1300px, 170vh, 1700px); }
.thumb.locked .vx-back { background: rgb(144, 0, 39); color: #fff; }
.vx-back img { filter: brightness(0) invert(1) !important; }
.anat-h { position: static !important; }
.vx-back img { width: 72% !important; max-width: 190px; }
@media (max-width: 860px) {
  .anat { grid-template-columns: minmax(0, 1fr); }
  .anat-img { order: -1; width: 60%; height: auto; margin: 0 auto; }
  .anat-side { display: grid; gap: 32px; margin-top: 28px; }
  .lab { position: static; }
}
.facts-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.facts-col .fact { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
@media (max-width: 1100px) { .facts-col { grid-template-columns: 1fr; } }
.src-s { font-size: 11px !important; line-height: 1.4; color: #9a9a9a; margin-top: 10px; text-align: left !important; hyphens: none; }
/* SOLUM anatomy: product spans nearly the full screen width, labels overlay the white space */
@media (min-width: 861px) {
  .anat { display: block; position: relative; width: 92vw; margin-left: calc(50% - 46vw); }
  .anat-img { width: 100% !important; height: auto !important; --ah: auto; }
  .anat-img img { width: 100% !important; height: auto !important; }
  .anat-side { position: absolute; top: 0; bottom: 0; width: 29%; }
  .anat-side.left { left: 0; }
  .anat-side.right { right: 0; }
  .anat-h { position: absolute !important; top: 0; }
  .lab { grid-template-columns: 96px 1fr; }
  .anat-side.left .lab { grid-template-columns: 1fr 96px; }
  .lab .txt p { font-size: 16px; }
}
@media (min-width: 861px) { .anat-img img { max-height: none !important; } .anat-img { display: block; } }
.lab, .anat-side.left .lab { grid-template-columns: 1fr !important; }
/* SOLUM process: sticky text left, collage right */
.proc2 { align-items: stretch; }
.pmason { display: grid; gap: 12px; align-items: start; }
.pm2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pmason .mcol { display: grid; gap: 12px; }
.pmason .im { margin: 0; }
.pmason .im img { height: auto; display: block; }
.pvid video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .pm3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cstock { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: end; margin-top: clamp(24px, 3vw, 48px); }
.cstock img { height: 90px; width: auto; max-width: 100%; display: block; margin-bottom: 14px; object-fit: contain; }
.cstock .cs-l { font-size: 13px; line-height: 1.3; color: var(--ink-2); margin: 0 0 4px; min-height: 2.6em; }
.cstock .cs-n { font-size: 22px; margin: 0; }
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px) clamp(16px, 2vw, 28px); }
.jgrid figure { margin: 0; }
.jgrid img { width: 100%; height: 170px; object-fit: contain; display: block; }
.jgrid figcaption { font-size: 13px; line-height: 1.35; margin-top: 10px; color: var(--ink-2); }
.jgrid figcaption span { color: #3a8a2e; margin-right: 4px; }
@media (max-width: 860px) { .cstock { grid-template-columns: repeat(3, 1fr); } .jgrid { grid-template-columns: repeat(2, 1fr); } }
.pm4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pm4 .mcol { gap: 8px; }
@media (max-width: 860px) { .pm4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pm5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pm5 .mcol { gap: 8px; }
@media (max-width: 860px) { .pm5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bq.stmt { font-size: clamp(24px, 2.5vw, 38px); max-width: 30ch; text-wrap: balance; }
.ugrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ugrid .im { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.ugrid .im img, .ugrid .im video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ugrid .im.white img { object-fit: contain; }
@media (max-width: 860px) { .ugrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sol-coll { grid-auto-flow: row dense; }
.sol-coll .cvid { background: transparent; }
.sol-coll .cvid video { object-fit: contain; }
@media (max-width: 860px) { .sol-coll > .cvid { aspect-ratio: 9 / 16; } }
.sol-wrap { container-type: inline-size; }
.sol-wrap .sol-coll { grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 10px; grid-auto-rows: calc((100cqw - 150px) / 16 * 0.75); }
.vs2 { row-gap: 56px; }
.vs-col { display: grid; align-content: start; gap: clamp(24px, 2.6vw, 40px); }
@media (min-width: 861px) { .vs-r { border-left: 1px dashed #c8c8c8; padding-left: clamp(24px, 3vw, 48px); } }
.vs-media { height: clamp(280px, 30vw, 460px); display: flex; align-items: center; justify-content: flex-start; }
.vs-media img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; }
.vs-col:first-child .vs-media img { max-width: 82%; }
.vs-draw img { width: 100%; max-width: 520px; height: auto; display: block; }
.vs-draw { height: clamp(150px, 15vw, 220px); }
.vs-draw img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
/* SOLUM then/now: scroll-driven flip card */
.vsx-switch { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; margin-bottom: clamp(16px, 2vw, 28px); }
.vsx-switch span { transition: color .4s; }
.vsx-switch span.on { color: var(--ink, #111); }
.vsx-switch .k1.on { color: #3a8a2e; }
.vsx-switch i { position: relative; width: 120px; height: 2px; background: #e2e2e2; display: block; }
.vsx-switch b { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #111; transform: translateX(var(--sx, 0px)); transition: background .4s; }
.vsx-switch.is-new b { background: #3a8a2e; }
.vsx-card { perspective: 2200px; }
.vsx-inner { position: relative; transform-style: preserve-3d; will-change: transform; }
.vsx-face { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.vsx-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.vsx-media { height: min(62vh, 620px); display: flex; align-items: center; justify-content: center; }
.vsx-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.vsx-front .vsx-media img { width: 100%; height: 100%; object-fit: cover; }
.vsx-body h3 { margin-bottom: 14px; }
.vsx-tag { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; font-weight: 200; letter-spacing: -.01em; margin: 0 0 clamp(16px, 2vw, 28px); color: #111; }
.vsx-tag.new { color: #3a8a2e; }
.vsx-draw { margin-top: clamp(18px, 2vw, 30px); }
.vsx-draw img { width: 100%; height: auto; display: block; }
@media (min-width: 861px) {
  .vsx-track { height: 240vh; }
  .vsx-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 860px) {
  .vsx-switch { display: none; }
  .vsx-face { grid-template-columns: 1fr; }
  .vsx-back { position: static; transform: none; margin-top: 64px; }
  .vsx-inner { transform: none !important; }
  .vsx-media { height: auto; }
  .vsx-back .vsx-media img { max-height: 70vh; }
}
@media (max-width: 860px) { .vsx-back .vsx-media img { max-width: 72%; } }
/* SOLUM system drawing: the key graphic, wide and prominent */
.sys { width: min(100vw - 48px, 1720px); margin-left: calc(50% - min(50vw - 24px, 860px)); margin-top: clamp(56px, 7vw, 120px); }
.sys-img { margin: 0; }
.sys-img img { width: 100%; height: auto; display: block; }
.sys-cap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); margin-top: clamp(24px, 3vw, 48px); padding: 0 4%; }
.sys-cap .txt p:last-child { max-width: 34ch; }
.sys-n { font-size: clamp(28px, 3vw, 44px); font-weight: 200; color: #3a8a2e; line-height: 1; margin: 0 0 12px; }
@media (max-width: 860px) { .sys { width: auto; margin-left: 0; } .sys-cap { grid-template-columns: 1fr; padding: 0; } }
.sys-cap { align-items: start; } .sys-cap .txt h3 { margin: 0 0 12px; } .sys-cap .txt p { margin-top: 0; }
/* SOLUM system: three steps revealed one by one while the stage stays in view */
.sysx-head { max-width: 760px; }
.sysx-head h3 { margin-bottom: var(--gap-sub); }
.sysx-head p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.sysx-row { display: grid; grid-template-columns: 1092fr 1080fr 996fr; gap: 0; margin-top: clamp(20px, 3vh, 40px); }
.sysx-step img { width: 100%; height: auto; display: block; }
.sysx-step .txt { padding-right: clamp(16px, 2.5vw, 44px); margin-top: clamp(8px, 1.5vh, 20px); }
.sysx-step .txt h3 { margin: 0 0 8px; }
.sysx-step .txt p { margin-top: 0; max-width: 34ch; }
.sysx-step .sys-n { font-size: clamp(24px, 2.4vw, 38px); margin-bottom: 8px; }
@media (min-width: 861px) {
  .sysx-track { height: 300vh; }
  .sysx-stage { position: sticky; top: var(--sx-top, 0px); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 24px; box-sizing: border-box; }
  /* Row runs edge to edge of the screen */
  /* Wide row with generous margins left and right */
  .sysx-row { width: min(100vw - 2 * clamp(64px, 7vw, 120px), 1600px); margin-left: calc(50% - min(50vw - clamp(64px, 7vw, 120px), 800px) - 20px); }
  .sysx-step:first-child .txt { padding-left: 0; }
  .sysx-step .txt { padding-left: clamp(16px, 2.5vw, 44px); }
  .js .sysx-step { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 28px)); }
}
@media (max-width: 860px) { .sysx-row { grid-template-columns: 1fr; gap: 40px; } .sysx-step img { max-width: 420px; } }
figure.sx-journey { margin: 0 0 clamp(24px, 3vw, 44px); }
/* then/now switch: vertical, left of the card, clickable */
.vsx-switch button { all: unset; cursor: pointer; transition: color .4s; }
.vsx-switch button:focus-visible { outline: 2px solid #3a8a2e; outline-offset: 4px; }
.vsx-switch button:hover { color: #111; }
.vsx-switch button.on { color: #111; }
.vsx-switch .k1.on, .vsx-switch .k1:hover { color: #3a8a2e; }
@media (min-width: 861px) {
  .vsx-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 3.5vw, 64px); align-items: center; }
  .vsx-switch { flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
  .vsx-switch i { width: 2px; height: 120px; margin-left: 3px; }
  .vsx-switch b { left: -3px; top: 0; transform: translateY(var(--sx, 0px)); }
}
.anat-side.right .lab { grid-template-columns: 1fr; gap: 14px; }
.anat-side.right .lab > .im { justify-self: start; }
.anat-side.right .lab > .im img { max-height: 210px; margin: 0; }
.lab .drill2 { max-width: 320px; margin-top: 18px; }
.anat-sec { padding-bottom: clamp(60px, 8vw, 140px); }
.sol-part { margin-top: clamp(140px, 16vw, 260px); }
.sec.sol-after-part { margin-top: clamp(48px, 6vw, 96px); }

/* Section titles as part headings: thin rule, large light condensed title (all project pages) */
.pj .lbl {
  position: static !important; writing-mode: horizontal-tb !important; transform: none !important;
  display: block; white-space: normal; margin: 0 0 clamp(36px, 4.5vw, 72px) !important;
  border-top: 1px solid #e3e3e3; padding-top: clamp(18px, 2vw, 28px);
  font-family: var(--f-cond, inherit); font-size: clamp(34px, 4.2vw, 68px); font-weight: 300; line-height: 1.02;
  letter-spacing: -0.02em; text-transform: none; color: var(--ink, #111);
  font-stretch: 85%; font-variation-settings: "wdth" 85;
}
.pj .lbl::first-letter { text-transform: uppercase; }
.pj main > .page > section:has(> .lbl) { margin-top: clamp(120px, 13vw, 220px); }

@media (min-width: 861px) { .pj-cover .cv-text { margin-left: -40px; } }
.pj-cover .cv-title { margin-left: -0.045em !important; }
/* Key phrases: medium weight instead of underline */
strong.k { font-weight: 700; color: inherit; }
.pj u { text-decoration: none; font-weight: 700; }

/* =====================================================================
   Global type & spacing system (applies last, overrides earlier one-offs)
   One weight (Light 300). Hierarchy by size, colour, case and spacing.
   ===================================================================== */
:root {
  --fw: 300;
  --fw-body: 300; /* body text: Light */
  --gap-sub: 8px; /* subline to body text */
  --fs-body: 16px;   --lh-body: 1.6;
  --fs-h3: 16px; --lh-h3: 1.6;
  --fs-small: 13px;  --lh-small: 1.45;
  --fs-micro: 11.5px;  --ls-caps: .06em;
  --ink-3: #8A8A8A;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: clamp(32px, 3.5vw, 56px);
  --sp-5: clamp(64px, 7vw, 112px);   /* between blocks inside a section */
  --sp-6: clamp(128px, 13vw, 208px); /* between titled sections */
}

/* Weights as on the live site (regular body, semibold text headings); key phrases bold */
strong.k, .pj u { font-weight: 700 !important; text-decoration: none; }
.cv-title { font-weight: 100 !important; }

/* Body text */
body { font-size: var(--fs-body); line-height: var(--lh-body); }
.txt { gap: 1em; font-size: var(--fs-body); line-height: var(--lh-body); }
.txt p + p { margin-top: 0; }

/* Text headings: larger instead of bolder, tight to the text they introduce */
.txt h3, .h-s, .lab .txt h3, .sys-cap .txt h3, .sysx-head h3, .sysx-step .txt h3, .vsx-body h3, .fa caption, .legal h2 {
  font-size: var(--fs-h3) !important; line-height: var(--lh-h3); letter-spacing: 0; color: var(--ink); font-weight: 600;
}
.txt:not(.hang) > h3 + p, .txt:not(.hang) > h3 + .facts, .txt:not(.hang) > h3 + ul { margin-top: calc(-1em + var(--gap-sub)); }
.vsx-body h3 + p { margin-top: var(--gap-sub); }
.lab .txt h3, .sys-cap .txt h3, .sysx-step .txt h3, .sx-h { margin-bottom: 0 !important; }
@media (max-width: 860px) { .hang > h3 + p { margin-top: calc(-1em + var(--gap-sub)); } }
.txt h3, .vsx-body h3 { margin: 0 !important; }
@media (min-width: 861px) { .hang > h3:first-child { margin-bottom: 10px !important; } }
.h-s { margin-bottom: var(--gap-sub) !important; }

/* Small text: captions, sources, meta, cites */
.cap, .figcap, .muted.small, .small, .bq cite, .src, .legend, .facts, .facts-list, .partners, .meta2,
.jgrid figcaption, .lb figcaption, .foot, .home-legal, .partlist, .fa table {
  font-size: var(--fs-small) !important; line-height: var(--lh-small);
}
.figcap, .cap, .muted.small { color: var(--ink-2); margin-top: 10px; }
.src-s { font-size: 12px !important; color: var(--ink-3); }
.pj .txt p.muted.small, .pj .muted.small.figcap { text-align: left; hyphens: manual; }

/* Uppercase micro labels share one style */
.cv-sub, .cv-meta, .anat-h, .vsx-switch, .facts-list dt, .thumb .label {
  letter-spacing: var(--ls-caps);
}
.cv-meta, .anat-h, .facts-list dt { font-size: var(--fs-micro) !important; color: var(--ink-3); }
.cv-sub { font-size: 15px; color: #444; }

/* Section titles (rule + large light title) */
.pj .lbl { margin-bottom: var(--sp-4) !important; }
.pj main > .page > section:has(> .lbl) { margin-top: var(--sp-6); }
.pj main > .page > section.sec:not(:has(> .lbl)) { margin-top: var(--sp-5); }
.pj main > .page > section:first-child { margin-top: var(--sp-5); }

/* Quotes: one size, centred, consistent breathing room */
.pj .bq.sec { margin-top: var(--sp-5); margin-bottom: 0; }
.bq { line-height: 1.3; }
.bq cite { margin-top: var(--sp-1); }

/* Large statement numbers stay light */
.big-n { letter-spacing: -0.03em; }
.facts .fact, .facts-col .fact { font-size: var(--fs-h3) !important; font-weight: 600; margin: 0 0 var(--sp-1) !important; }

/* Project navigation & footer */
.next { margin-top: var(--sp-6) !important; }

/* Home and about */

/* Hanging text headings sit in the space under a section title: reserve room for them */
@media (min-width: 861px) { .pj .lbl + .r12:has(.hang), .pj .lbl + .r12:has(> .c4 > .hang) { margin-top: calc(var(--fs-h3) * 1.25 + 24px); } }

/* Process collage on phones: two even columns instead of the 16-column desktop grid */
@media (max-width: 860px) {
  .sol-wrap .sol-coll { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .sol-wrap .sol-coll > * { aspect-ratio: 1 / 1; }
  .sol-wrap .sol-coll > .cvid { aspect-ratio: 9 / 16; }
}
/* One step smaller overall than the live site */
.pj .lbl { font-size: clamp(30px, 3.8vw, 60px); }
.bq { font-size: clamp(20px, 1.9vw, 27px); }
.bq.stmt { font-size: clamp(22px, 2.3vw, 34px); }
.corner { font-size: 15px; }
.intro { font-size: clamp(20px, 1.9vw, 28px); }
.vsx-tag { font-size: clamp(30px, 3.8vw, 58px); }

/* MOD cover: the logo is an image, so the optical text overhang must not shift it; its left edge sits flush with subtitle and meta. */
.pj-cover .cv-title.cv-logo { margin-left: 0 !important; }
/* Then/now switch sits at the far left screen edge, in line with the name in the header */
@media (min-width: 861px) {
  .vsx-wrap { position: relative; grid-template-columns: minmax(0, 1fr); }
  .vsx-switch { position: absolute; top: 50%; transform: translateY(-50%); left: calc(-40px - max(0px, (100vw - 1368px) / 2)); z-index: 2; }
}
@media (min-width: 861px) { .vsx-card { margin-left: max(0px, 150px - 64px - max(0px, (100vw - 1368px) / 2)); } }

/* Two-column text: one paragraph per column, never split a paragraph across the column break. */
@media (min-width: 861px) { .cols.cols2 { columns: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 2.4vw, 40px); align-items: start; } .cols.cols2 > p { margin: 0; } }

/* Text headings sit flush with the top edge of the image beside them (all project pages) */
@media (min-width: 861px) {
  .hang > h3:first-child { position: static !important; margin: 0 !important; }
  .pj .lbl + .r12:has(.hang), .pj .lbl + .r12:has(> .c4 > .hang) { margin-top: 0 !important; }
  .pj .r12 > .txt, .pj .r12 > .c4 > .txt, .pj .r12 > .c5 > .txt, .pj .r12 > div > .txt { align-self: start !important; align-content: start !important; }
  .pj .r12 > .txt > :first-child, .pj .r12 > div > .txt > :first-child { margin-top: -0.3em !important; }
  .hang > h3:first-child + p { margin-top: calc(-1em + var(--gap-sub)) !important; }
}

/* narrow column: ragged right instead of justified, avoids wide word gaps */
.pj .txt.rag p { text-align: left; text-wrap: pretty; }

/* Body text: Light (300) everywhere; headings and key phrases keep their weight */
body, .txt, .txt p, .txt li, .steps li, .legend, .partners span, .facts dd, .facts-list dd,
.cap, .figcap, .muted.small, .intro .sub, .bq cite, .partlist, .fa td, .fa tbody th, .stats p:not(.big-n) {
  font-weight: var(--fw-body);
}
/* Fixed-ratio frames: the image always fills the frame (no tint strip at the edges) */
.im:is(.a43, .a23, .a34, .a169, .a11, .a21):not(.white) > img { width: 100%; height: 100% !important; object-fit: cover; }
/* About: body text justified like the project pages; the changing word in bold */
.body > p:not(.lede) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.lede-rot .rot { font-weight: 700; }
/* Two-column text: both columns start on the same line */
@media (min-width: 861px) { .cols.cols2 > p { margin-top: -0.3em !important; } .partners > :first-child { margin-top: -0.3em; } }
.cv-meta { font-size: 13.5px !important; }
/* In-situ sampling: journey drawing across the page, larger renders reaching towards the right margin */
.sx-journey { margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 861px) {
  .sx-imgs { margin-right: min(0px, calc(64px - 24px - max(0px, (100vw - 1368px) / 2))); }
  .sx-imgs .g2 { gap: clamp(12px, 1.4vw, 20px); }
}

/* Process collage reaches to the right page edge (in line with "About" in the header) */
@media (min-width: 861px) { .sol-wrap { margin-right: calc(-1 * max(0px, (100vw - 1368px) / 2)); } }
.cv-award { margin-top: 12px; line-height: 0; }
.cv-award img { width: auto; height: 72px; max-width: 100%; }
.cv-award img[src*="gca"] { height: 42px; }
/* SOLUM anatomy v2: labels aligned to the page columns and to the product parts */
@media (min-width: 861px) {
  .anat { --pgl: calc(64px + max(0px, (100vw - 1368px) / 2)); --pl: calc(var(--pgl) - 4vw - 20px); --pr: calc(96vw + 20px - var(--pgl) - min(1280px, 100vw - 88px)); }
  .anat-side { inset: 0 !important; width: auto !important; pointer-events: none; }
  .anat-side .lab, .anat-side .anat-h { pointer-events: auto; }
  .anat-side.left .anat-h { left: var(--pl); }
  .anat-side.right .anat-h { left: calc(65.6% + 40px); }
  .anat .lab { display: block; }
  .anat .lab.lw { left: var(--pl); right: calc(53.5% + 40px); }
  .anat .lab.lh { left: var(--pl); right: calc(65.7% + 40px); }
  .anat .lab.rc { left: calc(65.6% + 40px); right: var(--pr); }
  .anat .lab.rd { left: calc(53.2% + 48px); right: var(--pr); }
  .anat .lab.side { display: grid; grid-template-columns: minmax(0, 1fr) auto !important; gap: 24px; align-items: start; }
  .anat .lab.side > .im { margin: 0; }
  .anat .lab.side > .im img { max-height: 150px !important; width: auto; height: auto; margin: 0; }
  .anat .lab.side:first-of-type > .im img, .anat-side.right .lab.side:nth-of-type(1) > .im img { max-height: 130px !important; }
  .anat .rd .dh-row { display: flex; align-items: flex-end; gap: 0; margin-top: 28px; }
  .anat .dh-fig { position: relative; margin: 0; width: 120px; flex: none; }
  .anat .dh-fig img { width: 100%; height: auto; display: block; }
  .anat .dh-fig .co { position: absolute; left: 82%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: var(--fs-small); color: var(--ink-2, #555); font-weight: var(--fw-body); }
  .anat .dh-fig .co::before { content: ""; width: 44px; height: 1px; background: #bdbdbd; flex: none; }
  .anat .dh-dd { margin: 0 0 0 auto; width: min(240px, 44%); }
  .anat .dh-dd img { width: 100%; height: auto; display: block; }
}
@media (min-width: 861px) {
  .anat .lab.side .txt p { text-align: left !important; hyphens: manual; }
  .anat .lab.side .txt { min-width: 200px; }
  .anat-side.right .lab.side > .im img[src*="dr.jpg"] { max-height: 120px !important; }
}
@media (min-width: 861px) {
  .anat .lab.side .txt { min-width: 0; }
  .anat .lab.side { grid-template-columns: minmax(0, 1fr) clamp(90px, 36%, 150px) !important; gap: 20px; }
  .anat .lab.side.st { grid-template-columns: minmax(0, 1fr) clamp(56px, 20%, 90px) !important; }
  .anat .lab.side > .im img, .anat-side.right .lab.side > .im img[src*="dr.jpg"] { width: 100% !important; height: auto !important; max-height: none !important; }
}
@media (max-width: 860px) {
  .anat .dh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; margin-top: 20px; }
  .anat .dh-fig { margin: 0; }
  .anat .dh-fig img { width: 60%; height: auto; display: block; margin-bottom: 8px; }
  .anat .dh-fig .co { display: block; font-size: var(--fs-small); color: var(--ink-3, #8a8a8a); }
  .anat .dh-dd { margin: 0; } .anat .dh-dd img { width: 100%; height: auto; }
  .anat .lab.side { display: grid; grid-template-columns: 1fr 90px !important; gap: 16px; }
  .anat .lab.side > .im img { width: 100% !important; height: auto !important; max-height: none !important; }
}
@media (max-width: 860px) { .anat .lab.side .txt p { text-align: left !important; } }
/* anatomy: same column width as the body text columns (c4 of the 12-col grid) */
@media (min-width: 861px) {
  .anat { --w4: calc((min(1280px, 100vw - 88px) - 2 * clamp(16px, 2vw, 32px)) / 3); }
  .anat .lab.lw, .anat .lab.lh { left: var(--pl); right: auto; width: var(--w4); }
  .anat .lab.rc, .anat .lab.rd { left: auto; right: var(--pr); width: var(--w4); }
  .anat-side.right .anat-h { left: auto; right: calc(var(--pr) + var(--w4)); transform: translateX(100%); }
  .anat .dh-fig { width: 84px; }
  .anat .dh-fig .co::before { width: 24px; }
  .anat .dh-dd { width: min(150px, 34%); }
  .anat .rd .dh-row { margin-top: 22px; }
}
/* anatomy: text columns never run onto the rendering */
@media (min-width: 861px) {
  .anat { --aw: 92vw; }
  .anat .lab.lw { width: min(var(--w4), calc(var(--aw) * .465 - var(--pl) - 40px)); }
  .anat .lab.lh { width: min(var(--w4), calc(var(--aw) * .343 - var(--pl) - 40px)); }
  .anat .lab.rc:not(.st) { width: min(var(--w4), calc(var(--aw) * .344 - var(--pr) - 40px)); }
  .anat .lab.rc.st, .anat .lab.rd { width: min(var(--w4), calc(var(--aw) * .468 - var(--pr) - 40px)); }
  .anat-side.right .anat-h { right: calc(var(--pr) + min(var(--w4), calc(var(--aw) * .468 - var(--pr) - 40px))); }
  .anat .rd .dh-row { align-items: flex-end; }
  .anat .dh-fig img, .anat .dh-dd img { display: block; }
}
@media (min-width: 861px) {
  .anat { --wl: min(var(--w4), calc(var(--aw) * .343 - var(--pl) - 28px)); --wr: min(var(--w4), calc(var(--aw) * .344 - var(--pr) - 28px)); }
  .anat .lab.lw, .anat .lab.lh { width: var(--wl); }
  .anat .lab.rc:not(.st), .anat .lab.rc.st, .anat .lab.rd { width: var(--wr); }
  .anat-side.right .anat-h { right: calc(var(--pr) + var(--wr)); }
}
@media (min-width: 861px) {
  .anat .lab.stack .side { display: grid; grid-template-columns: minmax(0, 1fr) clamp(80px, 32%, 130px); gap: 20px; align-items: start; }
  .anat .lab.stack .side .txt p { text-align: left !important; hyphens: manual; }
  .anat .lab.stack .side > .im { margin: 0; }
  .anat .lab.stack .side > .im img { width: 100% !important; height: auto !important; max-height: none !important; margin: 0; }
  .anat .lab.stack .bp { margin-top: clamp(20px, 2.4vw, 40px); }
}
@media (max-width: 860px) {
  .anat .lab.stack .side { display: grid; grid-template-columns: 1fr 90px; gap: 16px; }
  .anat .lab.stack .side .txt p { text-align: left !important; }
  .anat .lab.stack .side > .im img { width: 100% !important; height: auto !important; max-height: none !important; }
  .anat .lab.stack .bp { margin-top: 32px; }
}
@media (min-width: 861px) {
  .anat .rd .dh-row { flex-wrap: wrap-reverse; row-gap: 16px; }
  .anat .dh-fig { margin-right: 170px; }
  .anat .dh-dd { width: 150px; flex: none; margin-left: auto; }
}
@media (min-width: 861px) {
  .anat .lab.stack .side { grid-template-columns: minmax(0, 1fr) clamp(110px, 42%, 180px); gap: 16px; }
  .anat .lab.stack .side > .im { justify-self: end; width: 100%; }
  .anat .lab.side.st { grid-template-columns: minmax(0, 1fr) clamp(50px, 16%, 76px) !important; }
  .anat .dh-fig { width: 76px; }
}
@media (min-width: 861px) {
  .anat .lab.stack { display: flex !important; flex-direction: column; justify-content: space-between; gap: 24px; }
  .anat .lab.stack .bp { margin-top: 0; }
}
@media (min-width: 861px) { .anat .dh-fig .co { left: calc(100% + 6px); } .anat .dh-fig { margin-right: 190px; } }
.vsx-body > p:not(.vsx-tag):not(.src-s) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
@media (min-width: 861px) {
  /* drive graphic: right edge flush with the base plate of the rendering */
  .anat { --dsh: calc(var(--pr) - 92vw * .0224 + 4px); }
  .anat .lab.stack .side > .im { width: calc(100% + var(--dsh)); margin-right: calc(-1 * var(--dsh)); }
}
@media (min-width: 861px) {
  .anat .lab.stack .side { grid-template-columns: minmax(0, 1fr) auto; }
  .anat .lab.stack .side > .im { width: clamp(110px, 13vw, 190px); }
}
/* underlined key phrases from the portfolio (not on MOD / SOLUM) */
.pj u { text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; font-weight: inherit !important; }
/* typesetting: balanced rag-free justification, no single-word last lines */
.pj p { text-wrap: pretty; hyphenate-limit-chars: 7 3 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 3; }
.pj p.ls-n2 { letter-spacing: -0.015em; } .pj p.ls-n1 { letter-spacing: -0.0075em; } .pj p.ls-p1 { letter-spacing: 0.0075em; }
.pj p { text-wrap: wrap; }
/* continuation text next to a headed column starts on the first body line, not on the heading */
@media (min-width: 861px) {
  .pj .r12:has(> .txt > h3:first-child) > .txt:not(:has(> h3)) { padding-top: calc(var(--fs-h3) * var(--lh-h3) + var(--gap-sub)); }
}
/* SOLUM process: section rule runs to the right edge like the collage */
@media (min-width: 861px) { .pj .lbl.lbl-wide { margin-right: calc(-1 * max(0px, (100vw - 1368px) / 2)) !important; } }
/* drill head: big drawing top-aligned with the small ones, no wrapping */
@media (min-width: 861px) {
  .anat .rd .dh-row { flex-wrap: nowrap !important; align-items: flex-start !important; }
  .anat .dh-fig { width: 62px; margin-right: 0; flex: none; }
  .anat .dh-fig .co { white-space: normal; width: 112px; line-height: 1.25; }
  .anat .dh-fig .co::before { width: 18px; }
  .anat .dh-gap { flex: none; width: 150px; }
  .anat .dh-dd { flex: 0 1 150px; min-width: 70px; width: auto; margin-left: auto; }
}
@media (min-width: 1280px) {
  .anat .dh-fig .co { white-space: nowrap; width: auto; }
  .anat .dh-gap { width: 175px; }
}
