:root {
  color-scheme: light;
  --ink: #141c2e;
  --navy: #17243b;
  --paper: #f7f5f0;
  --white: #fff;
  --orange: #f6a23d;
  --orange-hover: #ffb75e;
  --muted: #565b62;
  --line: #dbd8d0;
  --wrap: min(100% - 2.5rem, 77rem);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ul { margin: 0; }
p + p { margin-top: .7rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.02; letter-spacing: -.047em; }
h1 { font-size: clamp(2.45rem, 7.8vw, 4.75rem); }
h2 { font-size: clamp(2.2rem, 6vw, 4rem); }
h3 { font-size: 1.17rem; line-height: 1.25; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2663ae; outline-offset: 4px; }
.hero :focus-visible, .areas :focus-visible, .mobile-actions :focus-visible { outline-color: var(--orange-hover); outline-offset: -3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; padding: .7rem; z-index: 10; background: white; transform: translateY(-110%); }
.skip:focus { transform: translateY(0); }
.header { background: white; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: .8rem; min-height: 4.35rem; }
.brand img { object-fit: contain; width: 116px; height: auto; }
.header-phone { font-size: .87rem; font-weight: 750; text-decoration: none; white-space: nowrap; padding: .65rem 0 .65rem .25rem; }
.header-phone span:first-child { color: #91500c; }
.navigation { display: none; }
.hero { background: var(--navy); color: white; }
.hero-copy { padding: 2.35rem 0 2.15rem; }
.hero-inner { width: var(--wrap); margin: auto; }
.eyebrow { display: flex; gap: .65rem; align-items: center; font-weight: 750; font-size: .72rem; text-transform: uppercase; letter-spacing: .135em; line-height: 1.35; margin-bottom: 1rem; }
.eyebrow span { width: 1.5rem; height: 1px; background: #a85b16; flex: none; }
.hero .eyebrow, .areas .eyebrow { color: #ffcc92; }
.hero .eyebrow span, .areas .eyebrow span { background: var(--orange); }
.hero h1 { max-width: 17ch; }
.hero h1 .installation-line { white-space: nowrap; }
.hero h1 em { display: block; color: #ffc379; font-weight: inherit; }
.hero-intro { margin: 1.15rem 0 1.3rem; color: #e3e6ed; max-width: 28rem; }
.hero-actions { display: flex; gap: .75rem 1.15rem; align-items: center; flex-wrap: wrap; }
.button { font: inherit; font-weight: 760; display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .65rem 1.35rem; border-radius: .25rem; background: var(--orange); color: #191c24; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--orange-hover); }
.button:disabled { cursor: progress; opacity: .7; }
.hero-call { color: white; font-size: .9rem; text-underline-offset: .25rem; min-height: 2.75rem; display: inline-flex; align-items: center; gap: .27rem; }
.hero-photo { position: relative; min-width: 0; background: #655854; }
.hero-photo img { width: 100%; height: clamp(12.25rem, 60vw, 31rem); object-fit: cover; object-position: 54% center; }
.hero-photo figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1.25rem .8rem; background: linear-gradient(transparent, #1b1414b0); color: white; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.credentials { background: #ede9e0; border-bottom: 1px solid #e2dcd0; }
.credential-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1rem; padding: 1.15rem 0; list-style: none; }
.credential-list li { display: flex; align-items: center; gap: .45rem; font-size: .86rem; line-height: 1.25; }
.credential-list span { color: #874709; font-size: 1rem; }
.section { padding: clamp(3.25rem, 8vw, 6.3rem) 0; scroll-margin-top: 1rem; }
.quote-layout { display: grid; gap: 1.8rem; }
.quote-copy > p:not(.eyebrow), .areas p:not(.eyebrow) { margin-top: 1rem; max-width: 29rem; color: var(--muted); }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin-top: 1.4rem; font-size: .9rem; }
.direct strong { flex-basis: 100%; }
.direct a, .text-link { text-underline-offset: .25rem; font-weight: 700; }
.quote-form { border: 1px solid #dedad2; background: white; padding: clamp(1rem, 4vw, 2rem); border-radius: .4rem; box-shadow: 0 14px 35px #22221709; }
.fields { display: grid; gap: .9rem; }
.quote-form label { font-weight: 700; font-size: .9rem; display: block; }
.quote-form > label { margin-top: .9rem; }
input, textarea { width: 100%; color: var(--ink); font: 1rem/1.4 system-ui, sans-serif; border: 1px solid #cfccc4; background: #fcfbf8; border-radius: .25rem; }
input:not([type=file]), textarea { margin-top: .35rem; padding: .7rem; min-height: 2.85rem; }
textarea { display: block; resize: vertical; }
.quote-form .upload { display: flex; align-items: center; border: 1px dashed #b7b0a1; color: var(--ink); padding: .7rem; gap: .65rem; border-radius: .25rem; cursor: pointer; }
.upload:hover { background: var(--paper); }
.upload-symbol { font-size: 1.3rem; line-height: 1; }
.optional, .upload small { color: var(--muted); font-weight: 450; }
.optional { margin-inline-start: .3rem; }
.upload small { display: block; font-size: .77rem; }
.file-input, .trap { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; }
.quote-form:has(.file-input:focus-visible) .upload { outline: 3px solid #2663ae; outline-offset: 2px; }
.file-summary { font-size: .82rem; overflow-wrap: anywhere; margin-top: .3rem; }
.quote-form .button { width: 100%; margin-top: .8rem; }
.form-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: .65rem; }
#form-status:empty { display: none; }
#form-status { margin-top: .6rem; font-size: .9rem; overflow-wrap: anywhere; }
#form-status[data-error], .file-summary[data-error] { color: #a51e27; }
.work { background: #fff; border-block: 1px solid #e5e1d8; }
.section-head { display: flex; gap: 1rem 1.5rem; justify-content: space-between; align-items: end; flex-wrap: wrap; }
.section-head .text-link { white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; margin-top: 1.65rem; }
.gallery figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .2rem; }
.gallery figcaption { font-size: .88rem; font-weight: 650; padding-top: .55rem; }
.service-grid { display: grid; gap: .7rem; margin-top: 1.6rem; }
.service-grid article { background: #fff; border: 1px solid #e1ddd3; padding: 1.25rem; border-radius: .22rem; }
.service-grid p { color: var(--muted); margin-top: .6rem; }
.service-icon { display: inline-block; color: #965016; font-size: 1.62rem; line-height: 1; margin-bottom: .85rem; }
.reviews { background: #eae6dc; }
.review-layout { display: grid; gap: 1.4rem; align-items: center; }
.review-cards { display: grid; gap: .65rem; margin-block: 1rem; }
.review-cards article { background: white; border-radius: .25rem; padding: 1rem; }
.review-cards blockquote { margin: .4rem 0; }
.review-rating { color: #86460c; font-weight: 750; }
.areas { background: var(--navy); color: white; }
.areas-layout { display: grid; gap: 1.6rem; align-items: center; }
.areas p:not(.eyebrow) { color: #e3e6ed; }
.areas .button { margin-top: 1.1rem; }
.areas ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; padding: 0; }
.areas li { border: 1px solid #657188; padding: .65rem .85rem; border-radius: .25rem; }
.footer { background: white; padding-block: 1rem 5.7rem; }
.footer-inner { display: flex; align-items: center; gap: .7rem 1.2rem; flex-wrap: wrap; font-size: .87rem; }
.footer-inner .brand { margin-right: auto; }
.footer button { background: none; border: none; text-decoration: underline; color: var(--ink); font: inherit; cursor: pointer; padding: .6rem 0; }
.mobile-actions { position: fixed; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: .8fr .8fr 1.75fr; gap: .4rem; background: #fff; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); box-shadow: 0 -2px 14px #0002; }
.mobile-actions a { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 2.75rem; font-size: .83rem; font-weight: 750; text-decoration: none; border: 1px solid #e3e0d9; border-radius: .25rem; text-align: center; }
.mobile-actions a:last-child { background: var(--orange); border-color: var(--orange); }
.measurement { position: fixed; z-index: 5; right: .7rem; bottom: calc(4.55rem + env(safe-area-inset-bottom)); max-width: calc(100% - 1.4rem); border: 1px solid var(--line); border-radius: .4rem; background: white; padding: .85rem; box-shadow: 0 6px 18px #0002; }
.measurement p { margin-bottom: .5rem; }
.measurement button { padding: .5rem .8rem; margin-right: .4rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: .25rem; cursor: pointer; }
.confirmation { min-height: 65vh; }
.confirmation p:not(.eyebrow) { margin: 1.15rem 0 1.5rem; }
.confirmation a + a { margin-left: .8rem; }

@media (min-width: 540px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zip { max-width: 12rem; }
  .credential-list { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 760px) {
  :root { --wrap: min(100% - 5rem, 77rem); }
  .header-inner { min-height: 5.25rem; }
  .brand img { width: 141px; }
  .header-phone { font-size: .95rem; }
  .navigation { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
  .navigation a { text-decoration: none; font-weight: 650; font-size: .91rem; }
  .navigation a:hover { text-decoration: underline; text-underline-offset: .3rem; }
  .mobile-actions { display: none; }
  .footer { padding-bottom: 1.2rem; }
  .measurement { bottom: .7rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.1rem; }
  .quote-layout { grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .service-grid article { padding: 1.65rem; }
  .review-layout, .areas-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .credential-list li { justify-content: center; font-size: .95rem; }
}
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-copy { display: grid; align-items: center; min-height: 31rem; padding: 3rem 2rem 3.25rem max(2.5rem, calc((100vw - 77rem) / 2)); }
  .hero-inner { width: 100%; }
  .hero h1 { font-size: clamp(2.95rem, 4.13vw, 4.45rem); max-width: none; }
  .hero-photo img { height: 100%; position: absolute; }
  .hero-photo figcaption { padding-right: max(2.5rem, calc((100vw - 77rem) / 2)); }
  .quote-copy { padding-top: 1.1rem; }
  .fields { grid-template-columns: 1.2fr 1.15fr .8fr; }
}

.navigation-mobile { display: flex; gap: 1.25rem; align-items: center; padding-bottom: .55rem; }
.navigation-mobile a { display: inline-flex; align-items: center; min-height: 2.65rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.inner-feature { background: var(--navy); color: var(--white); }
.inner-feature.compact { padding-block: clamp(2.6rem, 7vw, 5rem); }
.inner-feature .eyebrow { color: #ffcc92; }
.inner-feature .eyebrow span { background: var(--orange); }
.inner-feature h1 { max-width: 18ch; }
.inner-feature p:not(.eyebrow) { margin-block: 1rem 1.4rem; max-width: 39rem; color: #e3e6ed; }
.feature-layout { display: grid; gap: 1.65rem; align-items: center; padding-block: clamp(2.6rem, 7vw, 4.5rem); }
.feature-layout img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .25rem; }
.story-layout { display: grid; gap: 1.7rem; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); margin-top: 2rem; }
.prose h1 + p, .prose h2 + p { margin-top: .9rem; }
.portfolio { background: white; }
.portfolio-grid img { transition: filter .2s; }
.portfolio-grid a:hover img { filter: brightness(.85); }
.policy { margin-inline: auto; }
@media (min-width: 760px) {
  .navigation-mobile { display: none; }
  .navigation { gap: clamp(.7rem, 2.3vw, 2rem); }
  .feature-layout { grid-template-columns: 1fr .9fr; gap: clamp(2rem, 6vw, 5rem); }
  .story-layout { grid-template-columns: .8fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid img { transition: none; }
}
