/* Layout: a private gallery. Works hang full-bleed on deep forest walls with museum-label captions;
   two vellum rooms (process, commissions) read like drawing paper. One signature moment:
   the hero develops from the hand drawing into the finished light. */
:root {
  --wall: #13201B;        /* gallery wall, the brand's deep forest */
  --wall-2: #1A2A24;      /* raised wall: contact */
  --ivory: #EAE5D8;       /* type on the wall */
  --ivory-2: #A9AEA1;     /* secondary type on the wall */
  --hair: rgba(234, 229, 216, 0.16);
  --vellum: #E6E7DE;      /* drawing-paper rooms */
  --ink: #17231E;         /* type on vellum */
  --ink-2: #55605A;
  --rule: #C6C9BC;
  --brass: #B89A63;       /* the one accent: focus, the developing line */

  --f-serif: "Noto Serif Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.375rem;
  --fs-xl: clamp(1.625rem, 2.2vw, 2.125rem);
  --fs-2xl: clamp(2.25rem, 4.2vw, 3.75rem);
  --fs-3xl: clamp(3.25rem, 8.4vw, 8rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1600px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--wall); color: var(--ivory);
  font-family: var(--f-sans); font-size: var(--fs-m); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 300; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
:focus-visible { outline: 1px solid var(--focus, var(--brass)); outline-offset: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ivory); color: var(--wall); padding: 10px 14px; }

.on-wall { --bg: var(--wall); --fg: var(--ivory); --fg-2: var(--ivory-2); --line: var(--hair); --focus: var(--brass); background: var(--bg); color: var(--fg); }
.on-vellum { --bg: var(--vellum); --fg: var(--ink); --fg-2: var(--ink-2); --line: var(--rule); --focus: var(--ink); background: var(--bg); color: var(--fg); color-scheme: light; }
.on-raised { --bg: var(--wall-2); background: var(--bg); }

/* Links and buttons */
.tlink {
  text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tlink:hover { background-size: 0 1px; background-position: 100% 100%; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 28px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; color: var(--fg); text-decoration: none; cursor: pointer;
  font: 500 var(--fs-s)/1 var(--f-sans); letter-spacing: 0.01em;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); } }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .btn-solid:hover { background: transparent; color: var(--fg); } }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  --fg: var(--ivory); --bg: var(--wall); color: var(--ivory);
  transition: background-color .5s, border-color .5s, transform .6s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(19, 32, 27, 0.94); border-bottom-color: var(--hair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.logo { position: relative; z-index: 2; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: var(--fs-s); }
.nav a:not(.btn) { text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.nav a:not(.btn):hover { background-size: 100% 1px; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; position: relative; z-index: 2; background: none; border: 0; color: var(--ivory); font: 500 var(--fs-s)/1 var(--f-sans); cursor: pointer; padding: 12px 0; }
.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--wall); color: var(--ivory); display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s;
}
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.25rem, 9vw, 3.5rem); line-height: 1.15; text-decoration: none; }
.menu p { margin-top: 40px; color: var(--ivory-2); font-size: var(--fs-s); }
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; height: 88svh; min-height: 560px; overflow: hidden; background: var(--wall); }
@media (min-width: 900px) { .hero { height: min(100svh, calc(56.25vw + 120px)); min-height: 640px; } }
.hero-media { position: absolute; inset: 0; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; -webkit-user-drag: none; }
@media (min-width: 900px) { .hero-media img { object-position: 50% 50%; } }
.js .hero-render { clip-path: inset(0 100% 0 0); }
.hero.is-developed .hero-render { clip-path: inset(0 0 0 0); transition: clip-path 3.2s var(--ease); }
.hero-edge { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--brass); opacity: 0; pointer-events: none; }
.js .hero-edge { opacity: 1; }
.hero.is-developed .hero-edge { left: 100%; opacity: 0; transition: left 3.2s var(--ease), opacity .8s ease 3s; }
.hero-lens { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-out); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 190px at var(--lx, 50%) var(--ly, 50%), #000 72%, transparent 100%);
  mask-image: radial-gradient(circle 190px at var(--lx, 50%) var(--ly, 50%), #000 72%, transparent 100%); }
.hero-media.is-lensing .hero-lens { opacity: 1; }
.hero-media.is-holding .hero-lens { opacity: 1; -webkit-mask-image: none; mask-image: none; }
.hero-ring { position: absolute; width: 380px; height: 380px; margin: -190px 0 0 -190px; left: var(--lx, 50%); top: var(--ly, 50%);
  border: 1px solid rgba(234, 229, 216, 0.45); border-radius: 50%; opacity: 0; transition: opacity .5s; pointer-events: none; }
.hero-media.is-lensing .hero-ring { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19, 32, 27, .62) 0%, rgba(19, 32, 27, 0) 20%, rgba(19, 32, 27, 0) 44%, rgba(19, 32, 27, .84) 100%); }
.hero > .hero-shade { background:
  linear-gradient(90deg, rgba(19, 32, 27, .5) 0%, rgba(19, 32, 27, 0) 55%),
  linear-gradient(180deg, rgba(19, 32, 27, .62) 0%, rgba(19, 32, 27, 0) 20%, rgba(19, 32, 27, 0) 40%, rgba(19, 32, 27, .86) 100%); }
@media (max-width: 760px) { .hero > .hero-shade { background: linear-gradient(180deg, rgba(19, 32, 27, .6) 0%, rgba(19, 32, 27, 0) 18%, rgba(19, 32, 27, .15) 34%, rgba(19, 32, 27, .9) 72%, rgba(19, 32, 27, .96) 100%); } }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); pointer-events: none; }
.hero-copy .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero h1 { font-size: var(--fs-3xl); line-height: .94; letter-spacing: -0.025em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { animation: rise 1.4s var(--ease-out) .15s both; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-lede { margin-top: 22px; max-width: 46ch; color: var(--ivory); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.hero-label { text-align: right; font-size: var(--fs-xs); color: var(--ivory-2); line-height: 1.5; }
.hero-label strong { display: block; font-weight: 500; color: var(--ivory); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
@media (max-width: 760px) {
  .hero-copy .wrap { grid-template-columns: 1fr; }
  .hero-label { text-align: left; }
  .hero .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-render { clip-path: none; }
  .js .hero-edge { display: none; }
  .js .hero h1 .ln > span { animation: none; }
}

/* ---------------- Sections ---------------- */
.section { padding-block: clamp(88px, 11vw, 176px); }
.section-tight { padding-block: clamp(56px, 7vw, 112px); }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(40px, 6vw, 88px); }
.head-row h2 { font-size: var(--fs-2xl); }
.head-row p { max-width: 44ch; color: var(--fg-2); }

/* Statement */
.statement .lead { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.75rem, 3.3vw, 3.125rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 30ch; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin-top: clamp(48px, 7vw, 96px); }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts dt { font-size: var(--fs-xs); color: var(--fg-2); margin-bottom: 6px; }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.statement.has-portrait { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: clamp(32px, 6vw, 112px); align-items: center; }
.statement.has-portrait .facts { grid-column: 1 / -1; }
.portrait .frame { aspect-ratio: 4 / 5; }
.portrait .frame img { top: 0; height: 100%; }
.portrait figcaption { margin-top: 12px; font-size: var(--fs-xs); color: var(--fg-2); }
@media (max-width: 800px) {
  .statement.has-portrait { grid-template-columns: 1fr; row-gap: 32px; }
  .portrait { width: min(100%, 420px); }
}

/* Selected work */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(72px, 10vw, 168px); }
.piece { min-width: 0; text-decoration: none; display: block; }
.w-full { grid-column: 1 / -1; }
.w-10c { grid-column: 2 / 12; }
.w-7l { grid-column: 1 / 8; }
.w-5r { grid-column: 9 / 13; margin-top: clamp(80px, 14vw, 240px); }
.w-5l { grid-column: 1 / 6; }
.w-7r { grid-column: 7 / 13; margin-top: clamp(80px, 12vw, 200px); }
.frame { position: relative; overflow: hidden; background: var(--wall-2); }
.r-cine { aspect-ratio: 21 / 9; }
.r-wide { aspect-ratio: 16 / 9; }
.r-land { aspect-ratio: 3 / 2; }
.r-port { aspect-ratio: 4 / 5; }
.frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover;
  transform: translate3d(0, var(--drift, 0px), 0) scale(var(--zoom, 1)); transition: transform 1.4s var(--ease-out); will-change: transform; }
@media (hover: hover) and (pointer: fine) { .piece:hover .frame img { --zoom: 1.035; } }
.label { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; margin-top: 20px; }
.label h3 { font-size: var(--fs-xl); }
.label p { grid-column: 1; color: var(--fg-2); font-size: var(--fs-s); }
.label .count { grid-row: 1; grid-column: 2; align-self: end; font-size: var(--fs-xs); color: var(--fg-2); white-space: nowrap; }
.piece h3 span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .piece:hover h3 span { background-size: 100% 1px; } }
@media (max-width: 800px) {
  .works { row-gap: 64px; }
  .w-full, .w-10c, .w-7l, .w-5r, .w-5l, .w-7r { grid-column: 1 / -1; margin-top: 0; }
  .r-cine { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .frame img { top: 0; height: 100%; transform: none; transition: none; } }

/* Index of all projects */
.index { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) 90px; align-items: baseline; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.index .name { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-xl); line-height: 1.15; transition: transform .7s var(--ease-out); }
.index .kind, .index .n { font-size: var(--fs-s); color: var(--fg-2); }
.index .n { text-align: right; }
.index a:focus-visible .name { transform: translateX(14px); }
@media (hover: hover) and (pointer: fine) { .index a:hover .name { transform: translateX(14px); } }
@media (max-width: 700px) {
  .index a { grid-template-columns: minmax(0, 1fr) auto; }
  .index .kind { grid-column: 1; grid-row: 2; }
  .index .n { grid-row: 1 / 3; grid-column: 2; align-self: center; }
}
.index-preview { position: fixed; left: 0; top: 0; width: clamp(260px, 22vw, 380px); aspect-ratio: 4 / 3; pointer-events: none; z-index: 40;
  opacity: 0; transition: opacity .35s ease; overflow: hidden; background: var(--wall-2); }
.index-preview.is-on { opacity: 1; }
.index-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Film */
.film { position: relative; background: #0D1613; }
.film-frame { position: relative; aspect-ratio: 16 / 9; max-height: 100svh; width: 100%; overflow: hidden; }
.film-frame img, .film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 22, 19, 0) 36%, rgba(13, 22, 19, .86) 100%); pointer-events: none; }
.film-copy { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vw, 64px); }
.film-copy .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; }
.film-copy h2 { font-size: var(--fs-2xl); max-width: 16ch; }
.film-copy p { color: var(--ivory-2); font-size: var(--fs-s); margin-top: 12px; }
.play { display: inline-flex; align-items: center; gap: 18px; background: none; border: 0; color: var(--ivory); cursor: pointer; font: 500 var(--fs-s)/1 var(--f-sans); }
.play i { display: grid; place-items: center; width: 84px; height: 84px; border: 1px solid rgba(234, 229, 216, .7); border-radius: 50%; transition: background-color .5s, color .5s; }
.play svg { width: 14px; height: 14px; fill: currentColor; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) { .play:hover i { background: var(--ivory); color: var(--wall); } }
.film.is-playing .film-shade, .film.is-playing .film-copy { display: none; }
@media (max-width: 700px) { .film-frame { aspect-ratio: 4 / 5; } .play i { width: 64px; height: 64px; } }

/* Process (vellum) */
.process { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.process-stack { position: sticky; top: 14vh; aspect-ratio: 1 / 1; max-height: 74vh; overflow: hidden; background: var(--rule); }
.process-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease-out); }
.process-stack img.is-active { opacity: 1; }
.process-head h2 { font-size: var(--fs-2xl); }
.process-head p { max-width: 40ch; color: var(--fg-2); margin-top: 18px; }
.steps { list-style: none; padding: 0; margin: clamp(40px, 6vw, 80px) 0 0; counter-reset: step; }
.step { counter-increment: step; min-height: 52vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding-block: 32px; }
.step h3 { font-size: var(--fs-2xl); color: var(--fg-2); transition: color .6s; }
.step h3::before { content: counter(step); display: block; font-family: var(--f-sans); font-size: var(--fs-s); font-weight: 400; letter-spacing: 0; margin-bottom: 14px; color: var(--fg-2); }
.step.is-active h3 { color: var(--fg); }
.step p { margin-top: 16px; max-width: 40ch; color: var(--fg-2); }
.step img { display: none; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-stack { display: none; }
  .step { min-height: 0; padding-block: 28px 40px; }
  .step img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 20px; }
  .step h3 { color: var(--fg); }
}

/* Palettes (vellum) */
.palettes { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.palettes h2 { font-size: var(--fs-2xl); }
.palettes .copy p { margin-top: 20px; color: var(--fg-2); max-width: 40ch; }
.palettes .note { font-size: var(--fs-xs); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
.viewer-main { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rule); }
.viewer-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease-out); }
.viewer-main .caption { position: absolute; left: 0; bottom: 0; background: var(--vellum); color: var(--ink); font-size: var(--fs-xs); padding: 8px 12px; }
.swatches { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.swatches button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fg-2); text-align: left; font: 400 var(--fs-xs)/1.3 var(--f-sans); }
.swatches img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 6px; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .3s; }
.swatches button[aria-pressed="true"] { color: var(--fg); }
.swatches button[aria-pressed="true"] img { outline-color: var(--ink); }
@media (max-width: 900px) { .palettes { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Commissions (vellum) */
.fees { border-top: 1px solid var(--fg); }
.fee { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: 8px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fee h3 { font-size: var(--fs-xl); }
.fee p { color: var(--fg-2); }
.fee .time { font-size: var(--fs-s); color: var(--fg-2); text-align: right; }
.fee .amount { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-xl); text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.fees-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 24px; color: var(--fg-2); font-size: var(--fs-s); }
@media (max-width: 860px) {
  .fee { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fee .time { text-align: left; }
}

/* Words */
.words-main blockquote { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.625rem, 2.9vw, 2.75rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 32ch; text-wrap: pretty; }
.cite { margin-top: 28px; font-size: var(--fs-s); color: var(--fg-2); }
.cite strong { display: block; color: var(--fg); font-weight: 500; }
.cite.has-photo { display: flex; align-items: center; gap: 18px; }
.cite.has-photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--brass), 0 0 0 5px var(--bg); flex: none; }
.words-full { margin-top: 26px; max-width: 70ch; }
.words-full summary { cursor: pointer; color: var(--brass); font-size: var(--fs-s); list-style: none; display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.words-full summary::-webkit-details-marker { display: none; }
.words-full p { margin-top: 16px; color: var(--fg-2); font-size: var(--fs-m); line-height: 1.7; }
.words-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(64px, 8vw, 120px); }
.words-more figure { border-top: 1px solid var(--line); padding-top: 24px; }
.words-more blockquote { font-size: var(--fs-s); line-height: 1.65; }
.words-more .cite { margin-top: 18px; font-size: var(--fs-xs); }
@media (max-width: 860px) { .words-more { grid-template-columns: 1fr; } }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.studio .frame { aspect-ratio: 4 / 5; }
.studio .frame img { top: 0; height: 100%; transform: none; }
.studio h2 { font-size: var(--fs-2xl); margin-bottom: 28px; }
.studio .copy p + p { margin-top: 18px; }
.studio .copy p { max-width: 58ch; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin-top: 40px; border-bottom: 1px solid var(--line); }
.spec dt, .spec dd { padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--fs-s); }
.spec dt { color: var(--fg-2); padding-right: 32px; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 112px); }
.faq-grid h2 { font-size: var(--fs-2xl); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background:
  linear-gradient(currentColor, currentColor) center / 13px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 13px no-repeat; transition: transform .5s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--fg-2); max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact h2 { font-size: var(--fs-2xl); }
.contact .copy > p { margin-top: 20px; color: var(--fg-2); max-width: 40ch; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); color: var(--fg-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 var(--fs-m)/1.5 var(--f-sans); color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; transition: border-color .4s;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 24px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9AEA1' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; }
.field select option { background: var(--wall-2); color: var(--ivory); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.form-status { font-size: var(--fs-s); color: var(--fg-2); }
.form-status[data-state="ok"] { color: var(--fg); }
.form-status[data-state="error"] { color: #E3A08F; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--hair); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-block: 36px; font-size: var(--fs-s); color: var(--ivory-2); }
.site-footer img { height: 30px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Project pages ---------------- */
.p-hero { position: relative; height: 78svh; min-height: 520px; overflow: hidden; }
@media (min-width: 900px) { .p-hero { height: min(92svh, calc(50vw + 120px)); } }
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero h1 { font-size: clamp(2.75rem, 6.6vw, 6.5rem); line-height: .98; }
.crumb { font-size: var(--fs-s); color: var(--ivory-2); margin-bottom: 18px; }
.crumb a { text-decoration: none; color: var(--ivory); }
.p-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.p-intro .lead { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.3; max-width: 36ch; }
.p-intro .spec { margin-top: 0; }
@media (max-width: 860px) { .p-intro { grid-template-columns: 1fr; } }
.compare { position: relative; overflow: hidden; background: var(--wall-2); --pos: 50%; }
.compare img { width: 100%; height: auto; -webkit-user-drag: none; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .top img { width: 100%; height: 100%; object-fit: cover; }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivory); pointer-events: none; }
.compare .bar::after { content: ""; position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--ivory); border-radius: 50%; background: rgba(19, 32, 27, .35); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: var(--fs-xs); color: var(--fg-2); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); list-style: none; padding: 0; margin: 0; }
.gallery li { grid-column: span 6; min-width: 0; }
.gallery li.g-full { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--wall-2); cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.gallery li:not(.g-full) img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.025); } }
@media (max-width: 700px) { .gallery li { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } .gallery button:hover img { transform: none; } }
.p-film { margin-top: clamp(16px, 2vw, 32px); }
.next-project { display: block; position: relative; text-decoration: none; }
.next-project .frame { aspect-ratio: 21 / 9; }
.next-project .copy { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 56px); }
.next-project small { display: block; font-size: var(--fs-s); color: var(--ivory-2); margin-bottom: 10px; }
.next-project strong { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-2xl); line-height: 1; }
@media (max-width: 700px) { .next-project .frame { aspect-ratio: 4 / 3; } }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta-band h2 { font-size: var(--fs-2xl); max-width: 18ch; }

/* Lightbox */
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(13, 22, 19, .97); color: var(--ivory); }
.lightbox::backdrop { background: rgba(13, 22, 19, .9); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 64px var(--gutter) 20px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; font-size: var(--fs-s); color: var(--ivory-2); }
.lightbox button { background: transparent; color: var(--ivory); border: 0; padding: 10px 0; font: 500 var(--fs-s)/1 var(--f-sans); cursor: pointer; }
.lightbox .close { position: absolute; top: 18px; right: var(--gutter); }
.lightbox-nav { display: flex; gap: 28px; }

/* ---------------- Builders band (home) ---------------- */
.builders { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.builders h2 { font-size: var(--fs-2xl); }
.builders .copy p { margin-top: 22px; color: var(--fg-2); max-width: 40ch; }
.builders .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.b-figure { margin: 0; }
@media (max-width: 900px) { .builders { grid-template-columns: 1fr; } .builders .b-figure { order: -1; } }

/* ---------------- Community demo ---------------- */
.cm-intro { padding-block: calc(76px + clamp(40px, 6vw, 96px)) clamp(32px, 4vw, 56px); }
.cm-intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 88px); align-items: end; }
.cm-intro h1 { font-size: var(--fs-3xl); line-height: .94; letter-spacing: -0.025em; }
.cm-lede p { max-width: 44ch; }
.cm-lede .cm-fine { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--fg-2); }
@media (max-width: 860px) { .cm-intro-grid { grid-template-columns: 1fr; } }

.cm { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 104px); }
.cm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 16px; }
.cm-bar .cm-mode { margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--fg); }
.seg button { background: transparent; color: var(--fg); border: 0; border-left: 1px solid var(--fg); padding: 0 16px; min-height: 40px; cursor: pointer; font: 500 var(--fs-s)/1 var(--f-sans); transition: background-color .3s, color .3s; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.cm-select { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-s); color: var(--fg-2); }
.cm-select select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317231E' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: 0; border-bottom: 1px solid var(--fg); border-radius: 0; color: var(--fg); font: 500 var(--fs-s)/1.2 var(--f-sans); padding: 10px 26px 9px 0; cursor: pointer; }

.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px); border: 1px solid var(--ink); background: var(--vellum); }
.cm-map { position: relative; min-width: 0; display: flex; flex-direction: column; }
.cm-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.plat { display: block; width: 100%; height: auto; min-width: 620px; font-family: var(--f-sans); }
.cm-hint { display: none; margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--ink-2); }
@media (max-width: 660px) { .cm-hint { display: block; } }
.cm-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--ink-2); }
.cm-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cm-legend .n { color: var(--ink); font-variant-numeric: tabular-nums; }
.sw, .dot { display: inline-block; width: 16px; height: 11px; border: 1px solid var(--ink); flex: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.s-available .sw, .s-available .dot { background: rgba(184, 154, 99, .45); }
.s-reserved .sw, .s-reserved .dot { background: repeating-linear-gradient(45deg, rgba(23, 35, 30, .55) 0 1.2px, rgba(184, 154, 99, .15) 1.2px 4px); }
.s-sold .sw, .s-sold .dot { background: rgba(23, 35, 30, .62); }
.s-model .sw, .s-model .dot { background: var(--wall); border-color: var(--brass); }

/* the drawing */
.plat .paper { fill: var(--vellum); }
.plat .c-minor { fill: none; stroke: rgba(23, 35, 30, .09); stroke-width: .8; }
.plat .c-major { fill: none; stroke: rgba(23, 35, 30, .2); stroke-width: 1; }
.plat .elev { font-size: 9.5px; fill: var(--ink-2); letter-spacing: .04em; paint-order: stroke; stroke: var(--vellum); stroke-width: 3px; }
.plat .creek-halo { fill: none; stroke: #D2DBD5; stroke-width: 10; stroke-linecap: round; }
.plat .creek { fill: none; stroke: #7C9891; stroke-width: 2.2; stroke-linecap: round; }
.plat .pond { fill: #CDD8D2; stroke: #7C9891; stroke-width: 1.2; }
.plat .road-edge > * { fill: none; stroke: #55605A; stroke-width: 28; }
.plat .road-fill > * { fill: none; stroke: #F1F0E8; stroke-width: 25.5; }
.plat .road-mid > * { fill: none; stroke: #C6C9BC; stroke-width: 1; stroke-dasharray: 10 8; }
.plat .trees circle { fill: rgba(85, 96, 90, .1); stroke: rgba(23, 35, 30, .36); stroke-width: .7; }
.plat .trail { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 4; }
.plat .pavilion { fill: var(--vellum); stroke: var(--ink); stroke-width: 1; }
.plat .monument { fill: var(--ink); }
.plat .street { font-size: 9.5px; font-weight: 500; letter-spacing: .24em; fill: var(--ink-2); }
.plat .water-label { font-family: var(--f-serif); font-style: italic; font-size: 14px; fill: #5D7A73; letter-spacing: .04em; }
.plat .area { font-family: var(--f-serif); font-style: italic; font-size: 14px; fill: var(--ink-2); }
.plat .area.small { font-size: 11px; }
.plat .na-ring { fill: var(--vellum); stroke: var(--ink-2); stroke-width: .8; }
.plat .na { fill: var(--ink); }
.plat .na-n { font-size: 11px; font-weight: 600; fill: var(--ink); }
.plat .sb-bg { fill: var(--vellum); }
.plat .sb-a { fill: var(--ink); }
.plat .sb-b { fill: var(--vellum); stroke: var(--ink); stroke-width: .8; }
.plat .sb-t { font-size: 9.5px; fill: var(--ink-2); }
.plat .hatch-bg { fill: rgba(184, 154, 99, .16); }
.plat .hatch-ln { stroke: rgba(23, 35, 30, .5); stroke-width: 1.3; }

.plat .lot { cursor: pointer; outline: none; transition: opacity .4s var(--ease-out); }
.plat .lot path { stroke: var(--ink); stroke-width: .9; transition: fill .3s, stroke-width .2s; }
.plat .lot text { font-family: var(--f-serif); font-size: 15px; text-anchor: middle; fill: var(--ink); pointer-events: none; font-variant-numeric: lining-nums; }
.plat .s-available path { fill: rgba(184, 154, 99, .3); }
.plat .s-available:hover path { fill: rgba(184, 154, 99, .5); }
.plat .s-reserved path { fill: url(#hatch); }
.plat .s-sold path { fill: rgba(23, 35, 30, .58); }
.plat .s-sold text, .plat .s-model text { fill: var(--vellum); }
.plat .s-model path { fill: var(--wall); stroke: var(--brass); stroke-width: 1.6; }
.plat .fp { pointer-events: none; }
.plat .s-sold .fp { fill: rgba(230, 231, 222, .78); }
.plat .s-model .fp { fill: var(--brass); }
.plat .s-reserved .fp { fill: rgba(230, 231, 222, .7); stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 2; }
.plat .lot:hover path, .plat .lot:focus-visible path { stroke: var(--brass); stroke-width: 3; }
.plat .lot.is-selected path { stroke: var(--brass); stroke-width: 4; }
.plat .lot.is-dim { opacity: .2; }
.plat .lot.is-dim:hover { opacity: .45; }

.cm-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 2px; padding: 9px 12px; background: var(--ink); color: var(--vellum); font-size: var(--fs-xs); line-height: 1.35; white-space: nowrap; }
.cm-tip strong { font-weight: 600; }
.cm-tip span { color: #C9CCC1; }

.cm-panel { border-left: 1px solid var(--ink); padding: clamp(20px, 2vw, 28px); min-width: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }

.cm-panel h2 { font-size: var(--fs-xl); }
.cm-empty p { margin-top: 14px; color: var(--fg-2); font-size: var(--fs-s); }
.cm-empty .cm-count { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--fg); }
.cm-empty .cm-count strong { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-2xl); display: block; line-height: 1; margin-bottom: 6px; }
.cm-lot { display: flex; flex-direction: column; min-height: 100%; }
.cm-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--fg-2); margin-bottom: 10px; }
.cm-lot h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
.cm-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin-top: 18px; border-bottom: 1px solid var(--rule); }
.cm-facts dt, .cm-facts dd { padding: 9px 0; border-top: 1px solid var(--rule); font-size: var(--fs-s); }
.cm-facts dt { color: var(--fg-2); padding-right: 24px; }
.cm-facts dd { font-variant-numeric: tabular-nums; }
.cm-sub { font-family: var(--f-sans); font-weight: 500; font-size: var(--fs-s); letter-spacing: 0; margin-top: 26px; }
.cm-home { display: block; width: 100%; margin-top: 12px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.cm-home .ph { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rule); }
.cm-home img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cm-home:hover img { transform: scale(1.04); } }
.cm-home .nm { display: block; font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); margin-top: 12px; }
.cm-home .bl { display: block; color: var(--fg-2); font-size: var(--fs-s); margin-top: 4px; }
.cm-home .go { display: inline-block; margin-top: 10px; font-size: var(--fs-s); font-weight: 500; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.cm-plans { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.cm-plans li { border-bottom: 1px solid var(--rule); }
.cm-plans button { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 12px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.cm-plans img { width: 88px; height: 62px; object-fit: cover; background: var(--rule); }
.cm-plans .nm { display: block; font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); line-height: 1.15; }
.cm-plans .mt { display: block; font-size: var(--fs-xs); color: var(--fg-2); margin-top: 3px; }
.cm-plans button:hover .nm { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cm-actions { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.cm-actions .btn { width: 100%; }
.cm-actions p { font-size: var(--fs-xs); color: var(--fg-2); }

.cm-list { border: 1px solid var(--ink); }
.cm-table { overflow-x: auto; }
.cm-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.cm-table th, .cm-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.cm-table thead th { font-weight: 500; color: var(--fg-2); font-size: var(--fs-xs); }
.cm-table tbody th { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); }
.cm-table td .dot { margin-right: 8px; vertical-align: -1px; }
.cm-table button { background: none; border: 0; color: var(--fg); cursor: pointer; font: 500 var(--fs-s)/1.2 var(--f-sans); padding: 0 0 4px; }

@media (max-width: 900px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-panel { border-left: 0; border-top: 1px solid var(--ink); scroll-margin-top: 84px; }
  .cm-bar .cm-mode { margin-left: 0; }
}

.cm-gets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.cm-gets div { border-top: 1px solid var(--line); padding-top: 18px; }
.cm-gets dt { font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); line-height: 1.2; }
.cm-gets dd { margin-top: 12px; color: var(--fg-2); font-size: var(--fs-s); max-width: 34ch; }
.cm-steps { list-style: none; margin: 0; padding: 0; counter-reset: cms; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.cm-steps li { counter-increment: cms; border-top: 1px solid var(--line); padding-top: 18px; }
.cm-steps h3 { font-size: var(--fs-l); line-height: 1.2; }
.cm-steps h3::before { content: counter(cms); display: block; font-family: var(--f-sans); font-size: var(--fs-s); color: var(--fg-2); margin-bottom: 12px; }
.cm-steps p { margin-top: 12px; color: var(--fg-2); font-size: var(--fs-s); max-width: 34ch; }
@media (max-width: 1000px) { .cm-gets, .cm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cm-gets, .cm-steps { grid-template-columns: 1fr; } }

/* Tour */
.tour { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: #0E1814; color: var(--ivory); overflow: hidden;
  --fg: var(--ivory); --bg: #0E1814; --fg-2: var(--ivory-2); --line: var(--hair); }
.tour::backdrop { background: rgba(13, 22, 19, .92); }
.tour[open] { animation: tour-in .5s var(--ease-out); }
@keyframes tour-in { from { opacity: 0; } to { opacity: 1; } }
.tour-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 360px); grid-template-rows: auto minmax(0, 1fr);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tour-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter); border-bottom: 1px solid var(--hair); }
.tour-lot { font-size: var(--fs-xs); color: var(--ivory-2); }
.tour-top h2 { font-size: var(--fs-xl); margin-top: 2px; }
.tour-close { background: none; border: 1px solid rgba(234, 229, 216, .5); color: var(--ivory); min-height: 40px; padding: 0 18px; cursor: pointer; font: 500 var(--fs-s)/1 var(--f-sans); }
@media (hover: hover) and (pointer: fine) { .tour-close:hover { background: var(--ivory); color: var(--wall); } }
.tour-stage { position: relative; min-height: 0; padding: clamp(12px, 2vw, 28px) 0 clamp(12px, 2vw, 28px) var(--gutter); }
.tour-frame { position: relative; width: 100%; height: 100%; }
.tour-pic { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; background: #16221D; --pos: 50%; }
.tour-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease-out); }
.tour-pic .tour-draw { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); display: none; }
.tour-pic .tour-draw img { width: 100%; height: 100%; object-fit: cover; }
.tour-pic .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivory); pointer-events: none; display: none; }
.tour-pic .bar::after { content: ""; position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--ivory); border-radius: 50%; background: rgba(19, 32, 27, .35); }
.tour-pic input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; display: none; }
.tour-pic.is-compare .tour-draw, .tour-pic.is-compare .bar, .tour-pic.is-compare input { display: block; }
.tour-arrow { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(234, 229, 216, .55);
  background: rgba(14, 24, 20, .45); color: var(--ivory); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, color .3s; }
@media (hover: hover) and (pointer: fine) { .tour-arrow:hover { background: var(--ivory); color: var(--wall); } }
.tour-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.tour-prev { left: calc(var(--gutter) + 14px); }
.tour-next { right: 14px; }
.tour-side { min-height: 0; overflow-y: auto; padding: clamp(12px, 2vw, 28px) var(--gutter) 20px clamp(20px, 2vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.tour-rooms { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.tour-rooms button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--ivory-2); cursor: pointer; text-align: left;
  font: 300 var(--fs-l)/1.2 var(--f-serif); transition: color .3s; }
.tour-rooms button span { font: 400 var(--fs-xs)/1 var(--f-sans); color: var(--ivory-2); }
.tour-rooms button:hover, .tour-rooms button[aria-current="true"] { color: var(--ivory); }
.tour-rooms button[aria-current="true"] { box-shadow: inset 2px 0 0 var(--brass); padding-left: 14px; }
.tour-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tour-thumbs button { padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; outline: 1px solid transparent; outline-offset: 2px; opacity: .62; transition: opacity .3s, outline-color .3s; }
@media (hover: hover) and (pointer: fine) { .tour-thumbs button:hover { opacity: 1; } }
.tour-thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--brass); }
.tour-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tour-cap { font-size: var(--fs-s); color: var(--ivory-2); }
.tour-cap strong { display: block; color: var(--ivory); font-weight: 500; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.tour-tools { display: grid; gap: 12px; }
.tour-tools:empty { display: none; }
.tour-tools .seg { border-color: rgba(234, 229, 216, .55); }
.tour-tools .seg button { border-left-color: rgba(234, 229, 216, .55); flex: 1; padding: 0 10px; }
.tour-tools .tog { justify-self: start; background: none; border: 0; color: var(--ivory); cursor: pointer; font: 500 var(--fs-s)/1.2 var(--f-sans); padding: 0 0 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.tour-foot { margin-top: auto; display: grid; gap: 16px; padding-top: 8px; }
.tour-foot .tlink { justify-self: start; font-size: var(--fs-s); color: var(--ivory-2); }
.tour-foot .btn { width: 100%; }
@media (max-width: 900px) {
  .tour { overflow-y: auto; }
  .tour-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; min-height: 100%; }
  .tour-stage { padding: 12px var(--gutter); }
  .tour-frame { height: auto; aspect-ratio: 4 / 3; max-height: 60vh; }
  .tour-side > * { flex-shrink: 0; }
  .tour-prev { left: calc(var(--gutter) + 8px); }
  .tour-next { right: calc(var(--gutter) + 8px); }
  .tour-arrow { width: 42px; height: 42px; margin-top: -21px; }
  .tour-side { overflow: visible; padding: 8px var(--gutter) 28px; }
  .tour-rooms { flex-direction: row; overflow-x: auto; gap: 8px; border-top: 0; padding-bottom: 4px; }
  .tour-rooms button { flex: none; width: auto; border: 1px solid var(--hair); padding: 10px 14px; font-size: var(--fs-m); }
  .tour-rooms button span { display: none; }
  .tour-rooms button[aria-current="true"] { box-shadow: none; padding-left: 14px; border-color: var(--brass); }
  .tour-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .tour[open] { animation: none; } .tour-pic > img { transition: none; } }

/* 360° view in the tour */
.tour-360 { position: absolute; inset: 0; background: #16221D; overflow: hidden; }
.tour-360 canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; outline: none; }
.tour-360 canvas:active { cursor: grabbing; }
.tour-360 canvas:focus-visible { box-shadow: inset 0 0 0 1px var(--brass); }
.tour-360-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; padding: 8px 14px; background: rgba(14, 24, 20, .6); color: var(--ivory);
  font-size: var(--fs-xs); pointer-events: none; transition: opacity .6s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tour-360.is-touched .tour-360-hint { opacity: 0; }
.tour-360.is-loading::after { content: "Loading the 360° view"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ivory-2); font-size: var(--fs-s); }
.tour-thumbs button { position: relative; }
.tour-thumbs .b360 { position: absolute; left: 4px; bottom: 4px; padding: 2px 5px; background: rgba(14, 24, 20, .75); color: var(--ivory); font-size: 10px; line-height: 1.2; }


/* ================= Motion pass (after Emil Kowalski's rules) =================
   Strong custom curves; transform and opacity only; press feedback on everything pressable;
   hover effects only on real pointers; imagery develops once as it enters; the clicked picture
   carries over into the next page. Reduced motion keeps fades and drops movement. */
:root { --ease-out-x: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out-x: cubic-bezier(0.77, 0, 0.175, 1); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }

/* Press feedback, 160 ms */
.btn { transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s, transform 160ms var(--ease-out-x); }
.seg button { transition: background-color .3s, color .3s, transform 160ms var(--ease-out-x); }
.tour-close { transition: background-color .3s, color .3s, transform 160ms var(--ease-out-x); }
.tour-arrow { transition: background-color .3s, color .3s, transform 160ms var(--ease-out-x); }
.play i { transition: background-color .5s, color .5s, transform 160ms var(--ease-out-x); }
.cm-plans button, .cm-home, .swatches button, .gallery button, .tour-rooms button { transition: transform 160ms var(--ease-out-x), color .3s; }
.tour-thumbs button { transition: transform 160ms var(--ease-out-x), opacity .3s, outline-color .3s; }
.btn:active, .seg button:active, .tour-close:active { transform: scale(0.97); }
.play:active i, .tour-arrow:active { transform: scale(0.94); }
.cm-plans button:active, .cm-home:active, .swatches button:active, .tour-thumbs button:active, .tour-rooms button:active { transform: scale(0.98); }
.gallery button:active { transform: scale(0.99); }

/* Imagery develops once as it scrolls in: the frame opens from the bottom while the picture settles */
.js .reveal { clip-path: inset(0 0 100% 0); }
.js .reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease-in-out-x) var(--d, 0ms); }
.js .reveal .frame img, .js .frame.reveal img { --zoom: 1.14; }
.js .reveal.is-in .frame img, .js .frame.reveal.is-in img { --zoom: 1; }
.js .gallery .reveal img { transform: scale(1.1); transition: transform 1.6s var(--ease-out-x) var(--d, 0ms); }
.js .gallery .reveal.is-in img { transform: none; }
@media (hover: hover) and (pointer: fine) { .js .gallery .reveal.is-in:hover img { transform: scale(1.025); transition-duration: 1.4s; transition-delay: 0ms; } }
.js .piece .label { opacity: 0; transform: translateY(10px); }
.js .piece.is-in .label { opacity: 1; transform: none; transition: opacity .9s var(--ease-out-x) calc(var(--d, 0ms) + 450ms), transform .9s var(--ease-out-x) calc(var(--d, 0ms) + 450ms); }

/* Page to page: the picture you clicked becomes the next page's hero */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.p-hero > img { view-transition-name: work; }
::view-transition-old(root) { animation: 220ms var(--ease-out-x) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out-x) 80ms both vt-in; }
::view-transition-group(work) { animation-duration: 760ms; animation-timing-function: var(--ease-in-out-x); }
::view-transition-old(work), ::view-transition-new(work) { height: 100%; object-fit: cover; animation-duration: 760ms; animation-timing-function: var(--ease-in-out-x); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Community map: the plan builds itself once, lot by lot around the loop, then the houses appear */
.js .plat .lot { opacity: 0; }
.js .plat .fp { opacity: 0; }
.plat.is-in .lot { opacity: 1; transition: opacity 520ms var(--ease-out-x) calc(var(--i, 0) * 34ms); }
.plat.is-in .fp { opacity: 1; transition: opacity 600ms var(--ease-out-x) calc(var(--i, 0) * 34ms + 620ms); }
.plat.is-settled .lot { transition: opacity .4s var(--ease-out-x); }
.plat.is-settled .fp { transition: none; }
/* The lot panel: content arrives in a short cascade; blur bridges the swap */
.cm-lot > * { animation: cm-in 420ms var(--ease-out-x) both; }
.cm-lot > :nth-child(2) { animation-delay: 40ms; } .cm-lot > :nth-child(3) { animation-delay: 80ms; }
.cm-lot > :nth-child(4) { animation-delay: 120ms; } .cm-lot > :nth-child(5) { animation-delay: 160ms; } .cm-lot > :nth-child(n+6) { animation-delay: 200ms; }
@keyframes cm-in { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.cm-plans li { animation: cm-in 380ms var(--ease-out-x) both; }
.cm-plans li:nth-child(2) { animation-delay: 160ms; } .cm-plans li:nth-child(3) { animation-delay: 200ms; } .cm-plans li:nth-child(4) { animation-delay: 240ms; }
.cm-plans li:nth-child(5) { animation-delay: 280ms; } .cm-plans li:nth-child(6) { animation-delay: 320ms; } .cm-plans li:nth-child(1) { animation-delay: 120ms; }
/* The tour opens with a small rise; views cross-fade through a soft blur */
.tour[open] .tour-inner { animation: tour-rise 460ms var(--ease-out-x) both; }
@keyframes tour-rise { from { opacity: 0; transform: scale(0.985); } }
.tour-pic > img { transition: opacity .7s var(--ease-out-x), filter .7s var(--ease-out-x); }
.tour-pic > img.is-entering { filter: blur(10px); }
.tour-cap { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { clip-path: none; transition: none; }
  .js .reveal .frame img, .js .frame.reveal img, .js .gallery .reveal img { --zoom: 1; transform: none; }
  .js .piece .label { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
  .js .plat .lot, .js .plat .fp { opacity: 1; }
  .cm-lot > *, .cm-plans li { animation: cm-fade 200ms ease both; }
  .tour[open] .tour-inner { animation: none; }
  .tour-pic > img.is-entering { filter: none; }
  .btn:active, .seg button:active, .tour-close:active, .play:active i, .tour-arrow:active { transform: none; }
}
@keyframes cm-fade { from { opacity: 0; } }
.plat.is-in .lot.is-dim { opacity: .2; }
@media (hover: hover) and (pointer: fine) { .plat.is-in .lot.is-dim:hover { opacity: .45; } }

/* ================= Motion layer (v3): words rise from a mask, corner frames, a following label,
   and a sticky "any hour" stage scrubbed by scroll. Everything settles to static under reduced motion. ================= */
.js .sp .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.js .sp .w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
.js .sp.is-in .w > span { transform: none; }
h2 em, .lead em { font-style: italic; color: var(--brass); }
.on-vellum h2 em { color: #8A6A33; }

/* work cards: brass corners close in on hover, like a viewfinder */
@media (hover: hover) and (pointer: fine) {
  .piece .frame::after {
    content: ""; position: absolute; inset: 26px; pointer-events: none; opacity: 0; z-index: 2;
    --c: rgba(201, 164, 106, .95); --l: 34px; --t: 1.5px;
    background:
      linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 0 / var(--t) var(--l),
      linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 0 / var(--t) var(--l),
      linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 0 100% / var(--t) var(--l),
      linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--t), linear-gradient(var(--c), var(--c)) 100% 100% / var(--t) var(--l);
    background-repeat: no-repeat;
    transition: inset .7s var(--ease-out), opacity .5s var(--ease-out);
  }
  .piece:hover .frame::after { inset: 16px; opacity: 1; }
  .cur { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; padding: 10px 16px 9px; background: var(--ivory); color: var(--wall);
    font: 500 var(--fs-xs)/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.6); transition: opacity .3s, scale .3s; will-change: transform; }
  .cur.is-on { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .js .sp .w > span { transform: none; transition: none; }
}

/* ================= v4: a compact, cinematic home =================
   Five screens: the hero develops from drawing to light inside a viewfinder; selected work plays as a
   full-screen reel whose frames change in rising slices with a brass leading edge; three service panels
   open on hover and play their own media; the studio and Doug's words; contact.
   The brass line is the one motif: it develops the hero, leads every wipe and tracks every progress bar. */
.nav a[aria-current="page"] { background-size: 100% 1px; }

/* Hero: viewfinder corners close in once the render has developed */
.hero-media { transform: translate3d(0, calc(var(--hp, 0) * 12%), 0) scale(calc(1 + var(--hp, 0) * .06)); transform-origin: 50% 0; }
.hero-copy { transform: translate3d(0, calc(var(--hp, 0) * -90px), 0); opacity: calc(1 - var(--hp, 0) * 1.5); }
.hero-vf { position: absolute; inset: calc(76px + env(safe-area-inset-top, 0px) + 14px) 22px 22px; pointer-events: none; opacity: calc(1 - var(--hp, 0) * 2); }
.hero-vf i { position: absolute; width: 38px; height: 38px; }
.hero-vf i::before, .hero-vf i::after { content: ""; position: absolute; background: var(--brass); }
.hero-vf i::before { left: 0; right: 0; height: 1px; }
.hero-vf i::after { top: 0; bottom: 0; width: 1px; }
.hero-vf i:nth-child(1) { left: 0; top: 0; } .hero-vf i:nth-child(1)::before { top: 0; transform-origin: 0 0; } .hero-vf i:nth-child(1)::after { left: 0; transform-origin: 0 0; }
.hero-vf i:nth-child(2) { right: 0; top: 0; } .hero-vf i:nth-child(2)::before { top: 0; transform-origin: 100% 0; } .hero-vf i:nth-child(2)::after { right: 0; transform-origin: 0 0; }
.hero-vf i:nth-child(3) { left: 0; bottom: 0; } .hero-vf i:nth-child(3)::before { bottom: 0; transform-origin: 0 0; } .hero-vf i:nth-child(3)::after { left: 0; transform-origin: 0 100%; }
.hero-vf i:nth-child(4) { right: 0; bottom: 0; } .hero-vf i:nth-child(4)::before { bottom: 0; transform-origin: 100% 0; } .hero-vf i:nth-child(4)::after { right: 0; transform-origin: 0 100%; }
.js .hero-vf { inset: calc(76px + env(safe-area-inset-top, 0px) - 6px) 4px 4px; transition: inset 1.4s var(--ease-out) 2.5s; }
.js .hero-vf i::before { transform: scaleX(0); } .js .hero-vf i::after { transform: scaleY(0); }
.hero.is-developed .hero-vf { inset: calc(76px + env(safe-area-inset-top, 0px) + 14px) 22px 22px; }
.hero.is-developed .hero-vf i::before, .hero.is-developed .hero-vf i::after { transform: none; transition: transform 1.1s var(--ease-out) 2.5s; }
.hero-label { display: grid; justify-items: end; gap: 8px; }
.hero-meter { display: flex; align-items: center; gap: 12px; color: var(--ivory-2); }
.hero-meter b { position: relative; width: 84px; height: 1px; background: rgba(234, 229, 216, .28); }
.hero-meter b i { position: absolute; inset: -0.5px 0; background: var(--brass); transform-origin: 0 50%; }
.js .hero-meter b i { transform: scaleX(0); }
.hero.is-developed .hero-meter b i { transform: none; transition: transform 3.2s var(--ease); }
.js .hero-meter .m-r { transition: color .6s ease 3s; }
.hero.is-developed .hero-meter .m-r { color: var(--ivory); }
@media (max-width: 760px) {
  .hero-vf { display: none; }
  .hero-label { justify-items: start; }
}

/* Reel: selected work, one frame at a time */
.reel { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: #0B120F; }
.reel-stage { position: absolute; inset: 0; touch-action: pan-y; }
.reel-slide { position: absolute; inset: 0; overflow: hidden; }
.reel-slide .kb { position: absolute; inset: 0; }
.reel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-slide.is-on .kb { animation: reel-kb 11s linear both; }
@keyframes reel-kb { from { transform: scale(1.0); } to { transform: scale(1.08); } }
.reel-slide::after { content: ""; position: absolute; inset: 0; background: #0B120F; opacity: 0; pointer-events: none; }
.reel-slide.is-out { transform: scale(1.05); transition: transform 1.3s var(--ease-in-out-x); }
.reel-slide.is-out::after { opacity: .55; transition: opacity 1.1s var(--ease-in-out-x); }
.reel-slice { position: absolute; inset: 0; overflow: hidden; }
.reel-slice > img { transform: translate3d(0, calc(var(--dir, 1) * 102%), 0); box-shadow: 0 calc(var(--dir, 1) * -2px) 0 0 var(--brass), 0 calc(var(--dir, 1) * -10px) 26px rgba(201, 164, 106, .35); }
.reel-slide.go .reel-slice > img { transform: translate3d(0, 0, 0); transition: transform 1.1s var(--ease-in-out-x) calc(var(--k) * 58ms); }
.reel-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 15, .5) 0%, rgba(11, 18, 15, 0) 17%, rgba(11, 18, 15, 0) 52%, rgba(11, 18, 15, .5) 74%, rgba(11, 18, 15, .9) 100%),
              linear-gradient(90deg, rgba(11, 18, 15, .38) 0%, rgba(11, 18, 15, 0) 42%); }
.reel-ui { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; padding-block: calc(92px + env(safe-area-inset-top, 0px)) clamp(22px, 3vw, 36px); pointer-events: none; }
.reel-ui a, .reel-ui button { pointer-events: auto; }
.reel-top { display: flex; align-items: center; gap: 22px; font-size: var(--fs-s); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.reel-count { display: flex; align-items: baseline; gap: 8px; font-stretch: 80%; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.rc-cur { display: inline-grid; overflow: hidden; font-size: var(--fs-xl); font-family: var(--f-serif); font-weight: 300; line-height: 1.1; }
.rc-cur > span, .reel-title > .rt, .reel-meta > span, .svc-tag > span { grid-area: 1 / 1; }
.rc-of { color: var(--ivory-2); }
.reel-pause { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--ivory-2); font: 500 var(--fs-xs)/1 var(--f-sans); cursor: pointer; padding: 10px 0; }
.reel-pause .ic { width: 9px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.reel-pause[aria-pressed="true"] .ic { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@media (hover: hover) and (pointer: fine) { .reel-pause:hover { color: var(--ivory); } }
.reel-all { margin-left: auto; }
.reel-info { grid-row: 3; max-width: min(900px, 100%); }
.reel-title { display: grid; font-size: clamp(2.5rem, 6.4vw, 6.25rem); line-height: .98; letter-spacing: -.02em; }
.reel-title a { text-decoration: none; }
.reel-title .w, .reel-meta .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
.reel-title .w > span, .reel-meta .w > span { display: inline-block; transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 50ms + var(--wd, 0ms)); }
.rt.is-pre .w > span, .reel-meta .is-pre .w > span { transform: translate3d(0, 110%, 0); }
.rt.is-out .w > span, .reel-meta .is-out .w > span { transform: translate3d(0, -110%, 0); transition-duration: .6s; transition-timing-function: var(--ease-in-out-x); --wd: 0ms; }
.reel-meta { display: grid; margin-top: 16px; color: var(--ivory); max-width: 56ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.reel-title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.rc-cur > span { transition: transform .9s var(--ease-out); }
.rc-cur > span.is-pre { transform: translate3d(0, 100%, 0); }
.rc-cur > span.is-out { transform: translate3d(0, -100%, 0); transition-duration: .5s; }
.reel-go { margin-top: 26px; }
.reel-thumbs { grid-row: 4; display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: 10px; list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; }
.reel-thumbs a { display: block; text-decoration: none; color: var(--ivory-2); padding-top: 4px; }
.reel-thumbs .th { display: block; aspect-ratio: 16 / 10; overflow: hidden; opacity: .5; transform: translateY(0); transition: opacity .5s, transform .6s var(--ease-out); }
.reel-thumbs .th img { width: 100%; height: 100%; object-fit: cover; }
.reel-thumbs .nm { display: block; margin-top: 9px; font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.reel-thumbs .bar { display: block; position: relative; height: 1px; margin-top: 9px; background: rgba(234, 229, 216, .2); overflow: hidden; }
.reel-thumbs .bar i { position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }
.reel-thumbs a.is-done .bar i { transform: scaleX(1); background: rgba(234, 229, 216, .45); }
.reel-thumbs a[aria-current="true"] .th { opacity: 1; transform: translateY(-4px); }
.reel-thumbs a[aria-current="true"] .nm { color: var(--ivory); }
.reel-thumbs a[aria-current="true"] .bar i { animation: reel-prog var(--dur, 6500ms) linear forwards; }
.reel:not(.is-playing) .reel-thumbs a[aria-current="true"] .bar i { animation-play-state: paused; }
.reel.is-manual .reel-thumbs a[aria-current="true"] .bar i { animation: none; transform: scaleX(1); }
@keyframes reel-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .reel-thumbs a:hover .th { opacity: .9; } .reel-thumbs a:hover .nm { color: var(--ivory); } }
@media (max-width: 760px) {
  .reel { height: 92svh; min-height: 560px; }
  .reel-ui { padding-block: calc(84px + env(safe-area-inset-top, 0px)) 22px; }
  .reel-top { gap: 16px; }
  .reel-shade { background: linear-gradient(180deg, rgba(11, 18, 15, .78) 0%, rgba(11, 18, 15, .25) 22%, rgba(11, 18, 15, 0) 32%, rgba(11, 18, 15, .1) 45%, rgba(11, 18, 15, .92) 100%); }
  .reel-thumbs { grid-row: 1; order: -1; gap: 5px; margin: 0 0 18px; }
  .reel-ui { grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .reel-top { grid-row: 2; }
  .reel-info { grid-row: 4; }
  .reel-thumbs .th, .reel-thumbs .nm { display: none; }
  .reel-thumbs a { padding: 10px 0; }
  .reel-thumbs .bar { margin-top: 0; height: 2px; }
}

/* Services: three panels that open as you point at them */
.svc { padding-block: clamp(80px, 10vw, 150px) clamp(24px, 3vw, 48px); }
.svc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.svc-head h2 { font-size: var(--fs-2xl); }
.svc-row { display: flex; gap: 10px; height: clamp(520px, 74svh, 820px); }
.svc-p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--wall-2); transition: flex-grow 1s var(--ease-in-out-x); }
.svc-p.is-open { flex-grow: 2.5; }
.svc-media { position: absolute; inset: 0; isolation: isolate; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.svc-p.is-open .svc-media { transform: none; }
.svc-media img, .svc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-media img { opacity: 0; }
.svc-media img.is-on { opacity: 1; }
.svc-media img.is-wipe, .svc-media img.is-fade { z-index: 1; }
.svc-media img.is-wipe { opacity: 1; clip-path: inset(0 100% 0 0); }
.svc-media img.is-wipe.go { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-in-out-x); }
.svc-media img.is-fade { opacity: 0; }
.svc-media img.is-fade.go { opacity: 1; transition: opacity 1.4s ease; }
.svc-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--brass); box-shadow: 0 0 22px 5px rgba(201, 164, 106, .5); opacity: 0; z-index: 2; pointer-events: none; }
.svc-line.go { opacity: 1; animation: svc-line 1.2s var(--ease-in-out-x) both; }
@keyframes svc-line { from { left: 0; } 92% { opacity: 1; } to { left: 100%; opacity: 0; } }
.svc-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 22, 19, .1) 0%, rgba(13, 22, 19, 0) 40%, rgba(13, 22, 19, .88) 100%); }
.svc-shade::after { content: ""; position: absolute; inset: 0; background: rgba(13, 22, 19, .5); transition: opacity 1s var(--ease-in-out-x); }
.svc-p.is-open .svc-shade::after { opacity: 0; }
.svc-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 36px); }
.svc-tag { display: grid; overflow: hidden; font-size: var(--fs-xs); color: var(--ivory-2); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.svc-tag > span { display: block; padding-left: 16px; position: relative; transition: transform .8s var(--ease-out); }
.svc-tag > span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brass); }
.svc-tag > span.is-pre { transform: translate3d(0, 110%, 0); }
.svc-tag > span.is-out { transform: translate3d(0, -110%, 0); transition-duration: .45s; }
.svc-p h3 { font-size: clamp(1.75rem, 2.5vw, 2.75rem); line-height: 1.02; }
.svc-p h3 a { text-decoration: none; }
.svc-p h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.svc-p h3 a:focus-visible { outline: none; }
.svc-p:has(h3 a:focus-visible) { outline: 1px solid var(--brass); outline-offset: 4px; }
.svc-d { max-width: 42ch; color: var(--ivory); font-size: var(--fs-s); line-height: 1.55; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .9s var(--ease-in-out-x), opacity .5s ease, margin .9s var(--ease-in-out-x); }
.svc-p.is-open .svc-d { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; transition-delay: 0s, .35s, 0s; }
.svc-d > span { overflow: hidden; min-height: 0; }
@media (max-width: 900px) {
  .svc-row { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; gap: 12px; }
  .svc-row::-webkit-scrollbar { display: none; }
  .svc-p { flex: 0 0 min(84vw, 460px); height: min(68svh, 600px); scroll-snap-align: start; }
  .svc-p .svc-d { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
  .svc-p .svc-shade::after { opacity: 0; }
  .svc-p .svc-media { transform: none; }
}

/* Studio: the two of us, and Doug's words */
.s4 { padding-block: clamp(56px, 7vw, 112px) clamp(72px, 9vw, 140px); }
.s4-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.s4-portrait .frame { aspect-ratio: 4 / 5; }
.s4-portrait .frame img { top: 0; height: 100%; }
.s4-portrait figcaption { margin-top: 12px; font-size: var(--fs-xs); color: var(--fg-2); }
.s4 h2 { font-size: var(--fs-2xl); }
.s4-lead { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.32; max-width: 36ch; margin-top: 22px; text-wrap: pretty; }
.s4-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); }
.s4-facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.s4-facts dt { font-size: var(--fs-xs); color: var(--fg-2); }
.s4-facts dd { margin-top: 6px; font-family: var(--f-serif); font-weight: 300; font-size: var(--fs-l); line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.s4-quote { margin-top: clamp(44px, 6vw, 80px); position: relative; padding-left: clamp(0px, 3vw, 44px); }
.s4-quote::before { content: "\201C"; position: absolute; left: 0; top: -.18em; font: 300 clamp(3rem, 5vw, 4.5rem)/1 var(--f-serif); color: var(--brass); }
.s4-quote blockquote { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.32; max-width: 38ch; text-wrap: pretty; }
.s4-quote .cite.has-photo { margin-top: 24px; gap: 14px; }
.s4-quote .cite.has-photo img { width: 56px; height: 56px; }
@media (max-width: 1000px) { .s4-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .s4-grid { grid-template-columns: 1fr; }
  .s4-portrait { width: min(72%, 380px); }
  .s4-quote { padding-left: 0; padding-top: 40px; }
  .s4-quote::before { top: -.05em; }
}

/* A frame that develops left to right behind a brass line */
.reveal-x { position: relative; }
.js .reveal-x { clip-path: inset(0 100% 0 0); }
.js .reveal-x::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--brass); box-shadow: 0 0 22px 5px rgba(201, 164, 106, .45); z-index: 3; }
.js .reveal-x img { --zoom: 1.12; }
.js .reveal-x.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-in-out-x) var(--d, 0ms); }
.js .reveal-x.is-in::after { left: calc(100% - 2px); opacity: 0; transition: left 1.5s var(--ease-in-out-x) var(--d, 0ms), opacity .5s ease calc(var(--d, 0ms) + 1.35s); }
.js .reveal-x.is-in img { --zoom: 1; }

/* Page heads: Work and Services */
.pg-head { padding-block: calc(76px + clamp(56px, 9vw, 136px)) clamp(36px, 4vw, 64px); }
.pg-head h1 { font-size: var(--fs-3xl); line-height: .94; letter-spacing: -.025em; }
.pg-lede { max-width: 52ch; color: var(--fg-2); margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1px solid var(--hair); background: none; color: var(--ivory); font: 500 var(--fs-s)/1 var(--f-sans); cursor: pointer; transition: background-color .35s, color .35s, border-color .35s, transform 160ms var(--ease-out-x); }
.chips button:active { transform: scale(.97); }
.chips sup { font-size: 10px; line-height: 1; color: inherit; opacity: .65; position: relative; top: -.35em; }
.chips button[aria-pressed="true"] { background: var(--ivory); color: var(--wall); border-color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .chips button:hover { border-color: var(--ivory); } }
.subnav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: var(--fs-s); }
.subnav a { text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .subnav a:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* Work: every project, filterable */
.wk-sec { padding-bottom: clamp(72px, 9vw, 140px); }
.wk-grid { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: clamp(16px, 2.4vw, 40px); }
.wk { break-inside: avoid; padding-bottom: clamp(40px, 5vw, 72px); }
.wk .frame img { top: 0; height: 100%; }
.wk .label h3 { font-size: var(--fs-l); }
.wk.is-hidden { display: none; }
.wk.is-leaving { opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.wk.is-entering { animation: wk-in .8s var(--ease-out-x) both; animation-delay: calc(var(--n, 0) * 55ms); }
@keyframes wk-in { from { opacity: 0; transform: translateY(26px); } }
@media (max-width: 1100px) { .wk-grid { columns: 2; } }
@media (max-width: 640px) { .wk-grid { columns: 1; } }

/* Services page */
.sv-block { padding-block: clamp(64px, 8vw, 128px); }
.sv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.sv-copy h2 { font-size: var(--fs-2xl); }
.sv-copy > p { color: var(--fg-2); margin-top: 20px; max-width: 46ch; }
.sv-copy .fees { margin-top: 36px; }
.sv-copy .fee { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 22px 0; }
.sv-copy .fee h3 { font-size: var(--fs-l); }
.sv-copy .fee .amount { grid-row: 1; grid-column: 2; font-size: var(--fs-l); color: var(--fg); }
.sv-copy .fee p { grid-column: 1 / -1; font-size: var(--fs-s); }
.sv-copy .fee .time { grid-column: 1 / -1; text-align: left; font-size: var(--fs-xs); }
.sv-copy .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.sv-fig { position: sticky; top: 100px; margin: 0; }
.sv-flip .sv-copy { order: 2; }
.sv-est { position: sticky; top: 100px; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wall-2); }
.sv-est img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.4s ease, transform 1.6s var(--ease-out); }
.sv-est .n { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .sv-est:hover .n { opacity: 1; } .sv-est:hover img { transform: scale(1.03); } }
.sv-est:focus-visible .n { opacity: 1; }
@media not ((hover: hover) and (pointer: fine)) { .sv-est .n { animation: sv-dn 7s ease-in-out infinite; } }
@media (hover: hover) and (pointer: fine) { .sv-est-cap { display: block; } }
@keyframes sv-dn { 0%, 30% { opacity: 0; } 50%, 80% { opacity: 1; } 100% { opacity: 0; } }
.sv-est-cap { display: none; position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; background: rgba(19, 32, 27, .7); color: var(--ivory); font-size: var(--fs-xs); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#films .film-copy p { max-width: 60ch; }
@media (max-width: 900px) {
  .sv-grid { grid-template-columns: 1fr; }
  .sv-flip .sv-copy { order: 0; }
  .sv-fig, .sv-est { position: relative; top: 0; }
  .sv-fig { order: -1; }
}

/* Page to page: the new page wipes in over the old one, which slides back a little */
::view-transition-old(root) { animation: 640ms var(--ease-in-out-x) both vt-push; }
::view-transition-new(root) { animation: 760ms var(--ease-in-out-x) both vt-wipe; }
@keyframes vt-push { to { transform: translate3d(-5%, 0, 0); opacity: .3; } }
@keyframes vt-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-media, .hero-copy { transform: none; opacity: 1; }
  .js .hero-vf, .hero-vf { transition: none; inset: calc(76px + env(safe-area-inset-top, 0px) + 14px) 22px 22px; }
  .js .hero-vf i::before, .js .hero-vf i::after, .js .hero-meter b i { transform: none; transition: none; }
  .reel-slide.is-on .kb { animation: none; }
  .reel-slide.is-out { transform: none; }
  .reel-slice > img { box-shadow: none; }
  .reel-title .w > span, .reel-meta .w > span, .rc-cur > span, .svc-tag > span { transition: none; }
  .svc-p, .svc-media, .svc-d { transition: none; }
  .js .reveal-x, .js .reveal-x.is-in { clip-path: none; transition: none; }
  .js .reveal-x::after { display: none; }
  .wk.is-entering { animation: none; }
  .sv-est .n { animation: none; }
}

/* v4.1: review fixes */
.h4 .hero { height: 100svh; min-height: 560px; max-height: 1200px; }
.svc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 9px; font-size: 11px; line-height: 1; color: var(--ivory); background: rgba(13, 22, 19, .55); border: 1px solid rgba(201, 164, 106, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.contact-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--fg); max-width: 44ch; }

/* v4.2: social links on the hero, the client strip, the Posana case */
.hero-social { position: absolute; right: 30px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; gap: 26px;
  font-size: var(--fs-xs); letter-spacing: .04em; opacity: calc(1 - var(--hp, 0) * 2); }
.hero-social a { color: var(--ivory); text-decoration: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); padding: 4px 0; background: linear-gradient(var(--brass), var(--brass)) 0 0 / 1px 0 no-repeat; transition: background-size .5s var(--ease-out); }
.hero-social a:hover { background-size: 1px 100%; }
.hero-social { gap: 30px; font-size: var(--fs-s); }
.js .hero-social { opacity: 0; transition: opacity 1s ease 3s; }
.js .hero.is-developed .hero-social { opacity: calc(1 - var(--hp, 0) * 2); }
@media (max-width: 900px) { .hero-social { display: none; } }
.menu .menu-social { display: flex; gap: 24px; margin-top: 14px; }
.menu .menu-social a { color: var(--ivory); }
.clients { border-bottom: 1px solid var(--hair); }
.clients-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px clamp(28px, 4vw, 64px); padding-block: clamp(26px, 3vw, 40px); }
.clients-h { font-size: var(--fs-xs); color: var(--ivory-2); flex: none; }
.clients-list { display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 3.6vw, 60px); list-style: none; margin: 0; padding: 0; flex: 1; justify-content: space-between; }
.clients-list li { display: grid; gap: 2px; align-content: start; }
.clients-list b { font: 300 var(--fs-l)/1.15 var(--f-serif); color: var(--ivory); }
.clients-list span { font-size: var(--fs-xs); color: var(--ivory-2); }
.js .clients-list li { opacity: 0; transform: translateY(14px); }
.js .clients.is-in .clients-list li { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
@media (max-width: 700px) { .clients-h { width: 100%; } .clients-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; } .clients-list b { font-size: var(--fs-m); } }
.s4-case { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); text-decoration: none; max-width: 640px; }
.s4-case-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wall-2); }
.s4-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.s4-case-t { font-size: var(--fs-s); color: var(--fg-2); line-height: 1.55; }
.s4-case-t b { display: block; font: 300 var(--fs-l)/1.2 var(--f-serif); color: var(--fg); margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .s4-case:hover .s4-case-img img { transform: scale(1.06); } .s4-case:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
@media (prefers-reduced-motion: reduce) { .js .clients-list li { opacity: 1; transform: none; } .js .hero-social { opacity: 1; transition: none; } }

.fees-terms { margin-top: 18px; font-size: var(--fs-xs); color: var(--fg-2); max-width: 52ch; }

/* Posana: our render beside the room as it was built */
.s4-case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s4-case-img { position: relative; }
.s4-case-img i { position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; font: 500 10px/1 var(--f-sans); font-style: normal; color: var(--ivory); background: rgba(13, 22, 19, .7); }
@media (max-width: 520px) { .s4-case { grid-template-columns: 1fr; } }
.built-list { display: grid; gap: clamp(40px, 5vw, 72px); }
.built-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); }
.built-pair .bp { position: relative; }
.built-pair .frame { aspect-ratio: var(--ar, 4 / 3); }
.built-pair .frame img { top: 0; height: 100%; }
.bp-tag { position: absolute; left: 12px; top: 12px; z-index: 4; padding: 6px 10px; font-size: var(--fs-xs); color: var(--ivory); background: rgba(13, 22, 19, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bp-tag.is-built { box-shadow: inset 0 0 0 1px rgba(201, 164, 106, .7); }
.built-pair figcaption { grid-column: 1 / -1; font-size: var(--fs-s); color: var(--fg-2); }
