/* Coordinate-preserving content for the supplied project PDFs. */
.case-page-content.case-editorial--pdf{display:block;width:100%;height:100%;min-height:0;padding:0;gap:0}
.case-pdf-page{display:block;width:100%;height:100%;overflow:hidden}
.case-pdf-page text{user-select:text;-webkit-user-select:text}
.case-pdf-page image{transform-box:view-box}
/* Enlarge the same page, preserving its portrait image frames and line breaks. */
:is(.case-reader,html.case-static,html:not(.case-enhanced)) .case-page-content.case-editorial--pdf{height:auto;min-height:0;padding:0;aspect-ratio:477.93009/672.0668}
@media(max-width:600px){
 /* A full-size paper can be panned in reading mode instead of rearranging it. */
 .case-reader__content:has(.case-editorial--pdf){min-width:680px}
 .case-reader:has(.case-editorial--pdf) form{left:0}
 html.case-static .case-leaf__front:has(.case-editorial--pdf),html:not(.case-enhanced) .case-leaf__front:has(.case-editorial--pdf){overflow-x:auto}
 html.case-static .case-editorial--pdf,html:not(.case-enhanced) .case-editorial--pdf{min-width:680px}
}

/* Three chapter registers for the rebranding folders. */
.case-story:is([data-project="huebsch-designs"],[data-project="coaching-by-nelli"]) .case-chapters{grid-template-columns:repeat(3,minmax(0,1fr))}
.case-story:is([data-project="huebsch-designs"],[data-project="coaching-by-nelli"]) .case-page-tab{width:32.8%}
.case-story:is([data-project="huebsch-designs"],[data-project="coaching-by-nelli"]) .case-page-tab.case-chapter--context{--tab-position:33.5%}
.case-story:is([data-project="huebsch-designs"],[data-project="coaching-by-nelli"]) .case-page-tab.case-chapter--character{--tab-position:67%}
/* The supplied cream-backed logo prints into the cardboard colour. */
.case-story[data-project="coaching-by-nelli"] .case-cover__logo{mix-blend-mode:darken}
.case-story[data-project="baeckerei-huebsch"] .case-cover__logo{transform:translateY(-25%)}
