/* ============================================================
   Hall of Pickleball — Wing product grid (DARK)
   Museum wall-label aesthetic on the dark institutional palette.
   Palette mirrors launch-package-v2/index.html :root.
   ============================================================ */

.wing-exhibit {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px 120px;
}

.wing-exhibit__head {
  max-width: 1280px;
  margin: 0 auto 52px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--gold, #b89867);
  gap: 32px;
}
.wing-exhibit__title {
  font-family: var(--display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: clamp(28px, 3.8vw, 46px);
  margin: 0;
  color: var(--paper, #f4efe4);
  font-weight: 400;
}
.wing-exhibit__meta {
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-mute, #a39d92);
  white-space: nowrap;
}

.wing-exhibit__subheading {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--paper-mute, #a39d92);
  margin: 0 0 56px;
  max-width: 640px;
  line-height: 1.55;
}

.wing-exhibit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 56px 36px;
}

.wing-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.wing-card:hover { transform: translateY(-3px); }
.wing-card:focus-visible {
  outline: 2px solid var(--gold, #b89867);
  outline-offset: 8px;
}

.wing-card__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at center, rgba(184,152,103,0.08), transparent 70%),
    var(--ground-3, #1a1612);
  border: 1px solid var(--gilt, #8a6a26);
  padding: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.4),
    0 18px 40px -22px rgba(0,0,0,0.65);
}
.wing-card__frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184,152,103,0.30);
  pointer-events: none;
}

.wing-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ground-2, #161310);
}

.wing-card__sold {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--ground, #0e0c08);
  color: var(--gold, #b89867);
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 6px 11px;
  font-weight: 600;
  border: 1px solid var(--gilt, #8a6a26);
  z-index: 2;
}

.wing-card__plaque {
  border-top: 1px solid var(--rule, #2a2620);
  padding-top: 16px;
}

.wing-card__num {
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold, #b89867);
  margin: 0 0 8px;
}

.wing-card__title {
  font-family: var(--display, 'Playfair Display', Georgia, serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--paper, #f4efe4);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}

.wing-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-mute, #a39d92);
}

.wing-card__price {
  font-weight: 600;
  color: var(--paper, #f4efe4);
}
.wing-card__price em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--paper-dim, #6e685f);
  margin-right: 4px;
}

.wing-card__acquire {
  color: var(--gold, #b89867);
  font-weight: 600;
}

/* Loading / empty / error states */
.wing-exhibit__status {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  color: var(--paper-mute, #a39d92);
  padding: 48px 0 24px;
  font-size: 17px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.wing-exhibit__status--error { color: var(--gold, #b89867); }

.wing-exhibit[hidden] { display: none; }

/* ============================================================
   IMAGE TREATMENTS — applied via wing-exhibit modifier class
   so each wing can carry its own museum character.
   ============================================================ */

/* A · Ivory Mat — the image's white becomes ivory paper.
   The plate reads like a print on a museum mat. */
.wing-exhibit--ivory .wing-card__frame {
  background:
    radial-gradient(ellipse at center, rgba(255,250,235,0.04), transparent 70%),
    var(--paper, #f4efe4);
  border-color: var(--gilt, #8a6a26);
}
.wing-exhibit--ivory .wing-card__frame::after {
  border-color: rgba(26,24,20,0.10);
}
.wing-exhibit--ivory .wing-card__img {
  mix-blend-mode: multiply;
  background: var(--paper, #f4efe4);
}
.wing-exhibit--ivory .wing-card__sold {
  background: var(--paper, #f4efe4);
  color: var(--ground, #0e0c08);
  border-color: var(--ground, #0e0c08);
}

/* B · Aged Print — a sepia / dimming filter over the work,
   the wall stays dark.  The whole image picks up the patina. */
.wing-exhibit--sepia .wing-card__img {
  filter: sepia(0.20) saturate(0.92) brightness(0.92) contrast(1.02);
}

/* C · Vignette — radial spotlight on the image, edges fall
   into the dark wall. */
.wing-exhibit--vignette .wing-card__frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: radial-gradient(ellipse at center,
                              transparent 38%,
                              rgba(14,12,8,0.45) 78%,
                              rgba(14,12,8,0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.wing-exhibit--vignette .wing-card__frame::after { z-index: 3; }

/* Empty-state panel — when wing is genuinely empty, render a
   museum sign instead of a small italic message. */
.wing-sign {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 56px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(184,152,103,0.08), transparent 75%),
    var(--forest-2, #122a22);
  border: 1px solid var(--gilt, #8a6a26);
  position: relative;
}
.wing-sign::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184,152,103,0.32);
  pointer-events: none;
}
.wing-sign__kicker {
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold, #b89867);
  margin: 0 0 18px;
}
.wing-sign__title {
  font-family: var(--display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--paper, #f4efe4);
}
.wing-sign__body {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper-mute, #a39d92);
  margin: 0 auto 8px;
  max-width: 520px;
}
.wing-sign__body em { color: var(--gold, #b89867); font-style: italic; }
.wing-sign__signed {
  font-family: var(--display, 'Playfair Display', Georgia, serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold, #b89867);
  margin: 26px 0 0;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .wing-exhibit { padding: 16px 22px 80px; }
  .wing-exhibit__head { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 14px; margin-bottom: 36px; }
  .wing-exhibit__grid { gap: 40px 22px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .wing-card__title { font-size: 18px; }
  .wing-sign { padding: 40px 26px; margin-top: 24px; }
}
@media (max-width: 420px) {
  .wing-exhibit__grid { grid-template-columns: 1fr; }
  .wing-card__frame { aspect-ratio: 4 / 3; }
}
