/* One continuous backdrop using the exact transparent logo silhouette. */
body { position: relative; isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  background: #a98643;
  -webkit-mask: url('/assets/royal-lion-logo.png') center / auto min(82vh, 780px) no-repeat;
  mask: url('/assets/royal-lion-logo.png') center / auto min(82vh, 780px) no-repeat;
  opacity: .085;
}
/* Section backgrounds sit below the watermark; all content sits above it. */
.hero-inner,
.container,
.topbar,
.nav,
.trust,
footer,
.mobile-cta {
  position: relative;
  z-index: 2;
}
/* Solid surfaces protect the navigation, service cards and quote fields. */
.quote-panel { background: #fff; }
@media (max-width: 760px) {
  body::before {
    -webkit-mask-size: min(72vw, 300px) auto;
    mask-size: min(72vw, 300px) auto;
    opacity: .065;
  }
}
@media print {
  body::before { display: none; }
}

/* Transparent logo artwork on matching dark brand surfaces. */
.footer-brand { display: inline-block; line-height: 0; }
.footer-logo { display: block; height: 100px; width: auto; }
.footer-brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.nav { background: var(--navy); color: var(--white); }
.header-logo,
.footer-logo { filter: brightness(0) saturate(100%) invert(75%) sepia(49%) saturate(459%) hue-rotate(359deg) brightness(93%) contrast(85%); }
.header-brand:focus-visible { outline-color: var(--gold); }
