/* Editorial collection: thematic drawings, not photos or simulated books. */
.now-desk { margin: 0 var(--gutter); padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 3rem; }
.now-margin h2 { margin: 1rem 0; font-size: clamp(1.75rem,3vw,2.8rem); line-height: 1.3; }
.now-margin p { color: var(--muted); font-size: .75rem; line-height: 1.75; margin: 0; }
.now-ledger { margin: 0; }
.now-ledger > div { display: grid; grid-template-columns: 4rem minmax(0,1fr); gap: 1.5rem; padding: .75rem 0; border-top: 1px solid var(--line-strong); }
.now-ledger > div:first-child { border-top: 0; padding-top: 0; }
.now-ledger dt { color: var(--muted); font-size: .8rem; padding-top: .7rem; }
.now-ledger dd { margin: 0; }
.now-ledger a { display: block; min-height: 44px; padding: .5rem 0; max-width: 32em; line-height: 1.75; text-decoration: none; }
.now-ledger a:hover { text-decoration: underline; }
.collection { margin: 0 var(--gutter); padding: 1rem 0 4rem; }
.collection-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 3rem; align-items: end; padding-bottom: 1.75rem; }
.collection-heading h2 { font-size: clamp(1.8rem,3vw,3rem); margin: .75rem 0 0; }
.collection-heading > p { max-width: 30em; color: var(--ink-soft); margin: 0; }
.shelf-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 1px solid var(--ink); }
.shelf-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shelf-filters button { min-width: 44px; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--muted); background: var(--paper); cursor: pointer; font-size: .875rem; }
.shelf-filters button:hover { background: var(--wash); }
.shelf-filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.shelf-count { margin: 0; font-size: .75rem; color: var(--muted); }
.shelf-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3rem 1.5rem; padding-top: 1rem; }
.shelf-item { min-width: 0; display: flex; flex-direction: column; }
.shelf-sheet, .shelf-sheet.series-row { display: flex; flex: 1; flex-direction: column; gap: 0; margin: 0; padding: 0; border: 0; background: transparent; text-decoration: none; align-items: stretch; }
.sheet-cover { display: block; position: relative; aspect-ratio: 40 / 27; flex-shrink: 0; background: var(--wash); margin-bottom: 1rem; outline: 1px solid var(--line-strong); outline-offset: -1px; }
.sheet-cover svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.sheet-cover--system { background: var(--ink); }
.cover-label { position: absolute; bottom: .75rem; left: .75rem; right: .75rem; width: fit-content; max-width: calc(100% - 1.5rem); padding: .15rem .4rem; font-size: .625rem; line-height: 1.5; color: var(--ink-soft); background: var(--paper); }
.sheet-cover--system .cover-label { background: var(--ink); color: var(--paper); }
.sheet-meta, .sheet-foot { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .7rem; color: var(--ink-soft); font-family: ui-monospace, monospace; line-height: 1.65; }
.shelf-sheet h3 { font-size: clamp(1.5rem,2vw,2rem); line-height: 1.3; letter-spacing: -.035em; margin: .75rem 0; overflow-wrap: anywhere; text-wrap: balance; }
.shelf-sheet p, .shelf-sheet.series-row p { font-size: .875rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 30em; }
.sheet-foot { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line-strong); }
.shelf-sheet:hover { background: transparent; }
.shelf-sheet:hover .sheet-cover { outline: 2px solid var(--ink); outline-offset: -2px; }
.shelf-sheet:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.shelf-sheet:active .sheet-cover { outline-width: 3px; outline-offset: -3px; }
.shelf-sheet:hover .sheet-foot { color: var(--ink); text-decoration: underline; }
.shelf-sheet:focus-visible { outline-offset: 4px; }
.shelf-caption { font-size: .7rem; line-height: 1.6; color: var(--muted); margin: .75rem 0 0; min-height: 2.25rem; overflow-wrap: anywhere; }
.collection-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.collection-foot p { font-size: .8rem; color: var(--muted); margin: 0; }
.shelf-item[hidden], .shelf-toolbar[hidden], .shelf-empty[hidden] { display: none; }
.earth-reading { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 1.5rem 0; }
.earth-reading .text-link { margin: 0; }
.earth-reading .earth-primary { color: var(--paper); background: var(--ink); padding: .6rem 1rem; border: 1px solid var(--ink); text-decoration: none; }
.earth-reading .earth-primary:hover { color: var(--ink); background: var(--paper); }
.earth-related { padding-top: 1rem; border-top: 1px solid var(--line-strong); margin-top: 1.5rem; }
.earth-related .text-link { margin-top: .5rem; font-size: .85rem; display: flex; width: fit-content; }
.earth-detail .photo-slate:not(.has-photos) { min-height: 0; padding: 1rem; }
.earth-detail .photo-slate:not(.has-photos) strong { font-size: 1rem; margin: .5rem 0; }
.earth-detail .photo-slate:not(.has-photos) p { margin: 0; }
@media (max-width: 1100px) {
  .shelf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shelf-sheet h3 { font-size: 2rem; }
}
@media (max-width: 767px) {
  .now-desk, .collection-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .now-desk { padding: 2rem 0; }
  .now-ledger > div { gap: .75rem; grid-template-columns: 3rem minmax(0,1fr); }
  .shelf-grid { gap: 2rem 1rem; }
  .shelf-sheet h3 { font-size: 1.7rem; }
}
@media (max-width: 540px) {
  .shelf-grid { grid-template-columns: 1fr; }
  .shelf-sheet h3 { font-size: 2rem; }
  .shelf-caption { min-height: 0; }
}
