:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --ink: #292b23;
  --muted: #65675a;
  --clay: #845340;
  --line: #cfcfc2;
  --gutter: clamp(1.25rem, 5.5vw, 7rem);
  --serif: "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "Hedvig Letters Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.56 var(--sans); }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #9e5034; outline-offset: 4px; }
::selection { color: #fff; background: var(--clay); }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .7rem 1.2rem; color: white; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.masthead { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.35rem; min-height: 5.5rem; padding: .85rem var(--gutter); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .48rem; line-height: 1; }
.wordmark-icon { display: block; width: 2.65rem; height: 2.65rem; }
.wordmark-type { display: grid; justify-items: start; gap: .2rem; }
.wordmark-name { font-size: 2.1rem; font-weight: 700; line-height: .96; letter-spacing: -.075em; }
.wordmark-category { color: var(--clay); font-size: .75rem; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 2.4vw, 2.65rem); align-items: center; max-width: 100%; margin-left: auto; }
.main-nav a { font-size: .9375rem; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3rem; padding: .74rem 1.4rem; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); font: 500 .9375rem/1.25 var(--sans); border-radius: .14rem; transition: background-color .18s, color .18s; }
.button:hover { background: #444739; }
.header-cta { background: transparent; color: var(--ink); min-height: 2.65rem; max-width: 100%; }
.header-cta:hover { background: var(--ink); color: var(--paper); }
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; margin: clamp(2.25rem, 4.8vw, 5.6rem) var(--gutter) 0; }
.hero-copy { padding: 0 0 clamp(1.6rem, 4vw, 4.6rem); }
.eyebrow { margin: 0; font-size: .8125rem; font-weight: 550; line-height: 1.5; text-transform: uppercase; letter-spacing: .11em; }
.hero-label { color: var(--muted); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.066em; }
em { color: var(--clay); font-weight: 400; }
h1 { margin: clamp(1.1rem, 2vw, 2.1rem) 0 1.2rem; line-height: .98; font-size: clamp(2.5rem, 4.65vw, 6.2rem); }
h1 > span { display: block; }
h1 em { display: block; padding: .07em 0 .09em; }
h2 { font-size: clamp(3rem, 5.1vw, 5.4rem); line-height: .99; }
.intro { max-width: 26rem; color: var(--muted); margin: 0 0 1.5rem; font-size: clamp(1rem, 1.25vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.2rem; }
.hero-actions .text-button { padding-block: .62rem; }
.hero-figure { margin: 0; }
.hero-stage { position: relative; }
.image-window { overflow: hidden; position: relative; isolation: isolate; background-color: #cebeaf; }
.image-window img { display: block; position: absolute; left: 0; top: -25%; height: 150%; width: 100%; object-fit: cover; transform: translate3d(0, var(--photo-y, 0px), 0); }
.hero-window { height: clamp(25rem, 34vw, 38rem); }
.material-sample { position: absolute; z-index: 1; bottom: 6%; left: clamp(-1.1rem, -1vw, -.5rem); display: grid; gap: .35rem; width: clamp(6.3rem, 10vw, 9.5rem); padding: .45rem; background: #fffdf6; color: var(--ink); box-shadow: 0 .55rem 1.1rem #241a1252; transform: translateY(var(--sample-y, 0px)) rotate(-3deg); }
.material-sample img { display: block; width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; }
.material-sample span { padding: 0 .15rem; font-size: .8125rem; line-height: 1.3; }
.material-sample:hover span { text-decoration: underline; text-underline-offset: .15em; }
.material-sample:focus-visible { outline-color: var(--ink); }
.hero-figure figcaption { display: flex; justify-content: space-between; padding: .65rem 0 0; color: var(--muted); font-size: .8125rem; }
.content-width { margin-right: var(--gutter); margin-left: var(--gutter); }
.studio-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(1.4rem, 2.7vw, 3rem);
  margin-bottom: 0;
  border-block: 1px solid var(--line);
}
.studio-facts > div { padding: clamp(.85rem, 2vw, 1.65rem) clamp(.65rem, 2.4vw, 2rem); }
.studio-facts > div + div { border-left: 1px solid var(--line); }
.studio-facts > div:first-child { padding-left: 0; }
.studio-facts dt { color: var(--muted); font-size: .9375rem; }
.studio-facts dd {
  margin: .18rem 0 0;
  color: var(--clay);
  font: 400 clamp(1.6rem, 3vw, 2.9rem)/1.08 var(--serif);
  letter-spacing: -.045em;
}
.layouts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 6vw, 7.5rem); margin-top: clamp(4rem, 7.8vw, 8rem); padding: clamp(3.2rem, 5.5vw, 6.6rem) 0; border-block: 1px solid var(--line); }
.section-intro h2, .approach h2 { margin: 1.5rem 0; }
.section-intro > p:last-child { max-width: 28rem; color: var(--muted); margin: 0; }
.tabbar { display: flex; border: 1px solid var(--line); }
.layout-option { flex: 1 1 auto; border: none; background: transparent; padding: .8rem .25rem; font-size: .875rem; min-height: 2.8rem; }
.layout-option + .layout-option { border-left: 1px solid var(--line); }
.layout-option[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.layout-option:hover:not([aria-pressed="true"]) { background: #ebe8df; }
.drawing { overflow: hidden; position: relative; height: clamp(12.5rem, 20vw, 22.5rem); background-color: #eeece3; background-image: linear-gradient(to right, #24291d08 1px, transparent 1px), linear-gradient(to bottom, #24291d08 1px, transparent 1px); background-size: 1.5rem 1.5rem; }
.drawing::after { content: ""; position: absolute; bottom: 8%; left: 16%; right: 16%; height: .42rem; border-inline: 1px solid #877864; background: linear-gradient(#877864,#877864) center / 100% 1px no-repeat; }
.ground { position: absolute; bottom: 15%; left: 7%; right: 7%; height: 1px; background: #646859; }
.elevation { position: absolute; bottom: 15%; height: 72%; left: 16%; right: 16%; display: flex; align-items: flex-end; }
.module { display: flex; align-items: flex-end; position: relative; justify-content: space-evenly; width: 25%; height: 36%; border: 1.5px solid #5f594b; border-bottom: .35rem solid #756452; background: repeating-linear-gradient(88deg, #aa927821, #aa927821 2px, transparent 2.5px, transparent 9px), #cebaa1; transition: height .5s cubic-bezier(.22,.68,.18,1), background-color .4s; }
.module + .module { border-left: 0; }
.module:nth-child(2) { --sequence: 60ms; }
.module:nth-child(3) { --sequence: 120ms; }
.module:nth-child(4) { --sequence: 180ms; }
.module b { position: absolute; display: block; left: 0; right: 0; height: 1px; background: #75624f; opacity: 0; transition: opacity .35s; }
.module b:nth-child(1) { top: 33.333%; }
.module b:nth-child(2) { top: 66.666%; }
.module b:nth-child(3) { width: 15%; right: auto; left: 77%; top: 14%; height: 2px; opacity: 1; }
.drawing[data-drawing="tiered"] .module:nth-child(2) { height: 51%; }
.drawing[data-drawing="tiered"] .module:nth-child(3) { height: 72%; }
.drawing[data-drawing="tiered"] .module:nth-child(4), .drawing[data-drawing="full"] .module { height: 100%; }
.drawing[data-drawing="tiered"] .module:nth-child(n+3) b:not(:last-child), .drawing[data-drawing="full"] .module:nth-child(2n) b:not(:last-child) { opacity: .8; }
.drawing[data-drawing="full"] .module:nth-child(2n), .drawing[data-drawing="tiered"] .module:nth-child(n+3) { background-color: #b8a58e; }
.layout-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem 1.5rem; padding-top: 1rem; }
.layout-caption p { margin: 0; color: var(--muted); flex: 1 1 18rem; }
.text-button { padding: .3rem 0; border: 0; border-bottom: 1px solid; background: none; color: var(--clay); font-size: .9375rem; }
.text-button:hover { color: var(--ink); }
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(2.3rem, 7vw, 9rem); margin-top: clamp(3.5rem, 6vw, 7rem); margin-bottom: clamp(3.5rem, 7vw, 7rem); }
.detail-window { height: clamp(32rem, 43vw, 49rem); }
.order-steps { margin: 1.5rem 0; padding-left: 1.35rem; }
.order-steps li { border-top: 1px solid var(--line); padding: .7rem 0 .75rem .25rem; }
.order-steps li::marker { color: var(--clay); font-weight: 650; }
.order-steps h3 { margin: 0 0 .2rem; font-size: 1rem; font-weight: 650; }
.order-steps p { margin: 0; color: var(--muted); }
.footer { display: flex; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line); padding: 1.8rem 0 2.1rem; }
.footer p { color: var(--muted); margin: 0; font-size: .8125rem; }
.studio-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: center; gap: 1.5rem 3rem; padding-block: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.studio-contacts h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4rem); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(.8rem, 3vw, 1.25rem); padding: 0; margin: 0; list-style: none; }
.contact-links a { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, .85rem); padding-block: .85rem; border-bottom: 1px solid var(--line); text-underline-offset: .25em; }
.contact-links a:hover > :last-child, .contact-links a:focus-visible > :last-child { text-decoration: underline; }
.contact-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(2.2rem, 5.5vw, 2.65rem);
  aspect-ratio: 1;
  border: 1px solid #b79671;
  border-radius: .6rem;
  color: #422b1c;
  background: linear-gradient(135deg,#f6dfc1b0,#d6aa7f96), url("images/forma-board.webp") center 42% / 7rem auto #e3c6a2;
  box-shadow: inset 0 1px 1px #fff8eec0, 0 2px 3px #6f451f29, 0 7px 12px -2px #df932c6e;
}
.contact-icon svg { width: 55%; fill: currentColor; }
.contact-links a:is(:hover,:focus-visible) .contact-icon {
  box-shadow: inset 0 1px 1px #fff8eec0, 0 2px 3px #6f451f29, 0 7px 14px -1px #df932c87;
}
dialog { width: min(33rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); margin: auto; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(26 29 22 / 64%); }
.dialog-content { position: relative; padding: clamp(1.5rem, 5vw, 3rem); }
.dialog-content h2 { font-size: clamp(3.2rem, 7vw, 4.5rem); margin: 1.4rem 0 .7rem; }
.close-dialog { border: 0; background: transparent; color: var(--ink); position: absolute; right: .7rem; top: .7rem; width: 2.75rem; height: 2.75rem; font-size: 1.8rem; line-height: 1; }
.close-dialog:hover { background: #eae7db; }
.form-note { margin: .8rem 0 1.3rem; color: var(--muted); }
label { display: block; margin: 1rem 0 .35rem; font-weight: 550; }
select, input, textarea { display: block; width: 100%; border: 1px solid #96988c; border-radius: 0; padding: .65rem .75rem; background: #fffdf8; }
textarea { resize: vertical; min-height: 7rem; }
.brief-selection { display: grid; gap: .7rem; }
.brief-selection .estimate-option { position: relative; min-width: 0; margin: 0; }
.brief-selection > button { justify-self: start; }
.brief-storage { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .9rem; margin-top: .9rem; }
.brief-storage p { margin: 0; }
#brief-estimate-change:empty { margin: 0; }
form .button { margin-top: 1.4rem; }
#result-text { padding: 1rem; border: 1px solid var(--line); background: #eeece3; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
#brief-delivery { margin: 1rem 0; }
#brief-delivery .form-note { margin-bottom: .65rem; }
#brief-delivery .button:disabled { opacity: .65; cursor: default; }
#delivery-status { margin: .8rem 0; color: var(--ink); }
#delivery-status:empty { margin: 0; }
#brief-delivery:not([hidden]) ~ .result-actions #download-brief { background: transparent; color: var(--ink); }
.gallery { border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 8.75rem); padding-top: clamp(3rem, 5vw, 6rem); }
.studio-facts + .gallery { margin-top: clamp(2.75rem, 5vw, 5rem); padding-top: 0; border-top: 0; }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.gallery-heading h2 { margin: 0; }
.gallery-heading > p { color: var(--muted); max-width: 18rem; margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2.2vw, 2.7rem); }
.gallery-studies { margin-top: clamp(3rem, 6vw, 6.5rem); padding-top: clamp(1.65rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.gallery-studies h3 { margin: 0; font: 400 clamp(2rem, 3.4vw, 3.6rem)/1.1 var(--serif); letter-spacing: -.05em; }
.gallery-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: clamp(1.35rem,2.1vw,2.65rem); }
.gallery-item { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.gallery-grid .gallery-item:first-child { grid-row: span 2; }
.gallery-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 2.32; background: #d8d1c3; }
.gallery-grid .gallery-item:first-child .gallery-cover { flex: 1; aspect-ratio: auto; min-height: 19rem; }
.work-grid .gallery-cover { aspect-ratio: 3 / 4; }
.ideas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem) clamp(.75rem, 1.4vw, 1.6rem); }
.ideas-grid .gallery-cover { aspect-ratio: 4 / 3; }
.ideas-grid .gallery-caption { flex: 1; align-items: flex-start; }
.ideas-grid .project-name { font-size: clamp(1.1rem, 1.45vw, 1.6rem); }
.gallery-cover img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-caption { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .72rem 0 .85rem; border-bottom: 1px solid var(--line); }
.project-name { font: 400 clamp(1.35rem,2vw,2.2rem)/1.15 var(--serif); letter-spacing: -.04em; }
.gallery-grid .gallery-item:first-child .project-name { font-size: clamp(1.8rem,3.3vw,3.8rem); }
.gallery-caption small, #photo-position { color: var(--muted); font-size: .875rem; }
.gallery-item:is(:hover,:focus-visible) .project-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .19em; }
@media (hover: hover) and (prefers-reduced-motion:no-preference) {
  .gallery-grid .gallery-item:hover img { transform: scale(1.025); }
  .ideas-grid .gallery-item:hover img { transform: scale(1.025); }
}
#photo-viewer { width: min(72rem,calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
.photo-content { position: relative; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
.photo-stage { min-height: 24rem; background: #312e25; }
.photo-stage img { display: block; width: 100%; height: 100%; max-height: 80dvh; min-height: inherit; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer-close-bar { position: sticky; top: 0; z-index: 2; height: 0; pointer-events: none; }
.viewer-close-bar .close-dialog { pointer-events: auto; background: var(--paper); box-shadow: 0 1px 4px #292b232e; }
.photo-caption { min-width: 0; padding: 3.45rem clamp(1.2rem,2.6vw,3rem) 1.75rem; }
.photo-caption h2 { font-size: clamp(2.1rem,3.55vw,4rem); margin: .8rem 0; }
#photo-description { color: var(--muted); margin: 0; }
.photo-versions { display: flex; width: fit-content; max-width: 100%; margin: 1rem 0 1.2rem; border: 1px solid var(--line); border-radius: .2rem; }
.photo-versions button { flex: 1 1 auto; min-height: 2.75rem; padding: .45rem .75rem; background: var(--paper); border: 0; font-size: .9375rem; line-height: 1.2; }
.photo-versions button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.photo-versions button:focus-visible { position: relative; z-index: 1; }
#photo-lighting { padding-left: .85rem; border-left: 2px solid var(--clay); margin: 1.05rem 0 1.2rem; }
#photo-viewer[data-real-project] .photo-stage img { height: min(76dvh, 48rem); min-height: 0; }
#photo-spec[hidden] + #photo-estimate { margin-top: 1rem; }
.photo-spec { margin: 1rem 0 1.3rem; }
.photo-spec div { display: grid; grid-template-columns: 38% 1fr; column-gap: .65rem; border-top: 1px solid var(--line); padding: .48rem 0; }
.photo-spec dt { color: var(--muted); }
.photo-spec dd { margin: 0; }
.photo-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: .55rem; }
.photo-navigation button { min-height: 2.75rem; border: 0; }
.reference-note { color: var(--clay); margin: 0 0 .8rem; font-size: .9375rem; }
.calculator { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(2rem,6vw,7.5rem); padding-block: clamp(3.2rem,5.5vw,6.6rem); border-bottom: 1px solid var(--line); }
.estimate-tool {
  padding: clamp(1.15rem,3vw,3rem);
  border: 1px solid #d9d2c3;
  border-radius: 1.15rem;
  background: linear-gradient(145deg,#f4f0e6,#eeece3);
  box-shadow: 0 12px 32px #4c3b2410;
}
.estimate-fields { display: grid; gap: 1rem; }
.estimate-choice { min-width: 0; padding: 0; border: 0; margin: 0; }
.estimate-choice legend { margin-bottom: .35rem; padding: 0; font-weight: 600; }
.estimate-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.36rem,1.1vw,.75rem); }
.estimate-subtypes { grid-template-columns: repeat(2,minmax(0,1fr)); }
.estimate-fields .estimate-option { position: relative; display: block; min-width: 0; margin: 0; }
.estimate-option input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.estimate-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 2.85rem;
  height: 100%;
  padding: .48rem .25rem;
  border: 1px solid #bdb6a8;
  border-radius: .62rem;
  background: #fdfbf6;
  text-align: center;
  font-size: clamp(.875rem,1.25vw,.97rem);
  line-height: 1.25;
}
.estimate-tile::after {
  content: "";
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: .65rem;
  height: .65rem;
  border: 1px solid transparent;
  border-radius: 50%;
}
.estimate-option:hover .estimate-tile { border-color: var(--clay); }
.estimate-option input:checked + .estimate-tile {
  border-color: var(--clay);
  background: #f4e9de;
  box-shadow: inset 0 0 0 1px var(--clay);
}
.estimate-option input:checked + .estimate-tile::after {
  border-color: #fdfbf6;
  background: var(--clay);
  box-shadow: 0 0 0 1px var(--clay);
}
.estimate-option input:focus-visible + .estimate-tile { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (forced-colors: active) {
  .estimate-option input:checked + .estimate-tile { border-color: Highlight; }
  .estimate-option input:checked + .estimate-tile::after {
    forced-color-adjust: none;
    border-color: Canvas;
    background: Highlight;
    box-shadow: 0 0 0 1px Highlight;
  }
  .estimate-option input:focus-visible + .estimate-tile { outline-color: Highlight; }
}
.estimate-types .estimate-tile { padding: .26rem .26rem .42rem; }
.estimate-types img { display: block; width: 100%; aspect-ratio: 1.85; border-radius: .35rem; object-fit: cover; }
.estimate-materials img { width: 1.85rem; height: 1.24rem; border-radius: .24rem; object-fit: cover; }
.estimate-fields label { margin-top: 0; }
.estimate-dimensions { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(7.1rem,100%),1fr)); gap: .65rem; }
.estimate-dimensions > div { display: flex; flex-direction: column; min-width: 0; }
.estimate-dimensions label { font-size: .94rem; }
.estimate-dimensions input {
  min-height: 2.85rem;
  margin-top: auto;
  border-color: #bdb6a8;
  border-radius: .62rem;
  background: #fdfbf6;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.estimate-fields input[aria-invalid="true"] { border-color: #9d3c25; }
#estimate-scheme { margin-top: 1rem; }
#brief-scheme, #result-scheme { margin: 1rem 0; }
.size-hint, .price-block p { font-size: .875rem; color: var(--muted); margin: .5rem 0 0; }
.price-block { padding-block: 1rem 1.3rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.price-block p { margin: 0 0 .35rem; }
.price-block output { display: block; font: 400 clamp(1.7rem,3.3vw,4rem)/1.12 var(--serif); letter-spacing: -.05em; }
.estimate-tool > [data-add-estimate] { margin-top: .9rem; }
.estimate-tool .button:disabled { opacity: .5; cursor: default; }
.brief-estimate { background: #eeece3; border-left: 2px solid var(--clay); padding: .6rem .75rem; }
@media (max-width: 900px) {
  .masthead { gap: 1.25rem; min-height: 4.75rem; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.7rem; }
  .hero-window { height: 25rem; }
  .hero-copy { padding-bottom: 1.4rem; }
}
@media (max-width: 1050px) {
  .ideas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .masthead { gap: .8rem; padding-top: .85rem; padding-bottom: .7rem; }
  .wordmark-icon { width: 2.25rem; height: 2.25rem; }
  .wordmark-name { font-size: 1.85rem; }
  .header-cta { margin-left: auto; min-height: 2.45rem; font-size: .875rem; padding: .5rem .85rem; }
  .main-nav { width: 100%; margin: .2rem 0 0; justify-content: space-between; gap: .25rem .7rem; }
  .main-nav a { font-size: .875rem; }
}
@media (max-width: 700px) {
  .gallery-heading { display: block; margin-bottom: 1.4rem; }
  .gallery-heading > p { max-width: none; margin-top: .85rem; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .85rem; }
  .work-grid .gallery-item:first-child { grid-column: 1 / -1; }
  .work-grid .project-name { font-size: clamp(1.2rem, 4.4vw, 1.6rem); }
  .work-grid .gallery-item:first-child .project-name { font-size: 1.75rem; }
  .ideas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .gallery-grid .gallery-item:first-child { grid-row: auto; }
  .gallery-grid .gallery-cover, .gallery-grid .gallery-item:first-child .gallery-cover { flex: none; min-height: 0; aspect-ratio: 1.56; }
  .photo-content { grid-template-columns: 1fr; }
  .photo-stage { min-height: 0; }
  .photo-stage img { height: min(34dvh,18rem); }
  #photo-viewer[data-real-project] .photo-stage img { height: min(56dvh, 30rem); }
  .photo-caption { padding: 1.1rem; }
  .calculator { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { grid-template-columns: 1fr; margin-top: 2.1rem; gap: 1.15rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.2rem, 10.1vw, 4.45rem); margin-block: .6rem .7rem; }
  .intro { margin-bottom: 1rem; }
  .hero-window { height: auto; aspect-ratio: 1.4; }
  .studio-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .studio-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .layouts { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 3.25rem; }
  .section-intro h2, .approach h2 { margin: 1rem 0; }
  .drawing { height: clamp(11.9rem, 45vw, 17rem); }
  .approach { grid-template-columns: 1fr; gap: 1.75rem; }
  .detail-window { height: auto; aspect-ratio: 1.25; }
  .footer { flex-wrap: wrap; gap: .9rem; }
  .footer p { order: 2; width: 100%; }
}
@media (max-width: 450px) {
  .gallery-heading h2 { font-size: clamp(2.5rem, 12vw, 3rem); }
  .hero-actions { column-gap: .65rem; }
  .hero-actions .button { padding-inline: .85rem; }
}
@media (max-width: 360px) {
  .masthead { column-gap: .55rem; }
  .main-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .main-nav a { padding-block: .45rem; }
}
@media (prefers-reduced-motion: no-preference) {
  h1 > span { animation: title-arrives .85s cubic-bezier(.19,.8,.22,1) both; }
  h1 em { animation: title-arrives 1s cubic-bezier(.19,.8,.22,1) .09s both; }
  .hero-window { animation: open-frame 1.1s cubic-bezier(.18,.77,.23,1) both; }
  .material-sample img { animation: open-sample .9s cubic-bezier(.18,.77,.23,1) .12s both; }
  .module { transition-delay: var(--sequence, 0ms); }
  .drawing.drawn .ground, .drawing.drawn::after { transform-origin: left; animation: draw-rule .65s cubic-bezier(.28,.82,.26,1) both; }
  .drawing.drawn .module { transform-origin: center bottom; animation: raise-panel .8s cubic-bezier(.18,.84,.23,1) var(--sequence, 0ms) both; }
}
@keyframes title-arrives {
  from { opacity: .7; transform: translateY(.24em); }
  to { opacity: 1; transform: none; }
}
@keyframes open-frame {
  from { clip-path: inset(4% 21% 7% 0); }
  to { clip-path: inset(0); }
}
@keyframes open-sample {
  from { clip-path: inset(0 0 34% 0); }
  to { clip-path: inset(0); }
}
@keyframes draw-rule {
  from { transform: scaleX(.08); }
  to { transform: scaleX(1); }
}
@keyframes raise-panel {
  from { transform: scaleY(.1); opacity: .42; }
  to { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .image-window img { top: 0; height: 100%; transform: none; }
  .material-sample { transform: rotate(-3deg); }
}

.finish-library {
  margin-top: clamp(4rem, 7.2vw, 8rem);
  padding-top: clamp(3rem, 4.9vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.finish-header { margin-bottom: clamp(1.6rem, 3.3vw, 3rem); }
.finish-header h2 { margin: .9rem 0 .75rem; }
.finish-header > p:last-child { margin: 0; color: var(--muted); }
.finish-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  background: #eae8dd;
}
.finish-view { position: relative; margin: 0; min-height: 24rem; overflow: hidden; background: #dad3c3; }
.finish-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finish-panel { display: grid; align-content: center; padding: clamp(1.4rem, 3.6vw, 4.3rem); }
.finish-choices { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.65rem; }
.finish-choice { display: grid; gap: .35rem; padding: .3rem; border: 1px solid transparent; font-size: .84rem; line-height: 1.25; }
.finish-choice img { display: block; width: clamp(3.4rem, 5.2vw, 5.8rem); height: 2.5rem; object-fit: cover; }
.finish-choice[aria-pressed="true"] { border-color: var(--clay); }
.finish-choice:hover { background: #f5f2e8; }
.finish-reading h3 { margin: 0 0 .5rem; font: 400 clamp(2.1rem, 3.3vw, 4.4rem)/1 var(--serif); letter-spacing: -.06em; }
.finish-reading p { margin: 0; max-width: 34ch; line-height: 1.5; min-height: 4.5em; color: #555749; }
.finish-to-estimate { width: fit-content; margin-top: 1.2rem; }
@media(max-width: 720px) {
  .finish-stage { grid-template-columns: 1fr; }
  .finish-view { min-height: 0; aspect-ratio: 1.66; }
  .finish-panel { padding: 1.25rem; }
  .finish-choices { margin-bottom: 1rem; }
  .finish-choice img { width: clamp(3.45rem, 14.4vw, 4.6rem); }
  .finish-reading p { min-height: 0; }
}

@media (min-width: 960px) {
  .calculator { display: block; }
  .calculator > .section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: end; column-gap: 3rem; margin-bottom: 2rem; }
  .calculator > .section-intro .eyebrow { grid-column: 1 / -1; }
  .calculator > .section-intro h2 { margin: .8rem 0 0; }
  .calculator > .section-intro > p:last-child { justify-self: end; }
  .estimate-tool { display: grid; align-items: start; column-gap: clamp(1.5rem, 3.8vw, 4rem); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .estimate-fields, .estimate-tool .size-hint, .estimate-tool .price-block,
  .estimate-tool > .reference-note, .estimate-tool > .button, .estimate-tool > noscript { grid-column: 1; }
  #estimate-scheme { grid-column: 2; grid-row: 1 / span 7; align-self: center; margin: 0; }
}
@media (min-width: 701px) and (max-width: 959px) {
  .calculator { grid-template-columns: 1fr; gap: 1.75rem; }
  #estimate-scheme { max-width: 36rem; margin-inline: auto; }
}
