:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --light: #faf8f2;
  --ink: #25241f;
  --muted: #5b574d;
  --line: #d8d1c4;
  --olive: #414437;
  --accent: #745536;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; }
figure, dl, dd, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font: 500 clamp(3rem, 5vw, 5.35rem)/.93 var(--display); letter-spacing: -.042em; }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 650; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #95612e; outline-offset: 5px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--light); }
.shell { width: min(100% - 96px, 1320px); margin-inline: auto; }
.section { padding-block: clamp(62px, 7.8vw, 118px); }
.section-head { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 30px 70px; margin-bottom: 42px; }
.section-head > p { max-width: 39ch; color: var(--muted); padding-bottom: .15em; }
.section-label { margin-bottom: 14px; color: var(--accent); font-size: .88rem; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; column-gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; font: 600 2rem/.9 var(--display); letter-spacing: -.02em; }
.mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; color: var(--accent); }
.mark i { width: 5px; height: 42%; background: currentColor; }
.mark i:nth-child(2) { height: 70%; }
.mark i:nth-child(3) { height: 100%; }
.header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); font-size: .9rem; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: .89rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button [aria-hidden="true"] { font-size: 1.1rem; line-height: 1; }
.button-primary { background: var(--olive); color: #fffdf6; }
.button-primary:hover { background: #303326; }
.button-outline { border-color: #827762; }
.button-outline:hover { background: #e7e0d4; }
.button-light { background: #f2eadc; color: #28271f; }
.button-light:hover { background: #fff8e8; }
.text-link { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; font-size: .88rem; font-weight: 650; text-underline-offset: .34em; }
.text-link:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 55px); padding-block: 38px 48px; }
.hero-copy { padding-block: clamp(18px, 2vw, 30px); }
.location { display: flex; gap: 10px; align-items: center; color: var(--accent); font-size: .84rem; font-weight: 650; }
.location span { width: 7px; height: 7px; background: #92643c; border-radius: 50%; }
.hero h1 { margin: 24px 0; font-size: clamp(3.25rem, 5.5vw, 6rem); }
.hero-lead { max-width: 38ch; color: var(--muted); font-size: clamp(.98rem, 1.2vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 28px; }
.hero-comparison { min-width: 0; }
.compare-frames {
  --split: 47%;
  --grip-size: 46px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #c1b6a2;
}
.compare-image { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-label {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  color: #faf7ee;
  background: #302c24;
  font-size: .75rem;
  font-weight: 600;
  pointer-events: none;
}
.compare-label-before { left: 12px; }
.compare-label-after { right: 12px; }
.compare-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(0px, var(--split), calc(100% - 1px));
  width: 2px;
  background: #fff9ed;
  pointer-events: none;
}
.compare-grip {
  position: absolute;
  top: 50%;
  left: clamp(calc(var(--grip-size) / 2 + 4px), var(--split), calc(100% - var(--grip-size) / 2 - 4px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: var(--grip-size);
  height: var(--grip-size);
  transform: translate(-50%, -50%);
  border: 1px solid #d7cfc0;
  border-radius: 50%;
  background: #fff9ed;
  color: var(--ink);
  box-shadow: 0 2px 12px rgb(0 0 0 / .24);
  pointer-events: none;
}
.compare-grip::before, .compare-grip::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border: solid currentColor; }
.compare-grip::before { border-width: 0 0 2px 2px; }
.compare-grip::after { border-width: 2px 2px 0 0; }
.compare-frames:has(input:focus-visible) .compare-grip { outline: 3px solid #664424; outline-offset: 4px; }
.compare-control {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(var(--grip-size) / -2);
  width: calc(100% + var(--grip-size));
  height: 100%;
  margin: 0;
  appearance: none;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare-control::-webkit-slider-runnable-track { height: var(--grip-size); }
.compare-control::-webkit-slider-thumb { appearance: none; width: var(--grip-size); height: var(--grip-size); }
.compare-control::-moz-range-thumb { width: var(--grip-size); height: var(--grip-size); border: 0; }
.hero-comparison figcaption { display: flex; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; margin-top: 9px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.compare-hint { font-weight: 600; }

.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(22px, 4.3vw, 64px); }
.case-main img { aspect-ratio: 3 / 2; object-fit: cover; }
.case-info { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.case-text p { margin-top: 12px; color: var(--muted); max-width: 57ch; }
.case-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.case-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
.case-thumbs img[src$="-finish.webp"] { object-position: center 66%; }
.case-thumbs img[src$="-utility.webp"] { object-position: center 56%; }
figure [data-gallery] { display: block; position: relative; overflow: hidden; background: var(--line); }
figure [data-gallery] img { transition: transform .3s; }
figure [data-gallery]:hover img { transform: scale(1.03); }
.zoom-icon { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--light); color: var(--ink); font-size: 1.1rem; }
.case figure figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.case-links { display: flex; gap: 8px 24px; flex-wrap: wrap; }

.interior-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.interior-grid img { aspect-ratio: 3 / 2; object-fit: cover; }
.interior-grid figcaption { margin-top: 10px; font-size: .92rem; font-weight: 600; }

.offer { background: #e7e2d6; }
.planning-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .44fr); gap: clamp(20px, 3.5vw, 52px); align-items: start; }
.planning-options { min-width: 0; padding: 0; border: 0; margin: 0; }
.planning-list { margin: 0; padding: 0; list-style: none; }
.planning-list li, .contract-step { display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 20px 14px; border-top: 1px solid #bfb6a5; }
.planning-list li:last-child { border-bottom: 1px solid #bfb6a5; }
.planning-list li:has(input:checked) { background: #f8f5ec; }
.stage-number { color: var(--accent); font: 500 2.2rem/1 var(--display); font-variant-numeric: lining-nums; }
.planning-copy p, .contract-step p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.planning-choice { display: grid; justify-items: end; gap: 7px; }
.service-price { font-size: 1.15rem; font-weight: 650; white-space: nowrap; }
.service-check { display: flex; gap: 9px; align-items: center; min-height: 42px; padding: 5px 10px; border: 1px solid #958470; font-size: .82rem; font-weight: 600; cursor: pointer; }
.service-check:hover { background: #f4efe1; }
.service-check:has(input:focus-visible) { outline: 3px solid #95612e; outline-offset: 4px; }
.service-check:has(input:checked) { border-color: var(--olive); }
.service-check:has(input:disabled) { display: none; }
.service-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--olive); }
.selection { position: sticky; top: 99px; background: var(--olive); color: #fff9ee; padding: clamp(21px, 3vw, 35px); }
.selection output { display: block; margin: 12px 0 8px; font: 500 clamp(2.8rem, 4.5vw, 4.35rem)/1 var(--display); font-variant-numeric: lining-nums; }
.selection p, .selection li { color: #eae3d6; font-size: .88rem; }
.selection ul { margin: 9px 0 11px; padding-left: 17px; }
.selection .selection-note { margin: 14px 0; }
.selection .button { width: 100%; }
.selection :focus-visible { outline-color: #f0cca3; }
.offer-method { margin: 12px 0 26px; color: var(--muted); font-size: .88rem; }
.offer-method summary, .brief-details summary { padding-block: 13px; color: var(--ink); font-weight: 600; }
.offer-method p { max-width: 80ch; margin-bottom: 7px; }
.contract-step { padding-bottom: 0; }
.contract-step .text-link { align-self: center; }

.case { background: var(--paper); border-bottom: 1px solid var(--line); }

.budget-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.room-budget > p { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.room-budget table { border-collapse: collapse; margin-block: 18px 12px; width: 100%; font-size: .94rem; }
.room-budget th, .room-budget td { padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.room-budget th { text-align: left; font-weight: 500; }
.room-budget td { text-align: right; padding-left: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.room-budget tfoot th, .room-budget tfoot td { border-bottom: 1px solid var(--line); font-weight: 700; }
.calculator { padding: clamp(22px, 4vw, 42px); background: var(--olive); color: #f9f5eb; }
.calculator > p { margin-top: 7px; color: #e1dbcf; }
.calc-inputs { display: grid; align-items: center; grid-template-columns: 1fr 82px; gap: 10px 14px; margin-block: 22px; }
.calc-inputs label { font-size: .93rem; }
.calc-inputs input[type="number"] { min-width: 0; padding: 8px; background: #f8f2e6; color: var(--ink); border: 1px solid #f8f2e6; border-radius: 0; width: 100%; }
.calc-inputs input[type="range"] { grid-column: 1 / -1; width: 100%; height: 26px; margin: 0; accent-color: #e9ca9b; cursor: pointer; }
.range-labels { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #e1dbcf; font-size: .78rem; }
.calculator output { display: block; margin-top: 19px; font: 500 clamp(2.8rem, 5vw, 4.8rem)/1 var(--display); letter-spacing: -.025em; }
.calculator .calc-note { font-size: .83rem; line-height: 1.55; margin-top: 12px; }
.calculator .button { margin-top: 22px; }
.calculator :focus-visible { outline-color: #f0cca3; }

.process { background: var(--paper); border-bottom: 1px solid var(--line); }
.faq, .request-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 6vw, 100px); align-items: start; }
.request-layout > div > p { margin-top: 20px; max-width: 40ch; color: var(--muted); }
.rough-list { margin: 0; padding: 0; list-style: none; }
.rough-list > li { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 76px); align-items: center; padding-block: 26px; border-top: 1px solid var(--line); }
.rough-list > li:last-child { border-bottom: 1px solid var(--line); }
.rough-copy { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; }
.rough-copy h3 { margin-bottom: 8px; font-size: clamp(1.15rem, 1.5vw, 1.42rem); }
.rough-copy p { max-width: 54ch; color: var(--muted); }
.rough-photo img { aspect-ratio: 1.65; object-fit: cover; object-position: center var(--photo-position, 50%); }
.rough-photo figcaption { margin-top: 7px; color: var(--muted); font-size: .82rem; }
.process-next { margin-top: 15px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 17px 36px 17px 0; font-size: 1.02rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--accent); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 26px 18px 0; color: var(--muted); font-size: .93rem; }

.request { background: #e2dacb; }
.request-contact { min-width: 0; padding-inline: clamp(0px, 3vw, 36px); }
.request-contact .request-selection { margin: 0 0 15px; max-width: 55ch; font-size: .9rem; }
.contact-number { display: inline-block; font: 500 clamp(2.6rem, 4.2vw, 4.3rem)/.98 var(--display); letter-spacing: -.02em; text-decoration: none; }
.contact-number:hover { text-decoration: underline; text-underline-offset: .14em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.brief-details { margin-top: 18px; border-top: 1px solid #bfb4a2; }
.brief-details form { margin-block: 3px 6px; }
form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: .65fr 1.35fr; gap: 14px; }
form label { display: block; font-size: .85rem; font-weight: 650; }
form label span { margin-left: 3px; color: var(--muted); font-size: .75rem; font-weight: 400; }
form input, form select, form textarea { display: block; width: 100%; max-width: 100%; min-height: 45px; margin-top: 5px; padding: 10px 12px; border: 1px solid #a69a84; background: var(--light); color: var(--ink); border-radius: 0; font-size: 1rem; }
form textarea { resize: vertical; }
form > button { justify-self: start; }
.form-note, .form-status { color: var(--muted); font-size: .78rem; }
.form-status:empty { display: none; }
.footer { background: var(--olive); color: #faf4e9; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 26px; }
.footer .mark { color: #d8ba93; }
.footer p { font-size: .86rem; color: #ded7c9; }
.footer .text-link:hover { color: #e9ca9b; }

.lightbox { max-width: min(900px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 12px; border: 0; background: #25241f; color: var(--light); }
.lightbox::backdrop { background: rgb(20 18 14 / .78); }
.lightbox-body { display: grid; position: relative; gap: 9px; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: 70vh; object-fit: contain; margin-inline: auto; }
.lightbox figcaption { margin: 12px 6px 0; max-width: 66ch; font-size: .89rem; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 16px; }
.lightbox button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c4b9a5; background: #25241f; color: var(--light); font-size: 1.25rem; }
.lightbox .lightbox-close { position: absolute; z-index: 1; right: 6px; top: 6px; }
.lightbox button:hover { background: #4a4538; }
.lightbox button:focus-visible { outline-color: #f0cca3; }
#photo-count { font-size: .8rem; min-width: 44px; text-align: center; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero h1 { font-size: clamp(3.1rem, 6.1vw, 5.5rem); }
  .desktop-break { display: none; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 65px; }
  .header nav { gap: 16px; font-size: .83rem; }
  .header .button { min-height: 44px; padding: 9px 12px; }
  .section-head { grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
  .section-head > p { max-width: 53ch; }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: 20px; }
  .case-layout { grid-template-columns: .85fr 1fr; gap: 20px; align-items: center; }
  .case-thumbs figcaption { overflow-wrap: anywhere; }
  .budget-layout { grid-template-columns: 1fr 1.1fr; gap: 20px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 77px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 10px; }
  .header nav { display: none; }
  .brand { font-size: 1.82rem; gap: 8px; }
  .mark { height: 19px; }
  .header .button { font-size: .76rem; gap: 6px; }
  .hero, .case-layout, .budget-layout, .faq, .request-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 0; padding-bottom: 24px; }
  .hero-copy { padding: 30px 0 0; }
  .hero h1 { font-size: clamp(3rem, 10.8vw, 4.2rem); margin-block: 14px 18px; }
  .hero-lead { max-width: 43ch; }
  .hero-actions { gap: 5px 15px; margin-top: 19px; }
  .hero-comparison { margin-bottom: 12px; }
  .case-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-thumbs figcaption { font-size: .8rem; }
  .planning-layout, .rough-list > li { grid-template-columns: minmax(0, 1fr); }
  .selection { position: static; }
  .planning-list li, .contract-step { grid-template-columns: 35px minmax(0, 1fr); gap: 8px 10px; padding-inline: 0; }
  .planning-choice { grid-column: 2; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .service-price { font-size: 1.05rem; }
  .contract-step .text-link { grid-column: 2; }
  .rough-copy { grid-template-columns: 35px minmax(0, 1fr); gap: 10px; }
  .rough-list > li { padding-block: 20px; }
  .rough-photo img { aspect-ratio: 1.45; }
  .interior-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .request-contact { padding-inline: 0; }
  .form-row { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 9px; }
  .footer-inner { justify-content: flex-start; }
  .footer .text-link { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
