/**
 * Static marketing site overrides (no YUI / site-bundle).
 */

/* Show lazy images even if Squarespace image-loader never runs */
img[data-src]:not([src]),
img[data-load="false"] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ------------------------------------------------------------------ */
/* Gallery Reel — continuous marquee via transform (site.css-compatible) */
/* ------------------------------------------------------------------ */

.gallery-reel[data-static-reel="true"] {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-height: 632px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-list {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  cursor: default !important;
  pointer-events: none !important;
}

.gallery-reel[data-static-reel="true"] .static-reel-marquee {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-item {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  user-select: none;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-item-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-item-src {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  opacity: 1 !important;
  overflow: hidden !important;
}

.gallery-reel[data-static-reel="true"] .gallery-reel-item img {
  position: absolute !important;
  display: block !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  max-width: none !important;
}

/* Hide prev/next arrows */
.gallery-reel[data-static-reel="true"] .gallery-reel-controls,
.gallery-reel .gallery-reel-controls {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Other lists */
.gallery-grid-item img,
.list-item img,
.sqs-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 1 !important;
}

.user-items-list-item-container,
.list-item {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile menu */
body.static-menu-open {
  overflow: hidden;
}

body.static-menu-open .header-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.header-burger-btn {
  cursor: pointer;
  background: transparent;
  border: 0;
  appearance: none;
}

/* Hide commerce leftovers */
#floatingCart,
.sqs-custom-cart,
.icon--cart,
#product-quick-view,
.product-quick-view,
.gdpr-cookie-banner,
.sqs-cookie-banner-v2,
.squarespace-managed-cookie-banner,
#sqs-cart-root {
  display: none !important;
}

.static-form-note {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.03);
}

/* ------------------------------------------------------------------ */
/* Video embeds (YouTube) from Squarespace video blocks               */
/* ------------------------------------------------------------------ */

.sqs-video-wrapper {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  background: #000;
}

.sqs-video-wrapper .static-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sqs-video-wrapper .static-video-embed iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.sqs-video-wrapper.static-video-ready .sqs-video-overlay {
  display: none !important;
}

/* Ensure aspect-ratio box keeps height */
.embed-block-wrapper {
  position: relative;
  width: 100%;
}

.embed-block-wrapper .sqs-video-wrapper .sqs-video-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
}

/* ------------------------------------------------------------------ */
/* Section VideoBackground (YouTube) — static hydrate fallback         */
/* ------------------------------------------------------------------ */

.sqs-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.sqs-video-background #player,
.sqs-video-background .static-yt-bg-player,
.sqs-video-background [data-static-player] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.sqs-video-background iframe.background-video {
  position: absolute;
  border: 0 !important;
  pointer-events: none;
  max-width: none !important;
  opacity: 0;
  transition: opacity 0.25s ease-in;
  z-index: 0;
}

.sqs-video-background iframe.background-video.ready,
.sqs-video-background iframe.background-video.loaded,
.sqs-video-background.static-video-bg-ready iframe.background-video {
  opacity: 1;
}

/* Keep foreground content above the video layer */
.page-section .section-background {
  overflow: hidden;
}

.page-section .content-wrapper {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/* Contact: page-section-62053f0367223c042907be7b — one centered col  */
/* (was 5+7 float grid: image/heading/social | form)                   */
/* ------------------------------------------------------------------ */

#page-section-62053f0367223c042907be7b {
  width: 100% !important;
  max-width: 40rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  text-align: center !important;
}

#page-section-62053f0367223c042907be7b .sqs-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

#page-section-62053f0367223c042907be7b .sqs-col,
#page-section-62053f0367223c042907be7b [class*="sqs-col-"],
#page-section-62053f0367223c042907be7b [class*="span-"] {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* Drop empty spacer columns that only padded the multi-col layout */
#page-section-62053f0367223c042907be7b .spacer-block {
  display: none !important;
}

/* Tall “send us a message” graphic — center, keep a sensible width */
#page-section-62053f0367223c042907be7b .image-block,
#page-section-62053f0367223c042907be7b .image-block-outer-wrapper,
#page-section-62053f0367223c042907be7b .sqs-block-image-figure {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 220px;
  width: 100%;
}

#page-section-62053f0367223c042907be7b .sqs-html-content,
#page-section-62053f0367223c042907be7b .sqs-block-html,
#page-section-62053f0367223c042907be7b .form-block,
#page-section-62053f0367223c042907be7b .form-wrapper {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}

/* Social icons: center the row */
#page-section-62053f0367223c042907be7b .sqs-block-socialaccountlinks-content,
#page-section-62053f0367223c042907be7b .sqs-svg-icon--outer,
#page-section-62053f0367223c042907be7b .social-icon-alignment-left {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

#page-section-62053f0367223c042907be7b .sqs-svg-icon--list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.35rem 0.75rem;
  margin: 0 auto !important;
  float: none !important;
}
