/* Static-rebuild glue: replaces behaviour Squarespace JS used to provide. */

/* Background video sections */
.section-background { position: absolute; inset: 0; overflow: hidden; }
.pp-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-bg-overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }

/* Images were JS-revealed (opacity 0 until "loaded") — always show them. */
img[data-loader="sqs"], .summary-thumbnail-image, img { opacity: 1 !important; }

/* Gallery slideshow → scroll-snap strip driven by site.js arrows */
.gallery-slideshow .gallery-slideshow-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-slideshow .gallery-slideshow-list::-webkit-scrollbar { display: none; }
.gallery-slideshow .gallery-slideshow-item { flex: 0 0 100%; scroll-snap-align: center; position: relative !important; }
.gallery-slideshow .gallery-slideshow-item img { position: static !important; width: 100%; height: auto; }

/* Summary blocks (blog/portfolio listings) were JS-masonry — grid fallback */
.sqs-block-summary-v2 .summary-item-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.sqs-block-summary-v2 .summary-item { position: static !important; width: auto !important; }
.sqs-block-summary-v2 .summary-thumbnail img { position: static !important; width: 100%; height: auto; }

/* Accordion (FAQ) blocks */
.accordion-item__dropdown { display: none; }
.accordion-item--open .accordion-item__dropdown { display: block; }
.accordion-item__click-target { cursor: pointer; }

/* user-items-list carousels were JS-positioned — scroll-snap track fallback */
.user-items-list-carousel ul { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px; padding: 0; }
.user-items-list-carousel ul::-webkit-scrollbar { display: none; }
.user-items-list-carousel ul > li { flex: 0 0 auto; width: min(300px, 80vw); scroll-snap-align: start; position: static !important; list-style: none; }
.user-items-list-carousel__arrow-button { cursor: pointer; }

/* Stat counters (were wm-countup anchors hidden at opacity 0) */
.pp-countup { opacity: 1; text-decoration: none; }

/* No JS-gated entrance animations in the static build — content is always visible */
header, footer, section > .content-wrapper { animation: none !important; opacity: 1 !important; }

/* Hide commerce leftovers */
.header-actions-action--cart, .cart-style-icon, .sqs-cart-quantity { display: none !important; }
