:root {
  /* Palette: limewash white, the logo's ink, Charleston green (the near-black green on downtown shutters), oyster-shell grey, old brick */
  --paper: #f7f6f2;
  --ink: #231f20;
  --muted: #6b6762;
  --rule: #d9d5cd;
  --green: #1d2a24;
  --green-2: #2c3d34;
  --oyster: #b8afa1;
  --brick: #9a5a44;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  /* Layout: photo-led. Full-bleed photo strip, a tight editorial column, big photo doors into each collection. */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label.chip:focus-within {
  outline: 2px solid var(--oyster);
  outline-offset: 3px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-stretch: 118%; font-weight: 800; font-size: clamp(40px, 6.2vw, 84px); line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-stretch: 114%; font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.015em; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: block; width: 92px; }
.logo img { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-family: var(--display); font-stretch: 105%; font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--green); color: #f3f1ea !important;
  padding: 13px 20px; border-radius: 2px;
}
.btn:hover { background: var(--green-2); }
.btn.light { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); }
.btn.light:hover { background: var(--ink); color: var(--paper) !important; }
.btn.on-dark { background: transparent; color: #ecebe5 !important; box-shadow: inset 0 0 0 1px #ecebe5; }
.btn.on-dark:hover { background: #ecebe5; color: var(--green) !important; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* The scroll */
.strip { position: relative; padding: 14px 0 0; }
.strip-track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; height: clamp(300px, 40vw, 540px); padding: 0 var(--gutter); cursor: grab; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-track img { height: 100%; width: auto; flex: none; object-fit: cover; background: #e8e5de; user-select: none; -webkit-user-drag: none; }
.strip-note { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter) 0; }
.round-ctrl { display: flex; gap: 8px; }
.round-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.round-ctrl button:hover { border-color: var(--ink); }

/* Statement + recognition */
.statement { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.statement .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; max-width: 34em; margin: 28px 0 0; }
.where { margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.recognition { border-top: 1px solid var(--ink); padding-top: 18px; }
.awards { list-style: none; margin: 14px 0 0; padding: 0; }
.awards li { display: grid; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.awards b { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 18px; line-height: 1.25; }
.awards span { font-size: 15px; color: var(--muted); line-height: 1.35; }
.awards small { font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; color: var(--brick); font-variant-numeric: tabular-nums; margin-top: 2px; }
.since { margin: 16px 0 0; font-family: var(--display); font-stretch: 108%; font-size: 14px; letter-spacing: 0.02em; color: var(--muted); }

/* Collections */
.collections { padding: 0 0 clamp(72px, 9vw, 128px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.door { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.door:hover img { transform: scale(1.035); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,22,20,.72) 0%, rgba(18,22,20,.15) 42%, rgba(18,22,20,0) 60%); }
.door-label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.door h3 { font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; flex: none; }

/* Developer band */
.dev { background: var(--green); color: #ecebe5; }
.dev .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; max-width: none; }
.dev-img { min-height: 460px; }
.dev-img img { width: 100%; height: 100%; object-fit: cover; }
.dev-copy { padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px); align-self: center; max-width: 660px; }
.dev .eyebrow { color: var(--oyster); }
.dev h2 { color: #f3f1ea; margin-top: 14px; }
.dev p { font-size: 19px; margin: 22px 0 0; color: #d7d5cc; }

/* Costs teaser (home) */
.costs { padding: clamp(72px, 9vw, 128px) 0; }
.costs .intro { max-width: 36em; margin: 16px 0 0; }
.cost-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 0.95fr); gap: 12px; margin-top: 36px; align-items: stretch; }
.cost-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cost-track::-webkit-scrollbar { display: none; }
.cost-card { flex: 0 0 calc(50% - 6px); min-width: 280px; scroll-snap-align: start; background: #fff; display: flex; flex-direction: column; border: 1px solid var(--rule); text-decoration: none; color: inherit; }
.cost-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.cost-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cost-body h3 { font-stretch: 108%; font-weight: 700; font-size: 21px; }
.cost-meta { font-size: 15px; color: var(--muted); margin: -8px 0 0; }
.cost-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--rule); padding-top: 14px; margin: auto 0 0; }
.cost-figs dt { font-family: var(--display); font-stretch: 112%; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cost-figs dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; }
.cost-link { font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--green); }
.calc-card { background: var(--ink); color: #eeece6; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.calc-card h3 { font-stretch: 112%; font-weight: 700; font-size: 24px; line-height: 1.1; color: #fff; }
.calc-card p { margin: 0; font-size: 16px; color: #cfccc4; }
.calc-card .btn { margin-top: auto; align-self: flex-start; background: #f3f1ea; color: var(--ink) !important; }
.calc-card .btn:hover { background: #fff; }
.mini-bars { display: grid; gap: 7px; margin: 4px 0 6px; }
.mini-bars div { display: grid; grid-template-columns: 9.5em 1fr 3.4em; align-items: center; gap: 10px; font-family: var(--display); font-size: 12px; color: #bdbab1; font-variant-numeric: tabular-nums; }
.mini-bars i { display: block; height: 6px; background: var(--oyster); }
.mini-bars span:last-child { text-align: right; }

/* Contact */
.contact { background: var(--green); color: #ecebe5; padding: clamp(72px, 9vw, 128px) 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.contact h2 { color: #f3f1ea; margin-top: 12px; }
.contact .eyebrow { color: var(--oyster); }
.contact p { color: #d7d5cc; margin: 20px 0 0; max-width: 28em; }
.contact address { font-style: normal; margin-top: 36px; display: grid; gap: 6px; font-size: 16px; color: #d7d5cc; }
.contact address a { text-decoration: none; color: #f3f1ea; }
.licenses { font-size: 14px; color: #b9b7ae; margin-top: 8px; }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.lead label { font-family: var(--display); font-stretch: 110%; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oyster); }
.lead input, .lead select, .lead textarea { font: inherit; font-size: 17px; color: #f3f1ea; background: transparent; border: 0; border-bottom: 1px solid rgba(236,235,229,.35); border-radius: 0; padding: 10px 0; width: 100%; }
.lead select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b8afa1 50%), linear-gradient(135deg, #b8afa1 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lead select option { color: var(--ink); }
.lead textarea { min-height: 96px; resize: vertical; }
.lead input::placeholder, .lead textarea::placeholder { color: rgba(236,235,229,.45); }
.lead input:focus, .lead select:focus, .lead textarea:focus { border-bottom-color: #f3f1ea; outline: none; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot .btn { background: #f3f1ea; color: var(--ink) !important; }
.form-foot .btn:hover { background: #fff; }
.form-foot small { font-size: 14px; color: #b9b7ae; }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: var(--oyster); min-height: 1em; margin: 0; }
.lead-fields { display: contents; }
.lead input:disabled, .lead select:disabled, .lead textarea:disabled { opacity: .55; }
.lead [aria-invalid="true"] { border-bottom-color: #e3a28f; }
.field-err { margin: 0; font-size: 13px; line-height: 1.4; color: #eab3a3; }
.contact .field-err { margin: 0; }
.form-foot .btn:disabled { opacity: .6; cursor: default; }
.form-done, .form-closed { grid-column: 1 / -1; margin: 0; }
.form-done:focus { outline: none; }
.contact .form-done p { margin: 0 0 10px; max-width: 30em; color: #f3f1ea; font-size: 21px; line-height: 1.45; }

/* Footer */
.site-footer { padding: 48px 0 40px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.site-footer .logo { width: 64px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.foot-cols a { text-decoration: none; color: var(--ink); }

/* Preview badge (not part of the real site) */
.preview-badge { position: fixed; right: 14px; bottom: 14px; z-index: 50; background: #b23a2b; color: #fff; font: 600 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: 2px; }

/* ---------- What It Costs page ---------- */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-head h1 { margin-top: 14px; font-size: clamp(38px, 5.4vw, 72px); }
.page-head .lede { margin-top: 24px; }
.guide-card { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 12px; }
.guide-card p { margin: 0; font-size: 16px; color: var(--muted); }
.guide-card .btn { justify-self: start; }

.calc { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(48px, 6vw, 88px) 0; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.calc-controls { position: sticky; top: 100px; display: grid; gap: 28px; }
.calc-controls h2 { font-size: clamp(28px, 3vw, 40px); }
.budget-field label { display: block; font-family: var(--display); font-stretch: 110%; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.budget-input { display: flex; align-items: baseline; border-bottom: 2px solid var(--ink); }
.budget-input span { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 40px; }
.budget-input input { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 40px; border: 0; background: transparent; width: 100%; padding: 4px 0 8px 6px; color: var(--ink); font-variant-numeric: tabular-nums; }
.budget-input input:focus { outline: none; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button { font-family: var(--display); font-stretch: 108%; font-size: 13px; font-weight: 600; padding: 7px 12px; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; cursor: pointer; color: var(--ink); }
.presets button:hover { border-color: var(--ink); }
.house-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.house-fields label { display: block; font-family: var(--display); font-stretch: 110%; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.house-fields label span { text-transform: none; letter-spacing: 0; }
.house-fields input, .house-fields select { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 19px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 0 8px; width: 100%; font-variant-numeric: tabular-nums; }
.house-fields select { appearance: none; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.house-fields input:focus, .house-fields select:focus { outline: none; border-bottom-color: var(--green-2); }
.house-fields input::placeholder { color: #b5b0a8; font-weight: 500; }
.check { border-left: 4px solid var(--rule); background: var(--paper); padding: 16px 20px; display: grid; gap: 6px; }
.check p { margin: 0; font-size: 16px; line-height: 1.5; }
.check .check-head { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 21px; line-height: 1.2; }
.check[data-tone="short"] { border-left-color: var(--brick); }
.check[data-tone="short"] .check-head { color: var(--brick); }
.check[data-tone="tight"] { border-left-color: #c9a96a; }
.check[data-tone="ok"], .check[data-tone="room"] { border-left-color: var(--green-2); }
.check .btn { justify-self: start; margin-top: 6px; padding: 9px 14px; font-size: 13px; }
.check p.check-why { font-size: 13px; color: var(--muted); }
.check-why a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.addons p { margin: 0 0 10px; font-family: var(--display); font-stretch: 110%; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
label.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); cursor: pointer; font-family: var(--display); font-stretch: 105%; font-size: 14px; user-select: none; }
label.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
label.chip i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); display: inline-block; flex: none; }
label.chip:has(input:checked) { background: var(--green); border-color: var(--green); color: #f3f1ea; }
label.chip:has(input:checked) i { border-color: #f3f1ea; background: radial-gradient(circle, #f3f1ea 40%, transparent 45%); }
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-note { font-size: 14px; color: var(--muted); margin: 0; }

.calc-summary { display: grid; gap: 20px; }
.stack { display: flex; height: 18px; width: 100%; overflow: hidden; border-radius: 2px; background: var(--rule); }
.stack i { display: block; height: 100%; transition: width 300ms ease; }
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.legend div { display: grid; grid-template-columns: 12px 1fr; gap: 2px 10px; align-items: baseline; }
.legend i { width: 12px; height: 12px; border-radius: 2px; display: block; align-self: center; }
.legend b { font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: 14px; }
.legend span { grid-column: 2; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lines { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lines th { text-align: left; font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--ink); }
.lines th:nth-child(2), .lines th:nth-child(3) { text-align: right; }
.lines td { padding: 9px 8px; border-bottom: 1px solid var(--rule); font-size: 16px; vertical-align: middle; }
.lines td:nth-child(2), .lines td:nth-child(3) { text-align: right; white-space: nowrap; }
.lines .group-row td { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 22px; border-bottom: 1px solid var(--rule); }
.lines .group-row td span { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: 0; }
.lines input { width: 5.2em; font: inherit; font-size: 15px; text-align: right; padding: 4px 6px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.lines input:focus { outline: none; border-color: var(--ink); }
.lines tr.locked input { border-color: var(--green); background: #eef1ee; }
.tag { display: inline-block; margin-left: 8px; font-family: var(--display); font-stretch: 105%; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--brick); border: 1px solid color-mix(in srgb, var(--brick) 45%, transparent); padding: 1px 6px; border-radius: 999px; vertical-align: 1px; }
.lines tfoot { border-top: 2px solid var(--ink); }
.lines tfoot td { font-family: var(--display); font-stretch: 112%; border-bottom: 0; padding-top: 12px; }
.lines tfoot tr.sub td { font-weight: 600; font-size: 15px; color: var(--muted); padding-top: 8px; padding-bottom: 4px; }
.lines tfoot tr.grand td { font-weight: 800; font-size: 18px; padding-top: 14px; }
.lines tfoot tr.sub:not([hidden]) + tr.grand td { border-top: 1px solid var(--ink); }
.warn { color: var(--brick); font-size: 15px; margin: 0; min-height: 1.2em; }
.print-head, .print-note { display: none; }

.breakdowns { padding: clamp(64px, 8vw, 112px) 0; }
.project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--ink); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project-photos { display: grid; gap: 10px; align-content: start; }
.project-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e5de; }
.project h2 { font-size: clamp(28px, 3vw, 40px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-stretch: 112%; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; }
.project .story { margin: 20px 0 0; font-size: 17px; }
.items { width: 100%; border-collapse: collapse; margin-top: 24px; font-variant-numeric: tabular-nums; font-size: 15px; }
.items th { text-align: left; font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--ink); }
.items td { padding: 10px 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.items td.amt, .items th.amt { text-align: right; white-space: nowrap; }
.items td b { font-family: var(--display); font-stretch: 105%; font-weight: 600; font-size: 15px; display: block; }
.items td small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; margin-top: 2px; }
.items .bar { display: block; height: 4px; background: var(--rule); margin-top: 6px; }
.items .bar i { display: block; height: 100%; background: var(--green); }
.items tfoot td { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 17px; border-bottom: 0; border-top: 2px solid var(--ink); }

/* ---------- Gallery pages ---------- */
.gallery-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.gallery-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; }
.gallery-head h1 { margin-top: 12px; font-size: clamp(38px, 5.4vw, 72px); }
.gallery-intro { margin: 18px 0 0; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); }
.more-work { margin: 0; font-family: var(--display); font-stretch: 105%; font-size: 14px; color: var(--muted); }
.more-work a { color: var(--ink); text-underline-offset: 3px; }
.grid { columns: 340px 3; column-gap: 10px; max-width: 1640px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 112px); }
.grid .tile { display: block; margin: 0 0 10px; break-inside: avoid; background: #e8e5de; cursor: zoom-in; }
.grid .tile img { width: 100%; height: auto; }
.grid-msg { margin: 0; padding: 24px 0 64px; color: var(--muted); font-size: 16px; column-span: all; }
.cta-band .wrap { align-items: end; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-link { font-family: var(--display); font-stretch: 105%; font-size: 14px; color: #d7d5cc; text-underline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(18, 22, 20, 0.96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #f3f1ea; cursor: pointer; font: 300 44px/1 var(--display); padding: 10px 16px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; color: #b9b7ae; font: 13px var(--display); font-variant-numeric: tabular-nums; }

/* ---------- Journal ---------- */
.j-list { max-width: 1120px; padding-bottom: clamp(64px, 8vw, 112px); }
.j-list .grid-msg[hidden] { display: none; }
.j-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--rule); }
.j-card:last-child { border-bottom: 1px solid var(--rule); }
.j-cover { display: block; aspect-ratio: 3 / 2; background: #e8e5de; overflow: hidden; }
.j-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.j-cover:hover img { transform: scale(1.02); }
.j-cover.is-empty { display: grid; place-items: center; }
.j-cover.is-empty img { width: 24%; height: auto; opacity: .3; object-fit: contain; transform: none; }
.j-meta { margin: 0; font-family: var(--display); font-stretch: 105%; font-size: 13px; letter-spacing: .02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.j-card h2 { margin: 10px 0 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; }
.j-card h2 a { text-decoration: none; }
.j-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.j-excerpt { margin: 12px 0 0; color: #3d3936; font-size: 17px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.j-more-btn { margin-top: 28px; }
.j-more-btn[hidden] { display: none; }
.j-post { overflow-x: clip; }
.j-head { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(24px, 3vw, 36px); }
.j-head .eyebrow a { text-decoration: none; }
.j-head .eyebrow a:hover { color: var(--ink); }
.j-head h1 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
.j-head .j-meta { margin-top: 18px; }
.j-hero { margin: 0 auto clamp(28px, 4vw, 48px); max-width: 1120px; padding: 0 var(--gutter); }
.j-hero[hidden] { display: none; }
.j-hero img { width: 100%; max-height: 72vh; object-fit: cover; background: #e8e5de; }
.j-body { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 96px); font-size: 19px; line-height: 1.68; }
.j-body p { margin: 0 0 1.05em; }
.j-body h2, .j-body h3, .j-body h4 { margin: 1.6em 0 .55em; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; font-stretch: 112%; font-weight: 750; letter-spacing: -0.01em; }
.j-body a { color: var(--brick); text-underline-offset: 3px; }
.j-body ul, .j-body ol { padding-left: 1.2em; margin: 0 0 1.05em; }
.j-body blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--brick); font-style: italic; }
.j-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.j-fig { margin: 1.6em calc(-1 * clamp(0px, (100vw - 740px) / 2, 80px)); }
.j-fig a, .j-gallery a { display: block; background: #e8e5de; cursor: zoom-in; }
.j-fig img { width: 100%; height: auto; }
.j-fig figcaption, .j-video figcaption { margin-top: 10px; font-family: var(--display); font-stretch: 105%; font-size: 13px; line-height: 1.45; color: var(--muted); }
.j-video { margin: 1.6em 0; }
.j-video .frame { position: relative; aspect-ratio: 16 / 9; background: #151816; }
.j-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.j-gallery { columns: 220px 3; column-gap: 8px; margin: 1.8em calc(-1 * clamp(0px, (100vw - 740px) / 2, 180px)); }
.j-gallery a { margin: 0 0 8px; break-inside: avoid; }
.j-gallery img { width: 100%; height: auto; }
.j-more { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.j-more[hidden] { display: none; }
.j-more ul { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.j-more li { border-bottom: 1px solid var(--rule); }
.j-more a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; text-decoration: none; font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: 18px; line-height: 1.25; }
.j-more a span { flex: none; font-weight: 400; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.j-more a:hover { color: var(--brick); }

/* ---------- About ---------- */
.about-intro { margin: 18px 0 0; max-width: 40em; font-size: clamp(18px, 1.5vw, 21px); }
.draft-note { margin: 14px 0 0; font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brick); }
.how { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(48px, 6vw, 80px); }
.how ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); border-top: 1px solid var(--rule); }
.how li { padding-top: 20px; }
.how h3 { font-size: 20px; font-stretch: 110%; font-weight: 750; line-height: 1.15; }
.how p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.55; color: #3d3936; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(32px, 3vw, 48px) clamp(16px, 2vw, 28px); padding-bottom: clamp(64px, 8vw, 112px); }
.team .grid-msg { grid-column: 1 / -1; }
.person-img { aspect-ratio: 4 / 5; background: #e8e5de; overflow: hidden; }
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person-img.is-empty { display: grid; place-items: center; }
.person-img.is-empty img { width: 30%; height: auto; opacity: .3; object-fit: contain; }
.person h3 { margin: 16px 0 0; font-size: 22px; font-stretch: 110%; font-weight: 750; line-height: 1.15; }
.person-role { margin: 4px 0 0; font-family: var(--display); font-stretch: 105%; font-size: 13px; letter-spacing: .03em; color: var(--muted); }
.person-bio { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: #3d3936; }

/* Responsive */
@media (max-width: 760px) {
  .how ol { grid-template-columns: 1fr; }
  .j-card { grid-template-columns: 1fr; gap: 16px; }
  .j-hero { padding: 0; }
  .j-hero img { max-height: 42vh; }
  .j-body { font-size: 18px; }
  .j-fig { margin-left: 0; margin-right: 0; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .menu-btn { display: block; }
  .statement .wrap, .contact .wrap, .page-head .wrap { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .door { aspect-ratio: 4 / 3; }
  .dev .wrap { grid-template-columns: 1fr; }
  .dev-img { min-height: 280px; }
  .cost-layout { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-controls { position: static; }
  .project { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-header .wrap { height: 64px; }
  .nav.open { top: 64px; }
  .logo { width: 72px; }
  form.lead { grid-template-columns: 1fr; }
  .cost-card { flex-basis: 86%; }
  .cost-figs dd, .facts dd { font-size: 20px; }
  .section-head { flex-direction: column; align-items: start; }
  .strip-note .round-ctrl { display: none; }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-fields { grid-template-columns: 1fr; }
  .budget-input span, .budget-input input { font-size: 32px; }
  .lines td { font-size: 15px; padding: 8px 4px; }
  .lines input { width: 4.4em; }
  .facts { grid-template-columns: 1fr 1fr; }
  .grid { columns: 2; column-gap: 6px; padding: 0 6px 64px; }
  .grid .tile { margin-bottom: 6px; }
  .lb-prev, .lb-next { display: none; }
  .j-gallery { columns: 2; column-gap: 6px; margin-left: calc(6px - var(--gutter)); margin-right: calc(6px - var(--gutter)); }
  .j-gallery a { margin-bottom: 6px; }
  .j-more a { flex-direction: column; gap: 2px; }
  .team { grid-template-columns: 1fr; gap: 28px; }
  .person { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .person-img { grid-row: 1 / span 3; }
  .person h3 { margin-top: 0; font-size: 19px; }
  .person-bio { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .door img, .stack i { transition: none; }
}
@media print {
  @page { size: letter; margin: 0.4in 0.5in 0.4in; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; font-size: 10pt; }
  .site-header, .site-footer, .preview-badge, .page-head, .breakdowns, .contact, .calc-controls, .warn:empty, .check .btn, .check:not([data-tone]), .check[data-tone=""], #wixheadless-banner-container { display: none !important; }
  .calc { border: 0; padding: 0; background: #fff; }
  .calc .wrap { padding: 0; max-width: none; }
  .calc-grid { display: block; }
  .calc-summary { gap: 8px; }
  .print-head { display: flex; align-items: center; gap: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
  .print-head img { width: 56px; height: auto; }
  .print-head h2 { font-size: 16pt; margin-top: 2px; }
  .print-head p { margin: 3px 0 0; font-size: 8.5pt; color: var(--muted); }
  .print-head p.eyebrow { margin: 0; font-size: 7pt; }
  .check { padding: 8px 12px; gap: 3px; break-inside: avoid; }
  .check p { font-size: 9pt; line-height: 1.35; }
  .check .check-head { font-size: 12pt; }
  .check p.check-why { font-size: 8pt; }
  .check .eyebrow { font-size: 7pt; }
  .stack { height: 10px; }
  .legend { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px 10px; }
  .legend div { grid-template-columns: 9px 1fr; gap: 1px 6px; }
  .legend i { width: 9px; height: 9px; }
  .legend b { font-size: 8pt; }
  .legend span { font-size: 7.5pt; }
  .lines thead { display: table-header-group; }
  .lines tfoot { display: table-row-group; break-inside: avoid; }
  .lines th { padding: 3px 6px; font-size: 7pt; }
  .lines td { padding: 1.5px 6px; font-size: 8.5pt; line-height: 1.2; }
  .lines .group-row td { padding-top: 5px; font-size: 7pt; }
  .lines .group-row { break-after: avoid; page-break-after: avoid; }
  .lines tr { break-inside: avoid; }
  .lines input { border: 0; background: none; padding: 0; width: 4.6em; font-size: 8.5pt; text-align: right; }
  .lines input[data-addon] { field-sizing: content; width: auto !important; min-width: 3em; text-align: right; }
  .lines tr.locked input { background: none; }
  .lines tfoot td { padding-top: 6px; }
  .lines tfoot tr.sub td { font-size: 9pt; padding-top: 4px; padding-bottom: 2px; }
  .lines tfoot tr.grand td { font-size: 11pt; padding-top: 8px; }
  .tag { font-size: 6.5pt; line-height: 1.2; padding: 0 4px; margin-left: 5px; }
  .print-note { display: block; margin: 8px 0 0; padding-top: 6px; border-top: 1px solid var(--rule); font-size: 7pt; color: var(--muted); text-align: center; break-inside: avoid; }
}
