/* Two identical light peaks make the moving edge loop without a visible reset. */
#brx-content, #brx-footer {
  --fm-edge-beam: linear-gradient(90deg,transparent 2%,#498bb67a 14%,#91c8e7 22%,#d9effa 25%,#91c8e7 28%,#498bb67a 36%,transparent 48% 52%,#498bb67a 64%,#91c8e7 72%,#d9effa 75%,#91c8e7 78%,#498bb67a 86%,transparent 98%);
}
/* Common FABMEK surfaces for public-facing interior templates. */
body:not(.home) #brx-content {
  --fm-interior-steel: linear-gradient(132deg, transparent 56%, #d1e0e743 56% 64%, #b9d2e140 64% 72%, transparent 72%),
    linear-gradient(146deg, #f7f9fb, #e9f0f5);
  background-color: #f4f7fa;
}
body:not(.home) #brx-content :is(.fm-section.fm-soft,#brxe-njzmob,.fm-contact-panel) {
  background: var(--fm-interior-steel);
}
body:not(.home) #brx-content :is(.fm-card,.fm-stock-trust,.fm-contact-details,.fm-contact-map) {
  border-color: #ccdbe6;
}
body:not(.home) #brx-header #brxe-agbrxp::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, #76a5be88 36%, #b2d3e4 50%, #76a5be88 64%, transparent 95%) 100% 0 / 170% 100% no-repeat;
}
:is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor) {
  position: relative;
  --fm-edge-height: clamp(9px,1.1vw,17px);
}
:is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor) > .fm-surface-seam {
  position: absolute;
  z-index: 3;
  inset: calc(-1 * var(--fm-seam-border,0px)) 0 auto;
  height: 2px;
  pointer-events: none;
}
:is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor) > .fm-surface-seam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fm-edge-beam) 100% 0 / 200% 100% no-repeat, #36789b;
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  :is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor).fm-surface-join {
    /* Overlap the previous surface so its real background continues up to the cut. */
    margin-block-start: calc(-1 * var(--fm-edge-height));
    z-index: 2;
    --fm-edge-low: calc(var(--fm-edge-height) * .063);
    --fm-edge-high: calc(var(--fm-edge-height) * .813);
    clip-path: shape(from 0 var(--fm-edge-low), line to 33.19% var(--fm-edge-low),
      curve to 40.69% var(--fm-edge-high) with 35.97% var(--fm-edge-low) / 37.78% var(--fm-edge-high),
      line to 100% var(--fm-edge-high), line to 100% 100%, line to 0 100%, close);
  }
  :is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor).fm-surface-join:nth-of-type(even) {
    clip-path: shape(from 0 var(--fm-edge-high), line to 59.31% var(--fm-edge-high),
      curve to 66.81% var(--fm-edge-low) with 62.22% var(--fm-edge-high) / 64.03% var(--fm-edge-low),
      line to 100% var(--fm-edge-low), line to 100% 100%, line to 0 100%, close);
  }
  :is(#brx-content .fm-surface-join,#brx-footer.fm-surface-join) > .fm-surface-seam { height: var(--fm-edge-height); }
  :is(#brx-content .fm-surface-join,#brx-footer.fm-surface-join):nth-of-type(even) > .fm-surface-seam { transform: scaleX(-1); }
  :is(#brx-content .fm-surface-join,#brx-footer.fm-surface-join) > .fm-surface-seam::after {
    mask: url("assets/home-light-seam.svg") center / 100% 100% no-repeat;
    background-color: #36789b;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.home) #brx-header #brxe-agbrxp::after { animation: fm-interior-header-light 13s ease-in-out infinite alternate; }
  :is(#brx-content .fm-surface-anchor,#brx-footer.fm-surface-anchor) > .fm-surface-seam::after { animation: fm-interior-header-light 15s linear infinite; }
  .fm-surface-anchor:nth-of-type(even) > .fm-surface-seam::after { animation-delay: -5s; }
  @keyframes fm-interior-header-light { to { background-position: 0 0; } }
}
/* Framed panels use the same shaped highlight without overlapping their margins. */
#brx-content :is(.fm-surface-frame,#brxe-ddlsnm #brxe-dupzol) { position: relative; }
#brx-content :is(.fm-surface-frame,#brxe-ddlsnm #brxe-dupzol)::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0 12px auto;
  height: clamp(8px,1vw,13px);
  pointer-events: none;
  mask: url("assets/home-light-seam.svg") center / 100% 100% no-repeat;
  background: var(--fm-edge-beam) 100% 0 / 200% 100% no-repeat, #36789b;
}
#brx-content :is(.fm-button,.fm-primary-link,.fm-contact-actions a):is(:hover,:focus-visible) {
  box-shadow: inset 0 1px #c6e3f268,0 6px 14px #0e3a5b29;
}
@media (prefers-reduced-motion: no-preference) {
  #brx-content :is(.fm-surface-frame,#brxe-ddlsnm #brxe-dupzol)::after { animation: fm-interior-header-light 15s linear infinite; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #brx-content :is(.fm-button,.fm-primary-link):hover { translate: 0 -2px; }
}

/* A shared interactive surface for interior cards with a destination. */
body:not(.home) #brx-content :is(.fm-family-card,.brxe-mgltsh,.brxe-fd1716,.fm-stock-card,.fm-laser-family-grid > a,
  .fm-stock-tabs a,.fm-sol-sectors > a,.fm-contact-actions a) {
  --fm-card-edge: #8cb2cd;
  box-shadow: inset 0 1px #fff7, 0 7px 17px #0e3a5b19;
}
body:not(.home) #brx-content :is(.fm-family-card,.brxe-mgltsh,.brxe-fd1716,.fm-stock-card,.fm-laser-family-grid > a,
  .fm-stock-tabs a,.fm-sol-sectors > a,.fm-contact-actions a):is(:hover,:focus-within) {
  border-color: var(--fm-card-edge) !important;
  box-shadow: inset 0 0 0 1px #8cb2cd55, 0 13px 25px #0e3a5b38;
}
body:not(.home) #brx-content :is(a[href],button,summary,select):focus-visible {
  outline: 2px solid #287baf;
  outline-offset: 3px;
}
#brx-content :is(.brxe-mgltsh,.brxe-fd1716):has(:is(.brxe-cwijyf,.brxe-5ad6c3)[href]) {
  position: relative;
  isolation: isolate;
}
#brx-content :is(.brxe-mgltsh,.brxe-fd1716) :is(.brxe-cwijyf,.brxe-5ad6c3)[href] {
  position: static;
}
#brx-content :is(.brxe-mgltsh,.brxe-fd1716) :is(.brxe-cwijyf,.brxe-5ad6c3)[href]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
#brx-content :is(.brxe-mgltsh,.brxe-fd1716) :is(.brxe-vawvgp,.brxe-6ba061)[href] {
  position: relative;
  z-index: 2;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.home) #brx-content :is(.fm-family-card,.brxe-mgltsh,.brxe-fd1716,.fm-stock-card,.fm-laser-family-grid > a,
    .fm-stock-tabs a,.fm-sol-sectors > a,.fm-contact-actions a) {
    transition: translate .26s ease, box-shadow .26s ease, border-color .26s ease;
  }
  body:not(.home) #brx-content :is(.fm-family-card,.brxe-mgltsh,.brxe-fd1716,.fm-stock-card,.fm-laser-family-grid > a,
    .fm-stock-tabs a,.fm-sol-sectors > a,.fm-contact-actions a):is(:hover,:focus-within) { translate: 0 -3px; }
}
