/* The big art wall: rows of covers and sheets running off both page edges. */
.hp-wall {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 42px);
  overflow: hidden;
  padding: 4px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.hp-wall-row { --hp-sheet-u: clamp(96px, 10.5vw, 150px); display: flex; align-items: flex-end; gap: clamp(16px, 2.1vw, 30px); width: max-content; border-bottom: 1px solid #cfc6b4; }
.hp-wall-row:nth-child(1) { margin-left: -60px; }
.hp-wall-row:nth-child(2) { margin-left: -150px; }
.hp-wall-row:nth-child(3) { margin-left: -20px; }
.hp-wall-book { position: relative; display: block; flex: none; background: #fff; box-shadow: 1px 0 0 #e4dccc, 3px 0 0 #fff, 6px 10px 14px -8px #1f1b166b; }
.hp-wall-book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, #00000033, #00000008 45%, #ffffff29 60%, #fff0); pointer-events: none; }
.hp-wall-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
body:has(.hp-wall) { overflow-x: clip; }
/* fit: every item once, wrapping inside its column (the Monday drop's "one
   Monday"). The size comes from --hp-wall-u on the caller. */
.hp-wall--fit { left: auto; width: auto; margin-left: 0; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
.hp-wall--fit .hp-wall-row { display: grid; grid-template-columns: repeat(var(--hp-wall-cols, 10), minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 14px); align-items: end; width: auto; margin-left: 0 !important; border-bottom: 0; }
.hp-wall--fit .hp-wall-row > * { width: 100%; height: auto; aspect-ratio: 210 / 297; }
