/* Keep the sticky header in document flow: the first section starts below it,
   then scrolls behind the glass. Existing sizing, logo and menu rules remain. */
.site-header {
  background: #fff;
  color: #151b29;
  border-bottom: 1px solid rgba(21, 27, 41, .09);
}

/* Solid white remains the fallback on browsers without backdrop filtering. */
@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .site-header {
    background: rgba(255, 255, 255, .76);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
  }
}

/* Quiet engineering linework behind occasional navigation and transition areas. */
.page-cta, .inline-studio-link, .rack-structure-guide { position: relative; isolation: isolate; }
.mobile-nav { isolation: isolate; }
.mobile-nav::before, .page-cta::before, .inline-studio-link::before, .rack-structure-guide::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/engineering53/structural-lines.webp") no-repeat right calc(50% + var(--technical-shift, 0px)) / auto 115%;
  opacity: .045; filter: grayscale(1); mix-blend-mode: multiply;
}
.mobile-nav::before { background-size: auto 85%; background-position: 120% calc(50% + var(--technical-shift, 0px)); opacity: .035; }
@media (max-width: 760px) {
  .page-cta::before, .inline-studio-link::before, .rack-structure-guide::before { background-position: 80% calc(50% + var(--technical-shift, 0px)); opacity: .035; }
}
