/* Ashford & Co. Remodeling — concept demo by Fidum
   Palette: millwork green, limestone, paper, unlacquered brass, white oak.
   Every text/background pair is checked against WCAG 2.1 AA (see build/contrast.py). */

/* Self-hosted variable fonts (SIL OFL, see fonts/). Latin subset only. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-var.woff2) format("woff2");
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-display: swap;
  font-weight: 200 900;
  src: url(fonts/source-serif-4-latin-var.woff2) format("woff2");
}

:root {
  --millwork: #1F3A32;
  --millwork-2: #28473D;
  --ink: #17241F;
  --stone: #EDEBE4;
  --plaster: #DCD5C6;
  --paper: #F8F7F3;
  --brass: #C9A14E;
  --brass-hover: #D6B266;
  --brass-lt: #DDBB6E;
  --brass-ink: #6F541A;
  --sage: #C3D2C9;
  --muted: #4A5751;
  --border: #7A847E;
  --hair: #D3CFC4;
  --oak: #C49A68;
  --error: #9B2C1F;
  --success: #23573F;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --radius-s: 4px;
  --radius-m: 10px;
  --focus: var(--millwork);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--serif);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--millwork); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-stretch: 105%; line-height: 1.2; }
h4 { font-size: 1.05rem; font-stretch: 100%; }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 58ch; }
.small { font-size: .9375rem; }
.muted { color: var(--muted); }

/* focus */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark, .site-header, .hero, .page-hero, .band-dark, .site-footer, .est-result, .case-banner, .owner-quote, .bleed { --focus: var(--brass-lt); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--brass); color: var(--millwork); padding: 12px 18px;
  font: 600 1rem/1 var(--display); border-radius: var(--radius-s); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.band-plaster { background: var(--plaster); }
.band-paper { background: var(--paper); }
.band-dark { background: var(--millwork); color: var(--paper); }
.band-dark a:not(.btn) { color: var(--brass-lt); }
.band-dark .muted, .on-dark .muted { color: var(--sage); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
  .section-head.split p { margin-bottom: .35em; }
}
.section-head h2 { margin: 0; }
.kicker {
  font: 500 .95rem/1.3 var(--display); color: var(--brass-ink); margin: 0 0 12px;
}
.band-dark .kicker, .on-dark .kicker { color: var(--brass-lt); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font: 600 1.0625rem/1.1 var(--display); font-stretch: 104%;
  text-decoration: none; border-radius: var(--radius-s); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-brass { background: var(--brass); color: var(--millwork); }
.btn-brass:hover { background: var(--brass-hover); }
.btn-dark { background: var(--millwork); color: var(--paper); }
.btn-dark:hover { background: var(--millwork-2); }
.btn-line { background: transparent; color: var(--paper); border-color: var(--sage); }
.btn-line:hover { border-color: var(--paper); }
.btn-line-dark { background: transparent; color: var(--millwork); border-color: var(--millwork); }
.btn-line-dark:hover { background: var(--millwork); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font: 600 1rem/1.3 var(--display); color: var(--millwork); }
.band-dark .text-link { color: var(--brass-lt); }

/* ---------- demo note */
.demo-note {
  background: var(--ink); color: var(--sage);
  font: 400 .8125rem/1.4 var(--display); text-align: center; padding: 8px var(--gutter);
}
.demo-note strong { color: var(--paper); font-weight: 600; }
p.demo-note { max-width: none; margin: 0; }

/* ---------- header */
.site-header { background: var(--millwork); color: var(--paper); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(195, 210, 201, .18); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font: 650 1.12rem/1 var(--display); font-stretch: 115%; letter-spacing: -0.01em; }
.brand-name span { display: block; font: 400 .78rem/1.3 var(--display); font-stretch: 100%; color: var(--sage); letter-spacing: 0; margin-top: 3px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--paper); border: 2px solid var(--sage); border-radius: var(--radius-s);
  font: 600 .95rem/1 var(--display); cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--millwork); border-top: 1px solid rgba(195, 210, 201, .2);
  padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px rgba(10, 20, 16, .25);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 14px 0; color: var(--paper); text-decoration: none;
  font: 500 1.125rem/1.2 var(--display); border-bottom: 1px solid rgba(195, 210, 201, .16);
}
.site-nav a[aria-current="page"] { color: var(--brass-lt); }
.site-nav .nav-cta { margin-top: 16px; }
.header-phone { display: none; }
.site-nav a, .header-phone, .header-cta { white-space: nowrap; }
.nav-toggle svg { flex: none; }
.brand { min-width: 0; }
@media (min-width: 900px) {
  .header-phone {
    display: inline-flex; align-items: center; gap: 8px; color: var(--paper); text-decoration: none;
    font: 600 1rem/1 var(--display); padding: 10px 6px; white-space: nowrap;
  }
  .header-phone svg { width: 18px; height: 18px; flex: none; color: var(--brass-lt); }
  .header-cta { display: inline-flex; min-height: 46px; padding: 10px 18px; font-size: 1rem; }
}
@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; padding: 0; background: none; box-shadow: none; border: 0; }
  .site-nav ul { display: flex; gap: 4px; align-items: center; }
  .site-nav a { border: 0; padding: 10px 10px; font-size: .98rem; position: relative; }
  .site-nav a:hover { color: var(--brass-lt); }
  .site-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--brass);
  }
  .site-nav .nav-cta { display: none; }
  .site-nav a { padding: 10px 9px; }
}
@media (max-width: 899px) { .header-cta { display: none; } }
@media (min-width: 900px) and (max-width: 1279px) { .site-nav .nav-cta { display: none; } }

/* ---------- drawing sheet (framed illustration + title block) */
.sheet { background: var(--paper); border-radius: var(--radius-m); padding: 10px; box-shadow: 0 30px 60px -30px rgba(8, 18, 14, .55); color: var(--ink); }
.sheet-art { border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--plaster); }
.sheet-art svg { width: 100%; height: 100%; }
/* photos over an illustrated fallback: the photo is absolutely positioned on top of the
   illustration inside a fixed 3:2 box, so nothing shifts when it loads. If it fails to load,
   script.js hides it and the illustration (or a light tone block with a note) shows instead. */
.photo-box { position: relative; }
.photo-box > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.photo-box.photo-failed > .photo { display: none; }
.photo-box.photo-loaded > svg.art { visibility: hidden; }
.photo-box.light { display: grid; place-items: center; background-color: var(--plaster); background-image: linear-gradient(135deg, #E9E5DC, #D9DDD5); }
.photo-note { padding: 16px 20px; max-width: 32ch; text-align: center; font: 500 .9rem/1.4 var(--display); color: var(--muted); }
.step-photo { margin: 24px 0 0; }
.step-photo figcaption { margin-top: 10px; font: 400 .9rem/1.45 var(--display); color: var(--muted); }
.contact-photo { margin-top: 32px; }
.titleblock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 0; border: 1px solid var(--hair); border-radius: 6px; }
.titleblock div { padding: 8px 12px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); min-width: 0; }
.titleblock div:nth-child(2n) { border-right: 0; }
.titleblock div:nth-last-child(-n+2) { border-bottom: 0; }
.titleblock dt { font: 400 .78rem/1.3 var(--display); color: var(--muted); }
.titleblock dd { margin: 2px 0 0; font: 600 .95rem/1.3 var(--display); color: var(--ink); }
@media (min-width: 640px) {
  .titleblock.four { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
  .titleblock.four div { border-bottom: 0; border-right: 1px solid var(--hair); }
  .titleblock.four div:last-child { border-right: 0; }
}

/* ---------- trust strip */
.trust { background: var(--paper); border-bottom: 1px solid var(--hair); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-list > li { padding: 20px 14px 20px 0; display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--hair); }
.trust-list > li:nth-child(odd) { padding-right: 14px; }
.trust-list > li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hair); }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--brass-ink); margin-top: 2px; }
.trust-list strong { display: block; font: 650 1.05rem/1.2 var(--display); font-stretch: 108%; }
.trust-list span { display: block; font: 400 .85rem/1.35 var(--display); color: var(--muted); margin-top: 3px; }
.trust-list > li:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-bottom: 0; }
@media (min-width: 1000px) {
  .trust-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .trust-list > li, .trust-list > li:nth-child(odd), .trust-list > li:nth-child(even) { padding: 26px 20px; border-bottom: 0; border-left: 1px solid var(--hair); }
  .trust-list > li:first-child { border-left: 0; padding-left: 0; }
  .trust-list > li:last-child { grid-column: auto; border-left: 1px solid var(--hair); padding-left: 20px; }
}

/* ---------- before / after compare */
.compare-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .compare-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.compare-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--plaster); border-radius: 999px; margin-bottom: 16px; }
.compare-tabs button {
  min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent;
  font: 600 1rem/1 var(--display); color: var(--ink); cursor: pointer;
}
.compare-tabs button[aria-selected="true"] { background: var(--millwork); color: var(--paper); }
.compare {
  position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--plaster);
  --pos: 50%;
}
.compare .compare-side { position: absolute; inset: 0; }
.compare .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-tag {
  position: absolute; top: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font: 600 .85rem/1 var(--display); pointer-events: none;
}
.compare-tag.b { left: 12px; background: var(--paper); color: var(--ink); }
.compare-tag.a { right: 12px; background: var(--millwork); color: var(--paper); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3;
}
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--paper); box-shadow: 0 0 0 1px rgba(31, 58, 50, .35); }
.compare-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--millwork);
  border: 3px solid var(--millwork); display: grid; place-items: center; cursor: grab;
  box-shadow: 0 6px 18px rgba(8, 18, 14, .3);
}
.compare-knob svg { width: 26px; height: 26px; }
.compare-knob:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: 3px; }
.compare.dragging .compare-knob { cursor: grabbing; }
.compare-hint { font: 400 .9rem/1.4 var(--display); color: var(--muted); margin: 10px 0 0; }
.page-hero .compare-hint, .hero .compare-hint { color: var(--sage); }
.scope-list { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: scope; }
.scope-list li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--hair); counter-increment: scope; }
.scope-list li::before {
  content: counter(scope); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--brass-ink); color: var(--brass-ink); font: 600 .85rem/25px var(--display); text-align: center;
}
.scope-list strong { font-family: var(--display); font-weight: 600; display: block; font-size: 1.02rem; }
.scope-list span { color: var(--muted); font-size: .98rem; }
.panel-hidden { display: none; }

/* ---------- estimator */
.estimator { display: grid; gap: 0; border-radius: var(--radius-m); overflow: hidden; overflow: clip; box-shadow: 0 20px 40px -30px rgba(8, 18, 14, .4); }
@media (min-width: 1000px) { .estimator { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.est-controls { background: var(--paper); padding: clamp(22px, 4vw, 44px); display: grid; gap: 26px; }
.est-controls fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.est-controls legend { font: 650 1.05rem/1.3 var(--display); font-stretch: 106%; margin-bottom: 10px; padding: 0; }
.est-controls legend .muted { font-weight: 400; font-size: .9rem; font-stretch: 100%; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.seg.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.rooms { display: flex; flex-wrap: wrap; }
.seg.rooms label { padding-inline: 16px; }
@media (max-width: 559px) {
  .seg.three { grid-template-columns: 1fr; }
  .seg.three label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .seg.three label small { margin-top: 0; text-align: right; }
}
.seg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  display: block; min-height: 48px; padding: 11px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-s);
  background: var(--paper); cursor: pointer; font: 600 .98rem/1.25 var(--display); color: var(--ink);
}
.seg label small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.seg input:checked + label { background: var(--millwork); border-color: var(--millwork); color: var(--paper); }
.seg input:checked + label small { color: var(--sage); }
.seg input:focus-visible + label { outline: 3px solid var(--millwork); outline-offset: 3px; }
.seg label:hover { border-color: var(--millwork); }
.est-result { background: var(--millwork); color: var(--paper); padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.est-result h3 { color: var(--sage); font-size: 1rem; font-stretch: 100%; font-weight: 500; margin: 0; }
.est-range { font: 700 clamp(2.1rem, 5.4vw, 3.2rem)/1 var(--display); font-stretch: 112%; color: var(--paper); letter-spacing: -0.02em; margin: 0; font-variant-numeric: tabular-nums; }
.est-range span { color: var(--brass-lt); }
.est-meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(195, 210, 201, .25); border-bottom: 1px solid rgba(195, 210, 201, .25); margin: 0; }
.est-meta div { padding: 12px 0; }
.est-meta div + div { border-left: 1px solid rgba(195, 210, 201, .25); padding-left: 16px; }
.est-meta dt { font: 400 .82rem/1.3 var(--display); color: var(--sage); }
.est-meta dd { margin: 4px 0 0; font: 600 1.05rem/1.25 var(--display); }
.est-includes { margin: 0; padding: 0; list-style: none; font-size: .98rem; color: var(--paper); }
.est-includes li { padding: 4px 0 4px 22px; position: relative; }
.est-includes li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 10px; height: 2px; background: var(--brass-lt); }
.est-note { font: 400 .85rem/1.5 var(--display); color: var(--sage); margin: 0; }
.est-result .btn { align-self: flex-start; }
@media (max-width: 480px) { .est-result .btn { align-self: stretch; } }

/* ---------- process stepper */
.steps-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; margin-bottom: 28px; }
.steps-tabs::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: var(--hair); }
.steps-tabs button {
  position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 4px 6px; background: none; border: 0;
  cursor: pointer; font: 600 .85rem/1.2 var(--display); color: var(--muted); min-height: 44px;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
  border: 2px solid var(--border); color: var(--ink); font: 650 1.05rem/1 var(--display); position: relative; z-index: 1;
}
.steps-tabs button[aria-selected="true"] { color: var(--ink); }
.steps-tabs button[aria-selected="true"] .step-num { background: var(--millwork); border-color: var(--millwork); color: var(--paper); }
.steps-tabs button.done .step-num { border-color: var(--millwork); }
@media (min-width: 768px) { .steps-tabs button { font-size: 1rem; } .step-num { width: 52px; height: 52px; } .steps-tabs::before { top: 25px; } }
.step-panel { display: grid; gap: 28px; background: var(--paper); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 44px); }
@media (min-width: 900px) { .step-panel { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.step-panel[hidden] { display: none; }
.step-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.step-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); align-self: start; }
.step-facts div { padding: 12px 0; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.step-facts dt { font: 400 .9rem/1.4 var(--display); color: var(--muted); }
.step-facts dd { margin: 0; font: 600 .98rem/1.4 var(--display); }
@media (max-width: 559px) { .step-facts div { grid-template-columns: 6.5em 1fr; } }

/* full process page list */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.process-item { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .process-item { grid-template-columns: 120px 1.3fr 1fr; gap: 40px; } }
.process-item .big-num { font: 700 clamp(3rem, 6vw, 4.5rem)/0.9 var(--display); font-stretch: 112%; color: var(--brass-ink); }

/* ---------- projects */
.featured { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .featured { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .featured .project:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
  .featured .project:first-child h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
}
.project { display: flex; flex-direction: column; gap: 14px; }
.project h3 { margin: 4px 0 0; }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project p { margin: 0; color: var(--muted); font-size: 1rem; }
.project-tag { font: 500 .85rem/1 var(--display); color: var(--brass-ink); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent;
  font: 600 .95rem/1 var(--display); color: var(--ink); cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--millwork); border-color: var(--millwork); color: var(--paper); }
.project-grid { display: grid; gap: 36px 28px; }
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project[hidden] { display: none; }

/* ---------- reviews */
.reviews-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: 1.4fr 1fr; } }
.review { margin: 0; padding: clamp(22px, 3.5vw, 36px); background: var(--paper); border-radius: var(--radius-m); display: flex; flex-direction: column; gap: 14px; }
.review.lead { background: var(--millwork); color: var(--paper); }
.review.lead blockquote p { font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.4; }
.band-paper .review:not(.lead) { background: var(--stone); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; }
.review figcaption { font: 600 .95rem/1.35 var(--display); margin-top: auto; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.review.lead figcaption span { color: var(--sage); }
.stars { display: flex; gap: 3px; color: var(--brass-ink); }
.review.lead .stars { color: var(--brass-lt); }
.stars svg { width: 18px; height: 18px; }
.reviews-side { display: grid; gap: 24px; }
.sample-label { display: inline-block; font: 500 .85rem/1 var(--display); padding: 6px 10px; border-radius: 999px; background: var(--plaster); color: var(--ink); }

/* ---------- areas */
.areas-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; } }
.area-cols { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 24px; }
.area-cols li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--hair); font: 500 1rem/1.3 var(--display); }
.area-cols a { font-weight: 600; }
.map-wrap { background: var(--paper); border-radius: var(--radius-m); padding: 12px; }
.map-caption { font: 400 .82rem/1.3 var(--display); color: var(--muted); margin: 8px 4px 0; }

/* ---------- FAQ */
.faq { border-top: 1px solid var(--hair); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 600 clamp(1.05rem, 1.8vw, 1.22rem)/1.35 var(--display); font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--millwork); border-bottom: 2.5px solid var(--millwork); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 22px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- forms */
.consult-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .consult-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; } }
@media (max-width: 999px) { .consult-grid.form-first .form-card { order: -1; } }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 40px); --focus: var(--millwork); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font: 600 .98rem/1.3 var(--display); color: var(--ink); }
.field .hint { font: 400 .85rem/1.4 var(--display); color: var(--muted); }
.req { color: var(--error); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.0625rem/1.3 var(--display); color: var(--ink);
  background: #FFFFFF; border: 1.5px solid var(--border); border-radius: var(--radius-s); appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231F3A32' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--millwork); outline-offset: 1px; border-color: var(--millwork); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--error); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dropzone { position: relative; border: 2px dashed var(--border); border-radius: var(--radius-m); padding: 22px; text-align: center; background: #FFFFFF; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone:focus-within { outline: 3px solid var(--millwork); outline-offset: 2px; }
.dropzone svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--brass-ink); }
.dropzone strong { font: 600 1rem/1.3 var(--display); display: block; }
.dropzone span { font: 400 .88rem/1.4 var(--display); color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font: 400 .9rem/1.4 var(--display); text-align: left; }
.file-list li { padding: 6px 0; border-top: 1px solid var(--hair); }
.form-foot { display: grid; gap: 12px; margin-top: 6px; }
.form-foot p { font: 400 .85rem/1.45 var(--display); color: var(--muted); margin: 0; }
.form-card .btn { width: 100%; }
@media (min-width: 640px) { .form-card .btn { width: auto; } }
.form-success { display: none; }
.form-success.show { display: block; }
.form-success h3 { color: var(--success); }
.form-error { color: var(--error); font: 600 .95rem/1.4 var(--display); margin: 0; }
.consult-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.consult-points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.consult-points svg { width: 24px; height: 24px; color: var(--brass-lt); margin-top: 2px; }
.band-plaster .consult-points svg, .band-paper .consult-points svg { color: var(--brass-ink); }

/* ---------- page hero (interior pages) */
.page-hero { background: var(--millwork); color: var(--paper); }
.page-hero-grid { display: grid; gap: 36px; padding-block: clamp(36px, 6vw, 80px); }
@media (min-width: 1000px) { .page-hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; } .page-hero-grid.text-only { grid-template-columns: minmax(0, 820px); } }
.page-hero h1 { color: var(--paper); font-size: clamp(2.2rem, 5.6vw, 4rem); }
.page-hero .lede { color: var(--sage); }
.crumbs { font: 400 .9rem/1.3 var(--display); color: var(--sage); margin-bottom: 18px; }
.crumbs a { color: var(--sage); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sage); }
.crumbs [aria-current] { color: var(--paper); }

/* ---------- content blocks */
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } .two-col.wide-left { grid-template-columns: 1.3fr 1fr; } }
.cost-table { width: 100%; border-collapse: collapse; font-family: var(--display); background: var(--paper); border-radius: var(--radius-m); overflow: hidden; }
.cost-table th, .cost-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.cost-table thead th { background: var(--millwork); color: var(--paper); font-weight: 600; font-size: .95rem; }
.cost-table tbody th { font-weight: 600; font-size: 1rem; }
.cost-table td { font-size: .98rem; }
.cost-table td strong { display: block; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.cost-table td span { color: var(--muted); font-size: .88rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-m); }
@media (max-width: 639px) {
  .cost-table thead { display: none; }
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table th, .cost-table td { display: block; width: 100%; }
  .cost-table tr { border-bottom: 6px solid var(--stone); }
  .cost-table tbody th { background: var(--plaster); }
  .cost-table td::before { content: attr(data-label); display: block; font-size: .82rem; color: var(--muted); margin-bottom: 2px; }
}
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { margin: 0; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 8px; border-left: 2.5px solid var(--brass-ink); border-bottom: 2.5px solid var(--brass-ink); transform: rotate(-45deg); }
.band-dark .check-list li::before { border-color: var(--brass-lt); }
.note-box { border-left: 3px solid var(--brass-ink); padding: 4px 0 4px 20px; margin: 24px 0; }
.note-box p { margin: 0; }
.cta-band { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--sage); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--hair); margin: 28px 0; }
.stat-row div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hair); }
.stat-row dt { font: 400 .85rem/1.3 var(--display); color: var(--muted); }
.stat-row dd { margin: 4px 0 0; font: 650 1.35rem/1.15 var(--display); font-stretch: 108%; }
.source-note { font: 400 .85rem/1.5 var(--display); color: var(--muted); }

/* ---------- footer */
.site-footer { background: var(--ink); color: var(--sage); padding-block: clamp(48px, 7vw, 80px) 28px; font-family: var(--display); }
.site-footer a { color: var(--paper); }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; color: var(--paper); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .98rem; }
.site-footer p { font-size: .95rem; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-legal { border-top: 1px solid rgba(195, 210, 201, .2); margin-top: 40px; padding-top: 22px; font-size: .85rem; line-height: 1.5; display: grid; gap: 8px; }
.footer-legal p { max-width: none; margin: 0; }
.demo-credit { color: var(--paper); }

/* ---------- mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--millwork);
  border-top: 1px solid rgba(195, 210, 201, .25); box-shadow: 0 -10px 24px rgba(8, 18, 14, .2); --focus: var(--brass-lt);
}
.mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 1rem; width: 100%; }
.site-footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } .site-footer { padding-bottom: 28px; } }

/* ---------- city pages */
.local-facts { display: grid; gap: 20px; }
@media (min-width: 700px) { .local-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.local-fact { background: var(--paper); border-radius: var(--radius-m); padding: 22px; }
.local-fact h3 { font-size: 1.1rem; }
.local-fact p { margin: 0; color: var(--muted); font-size: 1rem; }
.neighborhoods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.neighborhoods li { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 999px; font: 500 .95rem/1.2 var(--display); }

/* ---------- motion: one purposeful moment (slider nudge), off for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print { .mobile-bar, .site-header, .demo-note { display: none; } }
.project-text p { margin-top: 8px; }
@media (min-width: 1280px) and (max-width: 1439px) { .site-header .brand-name span { display: none; } }
.project h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-stretch: 105%; line-height: 1.2; margin: 4px 0 0; }

/* =====================================================================
   Round 2 additions (judge panel fixes)
   ===================================================================== */

/* demo note: one line on phones, full disclosure stays in the footer */
.demo-short { display: none; }
@media (max-width: 639px) { .demo-long { display: none; } .demo-short { display: inline; } }
@media (max-width: 479px) { .site-header .brand-name span { display: none; } }

/* any photo box: the illustration fills its fixed box */
.photo-box > svg.art { width: 100%; height: 100%; }

/* ---------- full-bleed home hero
   Phones: headline, then the photo, then the pitch. Desktop: the photo fills the whole
   hero and the copy sits on a millwork scrim (>= 92% opaque under every line of text,
   because the copy column never passes 50% of the width). */
.hero { position: relative; background: var(--millwork); color: var(--paper); display: flex; flex-direction: column; overflow: hidden; }
.hero-head { padding-top: clamp(28px, 6vw, 56px); position: relative; z-index: 1; }
.hero-kicker { font: 500 1rem/1.3 var(--display); color: var(--brass-lt); margin: 0 0 14px; }
.hero h1 { color: var(--paper); margin: 0 0 24px; font-size: clamp(2.4rem, 8.6vw, 4.25rem); line-height: 1.02; max-width: 12.5ch; }
.hero-media { position: relative; }
.hero-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--plaster); }
.hero-chip {
  display: grid; gap: 2px; padding: 14px var(--gutter); background: var(--millwork-2); color: var(--paper);
  text-decoration: none; font: 400 .92rem/1.35 var(--display); border-bottom: 1px solid rgba(195, 210, 201, .2);
}
.hero-chip .chip-k { color: var(--sage); }
.hero-chip .chip-v { font-weight: 600; }
.hero-chip .chip-cta { color: var(--brass-lt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.hero-body { padding-block: 28px clamp(48px, 7vw, 72px); position: relative; z-index: 1; }
.hero .lede { color: var(--sage); margin-bottom: 28px; }
.hero-promises { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; color: var(--paper); font: 400 1rem/1.4 var(--display); }
.hero-promises li { display: flex; gap: 10px; align-items: flex-start; }
.hero-promises svg { width: 20px; height: 20px; flex: none; color: var(--brass-lt); margin-top: 1px; }
@media (max-width: 480px) { .hero .btn-row .btn { width: 100%; } }
@media (min-width: 1000px) {
  .hero { min-height: clamp(660px, calc(100vh - 104px), 880px); justify-content: center; }
  .hero-media { position: absolute; inset: 0; }
  .hero-photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(31, 58, 50, .95) 0%, rgba(31, 58, 50, .92) 50%, rgba(31, 58, 50, .45) 64%, rgba(31, 58, 50, 0) 78%);
  }
  .hero-head { padding-top: 56px; }
  .hero-head > *, .hero-body > * { max-width: min(34rem, 46vw); }
  .hero-body { padding-bottom: 64px; }
  .hero-chip {
    position: absolute; right: var(--gutter); bottom: 28px; z-index: 2; max-width: 300px; padding: 14px 18px;
    background: var(--paper); color: var(--ink); border: 0; border-radius: var(--radius-m); box-shadow: 0 18px 40px -18px rgba(8, 18, 14, .6);
    --focus: var(--brass-lt);
  }
  .hero-chip .chip-k { color: var(--muted); }
  .hero-chip .chip-cta { color: var(--millwork); }
}
@media (min-width: 1400px) { .hero-chip { right: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }

/* ---------- awards row (text badges, samples) */
.awards { border-top: 1px solid var(--hair); }
.awards-inner { display: grid; gap: 14px; padding-block: 22px; }
@media (min-width: 1000px) { .awards-inner { grid-template-columns: 230px 1fr; align-items: center; gap: 32px; } }
.awards-label { margin: 0; font: 650 1.05rem/1.2 var(--display); font-stretch: 108%; }
.awards-label span { display: block; font: 400 .85rem/1.35 var(--display); font-stretch: 100%; color: var(--muted); margin-top: 4px; }
.award-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .award-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.award {
  display: grid; gap: 2px; align-content: center; text-align: center; padding: 12px 10px; min-height: 84px;
  border: 1.5px solid var(--ink); border-radius: 6px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--border);
  font-family: var(--display); color: var(--ink); background: var(--paper);
}
.award-org { font: 700 .8rem/1.2 var(--display); font-stretch: 112%; letter-spacing: .02em; color: var(--brass-ink); }
.award-name { font: 600 .98rem/1.2 var(--display); }
.award-year { font: 400 .8rem/1.2 var(--display); color: var(--muted); }

/* ---------- project cards: light, one meta line, whole card clickable */
.project { position: relative; }
.card-art { border-radius: var(--radius-m); }
.card-link {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
  text-decoration: none; line-height: inherit; letter-spacing: inherit;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-m); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 4px; }
.project:hover .card-link, .case-banner:hover .card-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* every item carries a separator before it; the inner row is pulled 21px left and the
   paragraph clips it, so no line ever starts with a separator when the row wraps */
.project-meta { overflow: hidden; margin: 8px 0 0 !important; font: 500 .9rem/1.45 var(--display); color: var(--ink) !important; }
.project-meta .pm { display: flex; flex-wrap: wrap; row-gap: 2px; margin-left: -21px; }
.project-meta .pm > span::before { content: ""; display: inline-block; width: 1px; height: .85em; background: var(--border); margin: 0 10px; vertical-align: -1px; }
.card-cue { display: inline-block; margin-top: 12px; font: 600 .95rem/1.3 var(--display); color: var(--millwork); text-decoration: underline; text-underline-offset: 3px; }
.project-text p:not(.project-meta) { margin-top: 10px; }

/* project dialog (lightbox) */
.project-dialog {
  padding: 0; border: 0; border-radius: var(--radius-m); width: min(980px, calc(100vw - 24px)); max-width: none;
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(8, 18, 14, .45);
}
.project-dialog::backdrop { background: rgba(23, 36, 31, .78); }
.dialog-inner { position: relative; display: grid; }
@media (min-width: 900px) { .dialog-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.dialog-art { aspect-ratio: 3 / 2; overflow: hidden; }
@media (min-width: 900px) { .dialog-art { aspect-ratio: auto; min-height: 440px; height: 100%; } }
.dialog-text { padding: 24px clamp(20px, 3vw, 32px) 28px; }
.dialog-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 4px; }
.dialog-text > p { margin-bottom: 14px; }
.dialog-spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 14px; border-top: 1px solid var(--hair); }
.dialog-spec div { padding: 9px 0; border-bottom: 1px solid var(--hair); }
.dialog-spec div:nth-child(odd) { padding-right: 12px; }
.dialog-spec dt { font: 400 .8rem/1.3 var(--display); color: var(--muted); }
.dialog-spec dd { margin: 2px 0 0; font: 600 .95rem/1.3 var(--display); }
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; min-height: 44px; padding: 8px 18px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 2px solid var(--millwork); border-radius: 999px; font: 600 .95rem/1 var(--display);
}
.dialog-close:hover { background: var(--millwork); color: var(--paper); }

/* ---------- interior heroes, about 40% shorter */
.page-hero.compact > .wrap { padding-block: clamp(28px, 4.5vw, 60px); }
.compact-grid { display: grid; gap: 14px 64px; }
@media (min-width: 1000px) { .compact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; } }
.compact-grid h1 { margin: 0; }
.compact-grid .lede { margin: 0; }
.hero-jump { margin: 14px 0 0; font: 600 1rem/1.3 var(--display); }
.page-hero .hero-jump a { color: var(--brass-lt); }

/* ---------- case-study banner on projects */
.case-banner-wrap { padding-bottom: clamp(36px, 5vw, 56px); }
.section-flush-top { padding-top: 0; }
.case-banner { position: relative; display: grid; background: var(--millwork); color: var(--paper); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 900px) { .case-banner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } }
.case-banner-art { aspect-ratio: 3 / 2; }
.case-banner-text { padding: clamp(24px, 4vw, 48px); }
.case-banner h2 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.case-banner p { color: var(--sage); }
.case-banner .project-meta { color: var(--paper) !important; }
.case-banner .project-meta .pm > span::before { background: var(--sage); }
.case-banner .card-cue { color: var(--brass-lt); }

/* ---------- people (initials avatars: no photos of real people) */
.team-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.team-head h2, .team-head p { margin: 0; }
.sample-inline { display: block; margin-top: 8px; font: 400 .88rem/1.4 var(--display); color: var(--muted); }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
@media (min-width: 800px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.people.compact { grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 12px; }
.person { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 20px; border-top: 2px solid var(--millwork); }
.avatar {
  width: 60px; height: 60px; border-radius: 50%; background: var(--millwork); color: var(--brass-lt);
  display: grid; place-items: center; font: 650 1.2rem/1 var(--display); font-stretch: 112%; letter-spacing: .03em;
}
.avatar.lg { width: 84px; height: 84px; font-size: 1.6rem; background: var(--brass-lt); color: var(--millwork); }
.person h3 { margin: 2px 0 2px; font-size: 1.2rem; }
.person-role { font: 500 .95rem/1.3 var(--display); color: var(--brass-ink); margin: 0 0 8px; }
.person p:not(.person-role) { color: var(--muted); font-size: 1rem; margin: 0; }
.owner-quote { margin: 0; background: var(--millwork); color: var(--paper); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-self: start; }
.owner-quote blockquote { margin: 0; }
.owner-quote blockquote p { font: 400 clamp(1.15rem, 2vw, 1.35rem)/1.5 var(--serif); margin: 0; }
.owner-quote figcaption { font: 600 1rem/1.35 var(--display); }
.owner-quote figcaption span { display: block; font-weight: 400; font-size: .88rem; color: var(--sage); }

/* ---------- studio */
.studio { display: grid; gap: 36px; }
@media (min-width: 900px) { .studio { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.studio-photo { margin: 0; }
.studio-photo figcaption { margin-top: 10px; font: 400 .88rem/1.4 var(--display); color: var(--muted); }
.studio h2 { margin-bottom: .4em; }
.studio-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid var(--hair); }
.studio-facts dt { font: 400 .85rem/1.3 var(--display); color: var(--muted); }
.studio-facts dd { margin: 4px 0 0; font: 600 1rem/1.35 var(--display); }
.studio-facts dd span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
@media (max-width: 479px) { .studio-facts { grid-template-columns: 1fr; } }

/* ---------- reviews: centered head, one big quote, three cards */
.section-head.centered { justify-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.section-head.centered .kicker { margin: 0; }
.rating-sources { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; font: 400 .98rem/1.35 var(--display); color: var(--muted); }
.rating-sources strong { color: var(--ink); font-size: 1.1rem; margin-right: 4px; }
.review-lead { margin: 0 auto clamp(32px, 4vw, 48px); max-width: 920px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.review-lead blockquote { margin: 0; }
.review-lead blockquote p { font: 400 clamp(1.35rem, 2.8vw, 2rem)/1.4 var(--serif); max-width: 38ch; margin: 0 auto; }
.review-lead figcaption { font: 600 1rem/1.4 var(--display); }
.review-lead figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.reviews-row { display: grid; gap: 20px; }
@media (min-width: 900px) { .reviews-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reviews-more { text-align: center; margin: 24px auto 0; font: 400 .88rem/1.4 var(--display); color: var(--muted); }
.case-quote-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .case-quote-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.case-quote-grid .review-lead { justify-items: start; text-align: left; margin: 0; }
.case-quote-grid .review-lead blockquote p { margin: 0; }

/* ---------- proof beside the consult form */
.consult-proof { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(195, 210, 201, .25); }
.consult-proof.light { border-top-color: var(--hair); }
.rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; font: 400 .95rem/1.3 var(--display); }
.band-dark .stars, .on-dark .stars { color: var(--brass-lt); }
.review-mini { margin: 0; }
.review-mini blockquote { margin: 0 0 8px; }
.review-mini blockquote p { font-size: 1.05rem; line-height: 1.55; margin: 0; }
.review-mini figcaption { font: 600 .92rem/1.4 var(--display); }
.review-mini figcaption span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.on-dark .review-mini figcaption span { color: var(--sage); }
.qualify { font: 400 .98rem/1.5 var(--display); color: var(--paper); border-left: 3px solid var(--brass-lt); padding-left: 14px; margin: 20px 0 0; }
.qualify-light { font: 400 .98rem/1.5 var(--display); color: var(--ink); border-left: 3px solid var(--brass-ink); padding-left: 14px; margin: 8px 0 0; }

/* ---------- estimator: live bar on phones, soft "email me" conversion */
.est-live { display: none; }
@media (max-width: 999px) {
  .est-live {
    display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
    position: sticky; top: 69px; z-index: 5; margin: calc(-1 * clamp(22px, 4vw, 44px)) calc(-1 * clamp(22px, 4vw, 44px)) 0;
    padding: 12px clamp(22px, 4vw, 44px); background: var(--millwork); color: var(--paper); font: 500 .92rem/1.3 var(--display);
    box-shadow: 0 8px 18px -10px rgba(8, 18, 14, .5);
  }
  .est-live span { color: var(--sage); }
  .est-live strong { font: 700 1.12rem/1.2 var(--display); font-stretch: 108%; font-variant-numeric: tabular-nums; }
}
.est-inc-label { font: 400 .9375rem/1.4 var(--display); color: var(--sage); margin: 0 0 6px; }
.est-email { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(195, 210, 201, .25); }
.est-email label:not(.honeypot) { font: 600 .98rem/1.35 var(--display); color: var(--paper); }
.est-email-row { display: flex; flex-wrap: wrap; gap: 8px; }
.est-email-row input { flex: 1 1 200px; min-width: 0; }
.est-email-row .btn { flex: none; min-height: 50px; align-self: auto; }
.est-email input:focus-visible { outline-color: var(--brass-lt); }
.est-email .form-error { color: #FFC9BC; }
.est-email-fine { font: 400 .82rem/1.4 var(--display); color: var(--sage); margin: 0; }
.est-sent { margin: 0; color: var(--paper); font: 400 1rem/1.5 var(--display); }
.est-sent strong { color: var(--brass-lt); }
@media (max-width: 480px) { .est-email-row .btn { width: 100%; } }

/* ---------- tables: notes after the table, payments, budget */
.table-note { font: 400 .88rem/1.45 var(--display); color: var(--muted); margin: 12px 0 0; max-width: 90ch; }
.cost-table tbody th span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.cost-table .total-row th, .cost-table .total-row td { background: var(--stone); font-weight: 650; }
.cost-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 639px) { .cost-table .num { text-align: left; } }

/* ---------- case study */
.case-hero > .wrap { padding-block: clamp(28px, 5vw, 64px); }
.case-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
.case-hero-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .case-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: end; } }
.case-hero .lede { margin-bottom: 0; }
.case-spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid rgba(195, 210, 201, .3); }
.case-spec div { padding: 12px 0; border-bottom: 1px solid rgba(195, 210, 201, .3); }
.case-spec div:nth-child(odd) { padding-right: 14px; }
.case-spec dt { font: 400 .85rem/1.3 var(--display); color: var(--sage); }
.case-spec dd { margin: 3px 0 0; font: 600 1.05rem/1.3 var(--display); color: var(--paper); }
.bleed { margin: 0; background: var(--millwork); }
.bleed-art { aspect-ratio: 3 / 2; overflow: hidden; }
@media (min-width: 900px) { .bleed-art { aspect-ratio: 21 / 9; } }
.bleed figcaption { padding-block: 12px 14px; font: 400 .9rem/1.45 var(--display); color: var(--sage); }
.phases { display: grid; gap: 32px; }
@media (min-width: 900px) { .phases { grid-template-columns: 1fr 1fr; gap: 56px; } }
.phase h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 16px; }
.phase h3 span { display: block; font: 500 .95rem/1.3 var(--display); color: var(--brass-ink); margin-top: 6px; }
.gallery { display: grid; gap: 20px 16px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-item.big { grid-column: 1 / -1; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-item.big .g-art { aspect-ratio: 2 / 1; } }
.g-item { margin: 0; }
.g-art { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--plaster); }
.g-item figcaption { margin-top: 8px; font: 400 .9rem/1.4 var(--display); color: var(--muted); }

/* ---------- 404 */
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.link-grid a { display: block; padding: 18px 20px; background: var(--paper); border: 1.5px solid var(--hair); border-radius: var(--radius-m); font: 600 1.1rem/1.3 var(--display); text-decoration: none; }
.link-grid a:hover { border-color: var(--millwork); }
.page-hero .kicker, .case-banner .kicker, .owner-quote .kicker { color: var(--brass-lt); }

/* header fits one more nav item (About) at 1280 to 1439 */
.brand-name { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) {
  .header-inner { gap: 10px; }
  .site-nav a, .site-nav a[aria-current="page"] { padding: 10px 7px; }
  .site-nav a[aria-current="page"]::after { left: 7px; right: 7px; }
  .header-phone { padding-inline: 4px; }
}
@media (min-width: 1000px) { .hero-body { padding-top: 4px; } }
@media (min-width: 900px) { .dialog-text .project-tag, .dialog-text h2 { padding-right: 92px; } }

/* ================================================================== round 3 */
/* one consistent disclaimer mark */
.sample-pill {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 4px 8px 3px; border-radius: 999px;
  background: var(--plaster); color: var(--ink); font: 600 .7rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase;
  font-stretch: 100%; white-space: nowrap;
}
h2 .sample-pill { position: relative; top: -.2em; }
.photo-box > .sample-pill.on-photo { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; background: var(--paper); }
.awards-label .sample-pill { margin-left: 4px; }

/* one-line section head: title left, link right */
.head-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.head-line h2, .head-line p { margin: 0; }

/* FAQ "more" link */
.faq-more { margin: 20px 0 0; }

/* estimator as a full-width dark band with a centered head */
.est-band .section-head.centered .muted { max-width: 62ch; }
.est-band .estimator { box-shadow: 0 0 0 1px rgba(195, 210, 201, .22), 0 24px 48px -30px rgba(0, 0, 0, .6); }
.est-band .est-result { background: var(--ink); }
.est-band .est-controls { color: var(--ink); }

/* projects page: second case study line */
.case-also { margin: 18px 0 0; color: var(--muted); }

/* homepage team: one at-work photo beside text-only name cards */
.team-split { display: grid; gap: 32px; }
@media (min-width: 900px) { .team-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; } }
.team-photo { margin: 0; }
.team-art { aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; }
@media (max-width: 899px) { .team-art { aspect-ratio: 3 / 2; } }
.team-photo figcaption, .crew-item figcaption { margin-top: 10px; font: 400 .9rem/1.4 var(--display); color: var(--muted); }
.team-split .team-head { margin-bottom: 20px; }

/* name cards: no faces, names and roles as text */
.person { display: block; padding-top: 16px; }
.people.stack { grid-template-columns: 1fr; gap: 0; }
.people.stack .person { padding: 14px 0; border-top: 1px solid var(--hair); }
.people.stack .person:first-child { border-top: 2px solid var(--millwork); }
.people.stack .person h3 { display: inline; margin-right: 8px; }
.people.stack .person-role { display: inline; }
.people.stack .person p:not(.person-role) { margin-top: 4px; }
.people.compact .person h3 { font-size: 1.1rem; }
.people.compact .person-role { margin: 0; }

/* about: crew at work strip */
.crew { margin: 0 0 clamp(32px, 5vw, 48px); }
.crew-label { font: 600 .85rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 12px; }
.crew-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 800px) { .crew-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.crew-item { margin: 0; }
.crew-art { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.owner-art { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; margin: calc(-1 * clamp(24px, 4vw, 40px)) calc(-1 * clamp(24px, 4vw, 40px)) 4px; border-radius: var(--radius-m) var(--radius-m) 0 0; }

/* the before/after Bathroom tab is dropped on small phones to keep the homepage short */
@media (max-width: 639px) { .compare-tabs { display: none; } #panel-b { display: none !important; } }

/* case-study gallery opens a lightbox */
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; text-align: left; }
.g-open:focus-visible { outline: 3px solid var(--millwork); outline-offset: 3px; }
.g-open .g-art { transition: opacity .15s ease; }
.g-open:hover .g-art { opacity: .92; }
.lightbox { width: min(1180px, calc(100vw - 24px)); max-width: none; }
.lb-inner { position: relative; background: var(--ink); color: var(--paper); --focus: var(--brass-lt); }
.lb-stage .photo-box { aspect-ratio: 3 / 2; max-height: calc(100vh - 150px); margin-inline: auto; }
.lb-stage .photo-box > .photo { object-fit: contain; }
.lb-stage .photo-box:not(.photo-loaded) > .photo { opacity: 0; }
.lb-stage .photo-box.photo-loaded { background: var(--ink); }
.lb-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px clamp(12px, 2vw, 20px); }
.lb-cap { margin: 0; text-align: center; font: 400 .95rem/1.4 var(--display); color: var(--paper); }
.lb-nav { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--sage); background: transparent; color: var(--paper); font: 600 .95rem/1 var(--display); cursor: pointer; }
.lb-nav:hover { background: var(--paper); color: var(--ink); }
.lb-nav:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: 2px; }
.lightbox .dialog-close { z-index: 3; }
@media (max-width: 520px) { .lb-bar { grid-template-columns: 1fr 1fr; } .lb-cap { grid-column: 1 / -1; grid-row: 1; } }
@media (prefers-reduced-motion: reduce) { .g-open .g-art { transition: none; } }
.lightbox { background: var(--ink); }

/* ---------- homepage diet (round 3): shorter on phones and desktops */
@media (min-width: 1000px) {
  .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .featured .project:first-child { grid-column: auto; display: flex; grid-template-columns: none; gap: 14px; align-items: stretch; }
  .featured .project:first-child h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
  .featured .project:first-child > * { width: 100%; }
}
@media (min-width: 900px) {
  .team-art { aspect-ratio: 1 / 1; }
  .areas-grid .map-wrap { max-width: 480px; justify-self: end; }
}
@media (max-width: 639px) {
  .featured .project:nth-child(3) { display: none; }
  .featured .project-text > p:not(.project-meta) { display: none; }
  .reviews-row .review:nth-child(n+2) { display: none; }
  .areas-grid .map-wrap { display: none; }
  #consult .review-mini { display: none; }
  #estimator .est-includes, #estimator .est-inc-label { display: none; }
  #panel-k .scope-list { display: none; }
}
.home > .section { padding-block: clamp(56px, 7vw, 88px); }
@media (min-width: 900px) { .team-art { aspect-ratio: 4 / 3; } }
@media (max-width: 639px) { .people.stack .person p:not(.person-role) { display: none; } }
.trust-list span .sample-pill, .awards-label .sample-pill { display: inline-block; width: auto; margin: 4px 0 0 0; }
.awards-label .sample-pill { margin-left: 6px; }
.est-controls { align-content: start; }
@media (min-width: 900px) {
  .home .areas-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; }
  .home .area-cols { columns: 3; }
}
@media (max-width: 639px) {
  #panel-k .compare-layout h3 { display: none; }
  .home .reviews-more { display: none; }
  .team-art { aspect-ratio: 16 / 9; }
  .team-photo figcaption { display: none; }
}
.sample-pill { display: inline-block !important; width: auto !important; }
