/* Preserve original typography and layout while replacing JS-only image loading. */
img { max-width: 100%; }
/* Replace Squarespace's JS-driven category thumbnail cropping. */
.index-item-image-crop .index-item-image-wrapper {
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.index-item-image-crop .index-item-image-wrapper .index-item-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.sqs-block-image img { height: auto; }
.sqs-gallery-design-stacked .image-wrapper img { display: block; width: 100%; height: auto; position: relative; opacity: 1; }
.sqs-gallery-design-stacked .image-wrapper { height: auto; }
.sqs-gallery-design-stacked .slide { display: block; opacity: 1; margin-bottom: 35px; }
.sqs-gallery-design-stacked .meta { display: block; }
body:not(.sqs-edit-mode) [data-animation-role] { opacity: 1; }
.migration-masonry { position: relative; }
.migration-masonry > .slide { margin: 0; padding: 0; }
.migration-masonry > .slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.migration-masonry > .slide:focus-visible { outline: 2px solid #bc984f; outline-offset: 5px; }
.migration-lightbox {
  position: fixed; inset: 0; box-sizing: border-box; width: 100vw; height: 100dvh;
  max-width: none; max-height: none; margin: 0; border: 0; padding: 35px 65px;
  background: #fff; color: #111;
}
.migration-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.migration-lightbox::backdrop { background: #fff; }
.migration-lightbox figure { position: relative; margin: 0; max-width: 100%; }
.migration-lightbox figure > img { display: block; max-width: 100%; max-height: calc(100dvh - 70px); width: auto; height: auto; margin: auto; }
.migration-lightbox figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 24px; background: #0009; color: #fff; max-height: 35vh; overflow: auto; }
.migration-lightbox figcaption p { margin: 0; }
.migration-lightbox figcaption .title { font-size: 20px; margin-bottom: 8px; }
.migration-lightbox button { position: absolute; z-index: 1; border: 0; background: transparent; color: #222; font: 38px/1 sans-serif; cursor: pointer; padding: 10px; }
.migration-lightbox .lightbox-close { top: 10px; right: 12px; }
.migration-lightbox .lightbox-previous { left: 8px; top: 45%; }
.migration-lightbox .lightbox-next { right: 8px; top: 45%; }
@media (max-width: 640px) {
  .migration-lightbox { padding: 55px 30px; }
  .migration-lightbox figure > img { max-height: calc(100dvh - 110px); }
  .migration-lightbox figcaption { position: static; padding: 12px; font-size: 14px; }
}
@media (max-width: 640px) {
  body.migration-menu-open #header { display: block !important; padding: 15px 20px; }
  body.migration-menu-open #header .logo-wrapper { display: none; }
  body.migration-menu-open #header .nav-item { display: block; margin: 12px 0; }
}
