.collection-plate {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(2rem, 6vw, 6rem);
}
.collection-plate-image {
  display: block;
  background: #edeae3;
  overflow: hidden;
}
.collection-plate-image img {
  width: 100%;
  height: clamp(310px, 42vw, 590px);
  object-fit: contain;
  display: block;
}
.collection-plate h2,
.index-heading h1,
.index-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  margin: 0.3em 0;
}
.collection-plate .plate-maker {
  font-style: italic;
  font-size: 1.4rem;
  margin: 0.4rem 0;
}
.collection-plate p:not(.eyebrow) {
  max-width: 34em;
}
.collection-plate .text-link {
  margin-top: 1rem;
}
.collection-index {
  padding-block: clamp(2.5rem, 7vw, 7rem);
  scroll-margin-top: 1rem;
}
.catalogue-search {
  border-block: 1px solid #bfb9a7;
  display: grid;
  grid-template-columns: minmax(10rem, 1.75fr) repeat(3, minmax(7rem, 1fr)) auto;
  align-items: end;
  gap: clamp(0.7rem, 2vw, 2.3rem);
  padding: 1.4rem 0;
}
[data-index="houses"] .catalogue-search {
  grid-template-columns: 2fr 1fr auto;
}
.catalogue-search label {
  display: grid;
  min-width: 0;
  gap: 0.65rem;
}
.catalogue-search label span,
.index-summary,
.index-pager,
.catalogue-search button,
.index-reset {
  font-family: var(--sans, Arial, sans-serif);
  font-size: 0.73rem;
  line-height: 1.5;
}
.catalogue-search label span {
  letter-spacing: 0.08em;
}
.catalogue-search input,
.catalogue-search select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 2.7rem;
  border: 1px solid #aaa494;
  background: #fffdf8;
  color: #292620;
  padding: 0.4rem 0.55rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
}
.catalogue-search button {
  height: 2.7rem;
  background: #333b35;
  color: #fff;
  border: 1px solid #333b35;
  padding: 0 1.45rem;
  cursor: pointer;
  letter-spacing: 0.06em;
}
.index-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.6rem;
}
.index-summary p {
  margin: 0;
}
.index-reset,
.index-pager a,
.edits-strip a {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}
.index-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 4vw, 3.5rem);
  margin-top: 2rem;
  flex-wrap: wrap;
}
.index-pager a,
.index-reset {
  padding: 0.65rem 0.2rem;
}
.index-empty {
  grid-column: 1/-1;
  text-align: center;
  background: #f1eee7;
  padding: 2.5rem;
}
.index-empty h3 {
  font-weight: 400;
  font-size: 2rem;
  margin: 0.2rem;
}
.index-card .record-caption h3 {
  overflow-wrap: anywhere;
}
.index-card .record-photo img {
  object-fit: contain;
}
.featured-houses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 2.4rem);
  padding-top: clamp(1.5rem, 5vw, 5rem);
}
.house-feature {
  display: block;
}
.house-feature img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.house-feature h2 {
  font-size: clamp(1.75rem, 3vw, 3.25rem);
  margin: 0.25rem 0;
  font-weight: 400;
  line-height: 1.06;
}
.house-feature p {
  margin: 0.5rem 0;
}
.house-feature div {
  padding-top: 0.65rem;
}
.edits-strip {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-block: 2rem;
}
.edits-strip .eyebrow {
  margin: 0;
}
.maker-work.wrap > .object-grid .record-card {
  max-width: none;
}
.object-detail .zoom-trigger > span {
  width: auto;
  min-width: 4rem;
  padding: 0 0.65rem;
  font:
    0.72rem/2.4rem Arial,
    sans-serif;
}
@media (max-width: 850px) {
  .catalogue-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalogue-search .search-term {
    grid-column: 1/-1;
  }
  .catalogue-search button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .index-grid {
    gap: 1.5rem 0.7rem;
  }
}
@media (max-width: 650px) {
  .collection-plate {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .collection-plate-image img {
    height: 345px;
  }
  .catalogue-search,
  .catalogue-search[data-index="houses"],
  [data-index="houses"] .catalogue-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .catalogue-search > button {
    grid-column: auto;
    justify-self: stretch;
  }
  .catalogue-search input,
  .catalogue-search select {
    font-size: 16px;
  }
  .featured-houses {
    grid-template-columns: 1fr;
  }
  .house-feature {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 1rem;
    align-items: center;
  }
  .house-feature div {
    padding: 0;
  }
  .house-feature h2 {
    font-size: 1.85rem;
  }
  .edits-strip {
    gap: 1rem;
    justify-content: flex-start;
  }
}
