:root {
  --ink: #121d29;
  --ink-soft: #243343;
  --blue: #8eb4d3;
  --blue-deep: #47799f;
  --mist: #eef4f7;
  --paper: #fbfcfc;
  --white: #ffffff;
  --line: #d8e1e7;
  --accent: #d29a5c;
  --shadow: 0 24px 70px rgba(18, 29, 41, 0.14);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  transform: translateY(-160%); padding: 10px 16px; background: white; color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.utility-bar { background: #0a121b; color: #dfeaf1; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner a { color: white; text-decoration: none; font-weight: 700; }

.site-header { position: absolute; z-index: 20; left: 0; right: 0; color: white; border-bottom: 1px solid rgba(255,255,255,.22); }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { width: min(390px, 38vw); text-decoration: none; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-size: 0.94rem; font-weight: 700; letter-spacing: 0.015em; }
.site-nav a:hover { color: #bad5e9; }
.menu-toggle { display: none; color: white; background: none; border: 0; }

.hero { min-height: 790px; position: relative; color: white; display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(8,16,24,.92) 0%, rgba(8,16,24,.76) 36%, rgba(8,16,24,.25) 68%, rgba(8,16,24,.06) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 120px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 18px; color: #bcd5e8; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow-dark { color: var(--blue-deep); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.3rem, 6.7vw, 6.5rem); }
.hero-title-line { display: block; }
h2 { font-size: clamp(2.55rem, 4.6vw, 4.6rem); }
.hero-promise { margin: -6px 0 10px; color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.55rem); font-weight: 700; letter-spacing: .01em; }
.hero-lede { max-width: 640px; margin: 0 0 34px; color: #edf4f7; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid transparent; text-decoration: none; font-size: 0.83rem; font-weight: 800; letter-spacing: 0.075em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #0d1a24; }
.button-primary:hover { background: #aed0e9; }
.button-ghost { border-color: rgba(255,255,255,.6); color: white; }
.button-ghost:hover { background: white; color: var(--ink); }
.button-call {
  gap: 12px;
  padding: 11px 23px 11px 12px;
  border-color: rgba(210,154,92,.9);
  color: white;
  background: rgba(10,18,27,.78);
  box-shadow: 0 12px 32px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(5px);
}
.button-call-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  color: #172432;
  background: var(--accent);
}
.button-call-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-call:hover { color: white; background: rgba(25,39,53,.96); border-color: #efc08b; }
.button-call:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.button-light { background: white; color: var(--ink); }
.image-note { position: absolute; z-index: 3; right: 18px; bottom: 12px; margin: 0; color: rgba(255,255,255,.7); font-size: 0.72rem; }

.proof-strip { position: relative; z-index: 4; margin-top: -1px; color: white; background: var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--blue); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.proof-grid span { margin-top: 2px; color: #c5d1d8; font-size: 0.83rem; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(52px, 8vw, 110px); align-items: center; }
.section-copy h2 { max-width: 610px; margin-bottom: 30px; }
.section-copy p { max-width: 610px; color: #52616d; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 14px; color: var(--blue-deep); text-decoration: none; font-weight: 800; }
.text-link span { font-size: 1.35rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.feature-image { position: relative; margin: 0; box-shadow: var(--shadow); }
.feature-image::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1; border: 1px solid var(--blue); }
.feature-image img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.feature-image figcaption { position: absolute; left: 24px; bottom: 22px; padding: 10px 14px; background: rgba(18,29,41,.88); color: white; font-size: 0.83rem; }

.services { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 64px; align-items: end; margin-bottom: 58px; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-heading > p { margin: 0 0 8px; color: #52616d; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cbd8df; border-left: 1px solid #cbd8df; }
.service-card { min-height: 300px; width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 34px; border: 0; border-right: 1px solid #cbd8df; border-bottom: 1px solid #cbd8df; color: var(--ink); background: rgba(255,255,255,.55); text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.service-card:hover { background: #e5eef3; box-shadow: inset 0 0 0 2px rgba(71,121,159,.32); }
.service-card:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: -4px; }
.service-card[aria-pressed="true"] { color: white; background: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.service-card-title { display: block; margin-bottom: 16px; font-family: Georgia, serif; font-size: 1.62rem; font-weight: 400; line-height: 1.2; }
.service-card-description { display: block; color: #586773; font-size: 1rem; font-weight: 400; line-height: 1.65; }
.service-card[aria-pressed="true"] .service-card-description { color: #c5d1d8; }

.detail-band { display: grid; grid-template-columns: 1.18fr .82fr; background: var(--ink); color: white; }
.detail-image-wrap { position: relative; min-height: 680px; }
.detail-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; padding: 76px clamp(38px, 7vw, 100px); }
.detail-copy h2 { max-width: 620px; margin-bottom: 38px; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding: 17px 0 17px 30px; border-top: 1px solid rgba(255,255,255,.14); color: #d5e0e6; }
.check-list li::before { content: ""; position: absolute; left: 1px; top: 26px; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.process { background: white; }
.process-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.4rem; }
.process-list h3 { margin-bottom: 8px; font-size: 1.1rem; letter-spacing: .01em; }
.process-list p { max-width: 750px; margin: 0; color: #5b6872; }

.area { color: white; background: var(--blue-deep); }
.area-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.area-copy h2 { max-width: 690px; margin-bottom: 24px; }
.area-copy > p:not(.eyebrow) { max-width: 620px; margin-bottom: 30px; color: #e5f0f6; }
.area .eyebrow { color: #d7eaf6; }
.county-groups { display: grid; gap: 34px; padding: 42px; border: 1px solid rgba(255,255,255,.28); background: rgba(18,29,41,.12); }
.county-groups h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.county-groups p { margin: 0; color: #edf5f9; }
.county-groups small { color: #d2e4ee; }

.estimate { background: var(--paper); }
.estimate-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(52px, 9vw, 120px); align-items: start; }
.estimate-copy { position: sticky; top: 35px; }
.estimate-copy h2 { margin-bottom: 24px; }
.estimate-copy > p:not(.eyebrow) { color: #5b6872; }
.contact-lines { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-lines a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-lines span, .contact-lines strong { display: block; }
.contact-lines span { color: #6e7b84; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-lines strong { margin-top: 4px; color: var(--blue-deep); font-size: 1.03rem; overflow-wrap: anywhere; }
.estimate-form { display: grid; gap: 22px; padding: clamp(30px, 5vw, 56px); background: white; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.estimate-form label { display: grid; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; border: 1px solid #c8d3d9; border-radius: 0; padding: 13px 14px; color: var(--ink); background: white; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; outline: none; }
.estimate-form input, .estimate-form select { min-height: 52px; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(71,121,159,.15); }
.estimate-form [aria-invalid="true"] { border-color: #b13e3e; }
.form-submit { justify-self: start; }
.form-note { margin: -8px 0 0; color: #697781; font-size: .8rem; }
.form-note.error { color: #a52f2f; font-weight: 700; }

.site-footer { padding: 70px 0 24px; color: #cbd7de; background: #0b141d; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .65fr 1fr; gap: 70px; padding-bottom: 56px; }
.footer-grid > div:first-child img { width: min(410px, 100%); }
.footer-grid p { color: #8999a4; }
.footer-grid h2 { margin-bottom: 18px; color: white; font-family: "Segoe UI", Arial, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: #cbd7de; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8797a1; font-size: .76rem; }

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

@media (min-width: 1100px) {
  .hero-copy { max-width: 1080px; }
  h1 { max-width: none; }
  .hero-title-line { white-space: nowrap; }
}

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

@media (max-width: 940px) {
  .section { padding: 88px 0; }
  .site-header { position: absolute; }
  .header-inner { min-height: 88px; }
  .brand { width: min(330px, 58vw); }
  .menu-toggle { display: flex; align-items: center; gap: 11px; cursor: pointer; }
  .menu-label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 88px; left: 0; right: 0; display: none; padding: 22px 20px 26px; background: rgba(10,18,27,.98); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero { min-height: 720px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .intro-grid, .detail-band, .area-grid, .estimate-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .detail-image-wrap { min-height: 540px; }
  .area-grid { gap: 50px; }
  .estimate-copy { position: static; }
  .footer-grid { grid-template-columns: 1.3fr .7fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .utility-inner { justify-content: center; min-height: 34px; }
  .utility-inner span { display: none; }
  .header-inner { min-height: 78px; }
  .brand { width: 245px; max-width: 64vw; }
  .site-nav { top: 78px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,16,24,.92) 0%, rgba(8,16,24,.72) 100%); }
  .hero-inner { padding-top: 110px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero-actions { display: grid; }
  .hero > .image-note { display: none; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 19px 14px; }
  .proof-grid strong { font-size: 1.13rem; }
  .proof-grid span { font-size: .74rem; }
  .feature-image::before { inset: -10px 10px 10px -10px; }
  .feature-image figcaption { left: 12px; right: 12px; bottom: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px; }
  .detail-image-wrap { min-height: 400px; }
  .detail-copy { padding: 60px 24px; }
  .process-list li { grid-template-columns: 54px 1fr; gap: 12px; }
  .county-groups { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .estimate-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}
