@font-face {
  font-family: Archivo Black; src: url("fonts/archivo.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: DM Sans; src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
:root {
  --ink: #13264a; --blue: #163e75; --lake: #225ba2; --mist: #eaf1fa;
  --white: #fff; --muted: #354e6c; --line: #b5c7dd;
  --wrap: 1184px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-bottom: 80px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 17px/1.55 "DM Sans", sans-serif; }
h1, h2 { margin: 0; font: 400 2rem/1.05 "Archivo Black", sans-serif; letter-spacing: -.055em; }
h2 { text-wrap: balance; }
h3 { font-size: 1.28rem; line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: inherit; touch-action: manipulation; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3787eb; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 64px; }
.skip { position: absolute; z-index: 4; left: 16px; top: -100px; padding: 12px 16px; background: white; }
.skip:focus { top: 12px; }
.header { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.brand { display: inline-flex; align-items: center; min-height: 62px; width: fit-content; text-decoration: none; font-weight: 700; }
.brand img { width: 96px; height: auto; display: block; }
.brand span { display: none; }
.header-phone { padding-block: 12px; font-weight: 700; text-decoration: none; color: var(--blue); }
.header-phone:hover, nav a:hover { text-decoration: underline; }
nav { grid-row: 2; grid-column: 1 / -1; display: flex; gap: clamp(16px, 5vw, 28px); border-top: 1px solid var(--mist); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; font-weight: 700; }
.hero { display: flex; flex-direction: column; position: relative; color: var(--white); background: var(--blue); }
.hero-photo { width: 100%; height: clamp(184px, 55vw, 320px); object-fit: cover; object-position: center 35%; order: 1; display: block; }
.hero-inner { padding-block: 40px 32px; }
h1 { font-size: clamp(2.38rem, 10.8vw, 4.2rem); margin-bottom: 16px; }
.hero p { max-width: 34ch; }
.hero .location { margin-bottom: 12px; font-weight: 700; color: #d9e9ff; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--blue); color: white; border: 0; border-radius: 5px; padding: 12px 16px; font: 700 16px/1.25 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; text-align: center; touch-action: manipulation; }
.button:hover { background: var(--lake); }
.button.light { background: white; color: var(--blue); }
.button.light:hover { background: #d9e9ff; }
.proof { background: var(--mist); }
.proof-inner { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding-block: 18px; }
.proof-inner strong { font-size: 20px; }
.proof-inner span { color: var(--muted); }
.services, .estimate, .area-grid { display: grid; gap: 32px; }
.services h2 { margin-bottom: 22px; }
.service-lead { border-left: 4px solid var(--lake); padding-left: 16px; }
.service-list { display: grid; align-content: start; }
.service-list article { border-top: 1px solid var(--line); padding-block: 20px; }
.service-list article:last-child { padding-bottom: 0; }
.service-list p, .service-lead p, .area-grid p, .estimate p { color: var(--muted); }
.service-list p { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.portfolio { background: var(--ink); color: white; }
.portfolio h2 { margin-bottom: 28px; }
.projects { display: grid; gap: 28px; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: clamp(220px, 68vw, 340px); object-fit: cover; border-radius: 6px; object-position: center 42%; }
figure:first-child img { object-position: center 35%; }
figcaption { margin-top: 8px; color: #e0ecff; }
.areas { background: var(--mist); }
.area-grid h2, .estimate h2 { margin-bottom: 16px; }
dl { margin: 0; }
dl div { border-top: 1px solid var(--line); padding-block: 14px; }
dl div:last-child { border-bottom: 1px solid var(--line); }
dt { font-size: 1.22rem; font-weight: 700; }
dd { margin: 2px 0 0; color: var(--muted); }
form { display: grid; align-content: start; gap: 8px; }
label { font-weight: 700; }
label span { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; color: var(--ink); background: #f7faff; border: 1px solid #839ab6; border-radius: 5px; min-height: 46px; padding: 10px 12px; margin: 0 0 8px; font: inherit; }
textarea { resize: vertical; }
form p { margin-bottom: 4px; }
form .button { justify-self: start; }
.footer { background: var(--ink); color: white; padding-block: 40px calc(100px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 20px; }
.footer strong { font-size: 1.18rem; }
.footer p, .footer address { margin: 8px 0 0; font-style: normal; color: #e0ecff; }
.footer a { display: flex; min-height: 44px; align-items: center; width: fit-content; }
.call-bar { position: fixed; z-index: 2; bottom: 0; inset-inline: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -4px 18px #13264a30; }
.call-bar a { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--lake); color: white; border-radius: 5px; text-decoration: none; font-weight: 700; }
.call-bar a:hover { background: var(--blue); }
@media (min-width: 660px) {
  .header { display: flex; justify-content: space-between; gap: 20px; min-height: 76px; }
  nav { border: 0; }
  .proof-inner { flex-direction: row; align-items: baseline; gap: 16px; }
  .projects { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 800px) {
  .wrap { width: min(var(--wrap), calc(100% - 80px)); }
  .hero { min-height: 540px; display: grid; align-items: center; }
  .hero::after { content: ""; position: absolute; inset: 0; background: var(--blue); clip-path: polygon(0 0, 57% 0, 45% 100%, 0 100%); }
  .hero-photo { position: absolute; width: 60%; height: 100%; inset: 0 0 0 auto; object-position: center 40%; }
  .hero-inner { z-index: 1; padding-block: 56px; }
  h1 { font-size: clamp(3.6rem, 5.6vw, 5.3rem); }
  h2 { font-size: clamp(2.35rem, 4vw, 3.25rem); }
  .section { padding-block: 88px; }
  .service-lead { padding-left: 24px; }
  .services, .area-grid, .estimate { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); }
  .service-list { padding-top: 12px; }
  .call-bar { display: none; }
  .footer { padding-bottom: 40px; }
  html { scroll-padding-bottom: 0; }
}
@media (min-width: 1060px) {
  .brand span { display: inline; margin-left: 10px; }
}

@media (max-width: 799px) {
  .hero-inner { padding-block: 30px 26px; }
  .hero-photo { object-position: center 30%; }
}
@media (min-width: 660px) and (max-width: 799px) {
  .hero-photo { height: 254px; object-position: center 18%; }
}
@media (min-width: 800px) {
  .hero-photo { width: 51%; object-position: left 33%; }
  .hero p { max-width: min(40ch, 44vw); text-wrap: pretty; }
}
