/* Homepage speed layer (2026-11-30). Loaded by the homepage only. Visual-only: no layout, colour or behaviour of
   any existing element is changed; remove the <link> and the page is exactly as before. */

/* Skeleton: a soft shimmer shows where a card photo will appear, instead of an empty box that pops in. */
.cwf-home .fc-card__photo {
    background: linear-gradient(100deg, #eef1f5 30%, #f8fafc 50%, #eef1f5 70%);
    background-size: 200% 100%;
    animation: cw-skeleton 1.4s ease-in-out infinite;
}
.cwf-home .fc-card__photo img {
    /* the picture covers the shimmer once it has loaded */
    background: #eef1f5;
}
@keyframes cw-skeleton {
    from { background-position: 100% 0; }
    to   { background-position: -100% 0; }
}

/* Far-down sections: the browser skips drawing them until the visitor scrolls near. `auto` remembers the real
   height after the first draw, so the scrollbar does not jump. */
.cwf-home .cv2-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 640px;
}

/* Reserve the logo strip's height so the page below does not shift when logos arrive. */
.cwf-home .tb-item img { aspect-ratio: auto; }

@media (prefers-reduced-motion: reduce) {
    .cwf-home .fc-card__photo { animation: none; }
}
