/* Prescott Kitchen Remodel */
/* Prescott Kitchen Remodel
   Layout: dark slate-stone hero holding the answer, a kitchen elevation drawing and the quote card;
   light stone bands below; amber is reserved for the quote CTA and dimension marks. */
:root {
  --ground: #F4F2EF;        /* page: light honed stone */
  --surface: #FFFFFF;
  --ink: #1C1917;
  --muted: #57534E;
  --line: #E2DED9;
  --stone: #292524;         /* hero + footer slab */
  --on-stone: #F5F3F0;
  --on-stone-muted: #CFC8C0;
  --stone-line: #4A443F;
  --amber: #D97706;         /* CTA fill only */
  --amber-hover: #B45309;
  --on-amber: #1C1917;
  --amber-text: #A84F08;    /* amber that passes 4.5:1 on light */
  --amber-soft: #FDF1E0;
  --draw: #B9B1A8;          /* elevation drawing linework */
  --error: #B42318;
  --focus: #A84F08;
  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 6px;
  --wrap: 1160px;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: 96px;
}
@media not all {
  :root:not([data-theme="light"]) {
    --ground: #1A1816; --surface: #24211E; --ink: #F2EFEC; --muted: #B8B0A8; --line: #3A3531;
    --stone: #100F0E; --on-stone: #F2EFEC; --on-stone-muted: #B8B0A8; --stone-line: #34302C;
    --amber: #F59E0B; --amber-hover: #FBBF24; --on-amber: #1C1917; --amber-text: #F6B84E; --amber-soft: #33270F;
    --draw: #8F877F; --error: #F98A80; --focus: #F6B84E;
    color-scheme: dark;
  }
}
:root[data-theme="dark-off"] {
  --ground: #1A1816; --surface: #24211E; --ink: #F2EFEC; --muted: #B8B0A8; --line: #3A3531;
  --stone: #100F0E; --on-stone: #F2EFEC; --on-stone-muted: #B8B0A8; --stone-line: #34302C;
  --amber: #F59E0B; --amber-hover: #FBBF24; --on-amber: #1C1917; --amber-text: #F6B84E; --amber-soft: #33270F;
  --draw: #8F877F; --error: #F98A80; --focus: #F6B84E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--body); }
img, svg { max-width: 100%; }
p { margin: 0; }
a { color: var(--amber-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 450; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.28rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-text); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--amber); border-radius: var(--radius); background: var(--amber); color: var(--on-amber);
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--on-amber); }
.btn.line { background: transparent; color: inherit; border-color: currentColor; }
.btn.line:hover { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--surface); }
.head-row { display: flex; align-items: center; gap: var(--space-3); min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font: 500 1.22rem/1.05 var(--display); }
.brand-name small { display: block; font: 500 0.62rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 10px; border-radius: 4px; white-space: nowrap; }
.nav a:hover { background: var(--ground); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.head-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ink); line-height: 1.15; padding-left: var(--space-2); border-left: 1px solid var(--line); }
.head-call span { font: 500 0.66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.head-call strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 14px; background: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); font: 600 0.95rem var(--body); cursor: pointer; }
@media (max-width: 1240px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .head-call { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
    flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 18px 30px -24px rgba(0,0,0,.4); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: 12px; }
}

/* hero slab */
.hero { background: var(--stone); color: var(--on-stone); padding-block: var(--space-5) var(--space-5); }
.hero a:not(.btn) { color: var(--on-stone); }
.hero .eyebrow { color: var(--amber); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); grid-template-areas: "copy form" "draw form"; column-gap: var(--space-5); row-gap: var(--space-4); align-items: start; }
.hero-grid.no-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy"; }
.hero-copy { grid-area: copy; display: grid; gap: var(--space-3); min-width: 0; }
.hero-draw { grid-area: draw; min-width: 0; }
.hero .quote { grid-area: form; }
.crumbs { font: 500 0.78rem var(--mono); letter-spacing: .04em; color: var(--on-stone-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.answer { font-size: 1.15rem; line-height: 1.6; color: var(--on-stone); max-width: 60ch; }
.meta-line { font: 400 0.8rem var(--mono); color: var(--on-stone-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; color: var(--on-stone-muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }
.elev { display: block; width: 100%; height: auto; color: var(--draw); }
.elev text { font: 500 11px var(--mono); fill: var(--on-stone-muted); letter-spacing: .04em; }
.elev .dim { stroke: var(--amber); }
.elev .dimt { fill: var(--amber); }
.draw-cap { margin-top: 10px; font: 400 0.78rem var(--mono); color: var(--on-stone-muted); }
@media (max-width: 900px) {
  .hero { padding-block: var(--space-4); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "draw"; row-gap: var(--space-4); }
}

/* quote card */
.quote { background: var(--surface); color: var(--ink); border-radius: 10px; padding: var(--space-3); display: grid; gap: 14px; min-width: 0; box-shadow: 0 30px 60px -36px rgba(0,0,0,.65); border-top: 4px solid var(--amber); }
.quote h2 { font-size: 1.55rem; }
.quote .sub { color: var(--muted); font-size: 0.98rem; margin-top: -6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; font: 400 1rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid color-mix(in srgb, var(--muted) 55%, transparent); border-radius: var(--radius); padding: 10px 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 0.86rem; font-weight: 600; }
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
@media (max-width: 440px) { .two { grid-template-columns: minmax(0,1fr); } }
.more { border-top: 1px solid var(--line); padding-top: 10px; }
.more summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--amber-text); min-height: 32px; display: flex; align-items: center; gap: 8px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font: 500 1.1rem/1 var(--mono); width: 14px; }
.more[open] summary::before { content: "−"; }
.more-body { display: grid; gap: 12px; padding-top: 10px; }
.opt { font-weight: 400; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--amber-hover); }
.quote .btn { width: 100%; font-size: 1.05rem; }
.form-note { font-size: 0.92rem; padding: 10px 12px; border-radius: var(--radius); background: var(--amber-soft); color: var(--ink); }
.form-summary { font-size: 0.92rem; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--error); color: var(--error); font-weight: 600; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* proof strip */
.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding-block: var(--space-3); padding-inline: var(--space-3); display: grid; gap: 4px; border-left: 1px solid var(--line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof strong { font: 500 1.7rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.proof span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .proof ul { grid-template-columns: repeat(2, minmax(0,1fr)); } .proof li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .proof li:nth-child(-n+2) { border-top: 0; } }

/* bands */
.band { padding-block: var(--space-5); }
.band.alt { background: var(--alt, var(--surface)); border-block: 1px solid var(--line); }
.band-head { display: grid; gap: 10px; margin-bottom: var(--space-4); max-width: 68ch; }
.band-head p { color: var(--muted); font-size: 1.05rem; }
.prose-grid, .prose-grid.solo { display: block; }
.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose p { font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card a { font-weight: 700; font-size: 0.95rem; }

.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.area { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.area:hover { border-color: var(--amber); }
.area strong { font: 500 1.4rem/1.1 var(--display); }
.area span { color: var(--muted); font-size: 0.95rem; }
.area .go { color: var(--amber-text); font-weight: 700; font-size: 0.92rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 76ch; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 20px; height: 20px; background: var(--amber-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='m8 12.5 2.8 2.8L16.5 9'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='m8 12.5 2.8 2.8L16.5 9'/%3E%3C/svg%3E") center/contain no-repeat; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: var(--space-2); border-top: 1px solid var(--line); }
.steps li::before { content: "Step " counter(s); font: 500 0.74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.steps p { color: var(--muted); }

.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { font: 500 0.72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ground); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { margin-top: 12px; color: var(--muted); font-size: 0.9rem; max-width: 80ch; }

/* estimator */
.est { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: var(--space-4); }
@media (max-width: 780px) { .est { grid-template-columns: minmax(0,1fr); padding: var(--space-3); gap: var(--space-3); } }
.est-left { display: grid; gap: var(--space-3); }
.est fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.est legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.95rem; background: var(--ground); transition: background-color .15s ease, border-color .15s ease; }
.chips input:checked + span { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.est .consent { font-size: 0.98rem; color: var(--ink); }
.est-out { display: grid; gap: 10px; align-content: center; background: var(--stone); color: var(--on-stone); border-radius: var(--radius); padding: var(--space-3); }
.est-out .eyebrow { color: var(--amber); }
.est-out .range { font: 500 clamp(1.8rem, 1.2rem + 2vw, 2.5rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.est-out p { color: var(--on-stone-muted); font-size: 0.92rem; }

/* faq */
.faq { display: grid; max-width: 80ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 20px 0; font: 500 1.18rem/1.3 var(--display); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--amber-text); flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 70ch; }

/* closing band */
.close-band { background: var(--amber-soft); border-top: 1px solid var(--line); padding-block: var(--space-5); }
.close-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.close-grid p { color: var(--muted); margin-top: 8px; }
.close-grid .phone-big { font: 500 1.7rem var(--display); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }

/* footer */
.foot { background: var(--stone); color: var(--on-stone-muted); padding-block: var(--space-5) var(--space-4); font-size: 0.95rem; }
.foot a { color: var(--on-stone); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-4); }
@media (max-width: 780px) { .foot-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-3); } }
.foot h2 { font: 500 0.72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-stone); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot address { font-style: normal; margin-top: 12px; line-height: 1.7; }
.disclosure { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--stone-line); font-size: 0.84rem; max-width: 100ch; }

/* phone action bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line);
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar .btn.line { color: var(--ink); }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* style-idea photos beside a section's text */
.media-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--space-5); align-items: start; }
.media-grid.landscape { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.photo-fig { margin: 0; display: grid; gap: 10px; min-width: 0; }
.photo-fig img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: var(--radius); background: var(--line); }
.photo-fig figcaption { font: 400 0.8rem/1.5 var(--mono); color: var(--muted); }
@media (max-width: 860px) {
  .media-grid, .media-grid.landscape { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .photo-fig img { aspect-ratio: 4 / 3; object-fit: cover; }
}

/* home hero photo: full-bleed kitchen behind a stone scrim so the copy stays readable */
.hero.has-photo { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-6); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 45%; z-index: -2; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--stone) 88%, transparent) 0%, color-mix(in srgb, var(--stone) 64%, transparent) 46%, color-mix(in srgb, var(--stone) 12%, transparent) 100%); }
.hero.has-photo .hero-grid { max-width: 720px; }
.hero.has-photo { min-height: min(640px, 80vh); display: flex; align-items: center; }
.hero.has-photo > .wrap { width: 100%; }
.hero.has-photo .answer { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
@media (max-width: 900px) {
  .hero.has-photo { padding-block: var(--space-4); }
  .hero.has-photo::before { background: color-mix(in srgb, var(--stone) 74%, transparent); }
  .hero.has-photo { min-height: 0; }
}

/* contact section at the bottom of every page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: var(--space-5); align-items: start; }
.contact-copy { display: grid; gap: var(--space-2); min-width: 0; max-width: 52ch; }
.contact-copy > p { color: var(--muted); }
.contact-pair { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; align-items: baseline; margin-top: var(--space-2); }
.contact-pair .lbl { font: 500 0.72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-pair .mail-big { color: var(--amber-text); font-weight: 600; overflow-wrap: anywhere; }
.close-band .quote { box-shadow: 0 24px 50px -34px rgba(0,0,0,.45); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } }
.quote { scroll-margin-top: 92px; }

/* style gallery above the contact section */
.gallery-band { background: var(--surface); border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); }
.gallery figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--line); transition: transform .3s ease, filter .3s ease; }
.gallery figure:hover img { filter: brightness(1.04); }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); } }

/* inner-page photo heroes are shorter than the home hero */
.hero.has-photo.sub { min-height: min(500px, 70vh); padding-block: var(--space-5); }
.hero.has-photo.sub .crumbs a { color: var(--on-stone); }
@media (max-width: 900px) { .hero.has-photo.sub { min-height: 0; padding-block: var(--space-4); } }

/* ---- lighter look: light scrim over hero photos, dark text; light footer ---- */
:root { --scrim: #FBFAF8; --foot-bg: #ECE8E3; }
@media not all { :root:not([data-theme="light"]) { --scrim: #1A1816; --foot-bg: #141210; } }
:root[data-theme="dark-off"] { --scrim: #1A1816; --foot-bg: #141210; }

.hero { background: var(--ground); color: var(--ink); }
.hero a:not(.btn) { color: var(--ink); }
.hero .eyebrow { color: var(--amber-text); }
.hero .answer { color: var(--ink); text-shadow: none; }
.hero .crumbs, .hero .meta-line, .hero .facts { color: var(--muted); }
.hero .facts svg { color: var(--amber-text); }
.hero .btn.line { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.hero.has-photo .answer { text-shadow: none; }
.hero.has-photo.sub .crumbs a { color: var(--ink); }
.hero.has-photo::before {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--scrim) 94%, transparent) 0%,
    color-mix(in srgb, var(--scrim) 84%, transparent) 42%,
    color-mix(in srgb, var(--scrim) 30%, transparent) 72%,
    color-mix(in srgb, var(--scrim) 0%, transparent) 100%); }
@media (max-width: 900px) {
  .hero.has-photo::before { background: color-mix(in srgb, var(--scrim) 86%, transparent); }
}

.foot { background: var(--foot-bg); color: var(--muted); border-top: 1px solid var(--line); }
.foot a { color: var(--ink); }
.foot h2 { color: var(--ink); }
.disclosure { border-top-color: var(--line); }

.est-out { background: var(--ground); color: var(--ink); border: 1px solid var(--line); }
.est-out .eyebrow { color: var(--amber-text); }
.est-out p { color: var(--muted); }
.close-band { background: var(--ground); }

/* ---- warm light-brown construction look ---- */
:root {
  --ground: #FFFFFF; --surface: #FFFFFF; --ink: #2B2420; --muted: #5F5650; --line: #E7E3DF;
  --stone: #FFFFFF; --on-stone: #2E2219; --on-stone-muted: #66553F; --stone-line: #E0D3C3;
  --amber: #8E5F38; --amber-hover: #74492A; --on-amber: #FFFFFF; --amber-text: #82552F; --amber-soft: #FBF7F2;
  --draw: #CDBFB0; --focus: #82552F; --scrim: #FFFFFF; --foot-bg: #F8F7F5; --alt: #FAF9F7; --bar: #5A3E2B; --on-bar: #FBF5EE;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
}
@media not all {
  :root:not([data-theme="light"]) {
    --ground: #1E1915; --surface: #28211B; --ink: #F3ECE4; --muted: #C4B5A5; --line: #3D332A;
    --stone: #18130F; --on-stone: #F3ECE4; --on-stone-muted: #C4B5A5; --stone-line: #3A3028;
    --amber: #D3A574; --amber-hover: #E2BA8D; --on-amber: #1E1915; --amber-text: #DDB487; --amber-soft: #33281E;
    --draw: #8F8274; --focus: #DDB487; --scrim: #1E1915; --foot-bg: #17120E; --alt: #241E19; --bar: #120E0B; --on-bar: #EADFD2;
  }
}
:root[data-theme="dark-off"] {
  --ground: #1E1915; --surface: #28211B; --ink: #F3ECE4; --muted: #C4B5A5; --line: #3D332A;
  --stone: #18130F; --on-stone: #F3ECE4; --on-stone-muted: #C4B5A5; --stone-line: #3A3028;
  --amber: #D3A574; --amber-hover: #E2BA8D; --on-amber: #1E1915; --amber-text: #DDB487; --amber-soft: #33281E;
  --draw: #8F8274; --focus: #DDB487; --scrim: #1E1915; --foot-bg: #17120E; --alt: #241E19; --bar: #120E0B; --on-bar: #EADFD2;
}
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
h1 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.4rem; }
.brand-name { font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.btn { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.92rem; }
.quote { border-top-color: var(--amber); }
.card { border-top: 3px solid var(--amber); }
@media (max-width: 480px) { .brand-name { font-size: 1.1rem; } .brand-name small { letter-spacing: 0.06em; } .head-row { gap: 12px; } .menu-btn { flex-shrink: 0; } }
.proof { background: var(--surface); }
.proof strong { color: var(--amber-text); text-transform: uppercase; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.phases li { display: grid; gap: 8px; align-content: start; padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.phases .ph-n { font: 700 2.4rem/1 var(--display); color: var(--amber-text); }
.phases p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 1000px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: minmax(0, 1fr); } }

/* ---- white site with warm brown boxes (light only) ---- */
:root { color-scheme: light; --tan: #EBDDCB; --tan-line: #DCC7AE; --brown: #8E5F38; --on-brown: #FFFFFF; }
.proof { background: var(--surface); border-bottom: 0; padding-block: var(--space-3); }
.proof ul { gap: var(--space-2); }
.proof li, .proof li:first-child { background: var(--tan); border: 1px solid var(--tan-line); border-radius: var(--radius); padding: var(--space-3); }
.card { background: var(--tan); border: 1px solid var(--tan-line); border-top: 4px solid var(--brown); border-radius: var(--radius); padding: var(--space-3); }
.phases li { background: var(--tan); border-color: var(--tan-line); }
.band.alt { background: var(--surface); }
.est-out { background: var(--brown); color: var(--on-brown); border: 0; }
.est-out .eyebrow, .est-out p { color: #F6EBDD; }
.close-band { background: var(--tan); border-top: 1px solid var(--tan-line); }
.close-band .quote { background: var(--surface); }
.foot { background: var(--surface); }
@media (max-width: 820px) { .proof li, .proof li:nth-child(-n+2) { border-top: 1px solid var(--tan-line); padding-left: var(--space-3); } }

/* brown header, same color as the estimate button */
.site-head { background: var(--brown); border-bottom: 0; }
body::before { background: var(--brown); }
.site-head .brand, .site-head .brand-name { color: #FFFFFF; }
.site-head .brand-name small { color: #F6EADB; }
.site-head .brand svg rect:first-child { fill: #FFFFFF !important; }
.site-head .brand svg rect:not(:first-child), .site-head .brand svg path { stroke: var(--brown) !important; }
.site-head .brand svg rect[style*="amber"] { fill: var(--brown) !important; stroke: none !important; }
.site-head .nav a { color: #FFFFFF; }
.site-head .nav a:hover { background: var(--amber-hover); }
.site-head .nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #FFFFFF; }
.site-head .head-call { color: #FFFFFF; border-left-color: rgba(255,255,255,.35); }
.site-head .head-call span { color: #F6EADB; }
.site-head .menu-btn { color: #FFFFFF; border-color: rgba(255,255,255,.6); }
.site-head :focus-visible { outline-color: #FFFFFF; }
@media (max-width: 1240px) {
  .site-head .nav { background: var(--brown); border-bottom: 0; }
  .site-head .nav a { border-bottom-color: rgba(255,255,255,.25); }
  .site-head .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #FFFFFF; }
  .site-head .head-row { position: static; }
  .site-head .nav { left: 0; right: 0; padding: 4px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
  .site-head .nav a { padding: 14px 4px; }
  .site-head .nav a[aria-current="page"] { padding-left: 12px; }
}


/* embedded Zuops lead form + header consultation button */
.quote.embed { gap: 10px; }
.lead-frame { display: block; width: 100%; height: 1040px; border: 0; border-radius: 12px; background: var(--surface); }
@media (max-width: 900px) { .lead-frame { height: 960px; } }
.site-head .head-cta { background: #FFFFFF; color: var(--brown); border-color: #FFFFFF; min-height: 42px; padding: 10px 16px; font-size: 0.82rem; white-space: nowrap; flex-shrink: 0; }
.site-head .head-cta:hover { background: #F6EADB; border-color: #F6EADB; color: var(--brown); }
@media (max-width: 1240px) {
  .site-head .head-cta { margin-left: auto; order: 2; }
  .site-head .menu-btn { margin-left: 0; order: 3; }
}
@media (max-width: 640px) {
  .site-head .head-cta { display: none; } /* the bottom action bar carries it on phones */
  .quote.embed { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: var(--space-3) 0 0; border-radius: 0; box-shadow: none; }
  .quote.embed h2, .quote.embed .sub { padding-inline: 16px; }
  .lead-frame { border-radius: 0; height: 1090px; }
}

/* header: logo, links, consultation button and phone stay on one tidy line */
.site-head .wrap { max-width: 1320px; }
.head-call { flex-shrink: 0; white-space: nowrap; flex-direction: row; align-items: center; gap: 8px; }
.head-call span { display: none; }
.head-call::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat; }
.site-head .nav a { padding-inline: 9px; }
@media (max-width: 1240px) {
  .site-head .head-cta { margin-left: auto; order: 2; }
  .site-head .head-call { order: 3; }
  .site-head .menu-btn { margin-left: 0; order: 4; }
}
@media (min-width: 1021px) and (max-width: 1240px) { .site-head .head-call { display: flex; } }
@media (max-width: 760px) { .site-head .head-cta { display: none; } .site-head .menu-btn { margin-left: auto; } .mobile-bar { display: flex; } body { padding-bottom: 76px; } }
@media (min-width: 641px) and (max-width: 760px) {
  .mobile-bar { gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px; }
  .mobile-bar .btn { flex: 1; } .mobile-bar .btn.line { color: var(--ink); }
}
.disclosure strong { color: var(--ink); }
.mobile-bar .btn { white-space: nowrap; padding-inline: 10px; letter-spacing: 0.03em; font-size: 0.86rem; }
