/* ============================================================
   FARBOD EXPERIMENT v2 — clip-wipe layer overrides
   Loaded AFTER farbod-hero.css. Turns each streaming row into a
   wrapper that holds three stacked, individually-clipped layers
   (messy / clean / opportunity) sharing one anchor, so the
   transformation happens exactly at the vertical membranes — and
   every layer is centred on ONE vertical line, so the transformed
   version always exits at the exact height the raw row entered.
   ============================================================ */

.fe-rowwrap {
  position: absolute; left: 0; top: 0;
  will-change: transform, opacity;
  transform: translate(-9999px, 0);
}
/* layers sit on top of each other, all vertically centred on the
   wrapper's anchor line; clip-path (set per-frame in JS) decides
   which slice of each is visible. A fixed height + flex centring
   makes messy, clean and opportunity share the EXACT same text
   midline even though only some of them carry a leading icon. */
.fe-rowwrap > .fe-row {
  left: 0; top: 50%;
  height: 22px;
  display: flex; align-items: center; justify-content: flex-end;
  transform: translateY(-50%);
  will-change: clip-path, opacity;
}
/* icons are flex-centred now, so neutralise the baseline nudge */
.fe-rowwrap > .fe-row .r-tick,
.fe-rowwrap > .fe-row .r-check { vertical-align: 0; }

/* ---- Membrane reacts where rows pass through ---- */
/* kill the old constantly-travelling up/down glow */
.fe-line-flow { display: none !important; }
/* calmer base line so the live crossing glow reads clearly */
.fe-line-core { opacity: .34; }
.fe-line-halo { opacity: .4; }

/* a thin, subtle glow segment positioned (in JS) at the height of
   each row currently crossing the line — the membrane lights up
   exactly where a transformation is taking place, as a slim
   sliver rather than a cloud. */
.fe-line-spark {
  position: absolute; left: 50%; top: 0;
  width: 3px; height: 22px; border-radius: 3px;
  transform: translate(-50%, -50%);
  background: var(--c);
  filter: blur(0.6px);
  box-shadow: 0 0 6px 0.5px var(--c);
  opacity: 0; will-change: opacity, top;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .fe-line-spark { display: none; }
}
html.anim-off .fe-line-spark { display: none; }
