/* "Click me" motion for every button (hover lift, press, ripple, periodic nudge). */
.btn, .top__call, .top__gift, .gift__btn, .invite-form__submit, .booking__form button[type="submit"] {
	transition: background-color .15s, border-color .15s, color .15s, transform .22s cubic-bezier(.2,.9,.3,1.3), box-shadow .22s;
	will-change: transform;
}
.btn:hover, .top__call:hover, .top__gift:hover, .gift__btn:hover, .invite-form__submit:hover, .booking__form button[type="submit"]:hover {
	transform: translateY(-3px); box-shadow: 0 12px 22px -12px rgb(22 32 58 / 55%);
}
.btn:active, .top__call:active, .top__gift:active, .gift__btn:active, .invite-form__submit:active, .booking__form button[type="submit"]:active {
	transform: scale(.95); transition-duration: .08s; box-shadow: none;
}

/* Periodic nudge while on screen (class added by motion.js). */
.bm-in { animation: bmNudge 2s ease-in-out var(--bm-d, 0s) infinite; }
.bm-in:hover, .bm-in:active, .bm-in:focus-visible { animation-play-state: paused; }
@keyframes bmNudge {
	0%, 50%, 100% { transform: none; }
	60% { transform: translateY(-3px) scale(1.05); }
	70% { transform: translateY(0) scale(.98); }
	80% { transform: translateY(-1px) scale(1.02); }
	88% { transform: none; }
}
/* Light shine across solid buttons, in step with the nudge. */
.bm-shine.bm-in {
	background-image: linear-gradient(110deg, transparent 0 40%, rgb(255 255 255 / 38%) 50%, transparent 60% 100%);
	background-size: 250% 100%; background-repeat: no-repeat; background-position: 160% 0;
	animation: bmNudge 2s ease-in-out var(--bm-d, 0s) infinite, bmShine 2s ease-in-out var(--bm-d, 0s) infinite;
}
@keyframes bmShine { 0%, 48% { background-position: 160% 0; } 86%, 100% { background-position: -60% 0; } }

/* Click ripple */
.bm-ripple {
	position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
	background: currentColor; opacity: .35; pointer-events: none; animation: bmRipple .6s ease-out forwards;
}
@keyframes bmRipple { to { transform: scale(22); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	.bm-in, .bm-shine.bm-in { animation: none; }
	.btn:hover, .top__call:hover, .top__gift:hover, .gift__btn:hover { transform: none; }
	.bm-ripple { display: none; }
}
