.home { isolation: isolate; }
.home .site-shell { position: relative; }

/* Real content sits above the line; no rectangular masks erase its path. */
:where(.home .site-shell) :where(h1, h2, h3, p, a, li, summary, .logo-slot, .entry__meta, .hero__topline) {
  position: relative;
  z-index: 2;
}

.scroll-trail {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  user-select: none;
  color: var(--accent, #234f85);
}

.scroll-trail__line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .42;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-trail.is-ready { display: block; }
}

@media (max-width: 700px) {
  .scroll-trail__line { stroke-width: 2.25; opacity: .36; }
}

@media print {
  .scroll-trail { display: none !important; }
}
