/* Trophaeum · journey v4 · local preview.
   Motion language of its own: doors that open, sash windows that rise,
   lines of type set into place, ink that comes up as you read. */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --ink: #151413;
  --paper: #f3f1ec;
  --ink-soft: rgb(21 20 19 / 0.64);
  --paper-soft: rgb(243 241 236 / 0.68);
  --paper-line: rgb(243 241 236 / 0.28);
  --ink-line: rgb(21 20 19 / 0.2);
  --brass: #b79d6c;
  --serif: "EB Garamond", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(18px, 3.2vw, 44px);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --io: cubic-bezier(0.65, 0, 0.35, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 300 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
h1, h2, h3, p, dl, dd, ol, figure, blockquote { margin: 0; padding: 0; }
ol { list-style: none; }
address, em { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared devices ---------- */
/* A line of type rises out of its own baseline. */
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.lines .ln > span { display: block; }
.js .lines .ln > span { transform: translateY(112%); transition: transform 1.5s var(--out); transition-delay: calc(var(--i, 0) * 130ms); }
.js .lines.in .ln > span, .js .in > .lines .ln > span { transform: none; }
/* Smaller things come up quietly. */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 1.3s var(--out), transform 1.3s var(--out); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .in .rise, .js .rise.in { opacity: 1; transform: none; }
/* A brass hairline draws itself. */
.rule { display: block; height: 1px; background: var(--brass); transform-origin: left; }
.js .rule { transform: scaleX(0); transition: transform 1.7s var(--io); }
.js .in .rule, .js .in > .rule { transform: none; }
/* A picture uncovered like a sash window sliding up. */
.sash-fig { overflow: hidden; }
.js .sash-fig { clip-path: inset(100% 0 0 0); transition: clip-path 1.7s var(--io); }
.js .sash-fig img { transform: scale(1.12); transition: transform 2.4s var(--out); }
.js .in .sash-fig, .js .sash-fig.in { clip-path: inset(0); }
.js .in .sash-fig img, .js .sash-fig.in img { transform: none; }
/* Section name, set like the wordmark. */
.scene-head { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 104px); left: var(--gut); z-index: 2; font-family: var(--serif); font-weight: 400; font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--paper-soft); }

/* ---------- intro: the mark is engraved on paper, then the doors open ---------- */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.js .intro.out { visibility: hidden; pointer-events: none; }
.door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--paper); transition: transform 1.7s var(--io) 0.3s; }
.door-l { left: 0; }
.door-r { right: 0; }
.intro.open .door-l { transform: translateX(-101%); }
.intro.open .door-r { transform: translateX(101%); }
.intro-logo { position: relative; width: min(50vw, 74svh); display: grid; justify-items: center; transition: opacity 0.7s ease, transform 0.9s var(--out); }
.intro.open .intro-logo { opacity: 0; transform: scale(0.97); }
.intro-logo img { width: 100%; height: auto; }
.il-building { -webkit-mask-image: linear-gradient(100deg, #000 44%, transparent 56%); mask-image: linear-gradient(100deg, #000 44%, transparent 56%); -webkit-mask-size: 330% 100%; mask-size: 330% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.il-word { margin-top: 3%; clip-path: inset(0 100% 0 0); }
.il-rule { display: block; width: 20%; height: 1px; margin-top: 5%; background: var(--brass); transform: scaleX(0); }
.intro.focus .il-building { animation: engrave 2.4s var(--io) forwards; }
.intro.focus .il-word { animation: typeset 1.5s var(--io) 1.5s forwards; }
.intro.focus .il-rule { animation: rule 1.2s var(--io) 2.5s forwards; }
.intro-skip { position: absolute; right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); color: var(--ink-soft); font-size: 14px; opacity: 0; transition: opacity 0.8s ease 0.8s; }
.intro.focus .intro-skip { opacity: 1; }
.intro.open .intro-skip { opacity: 0; transition-delay: 0s; }
@keyframes engrave { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes typeset { to { clip-path: inset(0); } }
@keyframes rule { to { transform: none; } }

/* ---------- header and base line: a soft veil behind, and each side takes the colour its ground asks for ---------- */
.top, .base { position: fixed; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; color: var(--paper); transition: opacity 1.4s ease 0.9s; }
.js .top, .js .base { opacity: 0; }
body.entered .top, body.entered .base { opacity: 1; }
.top { top: 0; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gut) 14px; }
.top-veil { position: absolute; inset: 0 0 -26px 0; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); background: rgb(21 20 19 / 0.16); -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); transition: background-color 0.6s ease; }
.top.nav-light .top-veil { background: rgb(243 241 236 / 0.4); }
.base-veil { position: absolute; inset: -30px 0 0 0; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); background: rgb(21 20 19 / 0.16); -webkit-mask-image: linear-gradient(transparent, #000 42%); mask-image: linear-gradient(transparent, #000 42%); transition: background-color 0.6s ease; }
.base.scene-light .base-veil { background: rgb(243 241 236 / 0.4); }
.nav, .mark, .scene, .clock { transition: color 0.5s ease; }
.top.nav-light .nav, .top.mark-light .mark, .base.scene-light .scene, .base.clock-light .clock { color: var(--ink); }
.nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 14px; font-weight: 400; }
.nav a { position: relative; padding-bottom: 4px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform 0.7s var(--io); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.mark { display: flex; align-items: center; gap: 14px; }
.mark-img { position: relative; display: block; height: 46px; aspect-ratio: 1429 / 844; }
.mark-img img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.5s ease; }
.mk-k, .mark-light .mk-w { opacity: 0; }
.mark-light .mk-k { opacity: 1; }
.mark-word { font-family: var(--serif); font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; }
.base { bottom: 0; align-items: baseline; padding: 14px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 18px); pointer-events: none; font-size: 13px; font-weight: 400; }
.scene { font-family: var(--serif); font-size: 14px; letter-spacing: 0.26em; text-transform: uppercase; transition: color 0.5s ease, opacity 0.4s ease, transform 0.6s var(--out); }
.scene.is-changing { opacity: 0; transform: translateY(8px); }
.clock { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* "View" follows the pointer over a building. */
.view-cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 12px; letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
.view-cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .view-cursor { display: none; } }

/* ---------- pictures: each new one rises like a sash, then the camera tilts up the façade ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.media::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(to bottom, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 24%); pointer-events: none; }
.sash { position: absolute; inset: 0; z-index: 1; overflow: hidden; clip-path: inset(100% 0 0 0); }
.sash.front { z-index: 2; }
.sash.on { clip-path: inset(0); transition: clip-path 1.7s var(--io); }
.sash img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(1.1) translateY(3%); transition: transform 2.6s var(--out); }
.sash.on img { transform: none; animation: tilt 22s linear 0.4s forwards; }
@keyframes tilt { from { object-position: 50% 80%; } to { object-position: 50% 58%; } }

/* ---------- hero: the claim at the centre, the facts in the corners, the invitation at the foot ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.3) 46%, rgb(0 0 0 / 0.42)); pointer-events: none; }
.js .hero .media { transform: scale(1.12); transition: transform 3s var(--out) 0.2s; }
.js body.entered .hero .media { transform: none; }
.hero-center { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 0 var(--gut); text-align: center; pointer-events: none; }
.hero-claim { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.6vw, 112px); line-height: 1.02; letter-spacing: -0.014em; }
.js .hero-claim .ln > span { transition-delay: calc(var(--i, 0) * 140ms + 1.1s); }
.js body.entered .hero-claim .ln > span { transform: none; }
.hero-foot { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 62px); z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; transition: opacity 1.4s ease 1.9s; }
.js .hero-foot { opacity: 0; }
.js body.entered .hero-foot { opacity: 1; }
.hero-info { font-size: 14px; font-weight: 400; color: var(--paper-soft); }
.hero-info-r { text-align: right; }
.reel { display: grid; justify-items: center; gap: 16px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; text-indent: 0.26em; white-space: nowrap; }
.reel i { width: 50px; height: 50px; border: 1px solid var(--paper-line); border-radius: 50%; display: grid; place-items: center; transition: background 0.5s, border-color 0.5s; }
.reel i::before { content: ""; width: 9px; height: 9px; border-right: 1px solid var(--paper); border-bottom: 1px solid var(--paper); transform: translateY(-2px) rotate(45deg); transition: border-color 0.5s, transform 0.6s var(--out); }
.reel:hover i { background: var(--paper); border-color: var(--paper); }
.reel:hover i::before { border-color: var(--ink); transform: translateY(1px) rotate(45deg); }

/* ---------- statement: the ink comes up as you read, and stays ---------- */
.statement { padding: 30svh var(--gut) 26svh; max-width: 1500px; }
.statement-text { font-family: var(--serif); font-size: clamp(40px, 7vw, 116px); line-height: 1.03; letter-spacing: -0.015em; max-width: 15ch; }
.js .statement-text span { opacity: 0.14; }
.aside { margin-top: clamp(36px, 7svh, 72px); max-width: 44ch; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.4; color: var(--paper); }
.aside::before { content: ""; display: block; width: 120px; height: 1px; margin-bottom: 26px; background: var(--brass); }
.aside .rise { display: block; }

/* ---------- commercial: one address at a time, right to left, with a detent on each ---------- */
.scene-head { font-size: 16px; color: var(--paper); z-index: 5; }
.work { position: relative; }
.work-stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: #000; }
.shade { position: absolute; inset: 0; z-index: 3; background: rgb(0 0 0 / 0.58); }
.media[data-dir="x"] .sash { clip-path: inset(0 0 0 100%); }
.media[data-dir="x"] .sash.on { clip-path: inset(0); }
.media[data-dir="x"] .sash img { transform: scale(1.1) translateX(3%); }
.media[data-dir="x"] .sash.on img { transform: none; }
.work-track { position: absolute; left: 0; top: 50%; z-index: 4; display: flex; align-items: center; transform: translate3d(var(--tx, 0), -50%, 0); transition: transform 1.05s cubic-bezier(0.3, 1.18, 0.42, 1); will-change: transform; }
.work-item { position: relative; flex: none; width: min(64vw, 1100px); display: grid; justify-items: center; text-align: center; opacity: 0.12; transition: opacity 0.9s ease; }
.work-item.is-active { opacity: 1; }
.work-item .n { font-family: var(--serif); font-size: clamp(32px, 3.8vw, 64px); line-height: 1; }
.work-item .t { margin-top: 0.12em; font-family: var(--serif); font-size: clamp(38px, 7vw, 124px); line-height: 1; letter-spacing: -0.015em; white-space: nowrap; text-shadow: 0 2px 40px rgb(0 0 0 / 0.45); }
.work-item::after { content: ""; display: block; width: min(34%, 220px); height: 1px; margin-top: 26px; order: 3; background: var(--brass); transform: scaleX(0); transition: transform 1.2s var(--io) 0.25s; }
.work-item .m { order: 4; margin-top: 20px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.26em; text-transform: uppercase; text-indent: 0.26em; color: var(--paper); opacity: 0; transform: translateY(8px); transition: opacity 0.8s ease 0.35s, transform 1s var(--out) 0.35s; }
.work-item.is-active .m { opacity: 1; transform: none; }
.work-item.is-active::after { transform: none; }
/* The dial: one mark for each building, the one in hand stands taller. */
.dial { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 66px); z-index: 4; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 9px; height: 26px; }
.dial i { display: block; width: 1px; height: 10px; background: var(--paper-line); transition: height 0.6s var(--out), background-color 0.6s ease; }
.dial i.on { height: 26px; background: var(--brass); }

/* ---------- hospitality: one house at a time, in its frame, with its name beside it ---------- */
.houses { position: relative; }
.houses-stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 7vw, 140px); padding: 110px var(--gut) 70px; }
.houses-text { justify-self: end; width: min(100%, 620px); }
.h-no { font-family: var(--serif); font-size: clamp(34px, 4vw, 66px); line-height: 1; }
.h-street { margin-top: 0.1em; font-family: var(--serif); font-size: clamp(44px, 6.2vw, 104px); line-height: 1; letter-spacing: -0.015em; }
.js .houses-text .lines .ln > span { transform: none; transition: transform 0.75s var(--io); transition-delay: calc(var(--i, 0) * 70ms); }
.js .houses-text.is-out .lines .ln > span { transform: translateY(112%); }
.h-rule { width: 120px; margin-top: 30px; transform: none !important; }
.h-occ { margin-top: 20px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; transition: opacity 0.45s ease; }
.houses-text.is-out .h-occ { opacity: 0; }
.h-index { margin-top: clamp(32px, 7svh, 76px); display: grid; gap: 4px; }
.h-index button { position: relative; padding: 5px 0 5px 0; font-size: 14px; font-weight: 400; color: var(--paper-soft); opacity: 0.6; text-align: left; transition: opacity 0.5s ease, color 0.5s ease, padding-left 0.7s var(--out); }
.h-index button::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--io); }
.h-index button[aria-current="true"] { opacity: 1; color: var(--paper); padding-left: 34px; }
.h-index button[aria-current="true"]::before { transform: none; }
.h-index button:hover { opacity: 1; }
.houses-frame { position: relative; inset: auto; display: block; height: min(calc(100svh - 190px), 780px); aspect-ratio: 3 / 4.8; justify-self: start; }
.houses-frame::after { display: none; }
.houses-frame .sash img { object-position: 50% 88%; }
.houses-frame .sash.on img { animation: none; }

/* ---------- the mark: the drawing, then the building it was drawn from, then paper ---------- */
.mark-scene { position: relative; height: 320svh; }
.ms-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.ms-logo { width: min(74vw, 96svh); display: grid; justify-items: center; }
.ms-logo img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(100deg, #000 44%, transparent 56%); mask-image: linear-gradient(100deg, #000 44%, transparent 56%); -webkit-mask-size: 330% 100%; mask-size: 330% 100%; -webkit-mask-position: var(--mp, 100%) 0; mask-position: var(--mp, 100%) 0; }
.ms-word { margin-top: 5%; font-family: var(--serif); font-size: clamp(20px, 3.4vw, 54px); letter-spacing: var(--ls, 0.6em); margin-right: calc(var(--ls, 0.6em) * -1); text-transform: uppercase; line-height: 1; white-space: nowrap; opacity: var(--wo, 0); }
.ms-photo { position: absolute; inset: 0; z-index: 2; clip-path: inset(var(--pc, 100%) 0 0 0); }
.ms-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--ps, 1.14)); }
.ms-photo figcaption { position: absolute; left: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); max-width: calc(100% - 2 * var(--gut)); padding: 12px 18px 13px; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; }
.ms-paper { position: absolute; inset: 0; z-index: 3; background: var(--paper); clip-path: inset(var(--rc, 100%) 0 0 0); }

/* ---------- about (paper): everything in one spread ---------- */
.about { background: var(--paper); color: var(--ink); padding: 13svh var(--gut) 14svh; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.about h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 100px); line-height: 1; letter-spacing: -0.018em; }
.intro-copy { margin-top: clamp(24px, 4svh, 44px); max-width: 40ch; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.36; }
.intro-copy .rise { display: block; }
.roles { margin-top: clamp(32px, 6svh, 64px); display: grid; }
.roles div { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; padding: 18px 0; }
.roles .rule { position: absolute; left: 0; right: 0; top: 0; background: #8f7748; }
.roles dt { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; }
.roles dd { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.roles a { color: var(--ink); background: linear-gradient(#8f7748, #8f7748) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size 0.7s var(--io); }
.roles a:hover { background-size: 0 1px; background-position: 100% 100%; }
.about-figwrap { position: sticky; top: 104px; }
.about-fig img { width: 100%; height: min(calc(100svh - 200px), 760px); object-fit: cover; object-position: 50% 96%; }
.quote { position: relative; margin-top: clamp(48px, 9svh, 96px); padding-top: 34px; font-family: var(--serif); font-size: clamp(26px, 2.9vw, 44px); line-height: 1.22; color: var(--ink-soft); }
.quote .rule { position: absolute; left: 0; top: 0; width: 120px; background: #8f7748; }
.quote .rise { display: block; max-width: 28ch; }

/* ---------- contact ---------- */
.contact { padding: 14svh var(--gut) 0; min-height: 100svh; display: flex; flex-direction: column; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8vw, 138px); line-height: 0.98; letter-spacing: -0.02em; }
.contact-body { margin-top: 7vh; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.offices { display: grid; gap: 36px; }
.offices p { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 36px); line-height: 1.18; letter-spacing: -0.008em; max-width: 22ch; }
.offices span { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--paper-soft); margin-bottom: 8px; }
.contact-spread { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 7vw, 120px); align-items: stretch; }
.contact-copy .offices { margin-top: clamp(36px, 8svh, 84px); }
.contact-fig { position: relative; min-height: 62svh; margin: 0; }
.contact-fig img { position: absolute; inset: 0; width: 100%; height: calc(100% - 46px); object-fit: cover; object-position: 50% 90%; }
.contact-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--serif); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper-soft); }
.foot { position: relative; margin-top: 14vh; padding: 36px 0 calc(env(safe-area-inset-bottom, 0px) + 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; align-items: end; font-size: 14px; color: var(--paper-soft); }
.foot .rule { position: absolute; left: 0; right: 0; top: 0; }
.foot a { color: var(--paper); }
.foot p + p { margin-top: 6px; }
.foot-logo { height: 124px; width: auto; }

/* ---------- a building: a page of the catalogue slides up ---------- */
.building { position: fixed; inset: 0; z-index: 80; background: var(--paper); color: var(--ink); clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path 1.1s var(--io), visibility 0s linear 1.1s; overflow-y: auto; overscroll-behavior: contain; }
.building.open { clip-path: inset(0); visibility: visible; transition: clip-path 1.1s var(--io); }
.b-stage { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; padding: calc(env(safe-area-inset-top, 0px) + 72px) var(--gut) 56px; }
.b-fig { align-self: stretch; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--io) 0.35s; }
.b-fig img { width: 100%; height: calc(100svh - 128px); object-fit: cover; object-position: 50% 72%; transform: scale(1.1); transition: transform 2.4s var(--out) 0.35s; }
.building.shown .b-fig { clip-path: inset(0); }
.building.shown .b-fig img { transform: none; }
.b-kind { font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); opacity: 0; transition: opacity 1s ease 0.9s; }
.building h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 104px); line-height: 0.98; letter-spacing: -0.018em; }
.building h3 .ln > span { transform: translateY(112%); transition: transform 1.5s var(--out); transition-delay: calc(var(--i, 0) * 130ms + 0.7s); }
.building.shown h3 .ln > span { transform: none; }
.building .rule { margin-top: 30px; background: #8f7748; transform: scaleX(0); transition: transform 1.6s var(--io) 1s; }
.building.shown .rule { transform: none; }
.building dl { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; opacity: 0; transition: opacity 1.1s ease 1.3s; }
.building.shown dl, .building.shown .b-kind { opacity: 1; }
.building dt { font-size: 13px; color: var(--ink-soft); }
.building dd { margin-top: 4px; font-family: var(--serif); font-size: 21px; }
.close { position: fixed; right: var(--gut); top: calc(env(safe-area-inset-top, 0px) + 22px); z-index: 3; font-size: 14px; font-weight: 400; padding: 6px 0; background: linear-gradient(#8f7748, #8f7748) 0 100% / 100% 1px no-repeat; transition: background-size 0.7s var(--io); }
.close:hover { background-size: 0 1px; background-position: 100% 100%; }
.b-next { position: relative; padding: 40px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 64px); }
.b-card { display: block; width: 100%; text-align: left; }
.b-thumb { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #dcd9d1; }
.b-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; filter: grayscale(1); transition: filter 0.9s ease, transform 1.6s var(--out); }
.b-card:hover .b-thumb img, .b-card:focus-visible .b-thumb img { filter: none; transform: scale(1.04); }
.b-label { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.b-title { display: block; margin-top: 12px; font-family: var(--serif); font-size: 21px; }
.b-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 40vw), 1fr)); gap: 32px 18px; }

@media (max-width: 860px) {
  .contact-spread, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-fig { min-height: 0; aspect-ratio: 4 / 5.2; max-width: 560px; }
  .about-figwrap { position: static; }
  .about-fig img { height: auto; aspect-ratio: 4 / 4.2; }
  .houses-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 22px; padding: 96px var(--gut) 60px; }
  .houses-frame { order: -1; height: min(50svh, 460px); justify-self: center; }
  .houses-text { justify-self: center; text-align: center; }
  .h-rule { margin-inline: auto; }
  .h-index { display: none; }
  .b-stage { display: block; min-height: 0; }
  .b-fig img { height: 58svh; }
  .b-body { margin-top: 28px; }
}
@media (max-width: 640px) {
  .hide-s, .mark-word, .hero-info-r { display: none; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; }
  .hero-info { order: 2; }
  .mark-img { height: 38px; }
  .nav { gap: 13px; font-size: 13px; }
  .work-item { width: 88vw; }
  .dial { gap: 7px; }
  .intro-logo { width: min(104vw, 70svh); }
  .ms-logo { width: min(128vw, 84svh); }
  .scene-head { font-size: 14px; top: calc(env(safe-area-inset-top, 0px) + 84px); }
  .roles div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .il-building { -webkit-mask-image: none; mask-image: none; }
  .il-word { clip-path: none; }
  .intro-logo { opacity: 0; }
  .intro.focus .intro-logo { opacity: 1; }
  .intro.focus .il-building, .intro.focus .il-word { animation: none; }
  .door { transition-duration: 0.01ms; }
  .sash.on img { animation: none; }
  .js .lines .ln > span, .js .rise, .js .rule, .js .sash-fig, .js .sash-fig img, .sash, .sash img, .building, .b-fig, .b-fig img, .building h3 .ln > span, .work-track, .js .houses-text .lines .ln > span, .js .hero .media { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ---------- multi-page additions (appended to v4.css by build-site.mjs) ---------- */

/* Going from one page to the next: the new page rises like a sash over the old one. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.5s cubic-bezier(0.65, 0, 0.35, 1) both; }
::view-transition-new(root) { animation: vt-in 0.95s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes vt-out { to { opacity: 0.4; transform: translateY(-3%); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Inner pages have no intro: the frame appears at once. */
body.quick .top, body.quick .base { transition-delay: 0.15s; }

/* Portfolio opens its three doors under the word. */
.nav { align-items: baseline; }
.nav-group { position: relative; }
.nav-sub { position: absolute; left: -18px; top: 100%; display: grid; gap: 2px; min-width: 190px; padding: 14px 18px 16px; background: var(--ink); color: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.35s ease, transform 0.5s var(--out), visibility 0s linear 0.35s; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease, transform 0.5s var(--out); }
.top.nav-light .nav-sub { background: var(--paper); color: var(--ink); }
.nav-sub a { padding: 5px 0; justify-self: start; }
@media (hover: none) { .nav-sub { display: none; } }

/* Shared furniture of the inner pages */
.pagetop { padding-top: clamp(120px, 17svh, 190px) !important; }
.kicker { font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 22px; }
.kicker .rise { display: inline-block; }
.kicker a { background: linear-gradient(#8f7748, #8f7748) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
.about h1, .pf h1, .pf h2, .closing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 100px); line-height: 1; letter-spacing: -0.018em; }
.contact h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8vw, 138px); line-height: 0.98; letter-spacing: -0.02em; }
.contact.pagetop { min-height: 0; padding-bottom: 12svh; }
.roles dt a { background: none; padding: 0; }
.roles dt a:hover { color: #8f7748; }

/* A way out of a teaser run to the whole list */
.run-more { position: absolute; z-index: 5; right: var(--gut); top: calc(env(safe-area-inset-top, 0px) + 104px); font-family: var(--serif); font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper); padding-bottom: 6px; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; transition: background-size 0.7s var(--io); }
.run-more:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Doors: large links, each under its brass line */
.doors { list-style: none; margin: 0; padding: 0; display: grid; }
.doors li { position: relative; }
.doors .rule { position: absolute; left: 0; right: 0; top: 0; background: #8f7748; }
.doors a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0 22px; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 50px); line-height: 1.05; letter-spacing: -0.012em; transition: padding-left 0.8s var(--out), color 0.5s ease; }
.doors a:hover, .doors a:focus-visible { padding-left: clamp(10px, 1.6vw, 26px); color: #8f7748; }
.doors a > span { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-soft); text-align: right; }
.doors-wide { margin-top: clamp(40px, 8svh, 90px); }

/* Home: the paper spread that closes the walk */
.closing { background: var(--paper); color: var(--ink); padding: 13svh var(--gut) 15svh; }
.closing-row { margin-top: clamp(28px, 6svh, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.closing .intro-copy { margin-top: 0; }

/* Portfolio: the catalogue */
.pf { background: var(--paper); color: var(--ink); padding: 13svh var(--gut) 15svh; }
.pf-more { padding-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(40px, 8svh, 90px); }
.chip { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 400; background: #e6e3db; transition: background-color 0.4s ease, color 0.4s ease; }
.chip:hover { background: #d8d5cc; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* 21 November: smaller cards, five a row, as in the client's mockup. */
.p-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 44px) clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 4svh, 44px); }
.p-card { display: grid; align-content: start; }
.p-card[hidden] { display: none; }
.js .p-grid .p-card { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--out), transform 1.3s var(--out); }
.js .p-grid.in .p-card { opacity: 1; transform: none; }
.p-thumb { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #dcd9d1; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 94%; transition: transform 1.8s var(--out); }
.p-card:hover .p-thumb img, .p-card:focus-visible .p-thumb img { transform: scale(1.04); }
.p-name { margin-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--serif); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.15; }
.p-name i { font-style: normal; font-size: 15px; transition: transform 0.6s var(--out); }
.p-card:hover .p-name i, .p-card:focus-visible .p-name i { transform: translateX(4px); }
.p-addr { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink); }
.p-city { margin-top: 5px; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.pf-intro h1 { margin: 0; font-size: clamp(40px, 4.2vw, 64px); }
.pf-intro p { margin: 14px 0 0; max-width: 70ch; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--ink-soft); }
.pf-tabs { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 2.6vw, 36px); margin-top: clamp(28px, 4svh, 44px); border-bottom: 1px solid var(--ink-line); }
.pf-tab { position: relative; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; transition: color 0.4s ease; }
.pf-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.5s var(--out); }
.pf-tab:hover, .pf-tab[aria-pressed="true"] { color: var(--ink); }
.pf-tab[aria-pressed="true"]::after { transform: none; }

/* One building. First the façade fills the screen and the camera climbs it as you scroll. */
.bh { position: relative; height: 230svh; }
.bh-stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: #000; display: grid; place-items: center; }
.bh-media { position: absolute; inset: 0; }
.bh-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 94%; transform: scale(1.08); will-change: transform, object-position; }
.bh .shade { background: linear-gradient(to bottom, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.34) 30%, rgb(0 0 0 / 0.56)); }
.bh-text { position: relative; z-index: 4; text-align: center; padding: 0 var(--gut); color: var(--paper); will-change: transform, opacity; }
.bh-text .kicker a { background-image: linear-gradient(var(--brass), var(--brass)); }
.bh h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 9vw, 168px); line-height: 0.96; letter-spacing: -0.02em; text-shadow: 0 2px 50px rgb(0 0 0 / 0.5); }
.bh h1 .ln:first-child { font-size: 0.5em; margin-bottom: 0.08em; }
.bh-occ { margin-top: clamp(20px, 4svh, 40px); font-family: var(--serif); font-size: 18px; letter-spacing: 0.26em; text-indent: 0.26em; text-transform: uppercase; }
.bh-occ .rule { width: 120px; margin: 0 auto 20px; transform-origin: center; }
.bh-occ .rise { display: block; }
.bh-paper { position: absolute; inset: 0; z-index: 6; background: var(--paper); clip-path: inset(var(--rc, 100%) 0 0 0); }
@media (prefers-reduced-motion: reduce) { .bh { height: 100svh; } }

/* Then the whole building in its frame, and who is inside. */
.bp { background: var(--paper); color: var(--ink); padding: 4svh var(--gut) 14svh; }
.bp-stage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 120px); align-items: end; }
.bp-fig img { width: auto; max-width: 100%; height: min(86svh, 900px); object-fit: cover; }
.bp h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 112px); line-height: 0.98; letter-spacing: -0.018em; }
.bp-facts { position: relative; margin-top: 34px; padding-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bp-facts .rule { position: absolute; left: 0; right: 0; top: 0; background: #8f7748; }
.bp-facts dt, .bp-nav a > span:not(.bp-thumb) { font-size: 13px; color: var(--ink-soft); font-family: var(--sans); }
.bp-facts dd { margin-top: 4px; font-family: var(--serif); font-size: 22px; }
.bp-facts a { background: linear-gradient(#8f7748, #8f7748) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
.bp-nav { margin-top: clamp(32px, 7svh, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; }
.bp-nav a { display: grid; gap: 4px; font-family: var(--serif); font-size: 21px; line-height: 1.15; transition: color 0.5s ease; }
.bp-thumb { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; margin-bottom: 10px; background: #dcd9d1; }
.bp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 86%; transition: transform 1.8s var(--out); }
.bp-nav a:hover { color: #8f7748; }
.bp-nav a:hover .bp-thumb img, .bp-nav a:focus-visible .bp-thumb img { transform: scale(1.04); }

/* And the ground floor, close. */
.bp-band { position: relative; margin: 0; height: min(76svh, 760px); overflow: hidden; background: #000; }
.bp-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 99%; }
.bp-band figcaption { position: absolute; left: var(--gut); bottom: 84px; padding: 11px 16px 12px; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; }
.pf-more { padding-top: 12svh; }

/* Portfolio: a photograph keeps the title company. */
.pf-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.pf-fig img { width: 100%; height: min(calc(100svh - 230px), 780px); object-fit: cover; object-position: 50% 90%; }


/* The foot of every page */
.site-foot { background: var(--ink); color: var(--paper); padding: 0 var(--gut); }
.site-foot .foot { margin-top: 0; }
.foot-nav a { color: var(--paper); }

@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .closing-row, .bp-stage, .pf-head { grid-template-columns: minmax(0, 1fr); }
  .bp-fig img { height: auto; width: 100%; }
  .bp-body { margin-top: 8px; }
  .pf-fig img { height: 52svh; }
  .bp-band { height: 56svh; }
  .run-more { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); right: 50%; transform: translateX(50%); white-space: nowrap; font-size: 13px; }
  .houses .run-more { bottom: calc(env(safe-area-inset-bottom, 0px) + 58px); }
}
@media (max-width: 640px) {
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors a > span { display: none; }
  .pagetop { padding-top: 112px !important; }
}

/* ---------- runs that move by themselves (pages option) ---------- */
.work.auto, .houses.auto { height: 100svh; min-height: 600px; }
.dial button { position: relative; width: 14px; height: 34px; padding: 0; }
.dial { gap: 2px; height: 34px; }
.dial button::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 10px; background: var(--paper-line); transition: height 0.6s var(--out), background-color 0.6s ease; }
.dial button:hover::before { height: 18px; background: var(--paper); }
.dial button.on::before { height: 28px; background: var(--brass); }

/* Home: the street. It drifts on its own; a sideways gesture, a drag or the arrows move it by hand.
   A soft anchor lets the page settle on it without holding the reader there. */
/* No vertical scroll snap on the street: removed on 20 November, the page jumped as soon as it came near. */
.street { position: relative; min-height: 100svh; display: grid; align-content: center; background: var(--ink); padding: 120px 0 84px; overflow: clip; }
.st-window { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; touch-action: pan-x pan-y; }
.st-window::-webkit-scrollbar { display: none; }
.st-window.is-dragging { cursor: grabbing; }
.st-window.is-dragging .st-card { pointer-events: none; }
.st-track { display: flex; align-items: flex-end; gap: clamp(14px, 1.8vw, 28px); width: max-content; padding-bottom: 94px; }
.st-card { position: relative; flex: none; display: block; -webkit-user-drag: none; user-select: none; }
.st-card:focus-visible { outline-offset: -9px; }
.st-card img { height: clamp(280px, calc(100svh - 400px), 620px); width: auto; max-width: none; pointer-events: none; }
.st-cap { position: absolute; left: 0; right: 0; top: calc(100% - 94px); padding-top: 12px; font-size: 13px; color: var(--paper-soft); white-space: nowrap; opacity: 0; transform: translateY(-6px); transition: opacity 0.5s ease, transform 0.7s var(--out); }
.st-cap span { display: block; font-family: var(--serif); font-size: 21px; color: var(--paper); }
.st-card:hover .st-cap, .st-card:focus-visible .st-cap { opacity: 1; transform: none; }
.st-foot { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: 6px; padding: 0 var(--gut); }
.st-foot a { display: inline-block; font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-indent: 0.26em; text-transform: uppercase; padding-bottom: 8px; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; transition: background-size 0.7s var(--io); white-space: nowrap; }
.st-foot a:hover { background-size: 0 1px; background-position: 100% 100%; }
.st-arrow { flex: none; width: 50px; height: 50px; border: 1px solid var(--paper-line); border-radius: 50%; display: grid; place-items: center; color: var(--paper); transition: background 0.5s, border-color 0.5s; }
.st-arrow i { display: block; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateX(-2px) rotate(-45deg); }
.st-prev i { transform: translateX(2px) rotate(135deg); }
.st-arrow:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
@media (max-width: 640px) { .st-foot a { font-size: 13px; letter-spacing: 0.2em; } .st-arrow { width: 44px; height: 44px; } }
.closing { padding: 9svh var(--gut) 14svh; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: clamp(32px, 7vw, 130px); align-items: center; }
.closing .quote { margin-top: 0; font-size: clamp(30px, 3.8vw, 62px); line-height: 1.14; color: var(--ink); }
.closing .quote .rise { max-width: 20ch; }
.closing .quote footer { margin-top: 30px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }
.closing-fig img { width: auto; max-width: 100%; height: min(80svh, 820px); object-fit: cover; }
@media (max-width: 860px) { .closing-grid { grid-template-columns: minmax(0, 1fr); } .closing-fig img { width: 100%; height: auto; } }

/* The slider is moved by hand: drag, swipe or a sideways scroll. */
.work.auto .work-stage { cursor: grab; touch-action: pan-y; }
.work.auto .work-stage.is-dragging { cursor: grabbing; }
.work-track.is-dragging { transition: none; }
.work-track.is-dragging .work-item { pointer-events: none; }
.work.auto .dial { bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); }
.run-hint { position: absolute; z-index: 5; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 54px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-family: var(--serif); font-size: 13px; letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase; color: var(--paper); white-space: nowrap; }
.run-hint i { display: block; width: 9px; height: 9px; border-right: 1px solid var(--brass); border-bottom: 1px solid var(--brass); transform: rotate(45deg); animation: hint-bob 2.2s var(--io) infinite; }
@keyframes hint-bob { 0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: 0.5; } 50% { transform: translateY(3px) rotate(45deg); opacity: 1; } }
@media (max-width: 640px) { .run-hint { font-size: 12px; letter-spacing: 0.16em; } }
@media (prefers-reduced-motion: reduce) { .run-hint i { animation: none; } }

/* Hospitality (pages): the name slides sideways like the row in Commercial. */
.houses.auto .houses-stage { cursor: grab; touch-action: pan-y; }
.houses.auto .houses-stage.is-dragging { cursor: grabbing; }
.houses-text { overflow: hidden; }
.h-slide { transition: transform 0.75s var(--io), opacity 0.5s ease; will-change: transform, opacity; }
.h-slide.to-left { transform: translateX(-64px); opacity: 0; }
.h-slide.to-right { transform: translateX(64px); opacity: 0; }
.h-slide.snap, .h-slide.is-dragging { transition: none; }
.contact.pagetop .contact-fig { min-height: 0; }

/* Hospitality (pages): marks instead of a list, and a word about the house that comes next. */
.h-foot { margin-top: clamp(40px, 9svh, 96px); display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; }
.houses .dial { position: static; transform: none; left: auto; bottom: auto; }
.h-next { display: grid; gap: 6px; text-align: left; font-family: var(--serif); font-size: 21px; line-height: 1.1; color: var(--paper); transition: color 0.5s ease; }
.h-next span:first-child { font-family: var(--serif); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--paper-soft); }
.h-next:hover { color: var(--brass); }
.houses .h-occ { font-size: 17px; }
@media (max-width: 860px) { .h-foot { justify-content: center; margin-top: 26px; } .h-next { display: none; } }
@media (min-width: 861px) { .houses .run-hint { left: var(--gut); transform: none; justify-items: start; text-indent: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 62px); } }

/* ---------- client revisions, 10 November ---------- */
/* Intro: mark and word rise together, no engraving and no typesetting. */
.js .intro .il-building { -webkit-mask-image: none; mask-image: none; animation: none; }
.js .intro .il-word { clip-path: none; animation: none; }
.js .intro .intro-logo { opacity: 0; transform: translateY(34px); transition: opacity 1.3s ease, transform 1.7s var(--out); }
.js .intro.focus:not(.open) .intro-logo { opacity: 1; transform: none; }

/* Header: the full logo, larger. */
.mark-img { height: 66px; }
.mark-word { font-size: 18px; }

/* Hero: the photograph alone. The client found the mark over it too busy. */
.hero-foot { grid-template-columns: minmax(0, 1fr); justify-items: center; }
@media (max-width: 640px) { .mark-img { height: 48px; } }
@media (prefers-reduced-motion: reduce) {
  .js .intro .intro-logo { transform: none; }
}

/* Portfolio opens straight on the filters. */
.pf-bare.pagetop { padding-top: 132px !important; }
@media (max-width: 640px) { .pf-bare.pagetop { padding-top: 96px !important; } }

/* ---------- Vic's review, 10 November evening ---------- */
/* The statement arrives word by word when it is reached. */
.js .statement-text span { display: inline-block; opacity: 0; transform: translateY(0.35em); transition: opacity 1.1s ease, transform 1.4s var(--out); transition-delay: calc(var(--i, 0) * 110ms); }
.js .statement-text.in span { opacity: 1; transform: none; }
/* Room for descenders: the g of "glance" was cut by the line mask. */
.lines .ln { padding-bottom: 0.24em; margin-bottom: -0.24em; }
.js .lines .ln > span { transform: translateY(132%); }
/* Commercial: no slow repaint of a full-screen photograph under the veils. */
.work .sash.on img { animation: none; }
@media (prefers-reduced-motion: reduce) { .js .statement-text span { opacity: 1; transform: none; transition: none; } }

/* The name under the quote keeps to one line, the role on the next. */
.closing .quote footer.rise { max-width: none; white-space: nowrap; }
.closing .quote footer span { display: block; margin-top: 8px; font-size: 13px; }

/* Statement: the claim on the left, the paragraph on the right, a brass line between them. */
@media (min-width: 861px) {
  .statement { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: stretch; }
  .statement .aside { margin-top: 0; max-width: none; display: flex; align-items: flex-end; padding-left: clamp(32px, 5vw, 96px); border-left: 1px solid var(--brass); }
  .statement .aside::before { display: none; }
  .statement .aside .rise { max-width: 40ch; }
}

/* ---------- footer links, legal pages, cookie notice ---------- */
.foot a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--io); padding-bottom: 2px; }
.foot a:hover, .foot a:focus-visible { background-size: 100% 1px; }
.legal h1 { max-width: 14ch; }
.legal-body { margin-top: clamp(40px, 8svh, 90px); display: grid; gap: 0; max-width: 78ch; }
.legal-body section { position: relative; padding: 26px 0 30px; }
.legal-body .rule { position: absolute; left: 0; right: 0; top: 0; background: #8f7748; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -0.01em; }
.legal-body p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.notice[hidden] { display: none; }
.notice { position: fixed; z-index: 70; left: var(--gut); bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); width: min(440px, calc(100vw - 2 * var(--gut))); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; padding: 18px 20px; background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgb(0 0 0 / 0.22); opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.7s var(--out); }
.notice.in { opacity: 1; transform: none; }
.notice p { font-size: 14px; line-height: 1.5; }
.notice a { background: linear-gradient(#8f7748, #8f7748) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
.notice button { padding: 10px 18px; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 13px; letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase; }
.notice button:hover, .notice button:focus-visible { background: #8f7748; }
@media (prefers-reduced-motion: reduce) { .notice { transition: none; } }

/* ---------- News and Insights: light page, title beside a photograph, list by year ---------- */
.lst { padding-bottom: clamp(72px, 14svh, 160px); }
.lst-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 110px); align-items: end; padding-bottom: clamp(56px, 10svh, 120px); }
.lst-sub { margin-top: clamp(20px, 3svh, 32px); font-size: 14px; letter-spacing: 0.04em; color: var(--ink-soft); }
.lst-sub .rise { display: block; }
.lst-fig { margin: 0; }
.lst-fig img { width: 100%; height: min(calc(100svh - 260px), 620px); object-fit: cover; object-position: 50% 80%; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid rgba(143, 119, 72, 0.35); }
.news-list a, .news-row { display: grid; gap: 10px; padding: 8px 0 26px; color: var(--ink); text-decoration: none; }
.news-list li + li a, .news-list li + li .news-row { padding-top: 24px; }
.news-row { color: var(--ink-soft); }
.news-title { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 27px); line-height: 1.24; letter-spacing: -0.005em; transition: color 0.3s ease; }
.news-list a:hover .news-title, .news-list a:focus-visible .news-title { color: #8f7748; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 14px; color: var(--ink-soft); }
.news-pub { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: #8f7748; }
@media (max-width: 860px) {
  .lst-head { grid-template-columns: minmax(0, 1fr); }
  .lst-fig img { height: 44svh; }
}

/* ---------- 11 November: About without its photograph ---------- */
.about-grid.about-solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.about-solo .intro-copy { max-width: 62ch; }

/* ---------- 12 November: compact footer, one row of links and a bottom bar ---------- */
.foot.foot-v3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px clamp(28px, 4vw, 64px); padding-top: 36px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); font-size: 14px; }
.foot-v3 .foot-logo { height: 64px; }
.foot-links, .foot-social { display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.2vw, 34px); }
.foot-social a { color: var(--paper-soft); }
.foot-bar { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 32px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(243, 239, 231, 0.14); font-size: 12px; }
.foot-bar p { margin: 0 !important; }
.foot-bar p:last-child { display: flex; gap: 22px; }
.foot-bar span { color: var(--paper-soft); }
.foot-v3 .foot-note { opacity: 0.7; }
@media (max-width: 860px) {
  .foot.foot-v3 { flex-direction: column; align-items: flex-start; }
  .foot-v3 .foot-logo { height: 56px; }
  .foot-bar { flex-direction: column; }
}

/* ---------- 11 November, afternoon: News head across the whole area, one list ---------- */
.lst-band { position: relative; height: min(78svh, 760px); min-height: 460px; padding: 0 !important; overflow: hidden; background: #000; color: var(--paper); }
.lst-band-fig { margin: 0; height: 100%; }
.lst-band-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.lst-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.55) 100%); pointer-events: none; }
.lst-band-copy { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: clamp(40px, 9svh, 96px); }
.lst-band-copy .kicker { color: var(--paper); }
.lst { padding-top: clamp(48px, 9svh, 100px); }
.lst .chips { margin-bottom: clamp(28px, 5svh, 48px); }
.lst .news-list { max-width: 1100px; }
.lst .news-list li { border-top: 0; border-bottom: 1px solid rgba(143, 119, 72, 0.4); }
.lst .news-list a, .lst .news-list .news-row, .lst .news-list li + li a, .lst .news-list li + li .news-row { padding: 26px 0 28px; }
.news-meta time { color: var(--ink-soft); }

/* The wordmark sits by the drawing and carries more weight */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
.mark { gap: 18px; }
.mark-img { aspect-ratio: 913 / 844; overflow: hidden; }
/* The drawing sits at x 256 to 1169 of the 1429-wide file: show exactly that band. */
.mark-img img { width: auto; max-width: none; right: auto; left: -28.04%; }
.mark-word { font-weight: 500; font-size: 20px; letter-spacing: 0.24em; }
.lst-band h1 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 112px); line-height: 1; letter-spacing: -0.018em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3); }

/* 12 November: the statement band is shorter, less black around the words */
.statement { padding-top: clamp(96px, 15svh, 170px); padding-bottom: clamp(80px, 13svh, 150px); }
.statement-text { font-size: clamp(36px, 4.8vw, 78px); line-height: 1.06; max-width: 24ch; }

/* 12 November: the quote is real and longer, the Alaïa photograph larger */
.closing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.closing .quote { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.22; }
.closing .quote .rise { max-width: 38ch; }
.closing-fig img { width: 100%; height: min(88svh, 980px); object-position: 50% 70%; }
/* The street's photographs sit higher, just under the menu */
.street { align-content: start; padding-top: clamp(96px, 13svh, 128px); }
@media (max-width: 860px) { .closing-grid { grid-template-columns: minmax(0, 1fr); } .closing-fig img { height: auto; } }

/* ---------- 12 November: Contact with the offices and a map, from Kate's reference ---------- */
.contact.contact-v2 { min-height: 0; }
.contact-map-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-v2 h1 { font-size: clamp(44px, 5vw, 84px); line-height: 1; }
.contact-v2 h2 { margin: clamp(36px, 7svh, 72px) 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.2; letter-spacing: 0; }
.office-list { margin-top: 18px; font-style: normal; }
.office-list p { margin: 0; padding: 20px 0; border-top: 1px solid rgba(243, 239, 231, 0.28); font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--paper-soft); }
.office-list p:last-child { border-bottom: 1px solid rgba(243, 239, 231, 0.28); }
.office-list strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--paper); }
.enquiries { margin: clamp(36px, 7svh, 64px) 0 0; font-size: 15px; line-height: 1.6; }
.enquiries span { display: block; font-size: 13px; color: var(--paper-soft); }
.enquiries a { color: var(--paper); }
.contact-map { position: relative; margin: 0; border: 1px solid rgba(243, 239, 231, 0.45); overflow: hidden; }
.map-svg { display: block; width: 100%; height: auto; }
.m-land { fill: #2f2c28; stroke: rgba(243, 239, 231, 0.22); stroke-width: 1; stroke-linejoin: round; }
.m-inset { fill: var(--ink, #141312); }
.m-frame { fill: none; stroke: rgba(243, 239, 231, 0.45); stroke-width: 1.5; }
.m-dot { fill: var(--paper); }
.m-ring { fill: none; stroke: var(--paper); stroke-width: 2; }
.map-svg text { fill: var(--paper); font-family: var(--serif); font-size: 22px; }
.map-legend { position: absolute; right: 20px; top: 18px; display: grid; gap: 8px; margin: 0; font-size: 12px; color: var(--paper); }
.map-legend span { display: flex; align-items: center; gap: 10px; }
.lg { position: relative; display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.lg-dot { width: 8px; height: 8px; margin: 2px; background: var(--paper); }
.lg-ring { border: 1.5px solid var(--paper); }
.lg-both { border: 1.5px solid var(--paper); }
.lg-both::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--paper); }
@media (max-width: 860px) {
  .contact-map-grid { grid-template-columns: minmax(0, 1fr); }
  .map-svg text { font-size: 30px; }
  .map-legend { position: static; padding: 14px 16px; border-top: 1px solid rgba(243, 239, 231, 0.28); }
}
.map-svg .m-note { fill: var(--paper-soft); font-family: var(--sans); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 860px) { .map-svg .m-note { font-size: 22px; } }

/* Home condensed on 12 November (Kate's voice note): less empty band under the statement,
   under View portfolio and under the closing photograph, which is also smaller. */
.statement { padding-top: clamp(80px, 11svh, 130px); padding-bottom: clamp(48px, 7svh, 84px); }
.street { min-height: 0; padding-bottom: clamp(36px, 6svh, 64px); }
.closing { padding-top: clamp(56px, 8svh, 96px); padding-bottom: clamp(56px, 8svh, 96px); }
.closing-grid { align-items: center; }
.closing-fig img { height: min(64svh, 680px); }
@media (max-width: 860px) { .closing-fig img { height: 58svh; object-position: 50% 80%; } }

/* 27 Albemarle Street, portrait, in the wide News band: keep the awnings in view. */
.lst-band-fig img { object-position: 50% 78%; }

/* About, 13 November: laid out like the client's reference, no photographs but the team. */
.about-sec { background: var(--paper); color: var(--ink); padding: clamp(48px, 8svh, 96px) var(--gut); }
.about-h { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 28px; }
.ab-intro { padding-bottom: clamp(40px, 6svh, 72px); }
.about h1.ab-title { margin: 0; }
.ab-lead { margin: 32px 0 0; max-width: 62ch; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.45; color: var(--ink); }
/* 21 November: the client asked for the before and after bigger again, so it now takes the wider column. */
.ab-intro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.ab-lead { max-width: 52ch; }
/* 18 November: before and after of 43-44 Albemarle Street. The "before" sits over the "after" and is
   cut at --ba; a native range input on top does the dragging (mouse, thumb, keyboard). */
.ba { margin: 0; }
.ba-stage { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e6e3db; touch-action: pan-y; }
.ba-stage img, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-stage img { object-fit: cover; display: block; }
.ba-before { clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
/* The line always sits on the cut; only the round knob is kept inside the picture at the ends
   (19-20 November: clamping the whole handle left the line short of the cut). */
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: clamp(23px, var(--ba), calc(100% - 23px)); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); pointer-events: none; }
.ba-knob::before { content: '\2039\2002\203A'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%); font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink); white-space: nowrap; }
.ba-stage { cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba-stage img { pointer-events: none; -webkit-user-drag: none; }
/* The range only serves the keyboard and screen readers; the stage takes the pointer (iOS ranges only move from the thumb). */
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--brass); outline-offset: 3px; }
.ba figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.ba figcaption em { font-style: italic; color: var(--ink-soft); }
/* 18 November: the Mayfair map back beside the text, as the placeholder was. */
.ab-mf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 96px); align-items: start; border-top: 1px solid var(--ink-line); }
.ab-map { margin: 0; }
.ab-map a { display: block; cursor: zoom-in; }
.ab-map img { display: block; width: 100%; height: auto; }

/* The journey: a horizontal timeline, years alternating above and below the line. */
.journey { border-top: 1px solid var(--ink-line); padding-right: 0; }
.jt-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-right: var(--gut); }
.jt-nav { display: flex; gap: 14px; margin-bottom: 28px; }
.jt-arrow { width: 48px; height: 48px; border: 1px solid var(--ink-line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color 0.4s ease, opacity 0.4s ease; }
.jt-arrow i { width: 10px; height: 10px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateX(2px) rotate(45deg); }
.jt-next i { transform: translateX(-2px) rotate(-135deg); }
.jt-arrow:hover:not(:disabled) { border-color: var(--brass); }
.jt-arrow:disabled { opacity: 0.3; cursor: default; }
.jt-window { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 8px; }
.jt-window::-webkit-scrollbar { display: none; }
.jt-window:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
.jt-track { list-style: none; margin: 0; padding: 0 var(--gut) 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); grid-template-rows: auto 44px auto; width: max-content; position: relative; }
.jt-yr { grid-row: 1 / 4; display: grid; grid-template-rows: subgrid; scroll-snap-align: start; padding-right: 28px; }
.jt-body { position: relative; padding-left: 0; }
.jt-body { grid-column: 1; }
.jt-yr.up .jt-body { grid-row: 1; align-self: end; padding-bottom: 22px; }
.jt-yr.down .jt-body { grid-row: 3; align-self: start; padding-top: 22px; }
.jt-yr.up .jt-body::after, .jt-yr.down .jt-body::after { content: ''; position: absolute; left: 21px; height: 22px; border-left: 1px dotted var(--ink-soft); }
.jt-yr.up .jt-body::after { bottom: 0; }
.jt-yr.down .jt-body::after { top: 0; }
.jt-yr.up { padding-top: 0; }
.jt-yr.down .jt-body { min-height: 1px; }
.jt-axis { grid-row: 2; grid-column: 1; align-self: center; height: 1px; margin-right: -28px; background: var(--ink); }
.jt-yr:last-child .jt-axis { margin-right: 0; }
.jt-dot { grid-row: 2; grid-column: 1; justify-self: start; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.jt-dot img { width: 30px; height: auto; }
.jt-y { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--brass); }
/* 21 November: one titled paragraph per milestone instead of a list of events. */
.jt-t { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--ink); }
.jt-tx { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }

.tm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.tm + .tm { border-left: 1px solid var(--ink-line); padding-left: clamp(28px, 4vw, 64px); }
.tm-head { display: flex; align-items: center; gap: 18px; }
.tm-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.tm-none { display: block; background: #e6e3db; }
.tm-name { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.tm-name span { display: block; margin-top: 4px; font-style: italic; font-size: 16px; color: var(--ink-soft); }
.tm .rule { display: block; width: 40px; height: 1px; background: var(--brass); margin: 22px 0; transform-origin: left; }
.tm p.rise { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.team { border-top: 1px solid var(--ink-line); }
@media (max-width: 860px) {
  .ab-intro, .ab-mf, .tm-list { grid-template-columns: minmax(0, 1fr); }
  .ab-mf .ab-map { margin: 0 calc(-1 * var(--gut)); }
  .jt-track { grid-auto-columns: 72vw; }
  .jt-head { align-items: start; flex-direction: column; gap: 0; }
  .tm + .tm { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-line); padding-top: 28px; }
}
/* Building page, 13 Nov: the picture column used to size itself from the picture at full height,
   so a landscape photograph took the whole width and crushed the text. Cap it, and let landscape
   pictures keep their proportions instead of being cropped. */
@media (min-width: 861px) {
  .bp-stage { grid-template-columns: fit-content(64%) minmax(320px, 1fr); }
  .bp-stage.bp-wide { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); }
  .bp-wide .bp-fig img { width: 100%; height: auto; max-height: min(86svh, 900px); }
}
/* Via Mascagni render, 13 Nov: the client wants the building, not the gate, in portrait crops. */
.p-thumb img[src*="/soho-house-"], .st-card img[src*="/soho-house-"], .bp-thumb img[src*="/soho-house-"] { object-position: 16% 70%; }
/* Contact, 13 Nov: lighter land on the black sea, like the client's reference; phone and careers beside the enquiries. */
.m-land { fill: #4a4641; stroke: rgba(243, 239, 231, 0.18); }
.enquiries-row { margin-top: clamp(36px, 7svh, 64px); display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 4vw, 64px); }
.enquiries-row .enquiries { margin: 0; }
.enquiries-row .enquiries + .enquiries { padding-left: clamp(32px, 4vw, 64px); border-left: 1px solid rgba(243, 239, 231, 0.28); }
.enquiries a { display: block; }

/* Home closing photograph, 16 November (client): the whole Alaïa shopfront, pavement included.
   The portrait shows uncropped: fixed height, width from the picture's own proportions. */
.closing-figwrap { justify-self: center; }
.closing-fig img { width: auto; max-width: 100%; height: min(78svh, 820px); aspect-ratio: 1257 / 2200; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 860px) { .closing-fig img { width: 100%; height: auto; } }

/* Commercial run, 16 November (client): the address, the marks and the hint sit together in the
   bottom right corner instead of across the middle of the façade. One address at a time, in place. */
.work-track { left: auto; right: var(--gut); top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 150px); display: grid; transform: none; transition: none; }
.work-item { grid-area: 1 / 1; width: auto; max-width: min(46vw, 640px); justify-items: end; text-align: right; opacity: 0; pointer-events: none; transition: opacity 0.7s ease; }
.work-item.is-active { opacity: 1; pointer-events: auto; }
.work-item .n { font-size: clamp(22px, 2vw, 34px); text-shadow: 0 1px 24px rgb(0 0 0 / 0.5); }
.work-item .t { font-size: clamp(32px, 3.8vw, 64px); white-space: normal; text-wrap: balance; }
.work-item::after { width: 120px; margin-top: 18px; transform-origin: right; }
.work-item .m { margin-top: 14px; font-size: 14px; letter-spacing: 0.24em; text-indent: 0; text-shadow: 0 1px 18px rgb(0 0 0 / 0.6); }
.work.auto .dial { left: auto; right: var(--gut); transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 100px); }
.work .run-hint { left: auto; right: var(--gut); transform: none; justify-items: end; text-indent: 0; text-align: right; bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); text-shadow: 0 1px 16px rgb(0 0 0 / 0.6); }
.work .shade { background: linear-gradient(to top left, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 55%), rgb(0 0 0 / 0.12); }
@media (max-width: 640px) {
  .work-item { max-width: calc(100vw - 2 * var(--gut)); }
  .work .run-hint { white-space: normal; max-width: 19em; line-height: 1.6; }
  .work.auto .dial { bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); }
  .work-track { bottom: calc(env(safe-area-inset-bottom, 0px) + 160px); }
}

/* End of Commercial and Hospitality, 16 November (client): two picture doors instead of the
   ruled list, one to the other kind, one to every building. */
.next-doors { margin-top: clamp(48px, 9svh, 110px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.nd { position: relative; display: block; height: clamp(260px, 46svh, 480px); overflow: hidden; background: #111; color: var(--paper); }
.nd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 1.4s var(--out), opacity 0.6s ease; }
.nd:hover img, .nd:focus-visible img { transform: scale(1.04); opacity: 0.92; }
.nd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.66), rgb(0 0 0 / 0) 60%); }
.nd-txt { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.6vw, 38px); display: grid; gap: 12px; }
.nd-k { font-family: var(--serif); font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; }
.nd-t { font-family: var(--serif); font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: -0.012em; }
.nd-t::after { content: ""; display: block; width: 64px; height: 1px; margin-top: 18px; background: var(--brass); transform: scaleX(0.4); transform-origin: left; transition: transform 0.9s var(--out); }
.nd:hover .nd-t::after, .nd:focus-visible .nd-t::after { transform: none; }
@media (max-width: 860px) { .next-doors { grid-template-columns: minmax(0, 1fr); } .nd { height: clamp(220px, 62vw, 340px); } }

/* Leadership team, 16 Nov: a fourth person joined. Three stay in view; the arrows (the same as the
   journey's) bring in the next one instead of starting a new row. Phones keep the stacked list. */
.team .jt-head { padding-right: 0; }
@media (min-width: 861px) {
  .tm-window { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tm-window::-webkit-scrollbar { display: none; }
  .tm-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * clamp(28px, 4vw, 64px)) / 3); }
  .tm { scroll-snap-align: start; }
}
@media (max-width: 860px) { .team [data-tm-nav] { display: none; } }

/* Commercial, 16 Nov: the client asked for the pictures to sit lower, so more of each shopfront
   shows. Anchor them to the bottom of the photograph. */
.work .sash img { object-position: 50% 100%; }
/* News heading asked by the client on 17 November, at the size of the About section titles. */
.lst .news-h { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.1; margin: 0 0 clamp(24px, 4vw, 40px); }
/* 17 November: the credit links to the studio's website, in the same soft tone as before. */
.foot-bar .foot-credit { color: var(--paper-soft); transition: color 0.3s ease; }
.foot-bar .foot-credit:hover { color: var(--paper); }

/* 18 November, home: less black between the statement and the street, and the façades in the
   street cropped closer (less sky and road) so the buildings read larger, as the client asked. */
.statement { padding-top: clamp(64px, 9svh, 110px); padding-bottom: clamp(16px, 3svh, 36px); }
.street { padding-top: clamp(80px, 11svh, 100px); }
.st-card img.st-tall { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 78%; }

/* Key milestones, 19 November: the client found the text columns too tall. On desktop each
   year's text runs on past the next year's dot (that side of the line is empty there), so it
   wraps into fewer, longer lines. The last year keeps its own width. */
@media (min-width: 861px) {
  .jt-track { --jt-col: clamp(220px, 21vw, 300px); }
  .jt-yr:not(:last-child) .jt-body { width: calc(var(--jt-col) * 1.6); }
}

/* 21 November: the client asked for the contact map a little lower, it sat too high beside the title. */
@media (min-width: 861px) {
  .contact-map { margin-top: clamp(48px, 9svh, 110px); }
}
/* 22 November: cards are 4:5 (Vic's proposal), so a facade fits with its street. The client asked for the portfolio photographs framed lower, with a little of the road
   showing, as on Gucci and Alaïa. Maison Estelle stands on a wide corner, so its frame sits higher. */
.p-thumb img[src*="/g6-maisonestelle-"] { object-position: 50% 58%; }
/* In the 4:5 card the Zimmermann sign was cut; the frame moves right to keep the whole name. */
.p-thumb img[src*="/mc-zimmermann-"] { object-position: 76% 94%; }

/* 23 November, on a mockup: text and slider start at the same line; the slider opens half way with a
   "Drag to compare" hint under the knob, which fades after the first move. */
.ab-intro { align-items: start; }
.ba-hint { position: absolute; top: calc(50% + 34px); left: 50%; transform: translateX(-50%); padding: 6px 14px 7px; border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); pointer-events: none; transition: opacity 0.4s ease; }
.ba-moved .ba-hint { opacity: 0; }

/* 23 November, client's voice note and messages: the Albemarle heading sits above text and map, which
   start on the same line; the intro slider is 3:2 (the two photographs now line up, see the README). */
.ab-mf { row-gap: 0; }
.ba-stage { aspect-ratio: 3 / 2; }
/* The portfolio line on one line wherever the width allows. */
.pf-intro p { max-width: none; }
/* Text and picture closer in height: the intro lead a little smaller beside the 3:2 slider; the Albemarle
   text takes the wider column so it runs shorter beside the map (five paragraphs cannot match it fully). */
.ab-lead { font-size: clamp(18px, 1.3vw, 21px); }
/* 23 November: the last year (Soho House Milan) was narrow and tall; it now runs as wide as the others,
   past the end of the line, and the track leaves room to scroll to it. */
@media (min-width: 861px) {
  .jt-yr:last-child .jt-body { width: calc(var(--jt-col) * 1.6); }
  .jt-track { padding-right: calc(var(--gut) + var(--jt-col) * 0.6); }
}
/* 23 November, client: the whole contact map on one screen, Caribbean and Capri included. The map is
   cropped above Edinburgh and its width capped by the screen height, clear of the fading label bar at the bottom. */
@media (min-width: 861px) {
  .contact-map { width: min(100%, calc((100svh - clamp(120px, 17svh, 190px) - clamp(48px, 9svh, 110px) - 96px) * 860 / 756)); margin-left: auto; }
}
/* 23 November, client: the legal pages scrolled too long in a narrow column. On desktop the sections
   run in two columns across the page and the introduction is wider. */
@media (min-width: 861px) {
  .legal .intro-copy { max-width: 72ch; }
  .legal-body { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 96px); align-items: start; }
}
/* 23 November 16:39, client's template for Albemarle Street: heading and introduction side by side, divided
   by a vertical rule; under a horizontal rule, her three headings as an accordion beside a large map. */
@media (min-width: 861px) { .ab-mf { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(32px, 4vw, 72px); } }
.ab-mf-top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, max-content) minmax(320px, 1fr); align-items: center; gap: clamp(24px, 2.6vw, 44px); padding-bottom: clamp(24px, 2.6vw, 40px); margin-bottom: clamp(8px, 1.5vw, 20px); border-bottom: 1px solid var(--ink-line); }
.ab-mf-top .about-h { margin: 0; }
.ab-mf-intro { margin: 0; padding-left: clamp(20px, 2vw, 32px); text-wrap: pretty; border-left: 1px solid var(--ink-line); font-size: 17px; line-height: 1.6; color: var(--ink); }
.ab-area { border-bottom: 1px solid var(--ink-line); }
.ab-area summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.ab-area summary::-webkit-details-marker { display: none; }
.ab-area summary::after { content: '+'; flex: none; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink-soft); }
.ab-area[open] summary::after { content: '\2212'; }
.ab-area summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.ab-area p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.ab-area p:last-child { margin-bottom: 24px; }
/* 23 November 16:37, client: one typeface for the running text, as in the leadership team; the About
   opening paragraph was in the serif. Headings, names and years stay in the serif. */
.ab-lead { font-family: inherit; font-size: 18px; line-height: 1.6; }
@media (max-width: 860px) {
  .ab-mf-top { grid-template-columns: minmax(0, 1fr); gap: 20px; order: -2; border-bottom: 0; padding-bottom: 0; margin-bottom: 28px; }
  .ab-mf-intro { padding-left: 0; border-left: 0; }
  .ab-mf .ab-map { order: -1; margin-bottom: 12px; }
}
/* 23 November 16:46: the About opening runs in two paragraphs. */
.ab-lead + .ab-lead { margin-top: 16px; }
