/* ENCORE ARCHIVE
   Rule from the Concert Collective research: photos are full color,
   data is black & white. The only other color is the lime action color. */
:root {
  --bg: #050505;
  --ink: #f4f4f1;
  --mute: #8d8d88;
  --line: #262624;
  --panel: #111110;
  --lime: #d6ff1f;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: min(1280px, 100% - 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin: 0 0 12px; }
.display { font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(44px, 8.4vw, 128px); margin: 0; }
.display.sm { font-size: clamp(32px, 5vw, 72px); }
.display .hl { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.lede { max-width: 58ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #c9c9c4; }
.amp { color: var(--mute); font-weight: 400; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: linear-gradient(#050505ee, #05050500); backdrop-filter: blur(6px); }
.brand img { height: 30px; width: auto; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px; border-radius: 999px; color: var(--mute); transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--ink); }
.nav nav a.on { color: #000; background: var(--ink); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: #000; font-weight: 700; padding: 14px 22px; border-radius: 4px; border: 1px solid var(--lime); cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #3a3a37; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn[disabled] { opacity: .4; cursor: default; }
.chip { font-family: var(--mono); font-size: 12px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); transition: all .15s; }
.chip:hover { color: var(--ink); border-color: #555; }
.chip.on { background: var(--ink); color: #000; border-color: var(--ink); }

/* Venue markers: echo the infographic legend, in monochrome */
.mk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: 0; margin-right: 4px; }
.mk-in { background: var(--ink); }
.mk-out { border: 1.5px solid var(--ink); }
.mk-none { border: 1.5px dashed var(--mute); }

/* Placeholder for shows with no photo: B&W, typographic */
.blank { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #151514 0 6px, #0b0b0a 6px 12px); color: #5d5d59; text-align: center; padding: 12%; }
.blank span { font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; font-size: 11px; line-height: 1.1; }
.blank.big { aspect-ratio: 16/9; border-radius: 8px; }
.blank.big span { font-size: clamp(24px, 5vw, 60px); }

/* HOME */
.hero { position: relative; min-height: 92vh; display: grid; align-items: end; overflow: hidden; margin-top: -60px; }
.hero-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 25vh; opacity: .5; filter: saturate(1.2); }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; }
.hero-mosaic img:nth-child(3n) { animation-delay: -6s; }
.hero-mosaic img:nth-child(5n) { animation-delay: -12s; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 100%, #050505 25%, #050505cc 50%, #05050544 100%); }
.hero-inner { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding: 160px 0 72px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: 28px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(40px, 6vw, 84px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1; }
.stats span { font-family: var(--mono); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 72px 0; }
.fact { display: block; }
.fact-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; margin-bottom: 16px; background: var(--panel); }
.fact-img img, .fact-img .blank { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fact:hover .fact-img img { transform: scale(1.05); }
.fact h3 { margin: 0 0 4px; font-size: 28px; font-weight: 800; font-variation-settings: "wdth" 115; text-transform: uppercase; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; }
.mosaic { columns: 5 200px; column-gap: 10px; padding-bottom: 80px; }
.m-tile { position: relative; display: block; margin-bottom: 10px; break-inside: avoid; overflow: hidden; border-radius: 4px; }
.m-tile img { width: 100%; transition: transform .5s; }
.m-tile span { position: absolute; inset: auto 0 0 0; padding: 30px 10px 8px; background: linear-gradient(#0000, #000c); font-weight: 800; font-size: 13px; text-transform: uppercase; font-variation-settings: "wdth" 115; opacity: 0; transition: opacity .25s; }
.m-tile em { display: block; font: 400 11px var(--mono); color: #bbb; font-style: normal; }
.m-tile:hover img { transform: scale(1.04); }
.m-tile:hover span, .m-tile:focus-visible span { opacity: 1; }

/* reveal */
.show, .m-tile, .bar-row, .col, .fact, .tl-label { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.in { opacity: 1 !important; transform: none !important; }

/* PAGE HEAD + FILTERS */
.page-head { padding: 64px 0 28px; }
.page-head .display { margin-bottom: 18px; }
.filters { margin-top: 28px; display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-row input[type=search], .filter-row select, .syn-form select { background: var(--panel); border: 1px solid var(--line); color: var(--ink); padding: 10px 12px; border-radius: 4px; font: 13px var(--mono); }
.filter-row input[type=search] { flex: 1 1 260px; }
.toggle { font: 12px var(--mono); color: var(--mute); display: flex; gap: 6px; align-items: center; }
.toggle input { accent-color: var(--lime); }
.legend { display: flex; gap: 10px; align-items: center; margin: 0; }
.legend .mk { margin-left: 8px; }

/* TIMELINE */
.tl { padding-bottom: 80px; }
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 28px 0; }
.tl-label span { position: sticky; top: 70px; display: block; font-weight: 900; font-variation-settings: "wdth" 125; font-size: 40px; line-height: 1; }
.tl-label em { display: block; font-style: normal; margin-top: 6px; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.show { display: block; text-align: center; }
.disc { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--panel); margin: 0 auto 12px; width: 100%; max-width: 168px; box-shadow: 0 0 0 1px #ffffff10; transition: transform .35s, box-shadow .35s; }
.disc img, .disc .blank { width: 100%; height: 100%; object-fit: cover; }
.disc .blank { border-radius: 50%; }
.show:hover .disc { transform: scale(1.05); box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -10px #000; }
.show h4 { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 112; line-height: 1.2; }
.show-meta .mono { font-size: 11px; line-height: 1.4; }
.empty { padding: 60px 0; color: var(--mute); }

/* CHARTS */
.chart-block { padding: 28px 0 40px; }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 44px; align-items: center; gap: 14px; }
.bar-label { font-size: 13px; font-weight: 700; text-transform: uppercase; font-variation-settings: "wdth" 110; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-label:hover { text-decoration: underline; }
.bar { display: flex; gap: 2px; height: 46px; width: calc(100% * var(--n) / var(--max)); }
.seg { flex: 1; background-size: cover; background-position: center; border-radius: 2px; position: relative; transition: flex .3s, filter .3s; }
.seg:hover { flex: 2.4; z-index: 2; }
.seg-blank { background: repeating-linear-gradient(135deg, #2a2a28 0 3px, #111 3px 6px); }
.bar-n { text-align: right; color: var(--ink); font-size: 14px; }
.cols { display: grid; grid-template-columns: repeat(18, 1fr); gap: 8px; align-items: end; height: 420px; }
.col { display: flex; flex-direction: column; align-items: stretch; height: 100%; justify-content: flex-end; }
.col-stack { display: flex; flex-direction: column-reverse; gap: 2px; height: calc((100% - 44px) * var(--h)); }
.col-stack .seg { flex: 1; min-height: 3px; }
.col-stack .seg:hover { flex: 1; filter: brightness(1.4); }
.col-n { text-align: center; color: var(--ink); margin-top: 6px; }
.col-y { text-align: center; }
.col-y:hover { color: var(--ink); }
.genre-bar { display: flex; height: 120px; gap: 2px; }
.genre-bar div { background: var(--ink); color: #000; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; overflow: hidden; }
.genre-bar div:nth-child(even) { background: #bdbdb8; }
.genre-bar div:nth-child(3n) { background: #7d7d78; }
.genre-bar span { font-weight: 800; font-size: 12px; text-transform: uppercase; font-variation-settings: "wdth" 110; white-space: nowrap; }
.genre-bar em { font-style: normal; color: #000; font-size: 12px; }

/* DETAIL */
.detail { position: relative; }
.detail-bg { position: absolute; inset: -60px 0 auto 0; height: 80vh; background-size: cover; background-position: center; opacity: .28; filter: blur(40px) saturate(1.4); z-index: -1; mask-image: linear-gradient(#000 40%, transparent); }
.detail-head { padding: 64px 0 32px; }
.back { display: inline-block; margin-bottom: 24px; }
.back:hover { color: var(--ink); }
.venue-line { font-size: 14px; color: var(--ink); }
.notes { font: 13px var(--mono); color: var(--mute); border-left: 2px solid var(--line); padding-left: 12px; max-width: 60ch; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.gallery.one { grid-template-columns: minmax(0, 960px); }
.g-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.g-item img { width: 100%; max-height: 78vh; object-fit: cover; }
.gallery.none { display: block; }
.archival { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.disc.lg { width: min(280px, 60vw); max-width: none; margin: 0; }
.archival .note { flex-basis: 100%; }
.gallery .note { margin-top: 10px; }
kbd { border: 1px solid #444; border-radius: 3px; padding: 0 5px; }
.detail-info { padding: 32px 0; display: grid; gap: 32px; }
.setlists { display: flex; flex-wrap: wrap; gap: 8px; }
.also-row { display: flex; gap: 16px; flex-wrap: wrap; }
.also-item { text-align: center; width: 92px; }
.also-item .disc { max-width: 92px; margin-bottom: 6px; }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 24px 0 80px; }
.pager a { color: var(--ink); font-size: 13px; }
.pager a em { display: block; color: var(--mute); font-style: normal; font-size: 11px; margin-top: 4px; }
.pager .r { text-align: right; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: #000e; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; padding: 12px 20px; }
.lb-x { top: 10px; right: 10px; } .lb-p { left: 10px; } .lb-n { right: 10px; }

/* SYNESTHESIA (the one place color is the data, because the art is the point) */
.synth-stage { position: relative; margin: 0 auto; width: min(1600px, 100%); }
.synth-stage canvas { width: 100%; height: auto; display: block; background: #07060b; }
.synth-card { position: absolute; left: 4%; bottom: 7%; background: #f4f4f1; color: #000; padding: 14px 18px; display: grid; gap: 2px; font: 12px var(--mono); text-transform: uppercase; border-radius: 2px; box-shadow: 0 10px 40px #0008; }
.synth-card b { font: 900 22px var(--display); font-variation-settings: "wdth" 125; }
.synth-controls { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 48px 0 80px; align-items: start; }
.syn-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.syn-form label { display: grid; gap: 6px; font: 11px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.syn-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; font: 11px var(--mono); color: var(--mute); text-transform: uppercase; }
.syn-legend i { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: 6px; vertical-align: 2px; }

/* CURATE */
.curate { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #0d0d0c; border-left: 1px solid var(--line); display: grid; grid-template-rows: auto auto auto auto auto 1fr auto; gap: 10px; padding: 16px; overflow: hidden; box-shadow: -20px 0 60px #000a; }
.curate header { display: flex; align-items: center; gap: 10px; }
.curate header b { font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 125; font-size: 20px; }
.curate .x { margin-left: auto; background: none; border: 0; font-size: 26px; cursor: pointer; }
.curate .hint { margin: 0; }
.c-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 190px; overflow: auto; }
.c-photos.small { grid-template-columns: repeat(6, 1fr); }
.c-photos button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.c-photos button img { width: 100%; height: 100%; object-fit: cover; }
.c-photos button.on { border-color: var(--lime); }
.curate summary { cursor: pointer; }
.c-search { background: var(--panel); border: 1px solid var(--line); color: var(--ink); padding: 9px 10px; border-radius: 4px; font: 13px var(--mono); }
.c-shows { overflow: auto; display: grid; align-content: start; gap: 2px; }
.c-shows button { display: flex; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid #1c1c1b; padding: 8px 4px; cursor: pointer; font-size: 13px; }
.c-shows button:hover { background: #1a1a19; }
.c-shows em { font-style: normal; white-space: nowrap; }
.curate footer { display: flex; gap: 6px; flex-wrap: wrap; }

/* FOOTER */
.foot { border-top: 1px solid var(--line); padding: 32px 24px 48px; display: flex; gap: 16px; align-items: center; font: 12px var(--mono); color: var(--mute); }
.foot p { margin: 0; }
.squiggle { width: 60px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(3) { border-right: 0; }
  .stats div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; }
  .tl-year { grid-template-columns: 1fr; }
  .tl-label span { position: static; }
  .tl-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .bar-row { grid-template-columns: 110px 1fr 32px; gap: 8px; }
  .bar { height: 34px; }
  .cols { height: 300px; gap: 3px; }
  .synth-controls { grid-template-columns: 1fr; }
  .hero-mosaic { grid-template-columns: repeat(4, 1fr); }
  .nav nav a { padding: 6px 8px; font-size: 11px; }
  .brand img { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
