/* A quiet ornamental layer. Existing layout, type and interaction rules stay intact. */
:root {
  --regal-line: rgba(72, 36, 55, .19);
  --regal-ink: #654052;
}

.hero-maroon-edge {
  position: absolute;
  inset: 30px -21px -27px 23px;
  background: var(--plum);
  clip-path: url(#hero-shape);
  z-index: -2;
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  left: -119px;
  bottom: -139px;
  width: 360px;
  height: 360px;
  background: url('assets/regal-paisley.svg') center / contain no-repeat;
  opacity: .075;
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: -1;
}

.scroll-note { color: var(--regal-ink); }
.scroll-note i { background: var(--regal-ink); }
.home-services .section-heading .eyebrow,
.home-about .eyebrow,
.story-copy .eyebrow,
.other-services > .eyebrow { color: var(--regal-ink); }

.home-services {
  position: relative;
  isolation: isolate;
}
.home-services::before {
  content: '';
  position: absolute;
  width: 290px;
  height: 340px;
  right: -107px;
  top: 5px;
  background: url('assets/regal-crest.svg') center / contain no-repeat;
  opacity: .075;
  transform: rotate(9deg);
  pointer-events: none;
  z-index: -1;
}

.service-tiles { position: relative; }
.service-tiles::before,
.service-tiles::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.service-tiles::before {
  inset: -13px;
  border: 1px solid var(--regal-line);
  border-radius: 69px 3px 69px 3px;
}
.service-tiles::after {
  right: -14px;
  bottom: -14px;
  width: 105px;
  height: 66px;
  border-right: 2px solid rgba(72, 36, 55, .57);
  border-bottom: 2px solid rgba(72, 36, 55, .57);
  border-bottom-right-radius: 70px;
}

.home-about { isolation: isolate; }
.home-about::before,
.home-about::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.home-about::before {
  inset: 14px calc(var(--pad) - 17px) 24px;
  border: 1px solid var(--regal-line);
  border-radius: 2px 104px 2px 38px;
}
.home-about::after {
  width: 230px;
  height: 230px;
  right: 13px;
  bottom: 0;
  background: url('assets/regal-paisley.svg') center / contain no-repeat;
  transform: rotate(24deg);
  opacity: .055;
}

.service-intro { isolation: isolate; }
.service-intro::before {
  content: '';
  position: absolute;
  left: -135px;
  top: 80px;
  width: 235px;
  height: 280px;
  background: url('assets/regal-crest.svg') center / contain no-repeat;
  opacity: .055;
  transform: rotate(-9deg);
  z-index: -1;
  pointer-events: none;
}
.service-intro .service-heading-photo {
  box-shadow: 6px 7px 0 rgba(255, 128, 0, .8),
              13px 15px 0 rgba(48, 30, 44, .85);
}

.coverage-title { isolation: isolate; }
.coverage-title::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -65px;
  top: -92px;
  background: var(--ivory);
  -webkit-mask: url('assets/regal-paisley.svg') center / contain no-repeat;
  mask: url('assets/regal-paisley.svg') center / contain no-repeat;
  opacity: .085;
  z-index: -1;
  pointer-events: none;
}
.coverage-module { position: relative; }
.coverage-module::before {
  content: '';
  position: absolute;
  inset: 19px -14px -14px;
  border: 1px solid var(--regal-line);
  border-radius: 2px 2px 58px 2px;
  pointer-events: none;
}

.ppf-story { isolation: isolate; }
.ppf-story::before,
.ppf-story::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.ppf-story::before {
  inset: 20px calc(var(--pad) - 17px) 28px;
  border: 1px solid rgba(72, 36, 55, .12);
  border-radius: 94px 2px 2px 36px;
}
.ppf-story::after {
  right: -78px;
  bottom: 9px;
  width: 245px;
  height: 245px;
  background: url('assets/regal-paisley.svg') center / contain no-repeat;
  opacity: .055;
  transform: rotate(20deg);
}
.story-image {
  box-shadow: 6px 7px 0 rgba(48, 30, 44, .78),
              11px 13px 0 rgba(255, 128, 0, .36);
}
.benefit-row { border-top-color: rgba(72, 36, 55, .23); }
.benefit-row .eyebrow { color: var(--regal-ink); }
.process { box-shadow: inset 0 1px 0 rgba(242, 237, 227, .18); }

@media (max-width: 820px) {
  .hero-maroon-edge { inset: 27px -17px -24px 19px; }
  .home-services::before { width: 225px; height: 270px; right: -105px; top: 16px; }
  .home-about::before { border-top-right-radius: 65px; }
  .ppf-story::before { border-top-left-radius: 70px; }
}
@media (max-width: 580px) {
  .hero-maroon-edge { inset: 25px -15px -22px 17px; }
  .home-hero::after { width: 240px; height: 240px; left: -118px; bottom: -86px; opacity: .065; }
  .home-services::before { width: 165px; height: 210px; right: -96px; top: 5px; opacity: .065; }
  .service-tiles::before { inset: -10px; border-radius: 60px 2px 60px 2px; }
  .service-tiles::after { right: -11px; bottom: -11px; width: 69px; height: 53px; border-bottom-right-radius: 60px; }
  .home-about::before { inset: 13px 12px 18px; border-radius: 2px 47px 2px 28px; }
  .home-about::after { width: 150px; height: 150px; right: -59px; bottom: 0; opacity: .055; }
  .service-intro::before { width: 160px; height: 200px; left: -112px; top: 70px; }
  .service-intro .service-heading-photo {
    box-shadow: 4px 5px 0 rgba(255, 128, 0, .8),
                9px 11px 0 rgba(48, 30, 44, .85);
  }
  .coverage-module::before { inset: 12px -12px -15px; border-bottom-right-radius: 45px; }
  .coverage-title::after { width: 180px; height: 180px; right: -68px; top: -44px; opacity: .07; }
  .ppf-story::before { inset: 14px 12px 18px; border-radius: 48px 2px 2px 28px; }
  .ppf-story::after { width: 160px; height: 160px; right: -98px; opacity: .05; }
  .story-image { box-shadow: 4px 5px 0 rgba(48, 30, 44, .78), 8px 10px 0 rgba(255, 128, 0, .36); }
  .benefit-row > div { border-top-color: rgba(72, 36, 55, .23); }
}
