/* The report and About copy share the homepage's architectural backdrop. */
.homepage > .hero {
  padding-bottom: clamp(36px, 4.5vw, 72px);
}
.hero .gw-hero-copy {
  grid-area: 1 / 1;
}
.hero .gw-stats-hero {
  grid-area: 1 / 2;
}
.hero #about {
  grid-area: 2 / 1 / auto / -1;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  column-gap: clamp(32px, 6vw, 90px);
  row-gap: clamp(32px, 4.5vw, 64px);
}
.hero #about p {
  max-width: none;
  font-size: 1rem;
}
.gw-inspection-example {
  grid-column: 1 / -1;
  margin-top: clamp(20px, 2.5vw, 36px);
  background: transparent;
}
.gw-inspection-inner {
  --report-page-width: clamp(177px, 16.5vw, 231px);
  display: grid;
  grid-template-columns: var(--report-page-width) minmax(0, 49.5ch);
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.75vw, 48px);
}
.gw-inspection-preview {
  position: relative;
  min-width: 0;
}
.gw-inspection-preview > a {
  display: block;
  overflow: hidden;
  border: 1px solid #b2a69b;
  border-radius: 4px;
  box-shadow: 0 4px 14px #32251f24;
}
.gw-inspection-preview video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 480;
  object-fit: contain;
  pointer-events: none;
}
.gw-inspection-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(33px, 3.45vw, 45px);
}
.hero #about .gw-inspection-copy p {
  margin: 0 0 18px;
  font-size: clamp(20px, 1.7vw, 24px);
  color: #4e433c;
  line-height: 1.5;
}
.gw-inspection-link {
  color: var(--ink);
  font-size: clamp(19px, 1.7vw, 24px);
  text-decoration: underline;
  text-decoration-color: #a7440a;
  text-underline-offset: 4px;
  font-weight: bold;
}
.gw-inspection-link span {
  color: #a7440a;
  white-space: nowrap;
}
.gw-inspection-example a:focus-visible,
.gw-inspection-motion:focus-visible {
  outline: 3px solid #a7440a;
  outline-offset: 3px;
}
.gw-inspection-motion {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 36px;
  padding: 4px 9px;
  border: 1px solid #93887f;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 600 14px/1.3 Arial, sans-serif;
  cursor: pointer;
}
@media (max-width: 800px) {
  .hero .gw-hero-content-grid {
    row-gap: 0;
  }
  .hero .gw-stats-hero {
    grid-area: 3 / 1;
    margin-top: 32px;
  }
  .hero #about {
    row-gap: 24px;
  }
  .gw-inspection-example {
    margin-top: 20px;
  }
}
@media (max-width: 640px) {
  /* Give the report and its description their own space on a narrow screen. */
  .gw-inspection-inner {
    grid-template-columns: minmax(0, 38ch);
    justify-items: center;
    gap: 20px;
  }
  .gw-inspection-preview {
    width: var(--report-page-width);
    max-width: 100%;
  }
  .gw-inspection-copy {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .gw-inspection-inner {
    --report-page-width: clamp(138px, 40.5vw, 177px);
  }
}

/* Desktop report feature: keep the established phone layout. */
@media (min-width: 801px) {
  .hero #about .gw-inspection-example {
    margin-top: clamp(32px, 4vw, 60px);
    padding: clamp(32px, 4vw, 56px) 0;
    border-top: 1px solid #b2a69b66;
    border-bottom: 1px solid #b2a69b66;
  }
  .gw-inspection-inner {
    --report-page-width: clamp(250px, 23vw, 330px);
    grid-template-columns: var(--report-page-width) minmax(0, 520px);
    gap: clamp(48px, 6vw, 88px);
    max-width: 1040px;
    margin-inline: auto;
  }
  .gw-inspection-copy h2 {
    max-width: 15ch;
    margin-bottom: 20px;
  }
  .hero #about .gw-inspection-copy p {
    font-size: clamp(19px, 1.5vw, 22px);
    margin-bottom: 26px;
  }
}

/* Centre only the mobile hero services button. */
@media (max-width: 800px) {
  .hero .gw-hero-copy > a.btn[href="#services"] {
    display: table;
    margin-inline: auto;
  }
}
