:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #252921;
  --olive: #3b4831;
  --olive-dark: #303b28;
  --muted: #5e6055;
  --line: #d9d7c9;
  --sand: #eee9dc;
  --serif: Prata, Georgia, serif;
  font-family: 'Golos Text', Arial, sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; width: 100%; object-fit: cover; }
figure, h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid #9b4f34; outline-offset: 5px; }
.summary :focus-visible { outline-color: #f6c28b; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 84px; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 6px; text-decoration: none; font-weight: 700; letter-spacing: .075em; white-space: nowrap; }
.brand-light { font-weight: 400; }
.mark { position: relative; display: inline-block; width: 21px; height: 21px; margin-right: 6px; border: 1px solid currentColor; }
.mark::after { position: absolute; content: ''; top: 4px; left: 4px; width: 11px; height: 11px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
nav { display: flex; gap: 32px; }
nav a, .header-link { font-size: .875rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.header-link { justify-self: end; padding: 11px 17px; border: 1px solid #a6a998; }
.header-link:hover { background: var(--sand); }
.hero { display: grid; grid-template-columns: .87fr 1.46fr; gap: 34px; align-items: center; padding-block: 26px 74px; }
.hero-copy { padding: 16px 0; }
.eyebrow { color: var(--olive); font-size: .875rem; font-weight: 600; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 18px; }
h1, h2, .total { font-family: var(--serif); font-weight: 400; }
h1 { max-width: 580px; font-size: clamp(2.85rem, 5.35vw, 5.25rem); line-height: 1.13; letter-spacing: -.052em; }
h1 em { display: block; color: var(--olive); font-family: Georgia, serif; font-weight: 400; }
.intro { margin-block: 25px 30px; max-width: 390px; color: var(--muted); font-size: 1.0625rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 11px 21px; border: 1px solid transparent; color: inherit; text-decoration: none; font-weight: 600; cursor: pointer; transition: background .18s; }
.primary { background: var(--olive); color: white; }
.primary:hover { background: #273322; }
.text-link { font-size: .9375rem; width: fit-content; color: var(--olive-dark); text-underline-offset: 5px; }
.hero .text-link { display: inline-block; margin: 12px 0 12px 16px; }
.hero-photo { position: relative; }
.hero-photo img { aspect-ratio: 1.36; object-position: center 50%; background: #a28d72; }
.hero-photo figcaption { position: absolute; display: flex; align-items: center; gap: 9px; bottom: 16px; left: 16px; background: var(--paper); padding: 8px 12px; font-size: .875rem; }
.hero-photo figcaption span { width: 9px; height: 9px; background: #8d654b; }
.estimate, .process { background: var(--sand); padding-block: 72px 78px; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 32px; margin-bottom: 32px; }
.section-heading p:last-child:not(.eyebrow) { color: var(--muted); max-width: 390px; }
h2 { font-size: clamp(2rem, 4.05vw, 3.8rem); line-height: 1.15; letter-spacing: -.045em; }
.planner { display: grid; grid-template-columns: 1.04fr .96fr; }
.controls { padding: clamp(22px, 4vw, 52px); background: var(--paper); }
.control-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.control-heading output { color: var(--olive-dark); }
input[type=range] { width: 100%; display: block; min-height: 30px; margin: 10px 0 0; accent-color: var(--olive); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { display: inline-grid; position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.options span { display: block; padding: 8px 12px; border: 1px solid #a6a998; cursor: pointer; font-size: .875rem; }
.options input:checked + span { background: var(--olive); color: white; border-color: var(--olive); }
.options input:focus-visible + span { outline: 3px solid #9b4f34; outline-offset: 2px; }
.hint { color: var(--muted); font-size: .875rem; margin-top: 10px; min-height: 2.8em; }
.check { display: flex; gap: 9px; align-items: center; min-height: 42px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--olive); }
.summary { padding: clamp(22px, 4vw, 52px); background: var(--olive-dark); color: #fbf6eb; }
.summary-label { font-size: .9375rem; color: #e5e5cf; }
.total { font-size: clamp(1.42rem, 3.3vw, 3rem); line-height: 1.22; letter-spacing: -.045em; margin-block: 11px 18px; }
.bar { display: flex; height: 6px; gap: 3px; overflow: hidden; }
.bar span { background: var(--segment); }
dl { display: grid; gap: 0; margin-block: 14px 22px; min-height: 122px; align-content: start; }
.line-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; border-bottom: 1px solid #56624d; padding: 7px 0; font-size: .875rem; }
.line-item dt { display: flex; align-items: center; gap: 9px; }
.line-item dt::before { content: ''; flex: 0 0 8px; height: 8px; background: var(--segment); }
.line-item dd { margin: 0; text-align: right; white-space: nowrap; }
.download { color: var(--olive-dark); background: #f3efdf; }
.download:hover { background: white; }
.summary-note { color: #e5e5cf; font-size: .875rem; margin-top: 13px; }
.projects { padding-block: 82px 86px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project { border: 1px solid var(--line); display: flex; flex-direction: column; }
.project img { aspect-ratio: 1.2; background: #c3b29c; }
.project-body { padding: 21px; flex: 1; display: flex; flex-direction: column; align-items: start; }
.project-meta { color: var(--muted); font-size: .875rem; margin-bottom: 4px; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.project-body h3 + p, .process li p { color: var(--muted); margin-top: 9px; }
.preset { background: transparent; border: 0; padding: 14px 0 0; margin-top: auto; text-align: left; text-decoration: underline; cursor: pointer; }
.text-link:hover { color: #765139; }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-block: 36px 32px; padding-left: 1.4rem; }
.process li { padding-left: 5px; }
.footer { padding-block: 27px; color: var(--muted); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer p { font-size: .875rem; }
dialog { width: min(440px, calc(100% - 32px)); padding: 30px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
dialog::backdrop { background: #22291cc0; }
dialog h2 { font-size: 1.75rem; margin: 0 24px 12px 0; }
dialog form > label { display: grid; gap: 5px; margin: 12px 0; font-size: .9375rem; }
dialog input { width: 100%; padding: 8px 10px; border: 1px solid #a6a998; background: #fffdf8; }
dialog .hint { min-height: 0; }
dialog .button { margin-top: 10px; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 35px; height: 35px; border: none; background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; }
#request-status:not(:empty) { color: var(--olive-dark); margin-top: 12px; font-size: .9375rem; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { grid-template-columns: .98fr 1.02fr; gap: 22px; }
  .hero-photo img { aspect-ratio: .97; }
  .hero .text-link { margin-left: 12px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { grid-template-columns: 1fr auto; min-height: 68px; gap: 8px; }
  .top nav { display: none; }
  .brand { font-size: .875rem; gap: 4px; }
  .header-link { font-size: .875rem; padding: 8px 9px; }
  .hero, .section-heading, .planner, .project-grid, .process ol { grid-template-columns: 1fr; }
  .hero { padding-block: 18px 46px; gap: 17px; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo img { aspect-ratio: 1.23; }
  .section-heading { gap: 13px; margin-bottom: 23px; }
  .estimate, .projects, .process { padding-block: 47px 52px; }
  .process ol { gap: 22px; }
  .total { font-size: clamp(1.72rem, 6.3vw, 2.55rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

[hidden]{display:none!important}
.top-inner{display:flex;justify-content:space-between}
nav a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:7px}
h1,.section-heading h1,.process h1{font-family:inherit;font-weight:600;letter-spacing:-.045em;line-height:1.1;max-width:18ch;font-size:clamp(2rem,4vw,3.7rem)}
h2,.total{font-family:inherit}
.brief{padding-block:30px 48px;border-top:1px solid var(--line)}
.brief dl{min-height:0}.brief dt{font-weight:600}.brief dd{margin:0 0 12px}
.project-body a{margin-top:18px}
.planner{display:block;max-width:800px}
.stepnav{display:flex;gap:12px;margin-top:22px}
.stepnav button{padding:9px 18px;border:1px solid var(--olive);background:var(--paper);cursor:pointer}
#next{background:var(--olive);color:white}
#progress{color:var(--muted);margin-bottom:20px}
.summary h3{margin-top:20px}
@media(max-width:700px){.top-inner{display:block;padding-block:12px}.top nav{display:flex;gap:6px 16px;flex-wrap:wrap;margin-top:10px}.hero-photo img{aspect-ratio:1.6}}


