/* Вариант 40 — «Веер»: карточки разворачиваются веером, чипы каскадом */
.v40 .project-card { transform-origin: 0% 100%; will-change: transform, opacity; }
.v40 .project-card:nth-child(even) { transform-origin: 100% 100%; }
.v40 .material-chip { opacity: 0; transform: translateY(22px) rotate(-4deg);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.v40 .materials-row.in-view .material-chip { opacity: 1; transform: none; }
.v40 .materials-row.in-view .material-chip:nth-child(2) { transition-delay: 0.07s; }
.v40 .materials-row.in-view .material-chip:nth-child(3) { transition-delay: 0.14s; }
.v40 .materials-row.in-view .material-chip:nth-child(4) { transition-delay: 0.21s; }
.v40 .materials-row.in-view .material-chip:nth-child(5) { transition-delay: 0.28s; }
.v40 .materials-row.in-view .material-chip:nth-child(6) { transition-delay: 0.35s; }
.v40 .materials-row.in-view .material-chip:nth-child(7) { transition-delay: 0.42s; }
.v40 .feature { opacity: 0; transform: translateY(36px) rotate(-1.4deg); transform-origin: 0 100%;
  transition: opacity 0.7s, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.v40 .features.in-view .feature { opacity: 1; transform: none; }
.v40 .features.in-view .feature:nth-child(2) { transition-delay: 0.09s; }
.v40 .features.in-view .feature:nth-child(3) { transition-delay: 0.18s; }
.v40 .features.in-view .feature:nth-child(4) { transition-delay: 0.27s; }
.v40 .features.in-view .feature:nth-child(5) { transition-delay: 0.36s; }
.v40 .section__title { transform-origin: 0 100%; }

/* Подвал выезжает из-под контента (как в №39) */
.v40 main { position: relative; z-index: 2; background: var(--bg-1, #0a0a0a); }
@media (min-width: 761px) {
  .v40 main { margin-bottom: 460px; box-shadow: 0 40px 90px rgba(0,0,0,0.6); }
  .v40 .footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; height: 460px;
    display: flex; flex-direction: column; justify-content: center; }
}
