.collection-page { margin-block: clamp(34px, 6vw, 84px) clamp(76px, 11vw, 166px); }
.collection-title { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); margin: 0 0 clamp(28px, 6vw, 88px); }
.collection-title::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.collection-title[lang="en"] { font-size: clamp(2.7rem, 7vw, 6.6rem); font-weight: 400; font-style: italic; line-height: 1.1; }
.collection-filters { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(1rem, 3vw, 3rem); margin-bottom: clamp(36px, 7vw, 96px); }
.collection-filters a { padding: .45rem 0; border-bottom: 1px solid transparent; font-size: .95rem; letter-spacing: .06em; }
.collection-filters a:hover, .collection-filters a[aria-current="page"] { border-color: currentColor; }
.work-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 5vw, 68px) clamp(16px, 4vw, 60px); }
.work-index figure { margin: 0; }
.work-index img { aspect-ratio: 3 / 2; object-fit: cover; background: #efeeeb; }
.work-index figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem .65rem; padding-top: .8rem; }
.work-index figcaption a:hover, .work-index figcaption a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.work-index figcaption span + span, .work-index figcaption a + span { color: var(--muted); font-size: .81rem; }
.collection-page .artwork-grid { columns: 3; column-gap: clamp(16px, 3.5vw, 54px); padding: clamp(16px, 4vw, 60px) clamp(8px, 4vw, 58px); }
.collection-page .artwork-grid .image-link { width: fit-content; max-width: 100%; margin: 0 auto clamp(16px, 3.5vw, 54px); break-inside: avoid; scroll-margin-top: 1.5rem; }
.artwork-grid img { background: transparent; }
.collection-page .artwork-grid img { width: auto; max-width: 100%; }
.artwork-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: clamp(22px, 4vw, 64px) clamp(12px, 2.5vw, 40px); }
.artwork-feature-intro { grid-area: 1 / 2 / 2 / span 3; padding-top: clamp(.5rem, 3.8vw, 4rem); }
.artwork-feature-intro h2 { margin-bottom: 0; }
.artwork-grid--scattered { display: contents; }
.artwork-grid--scattered img { width: 100%; max-width: none; max-height: none; }
.artwork-grid--scattered > .project-image:nth-child(1) { grid-area: 1 / 5 / 2 / -1; }
.artwork-grid--scattered > .project-image:nth-child(2) { grid-area: 2 / 6 / 3 / span 3; }
.artwork-grid--scattered > .project-image:nth-child(3) { grid-area: 2 / 1 / 3 / span 4; margin-top: clamp(36px, 8vw, 128px); }
.artwork-grid--scattered > .project-image:nth-child(4) { grid-area: 2 / 10 / 3 / -1; margin-top: clamp(20px, 4vw, 72px); }
.artwork-dialog { max-width: min(94vw, 1100px); max-height: 92vh; max-height: 92dvh; padding: 3.25rem clamp(14px, 3vw, 42px) clamp(14px, 3vw, 42px); border: 0; background: var(--paper); color: var(--ink); }
.artwork-dialog::backdrop { background: rgb(35 34 30 / 62%); }
.artwork-dialog form { position: absolute; top: 4px; right: 6px; margin: 0; }
.artwork-dialog button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: 400 1.7rem / 1 var(--latin), serif; cursor: pointer; }
.artwork-dialog img { width: auto; max-width: 100%; max-height: calc(92vh - 5.9rem); max-height: calc(92dvh - 5.9rem); object-fit: contain; margin-inline: auto; }
@media (max-width: 680px) {
  .work-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-page .artwork-grid { columns: 2; }
  .artwork-feature { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .artwork-feature-intro { grid-area: 1 / 1 / 2 / -1; }
  .artwork-grid--scattered > .project-image:nth-child(1) { grid-area: 2 / 2 / 3 / -1; }
  .artwork-grid--scattered > .project-image:nth-child(2) { grid-area: 3 / 6 / 4 / span 3; }
  .artwork-grid--scattered > .project-image:nth-child(3) { grid-area: 3 / 1 / 4 / span 4; }
  .artwork-grid--scattered > .project-image:nth-child(4) { grid-area: 4 / 4 / 5 / -1; margin-top: 0; }
}
