:root {
  --paper: #f7f4ee;
  --white: #fff;
  --ink: #171817;
  --muted: #66665f;
  --line: #d8d3c9;
  --accent: #dd000a;
  --accent-hover: #b40008;
  --charcoal: #202220;
  --max: 1380px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.75rem 1rem; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: none; }

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; padding: 1.1rem 0; border-bottom: 1px solid rgba(23,24,23,.18); }
.brand { display: block; width: 11rem; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.site-nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: clamp(.6rem, 1.3vw, 1.25rem); padding: .35rem; font-size: .9rem; font-weight: 650; }
/* The frosted bar sits on a layer behind the nav: WebKit clips anything that overflows an element with backdrop-filter, which hid the Services dropdown in Safari. */
.site-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(247,244,238,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-nav a { text-decoration: none; }
.site-nav > a, .site-nav > .button { white-space: nowrap; }
.site-nav > a:not(.phone-link) { padding-block: .4rem; border-bottom: 1px solid transparent; }
.site-nav > a:not(.phone-link):hover { border-color: currentColor; }
.phone-link { color: var(--accent); }
.menu-toggle { display: none; border: 0; background: none; }

.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .85rem 1.25rem; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: white; font-weight: 750; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--accent-hover); border-color: var(--accent); transform: translateY(-2px); }
.button-small { min-height: 2.65rem; padding: .65rem 1rem; font-size: .84rem; }
.button-light { background: white; border-color: white; color: var(--ink); }
.button-light:hover { background: var(--accent); border-color: var(--accent); color: white; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.eyebrow { margin: 0 0 .9rem; color: var(--accent); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3.25rem, 6.2vw, 6.8rem); line-height: .94; }
h2 { margin: 0; font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: .98; }
h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
p { text-wrap: pretty; }
.section { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; padding: clamp(5rem, 9vw, 9rem) 0; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(30rem, 1.12fr); min-height: 100svh; padding-left: max(1.5rem, calc((100vw - var(--max))/2)); background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 9.5rem clamp(2rem, 5vw, 6.5rem) 5rem 0; }
.hero-intro { max-width: 36rem; margin: 2rem 0 2.4rem; color: #4c4d49; font-size: clamp(1.1rem, 1.55vw, 1.4rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 44rem; margin: 0; overflow: hidden; background: #ddd6ca; }
/* The home hero without its photo (/services, 404): one column, no full-viewport height; the next section supplies the gap below.
   Top padding matches the home hero's measured gap below the header rule (home centres its copy in a full-height hero). */
.hero-text-only { grid-template-columns: 1fr; min-height: 0; }
.hero-text-only .hero-copy { min-height: 0; padding-top: 15.25rem; padding-bottom: 0; }
@media (max-width: 980px) { .hero-text-only .hero-copy { padding-top: 11.25rem; } }
@media (max-width: 680px) { .hero-text-only .hero-copy { padding-top: 9rem; } }
/* When nothing follows the hero (404), keep the site's section spacing above the footer. */
.hero-text-only:last-child .hero-copy { padding-bottom: clamp(5rem, 9vw, 9rem); }
.hero-visual::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 1.25rem; height: 38%; background: var(--accent); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero-visual figcaption { position: absolute; right: 1.5rem; bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; max-width: calc(100% - 3rem); padding: .75rem 1rem; background: rgba(247,244,238,.93); font-size: .77rem; font-weight: 750; }
.hero-visual figcaption span + span::before { content: "/"; margin-right: .5rem; color: var(--accent); }

.section-heading { max-width: 51rem; margin-bottom: 3rem; }
.section-heading > p:last-child { max-width: 39rem; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.08rem; }
.work-section { padding-bottom: 3rem; }
.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.work-card { position: relative; min-height: 34rem; margin: 0; overflow: hidden; background: #ddd; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.work-card:hover img { transform: scale(1.025); }
.work-card figcaption { position: absolute; inset: auto 1rem 1rem; display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; background: rgba(255,255,255,.92); font-size: .8rem; font-weight: 750; }

.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 5rem; max-width: none; align-items: end; }
.split-heading > p:last-child { margin: 0 0 .3rem; }
.featured-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.service-feature { display: grid; grid-template-rows: 25rem auto; background: white; }
.service-image { overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-feature:hover img { transform: scale(1.025); }
.service-copy { display: grid; grid-template-columns: 2.5rem 1fr; gap: .7rem 1rem; padding: 1.5rem; }
.service-copy h3, .service-copy p { grid-column: 2; }
.service-copy p { max-width: 35rem; margin: 0; color: var(--muted); }
.service-number { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.service-copy h3 a, .service-list h3 a { text-decoration: none; }
.service-copy h3 a:hover, .service-list h3 a:hover { color: var(--accent); }
/* /services router: card headings are h2 for outline order, styled as the home page's h3 cards. */
.services-router .service-copy h2, .services-router .service-list h2 { margin: 0; font-family: inherit; font-weight: inherit; font-size: 1.25rem; line-height: 1.2; letter-spacing: normal; }
.services-router .service-copy h2 { grid-column: 2; }
.services-router .service-copy h2 a, .services-router .service-list h2 a { text-decoration: none; }
.services-router .service-copy h2 a:hover, .services-router .service-list h2 a:hover { color: var(--accent); }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 3.5rem minmax(14rem,.8fr) 1.2fr; gap: 1.4rem; align-items: start; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.service-list p { max-width: 47rem; margin: 0; color: var(--muted); }

.confidence { width: 100%; max-width: none; padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--max))/2)); background: var(--charcoal); color: white; }
.confidence .eyebrow { color: var(--white); border-left: 3px solid var(--accent); padding-left: .7rem; }
.confidence-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 8rem); }
.testimonial blockquote { max-width: 20ch; margin: 0 0 2rem; font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1.08; }
.testimonial cite { display: flex; flex-direction: column; font-style: normal; font-weight: 750; }
.testimonial cite span { color: #adada6; font-size: .85rem; font-weight: 500; }
.proof { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #555650; }
.proof div { padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid #555650; }
.proof div:nth-child(odd) { border-right: 1px solid #555650; }
.proof div:nth-child(even) { padding-left: 1.5rem; }
.proof strong, .proof span { display: block; }
.proof strong { margin-bottom: .5rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.proof span { color: #bebfb9; font-size: .86rem; }
.owner-note { display: flex; align-items: center; gap: 1.3rem; max-width: 52rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #555650; }
.owner-note p { margin: 0; color: #d1d2cc; }
.owner-note strong { color: white; }
.owner-mark { display: grid; flex: 0 0 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; background: var(--accent); font-family: var(--serif); font-size: 1.5rem; }

.process { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.process-intro { align-self: start; position: sticky; top: 2rem; }
.process-intro p:last-child { max-width: 27rem; color: var(--muted); font-size: 1.05rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0 1.8rem; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--accent); font-size: .74rem; font-weight: 800; }
.process-list p { max-width: 35rem; margin: .55rem 0 0; color: var(--muted); }
.process-link { grid-column: 2; justify-self: start; }
.prototype-note { margin-left: .6rem; color: var(--muted); font-size: .75rem; font-weight: 500; }

.closing { position: relative; min-height: min(46rem, 85svh); display: grid; place-items: center; overflow: hidden; color: white; }
.closing > img, .closing-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing > img { object-fit: cover; object-position: center 46%; }
.closing-overlay { background: linear-gradient(90deg, rgba(20,20,19,.88), rgba(20,20,19,.44) 58%, rgba(20,20,19,.12)); }
.closing-copy { position: relative; z-index: 1; width: min(calc(100% - 3rem), var(--max)); }
.closing-copy .eyebrow { color: var(--white); border-left: 3px solid var(--accent); padding-left: .7rem; }
.closing-copy h2 { max-width: 13ch; }
.closing-copy > p:not(.eyebrow) { max-width: 37rem; font-size: 1.15rem; }
.closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.closing-actions > a { font-weight: 750; }

.estimate-dialog { width: min(calc(100% - 2rem), 35rem); padding: 2.5rem; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 2rem 5rem rgba(0,0,0,.25); }
.estimate-dialog::backdrop { background: rgba(18,19,18,.72); backdrop-filter: blur(4px); }
.estimate-dialog h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.estimate-dialog p:not(.eyebrow) { margin: 1.2rem 0 1.8rem; color: var(--muted); }
.dialog-close { position: absolute; top: .75rem; right: .85rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.text-button { display: block; margin-top: 1.2rem; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { width: calc(100% - 2rem); }
  .menu-toggle { display: flex; align-items: center; gap: .7rem; padding: .7rem; color: var(--ink); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 1.4rem; height: 1px; background: currentColor; content: ""; }
  .menu-lines { position: relative; }
  .menu-lines::before { position: absolute; top: -.35rem; }
  .menu-lines::after { position: absolute; top: .35rem; }
  .site-nav { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem; background: var(--paper); box-shadow: 0 1rem 2rem rgba(0,0,0,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .button { padding: .9rem; }
  .phone-link { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; padding: 0; }
  .hero-copy { min-height: 43rem; padding: 9rem 1.5rem 4rem; }
  .hero-visual { min-height: 68svh; }
  .work-card { min-height: 27rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-services { grid-template-columns: 1fr; }
  .confidence-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .process-link { grid-column: 1; }
}

@media (max-width: 680px) {
  .section { width: calc(100% - 2rem); padding: 5rem 0; }
  .brand { width: 9rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  h2 { font-size: clamp(2.45rem, 11vw, 3.7rem); }
  .hero-copy { min-height: 42rem; padding-inline: 1rem; }
  .hero-intro { font-size: 1.08rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 58svh; }
  .hero-visual figcaption { right: .75rem; bottom: .75rem; left: .75rem; justify-content: space-between; }
  .work-section { padding-bottom: 1rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 29rem; }
  .work-card-wide { min-height: 36rem; }
  .service-feature { grid-template-rows: 20rem auto; }
  .service-list article { grid-template-columns: 2.5rem 1fr; }
  .service-list p { grid-column: 2; }
  .confidence { padding-inline: 1rem; }
  .proof { grid-template-columns: 1fr; }
  .proof div:nth-child(odd) { border-right: 0; }
  .proof div:nth-child(even) { padding-left: 0; }
  .owner-note { align-items: flex-start; }
  .process-list li { grid-template-columns: 2.5rem 1fr; }
  .prototype-note { display: block; margin: .4rem 0 0; }
  .closing { min-height: 43rem; }
  .closing-overlay { background: rgba(20,20,19,.66); }
  .closing-copy { width: calc(100% - 2rem); }
  .closing-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Services: the label is a link to /services; the chevron button toggles the panel.
   Desktop pointer: hover or keyboard focus also opens it (script.js). */
.services-menu { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.services-link { padding-block: .4rem; border-bottom: 1px solid transparent; white-space: nowrap; }
.services-link:hover { border-color: currentColor; }
.services-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; padding: .4rem .3rem; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.services-toggle::after { content: ""; display: block; width: .38rem; height: .38rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-22%) rotate(45deg); transition: transform .15s; }
.services-toggle[aria-expanded="true"]::after { transform: translateY(22%) rotate(-135deg); }
.services-dropdown { display: none; }
.services-menu.is-open .services-dropdown { display: block; }
.services-dropdown { position: absolute; top: 100%; left: 0; width: 16rem; margin: 0; padding: .5rem; list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 .8rem 2rem #17181718; }
.services-dropdown a { display: block; padding: .8rem .65rem; }
.services-dropdown a:hover, .services-dropdown a[aria-current="page"] { background: #eeebe4; color: var(--accent); }
#new-construction { scroll-margin-top: 2rem; }
@media (max-width: 980px) {
 .services-menu { width: 100%; }
 .site-nav::before { display: none; }
 /* Hamburger panel: the four service links are always shown under the Services link; no toggle. */
 .services-toggle { display: none; }
 .services-dropdown { display: block; flex-basis: 100%; }
 .services-dropdown { position: static; width: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--accent); }
}

/* Estimate enquiry prototype: entry, validation and review, with no transmission. */
.estimate-dialog { width: min(calc(100% - 2rem), 46rem); max-height: calc(100svh - 2rem); overflow-y: auto; }
.estimate-dialog [hidden] { display: none !important; }
.estimate-dialog .estimate-prototype-note { padding: .85rem 1rem; background: #eeebe4; border-left: 2px solid var(--accent); font-size: .85rem; }
.estimate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0; }
.estimate-fields label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 700; }
.estimate-fields label span, .field-hint { color: var(--muted); font-weight: 400; font-size: .8rem; }
.estimate-fields input, .estimate-fields select, .estimate-fields textarea { width: 100%; min-height: 2.8rem; border: 1px solid #8e8b83; border-radius: 0; background: #fff; color: var(--ink); font: inherit; padding: .65rem; }
.estimate-fields textarea { resize: vertical; }
.estimate-wide { grid-column: 1 / -1; }
.field-hint { display: block; margin-top: .35rem; }
.estimate-summary { display: grid; grid-template-columns: 9rem 1fr; gap: .65rem 1rem; margin-block: 1.5rem; }
.estimate-summary dt { font-weight: 700; font-size: .9rem; }
.estimate-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.estimate-review-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.estimate-review-actions .button { margin-top: 1.2rem; }
.estimate-send-status { margin: 1.5rem 0 0; padding: .9rem 1rem; border-left: 3px solid var(--accent); }
.estimate-send-status:focus { outline: none; }
@media (max-width: 600px) {
 .estimate-dialog {
   position: fixed;
   top: var(--estimate-viewport-top, 0px);
   bottom: auto;
   margin-block: 1rem;
   max-height: calc(var(--estimate-viewport-height, 100dvh) - 2rem);
   padding: 3rem 1rem 1.5rem;
   overscroll-behavior: contain;
 }
 .estimate-dialog [data-estimate-entry] > h2 {
   position: sticky;
   top: 0;
   z-index: 2;
   background: var(--paper);
 }
 .estimate-fields { grid-template-columns: 1fr; }
 .estimate-summary { grid-template-columns: 1fr; gap: .25rem; }
 .estimate-summary dd { margin-bottom: .8rem; }
}

.field-error { display: block; color: #a10008; font-size: .85rem; margin-top: .4rem; }
.estimate-fields [aria-invalid="true"] { border: 2px solid #a10008; }
.estimate-errors { padding: 1rem; border: 2px solid #a10008; margin-block: 1rem; }
.estimate-dialog .estimate-errors p { margin: 0 0 .5rem; color: var(--ink); font-weight: 700; }
.estimate-errors ul { margin: 0; padding-left: 1.2rem; }
.estimate-errors a { font-size: .85rem; }
.estimate-fields input[type="file"] { font-size: .85rem; overflow: hidden; }
.confirmation-preview { min-height: 60vh; max-width: 52rem; padding-block: 3rem 5rem; }
.confirmation-demo { padding: 1rem; border-left: 3px solid var(--accent); background: #eeebe4; margin-bottom: 2.5rem; }
.confirmation-message { font-size: 1.2rem; max-width: 48ch; margin: 2rem 0; }

.estimate-service-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.estimate-service-field legend { font-size: .88rem; font-weight: 700; margin-bottom: .4rem; }
.estimate-service-picker { border: 1px solid #8e8b83; background: white; }
.estimate-service-picker summary { cursor: pointer; padding: .75rem; overflow-wrap: anywhere; }
.estimate-service-options { border-top: 1px solid var(--line); padding: .4rem .75rem; }
.estimate-service-options label { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; margin: 0; cursor: pointer; }
.estimate-service-options input[type="checkbox"] { width: 1.15rem; min-height: 1.15rem; height: 1.15rem; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.estimate-service-options label span { color: var(--ink); font: inherit; }

.estimate-fields input::placeholder { color: #777971; opacity: 1; }
.estimate-other-row { display: flex; align-items: center; gap: 1rem; }
.estimate-other-row > label { flex-shrink: 0; }
.estimate-other-input { flex: 1; min-width: 0; }
.estimate-service-options .estimate-other-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.estimate-other-input input { min-width: 0; }
.estimate-errors { scroll-margin-block: 1rem; }

.estimate-dialog .form-privacy-note { font-size: .82rem; line-height: 1.6; margin: 1rem 0 0; }
.form-privacy-note a { text-underline-offset: .15em; }
.privacy-content { max-width: 48rem; padding-block: 3rem 5rem; }
.privacy-content h1 { max-width: none; font-size: clamp(3rem,6vw,5rem); line-height: 1.05; }
.privacy-content h2 { font-size: clamp(1.6rem,3vw,2.2rem); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 1rem; }
.privacy-content section { margin-top: 2.5rem; }
.privacy-content p { max-width: 70ch; }
.privacy-date { color: var(--muted); font-size: .85rem; }
.privacy-draft { padding: 1rem 1.2rem; margin: 1.5rem 0 2rem; border-left: 3px solid var(--accent); background: #eeebe4; font-size: .9rem; }
.privacy-content a { overflow-wrap: anywhere; }

/* Warranty terms retain the supplied document's order and wording. */
.warranty-content h1 { max-width: 15ch; }
.warranty-intro { font-size: 1.12rem; margin-top: 1.5rem; }
/* The footer's "2 YR" warranty mark at hero scale beside the H1 (ruled 2026-10-07; kept after review, 2026-10-08). */
.warranty-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(1rem, 4vw, 3rem); }
.warranty-heading .warranty-mark { flex: 0 0 auto; height: auto; padding-top: .35rem; color: var(--accent); font-size: clamp(4.5rem, 9vw, 7.5rem); }
.warranty-heading .warranty-mark > span { margin-bottom: .14em; font-size: clamp(.85rem, 1.4vw, 1.15rem); color: var(--ink); }
@media (max-width: 600px) { .warranty-heading .warranty-mark { font-size: 3.6rem; padding-top: .2rem; } .warranty-heading .warranty-mark > span { font-size: .75rem; } }
.warranty-content ul, .warranty-content ol { padding-left: 1.4rem; }
.warranty-content li { margin-bottom: .8rem; }
.proof a { text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Shared footer: credentials, direct contact and useful destinations. */
.site-footer { padding: 0 max(1.5rem, calc((100vw - var(--max))/2)); background: #111210; color: var(--white); }
.footer-inner { width: 100%; }
.trust-badges { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; border-bottom: 1px solid #45463f; }
.trust-badges li { min-width: 0; }
.trust-badges li + li { border-left: 1px solid #45463f; }
.trust-badge { display: flex; align-items: center; gap: 1.1rem; min-height: 5.5rem; padding: .8rem 1.3rem; color: inherit; text-decoration: none; }
.trust-badges li:first-child .trust-badge { padding-left: 0; }
a.trust-badge:hover { background: #202220; }
a.trust-badge:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.trust-mark { display: flex; align-items: center; justify-content: center; gap: .12rem; flex: 0 0 3.3rem; height: 3.5rem; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.trust-mark > span { align-self: flex-end; margin-bottom: .6rem; font-family: var(--sans); font-size: .65rem; letter-spacing: .03em; }
.trust-copy { display: flex; flex-direction: column; gap: .25rem; }
.trust-copy strong { font-size: 1rem; font-weight: 650; }
.trust-copy > span { color: #b9bab5; font-size: .82rem; }
.trust-arrow { margin-left: auto; font-size: 1.25rem; }
.footer-top { display: grid; grid-template-columns: .95fr 1fr 1.25fr; align-items: start; gap: clamp(1.5rem, 3vw, 3rem); padding-block: 1.75rem; }
.footer-brand img { width: 11rem; height: auto; }
.footer-brand p { margin: 1rem 0 0; color: #b9bab5; }
.footer-label { margin: 0 0 .65rem; color: #b9bab5; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; }
.footer-identity, .footer-contact, .footer-nav, .footer-link-group { min-width: 0; }
.footer-nav { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: 1.25rem; }
.footer-contact > a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; text-decoration: none; }
.footer-phone, .footer-email { font-size: .9rem; }
.footer-phone { margin-bottom: .4rem; }
.footer-social { display: flex; align-items: center; gap: .25rem; margin-top: .75rem; margin-left: -.6875rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: var(--white); text-decoration: none; }
.footer-social a:hover { background: #202220; }
.footer-social svg { display: block; flex-shrink: 0; }
.footer-social a:focus-visible { outline-color: var(--white); }
.footer-links { display: grid; grid-template-columns: 1fr; gap: .1rem; }
.footer-links > a { display: flex; align-items: center; width: fit-content; min-height: 2.25rem; padding-block: .25rem; text-decoration: none; font-size: .9rem; }
.footer-links > a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: .8rem; border-top: 1px solid #45463f; color: #b9bab5; font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a { text-underline-offset: .2em; }
/* Customer quotations are attributed to their actual basement projects. */
.confidence > h2 { margin-bottom: 3rem; font-size: clamp(2.5rem,4.5vw,4.5rem); }
.customer-quotes { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,6vw,6rem); }
.customer-quote { margin: 0; }
.customer-quote blockquote { margin: 0 0 1.5rem; font-size: clamp(1.55rem,2.3vw,2.2rem); line-height: 1.22; }
.customer-quote-lead blockquote { font-size: clamp(2rem,3.4vw,3.5rem); }
.customer-quote figcaption, .customer-note figcaption { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; }
.customer-quote cite, .customer-note cite { font-style: normal; font-weight: 750; }
.customer-quote figcaption span { color: #b9bab5; }
.customer-quotes-stack { display: grid; gap: 2rem; }
.customer-quotes-stack .customer-quote + .customer-quote { border-top: 1px solid #555650; padding-top: 2rem; }
.customer-note { padding-block: 2.5rem 4rem; border-top: 1px solid var(--line); }
.customer-note figure { max-width: 58rem; margin: 0; }
.customer-note blockquote { margin: 0 0 1.5rem; font-size: clamp(1.7rem,3vw,2.5rem); line-height: 1.2; }
.customer-note figcaption span { color: var(--muted); }
@media (max-width: 980px) {
 .footer-top { grid-template-columns: 1fr 1.2fr; gap: 2rem; }
 .footer-nav { grid-column: 1 / -1; }
 .trust-badge { padding-inline: 1rem; gap: .65rem; }
 .trust-mark { flex-basis: 2.5rem; font-size: 2rem; }
 .trust-arrow { display: none; }
}
@media (max-width: 680px) {
 .site-footer { padding-inline: 1rem; }
 .trust-badges { grid-template-columns: 1fr; }
 .trust-badges li + li { border-left: 0; border-top: 1px solid #45463f; }
 .trust-badge, .trust-badges li:first-child .trust-badge { min-height: 6rem; padding: 1rem 0; gap: 1rem; }
 .trust-mark { flex-basis: 3rem; }
 .trust-arrow { display: block; }
 .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.75rem; }
 .footer-nav { grid-column: auto; }
 .footer-nav { gap: 1rem; }
 .footer-links { gap: 0; }
 .footer-links > a { min-height: 2.75rem; }
 .footer-bottom { flex-direction: column; }
 .customer-quotes { grid-template-columns: 1fr; gap: 2rem; }
 .customer-quotes-stack { border-top: 1px solid #555650; padding-top: 2rem; }
 .confidence > h2 { margin-bottom: 2rem; }
}

#site-footer { scroll-margin-top: 1rem; }
@media (min-width: 981px) and (max-width: 1100px) {
 .site-header { width: calc(100% - 2rem); }
 .site-nav::before { display: none; }
 .services-toggle { display: none; }
 .menu-toggle { display: flex; align-items: center; gap: .7rem; padding: .7rem; color: var(--ink); cursor: pointer; }
 .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 1.4rem; height: 1px; background: currentColor; content: ""; }
 .menu-lines { position: relative; }
 .menu-lines::before { position: absolute; top: -.35rem; }
 .menu-lines::after { position: absolute; top: .35rem; }
 .site-nav { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem; background: var(--paper); box-shadow: 0 1rem 2rem rgba(0,0,0,.12); }
 .site-nav.is-open { display: flex; }
 .site-nav a, .site-nav .button { padding: .9rem; }
 .phone-link { border-top: 1px solid var(--line); }
 .services-menu { width: 100%; }
 .services-dropdown { display: block; position: static; width: 100%; flex-basis: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--accent); }
}

.gallery-home-link { margin-top: 2rem; }

/* Regional coverage sits between the process and final invitation. */
.home-service-area { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding-block: 3rem 4rem; border-top: 1px solid var(--line); }
.home-service-area h2 { max-width: 14ch; font-size: clamp(2.5rem, 3.8vw, 4rem); line-height: 1.04; }
.home-service-area > p { max-width: 55ch; margin: 0; color: var(--muted); font-size: 1.08rem; }
@media (max-width: 760px) { .home-service-area { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem; } }

/* Compact shared contact details and the standalone Contact page. */
.footer-coverage { margin: .7rem 0 0; color: #b9bab5; font-size: .8rem; line-height: 1.6; }
.contact-details { width: min(calc(100% - 3rem), 68rem); margin-inline: auto; padding-block: 3rem 4rem; }
.contact-details h1 { margin-bottom: 2rem; font-size: clamp(3.25rem, 5vw, 4.5rem); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; }
.contact-phone { font-size: clamp(2.1rem, 3.7vw, 3.4rem); line-height: 1.2; letter-spacing: -.025em; text-decoration: none; }
.contact-email { margin-top: .85rem; font-size: 1.15rem; text-underline-offset: .2em; overflow-wrap: anywhere; }
.contact-direct .button { margin-top: 1.75rem; }
.contact-hours { margin: 0 0 1.35rem; }
.contact-hours > span { display: block; margin-bottom: .3rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 750; color: var(--muted); }
.contact-area { margin: 0; color: #4c4d49; }
@media (max-width: 760px) {
 .contact-details { width: calc(100% - 2rem); padding-block: 2.5rem 3rem; }
 .contact-details h1 { margin-bottom: 1.75rem; }
 .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
 .contact-information { border-top: 1px solid var(--line); padding-top: 1.5rem; }
 .contact-email { font-size: 1rem; }
}

/* /services, phone widths: H1 capped at the service pages' phone size (ruled 2026-10-07). Wording unchanged.
   Home is exempt from the first-screen visual rule and keeps its original hero (ruled 2026-10-07). */
@media (max-width: 600px) { #services-title { font-size: 2.8rem; line-height: 1; } }

/* Short phone screens (ruled 2026-10-07): /services keeps 7.5rem above the eyebrow (clear of the 108px header) and
   takes the cut from the gap above the first card, so its first image starts inside a 375x667 screen. */
@media (max-width: 600px) {
 .services-hero .hero-copy { padding-top: 7.5rem; }
 .services-hero + .services-router { padding-top: 2rem; }
}

/* Attached files: one row per file with its own Remove button (2026-10-08). */
.estimate-file-list { margin: .5rem 0 0; padding: 0; list-style: none; border: 1px solid #8e8b83; background: #fff; }
.estimate-file-list li { display: flex; align-items: center; gap: .75rem; padding: .25rem .25rem .25rem .75rem; border-top: 1px solid var(--line); }
.estimate-file-list li:first-child { border-top: 0; }
.estimate-file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.estimate-file-size { flex-shrink: 0; color: var(--muted); font-size: .8rem; }
.estimate-file-remove { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 0; background: none; color: var(--accent); font: inherit; font-size: .85rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.estimate-file-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
