/* REDO Properties. Design tokens and rules: docs/superpowers/specs/2026-10-05-redo-top-tier-redesign.md section 3.
   Colors and fonts are the ones Kamden chose for the Wix-era site (main, public/index.html, 2026-10-03), exact values
   (Kamden 2026-10-05: "I'd rather keep what I had"). Gold is kept for review stars only (Kamden 2026-10-05).
   Light theme only (DECISIONS.md). */
:root {
  --charcoal: #2c2c2c;
  --charcoal-deep: #1a1a1a;
  --terra: #c4703f;
  --terra-light: #d4885a;
  --terra-dark: #a85c30;
  --cream: #f7f3ee;
  --cream-dark: #ede7de;
  --warm-gray: #8a8480;
  --warm-gray-light: #b5b0ab;
  --text-primary: #2c2c2c;
  --text-secondary: #5a5652;
  --white: #ffffff;
  --gold: #F2B230;                 /* review stars (kept from the redesign, Kamden 2026-10-05) */
  --on-dark: rgba(255, 255, 255, .75);
  --error: #c62828;
  --ok: #2e7d32;
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --nav-h: 72px;
  --r: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.7; color: var(--text-secondary);
  background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--terra-dark); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
[data-render]:empty { display: none; }   /* no script: no empty bands */
.facts:has(> ul:empty) { display: none; }
::selection { background: rgba(196, 112, 63, .2); color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--terra-dark); outline-offset: 3px; }
.facts :focus-visible, .estimate-copy :focus-visible, .foot :focus-visible, .gp-cta :focus-visible { outline-color: var(--terra-light); }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--charcoal); color: var(--white); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
/* Type: Cormorant Garamond for display, DM Sans for text (the 2026-10-03 site) */
.h1, .h2, .h3 { font-family: var(--font-display); color: var(--charcoal); font-weight: 500; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; text-wrap: balance; }
.h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.lede { font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.8; max-width: 44ch; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.sec-head p { max-width: 58ch; line-height: 1.8; }
/* Buttons (the 2026-10-03 site: terra, uppercase, tracked, 2 px corners) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px;
  border-radius: 2px; font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .2s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-go { background: var(--terra); color: var(--white); box-shadow: 0 4px 20px rgba(196, 112, 63, .25); }
.btn-go:hover { background: var(--terra-dark); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--terra-dark); }
.btn-line { border: 1.5px solid var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-line:hover { background: var(--charcoal); color: var(--white); }
.btn-text { padding: 0; min-height: 44px; color: var(--charcoal); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
.btn-text svg { fill: var(--terra); }
.btn-text:hover { color: var(--terra-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .06); box-shadow: 0 1px 24px rgba(0, 0, 0, .04); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav-logo { flex: none; display: block; }
.nav-logo img { width: 76px; height: 40px; }
.nav-links { display: flex; gap: 2.2rem; margin-left: 8px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .3s, border-color .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--charcoal); border-bottom-color: var(--terra); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .02em; min-height: 44px; }
.nav-phone .ico { stroke: var(--terra); }
.nav-phone:hover { color: var(--terra-dark); }
.nav-act .btn { min-height: 44px; padding: 0 22px; font-size: .75rem; letter-spacing: .12em; background: var(--charcoal); box-shadow: none; }
.nav-act .btn:hover { background: var(--terra-dark); }
.nav-menu { width: 46px; height: 46px; display: none; place-items: center; border-radius: var(--r); }
.nav-menu-bars, .nav-menu-bars::before, .nav-menu-bars::after { display: block; width: 22px; height: 1.5px; background: var(--charcoal); transition: transform .2s; }
.nav-menu-bars { position: relative; }
.nav-menu-bars::before, .nav-menu-bars::after { content: ""; position: absolute; left: 0; }
.nav-menu-bars::before { top: -7px; } .nav-menu-bars::after { top: 7px; }
.nav-menu[aria-expanded="true"] .nav-menu-bars { background: transparent; }
.nav-menu[aria-expanded="true"] .nav-menu-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-menu[aria-expanded="true"] .nav-menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav-panel { border-top: 1px solid var(--cream-dark); background: var(--white); padding: 8px var(--gut) 24px; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.nav-panel a:not(.btn) { display: block; padding: 12px 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1.3; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.nav-panel .btn { margin-top: 20px; width: 100%; }
/* Hero: a clean photo frame, the house level (Kamden 2026-10-05) */
.hero { background: var(--cream); }
.hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 96px) clamp(56px, 7vw, 112px); }
.hero-h { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--charcoal); text-wrap: balance; }
.hero-h em { font-style: italic; color: var(--terra); }
.hero-lede { margin-top: 24px; font-size: 1.05rem; line-height: 1.7; max-width: 40ch; color: var(--text-secondary); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: .9rem; color: var(--text-secondary); }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating a, .rating span.src { color: var(--text-secondary); }
.hero-photo { position: relative; margin: 0; }
.hero-photo picture, .hero-photo video { display: block; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: var(--cream-dark); box-shadow: 0 20px 60px rgba(0, 0, 0, .08); }
.hero-photo img, .hero-photo video { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: rise .9s var(--ease) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
.load-fail p { padding: 16px; border: 2px solid var(--error); border-radius: var(--r); margin-bottom: 32px; }
/* Facts */
.facts { background: var(--charcoal); color: var(--on-dark); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 4px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--font-display); color: var(--terra-light); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1.05; }
.facts strong svg { width: .62em; height: .62em; margin-left: .22em; fill: var(--gold); vertical-align: .06em; }
.facts span { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: rgba(255, 255, 255, .6); }
/* Services */
.services { background: var(--cream); }
.services-in { padding-block: clamp(5rem, 10vw, 8rem); }
.services-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 2rem; margin-bottom: clamp(32px, 4vw, 56px); }
.services-head .h2 { flex: 1 1 320px; }
.services-head .lede { flex: 0 1 540px; }
.expertise { background: var(--charcoal); color: var(--on-dark); }
.expertise .h2 { color: var(--white); }
.expertise .lede { color: rgba(255, 255, 255, .72); }
.xp-in { padding-block: clamp(5rem, 10vw, 8rem); }
.xp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.xp-card { display: grid; gap: 12px; align-content: start; padding: 28px 24px 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-top: 3px solid var(--terra); border-radius: var(--r); }
.xp-ico { width: 40px; height: 40px; fill: none; stroke: var(--terra-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.xp-card .h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--white); }
.xp-card p { font-size: .95rem; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.svc-card { display: grid; grid-template-rows: auto 1fr; align-content: start; background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 18px rgba(0, 0, 0, .04); }
.svc-card picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream-dark); }
.svc-card img { width: 100%; height: 100%; object-fit: cover; }
.svc-card > div { display: grid; gap: 10px; align-content: start; padding: 22px 26px 28px; border-top: 3px solid var(--terra); }
.svc-card .h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--charcoal); }
.svc-card p { font-size: .95rem; line-height: 1.7; max-width: 44ch; }
.svc-foot { margin-top: clamp(32px, 4vw, 56px); }
/* Proof */
/* Gallery: the 2026-10-03 site's gallery (3 columns, 280 px rows, tall and wide tiles, captions on the photo),
   plus filters, before and after, video and a lightbox. Home section and /gallery/ share it. */
.gal { background: var(--white); }
.gal > .wrap { padding-block: clamp(5rem, 10vw, 8rem); }
.gal-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 2rem; margin-bottom: 2rem; }
.gal-top .h2, .gal-top .h1 { flex: 1 1 320px; }
.gal-top p { flex: 0 1 540px; line-height: 1.8; }
.gp-head .h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.08; letter-spacing: -0.01em; }
.filters { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 2.25rem; border-bottom: 1px solid rgba(138, 132, 128, .35); }
.filters button { min-height: 44px; padding: 0 2px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--text-secondary); font-size: .95rem; font-weight: 500; transition: color .3s, border-color .3s; }
.filters button:hover { color: var(--charcoal); }
.filters button[aria-pressed="true"] { color: var(--charcoal); border-bottom-color: var(--terra); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.5rem; align-items: start; }
.card { position: relative; min-width: 0; margin: 0; }
.card.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
.card.is-lead .card-btn { aspect-ratio: 3 / 2; }
.card-btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--cream-dark); text-align: left; cursor: zoom-in; }
.card-btn picture, .card-btn img { width: 100%; height: 100%; }
.card-btn img { object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-btn img { transform: scale(1.03); }
.card-btn picture { display: block; }
.card-cap { padding-top: .9rem; display: grid; gap: 2px; }
.card-cap b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; color: var(--charcoal); }
.card-cap span { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; }
.card-cap p { margin-top: 6px; font-size: .95rem; line-height: 1.65; max-width: 44ch; }
.card.is-lead .card-cap { padding: 0 0 .4rem; }
.card.is-lead .card-cap b { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.card.is-lead .card-cap p { margin-top: 12px; font-size: 1rem; }
.card.is-ph { aspect-ratio: 4 / 3; }
.card-tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--charcoal); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.card-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.card:hover .card-zoom, .card-btn:focus-visible .card-zoom { opacity: 1; transform: none; }
.card-zoom svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.card-play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.card-play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); }
.card-play svg { width: 22px; height: 22px; fill: var(--terra); margin-left: 4px; }
.card .ph { position: absolute; inset: 0; }
.grid-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--warm-gray); border-radius: var(--r); background: var(--white); display: grid; gap: 14px; justify-items: start; color: var(--text-primary); }
.gal-more { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.gal-more span { font-size: .9rem; }
/* Gallery page: videos and the closing call to action */
.gp-videos { margin-top: clamp(4rem, 8vw, 6rem); }
.vid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.vid { margin: 0; display: grid; gap: 10px; }
.vid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--charcoal); border-radius: var(--r); }
.vid figcaption b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--charcoal); }
.vid figcaption span { font-size: .85rem; }
.gp-cta { background: var(--charcoal); color: var(--on-dark); }
.gp-cta .wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.gp-cta .h2 { color: var(--white); }
.gp-cta p { margin-top: 8px; }
.gp-cta a:not(.btn) { color: var(--terra-light); }
/* Before and after compare */
.cmp { position: relative; overflow: hidden; --p: 50%; touch-action: pan-y; user-select: none; }
.cmp img { width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); display: grid; place-items: center; }
.cmp-knob svg { width: 22px; height: 22px; fill: none; stroke: var(--charcoal); stroke-width: 2; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp:focus-within .cmp-knob { outline: 3px solid var(--terra); outline-offset: 2px; }
.cmp-lab { position: absolute; top: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--charcoal); padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.cmp-lab.b { left: 10px; } .cmp-lab.a { right: 10px; }
/* Reviews: gold stars and the gold rule over the featured quote (kept, Kamden 2026-10-05) */
.reviews { background: var(--white); }
.reviews .wrap { padding-block: clamp(5rem, 10vw, 8rem); }
.awards { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.awards img { width: clamp(64px, 8vw, 104px); height: auto; }
.awards a, .angi a { display: inline-block; transition: transform .2s; }
.awards a:hover, .angi a:hover { transform: translateY(-2px); }
.awards-note { margin: 14px 0 clamp(32px, 4vw, 48px); font-size: .9rem; font-weight: 500; color: var(--text-primary); }
.rv-feat { border-top: 2px solid var(--gold); padding-top: 32px; display: grid; gap: 20px; max-width: 980px; }
.rv-feat .stars svg, .rv .stars svg { width: 18px; height: 18px; }
.rv-feat blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.3; font-weight: 500; font-style: italic; color: var(--charcoal); text-wrap: pretty; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; margin-top: 48px; }
.rv { background: var(--cream); border-radius: var(--r); padding: 2.2rem 2rem 2rem; display: grid; gap: 16px; align-content: start; }
.rv blockquote p { color: var(--text-secondary); font-size: .95rem; line-height: 1.8; font-style: italic; }
.rv-by { font-size: .8rem; color: var(--text-secondary); display: grid; gap: 2px; }
.rv-by b { color: var(--charcoal); font-size: .9rem; font-weight: 600; }
.rv-by button { justify-self: start; color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; min-height: 32px; }
.angi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: -8px 0 28px; color: var(--text-primary); font-weight: 500; font-size: .9rem; }
.angi img { width: 129px; height: 40px; }
/* About */
.about { background: var(--cream); }
.about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(5rem, 10vw, 8rem); }
.about-copy { display: grid; gap: 18px; max-width: 62ch; font-size: 1rem; line-height: 1.85; }
.about-copy p:last-child { color: var(--charcoal); font-weight: 600; }
/* Estimate */
.estimate { background: var(--charcoal); color: var(--on-dark); }
.estimate-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(5rem, 10vw, 8rem); align-items: start; }
.estimate-copy { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); }
.estimate-copy .h2 { color: var(--white); }
.estimate-copy a { color: var(--terra-light); }
.est-points { display: grid; gap: 12px; margin-top: 8px; }
.est-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--white); }
.est-points svg { width: 22px; height: 22px; flex: none; margin-top: 2px; stroke: var(--terra-light); fill: none; stroke-width: 2.4; }
.est-call { margin-top: 16px; display: grid; gap: 4px; }
.est-call a { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 500; text-decoration: none; }
.estimate-card { background: var(--white); color: var(--text-secondary); border-radius: var(--r); padding: clamp(20px, 3.2vw, 44px); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); min-width: 0; }
/* Form */
.est { display: grid; gap: 0; }
.est-step { border: 0; min-width: 0; display: grid; gap: 18px; }
.est-legend { float: left; width: 100%; font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 1.8rem); font-weight: 600; color: var(--charcoal); line-height: 1.2; padding: 0; }
.est-legend + * { clear: both; }
.est-hint { margin-top: -12px; color: var(--text-secondary); font-size: .9rem; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.row-city { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.fld { display: grid; gap: 6px; min-width: 0; align-content: start; }
.fld > label, .grp-label { font-size: .95rem; font-weight: 600; color: var(--charcoal); }
.req, .opt { font-weight: 400; color: var(--text-secondary); font-size: .75rem; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--warm-gray); border-radius: 3px;
  background: var(--white); color: var(--text-primary); font-size: 16px; line-height: 1.3; transition: border-color .3s, box-shadow .3s;
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%238a8480'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--warm-gray); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196, 112, 63, .2); }
.fld [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.cf-turnstile { margin: 0; }
.cf-turnstile:not(:empty) { margin-top: 18px; }
.est-actions { display: flex; gap: 12px; margin-top: 24px; }
.est-actions .btn { flex: 1; }
.est-actions .est-back { flex: 0 0 auto; }
.form-status { font-size: .9rem; min-height: 0; }
.form-status:not(:empty) { margin-top: 16px; padding: 12px 14px; border-radius: 3px; }
.form-status.error { background: rgba(198, 40, 40, .08); color: var(--error); border: 1px solid rgba(198, 40, 40, .15); }
.form-status.success { background: rgba(46, 125, 50, .08); color: var(--ok); border: 1px solid rgba(46, 125, 50, .15); }
.form-status.info { background: var(--cream); color: var(--text-primary); }
/* Estimator (only when the page script runs) */
.est-head { margin-bottom: 24px; display: grid; gap: 10px; }
.est-count { font-size: .85rem; color: var(--text-secondary); }
.est-bar { height: 4px; border-radius: 2px; background: var(--cream-dark); overflow: hidden; }
.est-bar span { display: block; height: 100%; background: var(--terra); width: 0; transition: width .3s var(--ease); }
.is-wizard .est-step:not(.is-on) { display: none; }
.is-wizard #fldType { display: none; }
.is-wizard .est-submit { display: none; }
.is-wizard.on-last .est-submit { display: inline-flex; }
.is-wizard.on-last .est-next { display: none; }
.grp { border: 0; min-width: 0; display: grid; gap: 10px; }
.grp-label { padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-box { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--warm-gray); border-radius: var(--r); background: var(--white); transition: border-color .2s, background-color .2s; }
.choice-box b { color: var(--text-primary); font-weight: 500; font-size: .95rem; line-height: 1.25; }
.choice-box span { font-size: .85rem; color: var(--text-secondary); line-height: 1.45; }
.choice-box::after { content: none; }
.choice input:checked + .choice-box { background: var(--charcoal); border-color: var(--charcoal); }
.choice input:checked + .choice-box b { color: var(--white); }
.choice input:focus-visible + .choice-box, .pill input:focus-visible + span { outline: 3px solid var(--terra-dark); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border: 1px solid var(--warm-gray); border-radius: var(--r); background: var(--white); color: var(--text-primary); font-size: .95rem; font-weight: 500; line-height: 1.25; }
.pill input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.count { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--cream-dark); }
.count label { font-size: .9rem; color: var(--text-primary); }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--warm-gray); display: grid; place-items: center; color: var(--charcoal); }
.stepper button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.stepper input { width: 44px; text-align: center; border: 0; font-weight: 600; font-size: 16px; color: var(--charcoal); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.drop { border: 2px dashed var(--warm-gray-light); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--cream); transition: background-color .15s, border-color .15s; }
.drop.is-over { background: var(--cream-dark); border-color: var(--terra); }
.drop-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.drop-btns label { cursor: pointer; }
.drop input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop input[type="file"]:focus-visible + .btn { outline: 3px solid var(--terra-dark); outline-offset: 3px; }
.drop small { color: var(--text-secondary); font-size: .85rem; }
@media (pointer: fine) { .drop .cam { display: none; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--cream); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .72); color: var(--white); display: grid; place-items: center; }
.thumb button svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.6; fill: none; }
.thumb.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .6); }
.sum { display: grid; gap: 0; border-top: 1px solid var(--cream-dark); }
.sum-sec { padding: 14px 0; border-bottom: 1px solid var(--cream-dark); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.sum-sec h3 { font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.sum-sec dl { grid-column: 1; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 2px 12px; font-size: .9rem; }
.sum-sec dt { color: var(--text-secondary); }
.sum-sec dd { color: var(--text-primary); overflow-wrap: anywhere; }
.sum-sec .edit { grid-column: 2; grid-row: 1; color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: .9rem; min-height: 32px; }
.no-price { margin-top: 18px; padding: 14px 16px; background: var(--cream); border-radius: var(--r); font-size: .9rem; color: var(--text-primary); }
.est-done { display: grid; gap: 14px; justify-items: start; }
.est-done h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.4vw, 2.1rem); font-weight: 500; color: var(--charcoal); }
.est-done:focus { outline: none; }
.est-done .note { padding: 12px 14px; background: var(--cream); border-radius: var(--r); color: var(--text-primary); }
/* Footer */
.foot { background: var(--charcoal-deep); color: rgba(255, 255, 255, .55); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding-block: 56px 40px; font-size: .85rem; }
.foot-logo { width: 84px; height: 44px; filter: invert(1); }
.foot-brand { display: grid; gap: 14px; }
.foot a { color: rgba(255, 255, 255, .8); }
.foot a:hover { color: var(--terra-light); }
.foot-phone { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-content: start; }
.foot-links a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; font-size: .75rem; color: rgba(255, 255, 255, .5); }
/* Mobile dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--cream-dark); transition: transform .2s var(--ease); }
.dock .btn { flex: 1; min-height: 48px; padding: 0 12px; }
.dock.is-away { transform: translateY(110%); }
/* Lightbox */
.lb { border: 0; padding: 0; margin: auto; width: min(1120px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); background: var(--white); border-radius: var(--r); color: var(--text-secondary); overflow: hidden; }
.lb::backdrop { background: rgba(26, 26, 26, .92); }
.lb-in { display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: calc(100dvh - 32px); }
.lb-media { min-height: 0; display: grid; place-items: center; background: var(--charcoal-deep); touch-action: pan-y; }
.lb-media img, .lb-media video { -webkit-user-drag: none; user-select: none; max-width: 100%; max-height: calc(100dvh - 32px - 96px); width: auto; height: auto; object-fit: contain; }
.lb-media .cmp { width: min(100%, calc((100dvh - 128px) * var(--ar, 1))); aspect-ratio: var(--ar, 1); }
.lb-media .cmp img { max-height: none; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
.lb-cap { min-width: 0; flex: 1 1 260px; }
.lb-title { font-family: var(--font-display); color: var(--charcoal); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.lb-meta { font-size: .9rem; color: var(--text-secondary); }
.lb-nav { display: flex; align-items: center; gap: 6px; }
.lb-count { font-size: .85rem; color: var(--text-secondary); min-width: 4.5em; text-align: center; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--warm-gray); display: grid; place-items: center; color: var(--charcoal); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { margin-left: 8px; background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
/* Review mode (?review=1): placeholders and confirm flags, never shown to visitors */
.review-bar { background: var(--gold); color: #000; font-weight: 600; font-size: .9rem; padding: 10px var(--gut); text-align: center; }
.ph { border: 2px dashed #9A6B00; background: #FFF6DF; color: #4A3500; border-radius: var(--r); padding: 16px; font-size: .9rem; display: grid; gap: 4px; align-content: center; }
.ph b { color: #000; }
.flag { display: inline-block; margin-left: 8px; font-family: var(--font-body); font-size: .7rem; font-weight: 700; color: #4A3500; background: #FFF6DF; border: 1px dashed #9A6B00; border-radius: 999px; padding: 1px 8px; vertical-align: middle; letter-spacing: 0; font-style: normal; }
/* Breakpoints: 1440 / 1080 / 1024 / 900 / 768 / 700 / 480 (gallery steps follow the 2026-10-03 site) */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-menu { display: inline-grid; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.is-lead { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .card.is-lead .card-cap { padding: .9rem 0 0; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .about-in, .estimate-in { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimate-copy { position: static; }
  .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .vid-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .grid { gap: 2rem 1rem; }
  .filters { gap: 0 20px; }
}
@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  .nav-logo img { width: 65px; height: 34px; }
  .nav-act .btn { display: none; }
  .nav-phone .t { display: none; }
  .nav-phone { width: 46px; justify-content: center; }
  .dock { display: flex; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .hero-photo { width: min(100%, 460px); }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row-city { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .choices, .counts { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom)); }
  .lb { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .lb-in { height: 100%; max-height: 100dvh; }
  .lb-media img, .lb-media video { max-height: calc(100dvh - 150px); }
  .lb-bar { padding: 12px 16px; }
}
@media (max-width: 480px) {
  .svc-grid, .xp-grid { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .facts li { padding: 20px 12px; }
  .facts li:nth-child(odd) { padding-left: 0; }
  .sum-sec dl { grid-template-columns: minmax(0, 1fr); }
  .sum-sec dd { margin-bottom: 6px; }
  .est-actions .est-back { padding: 0 16px; }
  .hero-cta .btn-go { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}