:root {
  --ink: #111820;
  --ink-2: #1b252e;
  --blue: #087fd0;
  --blue-bright: #13a4ff;
  --concrete: #edf0f2;
  --muted: #65717a;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f4f5f5; font-family: Inter, system-ui, sans-serif; font-size: 1rem; line-height: 1.6; }
body::selection { background: var(--blue); color: white; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 10px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 28px); background: rgba(14, 20, 26, .96); color: white; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.header-brand { display: flex; align-items: center; height: 52px; text-decoration: none; }
.header-logo { display: block; width: auto; height: 52px; object-fit: contain; }
.header-phone { margin-right: auto; color: white; font-size: .95rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone:hover, .header-phone:focus-visible { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 4px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
nav a:hover, nav a:focus-visible { color: var(--blue-bright); }
.nav-cta { padding: 9px 15px; border: 1px solid var(--blue-bright); }
.menu-toggle { display: none; padding: 8px 12px; color: white; background: transparent; border: 1px solid #53616e; }

.hero { position: relative; overflow: visible; padding: clamp(42px, 6vw, 78px) 20px 0; text-align: center; color: white; background: radial-gradient(circle at 50% 35%, #35424c 0, #202a32 34%, #10161b 75%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: url("assets/homepage-reference.webp"); background-size: cover; background-position: center top; filter: grayscale(1) contrast(1.4); mix-blend-mode: overlay; }
.hero-glow { position: absolute; left: 50%; top: 40%; width: 680px; height: 320px; transform: translate(-50%,-50%); background: rgba(0,136,224,.17); filter: blur(75px); }
.brand-mark, .hero-copy, .hero-actions, .trust-row { position: relative; z-index: 1; }
.brand-mark { position: sticky; top: 92px; z-index: 0; max-width: 390px; margin: 0 auto 18px; }
.provided-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.42)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-copy { margin: 0 auto 22px; max-width: 650px; color: #f4f7f9; font-size: 1.08rem; text-shadow: 0 2px 10px #090d10; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; }
.hero-phone { display: inline-flex; align-items: center; min-height: 50px; color: white; font-size: 1.05rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--blue-bright); text-underline-offset: 5px; }
.hero-phone:hover, .hero-phone:focus-visible { color: #bfe5ff; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 24px; border: 0; text-decoration: none; text-transform: uppercase; font-family: "Barlow Condensed", sans-serif; font-size: 1.1rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 6px 22px rgba(0,137,224,.35); }
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.trust-row { max-width: 1050px; margin: clamp(55px,8vw,90px) auto 0; display: grid; grid-template-columns: repeat(3,1fr); background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 -12px 35px rgba(0,0,0,.28); }
.trust-row > div { min-height: 150px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #d9dfe3; }
.trust-row > div:last-child { border-right: 0; }
.trust-icon { min-width: 48px; height: 42px; margin-bottom: 10px; color: var(--blue); font-family: "Barlow Condensed",sans-serif; font-size: 2rem; font-weight: 900; line-height: 42px; text-shadow: 0 0 20px rgba(0,128,211,.35); }
.trust-row strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.trust-row small { color: var(--muted); font-size: .88rem; }

section { padding: clamp(70px, 9vw, 110px) clamp(20px, 6vw, 90px); }
.section-dark { color: white; background-color: #161d23; background-image: radial-gradient(#33414c 1px,transparent 1px); background-size: 5px 5px; }
.section-heading { max-width: 690px; margin: 0 auto 40px; text-align: center; }
.section-heading > span { color: var(--blue-bright); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2 { margin: 5px 0 10px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; line-height: .95; text-transform: uppercase; }
.section-heading p { margin: 0; color: #b9c2c9; }
.service-grid { max-width: 1180px; margin: 0 auto 28px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.service-card { padding: 26px 22px 24px; background: linear-gradient(140deg,#313b43,#222a31); border: 1px solid #45515a; box-shadow: inset 0 1px rgba(255,255,255,.07); transition: transform .2s ease,border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--blue-bright); }
.service-card h3 { margin: 18px 0 7px; font-family: "Barlow Condensed",sans-serif; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.service-card p { margin: 0; color: #b6c0c7; font-size: .88rem; }
.service-art { width: 64px; height: 52px; position: relative; background: #f2f4f5; }
.driveway { clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); background: repeating-linear-gradient(90deg,#c9ced1 0 1px,transparent 1px 17px),#f4f6f7; }
.sidewalk { width: 44px; border-radius: 20px 20px 0 0; background: repeating-linear-gradient(0deg,#ccd2d5 0 1px,transparent 1px 17px),#f4f6f7; }
.steps { clip-path: polygon(0 75%,33% 75%,33% 50%,66% 50%,66% 25%,100% 25%,100% 100%,0 100%); background: #f4f6f7; }
.text-link { display: block; width: max-content; margin: 34px auto 0; color: white; font-weight: 800; text-decoration-color: var(--blue-bright); text-underline-offset: 5px; }
.text-link span { color: var(--blue-bright); }

.about { background: #eef0ef; }
.about-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.about-copy { border-left: 5px solid var(--blue); padding-left: clamp(20px, 3vw, 40px); }
.about-copy .eyebrow { color: #086aa8; font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.about-copy h2 { margin: 12px 0 22px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: .98; text-transform: uppercase; }
.about-copy p { max-width: 54ch; margin: 0 0 18px; color: #384751; font-size: 1.05rem; line-height: 1.75; }
.about-copy p:last-child { margin-bottom: 0; }
.about-visual { margin: 0; }
.about-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 18px 18px 0 #d3dbe0; }
.about-visual figcaption { margin-top: 30px; color: #5a6872; font-size: .875rem; }
.service-photo { display: block; width: 100%; height: 130px; object-fit: cover; }

.proof-contact { padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: white; }
.reviews, .estimate { padding: clamp(60px,8vw,100px) clamp(28px,7vw,90px); }
.align-left { margin-left: 0; text-align: left; }
.reviews blockquote { margin: 0; max-width: 650px; padding: 32px; background: #f1f3f4; border-left: 5px solid var(--blue); }
.reviews blockquote + blockquote { margin-top: 24px; }
.reviews blockquote p { margin: 10px 0 14px; font-size: 1.08rem; }
.reviews cite { color: var(--muted); font-size: .9rem; font-style: normal; font-weight: 700; }
.review-source { margin-top: 6px; color: var(--muted); font-size: .875rem; }
.stars { color: #f4ad00; font-size: 1.35rem; letter-spacing: .08em; }
.review-controls { margin-top: 24px; display: flex; align-items: center; gap: 9px; }
.review-controls button { border: 0; background: transparent; color: var(--blue); font-size: 1.4rem; }
.review-controls span { width: 7px; height: 7px; background: #bcc5cb; border-radius: 50%; }
.review-controls .active { background: var(--blue); }
.estimate { color: white; background: linear-gradient(145deg,#0875bc,#07568e); }
.light-heading > span { color: #bfe5ff; }
.light-heading p { color: #d8edfb; }
form { display: grid; gap: 6px; }
label { margin-top: 8px; font-size: .82rem; font-weight: 700; }
input, textarea { width: 100%; padding: 12px 14px; color: white; background: rgba(1,34,58,.32); border: 1px solid rgba(255,255,255,.34); border-radius: 2px; outline: 0; }
input:focus, textarea:focus { border-color: white; box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row > div { display: grid; gap: 6px; }
.button-light { width: max-content; margin-top: 14px; color: #07588f; background: white; }
.form-status { min-height: 1.6em; margin: 4px 0 0; color: #e5f5ff; font-weight: 600; }

footer { padding: 34px clamp(20px,5vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #cbd3d8; background: #0e1419; font-size: .88rem; }
.footer-brand { display: flex; align-items: center; text-decoration: none; }
.footer-logo { display: block; width: auto; height: 64px; object-fit: contain; }
footer p { margin: 0; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-contact a { color: white; font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }

@media (max-width: 900px) {
  .site-header nav { gap: 14px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .proof-contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-logo { height: 44px; }
  .header-brand { height: 44px; }
  .header-phone { font-size: .875rem; }
  .menu-toggle { display: block; }
  .site-header nav { position: absolute; top: 71px; left: 0; right: 0; padding: 20px; display: none; flex-direction: column; align-items: stretch; background: #111820; border-top: 1px solid #34414b; }
  .site-header nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { overflow: hidden; padding-top: 36px; }
  .brand-mark { position: relative; top: auto; max-width: 290px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row > div { min-height: 120px; border-right: 0; border-bottom: 1px solid #d9dfe3; }
  .trust-row > div:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .about-copy { padding-left: 22px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-contact { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Service links and project galleries */
.trust-experience { font-size: 1.8rem; white-space: nowrap; }
.service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service-card { display: block; grid-column: span 2; color: inherit; text-decoration: none; }
.service-card:nth-last-child(-n+2) { grid-column: span 3; }
.service-card:focus-visible { outline: 3px solid #73caff; outline-offset: 5px; }
.service-view { display: block; margin-top: 20px; color: #73caff; font-weight: 700; font-size: .9rem; }
.service-photo { height: 180px; }
.gallery-page { max-width: 1180px; margin: auto; padding: 52px 24px 80px; }
.gallery-page h1 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; text-transform: uppercase; margin: 20px 0; }
.gallery-intro { max-width: 64ch; color: #485862; }
.gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.gallery-nav a { padding: 8px 14px; border: 1px solid #bbc8d0; text-decoration: none; font-weight: 700; }
.gallery-nav a[aria-current="page"] { background: #087fd0; border-color: #087fd0; color: white; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.photo-card { margin: 0; min-width: 0; background: white; border: 1px solid #d3dde3; }
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: #19232d; cursor: zoom-in; }
.photo-open img { display: block; width: 100%; height: 310px; object-fit: cover; }
.photo-card figcaption { padding: 16px 18px; font-size: 1rem; }
.photo-open:focus-visible { outline: 3px solid #087fd0; outline-offset: 3px; }
.photo-dialog { width: min(1100px,96vw); max-height: 94svh; margin: auto; padding: 20px; border: 1px solid #455967; background: #141e27; color: white; }
.photo-dialog::backdrop { background: rgba(0,0,0,.88); }
.dialog-toolbar, .dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-dialog button { min-height: 44px; padding: 8px 16px; border: 1px solid #617887; background: #202f3c; color: white; cursor: pointer; }
.photo-dialog img { display: block; max-width: 100%; width: auto; height: auto; max-height: 64svh; margin: 18px auto; object-fit: contain; }
.dialog-caption { text-align: center; margin: 12px 0 20px; }
@media (max-width: 900px) { .service-grid, .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .service-card, .service-card:nth-last-child(-n+2) { grid-column: auto; } }
@media (max-width: 680px) { .service-grid, .photo-grid { grid-template-columns: 1fr; } .photo-open img { height: 340px; } .gallery-page { padding-top: 32px; } }

.project-group { margin: 40px 0; }
.project-group h2 { font-family: "Barlow Condensed", sans-serif; font-size: 2rem; text-transform: uppercase; margin: 0 0 20px; }
.photo-stage { padding: 10px 16px; background: #182634; color: white; font-weight: 700; }

.trust-row .trust-licensed { margin-top: 6px; color: #086aa8; font-weight: 700; }
.google-profile { margin-top: 32px; }
.google-profile h3 { margin: 0 0 16px; font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; text-transform: uppercase; }
.google-profile iframe { display: block; width: 100%; height: 320px; }
.google-profile a { display: inline-block; margin-top: 14px; color: #086aa8; font-weight: 700; text-underline-offset: 4px; }

.about-media .google-profile { max-width: 360px; margin: 24px auto 0; }
.about-media .google-profile h3 { font-size: 1.3rem; margin-bottom: 10px; }
.about-media .google-profile iframe { height: 200px; }
.about-media .google-profile a { margin-top: 10px; font-size: .875rem; }
