.carousel-shell {
  width: min(1120px,100%);
  margin: 0 auto;
}
.carousel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.carousel-filter {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #bdbdb7;
  background: transparent;
  color: #32322f;
  font: 700 .68rem/1 "Libre Franklin","Avenir Next",sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.carousel-filter:hover,
.carousel-filter.active {
  border-color: #0c0c0c;
  background: #0c0c0c;
  color: #fff;
}
.carousel-stage {
  position: relative;
  height: min(62vh,580px);
  min-height: 380px;
  overflow: hidden;
  background: #e8e8e5;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}
.carousel-slide[hidden] { display: none; }
.carousel-slide img {
  width: 100%;
  height: calc(100% - 48px);
  object-fit: contain;
}
.carousel-slide img.kitchen-light-corrected {
  filter: brightness(1.16) contrast(1.03) saturate(.98);
}
.carousel-slide img.wine-light-corrected {
  filter: brightness(1.1) contrast(1.08) saturate(1.04);
}
.carousel-slide figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 14px 18px;
  background: #fff;
  color: #20201f;
  font: 700 .72rem/1.3 "Libre Franklin","Avenir Next",sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  color: #fff;
  font: 400 1.4rem/1 sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel-button:hover { background: #0c0c0c; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  color: #5d5d58;
  font: 600 .72rem/1.4 "Libre Franklin","Avenir Next",sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.gallery-hero,
.gallery-hero .hero-copy { min-height: 0; }
.gallery-page .site-header { background: #fff; color: #151515; border-bottom-color: #dededb; }
.gallery-page .wordmark { color: #151515; }
.gallery-page .menu-toggle { color: #151515; border-color: #999; }
.gallery-page .nav-links a { font-size: .875rem; }
.gallery-hero { min-height: 0; background: #fff; }
.gallery-hero::after { display: none; }
.gallery-hero .hero-copy { padding: 132px clamp(22px,6vw,92px) 18px; color: #151515; }
.gallery-hero h1 { max-width: none; font-size: clamp(3.2rem,6vw,6rem); }
.gallery-browse { padding-top: 22px; }
@media (max-width: 960px) {
  .gallery-page .nav-links.open { background: #fff; color: #151515; border-bottom: 1px solid #dededb; }
}
@media (max-width: 640px) {
  .carousel-shell { margin-top: 0; }
  .carousel-filters {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .carousel-filter { flex: 0 0 auto; }
  .carousel-stage {
    height: clamp(260px,36vh,320px);
    min-height: 0;
  }
  .carousel-button { width: 40px; height: 40px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-slide figcaption { font-size: .63rem; }
  .carousel-slide figcaption span:last-child { display: none; }
  .carousel-meta span:last-child { display: none; }
  .gallery-hero,
  .gallery-hero .hero-copy { min-height: 0; }
  .gallery-hero .hero-copy { padding-top: 112px; }
  .gallery-browse { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-stage * { scroll-behavior: auto; }
}
