/* The Only Audit ledger pattern on the site's dark panels: a faint texture
   that fades in from the top-right corner. Loaded on every page with the
   header. The pattern sits behind each panel's content. */
#onlyaudit-about .oa-about-cta,
#onlyaudit-footer .oa-footer-card,
#onlyaudit-home .oa-home-cta,
#onlyaudit-how-it-works .oa-hiw-side-us,
#onlyaudit-how-it-works .oa-hiw-stats,
#onlyaudit-how-it-works .oa-hiw-cta,
#onlyaudit-service .oa-svc-in,
#onlyaudit-service .oa-svc-cta,
#onlyaudit-team .oa-team-cta,
#onlyaudit-testimonials .oa-tm-featured,
#onlyaudit-home .oa-home-steps { position: relative; isolation: isolate; }

#onlyaudit-about .oa-about-cta,
#onlyaudit-footer .oa-footer-card,
#onlyaudit-home .oa-home-cta,
#onlyaudit-how-it-works .oa-hiw-side-us,
#onlyaudit-how-it-works .oa-hiw-stats,
#onlyaudit-how-it-works .oa-hiw-cta,
#onlyaudit-service .oa-svc-in,
#onlyaudit-service .oa-svc-cta,
#onlyaudit-team .oa-team-cta,
#onlyaudit-testimonials .oa-tm-featured { overflow: hidden; }

#onlyaudit-about .oa-about-cta::after,
#onlyaudit-footer .oa-footer-card::after,
#onlyaudit-home .oa-home-cta::after,
#onlyaudit-how-it-works .oa-hiw-side-us::after,
#onlyaudit-how-it-works .oa-hiw-stats::after,
#onlyaudit-how-it-works .oa-hiw-cta::after,
#onlyaudit-service .oa-svc-in::after,
#onlyaudit-service .oa-svc-cta::after,
#onlyaudit-team .oa-team-cta::after,
#onlyaudit-testimonials .oa-tm-featured::after,
#onlyaudit-home .oa-home-steps::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/oa-ui/ledger.svg?v=1") right -24px top -12px / 420px auto repeat;
  -webkit-mask-image: radial-gradient(60% 90% at 100% 0%, #000 0%, rgba(0,0,0,0.5) 40%, transparent 75%);
  mask-image: radial-gradient(60% 90% at 100% 0%, #000 0%, rgba(0,0,0,0.5) 40%, transparent 75%);
  opacity: 0.6;
}

/* The homepage steps band runs edge to edge, so its pattern sits at the
   right-hand edge of the screen rather than the content column. */
#onlyaudit-home .oa-home-steps::after { left: auto; right: calc((100% - 100vw) / 2); width: min(720px, 60vw); }

/* Smaller panels: a gentler, smaller pattern. */
#onlyaudit-how-it-works .oa-hiw-side-us::after,
#onlyaudit-how-it-works .oa-hiw-stats::after { background-size: 320px auto; opacity: 0.6; }

/* The footer is tall; keep the pattern to its top corner. */
#onlyaudit-footer .oa-footer-card::after { background-position: right -24px bottom -12px; -webkit-mask-image: radial-gradient(45% 70% at 100% 100%, #000 0%, rgba(0,0,0,0.45) 40%, transparent 75%); mask-image: radial-gradient(45% 70% at 100% 100%, #000 0%, rgba(0,0,0,0.45) 40%, transparent 75%); opacity: 0.5; }

/* Panels whose text runs across their full width: keep the pattern in the
   corner only. */
#onlyaudit-testimonials .oa-tm-featured::after,
#onlyaudit-service .oa-svc-in::after { -webkit-mask-image: radial-gradient(38% 55% at 100% 0%, #000 0%, rgba(0,0,0,0.4) 45%, transparent 80%); mask-image: radial-gradient(38% 55% at 100% 0%, #000 0%, rgba(0,0,0,0.4) 45%, transparent 80%); }

@media (max-width: 599px) {
  #onlyaudit-about .oa-about-cta::after,
  #onlyaudit-footer .oa-footer-card::after,
  #onlyaudit-home .oa-home-cta::after,
  #onlyaudit-how-it-works .oa-hiw-cta::after,
  #onlyaudit-service .oa-svc-in::after,
  #onlyaudit-service .oa-svc-cta::after,
  #onlyaudit-team .oa-team-cta::after,
  #onlyaudit-testimonials .oa-tm-featured::after,
  #onlyaudit-home .oa-home-steps::after { background-size: 260px auto; opacity: 0.4; -webkit-mask-image: radial-gradient(70% 45% at 100% 0%, #000 0%, transparent 80%); mask-image: radial-gradient(70% 45% at 100% 0%, #000 0%, transparent 80%); }
}
