/* ==========================================================================
   FLY MODE — brand watermark (site-wide signature)
   Same lettering as the homepage "Our Services" backdrop (.home3d .bg-word):
   Manrope 800, clamp(140px,26vw,420px)/.8, letter-spacing -.04em, outline only.
   Sits behind every photograph, heading and paragraph of the section it lives in.
   The wrapper clips the oversized lettering to its section, so it can never
   create horizontal scroll.  No inline styles are used (strict CSP).
   ========================================================================== */

/* each host section becomes its own stacking context so the mark (z-index:-1)
   lands above the section background but below every piece of content */
body main .section{position:relative;isolation:isolate}

.fm-mark{
  --fm-stroke:rgba(150,112,45,.17);              /* gold ink on light surfaces   */
  position:absolute;inset:0;z-index:-1;overflow:hidden;
  pointer-events:none;user-select:none;-webkit-user-select:none;
}
.fm-mark[data-tone="dark"]{--fm-stroke:rgba(217,185,91,.13)}   /* identical to .bg-word */

.fm-mark>span{
  position:absolute;left:-3%;top:34%;display:block;
  font:800 clamp(140px,26vw,420px)/.8 var(--display,"Manrope",Inter,Arial,sans-serif);
  letter-spacing:-.04em;white-space:nowrap;
  color:transparent;-webkit-text-stroke:1px var(--fm-stroke);
  transform:translate3d(0,var(--py,0px),0);
  will-change:transform;
}

/* alternate sections show the other end of the word so the signature rhythm
   feels deliberate rather than copy-pasted (FLY on one, MODE on the next) */
.fm-mark.fm-r>span{left:auto;right:-3%}

/* page-level mark for the bare 404 page (no sections to live in) */
.fm-mark.fm-page{position:fixed}

/* photographic gallery sections: let the lettering peek out above the stage */
.who3d>.fm-mark>span,.mv3d>.fm-mark>span{top:10%}

@media(max-width:800px){
  .fm-mark>span{top:46%}
  .who3d>.fm-mark>span,.mv3d>.fm-mark>span{top:6%}
}

/* low-power / reduced-motion: keep the signature, drop the parallax */
.lite .fm-mark>span{will-change:auto}
@media(prefers-reduced-motion:reduce){.fm-mark>span{transform:none;will-change:auto}}
@media print{.fm-mark{display:none}}
