:root {
  --vu-ink: var(--vie-ink, #111110);
  --vu-muted: var(--vie-muted, #686963);
  --vu-canvas: #f5f3ee;
  --vu-paper: #fcfbf8;
  --vu-white: #ffffff;
  --vu-stage: #171716;
  --vu-panel: #e3e3df;
  --vu-line: var(--vie-line, rgba(17, 17, 16, 0.16));
  --vu-soft-line: rgba(17, 17, 16, 0.09);
  --vu-blue: var(--vie-accent, #0e487a);
  --vu-font: proxima-nova, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--vu-ink);
  font-family: var(--vu-font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--vu-paper);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html.detail-is-open,
html.detail-is-open body {
  overflow: hidden;
}

html.detail-is-open {
  scrollbar-gutter: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--vu-paper);
  color: var(--vu-ink);
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

button:disabled {
  cursor: default;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  background: var(--vu-white);
  color: var(--vu-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.eyebrow {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.collection-explorer {
  min-height: 100vh;
}

/* Artwork-led opening: one continuous canvas. */
.collection-intro { position: relative; isolation: isolate; display: grid; width: 100%; height: clamp(32rem, 72svh, 44rem); overflow: hidden; background: var(--vu-stage); color: white; }
.featured-artwork { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: var(--vu-stage); color: white; text-align: left; }
.featured-artwork::before {
  position: absolute;
  inset: -3rem;
  content: '';
  background-image: var(--featured-image);
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(.85);
  opacity: 0;
  transition: opacity 650ms ease;
  pointer-events: none;
}
.featured-artwork::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(90deg, rgb(10 17 20 / 68%) 0%, rgb(10 17 20 / 60%) 32%, rgb(10 17 20 / 8%) 70%), linear-gradient(0deg, rgb(10 17 20 / 72%), transparent 30%); pointer-events: none; }
.featured-placeholder { position: absolute; inset: 0; background: #202927; transition: opacity 650ms ease; }
.featured-artwork > img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: 85% center; opacity: 0; transition: opacity 650ms ease; }
.featured-artwork.is-ready::before,
.featured-artwork.is-ready > img { opacity: 1; }
.featured-artwork.is-ready .featured-placeholder { opacity: 0; }
.featured-caption { position: absolute; z-index: 2; right: clamp(1.5rem, 4vw, 4rem); bottom: 2rem; display: flex; align-items: end; gap: 1.5rem; max-width: 42%; }
.featured-caption strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 32ch; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.featured-caption small { display: block; margin-top: .4rem; color: rgb(255 255 255 / 80%); font-size: .76rem; }
.featured-view { display: flex; flex: none; align-items: center; gap: .6rem; font-size: .72rem; }
.featured-view svg, .intro-link svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.intro-panel { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem; width: min(65%, 44rem); padding: clamp(1.5rem, 5vw, 5rem); pointer-events: none; }
.intro-heading { animation: intro-in 650ms var(--vie-ease-out) both; }
.intro-heading .eyebrow { color: rgb(255 255 255 / 82%); font-size: .7rem; }
.intro-heading h1 { margin: 1.2rem 0 0; font-size: clamp(3.8rem, 7.8vw, 8rem); font-weight: 650; letter-spacing: -.065em; line-height: .9; }
.intro-copy { max-width: 29ch; margin: 1.4rem 0 0; color: rgb(255 255 255 / 85%); font-size: 1.05rem; line-height: 1.5; }
.intro-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.intro-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.8rem; min-height: 3.2rem; padding: 0 1.2rem; border: 1px solid white; border-radius: 8px; background: white; color: var(--vu-ink); font-size: .85rem; font-weight: 650; text-decoration: none; pointer-events: auto; transition: transform 160ms var(--vie-ease-out), background 160ms ease; }
.intro-link:hover { background: #e8eff3; transform: translateY(-2px); }
.intro-link:active { transform: scale(.98); }
.intro-link--docs { min-height: 2.5rem; padding: 0; border: 0; border-radius: 0; background: transparent; color: white; font-size: .8rem; font-weight: 500; }
.intro-link--docs:hover { background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.intro-link:focus-visible { outline-color: white; outline-offset: 5px; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .collection-intro { height: auto; grid-template-rows: auto clamp(15rem, 67vw, 23rem); }
  .intro-panel { grid-row: 1; width: 100%; padding: 1.8rem 1.5rem 1.3rem; gap: 1.1rem; }
  .intro-heading h1 { font-size: clamp(3.1rem, 13vw, 5.5rem); }
  .intro-heading .eyebrow { font-size: .63rem; }
  .intro-copy { margin-top: 1rem; font-size: .93rem; max-width: 28ch; }
  .intro-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; }
  .intro-link { gap: .8rem; padding: 0 .9rem; font-size: .76rem; min-height: 2.8rem; }
  .intro-link--docs { padding: 0; font-size: .73rem; gap: .35rem; }
  .featured-artwork { position: relative; inset: auto; grid-row: 2; }
  .featured-artwork::before { display: none; }
  .featured-artwork > img { object-position: center; }
  .featured-artwork::after { background: linear-gradient(0deg, rgb(10 17 20 / 88%), transparent 60%); }
  .featured-caption { right: 1.5rem; bottom: 1.3rem; left: 1.5rem; max-width: none; justify-content: space-between; }
  .featured-caption strong { font-size: .8rem; max-width: 28ch; }
  .featured-caption small { font-size: .7rem; }
  .featured-view { font-size: 0; }
}

/* Discovery */

.discovery-bar {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--vu-line);
  background: rgba(252, 251, 248, 0.96);
  backdrop-filter: blur(18px);
}

.discovery-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  min-height: 4.5rem;
  padding-left: clamp(1.25rem, 3.8vw, 4.5rem);
}

.search-control {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 54rem;
}

.search-control > svg {
  flex: none;
  width: 1.18rem;
  height: 1.18rem;
  margin-right: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.45;
}

.search-control input {
  width: 100%;
  height: 4.4rem;
  min-width: 0;
  padding: 0 1rem 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(0.94rem, 1.1vw, 1.08rem);
}

.search-control input::placeholder {
  color: #777872;
  opacity: 1;
}

.search-control kbd {
  flex: none;
  margin-right: 1.5rem;
  padding: 0.15rem 0.42rem;
  border: 1px solid var(--vu-line);
  background: transparent;
  color: #777872;
  font: 600 0.66rem/1.3 var(--vu-font);
}

.discovery-actions {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--vu-line);
}

.resource-tabs {
  display: flex;
  align-items: stretch;
  border-right: 1px solid var(--vu-line);
}

.resource-tabs[hidden] {
  display: none;
}

.resource-tabs button {
  position: relative;
  min-width: 7rem;
  padding: 0 1.2rem;
  background: transparent;
  color: var(--vu-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.resource-tabs button::after {
  position: absolute;
  right: 1.2rem;
  bottom: -1px;
  left: 1.2rem;
  height: 2px;
  content: '';
  background: var(--vu-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.resource-tabs button.active {
  color: var(--vu-ink);
}

.resource-tabs button.active::after {
  transform: scaleX(1);
}

.filter-toggle {
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
  min-width: clamp(8.5rem, 12vw, 11.5rem);
  padding: 0 clamp(1.2rem, 2.5vw, 2.5rem);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.filter-toggle:hover,
.filter-toggle.is-open {
  background: var(--vu-ink);
  color: var(--vu-white);
}

.filter-toggle small {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  background: var(--vu-blue);
  color: var(--vu-white);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.filter-toggle small[hidden] {
  display: none;
}

.filter-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.4;
  transition: transform 180ms ease;
}

.filter-toggle.is-open svg {
  transform: none;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(10rem, 1fr)) auto;
  gap: clamp(1.2rem, 3vw, 3.5rem);
  align-items: end;
  padding: 1.35rem clamp(1.25rem, 3.8vw, 4.5rem) 1.55rem;
  border-top: 1px solid var(--vu-soft-line);
  background: #efeee9;
  animation: filters-in 220ms ease both;
}

.filter-row[hidden] {
  display: none;
}

.facet-dropdown {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
}

.facet-dropdown__label {
  color: var(--vu-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facet-dropdown__trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--vu-line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 150ms ease, color 150ms ease;
}

.facet-dropdown__trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facet-dropdown__trigger svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.35;
  transition: transform 160ms ease;
}

.facet-dropdown__trigger:hover,
.facet-dropdown.is-open .facet-dropdown__trigger {
  border-bottom-color: var(--vu-ink);
}

.facet-dropdown.is-open .facet-dropdown__trigger svg {
  transform: rotate(180deg);
}

.facet-dropdown.has-value .facet-dropdown__label {
  color: var(--vu-blue);
}

.facet-popover-backdrop {
  position: fixed;
  z-index: 32;
  inset: 0;
  background: rgba(17, 17, 16, 0.36);
  opacity: 0;
  transition: opacity 160ms ease;
}

.facet-popover-backdrop.is-visible {
  opacity: 1;
}

.facet-popover-backdrop[hidden],
.facet-popover[hidden] {
  display: none;
}

.facet-popover {
  position: fixed;
  z-index: 35;
  max-height: min(19rem, calc(100svh - 24px));
  overflow: hidden;
  border: 1px solid rgba(17, 17, 16, 0.2);
  background: var(--vu-paper);
  box-shadow: 0 18px 42px rgba(17, 17, 16, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  transform-origin: top center;
  transition: opacity 150ms ease, transform 150ms ease;
}

.facet-popover[data-placement='above'] {
  transform: translateY(6px);
  transform-origin: bottom center;
}

.facet-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.facet-popover__header {
  display: none;
}

.facet-listbox {
  max-height: min(19rem, calc(100svh - 24px));
  padding: 0.35rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(17, 17, 16, 0.28) transparent;
  scrollbar-width: thin;
}

.facet-option {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  background: transparent;
  color: var(--vu-ink);
  font-size: 0.8rem;
  line-height: 1.25;
  text-align: left;
  transition: background 120ms ease;
}

.facet-option:hover,
.facet-option:focus-visible {
  outline: 0;
  background: #efeee9;
}

.facet-option:focus-visible {
  box-shadow: inset 2px 0 var(--vu-blue);
}

.facet-option[aria-selected='true'] {
  font-weight: 700;
}

.facet-option__mark {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
}

.facet-option[aria-selected='true'] .facet-option__mark {
  color: var(--vu-blue);
}

.facet-option[aria-selected='true'] .facet-option__mark::after {
  position: absolute;
  top: 0.02rem;
  left: 0.28rem;
  width: 0.25rem;
  height: 0.52rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: '';
  transform: rotate(45deg);
}

.facet-option__label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.facet-option__count {
  color: var(--vu-muted);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.clear-filters {
  min-height: 2.35rem;
  padding: 0 0 0.1rem;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--vu-blue);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes filters-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Artwork wall */

.collection-main {
  width: min(100%, 112rem);
  margin: 0 auto;
  padding: clamp(2rem, 3.4vw, 3.8rem) clamp(1.25rem, 3.8vw, 4.5rem) 8rem;
  outline: 0;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
  color: var(--vu-muted);
  font-size: 0.73rem;
}

.gallery-meta p {
  margin: 0;
}

.preview-note {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.art-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  grid-auto-rows: 4px;
  column-gap: clamp(1.15rem, 2.25vw, 2.7rem);
  row-gap: 8px;
  align-items: start;
}

.art-wall.skeleton-mode {
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: 3rem clamp(1.15rem, 2.25vw, 2.7rem);
}

.art-card {
  min-width: 0;
  padding-bottom: clamp(2.8rem, 4.2vw, 4.8rem);
  animation: card-in 430ms cubic-bezier(0.22, 0.82, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes card-in {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

.card-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--vie-radius-control, 12px);
  background: #e6e5e0;
  text-align: left;
  transition: transform 140ms ease-out;
}

.card-open:active {
  transform: scale(0.992);
}

.image-frame,
.card-image {
  position: relative;
  overflow: hidden;
  background: #e6e5e0;
}

.card-image {
  aspect-ratio: var(--card-ratio, 1.35);
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(17, 17, 16, 0.15);
}

.image-placeholder .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.image-frame img,
.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.002);
  transition: opacity 180ms ease,
    transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.image-frame img.is-loaded,
.card-image img.is-loaded {
  opacity: 1;
}

.card-open:hover img,
.card-open:focus-visible img {
  transform: scale(1.022);
}

.view-cue {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--vu-white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.view-cue .icon {
  width: 0.85rem;
}

.card-open:hover .view-cue,
.card-open:focus-visible .view-cue {
  opacity: 1;
  transform: translateY(0);
}

.format-count {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.3rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(17, 17, 16, 0.22);
  border-radius: 999px;
  color: var(--vu-white);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
}

.card-caption {
  padding-top: 0.9rem;
}

.card-caption h2 {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.card-caption p,
.card-caption > span {
  overflow: hidden;
  margin: 0.36rem 0 0;
  color: #555650;
  font-size: 0.78rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-caption > span {
  display: block;
  margin-top: 0.2rem;
  color: #85857f;
  font-size: 0.7rem;
}

.collection-cover {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  aspect-ratio: var(--card-ratio, 1.35);
}

.collection-cover img {
  position: relative;
  inset: auto;
}

.collection-cover img:first-of-type {
  grid-row: 1 / 3;
}

.collection-cover.cover-count-1 {
  display: block;
}

.collection-cover.cover-count-1 img:first-of-type {
  width: 100%;
  height: 100%;
}

.card-skeleton {
  padding-bottom: 0;
  animation: none;
}

.card-skeleton .card-image {
  aspect-ratio: var(--skeleton-ratio);
  background: linear-gradient(100deg, #e4e3de 15%, #eeede9 31%, #e4e3de 47%);
  background-size: 220% 100%;
  animation: skeleton-shift 1.4s ease-in-out infinite;
}

.card-skeleton > span,
.card-skeleton > small {
  display: block;
  width: 72%;
  height: 9px;
  margin-top: 0.9rem;
  background: #e4e3de;
}

.card-skeleton > small {
  width: 45%;
  height: 7px;
  margin-top: 0.45rem;
}

@keyframes skeleton-shift {
  to {
    background-position-x: -220%;
  }
}

.gallery-sentinel {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  height: 72px;
  margin-top: 1.2rem;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.gallery-sentinel.loading {
  opacity: 1;
  transform: translateY(0);
}

.gallery-loader-glass {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: min(27rem, calc(100% - 2rem));
  min-height: 4.15rem;
  padding: 0.8rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 16, 0.14);
  background: rgba(239, 238, 233, 0.72);
  box-shadow: 0 15px 42px rgba(17, 17, 16, 0.1);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transform: translateY(-0.25rem);
}

.gallery-loader-glass::after {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -42%;
  width: 34%;
  content: '';
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.72),
    transparent
  );
  opacity: 0.7;
  transform: skewX(-12deg);
  animation: gallery-glass-sheen 1.65s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.gallery-loader-echoes,
.gallery-loader-copy {
  position: relative;
  z-index: 1;
}

.gallery-loader-echoes {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  width: 3.2rem;
  height: 2rem;
}

.gallery-loader-echoes i {
  display: block;
  border: 1px solid rgba(17, 17, 16, 0.08);
  background: rgba(17, 17, 16, 0.11);
  filter: blur(0.35px);
  animation: gallery-echo-breathe 900ms ease-in-out infinite alternate;
}

.gallery-loader-echoes i:nth-child(1) {
  width: 1rem;
  height: 0.68rem;
}
.gallery-loader-echoes i:nth-child(2) {
  width: 0.65rem;
  height: 1.16rem;
  animation-delay: 140ms;
}
.gallery-loader-echoes i:nth-child(3) {
  width: 0.78rem;
  height: 0.78rem;
  animation-delay: 280ms;
}

.gallery-loader-copy {
  color: rgba(17, 17, 16, 0.78);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .gallery-loader-glass {
    background: rgba(239, 238, 233, 0.96);
  }
}

@keyframes gallery-glass-sheen {
  0% {
    left: -42%;
  }
  62%,
  100% {
    left: 116%;
  }
}

@keyframes gallery-echo-breathe {
  to {
    opacity: 0.38;
    filter: blur(0.9px);
  }
}

@media (max-width: 560px) {
  .gallery-loader-glass {
    width: calc(100% - 1rem);
    min-height: 3.8rem;
    padding: 0.7rem 0.8rem;
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
    transform: translateY(-0.15rem);
  }

  .gallery-loader-echoes {
    transform: scale(0.9);
    transform-origin: left center;
  }
}

.gallery-empty,
.gallery-error {
  grid-column: 1 / -1;
  max-width: 38rem;
  margin: clamp(3rem, 10vh, 8rem) auto;
  text-align: center;
}

.gallery-empty h2,
.gallery-error h2 {
  margin: 0.75rem 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.gallery-empty > p:not(.eyebrow),
.gallery-error > p:not(.eyebrow) {
  color: var(--vu-muted);
  line-height: 1.5;
}

.gallery-empty button,
.gallery-error button {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: var(--vu-ink);
  color: var(--vu-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Artwork detail */

.detail-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(8, 8, 8, 0.55);
  animation: backdrop-in 220ms ease both;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

.artwork-detail {
  position: fixed;
  z-index: 45;
  inset: 0;
  width: 100vw;
  background: var(--vu-paper);
  transform: translateY(0);
  transition: transform 480ms cubic-bezier(0.22, 0.8, 0.24, 1);
}

.artwork-detail[aria-hidden='true'] {
  pointer-events: none;
  transform: translateY(103%);
}

.detail-topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 0.7rem 1.25rem 0.75rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgb(17 17 16 / 76%);
  color: var(--vu-white);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.detail-sequence {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.detail-sequence__button {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: calc(100% - clamp(7rem, 12vw, 13rem));
  height: calc(100% - clamp(0.7rem, 2vw, 1.8rem));
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--vu-white);
  opacity: 0.72;
  filter: saturate(0.82) brightness(0.86);
  pointer-events: auto;
  transition: filter 220ms ease, left 240ms ease, opacity 220ms ease,
    transform 240ms ease;
}

.detail-sequence__button--previous {
  left: 0;
  transform: translate(calc(-95% + clamp(2rem, 3vw, 3rem)), -50%)
    scale(0.9);
}

.detail-sequence__button--next {
  left: 100%;
  transform: translate(calc(-5% - clamp(2rem, 3vw, 3rem)), -50%)
    scale(0.9);
}

.detail-sequence__button:hover:not(:disabled),
.detail-sequence__button:focus-visible {
  opacity: 0.96;
  filter: saturate(1) brightness(0.96);
}

.detail-sequence__button--previous:hover:not(:disabled),
.detail-sequence__button--previous:focus-visible {
  transform: translate(calc(-95% + 10rem), -50%)
    scale(0.9);
}

.detail-sequence__button--next:hover:not(:disabled),
.detail-sequence__button--next:focus-visible {
  transform: translate(calc(-5% - 10rem), -50%)
    scale(0.9);
}

.detail-sequence__button:disabled {
  opacity: 0;
  cursor: default;
}

.detail-sequence__button[hidden] {
  display: none;
}

.detail-sequence__image,
.detail-sequence__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-sequence__image img {
  object-fit: contain;
  transition: object-position 240ms ease;
}

.detail-sequence__button--previous .detail-sequence__image img {
  object-position: right center;
}

.detail-sequence__button--next .detail-sequence__image img {
  object-position: left center;
}

.detail-sequence__cue {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: rgba(17, 17, 16, 0.58);
  opacity: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: opacity 140ms ease;
}

.detail-sequence__button--previous .detail-sequence__cue {
  right: 0.35rem;
}

.detail-sequence__button--next .detail-sequence__cue {
  left: 0.35rem;
}

.detail-sequence__cue svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.detail-sequence__button--previous .detail-sequence__cue svg {
  transform: rotate(180deg);
}

.detail-sequence__button[data-promoting] {
  z-index: 4;
  left: 50%;
  opacity: 1;
  filter: none;
  transform: translate(-50%, -50%) scale(1);
}

.detail-sequence__button[data-promoting] .detail-sequence__image img {
  object-position: center;
}

.detail-sequence__button[data-promoting] .detail-sequence__cue {
  opacity: 0;
}

.detail-topbar__leading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.detail-topbar__eyebrow {
  margin: 0;
  padding-left: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: transparent;
  color: var(--vu-white);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  outline: none;
  transition: background 160ms ease, color 160ms ease;
}

.detail-back:hover {
  background: rgba(255, 255, 255, 0.13);
  color: var(--vu-white);
}

.detail-back:focus,
.detail-back:focus-visible {
  outline: none;
}

.detail-back svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.detail-back span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: transparent;
  color: var(--vu-white);
  transition: background 160ms ease;
  justify-self: end;
}

.detail-close:hover {
  background: rgba(255, 255, 255, 0.13);
}

.detail-close svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.detail-content {
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.detail-hero {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  padding-top: 4.75rem;
  background: var(--vu-stage);
  color: var(--vu-white);
}

.detail-art-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  min-height: min(82svh, 64rem);
  padding: clamp(0.35rem, 1vw, 0.9rem);
  background: var(--vu-stage);
}

.detail-art {
  position: relative;
  z-index: 2;
  width: calc(100% - clamp(7rem, 12vw, 13rem));
  height: 100%;
  min-height: min(80svh, 62rem);
  background: transparent;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.detail-art.is-yielding {
  opacity: 0;
  transform: scale(0.94);
}

.detail-art img {
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.34));
}

.detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.45fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 5rem);
  min-width: 0;
  padding: 1.35rem clamp(1.25rem, 4vw, 4.5rem) 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #20201f;
}

.detail-heading .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.detail-heading h2,
.set-detail-heading h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.detail-heading h2 {
  width: min(100%, 60rem);
  max-width: 100%;
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 3vw, 3.8rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.detail-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: right;
}

.format-section,
.detail-story,
.detail-record-grid,
.set-detail-heading,
.set-works {
  padding: clamp(3rem, 5vw, 5.8rem) clamp(1.5rem, 5vw, 5.8rem);
}

.format-section {
  border-bottom: 1px solid var(--vu-line);
  background: var(--vu-paper);
}

.detail-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2rem;
}

.detail-section-heading h3 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.detail-section-heading > p {
  margin: 0;
  color: var(--vu-muted);
  font-size: 0.7rem;
}

.format-rail {
  display: grid;
  grid-auto-columns: minmax(12rem, 0.28fr);
  grid-auto-flow: column;
  gap: clamp(1rem, 2vw, 2rem);
  overflow-x: auto;
  padding: 0 0 0.8rem;
  scrollbar-width: thin;
}

.format-view {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--vu-line);
  border-bottom: 2px solid transparent;
  background: transparent;
  text-align: left;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.format-view:hover {
  border-bottom-color: rgba(17, 17, 16, 0.28);
}

.format-view.active {
  border-bottom-color: var(--vu-ink);
}

.format-view.is-loading {
  opacity: 0.5;
}

.format-image {
  display: grid;
  place-items: center;
  height: 4rem;
  padding: 0.25rem;
  background: #e9e8e3;
}

.format-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 3.5rem;
  aspect-ratio: var(--format-ratio);
  object-fit: contain;
}

.format-view strong,
.format-view small,
.format-view em {
  display: block;
}

.format-view strong {
  font-size: 0.82rem;
}

.format-view small {
  margin-top: 0.25rem;
  color: var(--vu-muted);
  font-size: 0.68rem;
}

.format-view em {
  margin-top: 0.18rem;
  color: var(--vu-muted);
  font-size: 0.62rem;
  font-style: normal;
}

.detail-story {
  display: grid;
  grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 9rem);
  border-bottom: 1px solid var(--vu-line);
  background: var(--vu-canvas);
}

.story-copy {
  max-width: 45em;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.66;
}

.typewriter-copy.is-prepared .typewriter-token {
  opacity: 0;
  transition: opacity 45ms linear;
}

.typewriter-copy.is-prepared .typewriter-token.is-revealed {
  opacity: 1;
}

.typewriter-copy.is-prepared
  .preview-redaction.typewriter-token:not(.is-revealed) {
  pointer-events: none;
}

.typewriter-word {
  white-space: nowrap;
}

.typewriter-caret {
  position: relative;
  display: inline;
}

.typewriter-caret::after {
  position: absolute;
  bottom: 0.08em;
  left: 0.08em;
  width: 1px;
  height: 1.08em;
  content: '';
  background: var(--vu-blue);
  animation: typewriter-caret-blink 680ms steps(1, end) infinite;
}

@keyframes typewriter-caret-blink {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  100% {
    opacity: 0;
  }
}

.preview-redaction {
  position: relative;
  display: inline;
  outline: none;
}

.preview-redaction-visual {
  display: inline;
}

.preview-redaction-mask {
  display: inline;
  color: rgba(17, 17, 16, 0.44);
  filter: blur(1.9px);
  font-size: 0.86em;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
  word-break: break-word;
  pointer-events: none;
  user-select: none;
}

.preview-redaction::after {
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: min(19rem, 78vw);
  padding: 0.65rem 0.75rem;
  content: attr(data-preview-tooltip);
  background: var(--vu-ink);
  color: var(--vu-white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.preview-redaction:hover::after,
.preview-redaction:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.detail-record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--vu-paper);
}

.detail-record-grid h3,
.set-works h3 {
  margin: 0 0 1.6rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-record-grid dl,
.set-detail-heading dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--vu-line);
}

.detail-fact {
  padding: 0.9rem 0.7rem 0.9rem 0;
  border-bottom: 1px solid var(--vu-soft-line);
}

.detail-fact dt {
  color: var(--vu-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.detail-fact dd {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.38;
}

.detail-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.detail-terms span {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid var(--vu-line);
  font-size: 0.72rem;
}

.detail-terms .more-terms {
  color: var(--vu-blue);
}

.credit-line {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vu-line);
}

.credit-line span,
.credit-line small {
  color: var(--vu-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credit-line p {
  margin: 0.55rem 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Curated sets */

.set-detail-heading {
  padding-top: clamp(7rem, 12vw, 10rem);
  background: var(--vu-stage);
  color: var(--vu-white);
}

.set-detail-heading .story-copy {
  margin: 2rem 0 3.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.set-detail-heading dl {
  max-width: 42rem;
  border-top-color: rgba(255, 255, 255, 0.24);
}

.set-detail-heading .detail-fact {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.set-detail-heading .detail-fact dt,
.set-detail-heading .detail-fact dd {
  color: inherit;
}

.set-works {
  border-top: 1px solid var(--vu-line);
}

.set-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem 1.5rem;
}

.set-work-grid button {
  min-width: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.set-work-image {
  aspect-ratio: 1.25;
}

.set-work-grid button > span:last-child {
  display: block;
  padding-top: 0.65rem;
}

.set-work-grid strong,
.set-work-grid small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.set-work-grid strong {
  font-size: 0.82rem;
}

.set-work-grid small {
  margin-top: 0.25rem;
  color: var(--vu-muted);
  font-size: 0.68rem;
}

.detail-loading,
.detail-error {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 3rem;
  text-align: center;
}

.detail-loading > div {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--vu-line);
  border-top-color: var(--vu-ink);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.detail-loading p,
.detail-error > p:last-child {
  margin-top: 1rem;
  color: var(--vu-muted);
  font-size: 0.78rem;
}

.detail-error h2 {
  max-width: 13ch;
  margin: 0.8rem 0;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.045em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
.preview-redaction:focus-visible {
  outline: 2px solid var(--vu-blue);
  outline-offset: 3px;
}

@media (min-width: 1760px) {
  .art-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {


  .art-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
}

@media (max-width: 900px) {
  .detail-hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100svh;
    padding-top: 4.75rem;
  }

  .detail-art-stage {
    min-height: 72svh;
    padding: 0.5rem;
  }

  .detail-art {
    min-height: 70svh;
  }

  .detail-heading {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.42fr);
    padding: 1.25rem clamp(1.5rem, 5vw, 3rem) 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .detail-heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
}

@media (max-width: 700px) {











  .discovery-primary {
    min-height: 3.7rem;
    padding-left: 1rem;
  }

  .search-control input {
    height: 3.65rem;
    font-size: 0.9rem;
  }

  .search-control kbd {
    display: none;
  }

  .discovery-actions {
    flex: none;
  }

  .resource-tabs button {
    min-width: auto;
    padding: 0 0.7rem;
    font-size: 0.62rem;
  }

  .filter-toggle {
    min-width: auto;
    padding: 0 1rem;
  }

  .filter-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .filter-toggle small {
    position: absolute;
    top: 0.6rem;
    right: 0.5rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.54rem;
  }

  .filter-toggle svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem 1rem 1.4rem;
  }

  .clear-filters {
    justify-self: start;
  }

  .collection-main {
    padding: 1.8rem 1rem 6rem;
  }

  .gallery-meta {
    margin-bottom: 1.5rem;
  }

  .preview-note {
    display: none;
  }

  .art-wall,
  .art-wall.skeleton-mode {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .art-card {
    padding-bottom: 2.7rem;
  }

  .card-caption {
    padding-top: 0.8rem;
  }

  .card-caption h2 {
    font-size: 1.05rem;
  }

  .card-caption p {
    font-size: 0.78rem;
  }

  .card-caption > span {
    font-size: 0.72rem;
  }

  .view-cue {
    display: none;
  }

  .format-count {
    top: 0.65rem;
    right: 0.65rem;
  }

  .detail-topbar {
    min-height: 4.4rem;
    padding: 0.55rem 0.85rem 0.6rem 0.55rem;
  }

  .detail-topbar__eyebrow {
    padding-left: 0.4rem;
    letter-spacing: 0.12em;
  }

  .detail-back {
    gap: 0.4rem;
    padding: 0.3rem 0.5rem 0.3rem 0.3rem;
  }

  .detail-sequence__button {
    width: calc(100% - 5.5rem);
    height: calc(100% - 2rem);
  }

  .detail-sequence__button--previous {
    transform: translate(calc(-95% + clamp(1.75rem, 8vw, 2.25rem)), -50%)
      scale(0.9);
  }

  .detail-sequence__button--next {
    transform: translate(calc(-5% - clamp(1.75rem, 8vw, 2.25rem)), -50%)
      scale(0.9);
  }

  .detail-sequence__button--previous:hover:not(:disabled),
  .detail-sequence__button--previous:focus-visible {
    transform: translate(calc(-95% + 6rem), -50%)
      scale(0.9);
  }

  .detail-sequence__button--next:hover:not(:disabled),
  .detail-sequence__button--next:focus-visible {
    transform: translate(calc(-5% - 6rem), -50%)
      scale(0.9);
  }

  .detail-sequence__cue {
    width: 2.2rem;
    height: 2.2rem;
  }

  .detail-sequence__button--previous .detail-sequence__cue {
    right: 0.15rem;
  }

  .detail-sequence__button--next .detail-sequence__cue {
    left: 0.15rem;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    padding-top: 4.4rem;
  }

  .detail-art-stage {
    min-height: 0;
    height: clamp(18rem, 52svh, 34rem);
    padding: 1rem .5rem;
  }

  .detail-art {
    width: calc(100% - 2rem);
    min-height: 0;
  }

  .detail-heading {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.2rem 1.25rem 1.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .detail-heading > p:last-child {
    text-align: left;
  }

  .detail-heading h2,
  .set-detail-heading h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .format-section,
  .detail-story,
  .detail-record-grid,
  .set-detail-heading,
  .set-works {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .detail-section-heading {
    align-items: start;
  }

  .format-rail {
    grid-auto-columns: minmax(11rem, 76vw);
  }

  .detail-story,
  .detail-record-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-copy {
    font-size: 1rem;
  }

  .detail-record-grid dl,
  .set-detail-heading dl {
    grid-template-columns: 1fr;
  }

  .set-work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {






  .gallery-meta {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .typewriter-copy.is-prepared .typewriter-token {
    opacity: 1 !important;
  }

  .typewriter-caret {
    display: none !important;
  }

  .gallery-loader-glass::after {
    display: none !important;
  }

  .gallery-loader-echoes i {
    animation: none !important;
  }

  .intro-link:hover svg,
  .intro-link:focus-visible svg {
    transform: none;
  }
}

/* Collection workspace: index rail + artwork wall */

.collection-workspace {
  display: grid;
  grid-template-columns: clamp(15rem, 20vw, 19rem) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--vu-paper);
}

.collection-sidebar {
  position: sticky;
  z-index: 25;
  top: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  height: 100svh;
  padding: 2.2rem clamp(1.25rem, 2vw, 2rem) 1.6rem;
  overflow: auto;
  border-right: 1px solid var(--vu-line);
  background: var(--vie-surface, #f7f7f3);
  scrollbar-width: thin;
}

.sidebar-heading {
  padding-bottom: 1.5rem;
}

.sidebar-heading .eyebrow {
  color: rgba(17, 17, 16, 0.58);
}

.sidebar-heading h2 {
  margin: 0.85rem 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.sidebar-heading > p:last-child {
  max-width: 24ch;
  margin: 1.45rem 0 0;
  color: #5f605b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.collection-sidebar .discovery-bar {
  position: static;
  width: 100%;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.collection-sidebar .discovery-primary {
  display: block;
  min-height: 0;
  padding: 0;
}

.collection-sidebar .search-control {
  width: 100%;
  max-width: none;
  border-bottom: 1px solid var(--vu-line);
}

.collection-sidebar .search-control input {
  height: 3.6rem;
  padding-right: 0.5rem;
  font-size: 0.92rem;
}

.collection-sidebar .search-control kbd {
  margin-right: 0;
}

.collection-sidebar .discovery-actions {
  display: block;
  border: 0;
}

.collection-sidebar .resource-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.4rem;
  border: 1px solid var(--vu-line);
}

.collection-sidebar .resource-tabs[hidden] {
  display: none;
}

.collection-sidebar .resource-tabs button {
  min-width: 0;
  min-height: 2.8rem;
  padding: 0 0.7rem;
}

.collection-sidebar .resource-tabs button + button {
  border-left: 1px solid var(--vu-line);
}

.collection-sidebar .resource-tabs button::after {
  right: 0.7rem;
  left: 0.7rem;
}

.collection-sidebar .filter-toggle {
  display: none;
}

.collection-sidebar .filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.55rem;
  padding: 1.8rem 0 0;
  border-top: 0;
  background: transparent;
  animation: filters-in 200ms ease both;
}

.collection-sidebar .filter-row[hidden] {
  display: none;
}

.collection-sidebar .facet-dropdown {
  gap: 0.45rem;
}

.collection-sidebar .facet-dropdown__trigger {
  height: 2.5rem;
  font-size: 0.91rem;
}

.collection-sidebar .clear-filters {
  justify-self: start;
  min-height: 2rem;
  margin-top: 0.15rem;
}

.sidebar-note {
  margin: auto 0 0;
  padding-top: 2.5rem;
  color: #777872;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.collection-workspace .collection-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 3.6vw, 4rem) clamp(1.5rem, 3.5vw, 4rem) 8rem;
}

.collection-workspace .gallery-meta {
  margin-bottom: clamp(1.8rem, 3.5vw, 3.3rem);
}

.collection-workspace .art-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1840px) {
  .collection-workspace .art-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .collection-workspace {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .collection-workspace .art-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .collection-workspace {
    display: block;
  }

  .collection-sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    max-height: 100svh;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--vu-line);
    background: var(--vie-frost-heavy, rgb(247 247 243 / 90%));
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
  }

  .sidebar-heading {
    padding-bottom: 0.85rem;
  }

  .sidebar-heading .eyebrow,
  .sidebar-heading > p:last-child,
  .sidebar-note {
    display: none;
  }

  .sidebar-heading h2 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1;
  }

  .collection-sidebar .discovery-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .collection-sidebar .search-control input {
    height: 3.25rem;
  }

  .collection-sidebar .search-control kbd {
    display: none;
  }

  .collection-sidebar .discovery-actions {
    display: flex;
    align-items: stretch;
    border-left: 1px solid var(--vu-line);
  }

  .collection-sidebar .resource-tabs {
    margin: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .collection-sidebar .filter-toggle {
    position: relative;
    display: flex;
    min-width: 3.5rem;
    padding: 0 1rem;
  }

  .collection-sidebar .filter-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .collection-sidebar .filter-toggle small {
    position: absolute;
    top: 0.4rem;
    right: 0.35rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.52rem;
  }

  .collection-sidebar .filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.2rem;
  }

  .collection-sidebar .clear-filters {
    grid-column: 1 / -1;
  }

  .collection-workspace .collection-main {
    padding: 1.8rem 1rem 6rem;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .collection-sidebar,
  .discovery-bar,
  .detail-topbar,
  .format-count,
  .facet-popover-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .collection-sidebar,
  .discovery-bar {
    background: var(--vu-paper);
  }

  .detail-topbar {
    background: #171716;
  }
}

@media (prefers-contrast: more) {
  .intro-link,
  .card-open,
  .facet-dropdown__trigger,
  .facet-popover,
  .detail-topbar {
    border-color: currentColor;
  }

  .collection-sidebar,
  .discovery-bar {
    background: var(--vu-paper);
  }
}

@media (max-width: 560px) {
  html.filter-menu-is-open,
  html.filter-menu-is-open body {
    overflow: hidden;
  }

  .facet-popover-backdrop {
    display: block;
  }

  .facet-popover.is-mobile {
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0 !important;
    width: 100vw !important;
    max-height: min(70svh, 34rem);
    border-width: 1px 0 0;
    box-shadow: 0 -18px 48px rgba(17, 17, 16, 0.2);
    transform: translateY(18px);
    transform-origin: bottom center;
  }

  .facet-popover.is-mobile.is-visible {
    transform: translateY(0);
  }

  .facet-popover__header {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 4.8rem;
    padding: 0.9rem 1rem 0.85rem;
    border-bottom: 1px solid var(--vu-line);
    background: var(--vu-paper);
  }

  .facet-popover__header .eyebrow {
    margin-bottom: 0.28rem;
    color: var(--vu-muted);
    font-size: 0.55rem;
  }

  .facet-popover__header h2 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.035em;
  }

  .facet-popover__close {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid var(--vu-line);
    background: transparent;
  }

  .facet-popover__close svg {
    width: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
  }

  .facet-listbox {
    max-height: calc(min(70svh, 34rem) - 4.8rem);
    padding: 0.45rem 0 0.7rem;
  }

  .facet-option {
    min-height: 3rem;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.86rem;
  }

  .collection-sidebar .filter-row {
    grid-template-columns: 1fr;
  }

  .collection-sidebar .clear-filters {
    grid-column: auto;
  }

  .collection-workspace .art-wall,
  .collection-workspace .art-wall.skeleton-mode {
    grid-template-columns: 1fr;
  }

  .collection-workspace .preview-note {
    display: none;
  }
}

/* Compact browse controls keep the artwork wall in view. */
.collection-sidebar .search-control { border: 1px solid var(--vu-line); border-radius: 8px; padding: 0 .7rem; background: var(--vu-paper); }
.collection-sidebar .search-control input { min-width: 0; }
.sidebar-heading > p:last-child { font-size: .85rem; margin-top: 1rem; }
.collection-workspace .gallery-meta { margin-bottom: 1.5rem; }
.collection-workspace .art-card { padding-bottom: 1.7rem; }
.collection-workspace .card-open { border-radius: 5px; }
.detail-back:focus-visible, .detail-close:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width: 840px) {
  .sidebar-heading h2 { font-size: 1.5rem; }
  .collection-sidebar .discovery-primary { gap: .6rem; }
  .collection-sidebar .discovery-actions { border: 0; }
  .collection-sidebar .filter-toggle { border: 1px solid var(--vu-line); border-radius: 8px; }
  .collection-workspace .collection-main { padding-top: 1.2rem; }
}
