/* The catalogue stays on the artist website and uses the central HELION library. */
html:root .sa-library-page .document-page {
  width: min(100% - 2 * clamp(20px, 3vw, 72px), 1760px);
  max-width: 1760px;
  margin-inline: auto;
  padding: 44px 0 36px;
  background: var(--ink);
  color: var(--cream);
}
.sa-library-page .document-page > :is(.wp-block-post-title, .wp-block-post-content) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.sa-library-page .document-page>.wp-block-post-title{font-size:clamp(38px,4.4vw,64px);margin-bottom:20px}
.sa-library-page .wp-block-post-content>.sa-music-library{width:100%;max-width:none;margin-inline:0}
.wp-block-button__link .sa-library-button-label{font:inherit;letter-spacing:inherit;line-height:inherit}
.sa-library-intro{font-size:14px;line-height:1.8;color:var(--muted);max-width:760px;margin:0 0 28px!important}
.sa-library-frame-wrap{overflow:hidden;border:1px solid var(--line);background:#151a17;isolation:isolate}
.sa-library-frame{display:block;width:100%;height:82vh;height:82dvh;min-height:620px;max-height:1100px;border:0;background:#151a17}
.sa-library-fallback{font-size:12px;color:var(--muted);margin:18px 0 0!important}
.sa-library-fallback a{display:inline-flex;align-items:center;gap:12px;text-decoration:underline;text-underline-offset:4px}
.sa-library-page .document-page a:hover{color:var(--sage)}
@media(max-width:760px){
 html:root .sa-library-page .document-page{width:calc(100% - 24px);padding-top:28px}
 .sa-library-intro{font-size:12px;margin-bottom:20px!important}
 .sa-library-frame{height:calc(100vh - var(--sa-header-height) - 20px);height:calc(100dvh - var(--sa-header-height) - 20px);min-height:480px}
}
@media print{.sa-library-frame-wrap{display:none}.sa-library-fallback a:after{content:' (' attr(href) ')'}}

/* Same timing, upward motion and focus as the homepage, with a gentle zoom. */
@keyframes sa-library-title-enter{from{opacity:0;transform:translateY(30px) scale(.94);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@media(prefers-reduced-motion:no-preference){
 html:not(.sa-motion-paused) .sa-library-page .document-page>.wp-block-post-title{transform-origin:left center;animation:sa-library-title-enter 1.65s .18s var(--sa-motion-ease,cubic-bezier(.22,.61,.36,1)) both}
 html:not(.sa-motion-paused) .sa-library-page .sa-library-intro{animation:sa-enter 1.4s .45s var(--sa-motion-ease,cubic-bezier(.22,.61,.36,1)) both}
}
@media(prefers-reduced-motion:reduce),print{.sa-library-page .wp-block-post-title,.sa-library-page .sa-library-intro{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}}
