:root { --viewport-small-unit: 1vh; --viewport-dynamic-unit: 1vh; }
@supports (height: 100svh) { :root { --viewport-small-unit: 1svh; } }
@supports (height: 100dvh) { :root { --viewport-dynamic-unit: 1dvh; } }

/* ===== style ===== */
:root {
  color-scheme: light;
  --ink: #25231f;
  --paper: #f6f4ef;
  --white: #fffefa;
  --surface: #efede7;
  --sand: #e9e5dc;
  --sand-deep: #ded8cc;
  --line: #d8d3c8;
  --muted: #716c62;
  --accent: #ad8253;
  --dark: #24211d;
  --max: 2200px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
img, iframe { display: block; max-width: 100%; border: 0; }
img { width: 100%; height: 100%; object-fit: cover; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
}
.wrap { width: min(var(--max), calc(100% - clamp(48px, 6vw, 176px))); margin: 0 auto; }
.section-label {
  margin: 0 0 10px;
  color: #82735f;
  font-size: 13px;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-accent { color: #30200f; background: #dca252; border-color: #dca252; box-shadow: 0 5px 18px #875a241c; }
.btn-accent:hover { background: #e9b76f; border-color: #e9b76f; }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-dark:hover { background: #403a31; }
.btn-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.btn-light:hover { background: #e8e0d1; border-color: #e8e0d1; }

/* Header */
.topbar { background: var(--dark); color: #f7f4ed; }
.topbar-in { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 1.6vw, 28px); }
.logo { display: flex; flex: none; align-items: center; }
.logo img { width: 145px; height: 68px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 29px); font-size: 15px; white-space: nowrap; }
.nav a, .footer-main nav a { transition: color .18s ease; }
.nav a:hover { color: #dfc8a4; }
.phone { display: flex; flex: none; align-items: center; gap: 10px; min-height: 54px; font-size: 16px; white-space: nowrap; }
.phone-icon { display: grid; flex: none; place-items: center; width: 36px; height: 40px; color: #f5d7a7; }
.phone-copy { display: grid; gap: 3px; }
.phone-number { font-weight: 600; line-height: 1.25; }
.phone-hours { color: #fff9ee; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.phone:hover .phone-number { color: #f2cf9b; }
.phone:hover .phone-icon { color: #fff3d9; }
.header-cta { flex: none; min-height: 48px; justify-content: center; color: #3b2917; border-color: #f5dcaf; border-radius: 8px; background: linear-gradient(180deg, #fbe2bb, #edc78f); font-size: 14px; font-weight: 600; padding: 12px 18px; white-space: nowrap; text-shadow: none; box-shadow: 0 3px 0 #b4864f, 0 8px 18px #34220c29, inset 0 1px 0 #fff0d2; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.header-cta:hover { background: linear-gradient(180deg, #ffebcd, #f4d3a0); border-color: #ffe8c1; transform: translateY(-1px); }
.header-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 4px 10px #34220c20, inset 0 1px 0 #fff0d2; }

/* The selected materials sit beside one room plan. */
.kit-plan { min-width: 0; margin: 0; }
.kit-plan-frame { display: flex; justify-content: flex-start; height: min(calc(var(--viewport-small-unit) * 66), 680px); min-height: 380px; }
.kit-plan-frame img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: left top; mix-blend-mode: normal; filter: none; opacity: 1; }
.kit-plan figcaption { max-width: 440px; margin: 14px 0 0; color: #79674f; font-size: 13px; line-height: 1.5; text-align: left; }
.gallery-thumb { width: 78px; height: 64px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 3px; background: #d9c9ae; }
.gallery-thumb.active { border-color: #aa7c3f; }

/* Shared fields and segmented controls */
.dimension-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.dimension-grid label { min-width: 0; color: #5d584e; font-size: 14px; line-height: 1.3; }
.dimension-grid input { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 10px 11px; appearance: textfield; border: 1px solid #c7c1b3; border-radius: 5px; color: var(--ink); background: var(--white); }
.dimension-grid input::-webkit-inner-spin-button { appearance: none; }
.assembly-toggle { display: inline-flex; max-width: 100%; gap: 3px; padding: 3px; border-radius: 5px; background: #e1ddd3; }
.assembly-toggle button { min-height: 42px; padding: 8px 13px; border: 0; border-radius: 4px; color: #5e594f; background: transparent; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.assembly-toggle button.active { color: var(--ink); background: var(--white); box-shadow: 0 1px 4px #25231f18; }
[hidden] { display: none !important; }
.contact-methods legend { margin: 0 0 10px; padding: 0; color: #5c574e; font-size: 15px; font-weight: 500; }

/* One section connects the visible finish to the materials in the estimate. */
.materials { padding: 0 0 clamp(38px, calc(var(--viewport-small-unit) * 5), 60px); background: #f5efe5; }
.materials-layout { width: min(1400px, calc(100% - clamp(40px, 8vw, 128px))); min-width: 0; padding-top: clamp(24px, calc(var(--viewport-small-unit) * 3.5), 40px); }
.materials-intro { margin-bottom: 24px; }
.materials-intro p { margin: 8px 0 0; color: #947044; font-size: 16px; line-height: 1.4; }
.materials-intro h2 { margin: 0; font-size: clamp(26px, 2.2vw, 34px); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.materials-content { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; gap: clamp(56px, 7vw, 120px); }
.materials-list { min-width: 0; margin: 0; }
.materials-list > div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid #cdbfa9; }
.materials-list > div:first-child { padding-top: 0; }
.materials-list > div:last-child { border-bottom: 0; }
.materials-list dt { color: #79674f; font-size: 16px; line-height: 1.5; }
.materials-list dd { display: flex; flex-wrap: wrap; gap: 7px 18px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.5; }
.materials-list a { color: #49341f; text-decoration: underline; text-decoration-color: #bba17c; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.materials-list a:hover { color: #916333; text-decoration-color: currentColor; }
.materials-next { margin-top: 24px; padding-top: 22px; border-top: 1px solid #cdbfa9; }
.materials-next p { max-width: 460px; margin: 0 0 18px; color: #79674f; font-size: 16px; line-height: 1.5; }
.kit-cta { width: 100%; max-width: 430px; min-height: 62px; padding: 16px 22px; border-color: #edc891; border-radius: 7px; background: linear-gradient(180deg, #f8dcb1, #e9be82); box-shadow: 0 3px 0 #b4864f, 0 9px 20px #80643b1f, inset 0 1px 0 #fff0d2; font-size: 17px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease; }
.kit-cta:hover { background: linear-gradient(180deg, #ffe8c5, #f0c990); border-color: #f0c990; transform: translateY(-1px); }
.kit-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 4px 12px #80643b14, inset 0 1px 0 #fff0d2; }

/* Production fills the section; the showroom details stay in front. */
.about { position: relative; isolation: isolate; overflow: hidden; padding: clamp(54px, calc(var(--viewport-small-unit) * 7), 88px) 0; color: #fff7eb; background: #31271f; }
.studio-background { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.studio-background img { width: 100%; height: 100%; object-fit: cover; }
.studio-background video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.studio-background video.is-ready { opacity: 1; }
.about::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #20160e9c, #20160e38 50%, #20160e8f), linear-gradient(0deg, #20160e4d, transparent 55%); content: ''; pointer-events: none; }
.studio-layout { position: relative; width: min(1280px, calc(100% - clamp(40px, 8vw, 128px))); display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "heading visit"; align-items: center; gap: clamp(36px, 5vw, 80px); }
.studio-heading { grid-area: heading; }
.studio-heading .section-label { color: #f2d7af; margin-bottom: 20px; }
.studio-heading h2 { margin: 0; font-size: clamp(42px, 4.3vw, 68px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.studio-watch { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 24px; color: #f4d5a9; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
.studio-watch:hover { color: #fff1dc; }
.studio-video-start { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: 12px 0 0; padding: 0; border: 0; color: #fff4df; background: transparent; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.studio-video-start[hidden] { display: none; }
.studio-visit { grid-area: visit; min-width: 0; padding: clamp(26px, 3vw, 38px); border: 1px solid #f8e1bc47; border-radius: 8px; color: #fff7eb; background: #281c116b; }
@supports (backdrop-filter: blur(5px)) { .studio-visit { backdrop-filter: blur(5px); } }
.studio-invitation { max-width: 430px; margin: 0; color: #fff5e6; font-size: 18px; line-height: 1.5; }
.about .city-switch { width: 100%; max-width: none; margin-top: 26px; border-color: #fff1d44d; background: #31231747; }
.about .city-switch button { color: #f6e6ce; }
.about .city-switch button.active { color: #46311a; background: linear-gradient(180deg, #f9dfb8, #edc890); box-shadow: inset 0 1px 0 #fff0d2; }
.about .city-details strong { color: #e7c89b; }
.about .city-details address { color: #fff7eb; }
.about .city-details .text-link { color: #f4d5a9; }
.studio-phone { display: block; margin-top: 24px; color: #f4d5a9; font-size: clamp(22px, 1.8vw, 28px); }
@media (max-width: 980px) {
  .studio-layout { grid-template-columns: 1fr 1fr; gap: 28px; }
  .studio-heading h2 { font-size: clamp(40px, 5vw, 54px); }
}
@media (max-width: 760px) {
  .about { padding: 60px 0; }
  .studio-layout { grid-template-columns: 1fr; grid-template-areas: "heading" "visit"; gap: 32px; }
  .studio-heading h2 { font-size: clamp(37px, 7.8vw, 55px); }
  .studio-visit { padding: 26px; }
}

.projects { padding: clamp(54px, calc(var(--viewport-small-unit) * 7), 82px) 0; background: #e8e4da; }

/* The room fills the section; its shadows blend into the footer. */
.contact { position: relative; isolation: isolate; padding: clamp(70px, calc(var(--viewport-small-unit) * 9), 120px) 0 clamp(95px, calc(var(--viewport-small-unit) * 12), 160px); color: #fff6e9; background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 7vw, 110px); }
.contact-copy { display: flex; min-width: 0; min-height: 460px; flex-direction: column; justify-content: space-between; gap: 48px; color: #fff6e9; }
.contact-photo { position: absolute; z-index: -2; inset: 0; overflow: hidden; margin: 0; }
.contact-photo picture { display: block; width: 100%; height: 100%; }
.contact-photo img { object-position: 45% 50%; }
.contact-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg, var(--dark) 0%, #24211df7 5%, #24211d00 52%), linear-gradient(90deg, #21170de0, #251b1066 58%, #241c12a6); content: ""; }
.contact-invitation .section-label { color: #e6c69a; }
.contact-copy h2 { max-width: 580px; margin: 0; font-size: clamp(42px, 4.5vw, 74px); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; }
.contact-copy h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.contact-invitation > p:not(.section-label) { max-width: 420px; margin: 24px 0 0; color: #f2e4d1; font-size: 18px; line-height: 1.5; }
.contact-phone { align-self: flex-start; font-size: clamp(23px, 2.1vw, 34px); font-weight: 400; }
.contact-phone span { display: block; margin-bottom: 8px; color: #e4c9a6; font-size: 15px; }
.form { display: flex; min-width: 0; width: 100%; max-width: 560px; margin-left: auto; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 48px); border: 1px solid #fff2da52; border-radius: 5px; color: var(--ink); background: #fffaf0f5; box-shadow: 0 24px 70px #0f0c083d; }
.form-selection { margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid #d9c6aa; color: #8e6739; font-size: 17px; line-height: 1.5; }
.field-label { display: block; margin-bottom: 15px; color: #504c44; font-size: 15px; }
.contact-methods { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.contact-method { position: relative; display: grid; min-width: 0; min-height: 49px; place-items: center; padding: 8px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); cursor: pointer; text-align: center; }
.contact-method input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.contact-method span { pointer-events: none; font-size: 14px; }
.field-label input:not([type=radio]), .field-label textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #c7c1b3; border-radius: 5px; color: var(--ink); background: var(--white); }
.field-label textarea { min-height: 86px; resize: vertical; }
.form-extra { margin: 14px 0 17px; border: 1px solid var(--line); border-radius: 5px; }
.form-extra summary { display: flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 12px; cursor: pointer; list-style: none; background: #f5f3ed; }
.form-extra summary::-webkit-details-marker { display: none; }
.form-extra[open] summary { border-bottom: 1px solid var(--line); }
.form-extra .field-label, .file-label { margin: 13px 12px; }
.file-label { display: block; font-size: 14px; }
.file-label input { display: block; width: 100%; margin-top: 7px; font-size: 14px; }
.form > .btn { width: 100%; justify-content: center; min-height: 60px; font-size: 18px; }
.form .field-label input { min-height: 54px; font-size: 17px; }
.form-foot { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.form-status { margin: 8px 0 0; color: #6c5639; font-size: 15px; }

/* Footer */
footer { padding: 0 0 10px; color: #f7f4ed; background: var(--dark); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 0; border-bottom: 1px solid #ffffff24; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; font-size: 18px; font-weight: 500; }
.footer-brand span { color: #c9c5bb; font-size: 14px; font-weight: 400; }
.footer-top > img { width: 130px; height: 60px; object-fit: contain; }
.footer-main { display: grid; grid-template-columns: 1.15fr 1fr .75fr; gap: 6%; padding: clamp(34px, 5vw, 59px) 0; border-bottom: 1px solid #ffffff24; }
.footer-statement > p { margin: 0 0 10px; color: #c2a378; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer-statement h2 { max-width: 470px; margin: 0; font-size: clamp(29px, 3.1vw, 41px); font-weight: 400; line-height: 1.07; letter-spacing: -1px; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 14px 20px; font-size: 15px; }
.footer-main nav a:hover { color: #ded6c6; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-phone { font-size: 20px; }
.footer-contact address { color: #d0ccc2; font-size: 15px; font-style: normal; line-height: 1.45; }
.footer-contact .text-link { color: #eeece6; font-size: 14px; }
.footer-bottom { padding: 18px 0 12px; color: #c4c0b5; font-size: 13px; line-height: 1.45; }

/* Photo dialog */
.lightbox-close { position: absolute; z-index: 1; top: 18px; right: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: #211f1be0; font-size: 28px; line-height: 1; }

/* Shared controls and project information */
.header-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.btn-gold { min-width: 210px; justify-content: center; color: var(--ink); border-color: #c7a16c; background: #c7a16c; }
.btn-gold:hover { background: #d3b07a; border-color: #d3b07a; }
.city-switch { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4px; width: 100%; max-width: 460px; margin-top: 28px; padding: 4px; border: 1px solid #cabbA3; border-radius: 5px; background: #e9dfd0; }
.city-switch button { min-width: 0; min-height: 48px; padding: 10px 13px; border: 0; border-radius: 3px; color: #75614a; background: transparent; font-size: 16px; line-height: 1.25; text-align: center; }
.city-switch button.active { color: #fff4e3; background: #795a38; }
.city-switch button:not(.active):hover { background: #f6eddf; }
.city-details { display: flex; min-height: 148px; flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 28px; }
.city-details strong { color: #867154; font-size: 15px; font-weight: 400; line-height: 1.35; }
.city-details address { max-width: 410px; margin: 0; color: #45321e; font-size: clamp(24px, 2vw, 31px); font-style: normal; line-height: 1.22; letter-spacing: -.02em; }
.city-details .text-link { margin-top: 3px; color: #866335; }

/* Dimensions and contact form a separate next step after the kit. */
.size-request { display: flex; align-items: center; padding: clamp(48px, calc(var(--viewport-small-unit) * 7), 88px) 0; background: linear-gradient(135deg, #f8f2e8, #eee1ca); }
.request-layout { width: min(1280px, calc(100% - clamp(40px, 8vw, 128px))); display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(40px, 5vw, 88px); }
.request-copy .section-label { margin-bottom: 18px; }
.request-copy h2 { max-width: 570px; margin: 0; color: #45311d; font-size: clamp(40px, 4.15vw, 66px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.request-copy>p:not(.section-label) { max-width: 480px; margin: 24px 0 0; color: #6e573e; font-size: 18px; line-height: 1.6; }
.request-copy>p.request-detail { margin-top: 18px; color: #8b7151; font-size: 15px; }
.request-form { min-width: 0; padding: clamp(26px, 3vw, 42px); border: 1px solid #e1cda9; border-radius: 10px; color: #46311a; background: #fffaf1e6; box-shadow: 0 12px 40px #80643b14; }
.request-selection { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid #dfcfb4; }
.request-selection>span { display: block; margin-bottom: 7px; color: #8e7250; font-size: 13px; }
.request-selection strong { display: block; font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.request-selection p { margin: 9px 0 0; color: #7c6346; font-size: 14px; line-height: 1.5; }
.request-dimensions { min-width: 0; margin: 0; padding: 0; border: 0; }
.request-dimensions legend { margin-bottom: 14px; padding: 0; font-size: 16px; font-weight: 500; }
.request-form .dimension-grid { gap: 12px; }
.request-form .dimension-grid label { color: #806646; }
.request-form input:not([type="hidden"]) { height: 56px; border-color: #d7c09a; border-radius: 5px; background: #fffefb; font-size: 17px; }
.request-contact { display: block; margin-top: 24px; }
.request-submit { width: 100%; min-height: 62px; margin-top: 24px; justify-content: space-between; padding: 16px 22px; border-color: #edc891; border-radius: 7px; background: linear-gradient(180deg, #f8dcb1, #e9be82); box-shadow: 0 3px 0 #b4864f, 0 9px 20px #80643b1f, inset 0 1px 0 #fff0d2; font-size: 18px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease; }
.request-submit:hover { background: linear-gradient(180deg, #ffe8c5, #f0c990); border-color: #f0c990; transform: translateY(-1px); }
.request-submit:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 4px 12px #80643b14, inset 0 1px 0 #fff0d2; }
.request-note { margin: 20px 0 0; color: #8a7050; font-size: 13px; line-height: 1.5; }
.request-demo { margin: 9px 0 0; color: #9b8465; font-size: 12px; line-height: 1.4; }
.size-status { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #d0bea2; color: #6d5333; font-size: 14px; line-height: 1.5; }
.size-status:empty { display: none; }
@media (max-width: 900px) {
  .request-layout { grid-template-columns: 1fr; gap: 34px; max-width: 650px; }
  .request-copy h2 { font-size: clamp(38px, 6vw, 56px); }
  .request-copy>p:not(.section-label) { max-width: 550px; }
}
@media (max-width: 650px) {
  .size-request { padding: 48px 0; }
  .request-form { padding: 26px 20px; }
  .request-copy>p:not(.section-label) { font-size: 16px; }
  .request-form .dimension-grid { gap: 8px; }
  .request-form .dimension-grid label { font-size: 12px; }
  .request-form input:not([type="hidden"]) { font-size: 16px; }
  .request-submit { min-height: 58px; padding-inline: 18px; font-size: 17px; }
  .kit-plan-frame { min-height: 0; height: min(125vw, 620px); }
}

/* A larger architectural viewer, with quiet material notes alongside. */
.case-dialog { position: fixed; width: min(1440px, calc(100vw - 40px)); max-width: none; max-height: calc(calc(var(--viewport-small-unit) * 100) - 40px); overflow: auto; padding: 0; border: 0; border-radius: 6px; color: var(--ink); background: #f7efdf; box-shadow: 0 24px 80px #12110f55; }
.case-dialog::backdrop { background: #18130ee8; }
.case-dialog-grid { display: grid; grid-template-columns: 1.35fr 1fr; min-height: min(720px, calc(calc(var(--viewport-small-unit) * 100) - 40px)); }
.case-dialog-media { display: flex; min-width: 0; flex-direction: column; padding: 22px; background: #e8dcc9; }
.case-photo-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: #756044; font-size: 14px; }
.case-image-frame { position: relative; height: min(calc(var(--viewport-small-unit) * 62), 630px); min-height: 0; overflow: hidden; }
.case-image-frame img { width: 100%; height: 100%; object-fit: contain; }
.case-step { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0 0 3px; border: 1px solid #f9edda80; border-radius: 50%; color: #fff5e4; background: #624528b5; font: 34px/1 Georgia, serif; }
.case-step:hover { background: #795333; }
.case-prev { left: 8px; }
.case-next { right: 8px; }
.case-thumbnails { display: flex; justify-content: center; gap: 10px; padding-top: 18px; }
.case-thumbnails:empty { display: none; }
.case-thumbnails .gallery-thumb { flex: 0 1 78px; min-width: 0; }
.case-dialog-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: clamp(30px, 4vw, 66px); }
.case-dialog-copy .section-label { margin: 0; color: #967147; }
.case-dialog-copy h2 { margin: 0; font-family: inherit; font-size: clamp(34px, 3.2vw, 50px); font-style: normal; font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
#case-plan { max-width: 390px; font-size: 14px; line-height: 1.5; letter-spacing: .015em; text-transform: none; }
.case-dialog-copy > p:not(.section-label) { max-width: 410px; margin: 0; color: #7d6a50; font-size: 18px; line-height: 1.5; }
.case-materials { width: 100%; margin: 3px 0; }
.case-materials > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #d6c4a8; }
.case-materials dt { color: #867256; font-size: 15px; }
.case-materials dd { margin: 0; font-size: 17px; text-align: right; }
.case-dialog-copy .btn { width: 100%; justify-content: center; min-height: 58px; }
.case-dialog .lightbox-close { top: 16px; right: 16px; color: #6a4e2b; background: #ebddc6; }

@media (max-width: 1280px) {
  .topbar-in { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "logo phone actions" "nav nav nav"; gap: 6px 18px; padding: 8px 0 12px; }
  .logo { grid-area: logo; }
  .phone { grid-area: phone; }
  .header-actions { grid-area: actions; }
  .nav { grid-area: nav; justify-content: space-between; min-width: 0; overflow-x: auto; padding-top: 8px; }
}

/* Responsive layouts */
@media (max-width: 1120px) {
  .topbar-in { gap: 14px; }
  .logo img { width: 122px; }
  .nav { gap: 13px; font-size: 14px; }
  .phone { font-size: 15px; }
  .header-cta { padding: 11px 12px; font-size: 14px; }
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 900px) {
  .materials-content { grid-template-columns: 1fr; gap: 28px; }
  .kit-plan-frame img { margin-inline: auto; object-position: center; }
  .kit-plan figcaption { margin-inline: auto; text-align: center; }


  .nav { grid-area: nav; justify-content: space-between; overflow-x: auto; padding-top: 8px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-contact { grid-column: 2; }
}
@media (max-width: 650px) {
  .materials-content { gap: 25px; }
  .materials-list > div { grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 16px 0; }
  .materials-list dt { font-size: 15px; }
  .materials-list dd { gap: 6px 14px; font-size: 16px; }


  html { scroll-padding-top: 10px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .topbar-in { grid-template-columns: 1fr auto; grid-template-areas: "logo phone" "actions actions" "nav nav"; gap: 8px 10px; }
  .header-actions { width: 100%; display: grid; grid-template-columns: 1fr 1.4fr; }
  .header-actions .header-cta { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .logo img { width: 112px; height: 54px; }
  .phone { gap: 6px; font-size: 14px; }
  .phone-icon { width: 26px; }
  .nav { justify-content: flex-start; gap: 21px; padding: 8px 0 2px; font-size: 14px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .gallery-thumb { width: 68px; height: 49px; }
  .dimension-grid { gap: 7px; }
  .dimension-grid label { font-size: 13px; }
  .dimension-grid input { padding: 9px 8px; font-size: 15px; }
  .assembly-toggle { width: 100%; }
  .assembly-toggle button { flex: 1; padding: 8px 7px; font-size: 13px; }
  .materials-intro h2 { font-size: 28px; }
  .projects, .contact { padding: 45px 0; }
  .contact-options { gap: 6px; }
  .contact-method { min-height: 48px; padding: 7px 4px; }
  .contact-method span { font-size: 13px; }
  .footer-top { padding: 19px 0; }
  .footer-brand { font-size: 16px; }
  .footer-brand span { font-size: 13px; }
  .footer-top > img { width: 103px; height: 52px; }
  .footer-main { grid-template-columns: 1fr; gap: 23px; padding: 27px 0; }
  .footer-statement h2 { font-size: 31px; }
  .footer-main nav { grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
  .footer-contact { grid-column: 1; }
  .footer-phone { font-size: 19px; }
  .footer-bottom { font-size: 12px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .logo img { width: 100px; height: 54px; }
  .phone-icon { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


@media (max-width: 760px) {
  .city-details { min-height: 134px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { max-width: 470px; font-size: clamp(43px, 8vw, 62px); }
  .contact-invitation > p:not(.section-label) { max-width: 380px; margin-top: 20px; font-size: 17px; }
  .form-selection { font-size: 16px; }
}


@media (max-width: 980px) {
  .city-switch button { padding-inline: 8px; font-size: 14px; }
  .contact-grid { gap: 32px; }
  .form { padding: 28px; }
  .case-dialog-copy { padding: 54px 28px 30px; }
}
@media (max-width: 760px) {
  .city-switch { max-width: none; }
  .city-switch button { font-size: 16px; }
  .contact { padding: 58px 0 100px; }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy { min-height: 0; gap: 32px; }
  .form { max-width: none; margin: 0; padding: 28px 24px; }
  .case-dialog { width: calc(100vw - 20px); max-height: calc(calc(var(--viewport-small-unit) * 100) - 20px); }
  .case-dialog-grid { grid-template-columns: 1fr; }
  .case-dialog-media { padding: 20px 14px 16px; }
  .case-photo-meta { padding-right: 45px; }
  .case-image-frame { height: min(calc(var(--viewport-small-unit) * 50), 480px); }
  .case-dialog-copy { gap: 18px; padding: 26px; }
  .case-dialog-copy h2 { font-size: 40px; }
  .case-dialog-copy > p:not(.section-label) { font-size: 16px; }
}


/* ===== page-layouts ===== */
/* Native scrolling with a soft desktop magnet near section boundaries. */
html { scroll-behavior: auto; scroll-snap-type: none; scroll-padding-top: 0; }
main > section { min-height: calc(var(--viewport-small-unit) * 100); }
.about, .projects, .contact { display: flex; align-items: center; }
main > .choice, main > .materials { min-height: 0; }

/* The hero has one left-aligned composition; the room stays bright. */
.hero { position: relative; isolation: isolate; overflow-anchor: none; color: #fff8ee; background: #33271e; }
.hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.topbar { position: absolute; z-index: 6; inset: 0 0 auto; background: transparent; color: #fff; text-shadow: none; }
.topbar-in { border: 0; padding-block: 8px; }
.hero { --hero-width: min(1280px, calc(100% - clamp(40px, 8vw, 128px))); display: grid; grid-template-rows: minmax(min-content, 1fr) auto; gap: 40px; padding: calc(var(--header-height, 100px) + clamp(28px, calc(var(--viewport-small-unit) * 4), 52px)) 0 20px; }
.hero::before { background: linear-gradient(90deg, #21160e8f, #21160e57 40%, #21160e1a 66%, transparent 80%), linear-gradient(0deg, #21160e99, #21160e66 18%, transparent 42%), linear-gradient(180deg, #21160e52, transparent 24%); }
.hero-media .hero-slide { position: absolute; inset: 0; opacity: 0; object-position: 50% 50%; transition: opacity 1.8s ease; }
.hero-media .hero-slide.is-active { opacity: 1; }
.hero-media picture { display: contents; }
.hero-media .hero-slide-corner { left: -16%; right: auto; width: 116%; max-width: none; }
.hero-body { width: var(--hero-width); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "action" "route"; column-gap: 48px; row-gap: 26px; align-items: center; align-self: center; padding: 0; }
.hero h1 { grid-area: title; max-width: 940px; margin: 0; color: #fff; font-family: inherit; font-size: clamp(50px, 5vw, 78px); line-height: 1.08; font-weight: 400; font-style: normal; letter-spacing: -.035em; text-transform: none; text-wrap: balance; text-shadow: none; }
.hero-action { grid-area: action; display: grid; justify-items: start; gap: 22px; width: 100%; min-width: 0; }
.hero-lead { max-width: 730px; margin: 0; color: #fff; font-size: 18px; line-height: 1.55; text-shadow: none; }
.hero .btn-gold { min-height: 64px; min-width: 280px; justify-content: space-between; gap: 24px; padding: 16px 24px; border-color: #f2d19e; border-radius: 8px; background: linear-gradient(180deg, #f8dcb1, #e9be82); box-shadow: 0 3px 0 #b4864f, 0 9px 22px #24140733, inset 0 1px 0 #fff0d2; color: #312318; font-size: 17px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.hero .btn-gold:hover { background: linear-gradient(180deg, #ffe8c5, #f0c990); border-color: #ffe3b8; transform: translateY(-1px); }
.hero .btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 4px 12px #24140726, inset 0 1px 0 #fff0d2; }
/* The steps sit directly over the room, leaving the photograph unobstructed. */
.hero-route { grid-area: route; margin-top: 32px; padding: 0; border: 0; color: #fff8ee; background: transparent; }
.hero-steps { --step-gap: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--step-gap); margin: 0; padding: 0; list-style: none; }
.hero-steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 14px; min-width: 0; }
.hero-steps li:not(:last-child)::after { content: "→"; position: absolute; right: calc(var(--step-gap) / -2 - 8px); top: 24px; width: 16px; color: #f2d3a1; font-size: 21px; line-height: 1; text-align: center; }
.step-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #dbad6b; border-radius: 50%; color: #4b321c; background: linear-gradient(135deg, #f6d8aa, #e8bd80); box-shadow: 0 4px 12px #7a53251a, inset 0 1px 0 #ffe7bd; }
.step-icon svg { width: 34px; height: 34px; }
.step-number { position: absolute; top: -4px; left: -4px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #efd3ab; border-radius: 50%; color: #fff2db; background: #674722; font-size: 13px; line-height: 1; }
.step-copy { min-width: 0; overflow-wrap: break-word; text-shadow: none; }
.step-copy strong { display: block; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-transform: none; }
.step-copy p { margin: 7px 0 0; color: #fff4e2; font-size: 14px; line-height: 1.4; }
.hero-bottom { width: var(--hero-width); align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding-top: 16px; border-top: 1px solid #fff2dd33; color: #fff2dc; font-size: 13px; line-height: 1.4; text-shadow: none; }
.hero-bottom b { display: inline-block; margin-left: 12px; color: #f2d3a1; font-size: 20px; font-weight: 400; }
.hero-bottom:hover { color: #ffdfad; }
@media (max-width: 1120px) {
  .hero-body { column-gap: 32px; }
  .hero-steps { --step-gap: 26px; }
  .hero-steps li { grid-template-columns: 54px minmax(0, 1fr); gap: 11px; }
  .step-icon { width: 54px; height: 54px; }
  .step-icon svg { width: 30px; height: 30px; }
  .step-copy strong { font-size: 17px; }
  .step-copy p { font-size: 13px; }
}
@media (max-width: 980px) {
  .hero-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .hero-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-height, 188px) + 28px); padding-bottom: 24px; }
  .hero-body { grid-template-columns: 1fr; grid-template-areas: "title" "action" "route"; gap: 22px; }
  .hero h1 { font-size: clamp(38px, 8.5vw, 62px); line-height: 1.08; text-wrap: wrap; }
  .hero-lead { font-size: 16px; }
  .hero-action { gap: 20px; }
  .hero .btn-gold { min-width: 0; max-width: 100%; min-height: 58px; gap: 18px; padding: 15px 18px; font-size: 16px; }
  .hero-route { margin-top: 12px; }
  .hero-steps { --step-gap: 18px; row-gap: 22px; }
  .hero-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .hero-steps li::after { display: none; }
  .step-icon { width: 44px; height: 44px; }
  .step-icon svg { width: 25px; height: 25px; }
  .step-number { width: 20px; height: 20px; font-size: 11px; }
  .step-copy strong { font-size: 15px; letter-spacing: 0; }
  .step-copy p { margin-top: 6px; font-size: 12px; }
  .hero-bottom { gap: 14px; font-size: 12px; }
  .hero-bottom span:first-child { max-width: 160px; }
  .hero-bottom span:last-child { text-align: right; }
  .hero-media .hero-slide-corner { left: 0; width: 100%; object-position: center; }
}
@media (max-width: 390px) {
  .hero-steps { --step-gap: 16px; }
  .hero-steps li { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 981px) and (max-height: 850px) {
  .hero { padding-top: calc(var(--header-height, 100px) + 24px); padding-bottom: 24px; }
  .hero-body { row-gap: 20px; }
  .hero-action { gap: 18px; }
}

/* Settings define the room's height; long configurations use normal page scrolling. */
.choice { position: relative; overflow-anchor: none; padding: clamp(28px, calc(var(--viewport-small-unit) * 4), 40px) 0 26px; color: var(--ink); background: #f5efe5; }
.choice-content, .materials-layout { width: min(1400px, calc(100% - clamp(40px, 8vw, 128px))); }
.choice-content { display: grid; grid-template-columns: minmax(320px, 370px) minmax(0, 1fr); grid-template-areas: "settings preview" "estimate estimate"; align-items: stretch; gap: 24px 40px; }
.choice-panel { grid-area: settings; min-width: 0; padding: 28px; border: 1px solid #dfd2be; border-radius: 8px; background: #fffaf2; }
.choice-controls { display: grid; width: 100%; gap: 24px; }
.config-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.config-group legend { margin: 0 0 12px; padding: 0; color: #7b664c; font-size: 12px; font-weight: 400; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.level-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.level-option { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-width: 0; min-height: 74px; padding: 12px; border: 1px solid #e3d7c4; border-radius: 6px; color: #493623; background: #fffdf8; text-align: left; }
.finish-swatch { width: 40px; height: 42px; border: 1px solid #9b6e3730; border-radius: 4px; background: repeating-linear-gradient(90deg, #dbb884 0 3px, #e6c898 3px 7px); }
.level-option[data-level="1"] .finish-swatch { background: linear-gradient(90deg, #ead7b1 0 50%, #95673f 50%); }
.level-option[data-level="2"] .finish-swatch { background: repeating-linear-gradient(90deg, #88613b 0 3px, #9e7449 3px 7px); }
.level-copy { min-width: 0; }
.level-copy strong { display: block; font-size: 15px; font-weight: 400; line-height: 1.2; }
.level-copy small { display: block; margin-top: 5px; color: #7c6952; font-size: 12px; line-height: 1.35; }
.finish-selected { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #d8c7ad; border-radius: 50%; color: transparent; background: transparent; }
.level-option:hover, .compact-option:hover, .stove-options button:hover { border-color: #a67a45; }
.level-option.active, .compact-option.active, .stove-options button.active { border-color: #ad7f43; color: #443019; background: #f7e8d0; box-shadow: inset 0 0 0 1px #ad7f4333; }
.level-option.active .finish-selected { border-color: #ad7f43; color: #fffaf2; background: #ad7f43; }
.compact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.compact-option { display: grid; min-width: 0; min-height: 132px; align-content: start; justify-items: center; gap: 4px; padding: 9px 5px 10px; border: 1px solid #d7c6ad; border-radius: 5px; color: #493623; background: #fffdf8; }
.compact-option svg { display: block; width: 100%; height: 76px; }
.compact-option strong { font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.compact-option small { color: #78654d; font-size: 10px; line-height: 1.3; }
.stove-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stove-options button { min-width: 0; min-height: 46px; padding: 9px 7px; border: 1px solid #d7c6ad; border-radius: 5px; color: #493623; background: #fffdf8; font-size: 14px; line-height: 1.25; }
.choice-stage { grid-area: preview; position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #dfd2be; border-radius: 8px; background: #e9e0d2; }
.choice-media { position: relative; height: clamp(330px, calc(var(--viewport-small-unit) * 50), 540px); min-width: 0; overflow: hidden; }
.choice-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.choice-zoom { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: zoom-in; }
.choice-zoom:focus-visible { outline: 2px solid #fff4dd; outline-offset: -6px; }
.choice-room-info { position: absolute; z-index: 1; top: 16px; left: 16px; max-width: calc(100% - 32px); padding: 10px 13px; border: 1px solid #ffffff1c; border-radius: 5px; color: #fff8ed; background: #17130fb8; pointer-events: none; }
.choice-room-info strong { display: block; font-size: 17px; font-weight: 500; line-height: 1.2; }
.choice-room-info span { display: block; margin-top: 4px; color: #fff7e5d9; font-size: 11px; line-height: 1.4; }
.image-open { position: absolute; right: 14px; bottom: 14px; display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; border: 1px solid #d0b994; border-radius: 5px; color: #4f3a24; background: #fffaf2; box-shadow: 0 3px 12px #4b311b1a; font-size: 13px; line-height: 1.3; }
.image-open:hover { background: #f8e8cf; border-color: #b1854c; }
.image-open svg { flex: none; }
.choice-view-tools { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.view-switch { display: inline-flex; justify-content: center; gap: 3px; max-width: 100%; margin: 0; padding: 5px; border: 1px solid #ffffff20; border-radius: 7px; background: #111111d9; box-shadow: 0 4px 16px #00000018; pointer-events: auto; }
.view-switch button { flex: 0 1 auto; min-width: 0; min-height: 40px; padding: 9px 15px; border: 0; border-radius: 4px; color: #ffffffb8; background: transparent; font-size: 13px; font-weight: 400; line-height: 1.25; white-space: nowrap; }
.view-switch button:hover:not(:disabled) { color: #fff; background: #ffffff14; }
.view-switch button:disabled { opacity: .45; cursor: default; }
.view-switch button[aria-pressed="true"], .view-switch button[aria-pressed="true"]:hover { color: #2c2318; background: #f3e3c9; }
.view-switch button:focus-visible { outline: 2px solid #f3e3c9; outline-offset: 2px; }
.choice-photo-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.choice-summary { grid-area: estimate; display: grid; grid-template-columns: minmax(310px, 1.15fr) minmax(240px, .9fr) auto; align-items: center; gap: 16px 32px; padding-top: 20px; border-top: 1px solid #d4c2a7; }
.choice-total, .choice-price-detail { min-width: 0; }
.price-heading { display: block; color: #78644b; font-size: 14px; line-height: 1.3; }
.choice-visual-price { display: block; margin-top: 5px; color: #44301c; font-size: clamp(32px, 3vw, 44px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.estimate-example { margin: 7px 0 0; color: #78644b; font-size: 12px; line-height: 1.4; }
.installation-choice { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; color: #493623; font-size: 14px; line-height: 1.3; cursor: pointer; }
.installation-choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #ad7f43; cursor: pointer; }
.estimate-breakdown { display: grid; gap: 13px; width: min(100%, 420px); margin: 0; color: #78644b; font-size: 14px; line-height: 1.4; }
.estimate-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.estimate-breakdown dt { min-width: 0; }
.estimate-breakdown dd { flex: none; margin: 0; color: #493623; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.estimate-breakdown .assembly-row { padding-top: 10px; border-top: 1px solid #d8c9b44d; }
.estimate-breakdown.assembly-excluded .assembly-row dd { color: #8b7a63; }
.estimate-terms { grid-column: 1 / -1; margin: 0; color: #7c694f; font-size: 12px; line-height: 1.4; }
.choose-cta { display: inline-flex; min-height: 58px; align-items: center; justify-content: space-between; justify-self: end; gap: 22px; max-width: 100%; padding: 15px 20px; border: 1px solid #edc891; border-radius: 7px; color: #432c16; background: linear-gradient(180deg, #f8dcb1, #e9be82); box-shadow: 0 3px 0 #b4864f, 0 7px 18px #8c683512, inset 0 1px 0 #fff0d2; font-size: 15px; line-height: 1.35; transition: transform .18s ease, box-shadow .18s ease; }
.choose-cta svg { flex: none; }
.choose-cta:hover { transform: translateY(-1px); background: linear-gradient(180deg, #ffe8c5, #f0c990); }
.choose-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 3px 8px #8c683512, inset 0 1px 0 #fff0d2; }
.config-group:disabled { opacity: .5; }
.config-group:disabled button { cursor: default; }
@media (max-width: 1100px) {
  .choice-content { grid-template-columns: 320px minmax(0, 1fr); column-gap: 26px; }
  .choice-panel { padding: 22px; }
  .choice-controls { gap: 22px; }
  .level-option { gap: 9px; padding: 10px; }
  .level-copy strong { font-size: 14px; }
  .compact-option strong { font-size: 12px; }
  .compact-option small { font-size: 9px; }
  .choice-summary { column-gap: 24px; }
  .estimate-breakdown dd { font-size: 16px; }
}
@media (min-width: 981px) {
  .choice { --constructor-padding: clamp(20px, calc(var(--viewport-small-unit) * 3), 34px); height: auto; min-height: calc(var(--viewport-small-unit) * 100); padding: var(--constructor-padding) 0; }
  .choice-content { height: auto; min-height: calc(calc(var(--viewport-small-unit) * 100) - var(--constructor-padding) - var(--constructor-padding)); grid-template-rows: minmax(min-content, 1fr) auto; row-gap: clamp(16px, calc(var(--viewport-small-unit) * 2.5), 28px); }
  .choice-panel, .choice-stage { height: auto; min-height: 0; }
  .choice-panel { display: flex; flex-direction: column; overflow: visible; }
  .choice-controls { flex: none; margin-block: auto; }
  .choice-stage { display: block; }
  .choice-media { position: absolute; inset: 0; height: 100%; min-height: 0; }
}
@media (min-width: 981px) and (max-height: 740px) {
  .choice-panel { padding: 20px; }
  .choice-controls { gap: 18px; }
  .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .level-option { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 9px; min-height: 82px; padding: 10px 6px; text-align: center; }
  .finish-swatch { width: 34px; height: 23px; }
  .level-copy strong { font-size: 13px; }
  .level-copy small, .finish-selected { display: none; }
  .choice-visual-price { font-size: 34px; }
  .choose-cta { min-height: 52px; }
  .compact-option { min-height: 110px; padding-block: 5px; }
  .compact-option svg { height: 60px; }
}
@media (max-width: 980px) {
  .choice-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 26px; }
  .choose-cta { grid-column: 1 / -1; width: 100%; justify-content: center; }
}
@media (max-width: 760px) {
  .choice { padding: 22px 0 26px; }
  .choice-content, .materials-layout { width: calc(100% - 36px); }
  .choice-content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "preview" "settings" "estimate"; gap: 20px; }
  .choice-media { height: clamp(320px, calc(var(--viewport-small-unit) * 48), 460px); }
  .image-open { right: 10px; bottom: 10px; min-height: 40px; padding: 8px 10px; font-size: 12px; }
  .choice-view-tools { left: 9px; right: 9px; bottom: 10px; }
  .choice-room-info { top: 10px; left: 10px; padding: 9px 11px; }
  .choice-room-info strong { font-size: 16px; }
  .view-switch { width: 100%; padding: 4px; gap: 2px; }
  .view-switch button { flex: 1; min-height: 40px; padding: 9px 6px; font-size: 11px; }
  .choice-panel { padding: 18px; }
  .choice-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; }
  .choice-visual-price { font-size: 36px; }
  .installation-choice { min-height: 44px; }
  .estimate-breakdown { width: 100%; font-size: 13px; }
  .choose-cta { min-height: 56px; font-size: 15px; }
}
@media (max-width: 390px) {
  .choice-content, .materials-layout { width: calc(100% - 28px); }
  .choice-panel { padding: 15px; }
  .choice-visual-price { font-size: 33px; }
}

/* Completed projects: real photography with links to each case. */
.projects { background: #ede5d8; }
.projects-layout { display: grid; grid-template-columns: .8fr 1.9fr; align-items: center; gap: clamp(30px, 4.5vw, 80px); }
.projects-intro h2 { margin: 0; font-size: clamp(36px, 3.7vw, 62px); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
.projects-intro > p:not(.section-label) { max-width: 360px; margin: 23px 0 28px; color: #71604c; font-size: 18px; line-height: 1.5; }
.projects-intro .btn { justify-content: center; }
.other-channels { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #c9b69a; }
.other-channels a { padding: 6px 0; color: #6a5439; font-size: 14px; }
.other-channels a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-gallery { min-width: 0; }
.project-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card { position: relative; display: block; aspect-ratio: 3 / 4; min-width: 0; overflow: hidden; border-radius: 5px; color: #fff6e8; background: #493325; }
.project-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, #21190e38, transparent 30%, #21180e33 50%, #21180eee); content: ''; pointer-events: none; }
.project-card img { transition: transform .25s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card:first-child img { object-position: right center; }
.project-card:last-child img { object-position: 40% center; }
.project-kind { position: absolute; z-index: 1; top: 18px; left: 17px; right: 17px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .025em; }
.project-caption { position: absolute; z-index: 1; left: 18px; right: 14px; bottom: 25px; }
.project-caption > span { display: block; margin-bottom: 13px; color: #f0d6ae; font-size: 13px; line-height: 1.3; }
.project-caption h3 { margin: 0; font-size: clamp(24px, 2.2vw, 37px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.project-gallery-note { margin: 15px 0 0; color: #806d54; font-size: 13px; line-height: 1.4; }

/* One photograph, two arrows and a quiet counter for each completed project. */
.project-dialog { width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(calc(var(--viewport-dynamic-unit) * 100) - 40px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #ffffff16; border-radius: 9px; color: #fff7eb; background: #171612; box-shadow: 0 24px 100px #00000055; }
.project-dialog::backdrop { background: #11100de0; }
.project-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px 18px; }
.project-dialog-head h2 { margin: 0; font-family: inherit; font-size: clamp(20px, 2vw, 27px); font-style: normal; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.project-dialog-head p { margin: 6px 0 0; color: #c2b7a6; font-size: 13px; line-height: 1.4; }
.project-close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff29; border-radius: 50%; color: #fff8eb; background: transparent; font-size: 28px; font-weight: 300; line-height: 1; }
.project-close:hover { background: #ffffff12; }
.project-dialog-photo { position: relative; display: grid; place-items: center; height: min(calc(var(--viewport-dynamic-unit) * 70), 760px); min-height: 200px; background: #11110f; touch-action: pan-y; }
.project-dialog-photo > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.project-dialog-photo > img[hidden] { display: none; }
.project-dialog-photo[aria-busy="true"] > img { opacity: .65; }
.project-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 46px; height: 52px; padding: 0; transform: translateY(-50%); border: 1px solid #ffffff26; border-radius: 6px; color: #fff; background: #171612a6; }
.project-arrow:hover { background: #171612e0; }
.project-prev { left: 16px; }
.project-next { right: 16px; }
.project-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 24px 17px; color: #c8bdad; background: transparent; }
.project-dialog-foot p { margin: 0; font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.project-progress { width: 100px; height: 2px; overflow: hidden; background: #ffffff20; }
.project-progress span { display: block; height: 100%; background: #e8d3ae; }
.project-dialog button:focus-visible { outline: 2px solid #e8d3ae; outline-offset: 3px; }
@media (max-width: 760px) {
  .project-dialog { width: calc(100vw - 20px); max-height: calc(calc(var(--viewport-dynamic-unit) * 100) - 24px); border-radius: 6px; }
  .project-dialog-head { align-items: flex-start; gap: 12px; padding: 17px 15px; }
  .project-dialog-head h2 { font-size: 20px; }
  .project-dialog-head p { max-width: 235px; font-size: 12px; }
  .project-close { width: 38px; height: 38px; }
  .project-dialog-photo { height: min(calc(var(--viewport-dynamic-unit) * 62), 620px); }
  .project-arrow { width: 38px; height: 46px; }
  .project-prev { left: 8px; }
  .project-next { right: 8px; }
  .project-dialog-foot { padding: 13px 16px; }
  .project-progress { width: 72px; }
}

/* The same fieldsets move into a native dialog on small screens, so choices stay in sync. */
.mobile-choice-tools { display: none; }
.options-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(calc(var(--viewport-dynamic-unit) * 68), 600px); margin: 0; padding: 18px 20px max(18px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #d1bfa2; border-radius: 12px 12px 0 0; color: var(--ink); background: #f7efe2; box-shadow: 0 -18px 70px #231b172e; overflow: auto; overscroll-behavior: contain; }
.options-sheet::backdrop { background: #1f181b30; }
.options-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.options-sheet-head h2 { margin: 0; font-size: 25px; font-weight: 400; line-height: 1.15; }
.options-sheet-head > button { flex: none; width: 44px; height: 44px; padding: 0; border: 0; color: #5a4730; background: transparent; font-size: 30px; }
.options-sheet-body { min-height: 96px; padding: 19px 0 23px; }
.options-sheet-body legend { display: none; }
.options-sheet-body .level-option { min-height: 74px; }
.options-sheet-body .level-copy strong { font-size: 16px; }
  .options-sheet-body .compact-option { min-height: 132px; }
  .options-sheet-body .compact-option svg { width: 100%; height: 78px; }
  .options-sheet-body .compact-option strong { font-size: 15px; }
.options-sheet-body .stove-options button { min-height: 52px; font-size: 16px; }
.options-sheet-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 17px; border-top: 1px solid #c6b699; }
.options-sheet-footer span { display: block; color: #7a6347; font-size: 13px; }
.options-sheet-footer strong { display: block; font-size: 25px; font-weight: 400; line-height: 1.2; }
.options-sheet-footer .btn { min-width: 118px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

@media (min-width: 1800px) {
  .projects-layout { grid-template-columns: .85fr 1.7fr; }
  .project-strip { max-width: 1050px; margin-left: auto; }
}
@media (max-width: 980px) {
  .projects-layout { grid-template-columns: 1fr; gap: 30px; }
  .projects-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 15px 30px; }
  .projects-intro .section-label, .projects-intro h2 { grid-column: 1; }
  .projects-intro .section-label { margin: 0; }
  .projects-intro > p:not(.section-label) { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .projects-intro .btn { grid-column: 2; justify-self: start; }
  .other-channels { grid-column: 1; grid-row: 3 / 5; margin: 0; padding-top: 12px; }
  .project-strip { max-width: 840px; }
}
@media (max-width: 760px) {
  html[data-mobile-controls] .choice-controls { display: none; }
  html[data-mobile-controls] .mobile-choice-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mobile-choice-tools button { position: relative; min-width: 0; min-height: 72px; padding: 9px 7px; border: 1px solid #d2bea0; border-radius: 5px; color: #493623; background: #fffdf8; text-align: left; }
  .mobile-choice-tools button > span { display: block; margin-bottom: 7px; color: #7a644b; font-size: 11px; line-height: 1.2; }
  .mobile-choice-tools button > strong { display: block; font-size: 13px; font-weight: 400; line-height: 1.25; }
  .mobile-choice-tools button > b { position: absolute; right: 7px; top: 6px; color: #a47b46; font-size: 16px; font-weight: 400; }
  .mobile-choice-tools button:disabled { opacity: .5; }
  .options-sheet-footer { gap: 12px; }
  .options-sheet-footer .btn { min-width: 94px; }
  .options-sheet-footer strong { font-size: clamp(21px, 6vw, 25px); }
  .projects-intro { display: block; }
  .projects-intro .section-label { margin-bottom: 12px; }
  .projects-intro > p:not(.section-label) { max-width: 500px; margin: 19px 0 22px; font-size: 17px; }
  .other-channels { margin-top: 23px; padding-top: 14px; }
  .project-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(67vw, 280px); gap: 12px; overflow-x: auto; padding: 3px 0 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b29a79 transparent; }
  .project-card { scroll-snap-align: start; }
  .project-caption h3 { font-size: 30px; }
}


/* ===== refinements ===== */
/* One warm palette, one viewport grid, from phones to the showroom screen. */
:root { --page-gutter: clamp(18px, 4vw, 144px); --content-width: calc(100% - var(--page-gutter) * 2); --section-pad: clamp(28px, calc(var(--viewport-small-unit) * 4), 76px); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap, .choice-content, .materials-layout, .request-layout, .studio-layout { width: var(--content-width); max-width: none; }
.hero { --hero-width: var(--content-width); }
.hero h1 { max-width: min(74%, 1600px); font-size: clamp(50px, 5vw, 118px); }
.hero-body h1 { max-width: min(100%, 16em); }
main > section { min-height: calc(var(--viewport-small-unit) * 100); }
.line-icon { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-accent { border-color: #edc891; border-radius: 7px; color: #432c16; background: linear-gradient(180deg, #f8dcb1, #e9be82); box-shadow: 0 3px 0 #b4864f, 0 8px 20px #38200e16, inset 0 1px 0 #fff0d2; transition: transform .18s ease, box-shadow .18s ease; }
.btn-accent:hover { color: #432c16; border-color: #f0c990; background: linear-gradient(180deg, #ffe8c5, #f0c990); transform: translateY(-1px); }
.btn-accent:active { transform: translateY(2px); box-shadow: 0 1px 0 #b4864f, 0 3px 10px #38200e12, inset 0 1px 0 #fff0d2; }

/* Plans stay at a common physical scale. The legend explains construction details. */
.choice-content { grid-template-columns: clamp(320px, 27.4vw, 600px) minmax(0, 1fr); column-gap: clamp(26px, 3vw, 90px); }
.choice-panel { padding: clamp(20px, 2vw, 38px); }
.choice-controls { gap: 20px; }
.compact-option { min-height: 144px; gap: 2px; padding: 5px 4px 9px; }
.compact-option svg { height: 94px; }
.compact-option strong { font-size: clamp(12px, 1vw, 16px); }
.compact-option small { font-size: clamp(9px, .7vw, 12px); }
.plan-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; color: #7c6b53; font-size: 10px; line-height: 1.3; }
.plan-legend span { display: inline-flex; align-items: center; gap: 5px; }
.plan-legend [hidden] { display: none; }
.plan-legend i { display: inline-block; width: 11px; height: 8px; border-radius: 1px; }
.legend-bench { background: #c9a36c; }
.legend-stone { background: repeating-linear-gradient(-45deg, #70776f 0 2px, #adb3a9 2px 3px); }
.legend-firebox b { color: #92622e; font-size: 15px; font-weight: 400; line-height: .7; }
.layout-detail { min-height: 32px; margin: 9px 0 0; color: #77664e; font-size: 11px; line-height: 1.4; }
.price-heading-row { display: flex; align-items: center; gap: 9px; }
.price-info { display: grid; flex: none; place-items: center; width: 25px; height: 25px; margin: -4px 0; padding: 0; border: 1px solid #b79b73; border-radius: 50%; color: #896335; background: #fcf6eb; font-size: 13px; font-weight: 500; line-height: 1; }
.price-info:hover { border-color: #9d733c; color: #5c3b17; background: #f4dfbb; }
.ruble-icon { display: inline-block; flex: none; width: .68em; height: .8em; margin-left: .13em; overflow: visible; vertical-align: -.015em; }
.money-value { white-space: nowrap; }
.choice-visual-price { font-size: clamp(34px, 3vw, 72px); white-space: nowrap; }
.choice-summary { padding-top: 20px; }

/* The drawing and the materials complete one screen after the constructor. */
.materials { display: flex; align-items: center; padding: var(--section-pad) 0; background: #f5efe5; }
.materials-layout { padding-top: 0; }
.materials-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(40px, 6vw, 180px); }
.kit-plan { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; min-height: 0; }
.kit-plan-frame { display: flex; height: 100%; min-height: 0; }
.kit-plan-frame img { width: 100%; max-height: 100%; object-fit: contain; object-position: left center; mix-blend-mode: normal; filter: none; opacity: 1; }
.kit-plan figcaption { max-width: none; margin-top: 12px; font-size: clamp(12px, .8vw, 18px); }
.materials-intro { margin-bottom: clamp(20px, calc(var(--viewport-small-unit) * 3), 40px); }
.materials-intro h2 { font-size: clamp(32px, 3vw, 70px); }
.materials-intro .section-label { margin: 0 0 10px; font-size: clamp(11px, .75vw, 17px); }
.materials-list > div { grid-template-columns: minmax(135px, .9fr) minmax(0, 1.1fr); gap: 20px; padding: clamp(13px, calc(var(--viewport-small-unit) * 1.8), 28px) 0; border-color: #d7cbb94f; }
.materials-list dt { font-size: clamp(14px, 1.05vw, 24px); }
.materials-list dd { gap: 6px 18px; font-size: clamp(16px, 1.15vw, 27px); }
.materials-list a { text-decoration-color: #bba17c88; }
.materials-next { margin-top: 22px; padding-top: 20px; border-color: #cfbfa466; }
.kit-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 10px; }
.kit-total > span { color: #78644b; font-size: clamp(13px, .9vw, 20px); }
.kit-total strong { color: #4a341e; font-size: clamp(25px, 2vw, 43px); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; }
.materials-next > p { max-width: none; margin: 10px 0 16px; font-size: clamp(13px, .95vw, 21px); }
.kit-cta { max-width: none; min-height: 58px; justify-content: space-between; font-size: clamp(16px, 1vw, 23px); font-weight: 500; }

/* A focused last step: sizes, a person and a way to reply. */
.size-request { padding: var(--section-pad) 0; }
.request-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 180px); }
.request-copy h2 { max-width: 1050px; font-size: clamp(42px, 4.3vw, 105px); }
.request-copy > p:not(.section-label) { max-width: 650px; margin-top: 24px; font-size: clamp(17px, 1.2vw, 27px); line-height: 1.5; }
.request-copy .section-label { max-width: 550px; font-size: clamp(11px, .8vw, 18px); }
.request-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: clamp(32px, calc(var(--viewport-small-unit) * 5), 70px) 0 0; padding: 0; list-style: none; }
.request-steps li { position: relative; min-width: 0; }
.request-steps li:not(:last-child)::after { position: absolute; top: 17px; right: 9%; color: #b08a55; font-size: 24px; content: '→'; }
.request-steps .step-icon { width: clamp(48px, 4.5vw, 78px); height: auto; aspect-ratio: 1; margin-bottom: 17px; }
.request-steps .step-icon svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.request-steps strong { display: block; color: #513a21; font-size: clamp(15px, 1.1vw, 25px); font-weight: 500; line-height: 1.3; }
.request-steps li > span:last-child { display: block; max-width: 180px; margin-top: 7px; color: #917858; font-size: clamp(12px, .85vw, 18px); line-height: 1.45; }
.request-form, .form { padding: clamp(24px, 2.3vw, 62px); border: 1px solid #d9c7a7; border-radius: 9px; background: #fffaf2; box-shadow: 0 14px 45px #49321a0c; }
.request-selection { margin-bottom: 22px; padding-bottom: 18px; border-color: #dfcfb466; }
.request-selection strong { font-size: clamp(24px, 1.8vw, 40px); font-weight: 400; }
.request-selection p { font-size: clamp(12px, .9vw, 19px); }
.request-fields, .contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 16px; margin-top: 22px; }
.request-fields .field-label, .contact-fields .field-label { min-width: 0; margin: 0; color: #776044; font-size: clamp(13px, .85vw, 19px); }
.request-fields .field-label input, .contact-fields .field-label input, .request-form .dimension-grid input { width: 100%; min-width: 0; height: clamp(50px, calc(var(--viewport-small-unit) * 5.6), 72px); min-height: 0; font-size: clamp(16px, .95vw, 23px); border-color: #d7c8b1; background: #fffdf9; }
.request-form .dimension-grid label { font-size: clamp(12px, .8vw, 18px); }
.request-dimensions legend { margin-bottom: 12px; font-size: clamp(15px, 1vw, 23px); }
.request-submit, .form > .btn { min-height: clamp(56px, calc(var(--viewport-small-unit) * 6), 80px); margin-top: 20px; font-size: clamp(16px, 1.1vw, 25px); font-weight: 500; }
.request-note { margin: 16px 0 0; font-size: clamp(11px, .8vw, 17px); line-height: 1.4; }
.form-extra { margin: 20px 0 0; border: 0; border-radius: 0; }
.form-extra summary { min-height: 32px; padding: 3px 0; color: #8c6b40; background: transparent; font-size: clamp(13px, .9vw, 19px); }
.form-extra[open] summary { border: 0; }
.form-extra[open] summary > span:last-child { transform: rotate(45deg); }
.form-extra .field-label { margin: 10px 0 0; font-size: 13px; }
.form-extra textarea { border-color: #d7c8b1; }

/* A visit or a delivery, with production in the background. */
.about { padding: var(--section-pad) 0; }
.studio-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 180px); }
.studio-heading h2 { font-size: clamp(42px, 4.2vw, 106px); max-width: 1600px; }
.studio-visit { padding: clamp(26px, 2.6vw, 64px); background: #281c1196; border-color: #f8e1bc40; }
.studio-invitation { max-width: 720px; font-size: clamp(17px, 1.2vw, 28px); }
.about .city-switch { grid-template-columns: 1.45fr 1fr 1fr; margin-top: 26px; }
.city-switch button { min-height: 46px; padding: 9px 6px; font-size: clamp(13px, .9vw, 21px); }
.about .city-switch button:not(.active):hover { color: #fff; background: #ffffff12; }
.city-details { min-height: 145px; }
.city-details address { max-width: 720px; font-size: clamp(24px, 2vw, 46px); }
.city-details strong, .city-details .text-link { font-size: clamp(13px, .9vw, 20px); }
.studio-delivery { display: flex; align-items: start; gap: 14px; margin-top: 18px; color: #f0d2a9; }
.studio-delivery .line-icon { width: 30px; height: 30px; margin-top: 2px; }
.studio-delivery strong { color: #fff1db; font-size: clamp(15px, 1vw, 23px); font-weight: 400; }
.studio-delivery p { max-width: 640px; margin: 7px 0 6px; color: #dfcbb1; font-size: clamp(13px, .9vw, 20px); line-height: 1.5; }
.studio-delivery a { color: #eac997; font-size: clamp(12px, .8vw, 18px); text-decoration: underline; text-decoration-color: #eac99777; text-underline-offset: 4px; }
.studio-phone { margin-top: 26px; font-size: clamp(25px, 2vw, 44px); line-height: 1.3; }
.studio-phone span { display: block; margin-bottom: 5px; color: #dfcbb1; font-size: clamp(11px, .8vw, 17px); }

/* An atelier for individual rooms. Photography is part of the page, not a separate gallery skin. */
.projects { padding: var(--section-pad) 0; background: #eee6d8; }
.projects-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, calc(var(--viewport-small-unit) * 4), 56px); }
.projects-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(40px, 6vw, 180px); }
.projects-intro .section-label { margin-bottom: 12px; }
.projects-intro h2 { font-size: clamp(40px, 4.2vw, 103px); }
.projects-offer { max-width: 1100px; }
.projects-offer p { max-width: 900px; margin: 0 0 24px; color: #796249; font-size: clamp(17px, 1.2vw, 28px); line-height: 1.5; }
.projects-offer .btn { min-height: 56px; justify-content: space-between; gap: 24px; font-size: clamp(14px, 1vw, 23px); }
.project-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; gap: clamp(16px, 1.7vw, 50px); overflow: visible; }
.project-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: auto; overflow: hidden; border-radius: 7px; color: #4c351f; background: #faf5ec; }
.project-card::after { inset: 0 0 auto; height: calc(100% - 105px); background: linear-gradient(180deg, #17130e45, transparent 28%); }
.project-card img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.project-kind { top: 15px; left: 17px; right: 17px; align-items: center; color: #fff7e8; font-size: 12px; }
.project-kind > span:last-child { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff70; border-radius: 50%; font-size: 18px; }
.project-caption { position: static; padding: clamp(18px, 1.5vw, 34px); }
.project-caption > span { margin-bottom: 7px; color: #987144; font-size: clamp(11px, .8vw, 18px); }
.project-caption h3 { color: #4c351f; font-size: clamp(22px, 1.8vw, 43px); }
.projects-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; }
.projects-bottom > p { max-width: 530px; margin: 0; color: #8b7457; font-size: clamp(12px, .9vw, 20px); line-height: 1.5; }
.other-channels { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; border: 0; }
.other-channels a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: clamp(12px, .85vw, 19px); }
.social-icon { flex: none; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.project-dialog { border-color: #dfcfb4; color: #49321c; background: #f7efe3; box-shadow: 0 22px 100px #251b134d; }
.project-dialog::backdrop { background: #241a11b8; }
.project-dialog-head { background: #f7efe3; }
.project-dialog-head p { color: #8b7457; }
.project-close { border-color: #cdbb9d; color: #6b4c29; }
.project-close:hover { background: #ebdcc4; }
.project-dialog-photo { background: #e7ddce; }
.project-arrow { border-color: #e9dfcb; color: #503a21; background: #fff8eced; }
.project-arrow:hover { background: #fffbf3; }
.project-dialog-foot { color: #8b7457; background: #f7efe3; }
.project-dialog-cta { color: #6a4b26; font-size: 15px; }
.project-dialog-cta span { margin-left: 16px; }
.project-progress { background: #dfcfb6; }
.project-progress span { background: #a17a48; }

/* The final invitation uses the opening screen's type and button language. */
.contact { padding: var(--section-pad) 0; }
.contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 180px); }
.contact-copy { min-height: clamp(460px, calc(var(--viewport-small-unit) * 58), 1000px); gap: 42px; }
.contact-copy h2 { max-width: 1300px; font-family: inherit; font-size: clamp(46px, 4.8vw, 116px); font-style: normal; line-height: 1.08; letter-spacing: -.035em; }
.contact-invitation > p:not(.section-label) { max-width: 760px; font-size: clamp(17px, 1.2vw, 28px); line-height: 1.5; }
.contact-back { display: inline-flex; align-items: center; gap: 24px; margin-top: 30px; color: #e4c397; font-size: clamp(14px, 1vw, 22px); }
.contact-phone { font-size: clamp(26px, 2.4vw, 54px); }
.contact-phone span { font-size: clamp(13px, 1vw, 23px); }
.form { max-width: none; margin: 0; }
.form-selection { margin-bottom: 20px; padding-bottom: 17px; border-color: #dfcfb466; color: #81613b; font-size: clamp(14px, 1.05vw, 23px); line-height: 1.5; }
.form .section-label { font-size: clamp(11px, .8vw, 17px); }
.contact-fields { margin: 20px 0 0; }
.contact-fields [hidden] { display: none; }
.contact-methods { margin-bottom: 0; }
.contact-methods legend { color: #776044; font-size: clamp(13px, .9vw, 20px); font-weight: 400; }
.contact-method { background: #fffdf9; border-color: #d7c8b1; }
.contact-method span { font-size: clamp(13px, .9vw, 21px); }
.form > .btn { justify-content: space-between; gap: 18px; padding-inline: 22px; }
.form-foot { margin-top: 16px; color: #917858; font-size: clamp(11px, .8vw, 18px); }
.form-status:empty { display: none; }

/* Cost details and the explicit mail handoff share the site's materials. */
.info-dialog { width: min(680px, calc(100vw - 40px)); max-width: none; max-height: calc(calc(var(--viewport-dynamic-unit) * 100) - 48px); padding: 30px; margin: auto; border: 1px solid #dfcfb4; border-radius: 10px; color: #503a23; background: #fcf6ec; box-shadow: 0 20px 100px #261b124d; overflow: auto; }
.info-dialog::backdrop { background: #241a1199; }
.info-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.info-dialog-head h2 { margin: 0; font-family: inherit; font-size: 29px; font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.dialog-close { display: grid; flex: none; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #d7c5a9; border-radius: 50%; color: #896335; background: transparent; font-size: 27px; font-weight: 300; line-height: 1; }
.dialog-close:hover { background: #f3e3c9; }
.price-dialog-selection { margin: 20px 0; color: #957344; font-size: 14px; line-height: 1.5; }
.price-dialog-breakdown { margin: 0 0 24px; padding: 20px; border-radius: 6px; background: #f0e5d3; font-size: 14px; }
.price-dialog-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.price-dialog-breakdown dd { margin: 0; font-size: 19px; white-space: nowrap; }
.price-dialog-breakdown .price-dialog-total { margin: 17px 0 0; padding-top: 15px; border-top: 1px solid #cfbb9959; }
.price-dialog-total dd { font-size: 28px; }
.price-conditions { display: grid; gap: 20px; }
.price-conditions h3 { margin: 0 0 5px; color: #654521; font-size: 16px; font-weight: 500; }
.price-conditions p { margin: 0; color: #8a7457; font-size: 14px; line-height: 1.55; }
.price-conditions a { display: inline-block; margin-top: 8px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.inquiry-lead { margin: 20px 0; color: #8a7457; font-size: 15px; line-height: 1.5; }
#inquiry-summary { max-height: calc(var(--viewport-small-unit) * 36); margin: 0 0 24px; padding: 20px; overflow: auto; border-radius: 6px; color: #685136; background: #f2e8d8; font: 14px/1.6 Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.inquiry-dialog .btn { width: 100%; min-height: 56px; justify-content: space-between; font-size: 16px; }
.inquiry-alternative { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; color: #8e7757; font-size: 13px; }
.inquiry-alternative button { margin: 0; padding: 0; border: 0; color: #8a6230; background: transparent; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
#inquiry-copy-status { margin: 12px 0 0; color: #8e7757; font-size: 13px; }
#inquiry-copy-status:empty { display: none; }

@media (min-width: 981px) and (min-height: 740px) {
  .materials { height: calc(var(--viewport-small-unit) * 100); }
  .materials-layout, .materials-content { height: 100%; min-height: 0; }
}
@media (min-width: 2000px) {
  .hero-body { row-gap: 40px; }
  .hero-lead { max-width: 1100px; font-size: clamp(22px, 1.05vw, 32px); }
  .hero .btn-gold { min-height: 80px; min-width: 400px; font-size: 24px; }
  .hero-route { margin-top: calc(var(--viewport-small-unit) * 4); }
  .hero-steps li { grid-template-columns: 78px minmax(0, 1fr); gap: 24px; }
  .hero-steps .step-icon { width: 78px; height: 78px; }
  .step-copy strong { font-size: clamp(22px, 1vw, 32px); }
  .step-copy p { max-width: 430px; font-size: clamp(17px, .8vw, 24px); }
  .hero-bottom { font-size: 18px; }
  .choice-controls { gap: clamp(24px, calc(var(--viewport-small-unit) * 3), 52px); }
  .config-group legend { font-size: 17px; margin-bottom: 18px; }
  .level-option { min-height: 100px; grid-template-columns: 54px minmax(0, 1fr) 26px; padding: 18px; gap: 18px; }
  .finish-swatch { width: 54px; height: 54px; }
  .level-copy strong { font-size: 23px; }
  .level-copy small { font-size: 16px; }
  .stove-options button { min-height: 64px; font-size: 21px; }
  .compact-option { min-height: 195px; }
  .compact-option svg { height: 130px; }
  .compact-option strong { font-size: 21px; }
  .compact-option small { font-size: 14px; }
  .plan-legend { gap: 16px; margin-top: 16px; font-size: 14px; }
  .layout-detail { min-height: 40px; font-size: 16px; }
  .choice-summary { grid-template-columns: 1fr 1fr auto; gap: 32px 60px; padding-top: 28px; }
  .estimate-breakdown { width: min(100%, 760px); font-size: 21px; }
  .estimate-breakdown dd { font-size: 27px; }
  .installation-choice { font-size: 21px; }
  .installation-choice input { width: 24px; height: 24px; }
  .price-heading { font-size: 20px; }
  .price-info { width: 30px; height: 30px; font-size: 17px; }
  .estimate-example { font-size: 17px; }
  .choose-cta { min-height: 76px; padding: 18px 30px; font-size: 23px; }
  .choice-room-info { top: 24px; left: 24px; padding: 16px 22px; }
  .choice-room-info strong { font-size: 26px; }
  .choice-room-info span { font-size: 17px; }
  .view-switch button { min-height: 52px; padding: 12px 28px; font-size: 18px; }
  .project-kind { top: 24px; left: 25px; right: 25px; font-size: 18px; }
  .project-kind > span:last-child { width: 42px; height: 42px; }
}
@media (min-width: 981px) and (max-height: 800px) {
  .choice-controls { gap: 15px; }
  .level-option { min-height: 58px; padding: 8px 10px; }
  .level-copy small { font-size: 10px; margin-top: 3px; }
  .finish-swatch { height: 32px; }
  .compact-option { min-height: 113px; }
  .compact-option svg { height: 68px; }
  .layout-detail { min-height: 0; margin-top: 5px; font-size: 10px; }
  .plan-legend { margin-top: 7px; }
  .request-form, .form { padding: 22px 26px; }
  .request-selection { margin-bottom: 16px; padding-bottom: 14px; }
  .request-fields, .contact-fields { gap: 12px 16px; margin-top: 16px; }
  .request-form .form-extra, .form .form-extra { margin-top: 12px; }
  .request-submit, .form > .btn { margin-top: 14px; min-height: 52px; }
  .request-note, .form-foot { margin-top: 12px; }
  .contact-copy { min-height: 480px; }
  .projects-layout { gap: 24px; }
  .projects-intro h2 { font-size: 42px; }
  .projects-offer p { margin-bottom: 18px; font-size: 16px; }
  .project-card img { aspect-ratio: 1.8; }
  .project-caption { padding: 16px 18px; }
  .project-caption h3 { font-size: 25px; }
}
@media (max-width: 1100px) {
  .choice-content { grid-template-columns: 320px minmax(0, 1fr); }
  .materials-content, .request-layout, .studio-layout, .contact-grid { gap: 32px; }
  .materials-list > div { grid-template-columns: .9fr 1.1fr; gap: 14px; }
  .request-fields, .contact-fields { column-gap: 12px; }
  .projects-offer .btn { font-size: 14px; padding-inline: 16px; }
  .other-channels { gap: 8px 16px; }
}
@media (max-width: 980px) {
  .choice-content { grid-template-columns: 320px minmax(0, 1fr); }
  .choice-media { height: 100%; min-height: 580px; }
  .materials-content { grid-template-columns: .9fr 1.1fr; }
  .kit-plan-frame { height: min(calc(var(--viewport-small-unit) * 68), 650px); }
  .kit-plan-frame img { margin: 0; object-position: left center; }
  .kit-plan figcaption { margin-left: 0; text-align: left; }
  .request-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; max-width: none; }
  .request-copy h2 { max-width: 740px; }
  .request-copy > p:not(.section-label) { max-width: 620px; }
  .request-steps { margin-top: 28px; max-width: 680px; }
  .request-form { width: 100%; }
  .contact-copy { min-height: 0; gap: 28px; }
  .contact-copy h2 { max-width: 700px; font-size: 56px; }
  .projects-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .projects-bottom { align-items: start; flex-direction: column; gap: 14px; }
  .project-caption h3 { font-size: 24px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 18px; --section-pad: 44px; }
  .hero h1 { font-size: clamp(38px, 8.5vw, 62px); }
  .choice-content { grid-template-columns: minmax(0, 1fr); }
  .choice-panel { padding: 15px; }
  .choice-media { height: clamp(320px, calc(var(--viewport-small-unit) * 48), 460px); min-height: 0; }
  .choice-visual-price { font-size: 36px; }
  .choice-summary { gap: 20px; }
  .choice-room-info span { font-size: 10px; }
  .options-sheet-body .compact-option { min-height: 155px; }
  .options-sheet-body .compact-option svg { height: 108px; }
  .options-sheet-body .compact-option strong { font-size: 14px; }
  .options-sheet-body .compact-option small { font-size: 10px; }
  .options-sheet-body .plan-legend { margin-top: 14px; font-size: 11px; }
  .options-sheet-body .layout-detail { min-height: 0; font-size: 12px; }
  .materials-content { grid-template-columns: 1fr; gap: 30px; }
  .kit-plan { height: auto; }
  .kit-plan-frame { height: min(115vw, 650px); justify-content: center; }
  .kit-plan-frame img { object-position: center; }
  .kit-plan figcaption { text-align: center; }
  .materials-intro { margin-bottom: 24px; }
  .materials-intro h2 { font-size: 34px; }
  .materials-list dt { font-size: 14px; }
  .materials-list dd { font-size: 16px; }
  .materials-next { margin-top: 20px; }
  .kit-total strong { font-size: 28px; }
  .request-copy h2 { font-size: clamp(37px, 8vw, 54px); }
  .request-copy .section-label { max-width: 320px; }
  .request-copy > p:not(.section-label) { margin-top: 20px; font-size: 16px; }
  .request-steps { gap: 12px; margin-top: 30px; }
  .request-steps .step-icon { width: 48px; margin-bottom: 13px; }
  .request-steps li:not(:last-child)::after { right: 7%; top: 11px; font-size: 21px; }
  .request-steps strong { font-size: 13px; }
  .request-steps li > span:last-child { font-size: 11px; }
  .request-form, .form { padding: 24px 20px; }
  .request-fields, .contact-fields { gap: 15px 12px; }
  .request-fields label, .contact-fields label { font-size: 12px; }
  .request-selection strong { font-size: 25px; }
  .request-selection p { font-size: 12px; }
  .request-note { font-size: 11px; }
  .request-form .dimension-grid { gap: 8px; }
  .request-form .dimension-grid label { font-size: 11px; }
  .request-form .dimension-grid input { padding: 10px; }
  .request-fields input::placeholder, .contact-fields input::placeholder { font-size: 13px; }
  .studio-layout { grid-template-columns: 1fr; gap: 30px; }
  .studio-heading h2 { font-size: clamp(37px, 8vw, 56px); }
  .studio-visit { padding: 24px 20px; }
  .studio-invitation { font-size: 16px; }
  .city-switch button { min-height: 47px; padding: 9px 4px; font-size: 12px; }
  .city-details address { font-size: 26px; }
  .city-details { min-height: 130px; margin-top: 24px; }
  .studio-delivery { margin-top: 14px; gap: 12px; }
  .studio-delivery .line-icon { width: 26px; height: 26px; }
  .studio-delivery strong { font-size: 15px; }
  .studio-delivery p { font-size: 13px; }
  .studio-phone { font-size: 27px; }
  .projects-intro { display: block; }
  .projects-intro h2 { font-size: 40px; }
  .projects-offer p { margin: 22px 0; font-size: 16px; }
  .projects-offer .btn { width: 100%; font-size: 14px; }
  .project-strip { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; gap: 22px; padding: 0; overflow: visible; scroll-snap-type: none; }
  .project-card img { aspect-ratio: 1.45; }
  .project-caption { padding: 18px; }
  .project-caption > span { font-size: 12px; }
  .project-caption h3 { font-size: 27px; }
  .project-kind { font-size: 12px; }
  .project-dialog-head h2 { font-size: 20px; }
  .project-dialog-foot { gap: 15px; flex-wrap: wrap; }
  .project-dialog-cta { font-size: 13px; }
  .project-progress { width: 55px; }
  .projects-bottom > p { font-size: 13px; }
  .other-channels { gap: 8px 19px; }
  .other-channels a { font-size: 13px; }
  .contact-copy h2 { font-size: clamp(40px, 8.7vw, 58px); }
  .contact-invitation > p:not(.section-label) { font-size: 16px; }
  .contact-back { margin-top: 22px; font-size: 14px; }
  .contact-phone { font-size: 27px; }
  .contact-phone span { font-size: 13px; }
  .contact-options { gap: 6px; }
  .contact-method span { font-size: 13px; }
  .form > .btn { padding-inline: 17px; font-size: 16px; }
  .form-selection { font-size: 14px; }
  .info-dialog { width: calc(100vw - 24px); max-height: calc(calc(var(--viewport-dynamic-unit) * 100) - 28px); padding: 22px 18px; }
  .info-dialog-head { gap: 12px; }
  .info-dialog-head h2 { font-size: 25px; }
  .price-dialog-breakdown { padding: 17px; }
  .price-dialog-breakdown dt { font-size: 12px; }
  .price-dialog-breakdown dd { font-size: 16px; }
  .price-dialog-total dd { font-size: 23px; }
}
@media (max-width: 390px) {
  :root { --page-gutter: 14px; }
  .choice-visual-price { font-size: 33px; }
  .request-fields, .contact-fields { grid-template-columns: 1fr; }
  .request-steps { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-card img, .btn-accent { transition: none; }
}
/* Keep the amount and the drawn currency mark on one line in the mobile sheet. */
#mobile-options-price { white-space: nowrap; }
.options-sheet-footer .money-value { display: inline; color: inherit; font-size: inherit; }

/* At native 4K resolution, controls and copy grow with the showroom screen. */
@media (min-width: 2800px) and (min-height: 1700px) {
  .request-copy h2, .studio-heading h2, .projects-intro h2 { max-width: 1500px; font-size: clamp(110px, 3.7vw, 160px); }
  .contact-copy h2, .hero h1 { font-size: clamp(120px, 4vw, 172px); }
  .request-copy > p:not(.section-label), .projects-offer p, .studio-invitation, .contact-invitation > p:not(.section-label) { max-width: 1100px; font-size: 34px; }
  .request-copy .section-label, .projects .section-label, .studio-heading .section-label, .contact-invitation .section-label { max-width: 1000px; font-size: 24px; }
  .request-form, .form, .studio-visit { padding: 68px; }
  .request-selection { margin-bottom: 40px; padding-bottom: 30px; }
  .request-selection > span, .form .section-label { font-size: 23px; }
  .request-selection strong { font-size: 50px; }
  .request-selection p, .form-selection { font-size: 27px; }
  .request-dimensions legend, .contact-methods legend { font-size: 29px; margin-bottom: 24px; }
  .request-fields, .contact-fields { gap: 28px; margin-top: 32px; }
  .request-fields .field-label, .contact-fields .field-label, .request-form .dimension-grid label { font-size: 24px; }
  .request-fields .field-label input, .contact-fields .field-label input, .request-form .dimension-grid input { height: 100px; margin-top: 12px; padding: 20px 24px; font-size: 32px; }
  .request-submit, .form > .btn, .projects-offer .btn { min-height: 102px; margin-top: 32px; padding-inline: 32px; font-size: 30px; }
  .contact-method { min-height: 84px; }
  .contact-method span { font-size: 27px; }
  .form-extra { margin-top: 32px; }
  .form-extra summary { min-height: 44px; font-size: 25px; }
  .form-extra .field-label, .form-extra textarea { font-size: 23px; }
  .request-note, .form-foot { margin-top: 26px; font-size: 21px; }
  .request-steps { margin-top: 80px; gap: 30px; }
  .request-steps .step-icon { width: 104px; margin-bottom: 28px; }
  .request-steps strong { font-size: 31px; }
  .request-steps li > span:last-child { max-width: 290px; font-size: 24px; }
  .request-steps li:not(:last-child)::after { top: 26px; font-size: 36px; }
  .materials-intro h2 { font-size: 95px; }
  .materials-intro .section-label { font-size: 24px; }
  .materials-list > div { padding-block: 35px; }
  .materials-list dt { font-size: 30px; }
  .materials-list dd { font-size: 34px; }
  .kit-total > span { font-size: 27px; }
  .kit-total strong { font-size: 60px; }
  .materials-next > p { font-size: 28px; margin-block: 20px; }
  .kit-cta { min-height: 100px; font-size: 32px; }
  .kit-plan figcaption { font-size: 24px; }
  .about .city-switch { margin-top: 40px; padding: 8px; }
  .city-switch button { min-height: 80px; font-size: 28px; }
  .city-details { margin-top: 44px; gap: 20px; min-height: 235px; }
  .city-details strong, .city-details .text-link { font-size: 26px; }
  .city-details address { max-width: 1100px; font-size: 58px; }
  .studio-delivery { gap: 22px; margin-top: 30px; }
  .studio-delivery strong { font-size: 30px; }
  .studio-delivery p { max-width: 1000px; font-size: 26px; }
  .studio-delivery a { font-size: 23px; }
  .studio-phone { font-size: 56px; margin-top: 40px; }
  .studio-phone span { font-size: 23px; }
  .contact-phone { font-size: 68px; }
  .contact-phone span, .contact-back { font-size: 29px; }
  .project-caption h3 { font-size: 52px; }
  .project-caption > span, .projects-bottom > p, .other-channels a { font-size: 25px; }
  .social-icon { width: 30px; height: 30px; }
}

/* All showrooms remain visible within each city's list, with direct map links. */
.studio-visit { padding: clamp(22px, 2.3vw, 48px); }
.studio-invitation { font-size: clamp(17px, 1.1vw, 26px); line-height: 1.35; }
.about .city-switch { margin-top: 18px; }
.city-branches { margin-top: 20px; }
.showroom-branch { padding: 15px 0; }
.showroom-branch:first-child { padding-top: 0; }
.showroom-branch:last-child { padding-bottom: 0; }
.showroom-branch + .showroom-branch { border-top: 1px solid #f5dfbf22; }
.branch-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; }
.branch-heading h3 { margin: 0; color: #f5d8ad; font-size: clamp(15px, 1vw, 23px); font-weight: 400; line-height: 1.3; }
.branch-map { display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 28px; color: #f2d7ad; font-size: clamp(10px, .72vw, 16px); line-height: 1.2; white-space: nowrap; }
.branch-map svg { width: 15px; height: 15px; }
.branch-map b { margin-left: 2px; font-size: 14px; font-weight: 400; }
.branch-map:hover { color: #fff6e8; text-decoration: underline; text-underline-offset: 4px; }
.showroom-branch address { margin-top: 5px; color: #fff8ef; font-size: clamp(15px, 1.05vw, 25px); font-style: normal; line-height: 1.4; }
.branch-detail { margin: 3px 0 0; color: #e5cfb1; font-size: clamp(11px, .78vw, 18px); line-height: 1.4; }
.branch-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.branch-meta a { color: #fff0d9; font-size: clamp(12px, .85vw, 20px); line-height: 1.3; white-space: nowrap; }
.branch-meta > span { color: #ddc5a4; font-size: clamp(10px, .7vw, 15px); line-height: 1.3; }
.studio-delivery { margin-top: 22px; }
.studio-phone { margin-top: 20px; }
.region-invitation { padding-block: 18px 22px; }
.region-invitation h3 { max-width: 650px; margin: 0; color: #fff4e2; font-size: clamp(25px, 2vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.region-invitation p { max-width: 620px; margin: 14px 0 0; color: #e2cdb1; font-size: clamp(15px, 1vw, 23px); line-height: 1.5; }
.materials-next .kit-parameters { max-width: 100%; margin: 12px 0 18px; color: #81694b; font-size: clamp(12px, .85vw, 20px); line-height: 1.5; }
@media (min-width: 981px) and (max-height: 800px) {
  .studio-visit { padding: 22px 26px; }
  .studio-invitation { font-size: 16px; }
  .about .city-switch { margin-top: 14px; }
  .city-branches { margin-top: 16px; }
  .showroom-branch { padding-block: 12px; }
  .branch-heading h3, .showroom-branch address { font-size: 14px; }
  .branch-detail { font-size: 10px; }
  .branch-meta { margin-top: 5px; }
  .branch-meta a { font-size: 12px; }
  .branch-meta > span { font-size: 10px; }
  .studio-delivery { margin-top: 16px; }
  .studio-delivery p { font-size: 12px; }
  .studio-phone { margin-top: 16px; font-size: 24px; }
}
@media (max-width: 1100px) {
  .branch-meta { gap: 5px 12px; }
  .branch-map { font-size: 10px; }
  .branch-map svg { width: 13px; height: 13px; }
}
@media (max-width: 760px) {
  .studio-visit { padding: 24px 20px; }
  .branch-heading h3 { font-size: 15px; }
  .showroom-branch address { font-size: 15px; }
  .branch-detail { font-size: 11px; }
  .branch-meta a { font-size: 13px; }
  .branch-meta > span { font-size: 11px; }
  .branch-map { font-size: 10px; }
  .region-invitation h3 { font-size: 28px; }
  .region-invitation p { font-size: 15px; }
  .materials-next .kit-parameters { font-size: 12px; }
}
@media (min-width: 2800px) and (min-height: 1700px) {
  .studio-visit { padding: 64px; }
  .studio-invitation { font-size: 32px; }
  .about .city-switch { margin-top: 32px; }
  .city-branches { margin-top: 36px; }
  .showroom-branch { padding-block: 30px; }
  .branch-heading h3 { font-size: 30px; }
  .branch-map { font-size: 23px; gap: 9px; }
  .branch-map svg { width: 25px; height: 25px; }
  .branch-map b { font-size: 24px; }
  .showroom-branch address { margin-top: 10px; font-size: 31px; }
  .branch-detail { margin-top: 7px; font-size: 24px; }
  .branch-meta { margin-top: 12px; gap: 10px 26px; }
  .branch-meta a { font-size: 27px; }
  .branch-meta > span { font-size: 22px; }
  .studio-delivery { margin-top: 38px; }
  .studio-phone { margin-top: 36px; }
  .materials-next .kit-parameters { margin-block: 24px; font-size: 27px; }
}
/* The tabs keep their position as city lists change on a wide screen. */
.city-branches { display: grid; }
.branches-city { grid-area: 1 / 1; visibility: hidden; }
.branches-city.is-active { visibility: visible; }
.branches-city[data-city-panel="moscow"] .showroom-branch address { max-width: 600px; margin-top: 14px; font-size: clamp(23px, 1.8vw, 40px); line-height: 1.3; }
.branches-city[data-city-panel="moscow"] .branch-detail { margin-top: 10px; }
.branches-city[data-city-panel="moscow"] .branch-meta { margin-top: 12px; }
@media (max-width: 760px) {
  .city-branches { display: block; }
  .branches-city { display: none; }
  .branches-city.is-active { display: block; }
  .branches-city[data-city-panel="moscow"] .showroom-branch address { font-size: 25px; }
}

.studio-delivery p { min-height: 3em; }


/* ===== experience ===== */
/* A small, consistent type scale for constructor labels and its estimate. */
:root { --choice-label-size: clamp(14px, 1vw, 24px); --render-overlay: rgb(65 54 43 / .75); }
/* Open settings and a shared pair of columns for the room and its estimate. */
.choice-content { --settings-column: clamp(320px, 27.4vw, 600px); --constructor-gap: clamp(26px, 3vw, 90px); grid-template-columns: var(--settings-column) minmax(0, 1fr); column-gap: var(--constructor-gap); row-gap: clamp(24px, calc(var(--viewport-small-unit) * 3), 44px); }
.choice .choice-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.choice-controls { margin: 0; align-content: center; gap: clamp(18px, calc(var(--viewport-small-unit) * 2.3), 32px); }
.choice .choice-summary { border-top: 0; grid-template-columns: var(--settings-column) minmax(0, 1fr); column-gap: var(--constructor-gap); min-height: clamp(200px, calc(var(--viewport-small-unit) * 24), 360px); padding-top: clamp(16px, calc(var(--viewport-small-unit) * 2), 32px); align-items: center; }
.choice .estimate-breakdown { width: 100%; gap: 16px; font-size: var(--choice-label-size); }
.choice .estimate-breakdown > div { gap: 12px; }
.choice .estimate-breakdown dd { font-size: clamp(17px, 1.35vw, 30px); }
.choice .installation-choice { font-size: var(--choice-label-size); }
.choice-price-area { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.choice-total { flex: 0 1 auto; min-width: 0; text-align: right; }
.choice .choice-visual-price { font-size: clamp(44px, 4vw, 104px); }
.choice .price-heading { font-size: var(--choice-label-size); }
.choice .estimate-example { margin-top: 9px; font-size: var(--choice-label-size); }

/* Small timber samples use the actual room materials instead of colour blocks. */
.choice .level-grid, .options-sheet-body .level-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.choice .level-option, .options-sheet-body .level-option { display: grid; grid-template-columns: 76px minmax(0, 1fr) 22px; align-items: center; justify-items: stretch; min-height: 82px; gap: 14px; padding: 6px 0; border: 0; border-bottom: 1px solid #cbb99b55; border-radius: 0; color: #59412a; background: transparent; box-shadow: none; text-align: left; }
.choice .level-option:last-child, .options-sheet-body .level-option:last-child { border-bottom-color: transparent; }
.choice .level-option.active, .options-sheet-body .level-option.active { color: #3d2b18; background: transparent; box-shadow: none; }
.choice .level-copy strong, .options-sheet-body .level-copy strong { font-size: clamp(16px, 1.15vw, 28px); font-weight: 400; line-height: 1.25; }
.choice .level-copy small, .options-sheet-body .level-copy small { display: block; margin-top: 5px; color: #8a7154; font-size: clamp(11px, .8vw, 19px); line-height: 1.35; }
.level-option.active .level-copy strong { font-weight: 500; }
.choice .finish-selected, .options-sheet-body .finish-selected { display: grid; width: 21px; height: 21px; border-color: #b99c762f; }
.choice .level-option:not(.active) .finish-selected, .options-sheet-body .level-option:not(.active) .finish-selected { visibility: hidden; }
.wood-sample { position: relative; display: block; width: 72px; height: 70px; }
.sample-board { position: absolute; top: 5px; width: 21px; height: 62px; border: 1px solid #b0875526; border-right: 2px solid #936b3b33; border-bottom: 2px solid #936b3b44; border-radius: 1px 1px 2px 2px; background-image: url('assets/layout-01/light-corner.webp'); background-size: 360px 480px; background-position: 88% 42%; box-shadow: 1px 3px 5px #50341518, inset 1px 0 0 #fff8e555; transition: transform .2s ease, box-shadow .2s ease; }
.sample-back { left: 7px; transform: rotate(-9deg); }
.sample-mid { left: 24px; top: 3px; transform: rotate(-1deg); }
.sample-front { left: 41px; top: 8px; transform: rotate(7deg); }
.level-option[data-level="1"] .sample-back, .level-option[data-level="1"] .sample-mid { background-image: url('assets/layout-01/mixed-corner.webp'); }
.level-option[data-level="1"] .sample-front, .level-option[data-level="2"] .sample-board { background-image: url('assets/layout-01/dark-corner.webp'); border-right-color: #3a241c50; border-bottom-color: #3a241c60; }
.level-option:hover .sample-front, .level-option.active .sample-front { transform: translateY(-3px) rotate(4deg); box-shadow: 2px 7px 10px #50341526, inset 1px 0 0 #fff8e533; }
.level-option:focus-visible, .stove-options button:focus-visible { outline: 2px solid #a88049; outline-offset: 4px; }
.stove-icon { flex: none; width: 48px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round; }
.choice .stove-options, .options-sheet-body .stove-options { gap: 10px; }
.choice .stove-options button, .options-sheet-body .stove-options button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 76px; padding: 8px 7px; border-color: #c6ad8a88; background: transparent; font-size: clamp(12px, .95vw, 22px); }
.choice .stove-options button.active, .options-sheet-body .stove-options button.active { border-color: #a67c43; background: #ecddc655; box-shadow: none; }

/* The kit explains the contents. Its price is available without a second total. */
.kit-ready { display: flex; align-items: center; }
.cost-details-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #b4936266; border-radius: 4px; color: #67451f; background: #e9d8b94d; font: inherit; font-size: clamp(16px, 1.05vw, 24px); font-weight: 500; line-height: 1.3; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.cost-details-link .line-icon { width: 22px; height: 22px; }
.cost-details-link:hover { border-color: #a88049; background: #e9d8b999; }
.cost-details-link:focus-visible, .selection-card-head a:focus-visible { outline: 2px solid #a88049; outline-offset: 4px; }

/* A legible record of the completed choice, in the same warm palette as the form. */
.selection-card { flex: none; min-width: 0; margin: 0 0 26px; padding: clamp(17px, 1.35vw, 30px) clamp(18px, 1.6vw, 36px); border-left: 3px solid #b38b50; border-radius: 0 4px 4px 0; color: #49311c; background: #efdfc4; }
.selection-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: clamp(14px, .95vw, 21px); line-height: 1.3; }
.selection-card-head > span { font-weight: 500; }
.selection-choice-label { display: inline-flex; align-items: center; gap: 8px; }
.selection-star { flex: none; width: 1.15em; height: 1.15em; color: #aa7a37; fill: currentColor; stroke: currentColor; stroke-width: .75; stroke-linejoin: round; }
.selection-star[hidden] { display: none; }
.selection-card-head a { flex: none; padding-block: 2px; color: #805e32; font-size: clamp(13px, .85vw, 19px); text-decoration: underline; text-decoration-color: #a17d4966; text-underline-offset: 4px; }
.selection-card h3 { margin: 10px 0 18px; color: #432b16; font-family: inherit; font-size: clamp(26px, 2vw, 46px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.selection-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; margin: 0; }
.selection-facts > div { min-width: 0; }
.selection-facts dt { margin: 0 0 4px; color: #82613c; font-size: clamp(12px, .85vw, 19px); line-height: 1.25; }
.selection-facts dd { margin: 0; color: #49311c; font-size: clamp(16px, 1.1vw, 25px); font-weight: 500; line-height: 1.35; overflow-wrap: break-word; }

/* Only the branch list scrolls; city controls and delivery stay in place. */
.studio-visit { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.studio-invitation, .city-switch { flex: none; }
.city-branches { display: block; flex: 1 1 auto; min-height: 0; margin-right: -8px; padding-right: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b69a7280 transparent; scrollbar-gutter: stable; }
.branches-city { display: none; visibility: visible; }
.branches-city.is-active { display: block; }
.city-branches:focus-visible { outline: 1px solid #eac99599; outline-offset: 4px; }
.branch-map, .branch-map:hover { min-height: 32px; color: #f0d2a9; text-decoration: none; }
.branch-map:hover { color: #fff8eb; }
.branch-map svg { width: 15px; height: 15px; }
.studio-delivery { display: block; flex: none; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f5dfbf26; }
.studio-delivery summary { display: flex; align-items: center; gap: 10px; min-height: 36px; color: #f0d5ae; font-size: clamp(14px, 1vw, 23px); line-height: 1.3; list-style: none; cursor: pointer; }
.studio-delivery summary::-webkit-details-marker { display: none; }
.studio-delivery summary > .line-icon { width: 24px; height: 24px; margin: 0; }
.studio-delivery summary > .delivery-chevron { width: 16px; height: 16px; margin-left: auto; }
.studio-delivery[open] .delivery-chevron { transform: rotate(180deg); }
.delivery-content { padding: 3px 0 0 34px; }
.studio-delivery p { min-height: 0; margin: 3px 0 7px; font-size: clamp(12px, .9vw, 20px); }
.studio-delivery a { display: inline-block; padding: 3px 0; font-size: clamp(12px, .85vw, 19px); text-decoration: none; }
.studio-delivery a:hover { color: #fff8eb; text-decoration: none; }
.studio-visit .studio-phone { display: flex; flex: none; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: clamp(23px, 1.65vw, 38px); }
.studio-visit .studio-phone span { margin: 0; font-size: clamp(11px, .8vw, 18px); }
@media (min-width: 981px) {
  .choice .choice-controls { margin-block: auto; }
  .about { height: calc(var(--viewport-small-unit) * 100); }
  .studio-layout { height: 100%; min-height: 0; }
  .studio-visit { height: min(100%, clamp(580px, calc(var(--viewport-small-unit) * 82), 1600px)); }
}
@media (max-width: 1100px) {
  .choice-content { --settings-column: 320px; }
  .choice .choice-visual-price { font-size: 38px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .choice-price-area { align-self: center; }
  .studio-visit { height: min(750px, calc(var(--viewport-small-unit) * 85)); }
}
@media (min-width: 981px) and (max-height: 900px) {
  .choice .level-option { min-height: 66px; grid-template-columns: 65px minmax(0, 1fr) 22px; gap: 10px; padding-block: 2px; }
  .choice .level-copy strong { font-size: 16px; }
  .choice .level-copy small { font-size: 11px; }
  .choice .wood-sample { width: 62px; height: 58px; }
  .choice .sample-board { width: 17px; height: 48px; }
  .choice .sample-back { left: 5px; }
  .choice .sample-mid { left: 20px; }
  .choice .sample-front { left: 35px; top: 7px; }
  .choice .stove-options button { min-height: 60px; }
  .choice .stove-icon { width: 40px; height: 44px; }
  .choice-controls { gap: 16px; }
  .choice .choice-summary { min-height: 200px; padding-top: 16px; }
}
@media (min-width: 981px) and (max-height: 800px) {
  .choice .choice-controls { gap: 10px; }
  .choice .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .choice .level-option { position: relative; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; min-height: 94px; padding: 2px 0 7px; gap: 7px; text-align: center; }
  .choice .level-copy strong { font-size: 13px; }
  .choice .level-copy small { display: none; }
  .choice .wood-sample { width: 50px; height: 43px; }
  .choice .sample-board { width: 14px; height: 35px; top: 2px; }
  .choice .sample-back { left: 4px; }
  .choice .sample-mid { left: 15px; }
  .choice .sample-front { left: 27px; top: 5px; }
  .choice .finish-selected { position: absolute; top: 0; right: 0; width: 16px; height: 16px; }
  .choice .finish-selected svg { width: 10px; height: 10px; }
  .choice .compact-option { min-height: 102px; }
  .choice .compact-option svg { height: 60px; }
}
@media (max-width: 760px) {
  html[data-mobile-controls] .mobile-choice-tools { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mobile-choice-tools button { display: grid; grid-template-columns: 93px minmax(0, 1fr) 18px; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid #cbb99b66; border-radius: 0; background: transparent; }
  .mobile-choice-tools button:last-child { border-bottom: 0; }
  .mobile-choice-tools button > span { margin: 0; color: #81684b; font-size: 14px; line-height: 1.3; }
  .mobile-choice-tools button > strong { color: #49311c; font-size: 16px; font-weight: 500; line-height: 1.3; text-align: right; }
  .mobile-choice-tools button > svg { width: 18px; height: 18px; fill: none; stroke: #997348; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-choice-tools button:focus-visible { outline: 2px solid #a88049; outline-offset: 3px; }
  .selection-card { margin-bottom: 24px; padding: 17px 16px; }
  .selection-card h3 { margin-block: 10px 18px; font-size: 27px; }
  .selection-facts { gap: 15px 14px; }
  .selection-facts dd { font-size: 16px; }
  .selection-card-head a { font-size: 13px; }

  .choice-content { grid-template-columns: minmax(0, 1fr); }
  .choice .choice-summary { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 18px; gap: 22px; }
  .choice-price-area { display: grid; gap: 20px; }
  .choice .choice-visual-price { font-size: 40px; }
  .studio-visit { height: auto; max-height: none; }
  .city-branches { flex: none; max-height: calc(var(--viewport-small-unit) * 52); }
  .studio-delivery { margin-top: 18px; }
  .studio-visit .studio-phone { font-size: 22px; }
  .studio-visit .studio-phone span { font-size: 10px; }
 .kit-ready { gap: 8px 15px; }
}
@media (min-width: 2000px) {
  .choice .level-option { grid-template-columns: 92px minmax(0, 1fr) 26px; min-height: 108px; gap: 20px; }
  .wood-sample { width: 86px; height: 90px; }
  .sample-board { width: 25px; height: 78px; background-size: 480px 640px; }
  .sample-back { left: 5px; }
  .sample-mid { left: 28px; }
  .sample-front { left: 51px; }
  .choice .finish-selected { width: 26px; height: 26px; }
  .choice .stove-options button { min-height: 86px; gap: 16px; }
  .stove-icon { width: 58px; height: 66px; }
}
@media (min-width: 2800px) and (min-height: 1700px) {
  .choice .level-option { grid-template-columns: 120px minmax(0, 1fr) 32px; min-height: 142px; }
  .choice .level-copy strong { font-size: 34px; }
  .choice .level-copy small { font-size: 25px; }
  .wood-sample { width: 112px; height: 116px; }
  .sample-board { width: 32px; height: 101px; background-size: 620px 827px; }
  .sample-back { left: 8px; }
  .sample-mid { left: 39px; }
  .sample-front { left: 70px; }
  .choice .stove-options button { min-height: 112px; font-size: 27px; }
  .stove-icon { width: 72px; height: 82px; }
  .choice .estimate-breakdown, .choice .installation-choice { font-size: 27px; }
  .choice .estimate-breakdown dd { font-size: 34px; }
  .choice .price-heading { font-size: 29px; }
  .choice .estimate-example { font-size: 25px; }
  .studio-delivery summary { min-height: 64px; font-size: 30px; }
  .studio-delivery summary > .line-icon { width: 36px; height: 36px; }
  .studio-delivery p { font-size: 26px; }
  .studio-delivery a { font-size: 24px; }
  .studio-visit .studio-phone { margin-top: 26px; font-size: 44px; }
  .studio-visit .studio-phone span { font-size: 23px; }
  .delivery-content { padding-left: 46px; }
  .selection-card { margin-bottom: 38px; padding: 30px 36px; border-left-width: 5px; }
  .selection-card-head { font-size: 26px; }
  .selection-card-head a { font-size: 23px; }
  .selection-card h3 { margin-block: 18px 26px; font-size: 50px; }
  .selection-facts { gap: 24px 32px; }
  .selection-facts dt { font-size: 23px; }
  .selection-facts dd { font-size: 30px; }
  .cost-details-link { padding: 18px 24px; font-size: 28px; }
  .cost-details-link .line-icon { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sample-board { transition: none; } }

/* Keep the company’s own spelling, including in small display labels. */
.company-name, .footer-statement > .company-name { text-transform: none; }

@media (max-width: 360px) {
  .selection-facts { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}

/* Give the estimate its own clear part of the screen; keep the drawing key legible. */
.plan-legend, .options-sheet-body .plan-legend { gap: 10px 16px; margin-top: 12px; color: #604b33; font-size: clamp(13px, 1vw, 23px); line-height: 1.35; }
.plan-legend span { gap: 7px; }
.plan-legend i { width: 16px; height: 11px; }
.legend-firebox b { font-size: 22px; line-height: 1; }
.layout-detail, .options-sheet-body .layout-detail { min-height: 0; margin-top: 9px; color: #6b543b; font-size: clamp(13px, 1vw, 22px); line-height: 1.4; }
@media (min-width: 981px) and (min-height: 901px) and (max-width: 1999px) {
  .choice .choice-controls { gap: 16px; }
  .choice .level-option { min-height: 70px; grid-template-columns: 66px minmax(0, 1fr) 22px; gap: 12px; padding-block: 4px; }
  .choice .wood-sample { width: 62px; height: 60px; }
  .choice .sample-board { width: 18px; height: 52px; }
  .choice .sample-back { left: 5px; }
  .choice .sample-mid { left: 20px; }
  .choice .sample-front { left: 35px; top: 7px; }
  .choice .stove-options button { min-height: 66px; padding-block: 4px; }
}
@media (max-width: 760px) {
  .choice { padding-block: 20px; }
  .choice-content { row-gap: 12px; }
  .choice-media { width: 100%; height: auto; min-height: 0; max-height: calc(var(--viewport-small-unit) * 30); aspect-ratio: 16 / 9; }
  .mobile-choice-tools button { min-height: 48px; padding-block: 10px; }
  .choice .choice-summary { min-height: 0; gap: 14px; padding-top: 12px; }
  .choice .estimate-breakdown { gap: 10px; }
  .choice-price-area { display: block; }
  .choice #choice-cta[href="#kit"] { display: none; }
  .choice .choice-visual-price { font-size: clamp(36px, 10vw, 44px); line-height: 1.08; }
  .choice .estimate-example { margin-top: 7px; }
  .options-sheet-body .plan-legend { font-size: 14px; }
  .options-sheet-body .layout-detail { font-size: 14px; }
}
/* Separate choosing from adding up, with space rather than another rule. */
.choice .config-group legend, .choice .plan-legend, .choice .layout-detail,
.options-sheet-body .config-group legend, .options-sheet-body .plan-legend, .options-sheet-body .layout-detail { font-size: var(--choice-label-size); }
.choice .config-group legend { letter-spacing: .04em; }
.choice .choice-panel { overflow: visible; }
.choice .price-heading-row { justify-content: flex-end; }
.choice .choice-room-info, .choice .view-switch { border-color: #ffffff29; background: var(--render-overlay); box-shadow: none; backdrop-filter: blur(6px); }
.choice .view-switch button { color: #fff8eb; }
.choice .view-switch button[aria-pressed="true"] { color: #3e2b19; }
#choose, #kit { border-block: 0; box-shadow: none; }
#choose::after, #kit::before { content: none; }
@media (min-width: 981px) and (max-height: 700px) {
  .choice { --constructor-padding: 9px; padding-block: var(--constructor-padding); }
  .choice-content { row-gap: 20px; }
  .choice .choice-summary { min-height: 164px; padding-top: 12px; }
  .choice .choice-visual-price { font-size: 44px; }
  .choice .choice-controls { gap: 6px; }
  .choice .config-group legend { margin-bottom: 9px; }
  .choice .level-option { min-height: 80px; gap: 5px; padding-block: 1px 4px; }
  .choice .wood-sample { width: 44px; height: 32px; }
  .choice .sample-board { width: 13px; height: 27px; top: 1px; }
  .choice .sample-back { left: 3px; }
  .choice .sample-mid { left: 14px; }
  .choice .sample-front { left: 25px; top: 4px; }
  .choice .stove-options button { min-height: 52px; padding-block: 4px; }
  .choice .stove-icon { width: 35px; height: 40px; }
  .choice .compact-option { min-height: 92px; padding-block: 4px 6px; }
  .choice .compact-option svg { height: 50px; }
  .choice .plan-legend { margin-top: 8px; }
  .choice .layout-detail { margin-top: 7px; }
}
@media (max-width: 760px) {
  .header-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .mobile-choice-tools button > span { font-size: var(--choice-label-size); }
  .choice .choice-summary { margin-top: 0; padding-top: 12px; }
  .choice .estimate-breakdown, .choice .installation-choice,
  .choice .price-heading, .choice .estimate-example { font-size: var(--choice-label-size); }
  .choice .choice-stage { overflow: visible; border: 0; background: transparent; }
  .choice .choice-media { border: 1px solid #dfd2be; border-radius: 7px; }
  .choice .choice-view-tools { position: static; inset: auto; margin-top: 6px; pointer-events: auto; }
  .choice .view-switch { display: grid; grid-template-columns: 1.35fr .8fr 1fr .85fr; width: 100%; gap: 2px; padding: 3px; border: 0; background: #e8ddcc; backdrop-filter: none; }
  .choice .view-switch button { min-height: 40px; padding: 6px 5px; color: #806647; font-size: 12px; }
  .choice .view-switch button:hover:not(:disabled) { color: #4c351e; background: #ddc8a755; }
  .choice .view-switch button[aria-pressed="true"], .choice .view-switch button[aria-pressed="true"]:hover { color: #3e2b19; background: #f7ecd9; }
  .choice .choice-room-info { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 8px; border-radius: 4px; }
  .choice .choice-room-info strong { font-size: 13px; line-height: 1.2; }
  .choice .choice-room-info span { display: none; }
}
@media (min-width: 2800px) and (min-height: 1700px) {
  :root { --choice-label-size: 28px; }
  .plan-legend i { width: 26px; height: 18px; }
  .legend-firebox b { font-size: 34px; }
}

/* A complete footer, including direct links to the company's original documents. */
.site-footer { padding: 0 0 26px; color: #f6eedd; background: var(--dark); }
.site-footer .footer-top { gap: 25px; padding-block: 32px; border-color: #e9d4b32b; }
.site-footer .footer-brand { color: #f5d5a6; font-size: clamp(26px, 2vw, 46px); line-height: 1.2; }
.site-footer .footer-brand > span { display: flex; align-items: center; gap: 9px; margin-top: 5px; color: #d2c0a8; font-size: clamp(13px, .9vw, 22px); }
.site-footer .footer-brand .line-icon { width: 17px; height: 17px; }
.site-footer .footer-top > img { width: 140px; height: 68px; }
.site-footer .footer-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(25px, 3vw, 90px); padding-block: clamp(32px, calc(var(--viewport-small-unit) * 4), 65px); border-color: #e9d4b32b; }
.site-footer .footer-statement > .company-name { margin-bottom: 12px; color: #c8a77e; font-size: clamp(14px, 1vw, 24px); letter-spacing: 0; }
.site-footer .footer-statement h2 { font-size: clamp(29px, 2.5vw, 58px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.site-footer .footer-statement > .footer-description { max-width: 30em; margin: 20px 0 0; color: #cbbba6; font-size: clamp(14px, .95vw, 23px); line-height: 1.5; letter-spacing: 0; text-transform: none; }
.site-footer h3 { margin: 0 0 12px; color: #f3d8b3; font-family: inherit; font-size: clamp(16px, 1.1vw, 26px); font-weight: 500; line-height: 1.3; }
.site-footer .footer-nav { display: flex; flex-direction: column; gap: 2px; }
.site-footer .footer-nav a { display: block; padding-block: 8px; color: #e5d7c5; font-size: clamp(14px, 1vw, 24px); line-height: 1.4; }
.site-footer .footer-nav a:hover, .site-footer .footer-legal a:hover { color: #fff6e8; }
.site-footer .footer-contact { gap: 18px; }
.site-footer .footer-contact > h3 { margin-bottom: 0; }
.site-footer .footer-location { display: grid; gap: 5px; }
.site-footer .footer-location > span { color: #bdab94; font-size: clamp(12px, .85vw, 21px); line-height: 1.4; }
.site-footer .footer-phone { color: #fff0da; font-size: clamp(20px, 1.45vw, 33px); line-height: 1.25; white-space: nowrap; }
.site-footer .footer-location address { font-size: clamp(14px, .95vw, 23px); }
.site-footer .footer-map { padding-block: 5px; color: #d4b080; font-size: clamp(13px, .9vw, 22px); }
.footer-showrooms { display: inline-flex; align-items: center; gap: 10px; color: #f1d2a6; font-size: clamp(14px, 1vw, 23px); }
.footer-showrooms .line-icon { width: 18px; height: 18px; }
.footer-legal { display: flex; align-items: start; justify-content: space-between; gap: 18px 30px; padding-top: 25px; }
.footer-legal > p { flex: none; margin: 0; color: #c5b59f; font-size: clamp(13px, .9vw, 21px); line-height: 1.5; }
.footer-legal > nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 30px; }
.footer-legal a { color: #e2caab; font-size: clamp(13px, .9vw, 22px); line-height: 1.5; }
.footer-legal a > span { display: inline-block; margin-left: 4px; color: #ad987a; font-size: .8em; }
.footer-price-note { max-width: 80em; margin: 20px 0 0; color: #ad9a81; font-size: clamp(12px, .85vw, 21px); line-height: 1.5; }
@media (max-width: 1100px) {
  .site-footer .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .site-footer .footer-statement { max-width: 480px; }
  .site-footer .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-legal { flex-direction: column; gap: 14px; }
  .footer-legal > nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .site-footer .footer-top { gap: 20px; padding-block: 26px; }
  .site-footer .footer-brand { font-size: 27px; }
  .site-footer .footer-brand > span { max-width: 13em; font-size: 12px; }
  .site-footer .footer-top > img { width: 108px; height: 56px; }
  .site-footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-block: 30px; }
  .site-footer .footer-statement, .site-footer .footer-contact { grid-column: 1 / -1; grid-row: auto; }
  .site-footer .footer-statement h2 { font-size: 33px; }
  .site-footer .footer-statement > .footer-description { max-width: 30em; font-size: 15px; }
  .site-footer h3 { margin-bottom: 10px; font-size: 16px; }
  .site-footer .footer-nav a { min-height: 42px; padding-block: 9px; font-size: 14px; }
  .site-footer .footer-contact { gap: 20px; padding-top: 5px; }
  .site-footer .footer-phone { font-size: 24px; }
  .site-footer .footer-location > span { font-size: 13px; }
  .site-footer .footer-location address { font-size: 14px; }
  .footer-legal { padding-top: 22px; }
  .footer-legal > p { font-size: 13px; }
  .footer-legal > nav { flex-direction: column; gap: 16px; }
  .footer-legal a { font-size: 14px; }
  .footer-price-note { margin-top: 22px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-project-photo > img { transition: none; }
}

.choice .estimate-breakdown, .choice .installation-choice, .choice .price-heading, .choice .estimate-example { font-size: var(--choice-label-size); }

/* The complete estimate sits beneath the selected room, close to the image. */
.choice-content { grid-template-areas: "settings preview" ". estimate"; }
.choice .choice-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(36px, 4vw, 96px); align-items: start; }
.choice .choice-price-detail, .choice .choice-price-area { align-self: start; }
.choice .choice-price-area { display: flex; }
.choice .layout-detail { min-height: 2.8em; }
.choice .plan-legend { min-height: max(1.6em, 22px); }
@media (min-width: 981px) and (max-height: 700px) { .choice .config-group legend { margin-bottom: 7px; } }
@media (max-width: 760px) {
  .choice-content { grid-template-areas: "preview" "settings" "estimate"; }
  .choice .choice-summary { grid-template-columns: minmax(0, 1fr); }
  .choice .choice-price-area { display: block; }
}
/* Match the photograph's final gradient colour and put the wordmark with the company. */
.site-footer .footer-top { padding-block: 24px; border-bottom: 0; }
.site-footer .footer-brand { flex-direction: row; align-items: center; gap: 13px; }
.site-footer .footer-brand > .line-icon { width: 24px; height: 24px; transform: rotate(180deg); }
.site-footer .footer-brand > .footer-brand-copy { display: grid; gap: 5px; margin: 0; font: inherit; }
.site-footer .footer-brand-copy strong { font: inherit; }
.site-footer .footer-brand-copy small { color: #d2c0a8; font-size: clamp(13px, .9vw, 22px); }
.site-footer .footer-wordmark { display: block; width: 140px; height: 68px; margin-bottom: 20px; object-fit: contain; object-position: left center; }
.site-footer .footer-main { padding-top: 20px; }
@media (min-width: 1281px) and (max-width: 1480px) {
  .topbar-in { gap: 18px; }
  .logo img { width: 122px; }
  .nav { gap: 16px; font-size: 14px; }
  .header-cta { padding-inline: 14px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .choice .choice-summary { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
}

/* The measured plan shares the section background; its SVG has no canvas fill. */
.materials .kit-plan-frame { background: transparent; border: 0; box-shadow: none; }
.materials .kit-plan-frame img { background: transparent; object-fit: contain; object-position: center; }

@media (max-width: 760px) and (max-height: 600px) {
  .choice { padding-block: 14px; }
  .choice-media { max-height: calc(var(--viewport-small-unit) * 24); }
  .choice-content { row-gap: 8px; }
  .mobile-choice-tools button { min-height: 44px; padding-block: 8px; }
  .choice .choice-summary { gap: 8px; padding-top: 8px; }
  .choice .estimate-example { display: none; }
}

/* One estimate, with the same left-to-right reading order as the mobile choices. */
@media (max-width: 760px) {
  .choice .choice-summary { padding-top: 16px; gap: 16px; }
  .choice .estimate-breakdown { gap: 10px; }
  .choice .estimate-breakdown > div { align-items: center; gap: 16px; }
  .choice .estimate-breakdown dt, .choice .installation-choice { font-size: 14px; line-height: 1.35; }
  .choice .estimate-breakdown dd { font-size: 17px; }
  .choice .estimate-breakdown > div:first-child dt { max-width: 11em; }
  .choice .estimate-breakdown .assembly-row { padding-top: 0; border: 0; }
  .choice .installation-choice { min-height: 44px; gap: 9px; }
  .installation-company { display: block; margin-top: 2px; color: #81684b; font-size: 12px; }
  .choice .choice-price-area { width: 100%; padding: 0; }
  .choice .choice-total { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; text-align: left; }
  .choice .price-heading-row { justify-content: flex-start; gap: 7px; }
  .choice .price-heading { max-width: 7.6em; font-size: 14px; line-height: 1.3; }
  .choice .price-info { width: 25px; height: 25px; }
  .choice .choice-visual-price { margin: 0; font-size: clamp(32px, 10vw, 44px); line-height: 1.1; text-align: right; }
  .choice .estimate-example { grid-column: 1 / -1; margin-top: 2px; font-size: 12px; text-align: right; }
  .choice .is-custom .choice-total { grid-template-columns: minmax(0, 1fr); }
  .choice .is-custom .choice-visual-price { text-align: left; }
  .materials { padding-top: 18px; }
  .materials-content { gap: 22px; }
  .materials .kit-plan { gap: 0; margin: 0; }
  .materials .kit-plan-frame { width: 100%; height: auto; min-height: 0; aspect-ratio: 1000 / 1120; max-height: calc(var(--viewport-small-unit) * 52); }
  .materials .kit-plan-frame img { width: 100%; height: 100%; min-height: 0; }
  .materials .kit-plan figcaption { max-width: 28em; margin: 6px auto 0; font-size: 12px; line-height: 1.4; }
  .topbar .logo img { width: 132px; height: 64px; }
}
@media (max-width: 360px) {
  .topbar .logo img { width: 116px; height: 58px; }
  .choice .choice-visual-price { font-size: 32px; }
  .choice .price-heading { font-size: 13px; }
  .choice .estimate-breakdown dd { font-size: 16px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .choice .choice-summary { padding-top: 12px; gap: 10px; }
  .choice .estimate-breakdown { gap: 4px; }
}

/* The image takes only the space left by its caption and material notes. */
@media (max-width: 760px) {
  .case-dialog { width: calc(100vw - 16px); height: fit-content; max-height: calc(calc(var(--viewport-small-unit) * 100) - 16px); overflow: auto; }
  .case-dialog-grid { height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .case-dialog-media { display: grid; min-height: 0; grid-template-rows: auto auto auto; gap: 8px; padding: 12px; }
  .case-photo-meta { min-height: 28px; margin: 0; padding-right: 43px; gap: 12px; font-size: 12px; }
  .case-image-frame { width: 100%; height: auto; min-height: 0; aspect-ratio: var(--case-ratio, 1.333333); max-height: max(100px, calc(calc(var(--viewport-small-unit) * 100) - var(--case-copy-height, 280px) - 126px)); }
  .case-image-frame img { display: block; }
  .case-thumbnails { gap: 7px; padding: 0; }
  .case-thumbnails .gallery-thumb { flex: 0 1 62px; height: 42px; }
  .case-dialog-copy { justify-content: flex-start; gap: 7px; padding: 12px 16px 16px; }
  .case-dialog-copy h2 { font-size: 25px; line-height: 1.1; }
  .case-dialog-copy > p:not(.section-label) { font-size: 13px; line-height: 1.35; }
  .case-dialog-copy #case-plan { font-size: 12px; line-height: 1.3; }
  .case-materials { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; margin: 0; }
  .case-materials > div { display: block; padding: 6px 0; }
  .case-materials dt { font-size: 12px; }
  .case-materials dd { margin-top: 2px; font-size: 14px; text-align: left; }
  .case-dialog-copy .btn { min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .case-dialog .lightbox-close { top: 8px; right: 8px; width: 40px; height: 40px; }
}

/* Room sizes remain visible before contact details. */
.form-dimensions { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.form-dimensions legend { margin-bottom: 12px; padding: 0; color: #59412a; font-size: clamp(15px, 1vw, 23px); font-weight: 500; }
.form-dimensions .dimension-grid { margin: 0; gap: 12px; }
.form-dimensions .dimension-grid label { color: #776044; font-size: clamp(13px, .85vw, 19px); }
.form-dimensions .dimension-grid input { height: clamp(50px, calc(var(--viewport-small-unit) * 5.6), 72px); border-color: #d7c8b1; background: #fffdf9; font-size: clamp(16px, .95vw, 23px); }

@media (min-width: 2800px) and (min-height: 1700px) {
  .form-dimensions { margin-top: 32px; }
  .form-dimensions legend { margin-bottom: 24px; font-size: 29px; }
  .form-dimensions .dimension-grid { gap: 28px; }
  .form-dimensions .dimension-grid label { font-size: 24px; }
  .form-dimensions .dimension-grid input { height: 100px; margin-top: 12px; padding: 20px 24px; font-size: 32px; }
}

.site-footer .footer-contact { align-content: start; gap: 20px; }
.site-footer .footer-location { gap: 4px; }
.site-footer .footer-email { align-self: flex-start; color: #e2caab; font-size: clamp(15px, 1vw, 23px); }
.site-footer .footer-showrooms { padding-top: 2px; font-size: clamp(14px, .95vw, 22px); }

/* A contact drawer appears once the mobile header has left the screen. */
.mobile-contact-toggle, .contact-menu { display: none; }
@media (max-width: 760px) {
  .mobile-contact-toggle:not([hidden]) { position: fixed; z-index: 20; top: max(12px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #d6c2a4; border-radius: 50%; color: #59412a; background: #f5ecdded; box-shadow: 0 3px 14px #3c28171c; backdrop-filter: blur(10px); }
  .mobile-contact-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  html.has-modal .mobile-contact-toggle { display: none; }
  .contact-menu[open] { position: fixed; inset: max(10px, env(safe-area-inset-top)) 10px auto; display: block; width: auto; max-width: 440px; max-height: calc(calc(var(--viewport-small-unit) * 100) - 20px); margin: 0 0 0 auto; padding: 20px; overflow: auto; border: 1px solid #dfccb0; border-radius: 8px; color: #49311c; background: #f5efe5; box-shadow: 0 18px 60px #1d171a40; }
  .contact-menu::backdrop { background: #24211d99; backdrop-filter: blur(4px); }
  .contact-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
  .contact-menu-head h2 { margin: 0; font: 400 25px/1.15 Arial, sans-serif; letter-spacing: -.025em; }
  .contact-menu-head button { flex: none; width: 40px; height: 40px; margin: -6px -6px -6px 0; padding: 0; border: 0; border-radius: 50%; color: #81684b; background: #e9ddca; font-size: 28px; line-height: 1; }
  .contact-menu-phones { display: grid; gap: 16px; }
  .contact-menu-phones a { display: block; font-size: 24px; line-height: 1.25; }
  .contact-menu-phones span { display: block; margin-top: 3px; color: #81684b; font-size: 12px; }
  .contact-menu-email { display: block; width: fit-content; padding-block: 16px; font-size: 16px; }
  .contact-menu-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
  .contact-menu-links > a:last-child { padding-block: 10px; color: #80603b; font-size: 14px; }
  .contact-menu-request { width: 100%; min-height: 48px; justify-content: space-between; padding: 12px; font-size: 15px; }
  .contact-menu-nav { display: grid; gap: 0; margin-top: 12px; }
  .contact-menu-nav a { display: block; min-height: 42px; padding-block: 10px; font-size: 15px; line-height: 1.4; }
  .contact-menu-social-label { margin: 15px 0 10px; color: #81684b; font-size: 12px; }
  .contact-menu-socials { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .contact-menu-socials a { display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #cbb99b66; border-radius: 4px; color: #80603b; }
  .contact-menu-socials .social-icon { width: 24px; height: 24px; }
  .contact-menu-socials span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mobile-contact-toggle:focus-visible, .contact-menu a:focus-visible, .contact-menu button:focus-visible { outline: 2px solid #a88049; outline-offset: 3px; }
}


/* ===== detail-refinements ===== */
/* The same quiet hierarchy for a choice, an estimate and a conversation. */
.choice-plan-open { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid #fbf2df99; border-radius: 4px; color: #59412b; background: #f6eddfeb; box-shadow: 0 2px 9px #38220e12; font: inherit; font-size: 13px; cursor: pointer; }
.choice-plan-open svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.choice-plan-open:hover { background: #fff8ec; }
.choice-plan-open:focus-visible { outline: 2px solid #b38b50; outline-offset: 3px; }
.choice-plan-open[hidden] { display: none; }
@media (min-width: 981px) {
  main > .choice { min-height: calc(var(--viewport-small-unit) * 100); }
  .choice-content { height: calc(calc(var(--viewport-small-unit) * 100) - var(--constructor-padding) * 2); min-height: 0; grid-template-areas: "settings preview" "settings estimate"; grid-template-rows: minmax(0, 1fr) auto; row-gap: clamp(16px, calc(var(--viewport-small-unit) * 2.5), 28px); }
  .choice .choice-panel { align-self: stretch; height: 100%; min-height: 0; }
  .choice .choice-controls { gap: clamp(40px, calc(var(--viewport-small-unit) * 5), 76px); margin-block: 0; }
  .choice .choice-stage { height: 100%; min-height: 0; aspect-ratio: auto; }
  .choice .choice-media { position: absolute; inset: 0; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; }
  .choice .choice-summary { min-height: clamp(140px, calc(var(--viewport-small-unit) * 18), 210px); padding-top: 16px; }
}
@media (min-width: 981px) and (max-height: 700px) {
  .choice .choice-controls { gap: 36px; }
}
@media (max-width: 760px) {
  .choice-media { aspect-ratio: 4 / 3; height: auto; max-height: none; }
  .choice-plan-open { top: auto; bottom: 10px; right: 10px; min-height: 36px; padding: 7px 10px; font-size: 12px; }
  .choice-plan-open svg { width: 19px; height: 19px; }
  .choice .choice-summary { gap: 0; padding-top: 10px; }
  .choice .estimate-breakdown { gap: 0; }
  .choice .estimate-breakdown > div { min-height: 54px; padding: 12px 0; border-bottom: 1px solid #cbb99b77; }
  .choice .estimate-breakdown .assembly-row { padding: 12px 0; border-bottom: 1px solid #cbb99b77; }
  .choice .estimate-breakdown dt, .choice .installation-choice { color: #81684b; font-size: 14px; line-height: 1.35; }
  .choice .estimate-breakdown .assembly-row dt { flex: 1; }
  .choice .installation-choice { display: grid; grid-template-columns: minmax(0, 1fr) 30px; min-height: 34px; gap: 8px; }
  .choice .installation-choice > span { grid-column: 1; grid-row: 1; }
  .choice .installation-choice input { grid-column: 2; grid-row: 1; position: relative; width: 30px; height: 18px; margin: 0; appearance: none; border: 1px solid #b9a383; border-radius: 12px; background: #e1d5c2; transition: background .2s ease; }
  .choice .installation-choice input::after { position: absolute; top: 2px; left: 2px; content: ''; width: 12px; height: 12px; border-radius: 50%; background: #fffaf0; box-shadow: 0 1px 3px #5e442a33; transition: transform .2s ease; }
  .choice .installation-choice input:checked { border-color: #a78350; background: #b28c55; }
  .choice .installation-choice input:checked::after { transform: translateX(12px); }
  .choice .installation-choice input:focus-visible { outline: 2px solid #9d733c; outline-offset: 3px; }
  .choice .installation-company { margin-top: 1px; color: inherit; font-size: inherit; }
  .installation-company-prefix { display: none; }
  .choice .estimate-breakdown dd { font-size: 17px; }
  .choice .choice-price-area { padding-top: 15px; }
  .choice .choice-total { min-height: 54px; }
  .choice .price-heading { color: #81684b; font-size: 14px; }
  .choice .estimate-example { margin-top: 5px; }
}
@media (max-width: 360px) {
  .choice .estimate-breakdown dt, .choice .installation-choice, .choice .price-heading { font-size: 13px; }
  .choice .estimate-breakdown dd { font-size: 16px; }
}

/* Full-height viewing, with an image area that yields space to readable notes. */
.case-dialog { height: calc(calc(var(--viewport-small-unit) * 100) - 40px); overflow: hidden; }
.case-dialog-grid { height: 100%; min-height: 0; }
.case-dialog-media { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; padding: 24px; }
.case-photo-meta { min-height: 28px; margin: 0; }
.case-image-frame { height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; }
.case-image-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.case-thumbnails { gap: 10px; padding: 0; }
.case-thumbnails .gallery-thumb { flex: 0 1 84px; height: 62px; }
.case-thumbnails .gallery-thumb:last-child { background: #f5efe5; }
.case-thumbnails .gallery-thumb:last-child img { object-fit: contain; padding: 3px; }
.case-dialog-copy { gap: 22px; padding: clamp(24px, 3vw, 56px); }
.case-dialog-copy .case-variant-title { max-width: 17em; margin: 0; color: #49311c; font: 400 clamp(25px, 2.2vw, 36px)/1.15 Arial, sans-serif; letter-spacing: -.025em; }
.case-materials { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 0; margin: 0; }
.case-materials > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; gap: 16px; padding-block: 16px; border-top: 0; border-bottom: 1px solid #cdbb9f88; }
.case-materials dt { color: #867256; font-size: 14px; line-height: 1.4; }
.case-materials dd { margin: 0; color: #49311c; font-size: clamp(16px, 1.1vw, 21px); line-height: 1.4; text-align: right; }
@media (max-width: 760px) {
  .case-dialog { inset: 0; width: 100vw; height: calc(var(--viewport-small-unit) * 100); max-height: calc(var(--viewport-small-unit) * 100); margin: 0; border-radius: 0; }
  .case-dialog-grid { height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .case-dialog-media { gap: 15px; padding: max(18px, env(safe-area-inset-top)) 18px 18px; }
  .case-photo-meta { min-height: 32px; padding-right: 40px; font-size: 13px; }
  .case-image-frame { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
  .case-thumbnails { gap: 8px; }
  .case-thumbnails .gallery-thumb { flex: 1 1 0; max-width: 80px; height: 48px; }
  .case-dialog-copy { gap: 12px; padding: 22px 22px max(24px, env(safe-area-inset-bottom)); }
  .case-dialog-copy .case-variant-title { font-size: 23px; }
  .case-materials { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .case-materials > div { display: grid; padding-block: 10px; gap: 12px; }
  .case-materials dt { font-size: 13px; }
  .case-materials dd { margin: 0; font-size: 14px; text-align: right; }
  .case-dialog-copy .btn { min-height: 50px; padding: 12px; font-size: 16px; }
  .case-dialog .lightbox-close { top: max(12px, env(safe-area-inset-top)); right: 12px; width: 40px; height: 40px; }
}
@media (max-width: 760px) and (max-height: 660px) {
  .case-dialog-media { padding: 12px 14px; gap: 10px; }
  .case-dialog-copy { padding: 16px; gap: 8px; }
  .case-dialog-copy .case-variant-title { font-size: 20px; }
  .case-thumbnails .gallery-thumb { height: 38px; }
  .case-materials > div { padding-block: 7px; }
  .case-materials dt { font-size: 12px; }
  .case-materials dd { font-size: 13px; }
  .case-dialog-copy .btn { min-height: 44px; font-size: 14px; }
}

/* A clean contact sheet: one main number, two actions, then supporting details. */
@media (max-width: 760px) {
  .contact-menu[open] { inset: 0 0 auto; width: 100vw; max-width: none; max-height: calc(var(--viewport-small-unit) * 100); margin: 0; padding: max(24px, env(safe-area-inset-top)) 26px max(24px, env(safe-area-inset-bottom)); border: 0; border-radius: 0 0 8px 8px; background: #f7f1e7; box-shadow: 0 12px 45px #24211d2b; }
  .contact-menu::backdrop { background: #24211d66; backdrop-filter: blur(3px); }
  .contact-menu-head { align-items: flex-start; margin-bottom: 25px; }
  .contact-menu-head > div > p { margin: 0 0 8px; color: #997b53; font-size: 12px; }
  .contact-menu-head h2 { max-width: 12em; font-size: 25px; line-height: 1.15; }
  .contact-menu-head button { width: 36px; height: 36px; margin: -5px -8px 0 0; background: transparent; color: #9a7d56; }
  .contact-menu-primary { display: grid; gap: 4px; }
  .contact-menu-primary > span { color: #8c7457; font-size: 12px; }
  .contact-menu-primary > a { width: fit-content; color: #49321e; font-size: clamp(27px, 7.1vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
  .contact-menu-primary > small { color: #8c7457; font-size: 12px; }
  .contact-menu-actions { display: grid; margin: 22px 0; border-block: 1px solid #cfbda073; }
  .contact-menu-actions > a { display: flex; align-items: center; justify-content: space-between; min-height: 49px; gap: 14px; padding: 12px 0; color: #604527; font-size: 16px; }
  .contact-menu-actions > a + a { border-top: 1px solid #cfbda073; }
  .contact-menu-actions .line-icon { flex: none; width: 19px; height: 19px; color: #a38357; }
  .contact-menu-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .contact-menu-details a { display: grid; gap: 5px; }
  .contact-menu-details span { color: #8c7457; font-size: 11px; }
  .contact-menu-details strong { color: #604527; font-size: 13px; font-weight: 400; white-space: nowrap; }
  .contact-menu-nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 22px; }
  .contact-menu-nav a { min-height: 38px; padding-block: 9px; color: #8c7457; font-size: 12px; }
  .contact-menu-social-label { margin: 18px 0 8px; font-size: 11px; }
  .contact-menu-socials { display: flex; gap: 15px; }
  .contact-menu-socials a { width: 36px; min-height: 38px; border: 0; border-radius: 0; color: #96774e; }
  .contact-menu-socials .social-icon { width: 23px; height: 23px; }
}
@media (max-width: 360px) {
  .contact-menu[open] { padding-inline: 20px; padding-block: 18px; }
  .contact-menu-head { margin-bottom: 19px; }
  .contact-menu-head h2 { font-size: 23px; }
  .contact-menu-details { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .contact-menu-details a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .contact-menu-actions { margin-block: 18px; }
  .contact-menu-nav { gap: 0 13px; margin-top: 14px; }
  .contact-menu-nav a { font-size: 11px; }
  .contact-menu-social-label { margin-top: 10px; }
}

/* Every specification row has the same padding, including the last one. */
.materials-intro { display: grid; justify-items: start; gap: 18px; margin-bottom: 24px; }
.materials .materials-list > div, .materials .materials-list > div:first-child, .materials .materials-list > div:last-child { min-height: 0; padding-block: clamp(14px, calc(var(--viewport-small-unit) * 1.6), 28px); align-items: baseline; }
.materials .materials-list dt, .materials .materials-list dd { line-height: 1.45; }
.materials .materials-list dd { align-content: start; align-items: baseline; }
.materials .materials-next { padding-top: 0; border: 0; margin-top: 24px; }
.materials .kit-plan { grid-template-rows: minmax(0, 1fr); }
.materials .kit-cta { width: 100%; }

/* Portfolio photographs and plain captions, with balanced section spacing. */
.projects.portfolio { display: block; height: auto; min-height: 0; padding-block: clamp(44px, calc(var(--viewport-small-unit) * 6), 80px); background: #f5efe5; }
.portfolio-layout { display: grid; grid-template-rows: auto minmax(280px, calc(var(--viewport-small-unit) * 52)); gap: clamp(28px, calc(var(--viewport-small-unit) * 4), 48px); height: auto; min-height: 0; }
.portfolio-header { min-width: 0; }
.portfolio-heading h2 { max-width: 20em; margin: 0; color: #3d3022; font: 400 clamp(36px, 4vw, 82px)/1.1 Arial, sans-serif; letter-spacing: -.035em; }
.contact-socials { display: flex; flex-wrap: nowrap; gap: 12px; margin: 0; padding: 0; }
.contact-socials a { position: relative; display: grid; flex: none; place-items: center; width: 56px; height: 56px; border: 1px solid #cbb18a; border-radius: 50%; color: #6e4d29; background: #ebdcc3; transition: background .2s ease, transform .2s ease; }
.contact-socials .social-icon { width: 29px; height: 29px; }
.contact-socials a > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.portfolio-gallery { min-height: 0; height: 100%; }
.portfolio-projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.7vw, 40px); height: 100%; min-height: 0; }
.portfolio-project { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-width: 0; min-height: 0; overflow: visible; margin: 0; padding: 0; border: 0; border-radius: 0; color: #59412a; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.portfolio-project-photo { position: relative; display: block; inset: auto; min-height: 0; overflow: hidden; border-radius: 4px; }
.portfolio-project-photo::after { content: none; }
.portfolio-project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.portfolio-project[data-project="spa"] .portfolio-project-photo img { object-position: 44% 50%; }
.portfolio-project:hover .portfolio-project-photo img { transform: scale(1.025); }
.portfolio-project-caption { display: block; min-height: 1.25em; padding: 0; color: #59412a; font-size: clamp(18px, 1.4vw, 28px); }
.portfolio-project-title { display: block; color: inherit; font: 400 1em/1.25 Arial, sans-serif; letter-spacing: -.015em; }
.portfolio-project:focus-visible, .contact-socials a:focus-visible { outline: 2px solid #a88049; outline-offset: 4px; }
.contact-channels { display: grid; justify-items: start; gap: 22px; }
.contact-socials { gap: 12px; }
.contact-socials a { width: 46px; height: 46px; border-color: #ecd6b678; color: #f2dfc3; background: #fff6e814; }
.contact-socials .social-icon { width: 25px; height: 25px; }
.contact-socials a:hover { background: #fff6e82d; transform: translateY(-2px); }
.site-footer .footer-statement > .footer-store { text-transform: none; letter-spacing: normal; max-width: 29em; margin: 14px 0 0; color: #cdbca5; font-size: clamp(14px, .95vw, 22px); line-height: 1.5; }
.footer-store a { color: #f1d6ae; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c8a47188; }
.footer-store a:hover { color: #fff4e3; }
@media (min-width: 761px) and (max-width: 1100px) {
  .portfolio-heading h2 { font-size: 36px; }
}
@media (max-width: 760px) {
  .projects.portfolio { min-height: calc(var(--viewport-small-unit) * 100); padding-block: 32px; }
  .portfolio-layout { grid-template-rows: auto auto; min-height: calc(calc(var(--viewport-small-unit) * 100) - 64px); align-content: center; gap: 28px; }
  .portfolio-heading h2 { max-width: 20em; font-size: 30px; line-height: 1.12; }
  .portfolio-projects { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 24px 14px; }
  .portfolio-project { grid-template-rows: auto auto; align-content: start; gap: 10px; }
  .portfolio-project-photo { aspect-ratio: 3 / 4; }
  .portfolio-project-caption { min-height: 2.5em; font-size: 16px; }
  .contact-channels { gap: 18px; }
}
@media (max-width: 760px) and (max-height: 660px) {
  .projects.portfolio { padding-block: 28px; }
  .portfolio-layout { min-height: calc(calc(var(--viewport-small-unit) * 100) - 56px); gap: 24px; }
  .portfolio-heading h2 { font-size: 27px; }
  .portfolio-projects { gap: 22px 12px; }
  .portfolio-project-caption { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-project-photo img, .contact-socials a { transition: none; }
  .contact-socials a:hover { transform: none; }
}

/* A simple full-height gallery, with no technical sidebar or external destination. */
.project-dialog { width: min(1200px, calc(100vw - 48px)); height: min(920px, calc(calc(var(--viewport-small-unit) * 100) - 40px)); max-height: calc(calc(var(--viewport-small-unit) * 100) - 40px); overflow: hidden; border: 0; border-radius: 6px; color: #49311c; background: #f5efe5; }
.project-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.project-dialog::backdrop { background: #24211dcc; }
.project-dialog-head { padding: 18px 24px; gap: 20px; border-bottom: 0; background: #e9decc; }
.project-dialog-head h2 { margin: 0; color: #49311c; font: 400 clamp(22px, 2.1vw, 32px)/1.2 Arial, sans-serif; letter-spacing: -.025em; }
.project-dialog .project-close { color: #81684b; border: 0; background: transparent; }
.project-case-gallery { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; gap: 14px; padding: 24px; background: #e9decc; }
.project-dialog .project-dialog-photo { height: 100%; min-height: 0; overflow: hidden; background: transparent; }
.project-dialog-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.project-case-gallery { -webkit-user-select: none; user-select: none; }
.project-case-gallery img { -webkit-user-drag: none; }
.project-dialog .project-arrow { width: 40px; height: 40px; margin: 0; color: #fff8eb; border: 1px solid #ffffff77; background: #5e4933a6; }
.project-arrow .line-icon { width: 21px; height: 21px; }
.project-prev .line-icon { transform: rotate(180deg); }
.project-photo-status { margin: 0; color: #81684b; font-size: 12px; line-height: 1.4; text-align: center; font-variant-numeric: tabular-nums; }
.project-thumbnails { display: flex; justify-content: center; gap: 10px; }
.project-thumbnails button { flex: 0 1 84px; height: 58px; min-width: 0; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 3px; background: transparent; cursor: pointer; }
.project-thumbnails button[aria-pressed="true"] { border-color: #9b733e; }
.project-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-dialog button:focus-visible { outline: 2px solid #9b733e; outline-offset: 3px; }
@media (max-width: 760px) {
  .project-dialog { inset: 0; width: 100%; height: calc(var(--viewport-small-unit) * 100); max-height: calc(var(--viewport-small-unit) * 100); margin: 0; border-radius: 0; }
  .project-dialog-head { align-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 16px; gap: 12px; }
  .project-dialog-head h2 { font-size: 22px; line-height: 1.2; }
  .project-dialog .project-close { width: 36px; height: 36px; }
  .project-case-gallery { gap: 14px; padding: 18px 16px max(22px, env(safe-area-inset-bottom)); }
  .project-thumbnails { gap: 8px; }
  .project-thumbnails button { flex-basis: 72px; height: 50px; }
  .project-prev { left: 6px; }
  .project-next { right: 6px; }
}
@media (max-width: 760px) and (max-height: 660px) {
  .project-dialog-head { padding-block: 12px; }
  .project-dialog-head h2 { font-size: 20px; }
  .project-case-gallery { padding: 14px; gap: 10px; }
  .project-thumbnails button { height: 42px; }
}

.price-question-form { margin-top: 30px; padding-top: 25px; border-top: 1px solid #ccb99a88; }
.price-question-form h3 { margin: 0; color: #503a23; font-size: 24px; font-weight: 400; line-height: 1.2; }
.price-question-form > p { margin: 12px 0 18px; color: #947b59; font-size: 14px; line-height: 1.5; }
.price-question-form .field-label { display: block; min-width: 0; color: #81684b; font-size: 13px; }
.price-question-form input, .price-question-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #d7c8b1; border-radius: 4px; color: #49311c; background: #fffdf9; font: 16px/1.4 Arial, sans-serif; }
.price-question-form textarea { resize: vertical; }
.price-question-contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 16px 0; }
.price-question-form .btn { width: 100%; min-height: 48px; justify-content: space-between; font-size: 16px; }
.price-question-form > .price-question-note { margin: 10px 0 0; font-size: 12px; }
@media (max-width: 360px) { .price-question-contacts { grid-template-columns: minmax(0, 1fr); } }

.price-question-wrap { margin: 22px 0; padding-block: 14px; border-block: 1px solid #cdbb9f66; }
.price-question-wrap > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; color: #7f5d32; font-size: 17px; cursor: pointer; }
.price-question-wrap > summary::-webkit-details-marker { display: none; }
.price-question-wrap > summary > span { flex: none; font-size: 24px; line-height: 1; font-weight: 300; }
.price-question-wrap[open] > summary > span { transform: rotate(45deg); }
.price-question-wrap .price-question-form { margin: 0; padding-top: 10px; border: 0; }
.selection-card.is-unselected { border-left-color: #c9b28f; background: #efe5d4; }
.selection-card.is-unselected h3 { margin-bottom: 12px; }
.selection-empty-note { max-width: 40em; margin: 0; color: #80684b; font-size: clamp(14px, 1vw, 22px); line-height: 1.5; }
.selection-empty-note[hidden], .selection-facts[hidden] { display: none; }
@media (max-width: 360px) { .selection-card-head { font-size: 12px; gap: 10px; } .selection-card-head a { font-size: 11px; } }

/* A larger wordmark has a real inset above its roof on every screen. */
.topbar-in { padding-block: 20px 14px; }
.topbar .logo img { width: clamp(180px, 13.5vw, 260px); height: auto; aspect-ratio: 140 / 68; }
.contact-phone [data-phone-value] { font-weight: inherit; }
@media (min-width: 1281px) and (max-width: 1480px) {
  .topbar-in { gap: 16px; }
  .topbar .logo img { width: 180px; }
  .topbar .nav { gap: 14px; font-size: 13px; }
}
@media (max-width: 760px) {
  .topbar-in { padding-block: max(20px, env(safe-area-inset-top)) 12px; }
  .topbar .logo img { width: 154px; height: auto; }
}
@media (max-width: 360px) {
  .topbar .logo img { width: 132px; }
  .topbar .phone { gap: 4px; font-size: 13px; }
  .topbar .phone-icon { display: none; }
  .topbar .phone-hours { font-size: 10px; }
}

/* The estimate and specification share the same table columns and type scale. */
.choice-content, .materials-layout { --variant-table-columns: minmax(180px, .65fr) minmax(0, 1.35fr); --variant-table-gap: clamp(20px, 2vw, 40px); --variant-label-size: clamp(14px, 1vw, 24px); --variant-value-size: clamp(17px, 1.15vw, 27px); }
@media (min-width: 761px) {
  .choice .choice-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding-top: 0; }
  .choice .estimate-breakdown { width: 100%; gap: 0; }
  .choice .estimate-breakdown > div, .choice .estimate-breakdown .assembly-row, .materials .materials-list > div { display: grid; grid-template-columns: var(--variant-table-columns); column-gap: var(--variant-table-gap); align-items: center; min-height: 54px; padding: clamp(10px, calc(var(--viewport-small-unit) * 1.3), 20px) 0; border-top: 0; border-bottom: 1px solid #cbb99b77; }
  .choice .estimate-breakdown dt, .choice .installation-choice, .materials .materials-list dt { color: #81684b; font-size: var(--variant-label-size); line-height: 1.4; }
  .choice .estimate-breakdown dd, .materials .materials-list dd { font-size: var(--variant-value-size); line-height: 1.45; }
  .choice .estimate-breakdown dd { text-align: left; }
  .choice .installation-choice { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 16px; min-height: 30px; }
  .choice .installation-choice > span { grid-column: 1; grid-row: 1; }
  .choice .installation-choice input { position: relative; grid-column: 2; grid-row: 1; width: 34px; height: 20px; margin: 0; appearance: none; border: 1px solid #b9a383; border-radius: 12px; background: #e1d5c2; transition: background .2s ease; }
  .choice .installation-choice input::after { position: absolute; top: 2px; left: 2px; content: ''; width: 14px; height: 14px; border-radius: 50%; background: #fffaf0; box-shadow: 0 1px 3px #5e442a33; transition: transform .2s ease; }
  .choice .installation-choice input:checked { border-color: #a78350; background: #b28c55; }
  .choice .installation-choice input:checked::after { transform: translateX(14px); }
  .choice .installation-choice input:focus-visible { outline: 2px solid #9d733c; outline-offset: 3px; }
  .choice .installation-company { display: inline; margin: 0; color: inherit; font-size: inherit; }
  .choice .installation-company-prefix { display: none; }
  .choice .choice-price-area { padding-top: 0; }
}

/* The constructor continues with a compact specification and one size step. */
main > .materials { height: auto; min-height: 0; padding-block: clamp(20px, calc(var(--viewport-small-unit) * 3), 40px) clamp(40px, calc(var(--viewport-small-unit) * 6), 80px); }
.materials .materials-layout { display: grid; height: auto; min-height: 0; }
.materials .materials-content { height: auto; min-height: 0; align-items: start; }
.materials .kit-plan { height: auto; width: 100%; grid-template-rows: auto; align-self: start; }
.materials .kit-plan-frame { display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; }
.materials .kit-plan-frame img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; margin: 0; object-fit: contain; }
.materials .materials-list { display: block; margin: 0; }
.materials .materials-list > div, .materials .materials-list > div:first-child, .materials .materials-list > div:last-child { min-height: 0; padding-block: clamp(12px, calc(var(--viewport-small-unit) * 1.6), 22px); align-items: baseline; }
.materials .materials-list > div:last-child { border-bottom: 1px solid #cbb99b77; }
.kit-completion { min-width: 0; }
.kit-size-form { display: grid; min-width: 0; gap: 18px; }
.kit-size-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.kit-size-form legend { width: 100%; margin: 0 0 16px; padding: 0; color: #59412a; font-size: clamp(19px, 1.35vw, 30px); font-weight: 400; line-height: 1.3; }
.kit-size-title { display: flex; align-items: center; gap: 12px; }
.kit-size-title > svg { flex: none; width: 36px; height: 36px; padding: 4px; overflow: visible; border-radius: 50%; color: #ab7b38; background: #ead9ba88; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.kit-size-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; }
.kit-size-form label { display: block; min-width: 0; color: #81684b; font-size: clamp(13px, .9vw, 21px); line-height: 1.3; }
.kit-size-form input { display: block; width: 100%; min-width: 0; height: clamp(48px, calc(var(--viewport-small-unit) * 5), 68px); margin-top: 6px; padding: 10px 12px; appearance: textfield; border: 1px solid #cbb99b; border-radius: 4px; color: #49311c; background: #fffaf2; font: inherit; font-size: clamp(16px, 1.1vw, 24px); }
.kit-size-form input::-webkit-inner-spin-button { appearance: none; }
.kit-size-form input:focus-visible { outline: 2px solid #a88049; outline-offset: 2px; }
.kit-form-footer { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.kit-form-footer .btn { width: 100%; min-width: 0; min-height: clamp(56px, calc(var(--viewport-small-unit) * 5.5), 72px); justify-content: space-between; gap: 24px; padding: 16px 24px; font-size: clamp(17px, 1.15vw, 25px); }
.kit-form-footer .btn > span { white-space: nowrap; }
@media (min-width: 761px) {
  .materials-content { grid-template-columns: clamp(320px, 27.4vw, 600px) minmax(0, 1fr); gap: clamp(26px, 3vw, 90px); }
  .kit-size-form { width: 78%; max-width: 720px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .materials-content { grid-template-columns: 320px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  main > .materials { padding-top: 4px; }
  .materials .materials-content { gap: 22px; }
  .materials .materials-list > div, .materials .materials-list > div:first-child, .materials .materials-list > div:last-child { padding-block: 10px; }
  .kit-size-form legend { font-size: 20px; }
  .kit-size-title { gap: 10px; }
  .kit-size-title > svg { width: 32px; height: 32px; }
  .kit-size-fields { gap: 10px; }
  .kit-size-form input { height: 48px; padding-inline: 10px; font-size: 16px; }
  .kit-form-footer { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .kit-form-footer .btn { width: 100%; min-height: 52px; font-size: 16px; }
}
@media (max-width: 360px) {
  .kit-size-fields label { font-size: 12px; }
  .kit-size-form legend { font-size: 18px; }
}

/* The last form fills a screen and grows naturally when its details open. */
main > .contact { height: auto; min-height: calc(var(--viewport-small-unit) * 100); }

/* The selected configuration and its price belong to one readable table. */
.price-dialog-breakdown { margin-top: 24px; }
.price-dialog-breakdown > .price-configuration-row { display: grid; grid-template-columns: minmax(120px, .85fr) minmax(0, 1.15fr); align-items: baseline; gap: 8px 20px; margin-bottom: 12px; }
.price-configuration-row dt { color: #765d40; line-height: 1.4; }
.price-dialog-breakdown .price-configuration-row dd { color: #49311c; font-size: 16px; line-height: 1.4; white-space: normal; }
.price-dialog-breakdown > .price-materials-row { margin-top: 18px; padding-top: 16px; border-top: 1px solid #cfbb9959; }
@media (max-width: 360px) {
  .price-dialog-breakdown { padding: 16px; }
  .price-dialog-breakdown > .price-configuration-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .choice .installation-choice input, .choice .installation-choice input::after { transition: none; }
}

/* The contact sheet uses the same logo and primary number as the header. */
@media (max-width: 760px) {
  .contact-menu[open] { padding-top: max(22px, env(safe-area-inset-top)); }
  .contact-menu-head { margin-bottom: 24px; }
  .contact-menu-logo { display: block; width: 144px; height: auto; margin-bottom: 22px; filter: none; }
  .contact-menu-head h2 { max-width: 13em; }
  .contact-menu-head button { margin-top: 0; }
  .contact-menu-details { grid-template-columns: minmax(0, 1fr); }
  .contact-menu-details a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .contact-menu-socials { display: flex; gap: 24px; margin-top: 18px; }
  .contact-menu-socials a { width: 42px; min-height: 44px; }
  .contact-menu-socials .social-icon { width: 30px; height: 30px; }
}
@media (max-width: 360px) {
  .contact-menu[open] { padding-block: 18px; }
  .contact-menu-logo { width: 124px; margin-bottom: 16px; }
  .contact-menu-head { margin-bottom: 18px; }
  .contact-menu-head h2 { font-size: 23px; }
  .contact-menu-actions { margin-block: 15px; }
  .contact-menu-socials { margin-top: 10px; }
}

/* The header leads to one action; the three benefits describe the actual product. */
.header-actions { grid-template-columns: minmax(0, 1fr); }
.topbar .header-cta { gap: 15px; }
.topbar .phone-number { font-size: clamp(20px, 1.6vw, 30px); letter-spacing: -.025em; }
.hero-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); --step-gap: clamp(24px, 3.8vw, 90px); }
.hero-steps li { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
.hero-steps li:not(:last-child)::after { content: none; }
.hero-steps .step-icon { width: 72px; height: 72px; }
.hero-steps .step-icon svg { width: 40px; height: 40px; }
.hero-steps .step-copy strong { font-size: clamp(20px, 1.45vw, 32px); font-weight: 600; }
.hero-steps .step-copy p { max-width: 22em; margin-top: 8px; font-size: clamp(15px, 1.05vw, 23px); line-height: 1.4; }
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-steps { --step-gap: 24px; }
  .hero-steps li { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; }
  .hero-steps .step-icon { width: 58px; height: 58px; }
  .hero-steps .step-icon svg { width: 34px; height: 34px; }
  .hero-steps .step-copy strong { font-size: 18px; }
  .hero-steps .step-copy p { font-size: 14px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(32px, 8vw, 38px); }
  .topbar .phone-icon { display: none; }
  .topbar .phone-number { font-size: 17px; }
  .hero-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-steps li { grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 16px; }
  .hero-steps .step-icon { width: 50px; height: 50px; }
  .hero-steps .step-icon svg { width: 29px; height: 29px; }
  .hero-steps .step-copy strong { font-size: 18px; }
  .hero-steps .step-copy p { max-width: none; margin-top: 5px; font-size: 13px; }
  .materials .materials-list > div { align-items: baseline; }
}
@media (max-width: 360px) {
  .topbar .phone-number { font-size: 15px; }
}

/* On a phone, the plan is a small reference and the next steps echo the first screen. */
@media (max-width: 760px) {
  .materials .kit-plan { width: min(64%, 240px); margin-inline: auto; }
  .request-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .request-steps li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 5px; }
  .request-steps li:not(:last-child)::after { content: none; }
  .request-steps .step-icon { grid-column: 1; grid-row: 1 / 3; width: 50px; height: 50px; margin: 0; }
  .request-steps .step-icon svg { width: 29px; height: 29px; }
  .request-steps strong { grid-column: 2; align-self: end; font-size: 18px; font-weight: 600; line-height: 1.25; }
  .request-steps li > span:last-child { grid-column: 2; align-self: start; max-width: none; margin: 0; font-size: 13px; line-height: 1.4; }
  .contact-menu-head { margin-bottom: 20px; }
  .contact-menu-logo { margin-bottom: 0; }
}

/* A measured room and its estimate form one clear result beneath the photograph. */
.choice .choice-price-area { --result-type-size: clamp(38px, 4vw, 104px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 24px; }
.choice-dimensions { min-width: 0; text-align: left; }
.choice .choice-total { display: block; width: auto; min-height: 0; text-align: right; }
.choice .choice-dimensions > .price-heading { display: flex; align-items: center; min-height: 25px; max-width: none; }
.choice .price-heading-row { justify-content: flex-end; min-height: 25px; }
.choice .choice-size, .choice .choice-visual-price { display: block; margin: 8px 0 0; color: #44301c; font-size: var(--result-type-size); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice .choice-visual-price { text-align: right; }
@media (max-width: 760px) {
  .choice .choice-price-area { --result-type-size: clamp(26px, 7.7vw, 34px); gap: 16px; padding-top: 16px; }
  .choice .price-heading { max-width: none; font-size: 13px; }
  .choice .price-heading-row { gap: 6px; }
  .choice .price-info { width: 23px; height: 23px; }
}
@media (max-width: 360px) {
  .choice .choice-price-area { gap: 12px; }
  .choice .price-heading { font-size: 12px; }
}

/* Final shared details: clear labels, familiar brand marks and one action-arrow scale. */
:root { --detail-muted: #7b6348; }
.line-icon.action-arrow { width: 24px; height: 24px; stroke-width: 1.6; transition: none; }
.social-icon.brand-icon { fill: currentColor; stroke: none; }
.contact-socials .brand-icon { width: 23px; height: 23px; }
.phone-mark { display: block; flex: none; fill: currentColor; stroke: none; }
.topbar .phone-mark { width: clamp(28px, 2.2vw, 34px); height: clamp(28px, 2.2vw, 34px); }
.contact .contact-phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(24px, 2vw, 36px); line-height: 1.3; }
.contact-phone .phone-mark { width: 25px; height: 25px; color: #e8c698; }
.choice .level-copy small, .options-sheet-body .level-copy small, .case-materials dt, .kit-size-form label, .project-photo-status, .price-question-form .field-label { color: var(--detail-muted); }
.hero-bottom > span:last-child { display: inline-flex; align-items: center; gap: 10px; }
.hero-bottom .scroll-arrow { transform: rotate(90deg); }
.project-dialog { background: #e9decc; }
@media (min-width: 981px) {
  main > .materials { min-height: calc(calc(var(--viewport-small-unit) * 100) - var(--kit-context-height, 0px)); scroll-margin-top: var(--kit-context-height, 0px); }
}
@media (max-width: 760px) {
  .topbar .header-actions { display: none; }
  .topbar-in { row-gap: 0; }
  .hero-lead-extra, .hero-steps .step-copy p, .hero-bottom > span:first-child { display: none; }
  .hero-bottom { justify-content: flex-start; }
  .hero-bottom > span:last-child { text-align: left; }
  .hero-steps { gap: 16px; }
  main > .choice { min-height: calc(var(--viewport-small-unit) * 100); }
  .choice .choice-content { min-height: calc(calc(var(--viewport-small-unit) * 100) - 40px); grid-template-rows: auto auto minmax(min-content, 1fr); }
  .choice .choice-summary { display: flex; flex-direction: column; justify-content: flex-end; align-self: stretch; gap: 0; padding-top: clamp(20px, calc(var(--viewport-small-unit) * 4), 36px); }
  .choice .choice-price-detail { width: 100%; }
  .materials .materials-content { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .materials .materials-list { grid-row: 1; }
  .materials .kit-plan { grid-row: 2; }
  .materials .kit-completion { grid-row: 3; margin-top: 6px; }
  .contact .contact-phone { font-size: 24px; gap: 10px; }
  .contact-phone .phone-mark { width: 23px; height: 23px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .choice .choice-content { min-height: calc(calc(var(--viewport-small-unit) * 100) - 28px); }
}


/* ===== responsive ===== */
/* Viewport and compatibility rules. This chapter owns the final geometry. */
html.has-modal { overflow: hidden; }
@media (max-width: 760px) {
  .choice { --choice-edge: 14px; padding-block: var(--choice-edge); }
  .choice .choice-content { min-height: calc(calc(var(--viewport-small-unit) * 100) - var(--choice-edge) * 2); height: auto; row-gap: 10px; }
  .choice .choice-summary { padding-top: 18px; }
  .choice .choice-media { max-height: max(150px, calc(calc(var(--viewport-small-unit) * 100) - 480px)); }
  .choice .choice-media img { object-fit: contain; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .choice { --choice-edge: 10px; }
  .choice .choice-content { row-gap: 8px; }
  .choice .choice-media { max-height: max(150px, calc(calc(var(--viewport-small-unit) * 100) - 424px)); }
  .choice .choice-summary { padding-top: 12px; }
  .mobile-choice-tools button { min-height: 44px; padding-block: 8px; }
  .choice .estimate-breakdown > div, .choice .estimate-breakdown .assembly-row { min-height: 48px; padding-block: 8px; }
  .choice .installation-choice { min-height: 30px; }
  .choice .choice-price-area { padding-top: 12px; }
  .choice .choice-size, .choice .choice-visual-price { margin-top: 5px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  main > .choice { --choice-edge: clamp(20px, calc(var(--viewport-small-unit) * 3), 34px); min-height: calc(var(--viewport-small-unit) * 100); padding-block: var(--choice-edge); }
  .choice-content { min-height: calc(calc(var(--viewport-small-unit) * 100) - var(--choice-edge) * 2); grid-template-rows: minmax(min-content, 1fr) auto; }
}
/* A very short or landscape screen may scroll naturally instead of hiding content. */
@media (max-height: 500px) {
  .choice .choice-content { height: auto; min-height: 0; }
  .choice .choice-stage { min-height: 230px; }
  .case-dialog { overflow-y: auto; }
  .case-dialog-grid { min-height: 520px; }
  .project-dialog { overflow-y: auto; }
  .project-dialog .project-case-gallery { min-height: 300px; }
  .projects.portfolio { height: auto; min-height: calc(var(--viewport-small-unit) * 100); }
}
/* Media failures never obscure readable text or controls. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
dialog:not([open]) { display: none; }
.dialog-inline-fallback[open] { position: relative !important; inset: auto !important; display: block !important; width: min(100% - 32px, 1180px) !important; height: auto !important; max-height: none !important; margin: 28px auto !important; overflow: visible !important; }
.dialog-inline-fallback .case-dialog-grid { min-height: 600px; }
.dialog-inline-fallback .project-case-gallery { min-height: 500px; }
.materials .materials-content { grid-template-rows: auto auto; row-gap: clamp(44px, calc(var(--viewport-small-unit) * 6), 80px); }
.materials .materials-list { grid-column: 2; grid-row: 1; min-width: 0; }
.materials .kit-plan { grid-column: 1; grid-row: 1 / 3; }
.materials .kit-completion { grid-column: 2; grid-row: 2; }
@media (max-width: 760px) {
  .materials .materials-content { row-gap: 26px; }
  .materials .materials-list { grid-column: 1; grid-row: 1; }
  .materials .kit-plan { grid-column: 1; grid-row: 2; }
  .materials .kit-completion { grid-column: 1; grid-row: 3; }
}

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px 18px; border-radius: 4px; color: #312318; background: #f6d8aa; }
.skip-link:focus { transform: none; }
.noscript-notice { position: relative; z-index: 8; margin: 0; padding: 16px 24px; color: #49311c; background: #f5e4c7; }
.noscript-notice a { text-decoration: underline; }

.choice-media-status { position: absolute; z-index: 2; inset: auto 12px 12px; margin: 0; padding: 10px 12px; border-radius: 4px; color: #49311c; background: #fff8ecef; font-size: 13px; line-height: 1.4; }

.studio-phone { display: inline-flex; align-items: center; gap: 12px; }
.studio-phone .phone-mark { flex: none; width: 25px; height: 25px; }
.studio-phone [data-phone-value] { font-weight: inherit; }
/* Normal galleries still fit one screen; enlarged text must remain reachable. */
.case-dialog { overflow-x: hidden; overflow-y: auto; }

 .lead-consent{display:flex;align-items:flex-start;gap:.6rem;font-size:.85rem;line-height:1.45;margin:1rem 0;color:inherit}
 .lead-consent input{flex:none;width:1.1rem;height:1.1rem;margin:.12rem 0 0;accent-color:#b67632}
 .lead-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
