/* NEW ACQUISITIONS — nothing here is painted, it's plotted. every
   canvas is redrawn from a fresh random seed by js/generative-art.js;
   the room's own job is just the frame around it. */

:root {
  --acq-bg: #0a0a10;
  --acq-ink: #e8e4d8;
}

body.acquisitions {
  background: var(--acq-bg);
  color: var(--acq-ink);
  min-height: 100vh;
  overflow-x: hidden;
  padding: 3rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.acq-header {
  text-align: center;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.acq-header h1 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.9rem;
}
.acq-header p {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.acq-main-wrap {
  position: relative;
  width: min(100%, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.acq-canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #050508;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.acq-canvas:hover { transform: scale(1.008); }
.acq-canvas:active { transform: scale(0.996); }

.acq-placard {
  margin-top: 1rem;
  text-align: center;
}
.acq-placard #acq-title {
  display: block;
  font-size: 1rem;
}
.acq-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  opacity: 0.55;
  font-style: normal;
  font-family: "Courier New", monospace;
}

.acq-instruction {
  margin-top: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* the curator's actual opinion, held-press only — sits over the piece,
   never in the flow, so it never shifts the layout when it appears */
.acq-opinion {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: 80%;
  text-align: center;
  padding: 0.6rem 1rem;
  background: rgba(10, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.acq-opinion.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* the loan strip — count, size, and tilt of every card are reshuffled
   alongside the main piece, so the room's own layout never settles */
.acq-loans {
  width: min(100%, 900px);
  margin-top: 3.5rem;
  text-align: center;
}
.acq-loans-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1rem;
}
.acq-thumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
}
.acq-thumb {
  border-radius: 3px;
  overflow: hidden;
  background: #050508;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.3s ease;
}
.acq-thumb:hover { transform: rotate(0deg) scale(1.04); }
.acq-thumb canvas { display: block; width: 100%; height: 100%; }
.acq-thumb.s { width: 90px; aspect-ratio: 1; }
.acq-thumb.m { width: 130px; aspect-ratio: 4 / 5; }
.acq-thumb.l { width: 170px; aspect-ratio: 3 / 4; }

.acq-hint {
  max-width: 44ch;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}
