/**
 * Blueprint homepage interaction states.
 *
 * Only stateful hooks used by assets/js/site.js live here; the reference
 * theme CSS stays untouched. Keep this file small and non-layout-shifting.
 */

/* 1. Announcement bar / fixed header: compact mode after scrolling. */
.announcement-bar {
	transition: transform 0.25s ease;
	will-change: transform;
}

#header-nav {
	transition: top 0.25s ease;
}

body.bp-nav-compact .announcement-bar {
	transform: translateY(-100%);
}

body.bp-nav-compact #header-nav {
	top: 0;
}

/* 2. Scrolling review marquee: pause on hover. */
.ab-tick__marquee:hover .ab-tick__track,
.ab-tick__track:hover {
	animation-play-state: paused;
}

/* 3. Flow accordion ("No Label Fluff" …): animated height. */
[data-bp-flow-panel] {
	overflow: hidden;
	transition: height 0.3s ease;
}

[data-bp-flow-panel][hidden] {
	display: none;
}

/* 4. Testimonials: once JS takes over, clones are no longer needed. */
.bp-testimonial-ready .splide__slide--clone {
	display: none !important;
}

.bp-testimonial-ready > .splide__track > .splide__list {
	transition: transform 0.45s ease;
}

.bp-testimonial-ready .splide__slide {
	opacity: 0.55;
	transition: opacity 0.35s ease;
}

.bp-testimonial-ready .splide__slide.is-current {
	opacity: 1;
}
