/* The existing section boundaries become a quiet blue-to-apricot thread.
   Absolute decoration preserves each section's original spacing and surface. */
.section-shell.section-line-host {
  position: relative;
  border-top-color: transparent;
}
.section-separator {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}
.section-separator-stroke {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4665ff38 12%, #4665ff94 40%, #a489ba99 50%, #ff965994 60%, #ff965938 88%, transparent);
  transform-origin: center;
}
.section-separator-core {
  position: absolute;
  left: 50%;
  top: -1px;
  width: clamp(36px, 5vw, 64px);
  height: 3px;
  margin-left: clamp(-32px, -2.5vw, -18px);
  border-radius: 10px;
  background: linear-gradient(90deg, #4665ff, #aa8cb7 52%, #ff9659);
  opacity: .8;
  transform-origin: center;
}
.section-separator::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: clamp(90px, 15vw, 180px);
  height: 11px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(90deg, #4665ff, #ff9659);
  filter: blur(9px);
  opacity: .14;
}
.section-separator.is-revealed .section-separator-stroke {
  animation: section-thread-open 1000ms cubic-bezier(.22, 1, .36, 1) both;
}
.section-separator.is-revealed .section-separator-core {
  animation: section-thread-settle 850ms cubic-bezier(.22, 1, .36, 1) both;
}
/* A line waits for the site's existing content reveal instead of replacing it. */
.motion-ready .section-line-host.reveal:not(.is-visible) .section-separator > span {
  animation-play-state: paused;
}
@keyframes section-thread-open {
  from { transform: scaleX(.08); opacity: .25; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes section-thread-settle {
  0% { transform: scaleX(.4); opacity: .25; }
  55% { transform: scaleX(1.12); opacity: 1; }
  100% { transform: scaleX(1); opacity: .8; }
}
.motion-paused .section-separator > span { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .section-separator > span { animation: none !important; }
}
@media print {
  .section-separator-stroke { background: #bbc2d2; animation: none !important; }
  .section-separator-core, .section-separator::before { display: none; }
}
