/* Minimal native replacements for layout state once Squarespace JavaScript is absent. */
.project-slide,
.project-slide.already-animated {
  opacity: 1 !important;
  transform: none !important;
}

.project-slide-image-wrapper {
  position: relative;
  min-width: 0 !important;
  min-height: 0 !important;
}

.project-slide-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.collection-type-gallery .thumbnail-wrapper {
  display: none !important;
}

.collection-type-gallery .gallery-wrapper,
.collection-type-gallery .slides-controls,
.collection-type-gallery .remake-photo-grid {
  position: relative;
  display: block;
  width: 100%;
}

.collection-type-gallery .remake-photo-grid .slide-meta {
  display: none;
}

.collection-type-gallery .remake-photo-grid > .slide {
  cursor: pointer;
}

.remake-lightbox {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 2vw;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.remake-lightbox::backdrop {
  background: rgba(255, 255, 255, 0.96);
}

.remake-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.remake-lightbox-image {
  display: block;
  max-width: 94vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.remake-lightbox-close,
.remake-lightbox-previous,
.remake-lightbox-next {
  position: fixed;
  z-index: 1;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111;
  font-family: Arial, sans-serif;
  font-weight: 300;
  cursor: pointer;
}

.remake-lightbox-close {
  top: 18px;
  right: 25px;
  font-size: 36px;
  line-height: 1;
}

.remake-lightbox-previous,
.remake-lightbox-next {
  top: 50%;
  width: 54px;
  height: 80px;
  margin-top: -40px;
  font-size: 58px;
  line-height: 70px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.remake-lightbox:hover .remake-lightbox-previous,
.remake-lightbox:hover .remake-lightbox-next,
.remake-lightbox-previous:focus-visible,
.remake-lightbox-next:focus-visible {
  opacity: 1;
}

.remake-lightbox-previous {
  left: 0;
}

.remake-lightbox-next {
  right: 0;
}

.remake-lightbox-previous:disabled,
.remake-lightbox-next:disabled {
  visibility: hidden;
}

body.remake-lightbox-open {
  overflow: hidden;
}

.remake-form-status {
  margin: 1.5em 0 0;
  text-align: center;
  font: inherit;
  color: inherit;
}

@media only screen and (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .overlay-nav-wrapper {
    opacity: 1;
  }

  body.mobile-menu-open .mobile-nav-toggle-label .Icon--hamburger {
    display: none;
  }

  body.mobile-menu-open .mobile-nav-toggle-label .Icon--close {
    display: block;
  }
}

@media (hover: none), (pointer: coarse) {
  .remake-lightbox-previous,
  .remake-lightbox-next {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.remake-not-found {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 20px;
  text-align: center;
}
