:root {
  --ink: #1b1f24;
  --text: #2f353d;
  --muted: #5d6671;
  --navy: #1f3a5f;
  --navy-dark: #152a46;
  --paper: #faf8f4;
  --stone: #f1ede6;
  --line: #e0d9ce;
  --brass: #9a7b4f;
  --white: #fff;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Libre Franklin', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1520px;
  --gut: clamp(20px, 4vw, 64px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: #fff; font: 600 15px/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--stone); border-color: var(--stone); color: var(--navy-dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ' →'; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 170px; height: auto; }
.brand-sub { display: block; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); font: 600 11px/1.25 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav ul { list-style: none; display: flex; gap: 22px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--brass); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); content: ''; transition: transform .2s; }
.bars { top: 21px; }
.bars::before { top: -6px; left: 0; }
.bars::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav a { white-space: nowrap; }
@media (max-width: 1280px) {
  .header-phone { display: none; }
}
@media (max-width: 1120px) {
  .header-row { min-height: 64px; gap: 16px; }
  .nav-toggle { display: block; margin-left: 0; order: 3; }
  .header-cta { order: 2; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; max-width: var(--wrap); margin: 0 auto; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--line); color: var(--navy); }
}
@media (max-width: 900px) {
  .brand img { width: 150px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
}

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--brass); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .hero-media img { aspect-ratio: 5 / 4; }
}

.page-hero { padding: 24px 0 64px; }
.page-hero.simple { padding: 24px 0 24px; }
.page-hero .hero-media img { aspect-ratio: 4 / 3; }

.g-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.g-badge:hover span { text-decoration: underline; }
.stars { color: #c7942a; letter-spacing: 2px; font-size: 16px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section.tight-top { padding-top: 24px; }
.section-alt { background: var(--stone); }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head p { color: var(--muted); }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.section-head.split h2 { margin-bottom: .3em; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .two-col { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
}

/* Service cards */
.svc-grid { list-style: none; display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(6, 1fr); } .svc-card { grid-column: span 2; } .svc-card:nth-child(4) { grid-column: 2 / span 2; } }
.svc-card a { display: block; color: inherit; text-decoration: none; }
.svc-img { overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.svc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.svc-card a:hover img { transform: scale(1.03); }
.svc-card h3 { margin-bottom: .35em; }
.svc-card p { color: var(--muted); font-size: 16px; margin-bottom: .6em; }
.svc-card .more { color: var(--navy); font-weight: 600; font-size: 15px; }
.svc-card .more::after { content: ' →'; }

/* Work grid */
.work-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .work-grid.four { grid-template-columns: repeat(4, 1fr); } }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.work-grid figcaption { font-size: 14px; color: var(--muted); padding-top: 8px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 2; font-family: var(--serif); font-size: 1.3rem; color: var(--brass); line-height: 1.3; }
.steps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Reviews */
.review-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-grid.masonry { display: block; columns: 1; column-gap: 20px; }
@media (min-width: 700px) { .review-grid.masonry { columns: 2; } }
@media (min-width: 1000px) { .review-grid.masonry { columns: 3; } }
.masonry .review { break-inside: avoid; margin-bottom: 20px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 18px; flex: 1; }
.review blockquote p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-size: 15px; }
.narrow .review { padding: 36px; }
.narrow .review blockquote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }

/* About teaser */
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .about-teaser { grid-template-columns: .85fr 1fr; align-items: center; } }

/* Lists */
.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.check-list.cols { grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 15px; }
.plain-links { list-style: none; display: grid; gap: 6px; }
.small-h { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 28px 0 10px; }
.includes { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px 12px; }
.includes h2 { font-size: 1.4rem; }
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }

/* Service rows */
.svc-rows { list-style: none; display: grid; gap: 64px; }
.svc-row { display: grid; gap: 28px; align-items: center; scroll-margin-top: 100px; }
.svc-row-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .svc-row.flip .svc-row-img { order: 2; }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--brass); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Form */
.estimate-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 16px; }
@media (min-width: 600px) { .estimate-form { padding: 36px; } }
.form-h { font-size: 1.6rem; margin: 0; }
.form-sub { color: var(--muted); font-size: 15px; margin: -8px 0 4px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.estimate-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.estimate-form .opt { font-weight: 400; color: var(--muted); }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(31,58,95,.12); }
.estimate-form .invalid { border-color: #b3261e; }
.estimate-form textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.form-status.ok { background: #eaf3ec; color: #1d4d2b; }
.form-status.err { background: #fbeceb; color: #8a1f17; }
.hp { position: absolute; left: -9999px; }
.form-wrap h2 { margin-bottom: .4em; }
.form-wrap h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.contact-list { display: grid; grid-template-columns: 100px 1fr; gap: 12px 16px; margin: 28px 0; }
.contact-list dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.contact-list dd { margin: 0; color: var(--ink); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 15px var(--sans); padding: 9px 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.gallery li[hidden] { display: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(15, 18, 22, .88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: #fff; text-align: center; margin: 10px 0 0; font-size: 15px; }
.lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; font-size: 30px; line-height: 1; background: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); cursor: pointer; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-row { display: grid; gap: 24px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-row { grid-template-columns: 1fr auto; } }
.center-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer img { width: 170px; margin-bottom: 16px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr .8fr; } }
.footer-h { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-hours { list-style: none; display: grid; gap: 8px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 300px; }
.footer-phone { font-size: 1.2rem; font-weight: 600; }
.muted-inv { color: rgba(255,255,255,.65); max-width: 30em; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.5); }
.footer-base p { margin: 0; }

/* Mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 56px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy); }
  .mobile-bar a.primary { background: var(--navy); color: #fff; }
}

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