/* Only the site's white surfaces receive the repeating marks. */
.Main,
.Intro:not(.Intro--has-image),
.Index-page:not(.Index-page--has-image):not(.a1-service-intro),
body:not(.a1-photo-header) .Header--bottom:not(.Header--overlay),
body:not(.a1-photo-header) .Header--bottom.a1-home-header,
body:not(.a1-photo-header) .Mobile-bar--top {
  background-image: url("/original-assets/a1-watermark.svg?v=06655");
  background-repeat: repeat;
  background-size: 400px 260px;
  background-position: center top;
}

/* Protect the entire content group, including the gaps between text blocks. */
.Main:not(:has([id="page-5f6e59c5235dd9101a9b0920"])) .Main-content > .sqs-layout,
.Intro:not(.Intro--has-image) .Intro-content > .sqs-layout,
.Index-page:not(.Index-page--has-image):not(.a1-service-intro) > .Index-page-content > .sqs-layout,
.Main .search-results,
body:not(.a1-photo-header) .Header--bottom:not(.Header--overlay) .Header-nav--primary,
body:not(.a1-photo-header) .Header--bottom.a1-home-header .Header-nav--primary {
  background-color: #fff;
  box-shadow: 0 0 26px 14px #fff;
}

@media (max-width: 767px) {
  .Main,
  .Intro:not(.Intro--has-image),
  .Index-page:not(.Index-page--has-image):not(.a1-service-intro),
  body:not(.a1-photo-header) .Mobile-bar--top {
    background-size: 320px 208px;
  }
}

.Main .sqs-html-content h1 {
  color: #262626;
}

/* Back the whole group, including dividers, buttons and spaces between rows. */
:is(#testimonials, .Main) [id="page-5f52ab67fa9e4a0c16c98cbb"] {
  background-color: #fafafa;
  padding-block: clamp(16px, 3vw, 36px);
}

:is(#testimonials, .Main) [id="page-5f52ab67fa9e4a0c16c98cbb"]
  :is(.sqs-block, .sqs-html-content) {
  background-color: transparent;
}

/* Contact keeps the pattern in open rows and a soft edge at the footer. */
.Main:has([id="page-5f6e59c5235dd9101a9b0920"]) {
  background-image: linear-gradient(to top, #fff, transparent),
    url("/original-assets/a1-watermark.svg?v=06655");
  background-repeat: no-repeat, repeat;
  background-size: 100% 32px, 400px 260px;
  background-position: center bottom, center top;
}

[id="page-5f6e59c5235dd9101a9b0920"] > .sqs-row:has(:is(h1, [aria-label$="social profiles"])) {
  background: #fff;
  box-shadow: 0 0 22px 10px #fff;
  position: relative;
}
@media (max-width: 767px) {
  .Main:has([id="page-5f6e59c5235dd9101a9b0920"]) {
    background-size: 100% 32px, 320px 208px;
  }
}
