/* v9 (ADR 701-web §6): About's watermark motif — linked by the About page only (pages/About.jsx). */
/* v9 — the watermark motif: the owner's olive-and-arch mark, huge, cropped and mostly off the canvas (about a third of
   it shows), at ~5 % behind ONE section (About's "Our story") — the rule: at most one decorative background device per
   viewport, never strong enough to touch the contrast of the text over it (≤ 6 % of the brand colour on paper). The
   same mask files as the header mark (already cached); the brand colour follows the theme. Decorative: a pseudo-element,
   nothing for assistive technology. */
.has-watermark {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.has-watermark::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset-block-start: calc(-1 * var(--space-6));
  inset-inline-end: 0;
  inline-size: clamp(22rem, 58vw, 56rem);
  aspect-ratio: 837 / 847;
  background: var(--oliva);
  opacity: 0.05;
  -webkit-mask: url('/brand/mark-branch-mask.svg') center / contain no-repeat;
  mask: url('/brand/mark-branch-mask.svg') center / contain no-repeat;
  translate: 62% 0;
  pointer-events: none;
}

:root[dir='rtl'] .has-watermark::before {
  translate: -62% 0;
}

@media print {
  .has-watermark::before {
    display: none;
  }
}
