/* HSC Home Service Concepts LLC
   Modern-traditional: serif headings, warm ivory paper, charcoal structure, royal blue from the logo.
   Black = professionalism · White = purity · Blue = trust */
:root {
  --ink: #151515;
  --ink-2: #2b2a28;
  --text: #33312d;
  --muted: #6a665e;
  --paper: #ffffff;
  --ivory: #f8f7f4;
  --linen: #efece5;
  --rule: #ddd8cd;
  --rule-dark: #c9c2b4;
  --blue: #293a92;
  --blue-dark: #1e2b70;
  --blue-wash: #eceef6;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.fine-print { font-size: .9rem; color: var(--muted); margin-top: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
mark.ph { background: #fbefc4; color: #5c4700; padding: 0 3px; font-size: .94em; }

/* ---------- shared marks ---------- */
.roof { width: 34px; height: 9px; color: var(--blue); flex: none; }
.roof-lg { width: 72px; height: 16px; display: block; margin: 0 auto 18px; }
.kicker { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: .92rem; color: var(--blue); margin: 0 0 12px; letter-spacing: .02em; }
.kicker.light { color: #c4cbf0; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link::after { content: " →"; }
.text-link:hover { border-bottom-color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--sans); font-weight: 700; font-size: 1rem; padding: 12px 22px; border: 2px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer; line-height: 1.25; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #e9e6df; font-size: .9rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar-phone:hover { color: #fff; text-decoration: underline; }
.topbar-facts { list-style: none; margin: 0; padding: 0; display: flex; }
.topbar-facts li + li::before { content: "|"; color: #6d6a63; margin: 0 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--rule); }
.scrolled .site-header { box-shadow: 0 2px 10px rgba(21, 21, 21, .07); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 92px; transition: min-height .2s; }
.scrolled .nav-in { min-height: 76px; }
.brand { flex: none; }
.brand img { width: 96px; height: auto; transition: width .2s; }
.scrolled .brand img { width: 80px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 10px; color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; align-items: center; gap: 8px; background: transparent; border: 2px solid var(--ink); color: var(--ink); font: 700 1rem var(--sans); padding: 9px 14px; border-radius: 3px; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--rule); background: var(--paper); max-height: calc(100vh - 120px); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 6px 28px; }
.mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; }
.mobile-menu li a[aria-current="page"] { color: var(--blue); }
.mobile-menu-cta { display: grid; gap: 10px; padding: 16px 28px 26px; }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--paper); border-bottom: 1px solid var(--rule); min-height: 600px; }
.hero-text { display: flex; justify-content: flex-end; padding: 72px 56px 64px 28px; }
.hero-text-in { max-width: 560px; align-self: center; }
.hero-tag { font-weight: 700; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: 22px; }
.hero-lead { font-size: 1.15rem; color: var(--text); }
.hero-slogan { display: flex; align-items: center; gap: 12px; margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.08rem; }
.hero-img { position: relative; min-height: 380px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Slideshow: slow crossfade with a gentle zoom; the left edge fades into the white text panel. */
.hero-slides { overflow: hidden; background: var(--paper); }
.hero-slide { opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease-in-out, transform 7s ease-out; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 255, 255, .55) 9%, rgba(255, 255, 255, 0) 24%); }

.facts-strip { background: var(--ivory); border-bottom: 1px solid var(--rule); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-in p { margin: 0; padding: 20px 22px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; font-size: .98rem; }
.facts-in p:first-child { border-left: 0; padding-left: 0; }
.facts-in strong { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.facts-in a { font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0 88px; }
.tinted { background: var(--linen); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: end; padding-bottom: 22px; margin-bottom: 44px; border-bottom: 3px double var(--rule-dark); }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; color: var(--muted); max-width: 560px; }
.center-h { text-align: center; }

/* welcome */
.welcome { background: var(--ivory); }
.welcome-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.welcome-img { position: relative; padding: 0 0 22px 22px; }
.welcome-img::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--blue); }
.welcome-img img { position: relative; width: 100%; aspect-ratio: 11/8; object-fit: cover; }
.welcome-text p { max-width: 540px; }

/* home services catalog */
.catalog { background: var(--paper); }
.catalog-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.feature-img { display: block; overflow: hidden; margin-bottom: 22px; }
.feature-img img { width: 100%; aspect-ratio: 10/7; object-fit: cover; transition: transform .5s; }
.feature:hover .feature-img img { transform: scale(1.03); }
.feature h3 { font-size: 1.6rem; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--blue); }
.dash-list { list-style: none; padding: 0; margin: 0 0 20px; columns: 2; column-gap: 24px; }
.dash-list li { padding-left: 18px; position: relative; break-inside: avoid; margin-bottom: 4px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 2px; background: var(--blue); }
.catalog-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--rule); }
.catalog-index li { border-bottom: 1px solid var(--rule); }
.catalog-index a { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 18px 0; text-decoration: none; color: inherit; }
.catalog-index img { width: 120px; height: 88px; object-fit: cover; }
.ci-title { display: block; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--ink); }
.ci-desc { display: block; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.catalog-index a:hover .ci-title { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* why */
.why { position: relative; padding: 0 0 96px; background: var(--ivory); }
.why-img img { width: 100%; height: 440px; object-fit: cover; }
.why-panel { position: relative; margin-top: -170px; margin-left: auto; width: min(100%, 860px); background: var(--paper); padding: 52px 56px; border-top: 5px solid var(--blue); box-shadow: 0 1px 0 var(--rule); }
.why-intro { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.why-list { list-style: none; counter-reset: why; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
.why-list li { counter-increment: why; position: relative; padding: 18px 0 8px 52px; border-top: 1px solid var(--rule); }
.why-list li:last-child { grid-column: 1 / -1; }
.why-list li::before { content: counter(why); position: absolute; left: 0; top: 16px; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--blue); line-height: 1; }
.why-list h3 { font-size: 1.15rem; margin-bottom: .3em; }
.why-list p { font-size: 1rem; margin-bottom: .6em; }

/* our work (home) */
.work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; }
.work-side { display: flex; flex-direction: column; gap: 22px; }
.work-thumb { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; }
.work-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.work-thumb:hover img { transform: scale(1.03); }
.work-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(21, 21, 21, .78)); font-family: var(--serif); font-size: 1.12rem; color: #fff; }
.work-thumb small { display: block; font-family: var(--sans); font-size: .82rem; opacity: .9; }

/* projects */
.project h3 { margin: 6px 0 6px; font-size: 1.3rem; }
.project h3 a { color: var(--ink); text-decoration: none; }
.project h3 a:hover { color: var(--blue); text-decoration: underline; }
.project p { color: var(--muted); font-size: 1rem; }
.project[hidden] { display: none; }
.project-lead h3 { font-size: 1.6rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0 !important; font-size: .9rem !important; color: var(--muted); }
.project-meta span:first-child { color: var(--blue); font-weight: 700; }
.sample-tag { background: #fbefc4; color: #5c4700; padding: 0 6px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 44px; }
.project-grid .project:first-child { grid-column: 1 / -1; }
.project-grid .project:first-child .ba { aspect-ratio: 21/9; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); }
.filter { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 0; margin-bottom: -1px; font: 600 1rem var(--sans); color: var(--muted); cursor: pointer; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.empty-filter { color: var(--muted); padding: 30px 0; }
.notice { background: #fbf4dc; border-left: 4px solid #c7a43a; padding: 16px 20px; margin-bottom: 32px; font-size: 1rem; }

/* before / after */
.ba { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--linen); user-select: none; -webkit-user-select: none; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; border: 6px solid transparent; transform: translateY(-50%); }
.ba-handle span::before { left: 4px; border-right-color: var(--ink); }
.ba-handle span::after { right: 4px; border-left-color: var(--ink); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 2; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-handle span { outline: 3px solid var(--blue); outline-offset: 2px; }
.ba-tag { position: absolute; bottom: 12px; padding: 3px 9px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: rgba(255, 255, 255, .92); color: var(--ink); pointer-events: none; z-index: 1; }
.ba-tag-b { left: 12px; }
.ba-tag-a { right: 12px; background: var(--ink); color: #fff; }
.ba-large .ba { aspect-ratio: 16/9; margin: 28px 0 40px; }
/* A finished photo with no before shot is shown whole on its project page (some are portrait). */
.ba-large .ba-single { aspect-ratio: auto; background: none; text-align: center; }
.ba-large .ba-single img { position: static; display: inline-block; width: auto; max-width: 100%; height: auto; max-height: 78vh; }

/* testimonials */
.testimonials { background: var(--ivory); border-top: 1px solid var(--rule); }
.review-list { display: grid; gap: 40px; margin: 32px 0; }
.review { margin: 0; padding-left: 30px; border-left: 3px solid var(--blue); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 12px; font-size: .95rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.stars { color: #c9921a; letter-spacing: 1px; }
.stars .off { color: #d7d1c5; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; }
.reviews-empty { text-align: center; padding: 36px 32px; background: var(--paper); border: 1px solid var(--rule); margin-top: 24px; }
.reviews-empty-lead { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: 8px; }
.reviews-empty p:not(.reviews-empty-lead) { color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; }
.review-policy { margin-top: 56px; padding-top: 32px; border-top: 3px double var(--rule-dark); }
.review-policy h2 { font-size: 1.4rem; }

/* closing call to action */
.closing { background: var(--ink); color: #dcd8cf; padding: 72px 0; border-top: 5px solid var(--blue); }
.closing-in { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 48px; align-items: center; }
.closing h2 { color: #fff; margin-bottom: 10px; }
.closing p { margin: 0; max-width: 560px; font-size: 1.1rem; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.closing-phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: #fff; text-decoration: none; }
.closing-phone:hover { color: #fff; text-decoration: underline; }
.closing-phone .icon { width: 28px; height: 28px; color: #9aa6e6; }

/* ---------- interior page header ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-head-in { padding-top: 40px; padding-bottom: 56px; }
.page-head.has-img .page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.page-head h1 { margin-bottom: 14px; }
.page-intro { font-size: 1.18rem; color: var(--text); max-width: 640px; margin: 0; }
.page-head-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 30px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { margin: 0 4px; }

/* prose + side note */
.prose-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.prose p { max-width: 680px; }
.lead-prose > p:first-child { font-size: 1.22rem; color: var(--ink-2); }
.lead-prose > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 3.6em; line-height: .82; padding: 6px 10px 0 0; color: var(--blue); font-weight: 600; }
.note-card { background: var(--paper); border: 1px solid var(--rule); padding: 28px 30px; }
.note-card + .note-card { margin-top: 22px; }
.note-card h3 { font-size: 1.2rem; }
.note-card h3:not(:first-child) { margin-top: 1.4em; }
.facts-dl { margin: 0 0 18px; }
.facts-dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; color: var(--ink); font-weight: 600; }
.plain-links { list-style: none; padding: 0; margin: 0; }
.plain-links li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.plain-links a { text-decoration: none; font-weight: 600; }

/* about */
.slogan-block { background: var(--linen); padding: 88px 0; text-align: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.slogan-block h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-style: italic; font-weight: 600; }
.slogan-block p { font-size: 1.15rem; max-width: 700px; margin: 0 auto; }
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.approach > div p { color: var(--muted); }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.steps li { counter-increment: st; padding: 20px 0 14px; border-top: 1px solid var(--rule-dark); }
.steps h3::before { content: counter(st) ". "; color: var(--blue); }
.steps h3 { font-size: 1.2rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }

/* services list page */
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 3px double var(--rule-dark); }
.service-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 300px; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.sr-num { font-family: var(--serif); font-size: 1.6rem; color: var(--blue); align-self: start; padding-top: 2px; }
.sr-text h2 { font-size: 1.7rem; margin-bottom: .3em; }
.sr-text h2 a { color: var(--ink); text-decoration: none; }
.sr-text h2 a:hover { color: var(--blue); text-decoration: underline; }
.sr-items { color: var(--muted); font-size: .97rem; }
.sr-img img { width: 300px; height: 200px; object-fit: cover; }

/* service detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.detail-main > h2 { margin-top: 2.2em; font-size: 1.7rem; }
.check-cols { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.check-cols li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; color: var(--ink); font-weight: 600; }
.check-cols .icon { color: var(--blue); margin-top: 4px; }
.good-to-know { margin-top: 48px; padding: 28px 32px; background: var(--linen); border-left: 4px solid var(--ink); }
.good-to-know h2 { font-size: 1.35rem; }
.good-to-know ul { margin: 0; padding-left: 1.1em; }
.good-to-know li { margin-bottom: .6em; }
.photo-set { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 190px 190px; gap: 10px; }
.photo-set figure:first-child { grid-row: span 2; }
.photo-set img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { position: sticky; top: 120px; }
.estimate-card { background: var(--paper); border: 1px solid var(--rule); border-top: 5px solid var(--blue); padding: 28px; }
.estimate-card h2 { font-size: 1.5rem; }
.estimate-card .or { text-align: center; margin: 12px 0 0; }
.estimate-card-fine { font-size: .88rem; color: var(--muted); text-align: center; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.side-nav { margin-top: 28px; }
.side-nav h2 { font-size: 1.15rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.side-nav a:hover { color: var(--blue); }

/* accordion */
.accordion { border-top: 1px solid var(--rule-dark); }
.acc-item { border-bottom: 1px solid var(--rule-dark); }
.acc-item h3 { margin: 0; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; background: none; border: 0; text-align: left; font: 600 1.18rem/1.35 var(--serif); color: var(--ink); cursor: pointer; }
.acc-btn:hover { color: var(--blue); }
.acc-sign { position: relative; width: 16px; height: 16px; flex: none; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--blue); transition: transform .2s; }
.acc-sign::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-sign::after { transform: rotate(0); }
.acc-panel > div { padding: 0 36px 16px 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

/* project page */
.project-page { padding-top: 40px; background: var(--paper); }
.project-page-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.project-page-head h1 { margin: 0; }
.project-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* service areas */
.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.area + .area { margin-top: 48px; padding-top: 40px; border-top: 3px double var(--rule-dark); }
.area-intro { font-size: 1.15rem; color: var(--ink-2); }
.area-index { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 32px; }
.town-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.town-list li { padding: 3px 12px; border: 1px solid var(--rule-dark); background: var(--paper); font-size: .95rem; }

/* forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--rule); padding: 36px 40px; }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 22px 0 26px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field legend { font-weight: 700; color: var(--ink); font-size: 1rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: #a63224; }
.opt { color: var(--muted); font-weight: 400; font-size: .92em; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=date], .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 13px; border: 1px solid #b9b2a4; border-radius: 2px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .dropzone { border-color: #a63224; }
.err { color: #a63224; font-size: .92rem; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .9rem; }
.field > label.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px; border: 1px dashed #a39b8b; background: var(--ivory); cursor: pointer; text-align: center; font-weight: 400; }
.dropzone:hover, .dropzone.drag, .field:focus-within .dropzone { border-color: var(--blue); background: var(--blue-wash); }
.dropzone .icon { width: 28px; height: 28px; color: var(--blue); }
.dropzone small { color: var(--muted); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.file-list li { position: relative; width: 80px; height: 80px; overflow: hidden; background: var(--linen); }
.file-list img { width: 100%; height: 100%; object-fit: cover; }
.file-list button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(21, 21, 21, .85); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; }
.radio input, .check input { accent-color: var(--blue); width: 18px; height: 18px; }
.field > label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .98rem; color: var(--text); }
.check input { margin-top: 4px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; background: #fbeae6; color: #7c2418; border-left: 4px solid #a63224; margin: 14px 0; }
.form-foot { text-align: center; font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-panel { padding: 28px 0; outline: 0; }
.success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 16px; }
.success-mark .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.success-panel p { font-size: 1.12rem; max-width: 600px; }
.success-alt { color: var(--muted); }
.form-aside > * + * { margin-top: 22px; }
.call-card { background: var(--ink); color: #dcd8cf; padding: 28px 30px; border-top: 5px solid var(--blue); }
.call-card h2 { color: #fff; font-size: 1.4rem; }
.call-card-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: #fff; text-decoration: none; }
.call-card-phone:hover { color: #fff; text-decoration: underline; }
.call-card-phone .icon { color: #9aa6e6; }
.mini-steps { margin: 0; padding-left: 1.2em; }
.mini-steps li { margin-bottom: .6em; }
.contact-card { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 3px double var(--rule-dark); }
.contact-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0; }
.contact-phone { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; color: var(--blue); text-decoration: none; line-height: 1.2; }
.contact-card .btn-row { margin-top: 16px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; text-align: right; color: var(--muted); }
.map iframe { width: 100%; height: 400px; border: 1px solid var(--rule); margin-top: 48px; }

/* legal */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }

/* footer */
.site-footer { background: #1b1b1a; color: #c8c4bb; font-size: 1rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 150px; }
.footer-slogan { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.15rem; line-height: 1.4; }
.footer-h { font-family: var(--sans); color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #3a3936; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a:not(.btn) { color: #e7e3da; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-phone { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; }
.footer-contact p { margin-bottom: .7em; }
.footer-contact .btn { margin-top: 8px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4a4844; }
.footer-bottom { border-top: 1px solid #3a3936; font-size: .9rem; }
.footer-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom-in span:last-child { display: flex; gap: 18px; }
.mobile-bar { display: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 7px; font-size: .95rem; }
  .nav-in { gap: 18px; }
}
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { justify-content: flex-start; padding: 56px 28px 48px; }
  .hero-img { min-height: 0; aspect-ratio: 16/9; order: -1; }
  .hero-slides::after { background: linear-gradient(0deg, var(--paper) 0%, rgba(255, 255, 255, .5) 8%, rgba(255, 255, 255, 0) 22%); }  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in p:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-in p:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .welcome-in, .split-head, .prose-split, .approach, .detail, .faq-layout, .area-layout, .form-layout, .project-body, .project-page-head, .closing-in { grid-template-columns: 1fr; gap: 36px; }
  .page-head.has-img .page-head-in { grid-template-columns: 1fr; gap: 32px; }
  .page-head-img img { aspect-ratio: 16/8; }
  .detail-side { position: static; }
  .why-panel { margin-top: -90px; padding: 40px 32px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-side { display: grid; grid-template-columns: 1fr 1fr; }
  .work-side .text-link { grid-column: 1 / -1; justify-self: start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 50px minmax(0, 1fr) 220px; }
  .sr-img img { width: 220px; height: 160px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; padding-bottom: 58px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 40px 0 64px; }
  .topbar-in { justify-content: center; }
  .topbar-facts { display: none; }
  .nav-in, .scrolled .nav-in { min-height: 72px; }
  .brand img, .scrolled .brand img { width: 72px; }
  .nav-est { display: none; }
  .mobile-menu ul, .mobile-menu-cta { padding-left: 20px; padding-right: 20px; }
  .hero-text { padding: 36px 20px 40px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .facts-in { grid-template-columns: 1fr; }
  .facts-in p { border-left: 0 !important; padding: 14px 0 !important; border-top: 1px solid var(--rule); }
  .facts-in p:first-child { border-top: 0; }
  .welcome-img { padding: 0 0 14px 14px; }
  .catalog-feature, .catalog-index, .why-list, .steps, .two-up, .project-grid, .form-grid, .footer-top { grid-template-columns: 1fr; }
  .project-grid .project:first-child .ba { aspect-ratio: 4/3; }
  .catalog-index a { grid-template-columns: 96px 1fr; gap: 16px; }
  .catalog-index img { width: 96px; height: 76px; }
  .why-img img { height: 260px; }
  .why-panel { margin-top: -60px; padding: 30px 22px; }
  .why-list li { padding-left: 42px; }
  .work-side { grid-template-columns: 1fr; }
  .dash-list, .check-cols { columns: 1; }
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .sr-num { display: none; }
  .sr-img { order: -1; }
  .sr-img img { width: 100%; height: 200px; }
  .photo-set { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; }
  .photo-set figure:first-child { grid-column: span 2; grid-row: auto; }
  .form-card { padding: 26px 20px; }
  .note-card { padding: 24px 20px; }
  .review blockquote { font-size: 1.15rem; }
  .review-links .btn, .closing-actions .btn { width: 100%; }
  .closing { padding: 56px 0; }
  .closing-actions { align-items: stretch; }
  .ba-large .ba { aspect-ratio: 4/3; }
  .acc-panel > div { padding-right: 0; }
  .facts-dl div { grid-template-columns: 1fr; gap: 0; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; border-top: 1px solid var(--rule); transition: transform .2s; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px calc(14px + env(safe-area-inset-bottom)); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--paper); }
  .mobile-bar .mb-est { background: var(--blue); color: #fff; }
  .menu-open .mobile-bar { transform: translateY(110%); }
}
@media print {
  .topbar, .site-header, .mobile-bar, .closing, .site-footer { display: none; }
}
