/* A binder shown by its cover: a small closed binder with a printed sheet behind its clear front pocket, the same design
   as the big binder's cover (childhood-binder.css, "the cover"): kicker, the binder's name, the site's three bands and
   four of its cards fanned. Used for the shop's binders on the homepage and on /binders/ (written by tools/make_vault.py).
   Every size on the sheet is in container units, so a cover reads the same at any width. */
.bcv { display: grid; gap: 12px; color: var(--ink); text-decoration: none; }
.bcv__book { position: relative; display: block; aspect-ratio: 0.8; border-radius: 3.2% / 2.6%;
  background: linear-gradient(90deg, #0B0E10 0 3.4%, #232A2E 3.4% 4.2%, #121619 4.2% 6.4%, #191E22 6.4%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06), 9px 10px 0 var(--offset);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bcv__book::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .5; background: url(../img/grain-paper.png) 0 0 / 180px; mix-blend-mode: overlay; }   /* the binder's grain */
.bcv:hover .bcv__book, .bcv:focus-visible .bcv__book { transform: translate(-2px, -3px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06), 12px 14px 0 var(--offset); }
.bcv:focus-visible { outline: none; }
.bcv:focus-visible .bcv__book { outline: 3px solid var(--focus); outline-offset: 4px; }
.bcv__sheet { position: absolute; left: 10%; right: 5%; top: 4.6%; bottom: 4.6%; overflow: hidden; container-type: size; color: #F2F4F3; border-radius: 1.2% / 1%;
  background: radial-gradient(120% 70% at 0% 0%, #202A2F 0, #0E1417 52%, #080B0D 100%); outline: 1px solid rgba(242, 244, 243, .14); outline-offset: 2px; }
.bcv__sheet::before { content: ""; position: absolute; right: -12%; top: -10%; width: 72%; aspect-ratio: 1; background: radial-gradient(circle, rgba(174, 182, 188, .2) .8px, transparent 1.3px) 0 0 / 6px 6px;
  -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
.bcv__top { position: absolute; left: 7%; right: 7%; top: 6%; display: flex; align-items: center; gap: 2.6cqw; }
.bcv__top img { width: 9cqw; height: auto; }
.bcv__top span { font: 800 max(5px, 3cqw)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #AEB6BC; white-space: nowrap; }
.bcv__name { --n: 12; --w: 8; position: absolute; left: 7%; right: 7%; top: 15%; font: 700 min(12.5cqw, calc(100cqw / var(--w)), calc(240cqw / var(--n)))/1 var(--display); text-wrap: balance;
  --d: .055em; text-shadow: calc(var(--d) * .17) calc(var(--d) * .17) 0 #AEB6BC, calc(var(--d) * .34) calc(var(--d) * .34) 0 #AEB6BC, calc(var(--d) * .6) calc(var(--d) * .6) 0 #555B60, var(--d) var(--d) 0 #555B60; }
.bcv__bands { position: absolute; left: -12%; right: -12%; top: 62%; height: 15cqh; transform: rotate(-11deg); }
/* the three bands: white, silver and teal, each a smooth metal-like gradient with a crisp edge and a fine highlight */
.bcv__bands { display: flex; flex-direction: column; justify-content: space-between; }
.bcv__bands i { display: block; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .28), 0 .5cqw 1.1cqw rgba(0, 0, 0, .3); }
.bcv__bands i:nth-child(1) { flex: 0 0 30%; background: linear-gradient(90deg, #DCE2E5 0%, #FFFFFF 24%, #F2F4F3 50%, #FFFFFF 72%, #D3D9DC 100%); }
.bcv__bands i:nth-child(2) { flex: 0 0 21%; background: linear-gradient(90deg, #7F888E 0%, #C3CAD0 30%, #AEB6BC 55%, #D6DCE0 76%, #8A939A 100%); }
.bcv__bands i:nth-child(3) { flex: 0 0 26%; background: linear-gradient(90deg, #0B6874 0%, #19B6C8 30%, #16A7B8 55%, #2FCDDF 76%, #0C7480 100%); }
.bcv__c { position: absolute; left: calc(50% - 15cqw + var(--o) * 17cqw); top: calc(49cqh + var(--o) * var(--o) * 1.6cqw); width: 30cqw; height: 42cqw;
  transform: rotate(calc(var(--o) * 8deg)); transition: transform .3s var(--ease); }
.bcv:hover .bcv__c, .bcv:focus-visible .bcv__c { transform: translate(calc(var(--o) * 2.2cqw), -1.5cqw) rotate(calc(var(--o) * 11deg)); }   /* the fan opens a little */
.bcv__c img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 1.4cqw 2.6cqw rgba(0, 0, 0, .65), 0 0 0 .25cqw rgba(0, 0, 0, .5); }
.bcv__c--land { width: 42cqw; height: 30cqw; left: calc(50% - 21cqw + var(--o) * 17cqw); top: calc(55cqh + var(--o) * var(--o) * 1.6cqw); }
.bcv__vinyl { position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .12) 31%, rgba(255, 255, 255, .03) 41%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .05) 80%, rgba(255, 255, 255, 0) 88%),
  linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 22%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 3cqw rgba(0, 0, 0, .45); }
.bcv__meta { display: grid; gap: 3px; }
.bcv__line { color: var(--ink-2); font-size: .88rem; line-height: 1.4; }
.bcv__count { color: var(--ink-3); font: 800 .66rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.bcv__shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(22px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
