@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f4f1eb;
  --paper-2: #e8e3d9;
  --ink: #1c2024;
  --ink-2: #4a5057;
  --slate: #475562;
  --stone: #a0a5aa;
  --line: rgba(28, 32, 36, 0.14);
  --night: #171b1f;
  --brick: #9a5038;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.chip { padding: 9px 18px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
.display {
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(44px, 7.4vw, 124px); margin: 0;
}
.h2 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(32px, 4.4vw, 64px); margin: 0; }
.h3 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; font-size: clamp(20px, 1.8vw, 26px); margin: 0; }
.lede { font-weight: 300; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -0.015em; margin: 0; }
.section { padding: clamp(80px, 12vw, 180px) 0; }
.section.tight { padding: clamp(56px, 7vw, 100px) 0; }
.dark { background: var(--night); color: #eef0f1; }
.dark .label { color: #9aa3ab; }
.muted { color: #b8bfc5; }
h2.label { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { position: relative; width: 150px; height: 46px; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 0.4s; }
.logo .logo-white { opacity: 0; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 0; }

.site-header.over-hero { color: #fff; }
.site-header.over-hero .logo-white { opacity: 1; }
.site-header.over-hero .logo-dark { opacity: 0; }
.site-header.solid { background: rgba(244, 241, 235, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.solid .logo-white { opacity: 0; }
.site-header.solid .logo-dark { opacity: 1; }
.site-header.hidden { transform: translateY(-100%); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); pointer-events: none;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a { font-size: clamp(40px, 11vw, 64px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.2; }
.mobile-menu .close { position: absolute; top: 28px; right: var(--gutter); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.mobile-menu .meta { margin-top: 48px; color: #9aa3ab; font-size: 15px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-header .wrap { height: 68px; }
  .logo { width: 120px; height: 38px; }
}

/* Intro curtain with monogram drawing */
.curtain { display: none; }
.js .curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center; transition: clip-path 1s var(--ease) ;
  clip-path: inset(0 0 0 0);
}
.curtain.lift { clip-path: inset(0 0 100% 0); }
.curtain svg { width: 96px; height: 96px; overflow: visible; }
.curtain svg * { fill: none; stroke: var(--slate); stroke-width: 1.4; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.5s var(--ease) forwards; }
.curtain svg path:nth-of-type(2) { animation-delay: 0.1s; }
.curtain svg path:nth-of-type(3) { animation-delay: 0.2s; }
.curtain svg path:nth-of-type(4) { animation-delay: 0.3s; }
.curtain svg path:nth-of-type(5) { animation-delay: 0.4s; }
.curtain svg path:nth-of-type(6) { animation-delay: 0.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero slideshow */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); color: #fff; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero .slide.on { opacity: 1; }
.hero .slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,0.45) 0%, rgba(10,12,14,0) 28%, rgba(10,12,14,0) 45%, rgba(10,12,14,0.72) 100%); pointer-events: none; }
.hero .hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 6vh, 72px); }
.hero .hero-copy .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
/* Every headline that sits on a photo shares this size */
.photo-title { font-weight: 300; font-size: clamp(30px, 3.8vw, 62px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; max-width: 17ch; }
.hero .now { text-align: right; min-width: 220px; }
.hero .now .label { color: rgba(255,255,255,0.7); }
.hero .now a { display: block; font-size: 18px; margin-top: 6px; }
.hero .bars { display: flex; gap: 6px; margin-top: 16px; justify-content: flex-end; }
.hero .bars button { width: 34px; height: 14px; position: relative; }
.hero .bars button::before, .hero .bars button::after { content: ""; position: absolute; left: 0; top: 6px; height: 2px; }
.hero .bars button::before { right: 0; background: rgba(255,255,255,0.3); }
.hero .bars button::after { width: 0; background: #fff; }
.hero .bars button.on::after { animation: fill var(--dur, 6s) linear forwards; }
.hero .bars button.done::after { width: 100%; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 760px) {
  .hero .slide img { object-position: 50% 78%; }
  .hero .hero-copy .wrap { grid-template-columns: 1fr; }
  .hero .now { text-align: left; }
  .hero .bars { justify-content: flex-start; }
}

/* Reveal on scroll (only when scripts run, so nothing stays hidden if they fail) */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.words .w { display: inline-block; opacity: 0.14; transition: opacity 0.6s ease; }
.words .w.in { opacity: 1; }

/* Intro statement */
.intro .grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
@media (max-width: 900px) { .intro .grid { grid-template-columns: 1fr; } }

/* Practices */
.practices { border-top: 1px solid var(--line); }
.practice {
  display: grid; grid-template-columns: 80px 1fr 1.2fr 40px; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.practice .num { font-size: 13px; color: var(--ink-2); }
.practice .name { font-size: clamp(34px, 5vw, 76px); font-weight: 300; letter-spacing: -0.03em; line-height: 1; transition: transform 0.6s var(--ease), color 0.4s; }
.practice p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 46ch; }
.practice .arrow { font-size: 26px; transition: transform 0.5s var(--ease); }
.practice:hover .name { transform: translateX(18px); color: var(--ink); }
.practice:hover .arrow { transform: translateX(8px); }
@media (max-width: 900px) {
  .practice { grid-template-columns: 1fr; gap: 12px; }
  .practice .num, .practice .arrow { display: none; }
}

/* Section head */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); flex-wrap: wrap; }
.link-line { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* Selected work editorial grid */
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 32px); row-gap: clamp(48px, 6vw, 96px); }
.card { display: block; }
.card .ph { position: relative; overflow: hidden; background: var(--paper-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.card:hover .ph img { transform: scale(1.045); }
.card .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 16px; align-items: baseline; }
.card .meta .h3 { font-size: clamp(19px, 1.6vw, 24px); }
.card .meta .label { white-space: nowrap; margin-left: auto; }
.card .award {
  position: absolute; left: 14px; bottom: 14px; background: rgba(244,241,235,0.94); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 10px;
}
.fg-1 { grid-column: 1 / span 7; } .fg-1 .ph { aspect-ratio: 4 / 3; }
.fg-2 { grid-column: 9 / span 4; margin-top: 18vw; } .fg-2 .ph { aspect-ratio: 4 / 5; }
.fg-3 { grid-column: 2 / span 4; } .fg-3 .ph { aspect-ratio: 4 / 5; }
.fg-4 { grid-column: 7 / span 6; margin-top: 10vw; } .fg-4 .ph { aspect-ratio: 3 / 2; }
.fg-5 { grid-column: 1 / span 6; } .fg-5 .ph { aspect-ratio: 3 / 2; }
.fg-6 { grid-column: 8 / span 5; margin-top: 8vw; } .fg-6 .ph { aspect-ratio: 1 / 1; }
@media (max-width: 760px) {
  .feature-grid > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
}

/* Then and now slider */
.then-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  border: 1px solid currentColor; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 500;
  opacity: 0.55; transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.chip:hover { opacity: 1; }
.chip.on { opacity: 1; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .chip.on { background: #eef0f1; color: var(--night); border-color: #eef0f1; }
.compare { position: relative; overflow: hidden; aspect-ratio: 16 / 9; user-select: none; touch-action: pan-y; cursor: ew-resize; background: #000; }
.compare.portrait { aspect-ratio: 4 / 5; max-width: 620px; margin: 0 auto; }
@media (max-width: 760px) { .compare { aspect-ratio: 4 / 3; } .compare .handle::after { width: 44px; height: 44px; } }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); filter: sepia(0.25) contrast(1.05); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); }
.compare .handle::after {
  content: "‹  ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center;
  font-size: 20px; letter-spacing: 2px; box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}
.compare .tag { position: absolute; top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.45); padding: 7px 11px; }
.compare .tag.l { left: 18px; } .compare .tag.r { right: 18px; }
.then-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.then-caption a { border-bottom: 1px solid currentColor; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.numbers .n { font-size: clamp(72px, 11vw, 176px); font-weight: 200; letter-spacing: -0.05em; line-height: 0.9; }
.numbers p { margin: 18px 0 0; max-width: 24ch; color: var(--ink-2); }
.numbers > div { border-top: 1px solid var(--line); padding-top: 24px; }
.award-notes { display: flex; gap: 12px 40px; flex-wrap: wrap; margin-top: 48px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; } }

/* Map */
.map-shell { position: relative; height: min(78vh, 760px); background: var(--paper-2); }
.map { position: absolute; inset: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.1) contrast(0.72) brightness(1.14); }
.map-offline { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-2); padding: 24px; }
.map-panel {
  position: absolute; z-index: 500; left: 20px; top: 20px; width: 300px; max-height: calc(100% - 40px); overflow: auto;
  background: rgba(244,241,235,0.96); padding: 22px; box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.map-panel h3 { margin: 6px 0 14px; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; }
.map-panel .jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.map-panel .jump .chip { padding: 6px 12px; font-size: 12px; }
.map-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.map-list li button { width: 100%; text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.map-list li button:hover { color: var(--slate); }
.map-list li button span:last-child { color: var(--ink-2); font-size: 12px; }
.pin { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,0.3); transition: transform 0.3s var(--ease); }
.pin.preservation { background: var(--brick); }
.pin.commercial { background: var(--slate); }
.pin.residential { background: #8a8f6a; }
.pin.office { background: var(--paper); border-color: var(--ink); width: 20px; height: 20px; }
.leaflet-marker-icon:hover .pin { transform: scale(1.35); }
.leaflet-popup-content-wrapper { border-radius: 0 !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: "Manrope", sans-serif; }
.pop img { width: 100%; height: 140px; object-fit: cover; }
.pop div { padding: 12px 14px 14px; }
.pop strong { display: block; font-size: 15px; font-weight: 600; }
.pop span { font-size: 12px; color: var(--ink-2); }
.pop, .pop strong { color: var(--ink); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; margin-top: 14px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.legend .k-preservation { background: var(--brick); }
.legend .k-commercial { background: var(--slate); }
.legend .k-residential { background: #8a8f6a; }
@media (max-width: 760px) {
  .map-shell { height: auto; }
  .map { position: relative; height: 62vh; }
  .map-panel { position: relative; left: 0; top: 0; width: auto; box-shadow: none; }
}

/* Venues marquee */
.venues-band { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 60px); }
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.marquee .track { display: inline-flex; animation: slide 70s linear infinite; padding: 26px 0; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 80s; }
.marquee span { font-size: clamp(28px, 4vw, 56px); font-weight: 300; letter-spacing: -0.02em; padding: 0 28px; }
.marquee span::after { content: "·"; margin-left: 56px; color: #6b747c; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* CTA + footer */
.cta { position: relative; overflow: hidden; color: #fff; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,16,0.55); }
.cta .wrap { position: relative; z-index: 2; padding-top: clamp(100px, 16vw, 220px); padding-bottom: clamp(100px, 16vw, 220px); }
.cta .label, .next-project .label, .p-hero .label { color: rgba(255,255,255,0.75); }
.cta a.big { display: inline-block; margin-top: 28px; font-size: clamp(22px, 2.4vw, 32px); border-bottom: 1px solid #fff; padding-bottom: 6px; }
.site-footer { background: var(--night); color: #cfd4d8; padding: 72px 0 36px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 170px; height: auto; }
.site-footer .tagline { max-width: 34ch; margin-top: 22px; color: #9aa3ab; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; line-height: 2; }
.site-footer .fine { margin-top: 64px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #7d868e; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

/* Work index */
.page-top { padding-top: clamp(140px, 18vw, 220px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 84px; background: rgba(244,241,235,0.94); backdrop-filter: blur(10px); z-index: 20; }
.toolbar .group { display: flex; gap: 8px; flex-wrap: wrap; }
#views .count { align-self: center; margin-right: 10px; }
.count { font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .toolbar { top: 68px; } }

.grid-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); row-gap: 56px; margin-top: 48px; }
.grid-view .card .ph { aspect-ratio: 4 / 5; }
/* Middle column sits lower; site.js moves the class when a filter hides cards */
.grid-view .card.mid { transform: translateY(56px); }
.grid-view .card.gone { display: none; }
@media (max-width: 1000px) { .grid-view { grid-template-columns: repeat(2, 1fr); } .grid-view .card.mid { transform: none; } }
@media (max-width: 600px) { .grid-view { grid-template-columns: 1fr; } }

.list-view { margin-top: 32px; }
.row {
  display: grid; grid-template-columns: 2.2fr 1.6fr 1.6fr 0.6fr 2fr; gap: 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding 0.4s var(--ease), color 0.3s;
}
.row.head-row { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); padding: 12px 0; }
.row:not(.head-row):hover { padding-left: 16px; color: var(--slate); }
.row .n { font-size: clamp(18px, 1.6vw, 22px); }
.row .s { font-size: 14px; color: var(--ink-2); }
.row.gone { display: none; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr auto; } .row > :nth-child(3), .row > :nth-child(5) { display: none; } .row > :nth-child(2) { display: none; } }

.view-panel[hidden] { display: none !important; }
.fade-swap { animation: fadeUp 0.7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Project page */
.p-hero { position: relative; height: 92svh; min-height: 520px; overflow: hidden; color: #fff; background: var(--night); }
.p-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.p-hero.in img { transform: scale(1); }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65)); }
.p-hero .wrap { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); z-index: 2; }
.p-hero .label { color: rgba(255,255,255,0.75); }
.p-body { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 110px); }
.facts { list-style: none; padding: 0; margin: 0; position: sticky; top: 120px; align-self: start; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .label { padding-top: 3px; }
.awards-list { margin-top: 48px; }
.awards-list .item { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.awards-list .item::before { content: "★"; color: var(--brick); font-size: 14px; }
.awards-list .credit { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.p-body .lede + .lede { margin-top: 1em; }
@media (max-width: 900px) { .p-body { grid-template-columns: 1fr; } .facts { position: static; } }

.gallery { columns: 2; column-gap: clamp(12px, 1.6vw, 24px); }
.gallery button { padding: 0; display: block; width: 100%; margin: 0 0 clamp(12px, 1.6vw, 24px); break-inside: avoid; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 600px) { .gallery { columns: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,14,16,0.97); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: fadeUp 0.4s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; }
.lightbox .lb-btn { position: absolute; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 16px; }
.lightbox .prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lightbox .next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lightbox .close { top: 16px; right: 16px; }
.lightbox .counter { bottom: 16px; left: 50%; transform: translateX(-50%); color: #9aa3ab; }

.next-project { position: relative; display: block; overflow: hidden; color: #fff; height: 70vh; min-height: 420px; }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.next-project::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,16,0.5); transition: background 0.6s; }
.next-project:hover img { transform: scale(1.05); }
.next-project:hover::after { background: rgba(12,14,16,0.35); }
.next-project .wrap { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; }

/* Firm + contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.quote { font-size: clamp(30px, 4.4vw, 68px); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.quote::before { content: "“"; display: block; color: var(--brick); font-size: 1.6em; line-height: 0.6; margin-bottom: 12px; }
.body-copy { margin-top: 40px; color: var(--ink-2); max-width: 62ch; }
.approach { align-self: end; color: var(--ink-2); max-width: 56ch; }
.approach p:first-child { margin-top: 0; }
.approach p:last-child { margin-bottom: 0; }
.venue-grid { columns: 4; column-gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.venue-grid li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 16px; break-inside: avoid; transition: color 0.3s, padding 0.3s; }
.venue-grid li:hover { color: #fff; padding-left: 8px; }
@media (max-width: 900px) { .venue-grid { columns: 2; } }

.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 17px; background: transparent; border: 0; border-bottom: 1px solid var(--ink-2); padding: 10px 0; color: var(--ink); border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--paper); padding: 16px 26px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; justify-self: start; transition: background 0.3s; }
.btn:hover { background: var(--slate); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.contact-lines { font-style: normal; font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.7; }
.contact-lines a { border-bottom: 1px solid var(--line); }
.form-note { font-size: 15px; color: var(--ink-2); margin: 0; min-height: 1.6em; }
.form.sent .form-note { color: var(--ink); }
.form .hp { position: absolute; left: -9999px; }

/* Used for still screenshots: everything shown, nothing waiting to animate in */
.still .rv { opacity: 1; transform: none; transition: none; }
.still .words .w { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
}
