/* Static-host overrides (replaces what Squarespace's scripts did) */
html body, html body *:not(svg):not(use):not(path) { font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif !important; }
img { max-width: 100%; }

/* homepage: one full-width image per row, 1%-of-width gap like the live site */
#projectThumbs > .wrapper { width: 100% !important; margin: 0 !important; height: auto !important; }
#projectThumbs a.project { position: relative !important; display: block; float: none !important; width: 100% !important; height: auto !important; top: auto !important; left: auto !important; margin: 1% 0 0 !important; }
#projectThumbs a.project:first-child { margin-top: 0 !important; }
#projectThumbs .project-image, #projectThumbs .intrinsic, #projectThumbs .content-fill { position: static !important; padding: 0 !important; margin: 0 !important; height: auto !important; overflow: visible !important; }
#projectThumbs .content-fill img { position: static !important; display: block; width: 100% !important; height: auto !important; top: auto !important; left: auto !important; opacity: 1 !important; }
#projectThumbs .project-item-count { display: none; }
#projectThumbs a.project .project-title { position: absolute; top: 50% !important; left: 50% !important; transform: translate(-50%,-50%) !important; width: 90%; text-align: center; color: rgba(64,64,64,0); font-size: 18px; font-weight: 400; letter-spacing: .06em; line-height: 1.3em; text-transform: uppercase; transition: color .14s ease-out; pointer-events: none; }
#projectThumbs a.project:hover .project-title { color: #404040; }
#projectThumbs a.project .content-fill img { transition: opacity .14s ease-out; }
#projectThumbs a.project:hover .content-fill img { opacity: .4 !important; }

/* project pages */
#simpleControls, #numberControls, #dotControls { display: none !important; }
.video-embed { position: relative; width: 100%; aspect-ratio: var(--ar, 1.7778); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* desktop/tablet: one slide at a time in a fixed-height area, thumbnails below (as on Squarespace) */
@media only screen and (min-width: 751px) {
  #slideshowWrapper { height: calc(100vh - 274.4px) !important; min-height: 300px; }
  #slideshow { position: relative; height: 100% !important; width: 100%; overflow: hidden; }
  #slideshow .slide { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; display: flex !important; align-items: center; justify-content: center; opacity: 0; visibility: hidden; z-index: 1; transition: opacity .3s; }
  #slideshow .slide.active, body:not(.static-slideshow) #slideshow .slide:first-child { opacity: 1; visibility: visible; z-index: 2; }
  #slideshow .slide img { display: block; position: static !important; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; cursor: pointer; }
  #slideshow .slide .video-embed { width: min(100%, calc((100vh - 274.4px) * var(--ar, 1.7778))); max-height: 100%; }
  #tinyThumbControls { display: block !important; text-align: center; margin-top: 9.75px; line-height: 0; }
  #tinyThumbControls .tiny-thumb { display: inline-block; opacity: .4; cursor: pointer; padding: 11px 0 10px; margin-bottom: 3px; }
  #tinyThumbControls .tiny-thumb.sqs-active-slide, #tinyThumbControls .tiny-thumb:hover { opacity: 1; }
  #tinyThumbControls .tiny-thumb img { height: 20px; width: auto; }
}

/* phones: every slide stacked, no thumbnails (as on Squarespace) */
@media only screen and (max-width: 750px) {
  #slideshowWrapper, #slideshow { height: auto !important; }
  #slideshow .slide { position: static !important; display: block !important; opacity: 1 !important; visibility: visible !important; width: 100% !important; height: auto !important; margin: 0 0 20px; }
  #slideshow .slide img { display: block; width: 100%; height: auto; position: static !important; }
  #tinyThumbControls { display: none !important; }
}

/* lazy images in content blocks */
.sqs-block img[src], .image-block img[src] { opacity: 1 !important; }
#mobileNav.open { height: auto !important; }
/* spacer blocks: Squarespace sized these with JS */
.sqs-block-spacer[data-aspect-ratio] { padding-top: 0 !important; padding-bottom: 0 !important; }
.sqs-block-spacer[data-aspect-ratio] .sqs-block-content { height: 0; overflow: hidden; }

/* hide Netlify "Powered by Netlify" badge (same technique as reellab.la homepage) */
#nl-badge-frame { display: none !important; visibility: hidden !important; opacity: 0 !important; height: 0 !important; max-height: 0 !important; pointer-events: none !important; }

/* About page (/contact): wider centered bio column on desktop (Josh, Nov 19 2026) */
@media (min-width:751px){
#page-5b318290758d461689206b1c > .sqs-row{display:flex;justify-content:center}
#page-5b318290758d461689206b1c > .sqs-row::before,#page-5b318290758d461689206b1c > .sqs-row::after{display:none}
#page-5b318290758d461689206b1c > .sqs-row > .sqs-col-4:nth-child(1),#page-5b318290758d461689206b1c > .sqs-row > .sqs-col-4:nth-child(3){display:none}
#page-5b318290758d461689206b1c > .sqs-row > .sqs-col-4:nth-child(2){width:min(580px,100%) !important;float:none}
#page-5b318290758d461689206b1c .sqs-block-image .image-block-outer-wrapper{max-width:454px;margin:0 auto}
}
