:root {
  --paper: #f5f5f3;
  --ink: #081827;
  --green: #80ff39;
  --footer-green: #39ff14;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(.gallery-dialog[open]) {
  overflow: hidden;
}

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

.brand-with-blue-star {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.brand-blue-star {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

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

.fragment-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  line-height: 0;
}

.site-fragment {
  display: block;
  width: 100%;
  height: var(--fallback-height, 400px);
  margin: 0;
  overflow: hidden;
  border: 0;
  background: var(--paper);
}

.fragment-header {
  --fallback-height: 114px;
}

.fragment-hero {
  --fallback-height: 620px;
}

.fragment-intro {
  --fallback-height: 730px;
}

.fragment-services {
  --fallback-height: 660px;
}

.fragment-contact {
  --fallback-height: 1235px;
  scroll-margin-top: 20px;
}

.fragment-reviews {
  --fallback-height: 975px;
  scroll-margin-top: 20px;
}

.fragment-standard {
  --fallback-height: 1190px;
}

.photo-band {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.city-band {
  height: 248px;
  background-image: url("/assets/original/city-band.jpg");
}

.project-band {
  height: clamp(260px, 31.8vw, 407px);
  background-image: url("/assets/original/project-band.png");
}

.coverage {
  width: 100%;
  padding: clamp(115px, 10.3vw, 148px) 0;
  background: var(--paper);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}

.coverage-grid img {
  width: 100%;
  height: auto;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
  background: #dce0dc;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #dce0dc;
  border: 0;
  border-radius: 0;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--position, center);
  transition: transform 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-dialog {
  width: min(94vw, 1400px);
  max-width: none;
  height: min(92vh, 1000px);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: #061827;
  border: 0;
}

.gallery-dialog::backdrop {
  background: rgba(6, 24, 39, 0.92);
}

.gallery-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0 0 4px;
  color: #061827;
  background: var(--footer-green);
  border: 0;
  border-radius: 50%;
  font: 300 38px/1 Arial, sans-serif;
  cursor: pointer;
}

.lime-tail {
  width: 100%;
  height: 64px;
  background: var(--footer-green);
}

/* Standalone privacy and error pages use the same restrained brand system. */
.shell {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.utility-bar {
  color: #fff;
  background: #061827;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.utility-inner,
.header-inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner {
  min-height: 42px;
}

.utility-inner p {
  margin: 0;
}

.utility-inner a {
  color: var(--green);
  text-decoration: none;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(128, 255, 57, 0.85);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid rgba(8, 24, 39, 0.13);
}

.header-inner {
  min-height: 112px;
}

.brand {
  width: min(250px, 50vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #061827;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  color: #fff;
  background: #061827;
  border-color: #061827;
}

.button-small {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 14px;
}

.privacy-page {
  min-height: 62vh;
  background:
    linear-gradient(135deg, rgba(128, 255, 57, 0.08), transparent 42%),
    var(--paper);
}

.legal-copy {
  max-width: 870px;
  padding-block: clamp(72px, 9vw, 128px);
}

.legal-copy .eyebrow {
  margin: 0 0 18px;
  color: #237000;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-copy h1 {
  max-width: 820px;
  margin: 0 0 32px;
  font-size: clamp(46px, 7.2vw, 88px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-copy h2 {
  margin: 42px 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.legal-copy p,
.legal-copy li {
  max-width: 760px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.72;
}

.legal-copy a:not(.button) {
  color: #0b6799;
  font-weight: 750;
  text-underline-offset: 4px;
}

.legal-copy .button {
  margin-top: 12px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
}

.site-footer {
  color: #fff;
  background: #061827;
}

.footer-bottom {
  min-height: 112px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.footer-bottom a {
  color: #fff;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}

@media (max-width: 1023px) {
  .gallery-item {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .utility-inner {
    min-height: 38px;
    justify-content: center;
    font-size: 10px;
  }

  .utility-areas {
    display: none;
  }

  .header-inner {
    min-height: 94px;
    gap: 14px;
  }

  .brand {
    width: min(205px, 54vw);
  }

  .button-small {
    min-height: 42px;
    padding: 11px 14px;
    font-size: 12px;
  }

  .legal-copy {
    padding-block: 64px 78px;
  }

  .legal-copy h1 {
    margin-bottom: 26px;
  }

  .footer-bottom {
    min-height: 132px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .fragment-header {
    --fallback-height: 164px;
  }

  .fragment-hero {
    --fallback-height: 640px;
  }

  .fragment-intro {
    --fallback-height: 1200px;
  }

  .fragment-services {
    --fallback-height: 1560px;
  }

  .fragment-contact {
    --fallback-height: 1980px;
  }

  .fragment-reviews {
    --fallback-height: 920px;
  }

  .fragment-standard {
    --fallback-height: 2305px;
  }

  .city-band {
    height: 200px;
  }

  .coverage {
    padding: 88px 0;
  }

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

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item {
    height: 130px;
  }

  .gallery-dialog {
    width: 100vw;
    height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .skip-link {
    transition: none;
  }
}
