:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #263443;
  --muted: #46586a;
  --accent: #1e73be;
  --action: #e51a27;
  --action-hover: #c81220;
  --accent-hover: #17578f;
  --sky: #edf5fc;
  --line: #d4e1ed;
  --wrap: min(100% - 80px, 1320px);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1e73be; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px; background: white; z-index: 10; }
.skip:focus { top: 10px; }
.header { background: var(--accent); color: #fff; }
.header :focus-visible { outline-color: #fff; }
.utility a:focus-visible { outline-color: var(--accent); }
.utility { background: var(--sky); color: var(--ink); font-size: .875rem; }
.utility .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility a { color: var(--accent); text-decoration: none; font-weight: 700; }
.utility-divider { margin: 0 8px; color: #667e80; }
.navigation { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 26px; }
.brand { display: inline-flex; align-items: center; font-size: clamp(1.08rem, 2.3vw, 1.45rem); line-height: 1.12; font-weight: 750; letter-spacing: -.045em; text-decoration: none; }
.brand-suffix { font-size: .77em; font-weight: 550; color: var(--muted); }
.header .brand-suffix { color: inherit; }
nav { display: flex; gap: clamp(20px, 4vw, 55px); font-weight: 700; }
nav a { text-decoration: none; padding-block: 10px; }
nav a:hover, .text-link:hover, .service a:hover { text-decoration-thickness: 2px; }
nav a:hover { text-decoration: underline; }
.menu-toggle { display: none; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; border-radius: 5px; background: var(--action); color: #fff; text-decoration: none; font-weight: 800; line-height: 1.2; text-align: center; transition: background .18s ease, color .18s ease; }
.button:hover { background: var(--action-hover); }
.button-small { min-height: 44px; padding-inline: 17px; font-size: .9rem; }
.button-outline, .button-light-outline { background: #fff; color: var(--accent); border-color: #88a9c5; }
.button-outline:hover { background: var(--sky); color: var(--accent-hover); }
.button-light-outline:hover { background: var(--sky); }
.actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.hero { background: #f8fbfe; border-top: 1px solid #e3edf6; }
.hero-inner { min-height: 540px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 82px); padding-block: 48px; }
.hero-content { min-width: 0; }
.eyebrow { display: flex; gap: 9px; align-items: center; font-weight: 700; color: var(--accent); font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 18px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 730; letter-spacing: -.048em; }
h1 { font: 600 clamp(2.75rem, 4.5vw, 4.35rem)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.046em; }
.hero-summary { margin: 24px 0 26px; font-size: clamp(1.06rem, 1.5vw, 1.21rem); line-height: 1.55; max-width: 535px; color: var(--muted); }
.hero-project { position: relative; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid #d4e1ed; }
.hero-photo { object-fit: cover; object-position: 56% 50%; width: 100%; height: auto; aspect-ratio: 1.17; }
.photo-credit { display: grid; gap: 4px; font-size: .88rem; padding: 14px 17px 16px; border-top: 1px solid #d4e1ed; }
.photo-credit span { color: var(--muted); }
.photo-credit strong { font-size: 1rem; }
.credentials { background: #fff; border-bottom: 1px solid var(--line); }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.credential-grid > div { display: grid; gap: 5px; padding: 22px clamp(15px, 4vw, 56px); border-left: 1px solid #d4e1ed; }
.credential-grid > div:first-child { padding-left: 0; border-left: 0; }
.credential-grid strong { font-size: 1.12rem; letter-spacing: -.025em; }
.credential-grid span { color: var(--muted); font-size: .94rem; }
.section { padding-block: clamp(56px, 8vw, 108px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.03; }
.section-heading p { max-width: 350px; }
p { line-height: 1.6; }
.section-heading p, .coverage p { color: var(--muted); }
.services, .projects { display: grid; gap: 22px; }
.services { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service { min-height: 315px; display: flex; flex-direction: column; align-items: start; padding: clamp(21px, 3vw, 40px); border: 1px solid var(--line); border-radius: 7px; background: #ffffff; }
.service.featured { background: var(--sky); border-color: var(--line); border-color: #b9d0e4; }
.tag { font-size: .875rem; line-height: 1.3; font-weight: 700; color: var(--muted); }

h3 { margin: 24px 0 13px; font-size: clamp(1.7rem, 2.75vw, 2.55rem); line-height: 1.05; }
.service p { margin-bottom: 24px; }
.service a, .text-link { font-weight: 800; text-underline-offset: 5px; }
.service a { margin-top: auto; }
.work { background: #f1f7fb; }
.projects { grid-template-columns: repeat(2, minmax(0,1fr)); }
.projects figure { background: #ffffff; }
.projects img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.projects figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 19px 22px; }
.projects figcaption span { color: var(--muted); }
.coverage { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 6vw, 100px); align-items: center; }
.coverage .eyebrow { color: var(--ink); }
.coverage p + p { margin: 14px 0 17px; }
.estimate { background: var(--sky); color: var(--ink); }
.estimate-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 7vw, 100px); align-items: start; }
.estimate-copy > p:not(.eyebrow) { max-width: 390px; color: var(--muted); margin-top: 18px; }
.estimate-phone { display: inline-block; margin-top: 23px; color: var(--accent); font-size: clamp(1.65rem, 3.3vw, 2.6rem); font-weight: 900; letter-spacing: -.06em; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.estimate-copy .hours { font-size: .94rem; }
.estimate-form { background: var(--paper); color: var(--ink); border-radius: 6px; border: 1px solid var(--line); padding: clamp(21px, 4vw, 40px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.fields label { display: grid; gap: 7px; font-size: .94rem; font-weight: 800; line-height: 1.3; }
.bid-fields { grid-column: 1 / -1; }
.bid-fields[hidden] { display: none; }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields textarea, .fields select { width: 100%; min-height: 45px; border: 1px solid #849db4; border-radius: 2px; color: var(--ink); background: #fff; padding: 10px 11px; font-size: 1rem; font-weight: 400; }
.fields textarea { resize: vertical; min-height: 100px; }
.fields select { appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, #414535 50%), linear-gradient(135deg,#414535 50%,transparent 50%); background-position: calc(100% - 14px) 20px, calc(100% - 9px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
#form-help, .draft-status { margin: 14px 0; color: var(--muted); font-size: .94rem; }
.draft-status { margin-bottom: 0; font-weight: 700; }
.footer { background: #f3f7fb; color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { min-height: 104px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-block: 22px; }
.footer-grid > a:last-child { text-underline-offset: 4px; }
.mobile-actions { display: none; }
@media (max-width: 900px) {
  :root { --wrap: min(100% - 48px, 1320px); }
  .navigation { gap: 17px; }
  nav { gap: 20px; }
  .service { min-height: 280px; }
  .estimate-grid { gap: 25px; }
}
@media (max-width: 850px) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 31px; padding-block: 42px; }
  .hero-photo { aspect-ratio: 1.6; }
}
@media (max-width: 730px) {
  :root { --wrap: calc(100% - 32px); }
  .utility .wrap { font-size: .8125rem; }
  .utility .wrap > span:last-child { white-space: nowrap; }
  .utility-divider { margin-inline: 3px; }
  .navigation { min-height: 68px; position: relative; }
  .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; padding: 9px 14px; min-height: 42px; border-radius: 2px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font-weight: 800; }
  nav { display: none; flex-direction: column; gap: 4px; position: absolute; top: calc(100% - 3px); left: 0; right: 0; padding: 10px 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); z-index: 4; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .header nav a:focus-visible { outline-color: var(--accent); }
  h1 { font-size: clamp(2.35rem, 8.25vw, 4rem); }
  .credential-grid > div { padding: 16px 10px; }
  .credential-grid strong { font-size: .92rem; }
  .credential-grid span { font-size: .83rem; line-height: 1.35; }
  .section-heading { display: block; }
  .section-heading p, .section-heading a { display: block; margin-top: 14px; }
  .services, .projects, .coverage, .estimate-grid { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .service h3 { font-size: 2.4rem; }
  .coverage { gap: 24px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-actions { position: fixed; z-index: 6; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .mobile-actions .button { min-height: 46px; padding-inline: 6px; font-size: .875rem; }

}
@media (max-width: 420px) {
  .utility .wrap { min-height: 37px; }
  .utility-hours { display: none; }
  .utility-divider { margin-inline: 2px; }
  .actions .button { width: 100%; }
  .hero .eyebrow { letter-spacing: .065em; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

[hidden] { display: none !important; }
.detail-hero { background: var(--sky); padding-block: clamp(43px,7vw,86px); }
.detail-hero p:not(.eyebrow) { max-width: 58ch; color: var(--muted); margin: 18px 0 23px; font-size: 1.1rem; }
.detail-hero h1 { max-width: 900px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,95px); align-items: start; }
.detail-grid h2, .faq h2 { margin-bottom: 18px; }
.scope-list { padding-left: 22px; }
.scope-list li { margin-block: 9px; }
.detail-grid figure { border: 1px solid var(--line); overflow: hidden; border-radius: 8px; }
.detail-grid img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.faq { max-width: 790px; }
.faq details { margin-block: 11px; border: 1px solid var(--line); padding: 15px 19px; border-radius: 5px; }
.faq summary { font-weight: 750; cursor: pointer; }
.faq details p { margin-top: 12px; }
.profile-links { display: flex; gap: 17px; flex-wrap: wrap; margin-top: 15px; }
.profile-links a:not(.button) { color: var(--accent-hover); text-underline-offset: 4px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.small-print { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.inquiry-grid { display: grid; gap: 14px; }
.inquiry { padding: 20px; border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere; }
.inquiry h2 { font: 750 1.22rem/1.2 system-ui,sans-serif; margin: 0 0 9px; }
.inquiry p { white-space: pre-wrap; }
.inquiry-meta { color: var(--muted); margin-bottom: 10px; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }
