feat(motion): add scroll reveals and micro-interactions

This commit is contained in:
2026-09-07 00:19:07 +03:30
parent fa98f70b51
commit b0c9ad1296
20 changed files with 420 additions and 24 deletions

View File

@@ -97,12 +97,22 @@
top: clamp(72px, 8vw, 100px);
left: clamp(-220px, calc(22% - 28vw), -40px);
width: clamp(240px, 28vw, 440px);
animation: landscapeFloatLeft 8s var(--motion-ease-in-out) infinite alternate;
}
.backdropRight {
top: clamp(80px, 9vw, 110px);
right: clamp(-240px, calc(22% - 29vw), -40px);
width: clamp(250px, 29vw, 460px);
animation: landscapeFloatRight 9s var(--motion-ease-in-out) -2s infinite alternate;
}
@keyframes landscapeFloatLeft {
to { transform: translate3d(0.5rem, -0.375rem, 0); }
}
@keyframes landscapeFloatRight {
to { transform: translate3d(-0.5rem, 0.375rem, 0); }
}
.backdropSun,
@@ -112,6 +122,14 @@
width: clamp(52px, 10vw, 139px);
}
@media (prefers-reduced-motion: reduce) {
.backdropLeft,
.backdropRight {
animation: none;
transform: none;
}
}
/* ================================================================
TABLET 651px – 1100px
Large illustrations with heavy bleed — bold fragments at edges.