/* Warm, borderless stage for the supplied Tilted Tiles implementation. */
.home-tilted-collection { background: #f5f3ef; }
.home-tilted-gallery {
  position: relative;
  width: 100%;
  max-width: 1480px;
  height: clamp(420px, 48vw, 680px);
  margin: clamp(30px, 4.2vw, 54px) auto 0;
  overflow: hidden;
  isolation: isolate;
  background: #ddd8cf;
  touch-action: pan-y;
}
.home-tilted-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #f5f3ef;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, transparent 7%, transparent 93%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 8%, transparent 92%, #000 100%);
  -webkit-mask-composite: source-over;
  mask-image:
    linear-gradient(to right, #000 0%, transparent 7%, transparent 93%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 8%, transparent 92%, #000 100%);
  mask-composite: add;
}
.home-tilted-gallery .tt-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: center;
}
.home-tilted-gallery .tt-col { min-width: 0; overflow: hidden; }
.home-tilted-gallery .tt-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.home-tilted-gallery .tt-tile {
  flex: 0 0 auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background-color: #f5f3ef;
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 1000px) {
  .home-tilted-gallery { height: clamp(430px, 64vw, 560px); }
}
@media (max-width: 640px) {
  .home-tilted-gallery {
    height: clamp(390px, 118vw, 500px);
    margin-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-tilted-gallery .tt-plane,
  .home-tilted-gallery .tt-col,
  .home-tilted-gallery .tt-track { will-change: auto; }
}
