:root {
  --ink: #2e0d28;
  --ink-2: #6a4a63;
  --plum: #4a1440;
  --paper: #ffffff;
  --tint: #fff5fb;
  --line: #f1dcea;
  --deep: #a3118f;
  --deep-2: #860c75;
  --stripes: repeating-linear-gradient(to right, rgba(74, 20, 64, .07) 0 2px, transparent 2px 6px);
  --hero: var(--stripes), linear-gradient(to top right, #fbe13b 0%, #fb9fc0 50%, #f22de4 100%);
  --display: "Alfa Slab One", "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--deep-2); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 30; }
.skip:focus { top: 8px; color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 1.4rem/1 var(--display); flex: none; }
.brand img { border-radius: 10px; display: block; }
.brand i { font-style: normal; color: var(--deep); }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); font-weight: 600; font-size: .975rem; text-decoration: none; white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--deep); }

/* Hero */
.hero { background: var(--hero); color: var(--ink); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero--short .wrap { padding-top: 96px; padding-bottom: 112px; }
.hero h1 { color: var(--ink); margin-bottom: .35em; }
.eyebrow { font-weight: 800; font-size: .95rem; margin-bottom: 1em; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.hero .lead { font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__wall { position: relative; height: 430px; }
.mini { position: absolute; background: #fff; color: var(--ink); width: 280px; padding: 10px 10px 16px; box-shadow: 0 18px 40px rgba(74, 20, 64, .35); }
.mini b { display: block; font: 400 1.1rem/1.2 var(--display); margin: 26px 8px 0; }
.mini p { font-size: .95rem; line-height: 1.4; margin: 8px 8px 0; color: var(--ink-2); }
.mini--a { z-index: 3; left: 50%; top: 22px; margin-left: -140px; transform: rotate(-2deg); }
.mini--b { z-index: 2; right: -6px; top: 56px; transform: rotate(7deg); }
.mini--c { z-index: 1; left: -8px; top: 66px; transform: rotate(-9deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; background: var(--ink); color: #fff; border: 2px solid var(--ink); font-weight: 800; font-size: .975rem; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; transform: translateY(-1px); }
.btn--light { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Sections */
.band { padding: 64px 0; }
.band--tint { background: var(--tint); }
.band--intro { padding: 48px 0; }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: .6em; }
.band__head h2 { margin: 0; }
.band__head a { font-weight: 800; }
.pagehead { background: var(--hero); color: var(--ink); padding: 36px 0 44px; }
.pagehead h1 { color: var(--ink); font-size: clamp(2.2rem, 6vw, 4.2rem); margin-bottom: .3em; max-width: 18em; }
.pagehead .lead { font-weight: 600; margin-bottom: .6em; }
.meta { font-weight: 600; font-size: .95rem; margin: 0; }
.crumbs { font-size: .9rem; font-weight: 600; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a, .crumbs span { color: var(--ink); }
.crumbs a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.crumbs i { font-style: normal; opacity: .7; }
.disc { font-size: .9rem; color: var(--ink-2); margin-bottom: 24px; }

/* Posters */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.poster { display: flex; flex-direction: column; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(74, 20, 64, .07); transition: transform .18s ease, box-shadow .18s ease; scroll-margin-top: 90px; }
.poster:hover { transform: rotate(-.6deg) translateY(-3px); box-shadow: 0 16px 30px rgba(74, 20, 64, .16); }
.poster:nth-child(even):hover { transform: rotate(.6deg) translateY(-3px); }
.poster:target { outline: 3px solid var(--deep); outline-offset: 3px; }

/* The police lineup panel */
.lineup { position: relative; display: flex; align-items: center; justify-content: center; height: 168px; color: var(--plum); text-decoration: none;
  background-image: repeating-linear-gradient(to bottom, rgba(74, 20, 64, .2) 0 1px, transparent 1px 24px), linear-gradient(45deg, #fbe13b, #f8a3b0); }
.lineup:hover { color: var(--plum); }
.poster:nth-child(3n+2) .lineup, .mini--b .lineup { background-image: repeating-linear-gradient(to bottom, rgba(74, 20, 64, .2) 0 1px, transparent 1px 24px), linear-gradient(45deg, #f8a3b0, #f22de4); }
.poster:nth-child(3n) .lineup, .mini--c .lineup { background-image: repeating-linear-gradient(to bottom, rgba(74, 20, 64, .2) 0 1px, transparent 1px 24px), linear-gradient(45deg, #fbe13b, #f22de4); }
.lineup::after { content: "6'\A\A 5'\A\A 4'"; position: absolute; right: 8px; top: 2px; white-space: pre; font: 800 11px/24px var(--body); color: rgba(74, 20, 64, .85); text-align: right; }
.icon { width: 84px; height: 84px; display: block; margin-top: -14px; }
.lineup--photo { background: #fff; }
.lineup--photo::after { display: none; }
.lineup--photo img { max-height: 148px; object-fit: contain; margin-top: -14px; }
.placard { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 3px 12px 2px; font: 400 1rem/1.3 var(--display); white-space: nowrap; }
.placard small { font-size: .78em; color: var(--deep); margin-right: 3px; }

.poster__body { display: flex; flex-direction: column; flex: 1; padding: 30px 10px 8px; }
.poster__body h2, .poster__body h3 { font-size: 1.35rem; line-height: 1.18; margin-bottom: .55em; }
.poster__body p { font-size: 1rem; line-height: 1.5; margin-bottom: .75em; }
.poster__body b { display: block; font-weight: 800; font-size: .84rem; color: var(--deep); }
.charge { font-weight: 600; }
.note { background: var(--tint); padding: 10px 12px; }
.note b { color: var(--deep-2); }
.skipif { color: var(--ink-2); }
.skipif b { color: var(--ink); }
.poster__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.bounty { font: 400 1.05rem/1.2 var(--display); }
.bounty small { display: block; font: 800 .78rem/1.3 var(--body); color: var(--ink-2); }
.poster .btn { min-height: 44px; padding: 8px 14px; font-size: .94rem; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.tile strong { font: 400 1.15rem/1.2 var(--display); }
.tile span { font-size: .92rem; color: var(--ink-2); }
.tile:hover { color: var(--ink); border-color: var(--deep); transform: translateY(-2px); }
.tile--all { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile--all span { color: #f0d9e8; }
.tile--all:hover { color: #fff; background: var(--deep); border-color: var(--deep); }

.bounties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bountytile { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 170px; padding: 20px; color: var(--ink); text-decoration: none; transition: transform .15s; }
.bountytile:hover { color: var(--ink); transform: translateY(-3px); }
.bountytile strong { font: 400 clamp(1.5rem, 2.8vw, 2.1rem)/1.05 var(--display); }
.bountytile span { font-weight: 700; }
.bountytile--0 { background: var(--stripes), #fbe13b; }
.bountytile--1 { background: var(--stripes), #fbc27c; }
.bountytile--2 { background: var(--stripes), #f8a3b0; }
.bountytile--3 { background: var(--stripes), #f22de4; }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.rules h3 { font-size: 1.3rem; }
.rules p { margin: 0; }

/* Guides */
.intro { display: grid; gap: 36px; }
.intro > div { max-width: 46em; }
.intro p { font-size: 1.125rem; }
.intro .disc { font-size: .9rem; margin: 18px 0 0; }
.glance { background: var(--tint); padding: 24px; }
.glance h2 { font-size: 1.35rem; }
.glance ol { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; }
.glance li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr; gap: 0 4px; padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.3; }
.glance li::before { content: counter(g); font: 400 1rem/1.3 var(--display); color: var(--deep); grid-row: span 2; }
.glance a { font-weight: 600; color: var(--ink); text-decoration: none; }
.glance a:hover { text-decoration: underline; color: var(--deep); }
.glance span { font-size: .875rem; color: var(--ink-2); }
.tips { margin: 0; padding: 0; list-style: none; }
.tips li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.tips li::before { content: "\2605"; position: absolute; left: 4px; top: 13px; color: var(--deep); font-size: 1.1rem; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 400 1.4rem/1.4 var(--display); color: var(--deep); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 18px; max-width: 42em; }

.hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.hub a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hub a:hover { border-color: var(--deep); color: var(--ink); }
.hub strong { font: 400 1.2rem/1.2 var(--display); }
.hub span { font-size: .95rem; line-height: 1.45; color: var(--ink-2); }

/* Filters */
.filters { display: none; margin-bottom: 28px; background: #fff; border: 1px solid var(--line); padding: 20px; }
.js .filters { display: block; }
.search input { width: 100%; min-height: 48px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 0; font: inherit; color: var(--ink); background: #fff; }
.search input::placeholder { color: var(--ink-2); }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.filters__row > span { font-weight: 800; font-size: .9rem; width: 56px; }
.chip { min-height: 40px; padding: 6px 14px; background: #fff; border: 1px solid #c9a9c0; color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }
.chip:hover { border-color: var(--deep); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__count { margin: 16px 0 0; font-weight: 700; }
.linkbtn { background: none; border: 0; color: var(--deep); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; margin-left: 10px; padding: 4px; }
.empty { text-align: center; font-size: 1.2rem; font-weight: 700; padding: 48px 0; }

/* Prose */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* Footer */
.foot { background: var(--ink); color: #f3e4ee; padding: 56px 0 28px; font-size: .95rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot h2 { font: 400 1.1rem/1.2 var(--display); color: #fff; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot__disc { margin: 36px 0 20px; padding-top: 22px; border-top: 1px solid #5f3a58; max-width: 56em; }
.foot__disc a { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot__base nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 56px; }
  .hero__wall { height: 340px; max-width: 420px; width: 100%; margin: 0 auto; }
  .mini--a { top: 0; }
  .mini--b, .mini--c { display: none; }
  .bounties { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: 1fr; gap: 24px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top__in { flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .nav { margin: 4px -16px 0; padding: 0 16px; gap: 18px; }
  html { scroll-padding-top: 108px; }
  .poster { scroll-margin-top: 110px; }
  .band { padding: 44px 0; }
  .wall { grid-template-columns: 1fr; gap: 20px; }
  .hub { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .filters__row > span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .poster:hover, .poster:nth-child(even):hover, .tile:hover, .bountytile:hover, .btn:hover { transform: none; }
}
