:root {
  --black: #000;
  --ink: #151515;
  --muted: #555;
  --surface: #fff;
  --subtle: #f3f3f1;
  --line: #dadad7;
  --accent: #1b55c6;
  --accent-hover: #1444a1;
  --focus: #3975b7;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; top: -100px; z-index: 5; background: white; padding: 12px; }
.skip:focus { top: 0; }

header { background: var(--black); color: white; border-bottom: 1px solid #333; }
.nav { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; flex: 0 1 auto; }
.brand img { display: block; width: clamp(144px, 22vw, 224px); height: auto; aspect-ratio: 224 / 58; object-fit: contain; }
.nav nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 1.8vw, 26px); }
.nav nav a { color: #eaeaea; font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav nav a:hover, .nav nav a:focus-visible { text-decoration: underline; }

.hero { background: var(--black); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 530px; gap: clamp(24px, 4.5vw, 66px); }
.hero-copy { align-self: center; padding-block: 56px; }
.hero-photo { background: linear-gradient(90deg, #0007, transparent 42%), url('/hero.webp') center 20% / cover, #222; filter: grayscale(1); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.044em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 5.35rem); max-width: 18ch; font-weight: 760; }
.hero h1 { font-size: clamp(3rem, 5.75vw, 5.35rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); max-width: 25ch; }
h3 { font-size: 1.38rem; }
.eyebrow { font-weight: 750; font-size: .875rem; letter-spacing: .13em; color: var(--muted); margin: 0 0 1.05rem; }
.eyebrow span { display: none; }
.lead { color: var(--muted); font-size: 1.13rem; max-width: 56ch; }
.hero .eyebrow, .hero .lead { color: #ccc; }
.under { display: inline-block; margin-top: 18px; font-size: .94rem; font-weight: 650; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 4px; background: var(--accent); color: white; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--accent-hover); }
.ghost { border-color: currentColor; background: transparent; color: var(--ink); }
.ghost:hover { background: #ececea; }
.hero .ghost { color: white; background: transparent; }
.hero .ghost:hover { background: #252525; }
.compact { min-height: 44px; padding-inline: 15px; }

.band { background: var(--subtle); border-bottom: 1px solid var(--line); }
.band .wrap { display: flex; justify-content: space-between; gap: 14px; padding-block: 16px; font-weight: 650; }
.section { padding-block: clamp(46px, 7vw, 94px); }
.tint, .intro { background: var(--subtle); }
.intro { padding-block: clamp(46px, 7vw, 90px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 4px; padding: clamp(19px, 3vw, 27px); min-height: 180px; }
.card:hover { border-color: var(--ink); }
.card p { color: var(--muted); margin: .75rem 0 1rem; }
.card span { margin-top: auto; text-decoration: underline; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-left: 1.25rem; }
.steps strong { font-size: 1.2rem; }
.steps p { margin-top: .5rem; }
.detail p { max-width: 68ch; }
.detail h2, .section > a + h2 { margin-top: 24px; }

footer { background: var(--black); color: white; padding: 26px 0; }
footer .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; padding-block: 16px; }
footer p { margin-top: 0; }
footer nav { display: grid; align-content: start; gap: 8px; }
footer nav a { color: #d9d9d9; width: fit-content; }
footer nav strong { margin-bottom: 4px; }
footer .actions { margin-top: 0; }
footer .ghost { color: white; }
footer .ghost:hover { background: #252525; }
.mobile-contact { display: none; }

.quote form { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote form label { display: grid; gap: 6px; font-weight: 700; }
.quote form input, .quote form select, .quote form textarea { width: 100%; padding: 10px; border: 1px solid #888; border-radius: 4px; background: white; color: var(--ink); }
.quote form .wide { grid-column: 1 / -1; }
#form-status { white-space: pre-wrap; }

.chat { position: fixed; bottom: 18px; right: 20px; z-index: 2; }
.chat summary { background: #171717; color: white; border: 1px solid #777; border-radius: 32px; padding: 10px 18px; font-weight: 700; box-shadow: 0 4px 18px #0002; list-style: none; text-align: center; }
.chat summary::-webkit-details-marker { display: none; }
.chat-panel { position: absolute; bottom: 54px; right: 0; width: min(310px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 6px 28px #0002; display: grid; gap: 9px; }
.chat-panel p { margin: 0 0 4px; }
.chat-panel button { text-align: left; background: var(--subtle); border: 1px solid var(--line); border-radius: 4px; padding: 8px; }
.chat-panel button:hover { border-color: var(--ink); }
.chat-panel a { font-weight: 700; }


.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-note { color: var(--muted); margin-top: 0; margin-bottom: 24px; }
.gallery-card { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-card figcaption { padding: 19px; }
.gallery-card h2 { font-size: 1.35rem; }
.gallery-card p { color: var(--muted); margin-bottom: 0; }
.faq-list { max-width: 780px; border-top: 1px solid var(--line); }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-item summary { font-weight: 700; }
.faq-item p { margin-bottom: 0; }
.process-list { display: grid; gap: 26px; padding-left: 1.5rem; }
.process-list li::marker { font-size: 1.15rem; font-weight: 700; }
.process-list h2 { margin-top: 0; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.process-list p { margin-bottom: 0; }
.directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px 40px; }
.directory h2 { font-size: 1.55rem; }
.directory ul { padding-left: 1.3rem; }
.directory li { margin-top: 6px; }

@media (max-width: 930px) {
  .nav { flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .nav nav { order: 3; width: 100%; gap: 8px 18px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-grid { gap: 24px; min-height: 440px; }
  .cards, .gallery-grid, footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-grid, .cards, .steps, .quote form, .gallery-grid, .directory { grid-template-columns: 1fr; }
  .hero-grid { gap: 0; }
  .hero-copy { padding-block: 36px 30px; }
  .hero-photo { min-height: clamp(215px, 64vw, 360px); margin-inline: -1rem; }
  .band .wrap { flex-wrap: wrap; }
  .mobile-contact { display: block; position: fixed; bottom: 0; inset-inline: 0; background: white; border-top: 1px solid var(--line); z-index: 1; padding: 7px 80px 7px 12px; }
  .mobile-contact .actions { margin: 0; gap: 5px; }
  .mobile-contact a { padding-inline: 10px; }
  .chat { bottom: 9px; right: 10px; }
  footer { padding-bottom: 76px; }
}

.nav-actions { display: flex; flex: none; align-items: center; gap: 12px; }
.nav-phone { color: white; white-space: nowrap; font-size: .9rem; font-weight: 700; }
.quote form[hidden], .quote form label[hidden] { display: none; }
.quote-confirmation { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: 4px; background: var(--subtle); scroll-margin-top: 24px; }
.quote-confirmation h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.quote-confirmation p { margin: 12px 0 0; }
.quote-extra { padding: 12px 0; border-block: 1px solid var(--line); }
.quote-extra summary { font-weight: 700; }
.quote-extra-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.quote-contact { background: var(--subtle); border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
.quote-contact h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.quote-contact .actions { display: grid; justify-items: start; margin-top: 16px; }
@media (max-width: 800px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .quote-contact .actions { display: flex; }
}
.chat-panel { max-height: min(440px, calc(100dvh - 82px)); overflow: auto; }
html { scroll-padding-bottom: 85px; }

@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .nav nav { order: 3; width: 100%; gap: 8px 18px; }
}

@media (max-width: 620px) {
  .nav-phone { display: none; }
  .quote-extra-fields { grid-template-columns: 1fr; }
  .mobile-contact { padding: 6px 73px calc(6px + env(safe-area-inset-bottom)) 8px; }
  .mobile-contact .actions { gap: 4px; }
  .mobile-contact .btn { min-height: 44px; padding: 7px 8px; font-size: .875rem; white-space: nowrap; }
  .chat { bottom: calc(6px + env(safe-area-inset-bottom)); right: 8px; }
  .chat summary { min-height: 44px; padding-inline: 12px; }
}

.project-gallery .gallery-card > a { display: block; }
.project-gallery .gallery-card img { aspect-ratio: 3 / 4; }

#estimate { display: grid; gap: 12px; }
#estimate label { display: block; font-weight: 700; }
#estimate label + :is(input, select) { width: 100%; margin: 6px 0 0; border: 1px solid #888; border-radius: 4px; padding: 10px; background: white; color: var(--ink); font: inherit; }
#estimate > .btn { justify-self: start; margin-top: 8px; }
#estimate > label + select { margin-top: -6px; }
.estimate-help, .estimate-disclaimer { font-size: .93rem; color: var(--muted); }
.estimate-help { margin: 6px 0; }
#estimate-result { margin-top: 12px; }
#estimate-result p { margin: 6px 0; }
.estimate-amount { display: block; font-size: clamp(1.2rem, 3vw, 1.75rem); overflow-wrap: anywhere; }

.hero .estimate-link { margin-top: 14px; }

.service-scope { max-width: 68ch; padding-inline-start: 1.25rem; }
.service-scope li + li { margin-top: .45rem; }

.customer-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px 40px; padding-block: clamp(30px, 5vw, 54px); border-bottom: 1px solid var(--line); }
.customer-review h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.customer-review figure, .customer-review blockquote { margin: 0; }
.customer-review blockquote p { margin: 0 0 6px; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; }
.customer-review figcaption { color: var(--muted); }
.customer-review figcaption span { font-size: .875rem; }
.customer-review .review-link { display: inline-block; margin-top: 9px; font-weight: 650; }
@media (max-width: 620px) {
  .customer-review { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
