/* xtaxx background pattern — warm geometry, ledger texture */

body.has-xtaxx-bg-pattern {
  position: relative;
}

.xtaxx-bg-pattern {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.xtaxx-bg-pattern__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 48% at 0% 100%, rgba(117, 70, 29, 0.05) 0%, transparent 58%);
}

.xtaxx-bg-pattern__grid {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(117, 70, 29, 0.058) 47px,
      rgba(117, 70, 29, 0.058) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(117, 70, 29, 0.048) 47px,
      rgba(117, 70, 29, 0.048) 48px
    );
  mask-image: radial-gradient(ellipse 94% 88% at 50% 48%, black 32%, transparent 90%);
}

.xtaxx-bg-pattern__tone {
  position: absolute;
  inset: 0;
  opacity: 0.82;
  transition: opacity 700ms ease;
}

.xtaxx-bg-pattern__corner {
  position: absolute;
  width: 360px;
  height: 360px;
  pointer-events: none;
}

.xtaxx-bg-pattern__corner--bottom-left {
  bottom: -2.5rem;
  left: -2.5rem;
  color: rgba(117, 70, 29, 0.18);
}

.xtaxx-bg-pattern__corner svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .xtaxx-bg-pattern__corner {
    width: 440px;
    height: 440px;
  }
}

body.has-xtaxx-bg-pattern .pf-page {
  position: relative;
  z-index: 1;
}

body.has-xtaxx-bg-pattern .pf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

body.has-xtaxx-bg-pattern .pf-mobile-nav {
  z-index: 50;
}
