/* H9 Go Deeper background: "alignment field".
   Gold strands drift apart and slowly come back into line, behind the Go Deeper block.
   Pairs with go-deeper-bg.js. Target: section#resources (homepage, page-id-11688). */
#resources.epi-gd-anim { position: relative; isolation: isolate; overflow: hidden; }
#resources.epi-gd-anim > *:not(.epi-gd-canvas) { position: relative; z-index: 1; }
#resources .epi-gd-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; display: block;
  /* static warm glow behind the strands; the canvas only draws lines */
  background: radial-gradient(ellipse 55% 38% at 50% 56%, rgba(212,168,76,.07), rgba(212,168,76,0) 70%);
  opacity: 0; transition: opacity 1.6s ease;
}
#resources .epi-gd-canvas.is-on { opacity: 1; }
/* let the field live INSIDE the block: cards become a little translucent so the strands pass
   behind them (same navy, 80% instead of 100%). Text contrast measured >= 4.5:1 in shots/report.json. */
#resources.epi-gd-anim .resource-card { background-color: rgba(12, 20, 40, 0.68) !important; }
#resources.epi-gd-anim .r-free { background: rgba(12, 20, 40, 0.62) !important; }
@media (prefers-reduced-motion: reduce) {
  #resources .epi-gd-canvas { transition: none; }
}
