/* ============================================================================
   BREAKBONE, ARCHIVE LAYER (V3 build, 2 Jul 2026)
   The covers-wall section index + the store drop-grid. Loaded AFTER styles.css
   + craft.css on section index pages and the store. The wall treats every issue
   and piece as a PRINTED OBJECT (white border, hard shadow, tilt, tape tab,
   Dymo caption), never a flat thumbnail; typographic tiles stand in where no
   cover object exists on disk (a designed cover, not a placeholder).
   House law; one red; mobile-first; lazy images; reduced-motion guarded.
   ============================================================================ */

/* ---- section masthead: shorter black band than a feature page ---- */
.archead{position:relative;min-height:min(62svh,560px);display:flex;flex-direction:column;
  justify-content:flex-end;padding:120px var(--gut) clamp(30px,5vh,54px);
  background:var(--black);overflow:hidden;isolation:isolate}
.archead__inner{position:relative;z-index:3;max-width:var(--mx);width:100%;margin:0 auto}
.archead .headline{font-size:clamp(52px,11vw,160px)}
.archead__stand{font-family:var(--body);font-size:clamp(15px,1.7vw,19px);line-height:1.55;
  color:#d9d9d9;max-width:560px;margin-top:16px}
.archead__stand em{font-family:var(--wm);font-style:italic;color:var(--red-on-black)}
.archead__meta{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px 22px;
  font-family:var(--mono);font-size:13.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-d)}
.archead__meta b{color:#fff}

/* ---- the covers wall on paper ---- */
.wall{padding:clamp(48px,8vh,96px) var(--gut) clamp(56px,9vh,110px)}
.wall__in{max-width:var(--mx);margin:0 auto}
.wall__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:clamp(26px,4vw,52px) clamp(22px,3vw,40px);align-items:start}
@media (max-width:560px){.wall__grid{grid-template-columns:repeat(2,1fr);gap:24px 16px}}
@media (max-width:360px){.wall__grid{grid-template-columns:1fr}}

.wallitem{display:block;color:var(--ink);position:relative}
.wallitem__obj{position:relative;background:#fff;border:7px solid #fff;
  box-shadow:0 14px 30px rgba(0,0,0,.22);transform:rotate(var(--wr,-1.2deg));
  transition:transform .35s var(--ease),box-shadow .35s}
.wallitem:nth-child(2n) .wallitem__obj{--wr:1.1deg}
.wallitem:nth-child(3n) .wallitem__obj{--wr:-.6deg}
.wallitem:nth-child(5n) .wallitem__obj{--wr:1.8deg}
.wallitem:hover .wallitem__obj,.wallitem:focus-visible .wallitem__obj{
  transform:rotate(0deg) scale(1.02);box-shadow:0 20px 40px rgba(0,0,0,.3)}
.wallitem__obj .tape{position:absolute;top:-15px;left:34px;width:72px;height:24px;z-index:2;
  background:rgba(206,196,166,.6);transform:rotate(-4deg);
  box-shadow:0 1px 2px rgba(0,0,0,.16);mix-blend-mode:multiply}
.wallitem__img{width:100%;height:auto;display:block;
  filter:grayscale(1) contrast(1.28) brightness(.97);transition:filter .35s}
.wallitem:hover .wallitem__img,.wallitem:focus-visible .wallitem__img{filter:grayscale(0) contrast(1.05)}

/* typographic tile: the designed stand-in cover where no image object exists */
.wallitem__tile{width:100%;aspect-ratio:4/5;background:var(--black);color:#fff;
  display:flex;flex-direction:column;justify-content:flex-end;padding:14px;position:relative;overflow:hidden}
.wallitem__tile::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.35;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 4px)}
.wallitem__tile .t{font-family:var(--cond);font-weight:900;font-size:clamp(22px,2.4vw,34px);
  line-height:.9;text-transform:uppercase;letter-spacing:-.01em;word-break:break-word}
.wallitem__tile .d{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--red-on-black);margin-bottom:8px}

/* Dymo caption strip under the object */
.wallitem__cap{margin-top:13px;font-family:var(--mono);font-size:12px;letter-spacing:.05em;
  text-transform:uppercase;color:#3a3a3a;line-height:1.6}
.wallitem__cap b{background:var(--ink);color:#fff;padding:2px 7px;letter-spacing:.09em;margin-right:8px}
.wallitem__ttl{display:block;font-family:var(--cond);font-weight:900;font-size:clamp(17px,1.6vw,22px);
  line-height:1;letter-spacing:-.01em;text-transform:uppercase;color:var(--ink);margin-top:7px;
  transition:color .25s}
.wallitem:hover .wallitem__ttl,.wallitem:focus-visible .wallitem__ttl{color:var(--red)}
.wallitem__sub{display:block;font-family:var(--body);font-size:13.5px;color:#4a4a4a;
  text-transform:none;letter-spacing:0;margin-top:5px;line-height:1.5}
.wallitem__flag{display:inline-block;font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  background:var(--red);color:#fff;padding:2px 7px;margin-top:7px;text-transform:uppercase}

/* ---- store drop grid: each issue a covetable object ---- */
.shopgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:clamp(30px,4vw,56px)}
@media (max-width:620px){.shopgrid{grid-template-columns:1fr}}
.product{position:relative}
.product__obj{position:relative;background:#fff;border:8px solid #fff;
  box-shadow:0 16px 34px rgba(0,0,0,.24);transform:rotate(var(--wr,-1deg));
  transition:transform .35s var(--ease),box-shadow .35s}
.product:nth-child(2n) .product__obj{--wr:1.2deg}
.product:hover .product__obj{transform:rotate(0) scale(1.015);box-shadow:0 22px 44px rgba(0,0,0,.32)}
.product__img{width:100%;height:auto;display:block}
.product__meta{margin-top:15px}
.product__ttl{font-family:var(--cond);font-weight:900;font-size:clamp(22px,2.2vw,30px);line-height:.94;
  text-transform:uppercase;letter-spacing:-.01em}
.product__sub{font-family:var(--body);font-size:14.5px;color:#3d3d3d;margin-top:7px;line-height:1.55;max-width:38ch}
.product__row{display:flex;align-items:center;gap:14px;margin-top:12px;flex-wrap:wrap}
.product__price{font-family:var(--mono);font-size:15px;letter-spacing:.06em;text-transform:uppercase}
.product__price b{background:var(--ink);color:#fff;padding:3px 9px}
.product__buy{display:inline-block;font-family:var(--disp);font-size:14px;text-transform:uppercase;
  letter-spacing:.02em;color:#fff;background:var(--red);padding:9px 16px 10px;
  transition:background .2s,transform .2s}
.product__buy:hover,.product__buy:focus-visible{background:#a80f16;transform:translateY(-2px)}
.product__note{font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);margin-top:9px}

@media (prefers-reduced-motion:reduce){
  .wallitem__obj,.product__obj{transform:none!important}
}
