.work {
  position: relative;
  isolation: isolate;
}

/* LineWaves replaces only the Selected Work grid background. */
.work > .work-line-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(35, 68, 48, .16), transparent 68%),
    var(--bg);
}

.work-line-waves canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .92;
}

.work > .section-bar,
.work > .work-heading,
.work > .project-grid,
.work > .work-note {
  position: relative;
  z-index: 3;
}

/* Retain the existing opaque project-card surfaces and stacking. */
.work .project-card {
  position: relative;
  z-index: 3;
}
