.document-index, .j-section {
  --gutter: clamp(16px,1.39vw,38px);
  --library-card-offset: clamp(28px,2.4vw,52px);
}
.library-intro { text-align: center; padding: clamp(94px,6.4vw,148px) 0 clamp(48px,4.8vw,108px); }
.library-mark { width: clamp(134px,12vw,248px); aspect-ratio: 7 / 8; margin: 0 auto; filter: var(--document-metal, grayscale(1) sepia(.18) brightness(.76) contrast(1.18)); }
.library-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.library-intro p { margin: 20px auto 26px; font: 400 clamp(16px,1.05vw,20px)/1.35 var(--v2-ui); letter-spacing: -.02em; text-wrap: balance; }
.finder { position: relative; display: flex; width: min(100%,clamp(450px,34vw,720px)); margin: 0 auto; }
.finder input {
  width: 100%; min-height: 46px; padding: 11px 45px 11px 14px; font: inherit; color: inherit;
  background: transparent; border: 1px solid #bdbdb9; border-radius: 2px;
}
.finder input::placeholder { color: #555550; }
.finder span { position: absolute; top: 50%; right: 17px; width: 14px; height: 14px; border: 1.6px solid; border-radius: 50%; transform: translateY(-60%); pointer-events: none; }
.finder span::after { content: ""; position: absolute; top: 100%; left: 82%; width: 6px; height: 2px; background: currentColor; transform: rotate(45deg); }
.filters { display: flex; flex-wrap: wrap; gap: clamp(6px,.5vw,12px); padding-bottom: clamp(18px,1.25vw,28px); border-bottom: 1px dashed #595956; }
.filters button {
  --roll-rest: var(--leaf-white); --roll-ink: var(--ink); --roll-hover-ink: var(--roll-ink);
  border: 0; border-radius: 0; background: var(--roll-rest); color: var(--roll-ink); cursor: pointer;
  font: inherit; font-size: clamp(12px,.81vw,16px); text-transform: uppercase;
  min-height: 44px; padding: 10px 14px;
}
.filters button[aria-pressed="true"] { --roll-rest: var(--ink); --roll-ink: var(--leaf-white); }
.filters .v2-roll::before { content: none; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; white-space: nowrap; min-height: 44px; }
}
@media (max-width: 600px) {
  .library-intro { padding: 96px 0 44px; }
  .library-intro p { margin: 16px 0 20px; }
  .filters { gap: 5px; }
  .filters button { padding: 8px 10px; }
  .document-index, .j-section { --library-card-offset: 20px; }
}
