:root {
  --shows-margin: clamp(12px, 2.5vw, 28px);
  --shows-gap: clamp(10px, 1.6vw, 18px);
  --shows-section-gap: clamp(64px, 12vh, 140px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  padding: var(--shows-margin);
  padding-top: calc(var(--shows-header-height, 5rem) + var(--shows-margin));
}

.shows-page {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

#project-title {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(10px, 1.5vh, 16px);
  color: #e8e8e8;
}

#project-title .project-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

#project-title .project-title-link:hover {
  color: #fff;
}

#project-title svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

#shows-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: var(--shows-margin) var(--shows-margin) 0;
  background: #0a0a0a;
  pointer-events: none;
}

#project-switch {
  align-self: flex-end;
  margin: 0;
  padding: 0 0 var(--shows-margin);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.35);
  pointer-events: auto;
}

.show {
  margin-bottom: var(--shows-section-gap);
}

.show:last-child {
  margin-bottom: calc(var(--shows-section-gap) * 0.55);
}

.show-header {
  margin: 0 0 clamp(24px, 4vh, 48px);
  padding-bottom: 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.show-header h2 {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.show-header p {
  margin: 0.45em 0 0;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(232, 232, 232, 0.62);
}

/* Editorial checkerboard: installation hero + staggered pairs */
.show-images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--shows-gap);
  margin: 0;
  padding: 0;
}

.plate {
  margin: 0;
  min-width: 0;
  background: #111;
}

.plate img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  cursor: zoom-in;
  transition: filter 0.35s ease, opacity 0.35s ease;
  image-rendering: auto;
  image-rendering: high-quality;
  image-rendering: smooth;
  -ms-interpolation-mode: bicubic;
}

.plate img:hover {
  filter: brightness(1.06);
  opacity: 0.96;
}

.plate--hero {
  grid-column: 1 / -1;
}

.plate--wide-start {
  grid-column: 1 / 8;
  align-self: end;
}

.plate--narrow-end {
  grid-column: 8 / -1;
  align-self: start;
  margin-top: clamp(24px, 6vh, 72px);
}

.plate--narrow-start {
  grid-column: 1 / 6;
  align-self: end;
  margin-top: clamp(16px, 4vh, 48px);
}

.plate--wide-end {
  grid-column: 6 / -1;
  align-self: start;
}

.show--single-column .plate {
  grid-column: 1 / -1;
  align-self: stretch;
  margin-top: 0;
}

@media (max-width: 720px) {
  .show-images {
    grid-template-columns: 1fr;
    gap: clamp(10px, 3vw, 16px);
  }

  .plate--hero,
  .plate--wide-start,
  .plate--narrow-end,
  .plate--narrow-start,
  .plate--wide-end {
    grid-column: 1 / -1;
    margin-top: 0;
    align-self: stretch;
  }
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}

#lightbox[hidden] {
  display: none;
}

#lightbox-img {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
  image-rendering: auto;
  image-rendering: high-quality;
  image-rendering: smooth;
  -ms-interpolation-mode: bicubic;
}

#lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

#lightbox-close:hover {
  color: #fff;
}

body.lightbox-open {
  overflow: hidden;
}

#shows-status {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.45);
}

#project-switch a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

#project-switch a:hover,
#project-switch a.is-active {
  color: rgba(232, 232, 232, 0.85);
}

#project-switch span {
  margin: 0 0.45em;
}
