/* Collections, image definitions and complete-frame exploration. */
.collections-section {
  padding-top: 90px;
  padding-bottom: 85px;
  background: radial-gradient(ellipse at 18% 90%, #19443b1a, transparent 65%);
  border-bottom: 1px solid #31414188;
}
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.collection-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  text-align: left;
  min-width: 0;
  min-height: 390px;
  padding: 27px;
  overflow: hidden;
  background: #0b1618;
  color: #eef0e7;
  border: 1px solid #53675c88;
  isolation: isolate;
  transition: border-color .3s, box-shadow .3s;
}
.collection-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.collection-card:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #03060916 10%, #0306094d 38%, #030609ee 79%, #030609 100%); pointer-events: none; }
.collection-card:hover { border-color: #dcc084; box-shadow: 0 12px 35px #0005; }
.collection-card:hover > img { transform: scale(1.035); }
.collection-card[aria-pressed=true] { border-color: #87d8c6; box-shadow: inset 0 0 0 1px #87d8c655; }
.collection-card-copy { display: block; width: 100%; }
.collection-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; font: 9px/1.5 var(--sans); letter-spacing: 1.3px; color: #e3ce9e; margin-bottom: 16px; }
.collection-count { letter-spacing: .2px; color: #bad8cd; }
.collection-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font: 400 clamp(23px, 2.3vw, 36px)/1.14 var(--serif); letter-spacing: -.7px; margin-bottom: 14px; }
.collection-arrow { font: 22px/1 var(--sans); color: #e1c27d; }
.collection-description { display: block; font-size: 11px; line-height: 1.8; color: #bdc9c4; max-width: 290px; }
.collection-toolbar { padding: 0 0 23px; display: flex; align-items: baseline; gap: 24px; }
.toolbar-label { flex-shrink: 0; font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; color: #a2b9b1; }
.collection-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.collection-filters button { padding: 8px 13px; border: 1px solid #435449; background: #101a1c; color: #b7c6be; font-size: 10px; transition: color .2s, border-color .2s, background .2s; }
.collection-filters button:hover { border-color: #c5aa72; color: #ecd297; }
.collection-filters button.active { background: #c9ad7122; color: #f3d99d; border-color: #c4a76b; }
.gallery-toolbar { align-items: center; flex-wrap: wrap; gap: 15px 22px; }
.theme-filter-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; }
.theme-filter-wrap .filters { gap: 20px; }
.gallery-toolbar .search { margin-left: auto; }
.show-all { color: #b9ddce; padding: 8px 0; white-space: nowrap; }
.photo-resolution { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #30423b; font-variant-numeric: tabular-nums; }
.photo-resolution p { font-size: 11px; line-height: 1.65; margin: 0; color: #c8d5ce; }
.photo-resolution .photo-native { color: #a2b4aa; font-size: 10px; margin-top: 2px; }
.resolution-explanation { max-width: 850px; font-size: 10px; line-height: 1.9; color: #9eb4a8; margin: 5px 0 0; }
.full-image-link { display: inline-block; align-self: flex-start; font-size: 11px; color: #a9dfcc; border-bottom: 1px solid #5b8b79; margin-bottom: 22px; padding-bottom: 3px; }
.full-image-link:hover { color: #f0d39b; border-color: #bea46c; }
.selected-row > div { min-width: 0; }
.selected-row > img { flex-shrink: 0; }
.selected-row small { display: block; }
.selected-row .selected-resolution { color: #c3d7c9; margin-top: 4px; font-variant-numeric: tabular-nums; }
.selected-row .selected-native { font-size: 8px; margin-top: 2px; }
.lightbox-image { min-width: 0; }
.lightbox-image > img { object-fit: contain; }
.lightbox-detail dl { display: block; }
.lightbox-detail dd { overflow-wrap: anywhere; }
.featured-resolution { padding: 12px 0 0; font-size: 10px; color: #a7bfb5; line-height: 1.7; font-variant-numeric: tabular-nums; }
.featured-resolution span { display: block; }
.hero-visual { display: flex; flex-direction: column; min-width: 0; }
.hero-visual > .hero-art { flex: 1; }
.hero-featured-resolution { color: #c2d1c8; font-size: 9px; padding: 12px 30px; margin: 0; background: #080d0e; }
.studio-visual-wrap { min-width: 0; }
@media (max-width: 1150px) {
  .collection-card { padding: 23px; min-height: 360px; }
  .collection-meta { letter-spacing: .7px; font-size: 8px; }
  .site-header nav { gap: 13px; }
}
@media (max-width: 980px) {
  .site-header nav { display: none; }
  .collection-grid { gap: 17px; }
  .collection-card { min-height: 340px; padding: 20px; }
  .collection-title { font-size: 25px; }
  .collection-description { font-size: 10px; }
  .collection-toolbar { display: block; }
  .collection-toolbar > .toolbar-label { display: block; margin-bottom: 10px; }
}
@media (max-width: 760px) {
  .collections-section { padding-top: 55px; padding-bottom: 48px; }
  .collection-grid { grid-template-columns: 1fr; gap: 19px; }
  .collection-card { min-height: 315px; padding: 25px; }
  .collection-card > img { object-position: 50% 44%; }
  .collection-title { font-size: 34px; }
  .collection-meta { font-size: 9px; }
  .collection-description { font-size: 11px; max-width: 380px; }
  .collection-filters { gap: 7px; }
  .collection-filters button { font-size: 9px; padding: 8px 10px; }
  .gallery-toolbar { display: flex; }
  .theme-filter-wrap { width: 100%; gap: 7px 15px; }
  .theme-filter-wrap .filters { gap: 15px; }
  .gallery-toolbar .search { margin: 0; flex: 1; min-width: 130px; }
  .gallery-toolbar .search input { min-width: 0; }
  .show-all { font-size: 10px; }
  .photo-resolution p { font-size: 10.5px; }
  .photo-resolution .photo-native { font-size: 9.5px; }
  .resolution-explanation { font-size: 9px; }
  .lightbox-detail dl { display: block; }
  .lightbox-detail dl > div { padding: 10px 0; }
  .studio-visual-wrap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-card, .collection-card > img, .collection-filters button { transition: none; }
  .collection-card:hover > img { transform: none; }
}
