/* Panel Forge. The page is a comic: newsprint panels on black gutters. */

:root {
  --black: #0e0c0b;
  --ink: #16120f;
  --paper: #efe4cc;
  --paper-2: #e3d3b0;
  --white: #fffaf0;
  --yellow: #f3c02b;
  --red: #c63a2b;
  --cyan: #2f86b9;
  --night: #16222b;
  --f-d: 'Bowlby One', Impact, 'Arial Black', sans-serif;
  --f-l: 'Shantell Sans', 'Comic Neue', 'Trebuchet MS', sans-serif;
  --g: 24px;
  --gut: 14px;
  --hdr: 64px;
  --mbar: 76px;
  --pad: clamp(96px, 13vh, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: cubic-bezier(.3, 1.45, .45, 1);
  --vh: 1vh;
  --fig-ink: drop-shadow(2px 0 0 #16120f) drop-shadow(-2px 0 0 #16120f) drop-shadow(0 2px 0 #16120f) drop-shadow(0 -2px 0 #16120f) drop-shadow(8px 6px 0 rgba(47, 134, 185, .9));
  /* storefront, night */
  --st-sky: #13202a; --st-dots: .55; --st-moon: 1; --st-sun: 0; --st-nb: #0c141a; --st-nbw: #1c2a34; --st-brick: #2a201b; --st-glass: #0b1015;
  --st-lit: .45; --st-win: #f3c02b; --st-win2: #d9a21c; --st-gate: 1; --st-door: #120e0b; --st-street: #1b252c; --st-spill: .8; --st-cone: .28;
}
@media (min-width: 768px) { :root { --g: 32px; --gut: clamp(14px, 1.4vw, 24px); --mbar: 0px; } }
@media (min-width: 1024px) { :root { --g: clamp(40px, 4.4vw, 72px); --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
/* art that breaks out of its panel must never widen the page (phones would wiggle sideways) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr); overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--black); color: var(--paper);
  font: 400 18px/1.55 var(--f-l); font-variation-settings: 'INFM' 0, 'BNCE' 0;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--g); top: 8px; z-index: 100; padding: 12px 16px; background: var(--yellow); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
/* on paper, the focus ring is ink */
.cover :focus-visible, .talker :focus-visible, .bin :focus-visible, .ad :focus-visible, .lp :focus-visible, .drawer-box :focus-visible, .pull-done:focus-visible, .hold-done:focus-visible { outline-color: var(--ink); }
.no-js .menu-btn, .no-js .pull-form { display: none; }
.pull-noscript { color: var(--ink); }

/* ---------- Display type ---------- */
.display { margin: 0; font: 400 clamp(40px, 5.6vw, 92px)/.94 var(--f-d); letter-spacing: -.005em; text-wrap: balance; }
.display em { font-style: normal; color: var(--yellow); }
.lede { margin: 0; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 34em; color: rgba(239, 228, 204, .86); }

/* ---------- Lettering: captions and balloons ---------- */
.lt {
  font-family: var(--f-l); text-transform: uppercase; font-weight: 600;
  font-variation-settings: 'INFM' 80, 'BNCE' 12; letter-spacing: .012em; line-height: 1.32;
}
.lt b { font-weight: 800; font-style: italic; }
.cap {
  margin: 0; color: var(--ink); background: var(--white); border: 2.5px solid var(--ink);
  padding: .62em .9em .58em; font-size: clamp(14px, 1.06vw, 17.5px); max-width: 25em;
}
.cap--y { background: var(--yellow); }
.cap--p { background: var(--white); }
.bal {
  position: relative; margin: 0; color: var(--ink); background: var(--white);
  border: 2.5px solid var(--ink); border-radius: 50%;
  padding: 1.15em 1.75em; text-align: center; max-width: 16.5em;
  font-size: clamp(15px, 1.14vw, 19px);
}
.bal::before, .bal::after { content: ""; position: absolute; }
.bal::before { background: var(--ink); }
.bal::after { background: var(--white); }
/* curved tails: an ink wedge with a paper wedge inside it that covers the balloon's border */
.bal--bl::before, .bal--bl::after, .bal--br::before, .bal--br::after, .bal--b::before, .bal--b::after { bottom: -42px; width: 40px; height: 44px; }
.bal--bl::before, .bal--bl::after { left: 26%; }
.bal--br::before, .bal--br::after { right: 26%; transform: scaleX(-1); }
.bal--b::before, .bal--b::after { left: calc(50% - 20px); }
.bal--bl::before, .bal--br::before, .bal--b::before { clip-path: path('M4 0H38C32 14 22 30 0 44C9 30 9 15 4 0Z'); }
.bal--bl::after, .bal--br::after, .bal--b::after { clip-path: path('M7.5 0H33.5C28 13 19 26 5.5 36.5C11.5 26.5 11.5 14 7.5 0Z'); }
.bal--l::before, .bal--l::after, .bal--r::before, .bal--r::after { top: calc(50% - 16px); width: 46px; height: 42px; }
.bal--l::before, .bal--l::after { left: -42px; }
.bal--r::before, .bal--r::after { right: -42px; transform: scaleX(-1); }
.bal--l::before, .bal--r::before { clip-path: path('M46 2V34C32 34 16 36 0 42C14 30 28 14 46 2Z'); }
.bal--l::after, .bal--r::after { clip-path: path('M46 7.5V29.5C34 30 22 32 8.5 36.5C19 28 30 17 46 7.5Z'); }

/* ---------- Buttons: ink-outlined, with the red plate printed off-register ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 26px; border: 3px solid var(--ink); border-radius: 0;
  font: 400 16px/1.05 var(--f-d); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; text-align: center;
  box-shadow: 5px 5px 0 var(--red); cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--red); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--red); }
.btn--y { background: var(--yellow); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--hdr { --h: 48px; padding: 0 18px; font-size: 14px; box-shadow: 4px 4px 0 var(--red); }
.btn--xl { --h: 56px; }
.btn--xxl { --h: 64px; padding: 0 22px; font-size: 16px; }
@media (min-width: 640px) { .btn--xxl { padding: 0 34px; font-size: 18px; } }
.btn--full { width: 100%; }
@media (min-width: 1024px) {
  .btn--xl { --h: 60px; font-size: 17px; }
  .btn--xxl { --h: 68px; font-size: 19px; }
  .btn--hdr { --h: 52px; }
}
.pl-count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .35em; background: var(--ink); color: var(--yellow); font-size: .82em; }
.pl-count[hidden] { display: none; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr);
  display: flex; align-items: center; gap: 22px; padding: 0 var(--g);
  background: var(--black);
}
.brand { display: grid; line-height: 1; text-decoration: none; flex: none; }
.brand-mark { font: 400 23px/.9 var(--f-d); color: var(--yellow); text-transform: uppercase; letter-spacing: .01em; text-shadow: 2px 2px 0 var(--red); white-space: nowrap; }
.brand-mark b { font-weight: 400; color: var(--red); text-shadow: 2px 2px 0 #5a1a10; }
.brand-sub { margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(239, 228, 204, .7); }
.concept { flex: none; padding: 3px 8px; border: 1px solid rgba(239, 228, 204, .28); font-size: 11.5px; line-height: 1.3; color: rgba(239, 228, 204, .72); white-space: nowrap; }
.nav { display: none; gap: clamp(18px, 2vw, 32px); margin-left: auto; }
.nav a { font-size: 16px; font-weight: 500; text-decoration: none; color: rgba(239, 228, 204, .84); transition: color .2s; }
.nav a:hover { color: var(--yellow); }
.hdr-cta { display: none; }
.menu-btn { margin-left: auto; height: 44px; padding: 0 2px 0 14px; background: none; border: 0; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--paper); cursor: pointer; }
.menu { position: fixed; inset: var(--hdr) 0 0; z-index: 59; padding: 24px var(--g) calc(var(--mbar) + 24px); background: var(--black); overflow-y: auto; }
.menu nav { display: grid; }
.menu a { padding: 16px 0; border-bottom: 2px solid #2a2420; font: 400 30px/1.1 var(--f-d); text-transform: uppercase; text-decoration: none; color: var(--paper); }
.menu a.menu-cta { color: var(--yellow); border-bottom: 0; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .hdr-cta { display: inline-flex; }
  .menu-btn, .menu { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .nav { gap: 16px; } .nav a { font-size: 15px; } .concept { display: none; } }
@media (max-width: 767px) {
  .hdr { gap: 12px; }
  .brand-mark { font-size: 21px; }
  .brand-sub { display: none; }
  .concept { position: absolute; left: var(--g); top: 37px; padding: 0; border: 0; font-size: 10.5px; }
  .brand { margin-top: -14px; }
}

/* ---------- Mobile sticky bar ---------- */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr auto; gap: 12px;
    padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); background: var(--black); border-top: 2px solid #2a2420;
    transition: transform .35s var(--ease);
  }
  .mbar .btn { --h: 56px; font-size: 13.5px; letter-spacing: 0; padding: 0 12px; box-shadow: 4px 4px 0 var(--red); }
  .mbar .btn--ink { padding: 0 18px; }
  .mbar.is-off { transform: translateY(110%); }
  body { padding-bottom: var(--mbar); }
}
/* ---------- Newsprint: a static grain plate on every paper surface ---------- */
.paper-grain::after, .cover-face::after, .cap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain, none); background-size: 180px 180px; mix-blend-mode: multiply; opacity: .32;
}
.cap { position: relative; }

/* ======================================================================
   ISSUE NO. 1, static reading (no JS, reduced motion): cover, then the page
   ====================================================================== */
.story { position: relative; padding-top: var(--hdr); }
.story-stage { position: relative; }
.cover { position: relative; display: flex; margin: 10px var(--g) 0; min-height: calc(100svh - var(--hdr) - var(--mbar) - 20px); }
.cover-face {
  position: relative; flex: 1; display: grid; grid-template-rows: auto minmax(150px, 1fr) auto; gap: 12px;
  padding: 12px 12px 16px; background: var(--paper); color: var(--ink); border: solid var(--ink); border-width: 3px 4.5px 5px 3px; overflow: hidden; box-shadow: inset 0 0 90px rgba(150, 105, 30, .26);
}
.cover-shade { position: absolute; inset: 0; z-index: 5; background: linear-gradient(90deg, rgba(0, 0, 0, .55), #000 70%); opacity: 0; pointer-events: none; }
.cover-top { display: flex; align-items: flex-start; gap: 10px; }
.corner {
  flex: none; width: 58px; display: grid; justify-items: center; gap: 2px; padding: 4px 0 3px; overflow: hidden;
  background: var(--yellow); border: 2.5px solid var(--ink);
}
.corner-face { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-bottom: 2.5px solid var(--ink); margin-top: -4px; }
.corner-no { font: 400 11px/1 var(--f-d); text-transform: uppercase; }
.corner-no b { font-weight: 400; font-size: 1.6em; margin-left: 1px; }
.masthead { flex: 1; min-width: 0; height: auto; overflow: visible; }
.masthead--wide { display: none; }
.cover-cal { position: absolute; z-index: 1; left: 42%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translateX(-50%); filter: var(--fig-ink); }
.barcode { z-index: 2; }
.cover-art { position: relative; grid-row: 2; min-height: 0; border: 3px solid var(--ink); overflow: hidden; background: #f7d35a; }
.cover-copy { grid-row: 3; }
.cover-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.barcode {
  flex: none; align-self: center; width: 116px; margin-left: auto; padding: 6px 8px 5px; background: var(--white); border: 2.5px solid var(--ink);
  display: none; gap: 3px; text-align: center;
}
.barcode svg { width: 100%; height: 30px; }
.barcode span { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.h-cover { color: var(--ink); font-size: clamp(30px, min(9vw, 5vh), 46px); line-height: .93; max-width: 13em; }
.h-cover em { color: var(--red); }
.cover-cap { margin-top: 18px; font-size: 12px; max-width: 32em; }
@media (max-width: 639px) and (max-height: 760px) { .cover-cap { display: none; } }
.cover-act { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 16px; }
.cover-act .btn--y { display: none; }
.cover-act .btn--ink { flex: 1; }

@media (min-width: 640px) {
  .cover-face { padding: 18px; gap: 14px; }
  .corner { width: 78px; }
  .corner-no { font-size: 13px; }
  .cover-cap { font-size: 15px; }
  .cover-act .btn--y { display: inline-flex; }
  .cover-act .btn--ink { flex: none; }
  .barcode { display: grid; }
  .barcode svg { height: 40px; }
  .barcode span { font-size: 11px; }
}
/* landscape cover: copy column left, the art bleeds off the right edge */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .cover-face {
    --cp: clamp(18px, 2.1vw, 36px);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 2.6vw, 48px); row-gap: clamp(8px, 1.4vh, 16px); padding: var(--cp);
  }
  .cover-top { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 3; gap: clamp(12px, 1.2vw, 20px); align-items: center; }
  .masthead--stack { display: none; }
  .masthead--wide { display: block; }
  .cover-cal { left: 44%; height: 71%; }
  .cover-copy { grid-column: 1; grid-row: 2; align-self: end; }
  .cover-art { grid-row: 1 / -1; }
  .cover-art { grid-column: 2; grid-row: 1 / -1; margin: calc(var(--cp) * -1) calc(var(--cp) * -1) calc(var(--cp) * -1) 0; border-width: 0 0 0 3px; }
  .corner { width: clamp(72px, 6.2vw, 104px); }
  .corner-no { font-size: clamp(12px, 1vw, 16px); }
  .h-cover { font-size: clamp(38px, min(4.9vw, 7.6vh), 84px); }
  .cover-cap { margin-top: clamp(22px, 3vh, 32px); font-size: clamp(14px, 1.05vw, 17px); }

  .cover-act { margin-top: clamp(22px, 3.2vh, 34px); column-gap: 22px; }
  .barcode { width: clamp(120px, 9vw, 150px); }
  .barcode svg { height: clamp(36px, 3vw, 50px); }
}

@media (min-width: 900px) and (min-aspect-ratio: 1/1) and (max-height: 720px) {
  .cover-cap { font-size: 13px; margin-top: 18px; }
  .cover-act .btn--ink { display: none; }
}
/* the page: four panels in reading order */
.page { position: relative; display: flex; flex-wrap: wrap; gap: var(--gut); padding: var(--gut) var(--g) 0; }
.pn { position: relative; flex: 1 1 100%; height: min(76svh, 760px); min-height: 480px; }
@media (min-width: 768px) {
  .pn-1 { flex-basis: 56%; } .pn-2 { flex-basis: 34%; }
  .pn-3 { flex-basis: 36%; } .pn-4 { flex-basis: 54%; }
}
.pn-frame { position: absolute; inset: 0; overflow: hidden; border: solid var(--ink); border-width: 3px 4.5px 5px 3px; background: var(--night); }
.pn-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.dim { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 0; pointer-events: none; }
.pn > .cap { position: absolute; z-index: 6; left: clamp(12px, 1.4vw, 22px); top: clamp(12px, 1.4vw, 22px); max-width: min(24em, calc(100% - 32px)); }
.pn > .bal { position: absolute; z-index: 6; }
.pn-1 > .bal { left: 33%; top: 27%; }
.pn-4 > .cap { top: auto; bottom: clamp(12px, 1.4vw, 22px); }
.pn-4 > .bal { right: calc(clamp(110px, 16%, 190px) + 30px); bottom: calc(18% + 40px); top: auto; }
@media (max-width: 767px) {
  /* the storefront sits on the bottom of the tall panel; the night sky continues above it */
  .pn-1 .pn-frame { background: radial-gradient(circle, rgba(47, 134, 185, .5) 1.1px, transparent 1.4px) 0 0 / 5px 5px, #13202a; }
  .pn-1 > .bal { left: 7%; top: 17%; }
  .pn-4 > .bal { left: 5%; right: auto; top: auto; bottom: calc(30% + 20px); }
}
.pn-fig { position: absolute; z-index: 1; width: auto; max-width: none; filter: var(--fig-ink); }
.fig-unbox { left: 50%; bottom: 4%; height: 84%; transform: translateX(-50%); }
.fig-handoff { right: -6%; bottom: 0; height: 70%; }
.pn-3 > .bal { right: auto; bottom: auto; left: 8%; top: 33%; }
@media (max-width: 767px) { .fig-unbox { height: 66%; bottom: 6%; } .fig-handoff { height: 56%; right: -14%; } .pn-3 > .bal { left: 6%; top: 30%; } }
.inset { position: absolute; z-index: 6; right: -18px; bottom: 18%; width: clamp(110px, 16%, 190px); aspect-ratio: 1; margin: 0; background: var(--yellow); border: solid var(--ink); border-width: 4px 5px 6px 4px; overflow: hidden; transform: rotate(2deg); box-shadow: 6px 6px 0 rgba(0, 0, 0, .45); }
.inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
@media (max-width: 767px) { .inset { right: -8px; bottom: 30%; width: 34%; } }
.gate, .p4-spill { position: absolute; inset: 0; }
.gate .pn-art { position: absolute; }
html:not(.motion) .gate { display: none; }

/* the one sound effect: ten hand-set letters, breaking the panel border */
.sfx { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.sfx-l {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%);
  transform: rotate(calc(var(--r) * 1deg)); transform-origin: 50% 70%;
}
.sfx-l svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 767px) {
  .sfx-l { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1%); transform: rotate(calc(var(--mr) * 1deg)); }
}
/* ======================================================================
   ISSUE NO. 1 with motion: one sticky stage. The cover turns on its spine,
   then a camera glides across the page panel to panel (positions set by JS).
   ====================================================================== */
:root { --gy: 12px; }
@media (min-width: 768px) { :root { --gy: 14px; } }
.motion .story { padding-top: 0; height: var(--story-h, 600vh); }
.motion .story-stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; perspective: 2400px; perspective-origin: 30% 50%; }
.motion .cover {
  position: absolute; z-index: 8; margin: 0; min-height: 0;
  left: var(--g); right: var(--g); top: calc(var(--hdr) + var(--gy)); bottom: calc(var(--mbar) + var(--gy));
  transform-origin: 0 50%; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.motion .cover-shade { will-change: opacity; }
.speed { display: none; }
.motion .speed { display: block; position: absolute; inset: -20%; z-index: 7; opacity: 0; pointer-events: none; will-change: opacity, transform; mix-blend-mode: screen; }
.motion .speed svg { width: 100%; height: 100%; }
.motion .page { position: absolute; left: 0; top: 0; display: block; padding: 0; will-change: transform; }
.motion .pn { position: absolute; flex: none; min-height: 0; }
.motion .dim, .motion .p4-spill { will-change: opacity; }
.motion .gate { will-change: transform; }
.motion .sfx-l { will-change: transform, opacity; opacity: 0; }
.motion .pn > .cap, .motion .pn > .bal { opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--pop); }
.motion .pn.is-on > .cap, .motion .pn.is-on > .bal { opacity: 1; transform: none; }
.motion .pn.is-on > .bal { transition-delay: .22s, .22s; }
.motion .pn-4.is-on > .bal, .motion .pn-4 > .inset { opacity: 0; transform: translateY(12px) scale(.94); }
.motion .pn-4 > .inset { transition: opacity .35s var(--ease), transform .5s var(--pop); }
.motion .pn-4.bal-on > .inset { opacity: 1; transform: rotate(2deg); }
.motion .pn-4.is-on.bal-on > .bal { opacity: 1; transform: none; transition-delay: 0s; }

/* ======================================================================
   THE WALL: covers on a shelf ledge against slatwall
   ====================================================================== */
.wall {
  --gap: clamp(30px, 3.4vw, 60px);
  --ch: clamp(210px, calc(var(--vh) * 100 - var(--hdr) - 2 * var(--gy) - 330px), 468px);
  --cw: calc(var(--ch) / 1.444);
  position: relative; padding: var(--gut) 0 0;
}
@media (max-width: 767px) { .wall { --ch: calc(58vw * 1.444); --cw: 58vw; --gap: 20px; } }
.wall-head { margin: 0 var(--g) 28px; padding-top: calc(var(--pad) * .6); }
.wall-head .display { font-size: clamp(38px, 11vw, 52px); }
.wall-head .lede { margin-top: 24px; }
.wall-pin {
  position: relative; margin: 0 var(--g); border: 3px solid var(--ink); overflow: hidden;
  background: #16222b repeating-linear-gradient(180deg, #19272f 0 44px, #0d151a 44px 48px, #22323c 48px 50px);
}
.wall-view { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wall-view::-webkit-scrollbar { display: none; }
/* without the sticky scroll, the rack keeps a visible scrollbar so a mouse can reach every book */
@media (min-width: 768px) { html:not(.motion) .wall-view { scrollbar-width: thin; scrollbar-color: var(--yellow) #0d151a; } html:not(.motion) .wall-view::-webkit-scrollbar { display: block; height: 10px; } html:not(.motion) .wall-view::-webkit-scrollbar-thumb { background: var(--yellow); } }
.wall-track {
  display: flex; align-items: stretch; gap: var(--gap); width: max-content; margin: 0; list-style: none;
  padding: 64px clamp(22px, 3vw, 56px) 40px;
}
.wall-intro { flex: none; width: min(calc(100vw - 2 * var(--g) - 50px), 600px); align-self: center; scroll-snap-align: start; padding-right: 8px; }
.wall-intro .display { font-size: clamp(34px, 9vw, 44px); }
@media (min-width: 768px) { .wall-intro .display { font-size: clamp(44px, 4vw, 72px); } }
.wall-intro .lede { margin-top: 32px; }
.wall-end { flex: none; width: clamp(240px, 24vw, 360px); align-self: center; scroll-snap-align: end; }
.wall-end .cap { font-size: clamp(15px, 1.15vw, 18px); }
.wall-noscript { margin: 24px var(--g) 0; }

.book { position: relative; flex: none; display: flex; flex-direction: column; width: var(--cw); align-self: stretch; scroll-snap-align: center; }
.book-cover { position: relative; z-index: 1; width: var(--cw); height: var(--ch); margin: 0; box-shadow: 0 22px 26px -18px rgba(0, 0, 0, .8); }
.sfx-mini { position: absolute; z-index: 4; left: -6px; top: 18%; font: 400 30px/1 var(--f-d); color: var(--yellow); -webkit-text-stroke: 0; text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 5px 5px 0 var(--red); opacity: 0; transform: rotate(-12deg) scale(.6); pointer-events: none; text-transform: uppercase; }
.sfx-mini.is-on { animation: sfx-pop 1.1s var(--ease) forwards; }
.hold-done:not([hidden]) .sfx-mini--done { animation: sfx-pop 1.4s var(--ease) .2s forwards; }
@keyframes sfx-pop { 0% { opacity: 0; transform: rotate(-12deg) scale(.5); } 18% { opacity: 1; transform: rotate(-8deg) scale(1.12); } 30% { transform: rotate(-9deg) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: rotate(-9deg) scale(1) translateY(-10px); } }
.hold-done:not([hidden]) .sfx-mini--done { animation-name: sfx-stay; }
@keyframes sfx-stay { 0% { opacity: 0; transform: rotate(-12deg) scale(.5); } 40% { opacity: 1; transform: rotate(-8deg) scale(1.12); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
.book-cover img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); background: var(--paper-2); }
/* the shelf lip, continuous across the gaps */
.book::before {
  content: ""; position: absolute; z-index: 2; left: calc(var(--gap) * -.5 - 1px); right: calc(var(--gap) * -.5 - 1px); top: calc(var(--ch) - 8px);
  height: 24px; background: linear-gradient(180deg, #efe4cc, #cdb98e); border: solid var(--ink); border-width: 3px 0;
}
.book:first-of-type::before { left: -14px; }
.book:last-of-type::before { right: -14px; }
.talker { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; margin-top: 30px; padding: 13px 13px 13px; background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); }
.talker::before { content: ""; position: absolute; left: calc(50% - 16px); top: -22px; width: 32px; height: 26px; background: var(--ink); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.talker-note { margin: 0 0 10px; font-size: 13.5px; line-height: 1.3; }
.talker-note .sig { display: block; margin-top: 3px; text-align: right; color: var(--red); font-weight: 800; }
.book-t { margin: 0; font: 400 clamp(16px, 1.25vw, 19px)/1.05 var(--f-d); text-transform: uppercase; }
.book-t span { color: var(--red); white-space: nowrap; }
.book-m { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 12px; font-size: 14px; line-height: 1.3; }
.book-m .price { font-weight: 800; }
.book-cr { margin: 4px 0 0; font-size: 13.5px; font-weight: 700; color: #5d4c3b; }
.book-d { margin: -6px 0 12px; font-size: 13.5px; }
.book-d b { color: var(--red); }
.hold {
  width: 100%; min-height: 48px; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px;
  background: var(--ink); color: var(--paper); border: solid var(--ink); border-width: 2.5px 3px 3.5px 2.5px; cursor: pointer;
  font: 400 14px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; transition: background-color .2s, color .2s;
}
.hold:hover { background: #2b241f; }
.hold svg { width: 16px; height: 16px; flex: none; display: none; }
.hold[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.hold[aria-pressed="true"] svg { display: block; }
.pull-tg { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.pull-tg input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2.5px solid var(--ink); background: #fffdf6; display: grid; place-items: center; cursor: pointer; }
.pull-tg input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px #fffdf6; }
.pull-tg input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* bagged and boarded: a mylar bag slides down over the cover */
.bag {
  position: absolute; inset: -5px -5px -3px; z-index: 2; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .6);
  background: linear-gradient(116deg, rgba(255,255,255,0) 26%, rgba(255,255,255,.34) 36%, rgba(255,255,255,0) 47%, rgba(255,255,255,0) 64%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 78%), rgba(228, 238, 246, .12);
  transform: translateY(-112%); opacity: 0; transition: transform .6s var(--ease), opacity .25s;
}
.bag::before { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -24px; height: 24px; background: rgba(236, 244, 250, .32); border: 1.5px solid rgba(255, 255, 255, .6); border-bottom: 0; }
.bag::after { content: ""; position: absolute; left: 38%; top: -13px; width: 24%; height: 17px; background: rgba(243, 214, 140, .8); }
.bag-slip {
  position: absolute; right: 10%; top: -50px; padding: 8px 10px 22px; background: var(--white); border: 2px solid var(--ink); color: var(--ink);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transform: rotate(4deg);
}
.is-held .bag { transform: none; opacity: 1; }
/* hidden lettering stays out of layout until it shows */
.bag-slip, .sfx-mini { display: none; }
.is-held .bag-slip, .sfx-mini.is-on, .hold-done:not([hidden]) .sfx-mini--done { display: block; }
@media (min-width: 768px) {
  .motion .wall.is-short .book { flex-direction: row; align-items: flex-end; align-self: flex-start; width: auto; gap: 16px; }
  .motion .wall.is-short .talker { flex: none; width: 224px; margin: 0 0 24px; }
  .motion .wall.is-short .talker::before { display: none; }
  .motion .wall { height: var(--wall-h, auto); padding: 0; }
  .motion .wall-pin { overflow: clip; position: sticky; top: calc(var(--hdr) + var(--gy)); height: calc(var(--vh) * 100 - var(--hdr) - 2 * var(--gy)); }
  .motion .wall-view { overflow: visible; height: 100%; scroll-snap-type: none; }
  .motion .wall-track { height: 100%; padding-top: 44px; padding-bottom: 24px; will-change: transform; }
}
/* ======================================================================
   STAFF PICKS: the Page Turner steps out of his panel; three note cards
   ====================================================================== */
.picks { padding: var(--pad) var(--g) 0; }
.picks-top { display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
.picks-fig { position: relative; margin: 0; height: clamp(420px, 110vw, 560px); }
.picks-panel { position: absolute; left: 0; right: 0; bottom: 0; height: 82%; background: var(--cyan); border: solid var(--ink); border-width: 3px 4px 5px 3px; overflow: hidden; }
.picks-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--ink) 1.8px, transparent 2.2px); background-size: 11px 11px; opacity: .3; -webkit-mask-image: radial-gradient(closest-side, transparent 35%, #000 100%); mask-image: radial-gradient(closest-side, transparent 35%, #000 100%); }
/* he is taller than his panel: head and shoulders break out over the top border */
.picks-fig img { position: absolute; z-index: 1; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translate3d(-50%, var(--py, 0px), 0); filter: var(--fig-ink); }
.picks-intro { display: grid; gap: 30px; padding-bottom: 8px; }
.picks-intro .cap { justify-self: start; max-width: 30em; }
.picks-list { display: grid; gap: 56px 28px; margin: clamp(56px, 8vh, 96px) 0 0; padding: 0; list-style: none; }
.pick { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; justify-items: center; text-align: center; }
.pick-cover { position: relative; width: min(72%, 300px); margin: 0 auto; aspect-ratio: 720 / 1040; box-shadow: 0 18px 24px -16px rgba(0, 0, 0, .8); }
.pick-cover img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); }
/* a handwritten index card, pinned beside the cover */
.pick-card { position: relative; z-index: 2; width: min(88%, 330px); margin: -96px auto 0; text-align: left; translate: 5% 0; padding: 16px 18px 14px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); transform: rotate(2deg);
  background-image: linear-gradient(transparent 27px, rgba(47, 134, 185, .22) 27px 28px); background-size: 100% 28px; background-position: 0 6px; }
.pick--2 .pick-card { transform: rotate(-1.6deg); }
.pick-card::before { content: ""; position: absolute; left: calc(50% - 22px); top: -12px; width: 44px; height: 20px; background: rgba(243, 214, 140, .85); transform: rotate(-3deg); }
.pick-note { margin: 0; font-size: 17px; line-height: 28px; font-variation-settings: 'INFM' 100, 'BNCE' 40; font-weight: 500; }
.pick-sig { margin: 6px 0 0; text-align: right; font-size: 15px; font-weight: 800; color: var(--red); font-variation-settings: 'INFM' 100, 'BNCE' 60; }
.pick-t { margin: 6px 0 0; font: 400 clamp(19px, 1.5vw, 24px)/1.05 var(--f-d); text-transform: uppercase; }
.pick-t span { color: var(--yellow); white-space: nowrap; }
.pick-m { margin: 0; color: rgba(239, 228, 204, .8); font-size: 16px; }
.pick .hold { justify-self: center; width: auto; min-width: 220px; border-color: var(--paper); color: var(--paper); }
.pick .hold:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 900px) {
  .picks-top { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .picks-fig { height: clamp(520px, 44vw, 660px); }
  .picks-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick--2 { margin-top: 70px; } .pick--3 { margin-top: 24px; }
}

/* the closing line of a section: his face in a little panel, the line in a balloon */
.say { display: flex; align-items: center; gap: 46px; margin-top: clamp(48px, 7vh, 80px); }
.say-face { flex: none; width: clamp(84px, 9vw, 128px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; background: var(--yellow); border: solid var(--ink); border-width: 3px 4px 4px 3px; }
.say .bal { flex: 0 1 auto; min-width: 0; max-width: 24em; padding: 1.55em 2.4em; font-size: clamp(16px, 1.2vw, 19px); text-wrap: balance; }
/* a section's closing line is the last panel of its page: framed, halftone ground, face and balloon centred */
.say--end { position: relative; justify-content: center; gap: clamp(46px, 5vw, 72px); padding: clamp(26px, 3.4vw, 44px) clamp(20px, 4vw, 56px); background: var(--night); border: solid var(--ink); border-width: 3px 4.5px 5px 3px; overflow: hidden; }
.say--end::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #2f86b9 2px, transparent 2.4px); background-size: 12px 12px; opacity: .45; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.say--end > * { position: relative; }
.say--wall { flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; }
.say--wall .bal--l::before, .say--wall .bal--l::after { display: none; }
@media (max-width: 639px) { .say { gap: 34px; } .say-face { width: 64px; } .say .bal { flex: 1 1 0; padding: 1.25em 1.4em; font-size: 14px; } .say--end { padding: 22px 14px; } }

/* back issues: graded, priced, already bagged */
.bins { display: grid; gap: 22px; margin: clamp(48px, 7vh, 80px) 0 0; padding: 0; list-style: none; }
.bin { display: grid; grid-template-columns: clamp(104px, 26vw, 150px) minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px; background: var(--paper); color: var(--ink); border: solid var(--ink); border-width: 3px 4px 4px 3px; box-shadow: inset 0 0 50px rgba(150, 110, 40, .16); }
.bin-cover { position: relative; margin: 0; aspect-ratio: 720 / 1040; }
.bin-cover img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); }
.bag.bag--on { opacity: 1; transform: none; }
.bag--on .bag-slip { opacity: 0; transform: translateY(14px) rotate(4deg); transition: opacity .25s, transform .4s var(--pop); }
.is-held .bag--on .bag-slip { opacity: 1; transform: rotate(4deg); }
.sticker { position: absolute; z-index: 3; right: -10px; bottom: 12px; padding: 5px 8px; background: #fffaf0; border: 2px solid var(--ink); font: 400 15px/1 var(--f-d); transform: rotate(-6deg); }
.bin-text { display: grid; gap: 8px; }
.bin-t { margin: 0; font: 400 clamp(18px, 1.5vw, 23px)/1.05 var(--f-d); text-transform: uppercase; }
.bin-t span { color: var(--red); white-space: nowrap; }
.bin-m { margin: 0; font-size: 15.5px; line-height: 1.45; }
.bin-note { margin: 0; font-size: 13.5px; color: #4a3d30; }
.bin .hold { justify-self: stretch; width: 100%; margin-top: 4px; }
.bin-t, .bin-m, .bin-note { overflow-wrap: anywhere; }
@media (min-width: 640px) { .bin .hold { justify-self: start; width: auto; min-width: 200px; } }
@media (max-width: 479px) { .bin { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px; } .sticker { font-size: 12px; right: -6px; } }
@media (min-width: 1024px) { .bins { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bin:nth-child(even) { margin-top: 40px; } }

/* ======================================================================
   THE BACK ROOM: dividers rising out of a longbox
   ====================================================================== */
.backroom { padding: var(--pad) var(--g) 0; }
.br-top { display: grid; gap: 28px; align-items: end; }
.br-fig { margin: 0; justify-self: center; width: min(76%, 380px); }
.br-fig img { width: 100%; height: auto; filter: var(--fig-ink); }
.br-head { display: grid; gap: 34px; justify-items: end; text-align: right; max-width: 1000px; margin-left: auto; }
@media (min-width: 900px) { .br-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .br-fig { justify-self: start; width: min(100%, 440px); } }
.br-head .lede { max-width: 31em; }
.longbox { position: relative; margin-top: clamp(64px, 10vh, 120px); }
.dividers { position: relative; z-index: 1; display: grid; gap: 52px 16px; margin: 0; padding: 0 clamp(14px, 2.6vw, 44px); list-style: none; }
.dv { position: relative; padding: 24px 22px 70px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); }
.dv h3 {
  position: absolute; bottom: calc(100% - 3px); left: var(--tab, 12px); margin: 0; padding: 9px 16px 5px;
  background: var(--paper); border: 3px solid var(--ink); border-bottom: 0; border-radius: 12px 12px 0 0;
  font: 400 clamp(15px, 1.15vw, 19px)/1.1 var(--f-d); text-transform: uppercase; white-space: nowrap;
}
.dv p { margin: 0; font-size: 17px; line-height: 1.5; }
.dv-2 { --tab: 18%; } .dv-3 { --tab: 6%; } .dv-4 { --tab: 10px; }
.dv-2, .dv-4 { background: #f6efdc; } .dv-2 h3, .dv-4 h3 { background: #f6efdc; }
.longbox-front {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: -46px; height: clamp(96px, 13vh, 136px); padding: 0 clamp(20px, 3vw, 48px);
  background: #f4ecd8 linear-gradient(180deg, #ddd0b1 0 14px, var(--ink) 14px 17px, transparent 17px); border: 3px solid var(--ink); color: var(--ink);
}
.lb-label { margin-top: 14px; white-space: nowrap; padding: 10px 16px; background: var(--white); border: 3px solid var(--ink); font-weight: 800; font-size: clamp(15px, 1.3vw, 20px); text-transform: uppercase; letter-spacing: .04em; }
.lb-hole { flex: none; margin-top: 14px; width: clamp(84px, 8vw, 124px); height: 32px; border-radius: 16px; background: #0b0908; border: 3px solid #b9a77f; box-shadow: inset 0 6px 0 rgba(255, 255, 255, .06), 0 -2px 0 var(--ink); }
@media (min-width: 900px) {
  .dividers { grid-template-columns: 1.08fr .94fr 1.14fr .9fr; align-items: end; }
  .dv { transform: translateY(var(--rise, 0px)); }
  .dv-1 { --lift: 22px; } .dv-2 { --lift: 64px; } .dv-3 { --lift: 0px; } .dv-4 { --lift: 40px; }
  .dv { margin-bottom: var(--lift); }
}

/* ======================================================================
   GAME NIGHTS
   ====================================================================== */
.events { padding: var(--pad) var(--g) 0; }
.ev-copy .lede { margin-top: 34px; }
.ev-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 3px solid rgba(239, 228, 204, .16); }
.ev-list li { display: grid; gap: 4px 28px; padding: 22px 0; border-bottom: 3px solid rgba(239, 228, 204, .16); }
.ev-when { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ev-day { font: 400 22px/1.1 var(--f-d); text-transform: uppercase; }
.ev-time { font-weight: 700; font-size: 16px; color: var(--yellow); }
.ev-list h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.ev-list li > p:last-child { margin: 0; color: rgba(239, 228, 204, .82); max-width: 36em; }
.ev-list .is-fri .ev-day { color: var(--yellow); }
.ev-art { position: relative; margin: 0; }
.ev-art .pn-frame { position: relative; aspect-ratio: 4 / 5; }
.ev-art .cap { position: absolute; z-index: 2; left: 16px; top: 16px; max-width: calc(100% - 32px); }
@media (min-width: 640px) {
  .ev-list li { grid-template-columns: 190px minmax(0, 1fr); }
  .ev-when { grid-row: 1 / 3; display: grid; align-content: start; }
}
@media (min-width: 1024px) {
  .ev-art { position: sticky; top: calc(var(--hdr) + 32px); }
}

/* ======================================================================
   PULL LISTS: a back-cover ad with a clip-out coupon
   ====================================================================== */
.pull { padding: var(--pad) var(--g) 0; }
.ad { position: relative; padding: clamp(26px, 4vw, 64px); background: var(--yellow); color: var(--ink); border: solid var(--ink); border-width: 4px 5px 6px 4px; box-shadow: inset 0 0 70px rgba(150, 100, 20, .22); }
.ad::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(224, 64, 42, .55) 1.4px, transparent 1.8px); background-size: 9px 9px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 32%); mask-image: linear-gradient(180deg, #000, transparent 32%); opacity: .5; }
.ad-top { position: relative; z-index: 1; display: grid; gap: clamp(28px, 3.2vw, 50px); text-align: center; justify-items: center; }
.ad-h { margin: 0; font: 400 clamp(44px, 7.4vw, 124px)/.9 var(--f-d); text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); text-shadow: 3px 3px 0 var(--red); text-wrap: balance; }
.ad-h em { font-style: normal; color: var(--red); text-shadow: 3px 3px 0 var(--ink); }
.ad-sub { margin: 0; font-size: clamp(16px, 1.4vw, 21px); }
.ad-grid { position: relative; z-index: 1; display: grid; gap: clamp(32px, 4vw, 56px); margin-top: clamp(36px, 5vh, 60px); align-items: start; }
.ad-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ad-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.ad-n { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: var(--yellow); border-radius: 50%; font: 400 24px/1 var(--f-d); }
.ad-steps p { margin: 4px 0 0; font-size: 17px; line-height: 1.5; }
.ad-steps strong { display: block; font: 400 20px/1.15 var(--f-d); text-transform: uppercase; margin-bottom: 4px; }
/* a sample pull box: three bagged books standing in a short box with a name tab */
.ad-box { display: grid; place-items: center; }
.pbox { position: relative; width: min(100%, 340px); padding-top: 70px; }
.pbox-books { position: relative; height: 230px; }
.pbox-books img { position: absolute; bottom: 0; width: 46%; height: auto; border: 2px solid var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 10px 18px -10px rgba(0, 0, 0, .7); }
.pbox-books img:nth-child(1) { left: 4%; transform: rotate(-9deg); }
.pbox-books img:nth-child(2) { left: 27%; bottom: 14px; transform: rotate(2deg); }
.pbox-books img:nth-child(3) { left: 50%; transform: rotate(10deg); }
.pbox-front { position: relative; z-index: 2; height: 120px; margin-top: -86px; background: #f4ecd8; border: solid var(--ink); border-width: 4px 5px 5px 4px; display: grid; place-items: center; box-shadow: inset 0 12px 0 #ddd0b1; }
.pbox-tab { display: inline-block; min-width: 60%; max-width: 90%; padding: 10px 14px; background: var(--white); border: 3px solid var(--ink); text-align: center; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coupon { position: relative; padding: clamp(20px, 2.4vw, 32px); background: var(--white); outline: 3px dashed var(--ink); outline-offset: -12px; }
.coupon-h { margin: 0 0 4px; font-size: 15px; color: var(--red); }
@media (max-width: 639px) { .coupon .btn--xxl { font-size: 15px; padding: 0 12px; } .next .display { font-size: clamp(34px, 10vw, 44px); } }
@media (min-width: 1024px) { .ad-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); } .ad-box { margin-top: -10px; } }
@media (min-width: 640px) and (max-width: 1023px) { .ad-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .coupon { grid-column: 1 / -1; } }

/* ======================================================================
   NEXT ISSUE: the box at the end of every comic
   ====================================================================== */
.next { display: grid; gap: clamp(36px, 4vw, 64px); padding: clamp(24px, 3.4vw, 52px); border: solid var(--yellow); border-width: 4px 5px 6px 4px; background: #13100d; box-shadow: inset 0 0 0 3px var(--ink); }
@media (min-width: 1024px) { .next { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }

/* ======================================================================
   LETTERS PAGE: two columns of newsprint, answered in bold
   ====================================================================== */
.letters { padding: var(--pad) var(--g) 0; }
.lp { padding: clamp(26px, 4vw, 60px); background: var(--paper); color: var(--ink); border: solid var(--ink); border-width: 3px 4px 5px 3px; box-shadow: inset 0 0 80px rgba(150, 110, 40, .2); }
.lp-head { display: grid; gap: 28px; padding-bottom: 24px; border-bottom: 3px double var(--ink); }
.lp-head .display { color: var(--ink); }
.lp-head .display em { color: var(--red); }
.lp-sub { margin: 0; font-size: 18px; }
.lp-cols { columns: 1; column-gap: 48px; column-rule: 2px solid rgba(22, 18, 15, .25); margin-top: 28px; }
.letter { break-inside: avoid; margin: 0 0 28px; }
.lt-q { margin: 0; font-size: 17px; line-height: 1.55; font-style: italic; }
.lt-by { margin: 4px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6b5843; }
.lt-a { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 700; }
.lt-a::before { content: "PT: "; color: var(--red); font-family: var(--f-d); font-weight: 400; }
@media (min-width: 900px) { .lp-cols { columns: 2; } }

/* ======================================================================
   VISIT: he steps out of the storefront panel toward you
   ====================================================================== */
.visit { display: grid; gap: clamp(40px, 4.4vw, 72px); padding: var(--pad) var(--g) var(--pad); overflow-x: clip; }
.visit-art { position: relative; margin: 0; padding-top: 40px; }
.visit-art .pn-frame { position: relative; aspect-ratio: 4 / 5; }
.v-day { will-change: opacity; }
.visit-cal { position: absolute; z-index: 3; right: -2%; bottom: -8%; height: 96%; width: auto; max-width: none; filter: var(--fig-ink); pointer-events: none; }
.visit-bal { position: absolute; z-index: 4; left: 6%; top: 8%; max-width: 13em; }
.visit-art .cap { position: absolute; z-index: 2; left: 16px; bottom: 16px; max-width: min(19em, 60%); }
.store-day {
  --st-sky: #f2dc98; --st-dots: .2; --st-moon: 0; --st-sun: 1; --st-nb: #a9cbdc; --st-nbw: #8db3c7; --st-brick: #7a3326; --st-glass: #2c4f61;
  --st-lit: 0; --st-win: #f3c02b; --st-win2: #d9a21c; --st-gate: 0; --st-door: #a6cfe0; --st-street: #cdbf9f; --st-spill: 0; --st-cone: 0;
}
.visit-copy .lede { margin-top: 30px; }
.visit-act { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: 30px; }
.visit-act .btn { flex: 1 1 auto; }
.visit-grid { display: grid; gap: 30px; margin-top: 40px; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; border: solid var(--ink); border-width: 3px 4px 4px 3px; }
.map-note { margin-top: 8px; font-size: 15px; color: rgba(239, 228, 204, .72); }
.mini { margin: 0 0 10px; font: 400 17px/1.2 var(--f-d); text-transform: uppercase; color: var(--yellow); }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 2px solid rgba(239, 228, 204, .12); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; color: rgba(239, 228, 204, .86); }
.hours dd span { display: block; font-size: 14px; font-weight: 700; color: var(--yellow); }
.hours .is-wed dt { color: var(--yellow); }
.hours-note { margin: 14px 0 0; font-size: 16px; color: rgba(239, 228, 204, .72); }
@media (max-width: 639px) { .visit-cal { height: 88%; right: -4%; } .visit-bal { left: -4px; top: 0; max-width: 9em; font-size: 13px; padding: .9em 1.1em; } }
@media (min-width: 640px) { .visit-art .pn-frame { aspect-ratio: 16 / 11; } .visit-cal { height: 112%; } }
@media (min-width: 1024px) {
  .visit { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .visit-art { position: sticky; top: calc(var(--hdr) + 24px); }
  .visit-art .pn-frame { aspect-ratio: 4 / 5; }
  .visit-cal { height: 100%; right: -7%; }
}

/* ======================================================================
   FORMS (coupon and hold box)
   ====================================================================== */
.pull-form, .hold-form { display: grid; gap: 16px; }
.pull-form[hidden], .hold-form[hidden], .pull-done[hidden], .hold-done[hidden] { display: none; }
.f-row { display: grid; gap: 16px; }
.f { display: grid; gap: 7px; min-width: 0; }
.f-l { font-weight: 700; font-size: 16px; }
.opt { font-weight: 400; color: #6a5847; }
.f input, .f textarea, .f select { width: 100%; min-height: 54px; padding: 12px 14px; background: #fffdf6; border: solid var(--ink); border-width: 2.5px 3px 3.5px 2.5px; border-radius: 0; font-size: 17px; color: var(--ink); }
.f select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-size: 7px 7px; background-repeat: no-repeat; padding-right: 40px; }
.f textarea { min-height: 100px; resize: vertical; line-height: 1.45; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; box-shadow: 4px 4px 0 var(--cyan); }
.f [aria-invalid="true"] { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.f-err { margin: 0; color: var(--red); font-weight: 700; }
.f-err:empty { margin-top: -16px; }
.f-note { margin: 0; font-size: 14px; color: #5d4c3b; }
.pull-done, .hold-done { display: grid; align-content: center; gap: 26px; }
.pull-done .cap, .hold-done .cap { justify-self: start; }
.pull-done .bal { justify-self: start; max-width: 20em; margin-left: 10px; }
.done-note { margin: 10px 0 0; font-size: 15px; color: #5d4c3b; max-width: 30em; }
.pull-noscript { margin: 0; color: var(--ink); }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }

/* ======================================================================
   THE HOLD BOX: a drawer that slides in from the right like a longbox
   ====================================================================== */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 6, 5, .62); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 480px); display: flex; flex-direction: column; background: #f4ecd8; color: var(--ink); border-left: 5px solid var(--ink); box-shadow: inset 0 14px 0 #ddd0b1; transform: translateX(104%); transition: transform .38s var(--ease); overscroll-behavior: contain; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-box { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 24px 16px; border-bottom: 3px solid var(--ink); }
.drawer-t { margin: 0; font: 400 26px/1 var(--f-d); text-transform: uppercase; }
.drawer-x { min-height: 44px; padding: 0 14px; background: none; border: 2.5px solid var(--ink); font: 400 14px/1 var(--f-d); text-transform: uppercase; color: var(--ink); cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px calc(28px + env(safe-area-inset-bottom)); }
.hold-main { display: grid; gap: 18px; }
.hold-main[hidden] { display: none; }
.hold-empty { margin: 0; font-size: 17px; }
.hold-items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hi { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; background: var(--white); border: 2px solid var(--ink); }
.hi img { width: 54px; height: auto; border: 1.5px solid var(--ink); }
.hi-t { margin: 0; font: 400 16px/1.1 var(--f-d); text-transform: uppercase; }
.hi-m { margin: 4px 0 0; font-size: 14px; color: #5d4c3b; }
.hi-x { min-height: 44px; padding: 0 10px; background: none; border: 0; font-weight: 700; font-size: 14px; color: var(--red); text-decoration: underline; cursor: pointer; }
.hold-total { margin: 0; font-weight: 800; font-size: 17px; }
.hold-total:empty { display: none; }
.done-box { position: relative; display: grid; place-items: center; }
.pbox--sm { width: min(100%, 300px); padding-top: 50px; }
.pbox--sm .pbox-books { height: 190px; }
.pbox--sm .pbox-books img { width: 40%; }
.pbox--sm .pbox-books img:nth-child(4) { left: 58%; bottom: 8px; transform: rotate(16deg); }
.sfx-mini--done { right: 2%; top: 20%; }
html.drawer-open { overflow: hidden; }

/* ======================================================================
   PAGES: splash headers, the shelf, contents spread, band, turn the page
   ====================================================================== */
.nav a[aria-current="page"], .menu a[aria-current="page"] { color: var(--yellow); }

/* splash: the first panel of every inner page; the Page Turner breaks out of its top */
.splash { position: relative; padding: calc(var(--hdr) + clamp(48px, 7vh, 80px)) var(--g) 0; }
.splash-panel {
  position: relative; overflow: hidden; display: grid; align-items: end; min-height: clamp(400px, 60vh, 580px);
  padding: clamp(26px, 4vw, 64px); background: var(--paper); color: var(--ink);
  border: solid var(--ink); border-width: 3px 4.5px 5px 3px; box-shadow: inset 0 0 90px rgba(150, 105, 30, .26);
}
.splash-panel::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%; border-left: 4px solid var(--ink);
  background: radial-gradient(circle, rgba(22, 18, 15, .3) 1.9px, transparent 2.3px) 0 0 / 11px 11px, var(--yellow);
}
.splash--c .splash-panel::before { background-color: var(--cyan); }
.splash--n .splash-panel::before { background-color: var(--night); background-image: radial-gradient(circle, rgba(47, 134, 185, .6) 1.9px, transparent 2.3px); }
.splash-copy { position: relative; z-index: 1; display: grid; gap: 34px; max-width: 54%; }
.splash-h { color: var(--ink); font-size: clamp(44px, 5.4vw, 96px); }
.splash-h em { color: var(--red); }
.splash-copy .lede { color: #3d3229; max-width: 30em; }
.splash-copy .cap { justify-self: start; }
.splash-fig {
  position: absolute; z-index: 2; right: calc(var(--g) + 1.5%); bottom: 5px; width: 40%; height: calc(100% - var(--hdr) - clamp(48px, 7vh, 80px) + 64px);
  max-width: none; object-fit: contain; object-position: 50% 100%; filter: var(--fig-ink);
}
@media (max-width: 899px) {
  .splash-panel { align-items: start; min-height: 0; padding-bottom: 330px; }
  .splash-panel::before { top: auto; width: auto; left: 0; height: 300px; border-left: 0; border-top: 4px solid var(--ink); }
  .splash-copy { max-width: none; min-width: 0; }
  .splash-panel { padding-left: 22px; padding-right: 22px; }
  .splash-h { font-size: clamp(32px, 9.4vw, 46px); }
  .splash-fig { left: var(--g); right: var(--g); width: calc(100% - 2 * var(--g)); height: 340px; }
}

/* the full shelf on /new/: every rack card, wrapped onto shelves */
.shelf { padding: clamp(56px, 8vh, 96px) var(--g) 0; }
.shelf-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 76px clamp(22px, 2.6vw, 40px);
  margin: 0; padding: 56px clamp(18px, 3vw, 48px) 48px; list-style: none; border: 3px solid var(--ink);
  background: #16222b repeating-linear-gradient(180deg, #19272f 0 44px, #0d151a 44px 48px, #22323c 48px 50px);
}
.shelf .book { width: auto; }
.shelf .book::before { display: none; }
.shelf .book-cover { width: 100%; height: auto; aspect-ratio: 720 / 1040; }
.shelf .book-cover::after { content: ""; position: absolute; z-index: 3; left: -16px; right: -16px; bottom: -14px; height: 22px; background: linear-gradient(180deg, #efe4cc, #cdb98e); border: solid var(--ink); border-width: 3px 0; }
@media (max-width: 639px) {
  .shelf-grid { grid-template-columns: 1fr 1fr; gap: 56px 14px; padding: 40px 12px 32px; }
  .shelf .talker { padding: 10px 9px; }
  .shelf .book-t { font-size: 14.5px; }
  .shelf .book-cr, .shelf .book-d, .shelf .book-m { font-size: 12px; }
  .shelf .hold { min-height: 46px; font-size: 12px; padding: 0 6px; }
  .shelf .pull-tg { font-size: 12px; gap: 8px; }
}

/* home: the rack ends with a way to see every issue on one page */
.wall-all {
  display: inline-flex; align-items: center; min-height: 52px; margin-top: 26px; padding: 0 20px; background: var(--yellow); color: var(--ink);
  border: solid var(--ink); border-width: 2.5px 3px 3.5px 2.5px; box-shadow: 4px 4px 0 var(--red); text-decoration: none;
  font: 400 15px/1.1 var(--f-d); text-transform: uppercase;
}

/* home: In this issue, one panel per page of the site */
.toc { padding: var(--pad) var(--g) 0; }
.toc > .display { margin-bottom: clamp(36px, 5vh, 56px); }
.toc-page { display: grid; gap: var(--gut); grid-template-columns: minmax(0, 1fr); grid-auto-rows: 320px; }
.toc-pn { position: relative; display: block; overflow: hidden; color: var(--ink); text-decoration: none; border: solid var(--ink); border-width: 3px 4.5px 5px 3px; }
.toc-art { position: absolute; inset: 0; background: radial-gradient(circle, rgba(22, 18, 15, .28) 1.9px, transparent 2.3px) 0 0 / 11px 11px, var(--yellow); }
.toc-art--c { background-color: var(--cyan); }
.toc-art--r { background-color: var(--red); }
.toc-art--n { background-color: var(--night); background-image: radial-gradient(circle, rgba(47, 134, 185, .6) 1.9px, transparent 2.3px); }
.toc-art img { position: absolute; left: 64%; bottom: 0; height: 90%; width: auto; max-width: none; transform: translateX(-50%); filter: var(--fig-ink); transition: transform .5s var(--ease); }
.toc-pn:hover .toc-art img, .toc-pn:focus-visible .toc-art img { transform: translateX(-50%) translateY(-8px); }
.toc-cap { position: absolute; z-index: 2; left: 14px; top: 14px; max-width: min(19em, calc(100% - 28px)); }
.toc-cap b { display: block; margin-bottom: 4px; font: 400 1.4em/1.05 var(--f-d); font-style: normal; }
.toc-4 .toc-art img { height: 100%; left: 66%; }
@media (min-width: 900px) {
  .toc-page { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 23vw, 330px); }
  .toc-1 { grid-column: 1 / 5; grid-row: span 2; } .toc-2, .toc-3 { grid-column: 5 / 7; }
  .toc-4 { grid-column: 1 / 4; } .toc-5 { grid-column: 4 / 7; }
  .toc-1 .toc-art img { height: 84%; left: 62%; }
  .toc-1 .toc-cap { font-size: clamp(16px, 1.3vw, 20px); }
}

/* home: the visit band */
.band { padding: var(--pad) var(--g) var(--pad); }
.band-in { display: grid; gap: 28px; padding: clamp(28px, 4vw, 64px); background: var(--yellow); color: var(--ink); border: solid var(--ink); border-width: 4px 5px 6px 4px; box-shadow: inset 0 0 70px rgba(150, 100, 20, .22); }
.band-line { font-size: clamp(40px, 5.2vw, 88px); max-width: 11em; }
.band-line em { color: var(--red); }
.band-note { margin: 30px 0 0; font-weight: 700; font-size: 17px; max-width: 34em; }
.band-act { display: grid; gap: 16px; justify-items: start; }
.band-link { min-height: 32px; font-weight: 800; color: var(--ink); }
@media (min-width: 1024px) { .band-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 56px; } .band-act { justify-items: end; } }

/* every inner page ends by turning to the next one */
.turn { padding: clamp(64px, 9vh, 112px) var(--g) var(--pad); }
.turn-a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: clamp(22px, 3vw, 40px);
  background: var(--yellow); color: var(--ink); text-decoration: none; border: solid var(--ink); border-width: 3px 4.5px 5px 3px;
  box-shadow: 6px 6px 0 var(--red); transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.turn-a:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--red); }
.turn-k { grid-column: 1; font-size: 14px; color: #5d4c3b; }
.turn-t { grid-column: 1; font: 400 clamp(26px, 3.4vw, 54px)/1 var(--f-d); text-transform: uppercase; }
.turn-arrow { grid-column: 2; grid-row: 1 / 3; width: clamp(46px, 5vw, 72px); aspect-ratio: 1; background: var(--ink); clip-path: polygon(0 32%, 54% 32%, 54% 4%, 100% 50%, 54% 96%, 54% 68%, 0 68%); }

/* page-specific spacing */
.pull--page { padding-top: calc(var(--hdr) + clamp(36px, 6vh, 72px)); }
.visit--page { padding-top: calc(var(--hdr) + clamp(44px, 7vh, 80px)); }
.page-back-issues .backroom { padding-top: clamp(40px, 6vh, 72px); }
.page-back-issues .bins { margin-top: 0; }
.page-close { padding: clamp(48px, 7vh, 80px) var(--g) 0; }
.page-close .say { margin-top: 0; }

/* ---------- Footer: the comic's indicia ---------- */
.foot { padding: clamp(56px, 8vh, 96px) var(--g) 40px; border-top: 3px solid #241f1b; }
.foot-top { display: grid; gap: 32px; align-items: end; }
.foot-mark { display: block; width: min(100%, 460px); }
.foot-mark img { width: 100%; height: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-nav a { min-height: 32px; font-weight: 600; text-decoration: none; color: rgba(239, 228, 204, .82); }
.foot-nav a:hover { color: var(--yellow); }
.foot-addr { margin: 0; font-size: 16px; color: rgba(239, 228, 204, .72); }
.indicia { display: grid; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 2px solid #241f1b; }
.indicia p { max-width: 1100px; margin: 0; font-size: 11.5px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: rgba(239, 228, 204, .56); }
.indicia b { color: rgba(239, 228, 204, .8); }
.indicia a { color: rgba(239, 228, 204, .86); }
/* logo and address share the first row; the nav gets its own row, on one line */
@media (min-width: 1024px) {
  .foot-top { grid-template-columns: minmax(280px, 460px) minmax(0, 1fr); row-gap: 40px; }
  .foot-addr { grid-column: 2; grid-row: 1; text-align: right; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 2px solid #241f1b; }
  .foot-nav a { white-space: nowrap; font-size: clamp(16px, 1.25vw, 19px); }
}

/* ---------- Reveals (only once main.js is running) ---------- */
.rv [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.rv .bal[data-rv] { transform: translateY(10px) scale(.9); transition: opacity .4s var(--ease), transform .55s var(--pop); }
.rv [data-rv].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv [data-rv] { opacity: 1; transform: none; }
}