:root {
  --ink: #151515;
  --paper: #f6f2e9;
  --paper-2: #ebe4d6;
  --line: #d4c9b6;
  --muted: #645f56;
  --black: #0f1110;
  --red: #b5121b;
  --red-dark: #7f0c12;
  --green: #254a35;
  --cream: #fff8df;
  --focus: #0067d6;
  --shadow: 0 24px 80px rgb(15 17 16 / 20%);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Arial Black", Impact, var(--font-sans);
  --max: 1240px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 30;
  transform: translateY(-150%);
  background: var(--black);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(246 242 233 / 92%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(212 201 182 / 75%);
}

.header-shell,
.section,
.bottom-cta,
.footer-shell,
.breadcrumb {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.header-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 236px;
  text-decoration: none;
}

.brand-logo {
  width: 236px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a,
.site-footer a {
  text-decoration: none;
}

.desktop-nav a {
  padding: 9px 11px;
  border-radius: var(--radius);
  color: #494640;
  font-size: 0.9rem;
  font-weight: 750;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--paper-2);
  color: var(--black);
}

.header-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--cream);
  background: var(--red);
  text-decoration: none;
  font-weight: 900;
}

.nav-toggle,
.mobile-close {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: var(--radius);
  color: var(--black);
  font: inherit;
  font-weight: 900;
}

.nav-toggle {
  width: 48px;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-7px);
}

.nav-toggle-lines::after {
  transform: translateY(5px);
}

.mobile-menu {
  display: none;
}

.breadcrumb {
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 34%) 50%, rgb(0 0 0 / 10%)),
    linear-gradient(0deg, rgb(0 0 0 / 66%), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 62px 0 88px;
  color: var(--cream);
}

.hero-content h1 {
  max-width: 900px;
}

.hero-content p {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.16rem;
  color: rgb(255 248 223 / 88%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffdad1;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

h1 {
  font-size: 4.35rem;
}

h2 {
  font-size: 2.85rem;
  max-width: 760px;
}

h3 {
  font-size: 1.35rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 950;
  transition: transform 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  background: rgb(255 248 223 / 14%);
  border-color: rgb(255 248 223 / 52%);
  color: inherit;
}

.section .button-secondary,
.bottom-cta .button-secondary {
  background: transparent;
  border-color: currentColor;
}

.section {
  padding: 78px 0;
}

.section > h2 {
  margin-bottom: 36px;
}

.photo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-card {
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgb(15 17 16 / 12%);
}

.card-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.photo-pipe-repair {
  object-position: 50% 86%;
}

.photo-new-driveway-bore {
  object-position: 56% 62%;
}

.photo-new-wide-lawn-view {
  object-position: 50% 58%;
}

.photo-new-pipe-sidewalk,
.photo-new-copper-repair,
.photo-new-basement-piping,
.photo-new-valves-trench {
  object-position: 50% 68%;
}

.photo-new-controller-8566,
.photo-new-manifold-1660 {
  object-position: 50% 58%;
}

.photo-card div {
  padding: 22px;
}

.photo-card h3 a {
  text-decoration: none;
}

.photo-card p {
  color: rgb(255 248 223 / 76%);
}

.review-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 248 223 / 36%);
}

.review-card blockquote {
  margin: 0;
  color: #2c2a25;
}

.review-card figcaption {
  margin-top: 18px;
  font-weight: 950;
  color: var(--red-dark);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: start;
}

.proof-copy p,
.smart-control p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 248 223 / 36%);
  font-weight: 900;
}

.proof-section-dark {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--cream);
}

.proof-section-dark .section-kicker {
  color: #ffdad1;
}

.proof-section-dark .proof-copy p {
  color: rgb(255 248 223 / 78%);
}

.proof-section-dark .proof-list li {
  border-color: rgb(255 248 223 / 18%);
  background: rgb(255 248 223 / 8%);
}

.material-section {
  display: block;
}

.material-copy p,
.material-list {
  max-width: 1120px;
}

.material-copy p {
  color: var(--ink);
  font-size: 1.08rem;
}

.material-list {
  margin: 20px 0 0;
  padding-left: 28px;
  color: var(--ink);
  font-size: 1.08rem;
}

.material-list li + li {
  margin-top: 4px;
}

.material-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 20px;
  align-items: start;
}

.material-proof-card {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--wash);
}

.material-proof-photo {
  display: block;
  width: 100%;
  height: auto;
}

.material-caption {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.smart-control {
  padding-top: 0;
}

.boring-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.boring-copy p,
.boring-media p {
  color: var(--muted);
  font-size: 1.08rem;
}

.boring-copy p {
  max-width: 68ch;
}

.boring-media {
  display: grid;
  gap: 12px;
}

.boring-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgb(15 17 16 / 14%);
}

.boring-media p {
  max-width: 48ch;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: start;
}

.gallery-grid-home .gallery-item-wide {
  grid-column: span 6;
}

.gallery-grid-home .gallery-item-wide .gallery-photo {
  height: 360px;
}

.gallery-more {
  margin-top: 18px;
  border: 0;
  background: transparent;
}

.gallery-more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 950;
  list-style: none;
  background: transparent;
}

.gallery-more summary::-webkit-details-marker {
  display: none;
}

.gallery-more[open] .gallery-more-closed,
.gallery-more:not([open]) .gallery-more-open {
  display: none;
}

.gallery-more-panel {
  margin-top: 18px;
}

.gallery-item {
  margin: 0;
  grid-column: span 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  align-self: start;
}

.gallery-0,
.gallery-5 {
  grid-column: span 6;
}

.gallery-1,
.gallery-6 {
  grid-column: span 4;
}

.gallery-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery-photo.photo-pipe-repair {
  object-position: 50% 86%;
}

.gallery-0 .gallery-photo,
.gallery-5 .gallery-photo {
  height: 360px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--cream);
  box-shadow: 0 18px 48px rgb(15 17 16 / 12%);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  background: var(--black);
  object-fit: contain;
}

.video-card div {
  padding: 22px;
}

.video-card p {
  color: rgb(255 248 223 / 76%);
}

.service-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.story-copy p {
  max-width: 68ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.story-photo-pair {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 12px;
  align-items: end;
}

.story-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius);
}

.story-photo.tall {
  height: 470px;
}

.step-grid,
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.step-card,
.menu-item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.step-card span,
.menu-item span {
  display: block;
  color: var(--red);
  font-weight: 950;
  margin-bottom: 18px;
}

.step-card p {
  color: var(--muted);
}

.menu-item {
  text-decoration: none;
  color: var(--black);
  font-weight: 950;
  font-size: 1.08rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 248 223 / 36%);
}

summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.area-simple p {
  max-width: 62ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.area-photo-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.area-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.48fr);
  gap: 28px;
  align-items: start;
}

.contact-main,
.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.contact-main p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.request-notes {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.request-notes ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-card address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.contact-photo {
  margin-top: 24px;
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius);
}

.bottom-cta {
  margin-bottom: 92px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 24px;
  align-items: end;
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bottom-cta .section-kicker {
  color: #ffdad1;
}

.bottom-cta p {
  color: rgb(255 248 223 / 78%);
}

.site-footer {
  padding: 64px 0 92px;
  background: var(--black);
  color: var(--cream);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 0.5fr;
  gap: 32px;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.site-footer p,
.site-footer span {
  color: rgb(255 248 223 / 72%);
}

.site-footer address,
.site-footer nav {
  display: grid;
  gap: 8px;
  font-style: normal;
  align-content: start;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--cream);
  text-decoration: none;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.footer-social span {
  color: inherit;
}

.footer-hours {
  white-space: nowrap;
}

.mobile-cta {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .nav-toggle,
  .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .no-js .desktop-nav {
    display: flex;
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    margin-left: 0;
    padding-bottom: 14px;
  }

  .no-js .header-shell {
    flex-wrap: wrap;
  }

  .no-js .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(15 17 16 / 72%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
  }

  .mobile-menu[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-panel {
    min-height: 100%;
    padding: 18px;
    background: var(--paper);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 26px;
  }

  .mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .mobile-nav {
    display: grid;
    align-content: center;
    gap: 8px;
  }

  .mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 2.9rem;
    line-height: 1;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--red);
  }

  .mobile-menu-cta {
    display: grid;
    gap: 10px;
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .photo-card-grid,
  .proof-section,
  .boring-feature,
  .video-grid,
  .service-story,
  .step-grid,
  .menu-grid,
  .area-photo-row,
  .contact-layout,
  .bottom-cta,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-0,
  .gallery-1,
  .gallery-5,
  .gallery-6 {
    grid-column: span 6;
  }

  .gallery-grid-home .gallery-item-wide,
  .gallery-grid-home .gallery-item-compact {
    grid-column: span 6;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-photo-pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .header-shell,
  .section,
  .bottom-cta,
  .footer-shell,
  .breadcrumb {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand,
  .brand-logo {
    width: 190px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--max));
    padding: 52px 0 112px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .actions {
    display: grid;
  }

  .section {
    padding: 58px 0;
  }

  .contact-main,
  .contact-card,
  .bottom-cta {
    padding: 22px;
  }

  .card-photo,
  .boring-photo,
  .gallery-photo,
  .gallery-0 .gallery-photo,
  .gallery-5 .gallery-photo,
  .area-photo,
  .contact-photo,
  .story-photo,
  .story-photo.tall {
    height: auto;
    object-fit: contain;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .material-proof-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-0,
  .gallery-1,
  .gallery-5,
  .gallery-6 {
    grid-column: auto;
  }

  .gallery-grid-home .gallery-item-wide,
  .gallery-grid-home .gallery-item-compact {
    grid-column: auto;
  }

  .gallery-grid-home .gallery-item-wide .gallery-photo {
    height: auto;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .story-photo-pair {
    grid-template-columns: 1fr;
  }

  .review-heading {
    display: grid;
  }

  .mobile-nav a {
    font-size: 2.35rem;
  }

  .site-footer {
    padding-bottom: 106px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 18;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: var(--radius);
    background: rgb(15 17 16 / 92%);
    box-shadow: 0 18px 40px rgb(15 17 16 / 30%);
  }

  .mobile-cta a {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 950;
  }

  .mobile-cta a:first-child {
    background: var(--cream);
    color: var(--black);
  }

  .mobile-cta a:last-child {
    background: var(--red);
    color: white;
  }
}
