/* nidit — bandsida 2026
   palette: bone-dark + signature red */

:root {
  --bg:        #0b0c0d;
  --bg-2:     #121417;
  --surface:   #191c20;
  --surface-2: #242932;
  --line:      #30343d;
  --text:      #f1eee8;
  --muted:     #a6a19a;
  --accent:    #e53935;
  --accent-2:  #ff6961;
  --accent-cool: #84b7ad;
  --paper:     #ded6c7;
  --max:       1180px;
  --font:      "Inter", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono:      "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --serif:     "Iowan Old Style", "Charter", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  padding-bottom: 120px; /* room for sticky player */
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 750; letter-spacing: 0; line-height: 1.08; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

::selection { background: var(--accent); color: #fff; }

/* layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: 0.04em; font-size: 0.95rem;
  text-transform: uppercase;
}
.brand img {
  display: block;
  width: 108px;
  height: auto;
}
.brand:hover { color: var(--text); }

nav.main {
  display: flex; gap: 4px; margin-left: auto;
}
nav.main a {
  padding: 7px 14px; border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color .15s, background .15s;
}
nav.main a:hover { color: var(--text); background: var(--surface); }
nav.main a.active { color: var(--text); background: var(--surface); }

/* mobile menu */
.menu-toggle {
  display:none;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  background:none;
  border:0;
  color:var(--text);
  cursor:pointer;
  padding:0;
  border-radius:8px;
}
.menu-toggle:hover { background: var(--surface); }
@media (max-width: 720px) {
  .site-header .wrap { gap: 12px; position: relative; }
  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  nav.main { display:none; }
  nav.main.open {
    display:flex; flex-direction:column; gap:4px;
    position: absolute; top: 64px; right: 12px; left: 12px;
    background: var(--surface); border:1px solid var(--line);
    padding: 10px; border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  }
  nav.main.open a {
    display:flex;
    align-items:center;
    min-height:56px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 1rem;
  }
}

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #f4f2ed;
  color: #180b0c;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background: transparent;
  pointer-events:none;
}
.hero-grid,
.hero-stage {
  position: relative;
  min-height: clamp(520px, 68vw, 760px);
  display: block;
}
@media (max-width: 880px) {
  .hero-grid,
  .hero-stage { min-height: 680px; }
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100vw - 48px));
  padding: clamp(72px, 11vw, 150px) 0 0 clamp(24px, 4.8vw, 72px);
}
.hero .eyebrow {
  display:inline-block; padding: 4px 10px; border-radius:999px;
  border:1px solid rgba(24,11,12,0.10); color: #342225;
  background: rgba(255,255,255,0.42);
  font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 12px; }
.hero h1 .red { color: var(--accent); }
.tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #190d0e; max-width: 28em;
}
.hero-stats {
  display:flex; gap: 10px; flex-wrap: wrap;
  margin-top: 22px;
}
.hero-stats span {
  display:inline-flex; align-items:baseline; gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(24,11,12,0.12);
  background: #211316;
  border-radius: 8px;
  color: #c9bebc;
  font-size: 0.86rem;
}
.hero-stats strong { color: #fff7f1; font-variant-numeric: tabular-nums; }
.hero-cta { display:flex; gap:12px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding: 11px 18px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; border: 0; transition: transform .12s, background .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border:1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.hero .btn-ghost {
  color: #fff;
  background: #15191f;
  border-color: #15191f;
}
.hero .btn-ghost:hover { background: #252a32; color: #fff; }

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-art-part {
  position: absolute;
  display: block;
  bottom: 0;
  overflow: visible;
}
.hero-band {
  left: 0;
  width: clamp(420px, 43vw, 690px);
  max-width: 50vw;
}
.hero-band #phones {
  transform-box: fill-box;
  transform-origin: 50% 62%;
  animation: headphones-thump .46s cubic-bezier(.34, 0, .2, 1) infinite;
}
@keyframes headphones-thump {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  18% { transform: translateY(-2px) rotate(-1.4deg) scale(1.015); }
  34% { transform: translateY(1px) rotate(1deg) scale(.992); }
  52% { transform: translateY(-3px) rotate(.8deg) scale(1.02); }
  70% { transform: translateY(0) rotate(-.6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-band #phones { animation: none; }
}
.hero-doktorn {
  right: 0;
  width: clamp(218px, 22vw, 350px);
  max-width: 25vw;
}
@media (max-width: 980px) {
  .hero-copy { width: min(590px, calc(100vw - 40px)); }
  .hero-band { left: 8px; width: 620px; }
  .hero-doktorn { right: 8px; width: 310px; }
}
@media (max-width: 720px) {
  .hero-stage { min-height: 700px; }
  .hero-copy {
    width: calc(100vw - 32px);
    padding: 54px 0 0 20px;
  }
  .tagline { max-width: 18em; }
  .hero-band { left: 0; width: 600px; }
  .hero-doktorn { right: 0; width: 300px; }
}
@media (max-width: 460px) {
  .hero-stage { min-height: 660px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-band { left: 0; width: 520px; }
  .hero-doktorn { right: 0; width: 260px; }
}

section.recording-note-section {
  padding-top: 34px;
}
.recording-note {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 22px;
  align-items: end;
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--line);
}
.recording-note p {
  margin: 0;
  color: var(--text);
}
.recording-note p:first-child {
  max-width: 760px;
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: 0;
}
.recording-note span {
  color: var(--accent-2);
}
.recording-note p:last-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .recording-note {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
  }
}

/* ── section ──────────────────────────────────────────────── */
section.section { padding: 56px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; margin-bottom: 28px; gap:16px; }
.section-head .eyebrow {
  display:inline-block; color: var(--accent);
  font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 8px;
}
.section-head .link { font-size: 0.9rem; color: var(--muted); }
.section-head .link:hover { color: var(--text); }

/* ── archive tools ─────────────────────────────────────────── */
.archive-tools {
  display:flex; align-items:end; justify-content:space-between; gap: 16px;
  margin: -6px 0 24px;
}
.search-box {
  display:grid; gap: 7px;
  width: min(100%, 420px);
}
.search-box span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}
.search-box input:focus {
  border-color: var(--accent-cool);
  box-shadow: 0 0 0 3px rgba(132,183,173,0.13);
}
.search-box input::placeholder { color: #686d76; }
.filter-count {
  font-size: 0.9rem;
  padding-bottom: 12px;
  white-space: nowrap;
}
.filter-item.is-hidden { display: none; }
.empty-state[hidden] { display: none; }
.empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 18px;
  margin: 0 0 24px;
}
@media (max-width: 640px) {
  .archive-tools { display:grid; gap: 10px; }
  .filter-count { padding-bottom: 0; }
}

/* ── records grid ─────────────────────────────────────────── */
.records-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.record-card {
  position: relative; border-radius: 8px; overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.record-card:hover { transform: translateY(-2px); box-shadow: none; color: var(--text); border-color: rgba(229,57,53,0.52); }
.record-card .cover {
  aspect-ratio: 1/1;
  background: #20242a;
  position: relative;
  display:grid; place-items:center;
  overflow: hidden;
}
.record-card .cover img { width:100%; height:100%; object-fit: cover; }
.cover .fallback-cover-img,
.cover-wrap .fallback-cover-img {
  opacity: 0.28;
  transform: scale(0.78);
  object-fit: contain;
  padding: 14%;
}
.fallback-cover-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 7%, 28px);
  color: #fff7f1;
  pointer-events: none;
}
.fallback-cover-brand {
  color: rgba(255,247,241,0.62);
  font-family: var(--mono);
  font-size: clamp(0.62rem, 2.2vw, 0.78rem);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fallback-cover-title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 12em;
  color: #fff;
  font-size: clamp(1rem, 7vw, 1.42rem);
  font-weight: 780;
  line-height: 1.04;
}
.fallback-cover-meta {
  align-self: flex-start;
  color: rgba(255,247,241,0.72);
  font-size: clamp(0.72rem, 2.6vw, 0.88rem);
}
.cover-wrap .fallback-cover-title {
  font-size: clamp(1.35rem, 5vw, 2.1rem);
}
.cover-wrap .fallback-cover-brand,
.cover-wrap .fallback-cover-meta {
  font-size: clamp(0.82rem, 2vw, 0.96rem);
}
.record-card .meta { padding: 14px 16px 16px; }
.record-card .meta .title { font-weight: 730; line-height: 1.25; }
.record-card .meta .sub { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.record-card .badge {
  position:absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.7rem; padding: 4px 9px; border-radius: 999px;
}

/* placeholder cover variant generation by hash */
.cover.gen-0 { background: #202833; }
.cover.gen-1 { background: #2b2438; }
.cover.gen-2 { background: #35242a; }
.cover.gen-3 { background: #20322c; }
.cover.gen-4 { background: #242943; }
.cover.gen-5 { background: #3a281f; }
.cover.gen-6 { background: #202f48; }
.cover.gen-7 { background: #342020; }

/* ── record detail ────────────────────────────────────────── */
.record-detail {
  display:grid; grid-template-columns: 320px 1fr; gap: 40px;
  padding: 48px 0 12px;
}
@media (max-width: 720px) { .record-detail { grid-template-columns: 1fr; } }
.record-detail .cover-wrap {
  aspect-ratio: 1/1; border-radius: 8px; overflow:hidden;
  background: var(--surface);
  box-shadow: none;
  position: relative;
}
.record-detail .cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.record-detail h1 { margin-top: 4px; }
.record-detail .meta-row {
  display:flex; gap: 16px; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px;
  flex-wrap: wrap;
}
.record-detail .meta-row span { display:inline-flex; align-items:center; gap:6px; }
.record-detail .pill {
  background: var(--surface); border:1px solid var(--line);
  padding: 3px 10px; border-radius: 999px; color: var(--text); font-size: .8rem;
}

/* tracklist */
.tracklist {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.track {
  display:grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 8px; border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.track:hover { background: rgba(255,255,255,0.025); }
.track:focus-visible {
  outline: 2px solid var(--accent-cool);
  outline-offset: -2px;
  background: rgba(132,183,173,0.08);
}
.track .num { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.track .play-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); display:grid; place-items:center;
  border:0; color: var(--text); cursor:pointer;
  transition: transform .12s, background .15s;
}
.track .play-btn:hover { background: var(--accent); color:#fff; transform: scale(1.05); }
.track.playing { background: rgba(229,57,53,0.07); }
.track.playing .num { display:none; }
.track .num-cell { display:contents; }
.track.playing .play-btn { background: var(--accent); color:#fff; }
.track .title { font-weight: 500; }
.track .dur { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.track .num-and-play {
  position:relative; width: 36px; height: 36px;
  display:grid; place-items:center;
}
.track .num-and-play .num { position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.track .num-and-play .play-btn { position:absolute; inset:0; opacity:0; }
.track:hover .num-and-play .num { opacity:0; }
.track:hover .num-and-play .play-btn { opacity:1; }
.track.playing .num-and-play .num { opacity:0; }
.track.playing .num-and-play .play-btn { opacity:1; }

/* sticky player */
.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  z-index: 60;
  transform: translateY(110%);
  transition: transform .25s ease-out;
}
.player-bar.visible { transform: translateY(0); }
.player-bar .player-inner {
  max-width: var(--max); margin: 0 auto;
  display:grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  padding: 10px 24px;
}
@media (max-width: 720px) {
  .player-bar .player-inner { grid-template-columns: 1fr; gap: 4px; padding: 10px 14px; }
  .player-bar .now { justify-content: center; text-align: center; }
  .player-bar .controls { justify-self: center; }
  .player-bar .right { display:none; }
}
.player-bar .now { display:flex; gap:12px; align-items:center; min-width: 0; }
.player-bar .now img {
  width: 44px; height:44px; border-radius: 8px; object-fit: cover; background: var(--surface);
}
.player-bar .now .txt { min-width: 0; }
.player-bar .now .t { font-weight: 600; font-size: 0.92rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-bar .now .s { font-size: 0.78rem; color: var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-bar .controls { display:flex; gap: 14px; align-items:center; }
.player-bar button.ctrl {
  background: var(--surface-2); border:0; color:var(--text);
  width: 42px; height: 42px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
}
.player-bar button.ctrl.big {
  background: var(--text); color: var(--bg);
}
.player-bar button.ctrl:hover { background: var(--accent); color:#fff; }
.player-bar .progress {
  display:flex; flex-direction:column; gap: 4px; max-width: 100%; min-width: 0;
}
.player-bar .progress .scrub {
  display:grid; grid-template-columns: 38px 1fr 38px; gap: 8px; align-items:center;
  font-variant-numeric: tabular-nums; font-size: 0.74rem; color: var(--muted);
}
.player-bar .progress input[type=range] {
  appearance: none; -webkit-appearance:none;
  background: var(--surface-2); height: 4px; border-radius: 2px; outline: none; padding: 0;
  width: 100%;
}
.player-bar .progress input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent); cursor: pointer;
  margin-top: 0;
}
.player-bar .progress input[type=range]::-moz-range-thumb {
  width: 12px; height:12px; border-radius:50%; background: var(--accent); cursor:pointer; border:0;
}
.player-bar .progress.played-fill input[type=range] {
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--p, 0%), var(--surface-2) var(--p, 0%));
}

/* ── songs index ──────────────────────────────────────────── */
.songs-grid {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px 18px;
  margin: 8px 0;
}
.song-row {
  display:flex; align-items:center; gap: 10px;
  padding: 10px 8px; border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background .12s, border-color .12s;
}
.song-row:hover { background: rgba(255,255,255,0.025); }
.song-row .play {
  background: var(--surface-2); border:0; color:var(--text);
  width: 32px; height: 32px; border-radius: 50%;
  display:grid; place-items:center; cursor:pointer; flex: 0 0 auto;
}
.song-row .play:hover { background: var(--accent); color:#fff; }
.song-row .play[disabled] { opacity: 0.3; cursor: not-allowed; }
.song-row a { flex: 1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.song-row > span {
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
}
.song-row.playing {
  background: rgba(229,57,53,0.08);
  border-left-color: var(--accent);
}
.song-row.playing .play,
.play-single.playing {
  background: var(--accent);
  color: #fff;
}
.song-row.playing a {
  color: var(--text);
  font-weight: 650;
}

/* ── lyrics / pages ───────────────────────────────────────── */
.content-page {
  max-width: 760px;
  padding: 40px 0;
}
.content-page h1 { margin-bottom: 12px; }
.content-page .lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.content-page p { color: #d5d6da; }
.content-page span.idit { display: inline; }
.content-page table { border-collapse: collapse; width:100%; margin: 12px 0 24px; font-size: 0.92rem; }
.content-page table th, .content-page table td {
  border-bottom:1px solid var(--line); padding: 8px 10px; text-align: left;
}
.content-page table tr td:first-child { color: var(--accent); white-space: nowrap; }

.lyrics {
  font-family: var(--serif);
  font-size: 1.05rem; line-height: 1.65;
  color: #d8d9dd;
  background: var(--surface);
  padding: 24px 26px; border-radius: 8px;
  border: 1px solid var(--line);
  white-space: pre-wrap;
}
.lyrics p { margin: 0 0 1em; }
.lyrics p:last-child { margin-bottom: 0; }

/* footer */
footer.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site-footer .wrap { display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site-footer a:hover { color: var(--text); }

/* tiny utility */
.kicker { color: var(--accent); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
hr.div { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.spacer-16 { height: 16px; }
.row { display:flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.center { text-align: center; }
.svg-icon { width: 18px; height: 18px; fill: currentColor; }

/* poster archive */
.poster-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.poster-teaser h2 {
  margin-bottom: 8px;
}
.poster-mini-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.poster-mini-wall .poster-card {
  grid-column: auto;
  padding: 7px 7px 9px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}
.poster-mini-wall .poster-card:first-child {
  align-self: center;
  justify-self: center;
  width: min(100%, 112px);
}
.poster-mini-wall .poster-caption {
  min-height: 30px;
}
.poster-mini-wall .poster-caption span {
  display: none;
}
.poster-mini-wall .poster-caption strong {
  font-size: .78rem;
}
@media (max-width: 900px) {
  .poster-teaser {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .poster-teaser .btn {
    justify-self: start;
  }
}
@media (max-width: 520px) {
  .poster-mini-wall {
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    overflow: hidden;
  }
  .poster-mini-wall .poster-card:nth-child(3) {
    display: none;
  }
}

.poster-section {
  overflow: hidden;
}
.poster-section .section-head {
  align-items: start;
}
.poster-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-card {
  position: relative;
  grid-column: span 3;
  display: grid;
  gap: 11px;
  padding: 10px 10px 12px;
  background: #f1eee6;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
  color: #16181b;
  transform: rotate(var(--poster-tilt, 0deg));
  transition: transform .16s, border-color .16s;
}
.poster-card:hover {
  color: #16181b;
  border-color: rgba(229,57,53,0.7);
  transform: translateY(-4px) rotate(var(--poster-tilt, 0deg));
}
.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}
.poster-caption {
  display: grid;
  gap: 2px;
  min-height: 42px;
}
.poster-caption span {
  color: #7c7770;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.poster-caption strong {
  font-size: .92rem;
  line-height: 1.15;
}
.poster-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 46px;
  height: 18px;
  background: rgba(222,214,199,0.82);
  border: 1px solid rgba(0,0,0,0.08);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.poster-card-0 { --poster-tilt: -1.2deg; }
.poster-card-1 { --poster-tilt: .8deg; margin-top: 24px; }
.poster-card-2 { --poster-tilt: 1.4deg; }
.poster-card-3 { --poster-tilt: -0.6deg; margin-top: 12px; }
.poster-card-4 { --poster-tilt: 1deg; }
.poster-card-5 { --poster-tilt: -1.5deg; margin-top: 20px; }
.poster-card-6 { --poster-tilt: .5deg; }
@media (min-width: 981px) {
  .poster-card:nth-child(1),
  .poster-card:nth-child(8) {
    grid-column: span 4;
  }
  .poster-card:nth-child(5) {
    grid-column: span 2;
  }
}
@media (max-width: 980px) {
  .poster-wall { grid-template-columns: repeat(6, 1fr); }
  .poster-card { grid-column: span 3; }
}
@media (max-width: 640px) {
  .poster-wall {
    display: flex;
    gap: 14px;
    margin-inline: -24px;
    padding: 6px 24px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .poster-card {
    width: min(78vw, 320px);
    flex: 0 0 auto;
    scroll-snap-align: start;
    transform: none;
  }
  .poster-card:hover { transform: translateY(-3px); }
}


/* gig timeline */
.gigs-section .section-head {
  align-items: start;
}
.gigs-timeline {
  display: grid;
  gap: 22px;
  position: relative;
}
.gig-event {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.gig-event:first-child {
  border-top: 0;
  padding-top: 0;
}
.event-date {
  position: sticky;
  top: 92px;
  align-self: start;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.event-body {
  display: grid;
  gap: 18px;
}
.event-headline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.event-headline h2 {
  margin: 0 0 4px;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  letter-spacing: 0;
}
.event-headline p,
.event-summary {
  color: var(--muted);
}
.event-summary {
  max-width: 62em;
}
.event-cert {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-audio {
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.event-audio h3 {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.event-audio-track {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}
.event-audio-link {
  color: var(--muted);
  font-size: .78rem;
}
.event-audio-link:hover {
  color: var(--accent);
}
.event-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.event-media,
.event-file {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}
.event-media:hover,
.event-file:hover {
  border-color: rgba(229,57,53,.62);
  color: var(--text);
}
.event-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 5px;
}
.event-media span,
.event-file {
  min-width: 0;
}
.event-media em,
.event-file span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.event-media strong,
.event-file strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.event-file small {
  color: var(--muted);
}
.event-file.missing {
  opacity: .58;
}
.event-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
}
@media (max-width: 900px) {
  .gig-event {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .event-date {
    position: static;
  }
  .event-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .event-headline {
    display: grid;
  }
  .event-media-grid {
    grid-template-columns: 1fr;
  }
}


.archive-photo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.archive-photo-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--surface);
}
.archive-photo-feature h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  letter-spacing: 0;
}
.archive-photo-feature p {
  max-width: 28em;
}

/* photo strip */
.photo-strip {
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.photo-strip img {
  width:100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  filter: saturate(0.9) contrast(1.05);
}
@media (max-width: 900px) {
  .archive-photo-feature { grid-template-columns: 1fr; align-items: start; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .photo-strip { grid-template-columns: 1fr; } }

/* small-cards row */
.featured-row {
  display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 880px) { .featured-row { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--surface); border:1px solid var(--line);
  border-radius: 8px; padding: 24px;
  transition: transform .15s, border-color .15s, background .15s;
}
.feature-card:hover { transform: translateY(-2px); border-color: rgba(132,183,173,0.45); background: #1d2127; color: var(--text); }
.feature-card .label { color: var(--accent); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.feature-card h3 { font-size: 1.5rem; margin-top: 4px; margin-bottom: 8px; letter-spacing: 0; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card .more {
  display:inline-block; margin-top: 14px; color: var(--text);
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
