/* Work video carousel (freelance + home). Clips: admin Work > Freelance Carousel, else assets/freelance-carousel. */
body.ws26 .fl-marquee-section { padding: clamp(24px, 4vw, 48px) 0 0; }
body.ws26 .fl-marquee {
  display: grid; gap: 12px; width: 100%; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
body.ws26 .fl-marquee[hidden] { display: none; }
body.ws26 .fl-marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: fl-marquee-left var(--fl-dur, 160s) linear infinite; animation-play-state: paused;
}
body.ws26 .fl-marquee.is-live .fl-marquee-track { animation-play-state: running; }
body.ws26 .fl-marquee-row--right .fl-marquee-track { animation-name: fl-marquee-right; }
@keyframes fl-marquee-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
@keyframes fl-marquee-right { from { transform: translate3d(calc(-50% - 6px), 0, 0); } to { transform: translate3d(0, 0, 0); } }
body.ws26 .fl-marquee-clip {
  flex: none; width: clamp(180px, 18vw, 280px); aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--ws-r-xs); background: var(--ws-surface); box-shadow: 0 0 0 1px var(--ws-line-soft);
}
body.ws26 .fl-marquee-clip video, body.ws26 .fl-marquee-clip img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { body.ws26 .fl-marquee-track { animation: none; } }

/* lazy clips fade in once loaded; "More work" link to the archive (2026-11-26) */
body.ws26 .fl-marquee-clip > video, body.ws26 .fl-marquee-clip > img { opacity: 0; transition: opacity .4s ease; }
body.ws26 .fl-marquee-clip.is-ready > video, body.ws26 .fl-marquee-clip.is-ready > img { opacity: 1; }
body.ws26 .fl-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 24px auto 0; color: var(--ws-text-2); text-align: center; text-decoration: none; text-underline-offset: 3px; transition: color .2s; }
body.ws26 .fl-more:hover { color: var(--ws-text); text-decoration: underline; }
body.ws26 .fl-more svg { flex: none; width: 13px; height: 13px; }
