:root {
  --wall: #1b1a18;
  --paper: #eeeae1;
  --paper-2: #e6e1d5;
  --ink: #161514;
  --ink-2: #4a4742;
  --red: #c92a1c;
  --receipt: #f7f6f2;
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--wall); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--ink);
  font: 16px/1.5 Archivo, "Helvetica Neue", Arial, sans-serif; font-variation-settings: "wdth" 100;
  background: var(--wall) var(--grain);
}
a { color: inherit; }

/* thin strip up top, like a sticker on the wall */
.strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 16px 0; color: #a8a398; font: 500 13px/1 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.strip b { color: #eeeae1; font-weight: 600; }
.strip nav { display: flex; gap: 18px; }
.strip a { text-decoration: none; color: #d8d3c7; }
.strip a:hover { color: #fff; }

.wall { max-width: 1120px; margin: 0 auto; padding: 64px 16px 40px; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 360px); gap: 56px; justify-content: center; align-items: start; }

/* ---------- the poster ---------- */
.poster {
  position: relative; background: var(--paper) var(--grain-soft); padding: 44px 44px 0; transform: rotate(-.7deg);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 30px 60px -20px rgba(0,0,0,.7), 0 8px 18px rgba(0,0,0,.35);
}
.poster::before { /* faint fold lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 49.8%, rgba(0,0,0,.05) 50%, transparent 50.3%), linear-gradient(0deg, transparent 66.5%, rgba(0,0,0,.04) 66.7%, transparent 67%);
}
.tape { position: absolute; width: 130px; height: 34px; background: rgba(214, 205, 178, .72); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.tape.tl { top: -14px; left: -30px; transform: rotate(-38deg); }
.tape.tr { top: -12px; right: -34px; transform: rotate(33deg); }

.id { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 26px; }
.stamp {
  flex: none; transform: rotate(-8deg) translateY(-6px); color: var(--red); border: 4px solid var(--red); border-radius: 6px;
  padding: 6px 12px 7px; text-align: center; font: 900 30px/1 Archivo, sans-serif; font-variation-settings: "wdth" 70; text-transform: uppercase; letter-spacing: .02em; opacity: .88; mix-blend-mode: multiply;
}
.stamp small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; margin-top: 3px; font-variation-settings: "wdth" 100; }

h1 { margin: 0 0 26px; font-weight: 900; font-size: clamp(54px, 10.5vw, 92px); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; font-variation-settings: "wdth" 62; }

.photo { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: #d9d4c8; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.4) brightness(1.14); mix-blend-mode: multiply; }
.photo::after { /* photocopy halftone */
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .55;
  background-image: radial-gradient(circle at center, #000 .9px, transparent 1.3px); background-size: 4px 4px;
}

h2 { margin: 0; font-weight: 900; font-size: clamp(40px, 7vw, 60px); line-height: .9; text-transform: uppercase; font-variation-settings: "wdth" 75; }
.aka { margin: 6px 0 0; font-size: 20px; color: var(--ink-2); }
.aka b { color: var(--ink); }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 24px 0 0; padding: 18px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font: 500 15px/1.4 "IBM Plex Mono", monospace; }
.facts dt { text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.facts dd { margin: 0; }

.reward { font-size: 19px; line-height: 1.5; margin: 22px 0 0; max-width: 34em; }
.next { margin: 16px 0 0; font: 500 15px/1.4 "IBM Plex Mono", monospace; color: var(--ink-2); }
.next b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.call { display: block; margin: 24px -44px 0; padding: 20px 44px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 800; font-size: 22px; font-variation-settings: "wdth" 90; letter-spacing: .01em; }
.call:hover { background: var(--red); }

/* tear-off tabs */
.tabs { display: flex; margin: 0 -44px; height: 150px; }
.tab {
  flex: 1; min-width: 0; border: 0; border-left: 1.5px dashed rgba(0,0,0,.35); background: var(--paper) var(--grain-soft); color: var(--ink); cursor: pointer; padding: 10px 0;
  display: grid; place-items: center; font: 500 12px/1.25 "IBM Plex Mono", monospace; transition: transform .45s cubic-bezier(.5,-.2,.7,1), opacity .45s;
}
.tab:first-child { border-left: 0; }
.tab span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.tab span b { font-weight: 600; }
.tab:hover { background-color: var(--paper-2); }
.tab.torn { transform: translateY(46px) rotate(9deg); opacity: 0; pointer-events: none; }
.tab.copied span b::after { content: " ✓ copied"; }

/* ---------- side: sightings sheet + receipt ---------- */
.side { display: grid; gap: 40px; padding-top: 28px; }
.sheet {
  position: relative; background-color: #f3f0e8; padding: 30px 28px 26px; transform: rotate(1.2deg);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7), 0 4px 10px rgba(0,0,0,.3);
  background-image: var(--grain-soft), repeating-linear-gradient(0deg, transparent 0 31px, rgba(60, 100, 160, .16) 31px 32px);
}
.pin { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6b5e, var(--red) 55%, #6d140d); box-shadow: 0 3px 5px rgba(0,0,0,.5); }
.sheet h3 { margin: 0 0 14px; font-weight: 900; font-size: 30px; text-transform: uppercase; font-variation-settings: "wdth" 70; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sheet h3 span { font: 500 12px/1 "IBM Plex Mono", monospace; text-transform: none; color: var(--ink-2); }
.sheet h4 { margin: 22px 0 8px; font: 600 12px/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.sheet ol { list-style: none; margin: 0; padding: 0; font: 400 15px/32px "IBM Plex Mono", monospace; }
.sheet li { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.sheet li .who { overflow: hidden; text-overflow: ellipsis; }
.sheet li .n { color: var(--ink-2); }
.sheet li a { color: var(--ink-2); }
.none { margin: 0; font: 400 15px/32px "IBM Plex Mono", monospace; color: var(--ink-2); }
.totals { margin: 18px 0 0; font: 500 13px/1.5 "IBM Plex Mono", monospace; color: var(--ink-2); }

.receipt {
  position: relative; background: var(--receipt); width: 290px; justify-self: center; padding: 22px 22px 26px; transform: rotate(-1.6deg);
  font: 400 13px/1.55 "IBM Plex Mono", monospace; color: #222; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7);
  --zig: linear-gradient(-45deg, transparent 6px, var(--receipt) 0), linear-gradient(45deg, transparent 6px, var(--receipt) 0);
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: var(--zig); background-size: 12px 16px; background-position: bottom left; }
.r-head { margin: 0; text-align: center; font-weight: 600; letter-spacing: .12em; }
.r-time { margin: 6px 0 12px; text-align: center; color: #777; font-size: 12px; }
.receipt ul { list-style: none; margin: 0; padding: 12px 0; border-top: 1px dashed #999; border-bottom: 1px dashed #999; }
.receipt li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 3px 0; }
.receipt li .d { grid-column: 1 / -1; color: #777; font-size: 11.5px; line-height: 1.35; margin-top: -1px; overflow-wrap: anywhere; }
.receipt li .ok { font-weight: 600; }
.receipt li .no { color: var(--red); font-weight: 600; }
.r-foot { margin: 12px 0 0; text-align: center; color: #888; font-size: 11px; }

.fine { max-width: 1120px; margin: 0 auto; padding: 8px 16px 48px; color: #8d887e; font-size: 13px; line-height: 1.55; }
.fine p { max-width: 70em; margin: 8px 0; }

@media (max-width: 960px) {
  .wall { grid-template-columns: minmax(0, 640px); gap: 40px; padding-top: 28px; }
  .side { padding-top: 0; }
}
@media (max-width: 560px) {
  .poster { padding: 30px 22px 0; transform: none; }
  .call { margin: 22px -22px 0; padding: 18px 22px; font-size: 19px; }
  .tabs { margin: 0 -22px; height: 128px; }
  .tab:nth-child(n+7) { display: none; }
  .stamp { font-size: 20px; padding: 5px 8px; border-width: 3px; }
  .stamp small { font-size: 9px; }
  .tape { width: 84px; height: 26px; }
  .tape.tl { left: -14px; top: -10px; } .tape.tr { right: -14px; top: -10px; }
  .wall { padding-top: 44px; }
  .sheet, .receipt { transform: none; }
  .receipt { width: 100%; }
}
/* receipt prints line by line; sightings get written in */
@keyframes print { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.receipt li, .sheet li { animation: print .35s both; animation-delay: calc(var(--i, 0) * 140ms); }
.still li { animation: none; }

@media (prefers-reduced-motion: reduce) { .tab { transition: none; } .receipt li, .sheet li { animation: none; } }
