:root {
  --plaster: #ece2d8;
  --plaster-2: #e0d3c4;
  --paper: #f5efe7;
  --jamb: #d6c6b3;
  --ink: #231d18;
  --mute: #66584b;
  --line: #d2c2ae;
  --clay: #96401f;
  --night: #1c1713;
  --night-2: #2a231d;
  --cream: #efe6db;
  --cream-mute: #ab9d8d;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--plaster); color-scheme: light; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 350;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 14px; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

.eyebrow {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--clay); display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 14px; height: 22px; border: 1px solid currentColor; border-bottom: 0; border-radius: 999px 999px 0 0; }
.eyebrow--light { color: #d9a487; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
.w > span { display: inline-block; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--plaster);
  display: grid; place-items: center; align-content: center; gap: 28px;
}
.loader__arch { width: clamp(64px, 9vw, 96px); height: auto; overflow: visible; }
.loader__arch path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.loader__word {
  font-family: var(--display); font-weight: 450; font-size: clamp(13px, 1.6vw, 16px); letter-spacing: .5em; text-transform: uppercase;
  display: flex; align-items: center; gap: .9em; opacity: 0; margin-right: -.5em;
}
.loader__word i { width: 1px; height: 1em; background: var(--clay); }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } body.is-loading { overflow: auto; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--pad);
  color: var(--ink); transition: color .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(20, 15, 12, .5), rgba(20, 15, 12, 0)); opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-light { color: var(--paper); }
.nav.is-light::before { opacity: 1; }
.nav { transition: color .5s var(--ease), background-color .4s, box-shadow .4s, transform .6s var(--ease); }
.nav.is-solid { background: rgba(236, 226, 216, .95); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid.is-light { background: rgba(28, 23, 19, .95); box-shadow: 0 1px 0 rgba(239, 230, 219, .12); }
.nav.is-solid::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a, .nav__cta { position: relative; padding: 6px 0; }
.nav__links a::after, .nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__mark { font-family: var(--display); font-weight: 500; font-size: clamp(14px, 1.45vw, 19px); letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; margin-right: -.42em; font-variation-settings: "opsz" 24; }
.nav__cta { justify-self: end; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ======================================================================
   SEQUENCE (static first: no-JS and reduced motion read this layout)
   ====================================================================== */
.seq__stage { position: relative; }
.wall {
  --door-w: min(64vw, 340px);
  position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) var(--pad) 0;
  display: flex; flex-direction: column; gap: 22px; overflow: hidden;
}
.wall__kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.wall__kicker i { width: 24px; height: 1px; background: var(--clay); }
.wall__copy { display: grid; gap: 22px; }
.wall__title { font-weight: 300; font-size: clamp(34px, 3.7vw, 62px); line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.wall__title > span { display: block; text-wrap: balance; }
.wall__b { font-style: italic; }
.wall__by { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.wall__by::before { content: "— "; color: var(--clay); }
.wall__door {
  position: relative; z-index: 1; width: var(--door-w); aspect-ratio: 1 / 1.58; margin: 12px auto 0; overflow: hidden;
  border-radius: 999px 999px 0 0; box-shadow: 0 0 0 9px var(--jamb);
}
.wall__door img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.wall__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 12svh; background: var(--plaster-2); border-top: 1px solid var(--line); }
.wall__hint { display: none; }

.room { position: relative; padding: 0 var(--pad); margin: 0 0 clamp(64px, 9vw, 120px); }
.room:first-of-type { margin-top: clamp(64px, 9vw, 120px); }
.room__pic { overflow: hidden; border-radius: clamp(80px, 20vw, 320px) clamp(80px, 20vw, 320px) 0 0; }
.room__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--pos, 50% 50%); }
.room__dim, .room__shade, .room__door, .room__next, .seq__count { display: none; }
.room__cap { display: grid; gap: 4px; padding-top: 20px; max-width: 760px; }
.room__no { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); }
.room__no i { font-style: normal; opacity: .7; }
.room__name { font-weight: 300; font-size: clamp(34px, 4.4vw, 72px); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144; margin: 4px 0 6px; }
.room__meta { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.room__credit { font-family: var(--sans); font-size: 13px; line-height: 1.5; opacity: .82; }
.room__note { margin-top: 10px; padding-left: 14px; border-left: 1px solid var(--clay); font-style: italic; font-size: 16px; line-height: 1.45; max-width: 46ch; }

/* ---------- motion mode: one stage, rooms stacked, doors cut into them ---------- */
html.js:not(.rm) .seq__stage { height: 100vh; overflow: hidden; background: var(--plaster); }
html.js:not(.rm) .wall {
  --door-w: min(23vw, 33vh);
  --door-h: calc(var(--door-w) * 1.6);
  --floor: 15vh;
  --gap: clamp(28px, 3.2vw, 56px);
  position: absolute; inset: 0; display: block; padding: 0; min-height: 0; transform-origin: 50% 70%;
  background: radial-gradient(120% 90% at 50% 38%, #f2eae1 0%, var(--plaster) 55%, #e6dbcf 100%);
}
html.js:not(.rm) .wall__floor { height: var(--floor); background: linear-gradient(var(--plaster-2), #d9cbbb); }
html.js:not(.rm) .wall__door {
  position: absolute; margin: 0; left: calc(50% - var(--door-w) / 2); bottom: var(--floor);
  width: var(--door-w); height: var(--door-h); aspect-ratio: auto; background: transparent; overflow: visible;
  box-shadow: 0 0 0 11px var(--jamb), 0 0 0 12px rgba(35, 29, 24, .12), 0 50px 90px -30px rgba(60, 40, 25, .35);
}
html.js:not(.rm) .wall__door img { visibility: hidden; }
html.js:not(.rm) .wall__copy { display: contents; }
html.js:not(.rm) .wall__kicker { position: absolute; left: var(--pad); top: calc(var(--nav-h) + 6vh); }
html.js:not(.rm) .wall__title { position: absolute; inset: 0; pointer-events: none; }
html.js:not(.rm) .wall__a, html.js:not(.rm) .wall__b {
  position: absolute; bottom: calc(var(--floor) + var(--door-h) * .36); width: calc(50% - var(--door-w) / 2 - var(--gap) - var(--pad));
}
html.js:not(.rm) .wall__a { right: calc(50% + var(--door-w) / 2 + var(--gap)); text-align: right; max-width: 6.6em; }
html.js:not(.rm) .wall__b { max-width: 8.4em; }
html.js:not(.rm) .wall__b { left: calc(50% + var(--door-w) / 2 + var(--gap)); }
html.js:not(.rm) .wall__by { position: absolute; left: calc(50% + var(--door-w) / 2 + var(--gap)); bottom: calc(var(--floor) + var(--door-h) * .36 - 34px); }
html.js:not(.rm) .wall__hint {
  display: flex; align-items: center; gap: 12px; position: absolute; left: 50%; bottom: calc(var(--floor) / 2); transform: translate(-50%, 50%);
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); white-space: nowrap;
}
.wall__hint i { width: 1px; height: 22px; background: var(--clay); transform-origin: 50% 0; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

html.js:not(.rm) .room { position: absolute; inset: 0; margin: 0; padding: 0; visibility: hidden; }
html.js:not(.rm) .room__pic { position: absolute; inset: 0; border-radius: 0; }
html.js:not(.rm) .room__pic img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; will-change: transform; }
html.js:not(.rm) .room__dim { display: block; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 70% at 50% 55%, rgba(16, 12, 9, .3), rgba(16, 12, 9, .62)); }
html.js:not(.rm) .room__shade {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 13, 10, .82) 0%, rgba(18, 13, 10, .42) 30%, rgba(18, 13, 10, 0) 58%), linear-gradient(rgba(18, 13, 10, .38), rgba(18, 13, 10, 0) 22%);
}
html.js:not(.rm) .room__door {
  --rd-w: min(15vw, 24vh);
  display: block; position: absolute; pointer-events: none; border-radius: 999px 999px 0 0;
  box-shadow: 0 0 0 7px rgba(239, 230, 219, .94), 0 0 0 8px rgba(35, 29, 24, .25), 0 40px 80px rgba(10, 8, 6, .45);
  width: var(--rd-w); height: calc(var(--rd-w) * 1.6); left: calc(50% - var(--rd-w) / 2); bottom: 17vh;
}
html.js:not(.rm) .room__next {
  display: block; position: absolute; left: 50%; bottom: calc(17vh + min(15vw, 24vh) * 1.6 + 18px); transform: translateX(-50%);
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--paper);
  white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 2px 18px rgba(0, 0, 0, .6); opacity: 0;
}
.room__next span { opacity: .72; margin-right: .7em; font-weight: 500; }
html.js:not(.rm) .room__cap {
  position: absolute; left: var(--pad); bottom: clamp(28px, 6vh, 64px); width: min(34vw, 520px); padding: 0; color: var(--paper);
}
html.js:not(.rm) .room__no { color: #f0b796; }
html.js:not(.rm) .room__note { border-color: #f0b796; }
html.js:not(.rm) .seq__count {
  display: flex; align-items: center; gap: 12px; position: absolute; right: var(--pad); bottom: clamp(28px, 6vh, 64px); z-index: 30;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--paper); opacity: 0; font-variant-numeric: tabular-nums;
}
.seq__count i { width: 40px; height: 1px; background: currentColor; opacity: .6; }

/* ======================================================================
   ABOUT
   ====================================================================== */
.about { background: var(--plaster); padding: clamp(96px, 13vw, 200px) var(--pad) clamp(80px, 10vw, 160px); position: relative; z-index: 2; }
.about__inner { max-width: 1320px; margin: 0 auto; }
.about__quote { margin: 28px 0 clamp(64px, 9vw, 128px); }
.about__quote p { font-weight: 300; font-style: italic; font-size: clamp(28px, 3.7vw, 60px); line-height: 1.12; letter-spacing: -.018em; max-width: 24ch; font-variation-settings: "opsz" 144; }
.about__quote footer { margin-top: 22px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.about__quote footer::before { content: "— "; color: var(--clay); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__figs { position: relative; padding-bottom: 60px; }
.arch { overflow: hidden; border-radius: 999px 999px 0 0; background: var(--jamb); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--big { width: 82%; aspect-ratio: 3 / 4.2; }
.arch--small { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4.4; box-shadow: 0 0 0 10px var(--plaster); }
.about__cap { margin-top: 16px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); max-width: 60%; }
.about__text { max-width: 60ch; display: grid; gap: 1.1em; padding-top: 8px; }
.about__lede { font-size: clamp(22px, 2vw, 28px); line-height: 1.35; font-weight: 400; letter-spacing: -.01em; }
.about__aside { font-style: italic; color: var(--mute); padding-top: 1em; border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.fact { padding: 22px 22px 0 0; display: grid; gap: 8px; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact b { font-weight: 300; font-size: clamp(34px, 3.8vw, 60px); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.fact b em { font-style: italic; }
.fact span { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.team { margin-top: clamp(64px, 8vw, 112px); }
.team__list { margin-top: 24px; columns: 3 240px; column-gap: clamp(24px, 4vw, 64px); }
.team__list li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.team__list span { font-size: 18px; }
.team__list i { font-style: normal; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-align: right; }

/* ======================================================================
   INDEX (evening: the bars are lit)
   ====================================================================== */
.idx { position: relative; background: var(--night); color: var(--cream); padding: clamp(96px, 12vw, 180px) var(--pad) clamp(80px, 10vw, 140px); }
.idx__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(40px, 6vw, 72px); }
.idx__head .eyebrow { grid-column: 1 / -1; }
.idx__title { font-weight: 300; font-size: clamp(46px, 8vw, 132px); line-height: .95; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.idx__title em { font-style: italic; color: #e3a684; }
.idx__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px; border: 1px solid rgba(239, 230, 219, .3); border-radius: 999px; color: var(--cream); transition: background .3s, color .3s, border-color .3s; }
.chip i { font-style: normal; opacity: .7; margin-left: 4px; }
.chip:hover { border-color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--night); border-color: var(--cream); }
.idx__cols, .idx__row { display: grid; grid-template-columns: 64px minmax(0, 1.7fr) minmax(0, 1.3fr) minmax(0, .7fr) 64px; gap: 16px; align-items: baseline; }
.idx__cols { padding-bottom: 12px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-mute); }
.idx__cols span:last-child, .idx__year { text-align: right; }
.idx__list { border-bottom: 1px solid rgba(239, 230, 219, .16); }
.idx__item { border-top: 1px solid rgba(239, 230, 219, .16); }
.idx__item[hidden] { display: none; }
.idx__row { width: 100%; padding: 18px 0; position: relative; }
.idx__n, .idx__type, .idx__year, .idx__place { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--cream-mute); font-variant-numeric: tabular-nums; }
.idx__type, .idx__place { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.idx__name { font-weight: 300; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; transition: transform .6s var(--ease), color .3s; font-variation-settings: "opsz" 96; }
.idx__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(227, 166, 132, .08), rgba(227, 166, 132, 0) 70%); opacity: 0; transition: opacity .4s; }
.idx__row:hover::before, .idx__row:focus-visible::before { opacity: 1; }
.idx__row:hover .idx__name, .idx__row:focus-visible .idx__name { transform: translateX(14px); color: #f3c9ae; font-style: italic; }
.idx__row:focus-visible { outline-color: #e3a684; outline-offset: -2px; }
.idx__thumb { display: none; }
.peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 220px; aspect-ratio: 3 / 4; margin: -165px 0 0 -110px; pointer-events: none;
  overflow: hidden; border-radius: 999px 999px 0 0; opacity: 0; transform: scale(.85); box-shadow: 0 0 0 6px var(--night-2);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ======================================================================
   RECORD
   ====================================================================== */
.rec { background: var(--paper); padding: clamp(96px, 12vw, 180px) 0 0; overflow: hidden; }
.rec__inner { padding: 0 var(--pad); max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); }
.rec__title { margin-top: 18px; font-weight: 300; font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.rec__note { margin-top: 20px; color: var(--mute); max-width: 32ch; font-size: 16px; }
.rec__head { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.rec__list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) 52px; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.rec__list li:last-child { border-bottom: 1px solid var(--line); }
.rec__pub { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.rec__what { font-size: 19px; line-height: 1.4; }
.rec__year { font-family: var(--sans); font-size: 13px; text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.press { margin-top: clamp(80px, 10vw, 140px); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.press__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 0 var(--pad); }
.press__track li { font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 38px); white-space: nowrap; letter-spacing: -.01em; }
.press__track li::after { content: "·"; margin: 0 .6em; color: var(--clay); font-style: normal; }
html.js:not(.rm) .press__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0; will-change: transform; }

/* ======================================================================
   CONTACT + FOOTER
   ====================================================================== */
.contact { background: var(--plaster); padding: clamp(96px, 12vw, 180px) var(--pad) clamp(80px, 9vw, 140px); }
.contact__inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 100px); align-items: end; }
.contact__title { margin: 20px 0 clamp(40px, 5vw, 64px); font-weight: 300; font-size: clamp(44px, 6.6vw, 110px); line-height: .98; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.contact__list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact__list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.contact__list dd a { font-size: 22px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); overflow-wrap: anywhere; }
.contact__list dd a:hover { background-size: 100% 1px; }
.contact__list dd a.contact__big { font-weight: 300; font-size: clamp(26px, 3.4vw, 52px); letter-spacing: -.02em; line-height: 1.1; color: var(--clay); }
.arch--contact { aspect-ratio: 3 / 4.3; box-shadow: 0 0 0 12px var(--jamb); }

.footer { background: var(--plaster-2); padding: clamp(56px, 8vw, 100px) var(--pad) 32px; border-top: 1px solid var(--line); }
.footer__mark { display: flex; justify-content: space-between; font-weight: 400; font-size: clamp(36px, 9.4vw, 168px); line-height: 1; letter-spacing: .14em; text-transform: uppercase; font-variation-settings: "opsz" 144; color: var(--ink); }
.footer__concept { margin-top: clamp(40px, 5vw, 64px); max-width: 76ch; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--mute); }
.footer__concept a, .footer__studio { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(35, 29, 24, .35); }
.footer__studio { display: inline-block; margin-top: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--mute); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(24, 19, 15, .96); color: var(--cream); display: grid; place-items: center; padding: 72px var(--pad) 32px; overflow-y: auto; }
.lightbox[hidden] { display: none; }
.lightbox__close { position: fixed; top: 20px; right: var(--pad); z-index: 2; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); display: flex; gap: 10px; align-items: center; padding: 10px 0; }
.lightbox :focus-visible { outline-color: #e3a684; }
.lightbox__close i { font-style: normal; font-size: 10px; padding: 3px 6px; border: 1px solid rgba(239, 230, 219, .4); border-radius: 3px; }
.lightbox__fig { width: min(1200px, 100%); display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.lightbox__pic { overflow: hidden; border-radius: clamp(80px, 18vw, 300px) clamp(80px, 18vw, 300px) 0 0; background: var(--night-2); }
.lightbox__pic img { width: 100%; height: auto; max-height: 76vh; object-fit: cover; }
.lightbox figcaption { display: grid; gap: 8px; }
.lightbox__name { font-weight: 300; font-size: clamp(32px, 3.4vw, 54px); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.lightbox__meta { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e3a684; }
.lightbox__credit { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: var(--cream-mute); }
.lightbox__link { margin-top: 10px; font-family: var(--sans); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

/* ======================================================================
   MOBILE
   ====================================================================== */
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav { grid-template-columns: auto 1fr; }
  .nav__links { display: none; }
  .nav__mark { font-size: 13px; letter-spacing: .34em; margin-right: 0; }
  .nav__cta { font-size: 11px; letter-spacing: .12em; }

  html.js:not(.rm) .wall { --door-w: min(52vw, 30vh); --floor: 11vh; }
  html.js:not(.rm) .wall__copy { display: flex; flex-direction: column; gap: 16px; position: absolute; top: calc(var(--nav-h) + 3vh); left: var(--pad); right: var(--pad); }
  html.js:not(.rm) .wall__kicker, html.js:not(.rm) .wall__title, html.js:not(.rm) .wall__by { position: static; }
  html.js:not(.rm) .wall__a, html.js:not(.rm) .wall__b { position: static; width: auto; max-width: none; text-align: left; }
  html.js:not(.rm) .wall__title { font-size: clamp(30px, 8.6vw, 40px); }
  html.js:not(.rm) .room__door { --rd-w: 30vw; bottom: 47vh; }
  html.js:not(.rm) .room__next { bottom: calc(47vh + 48vw + 14px); }
  html.js:not(.rm) .room__cap { width: auto; right: var(--pad); bottom: 24px; }
  html.js:not(.rm) .room__name { font-size: 38px; }
  .room__pic img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
  html.js:not(.rm) .room__pic img { object-position: 50% 50%; }
  .wall__door img { object-position: 50% 50%; }
  html.js:not(.rm) .room__note { font-size: 14.5px; }
  html.js:not(.rm) .room__shade { background: linear-gradient(to top, rgba(18, 13, 10, .86) 0%, rgba(18, 13, 10, .5) 34%, rgba(18, 13, 10, 0) 60%), linear-gradient(rgba(18, 13, 10, .4), rgba(18, 13, 10, 0) 18%); }
  html.js:not(.rm) .seq__count { top: calc(var(--nav-h) + 6px); bottom: auto; font-size: 11px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__figs { max-width: 420px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); }

  .idx__head { grid-template-columns: 1fr; }
  .idx__cols { display: none; }
  .idx__row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "t name year" "t place year"; gap: 2px 14px; align-items: center; padding: 14px 0; }
  .idx__n, .idx__type { display: none; }
  .idx__name { grid-area: name; font-size: 25px; }
  .idx__place { grid-area: place; font-size: 11px; }
  .idx__year { grid-area: year; }
  .idx__thumb { display: block; grid-area: t; width: 52px; height: 66px; object-fit: cover; border-radius: 999px 999px 0 0; }

  .rec__inner { grid-template-columns: 1fr; }
  .rec__head { position: static; }
  .rec__list li { grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 14px; }
  .rec__pub { grid-column: 1 / -1; }
  .rec__what { font-size: 17px; }

  .contact__inner { grid-template-columns: 1fr; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .arch--contact { width: 70%; max-width: 320px; }
  .lightbox__fig { grid-template-columns: 1fr; }
  .lightbox__pic img { max-height: 56vh; }
}

/* touch devices of any width get inline thumbnails on the index */
@media (hover: none), (pointer: coarse) {
  .idx__row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "t name year" "t place year"; gap: 2px 14px; align-items: center; }
  .idx__n, .idx__type { display: none; }
  .idx__name { grid-area: name; }
  .idx__place { grid-area: place; }
  .idx__year { grid-area: year; }
  .idx__thumb { display: block; grid-area: t; width: 52px; height: 66px; object-fit: cover; border-radius: 999px 999px 0 0; }
  .idx__cols { display: none; }
  .peek { display: none; }
}
