:root {
  color-scheme: light;
  --dark: #15212e;
  --ink: #182838;
  --paper: #f1f5f9;
  --accent: #1760a1;
  --edge: #cad6e1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 system-ui, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #256db0; outline-offset: 4px; }
.wrap { width: min(calc(100% - 3rem), 76rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 3; background: white; padding: .5rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: white; color: var(--dark); }
.contact-strip { background: var(--dark); color: #edf5fc; font-size: .9rem; }
.contact-strip .wrap { display: flex; justify-content: space-between; gap: .75rem; padding-block: .35rem; }
.contact-strip a { font-weight: 700; }
.bar, nav, .actions { display: flex; align-items: center; }
.bar { min-height: 6rem; justify-content: space-between; gap: 1rem; }
.brand { display: block; flex: 0 1 17rem; }
.brand img { display: block; width: 100%; height: auto; }
nav { gap: clamp(.75rem, 2.5vw, 2rem); }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.button { display: inline-block; padding: .75rem 1.15rem; background: var(--accent); color: white; text-decoration: none; line-height: 1.35; border: 1px solid transparent; font: inherit; font-weight: 800; cursor: pointer; }
.button:hover { background: #104d84; }
.outline { color: white; border-color: #d8e5f0; background: #15212e55; }
.outline:hover { background: #15212e; }
.hero { background: linear-gradient(90deg, #15212efa 4%, #15212ed6 36%, #15212e35 78%), url("hero.webp") center 54% / cover, #263a4c; color: white; }
.hero-inner { min-height: 34rem; padding-block: clamp(4rem, 10vw, 7rem); }
.eyebrow { margin: 0 0 .8rem; font-size: .88rem; letter-spacing: .16em; font-weight: 850; color: #194e7f; }
.hero .eyebrow { color: #a7d3ff; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.05em; }
h1 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 930; }
h2 { font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 880; }
h3 { font-size: 1.55rem; }
.intro { max-width: 28rem; font-size: 1.16rem; color: #edf5fc; margin: 1.5rem 0; }
.actions { gap: .65rem; flex-wrap: wrap; }
.services, .estimate, .gallery { padding-block: clamp(3.5rem, 7vw, 6rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--edge); background: var(--edge); margin-top: 2rem; }
article { background: #fff; padding: clamp(1.25rem, 3.5vw, 2.5rem); }
article::before { content: ""; display: block; width: 1.75rem; height: .22rem; background: #286ab0; margin-bottom: 1.2rem; }
article p, .about p:last-child { margin-bottom: 0; }
article { display: flex; flex-direction: column; align-items: flex-start; }
article p { flex: 1; }
.service-link { margin-top: 1rem; font-weight: 750; color: #194e7f; }
.gallery { background: #e5eef7; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.gallery figure { margin: 0; max-width: 45rem; background: white; border: 1px solid var(--edge); }
.gallery-image, .gallery-image img, .gallery video { display: block; width: 100%; }
.gallery-image img, .gallery video { aspect-ratio: 3 / 2; object-fit: contain; background: var(--dark); }
.gallery-group { margin-top: 2rem; }
.gallery-group + .gallery-grid { margin-top: 1rem; }
.gallery figcaption { padding: 1.25rem; }
.gallery figcaption h4 { margin: 0 0 .3rem; font-size: 1.1rem; }
.gallery figcaption p { margin: .45rem 0; }
.gallery figcaption a { color: #194e7f; font-weight: 700; }
.about { padding-block: clamp(3rem, 6vw, 5.5rem); background: var(--dark); color: #f1f5f9; }
.about .eyebrow { color: #a7d3ff; }
.about-grid, .estimate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); }
.about-grid > div > p:first-child { margin-top: 0; }
address { font-style: normal; overflow-wrap: anywhere; }
address a { font-weight: 700; }
form { background: #fff; border: 1px solid var(--edge); padding: clamp(1rem, 3vw, 2rem); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
label { display: block; min-width: 0; margin-bottom: .85rem; font-weight: 700; }
input, select, textarea { display: block; width: 100%; padding: .55rem .65rem; margin-top: .3rem; border: 1px solid #8295a8; border-radius: 0; background: white; color: var(--dark); font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.hint { margin: .65rem 0 0; font-size: .9rem; }
footer { background: var(--dark); color: #e1ebf5; padding-block: 1.4rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; }
@media (max-width: 760px) {
  .bar { flex-direction: column; align-items: flex-start; padding-block: .7rem 1rem; }
  .brand { flex: 0 1 auto; width: min(100%, 15rem); }
  nav { flex-wrap: wrap; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .estimate { grid-template-columns: 1fr; }
  .hero { background-image: linear-gradient(90deg, #15212eec, #15212e7a), url("hero.webp"); }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 2rem); }
  .bar { flex-wrap: wrap; padding-block: .8rem; }
  nav { gap: .5rem .75rem; font-size: .9rem; }
  nav .button { padding: .45rem .7rem; font-size: .9rem; }
  .service-grid, .pair { grid-template-columns: 1fr; gap: 1px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
