@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-ext-300.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 28px 40px;
}
.logo img { height: 47px; width: auto; }
.site-header nav { display: flex; gap: 24px; font-size: 14px; }
.site-header nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a.active { border-bottom-color: var(--fg); }

/* exhibition sections (home + page hero) */
.show {
  position: relative; height: 720px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.show-bg { position: absolute; inset: 0; }
.show-bg img, .show-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.17); }
.show-text { position: relative; padding: 0 24px; max-width: 900px; }
.show-text h4 {
  margin: 0 0 22px; font-size: 18.8px; font-weight: 500; line-height: 1.45;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.show-text h1, .show-text h2 {
  margin: 0 0 14px; font-size: 30.7px; font-weight: 500; line-height: 1.4;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.show-text strong { font-weight: 700; text-transform: uppercase; }
.show-text h4 { text-transform: uppercase; }
.pill {
  display: inline-block; margin-top: 4px; padding: 14px 26px;
  border: 2px solid var(--fg); border-radius: 300px;
  font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.pill:hover { background: var(--fg); color: var(--bg); }

/* text pages */
.text { max-width: 700px; margin: 0 auto; padding: 72px 24px 24px; }
.text p { margin: 0 0 1.1em; }
.text h3 { margin: 2.2em 0 0.5em; font-size: 17px; font-weight: 500; line-height: 1.4; }
.text h3:first-child { margin-top: 0; }
.text .eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.6em;
}
.text .lead { font-size: 19px; font-weight: 500; line-height: 1.55; }
.text .artists { font-weight: 500; }
.text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.45); }
.text a:hover { text-decoration-color: var(--fg); }
.text ul { padding-left: 1.1em; }

.page-hero { height: 70vh; min-height: 420px; max-height: 720px; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }

/* record */
.record {
  display: grid; grid-template-columns: 130px 1fr; gap: 10px 24px;
  margin: 0 0 56px; padding: 0 0 32px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.record dt { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; padding-top: 2px; }
.record dd { margin: 0; }
.essay h3 { margin-top: 2.6em; }
.essay > h3:first-child { margin-top: 0; }

/* index (home) */
.index { max-width: 1240px; margin: 0 auto; padding: 96px 40px 0; }
.index > h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.idx-year { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.idx-year h4 { margin: 0; padding: 14px 0; font-size: 15px; font-weight: 500; }
.idx-year ul { list-style: none; margin: 0; padding: 0; }
.idx-year li + li { border-top: 1px solid var(--line); }
.idx-year a { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; text-decoration: none; }
.idx-title { font-weight: 500; }
.idx-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.idx-year a:hover .idx-title { text-decoration: underline; text-underline-offset: 3px; }

/* gallery */
.gallery {
  max-width: 1240px; margin: 48px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.gallery .g { display: block; aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.gallery .g:hover img { opacity: 0.85; }

.pager {
  max-width: 1240px; margin: 72px auto 0; padding: 28px 24px 0;
  display: flex; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line); font-size: 14px; font-weight: 500;
}
.pager a { text-decoration: none; color: var(--fg); max-width: 45%; }
.pager a span { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager a.next { text-align: right; }
.pager a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* press */
.press-year h4 { margin: 1.6em 0 0.4em; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.press { list-style: none; padding: 0; margin: 0; }
.press li { border-top: 1px solid var(--line); }
.press a { display: block; padding: 12px 0; text-decoration: none; }
.press a:hover .ptitle { text-decoration: underline; text-underline-offset: 3px; }
.press .outlet { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.press .ptitle { display: block; }


/* carousel */
.carousel { max-width: 1240px; margin: 56px auto 0; padding: 0 24px; }
.c-label { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.c-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; background: #050505; outline: none;
}
.c-track::-webkit-scrollbar { display: none; }
.c-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 2; max-width: 100%; display: flex; align-items: center; justify-content: center; }
.c-slide img { width: 100%; height: 100%; object-fit: contain; }
.c-ui { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.c-count { color: var(--muted); min-width: 56px; text-align: center; }
.c-ui button {
  background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 300px;
  width: 40px; height: 40px; font: 300 24px/1 var(--font); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px;
}
.c-ui button:hover { border-color: var(--fg); }
.c-ui button:focus-visible, .c-track:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

/* opening photos grid */
.gallery.opening { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
/* people row */
.gallery.people { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }

/* lead image (uncropped, top of text) */
.lead-img { margin: 0 0 40px; }
.lead-img img { width: 100%; height: auto; }

@media (max-width: 760px) {
  .carousel { padding: 0 16px; margin-top: 40px; }
  .gallery.people, .gallery.opening { grid-template-columns: repeat(2, 1fr); }
}

.essay .credit { color: var(--muted); }

/* footer */
.site-footer { padding: 72px 24px 48px; text-align: center; font-size: 14px; line-height: 1.6; }
.site-footer p { margin: 0 0 6px; }
.site-footer strong { font-weight: 700; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.94);
  display: none; align-items: center; justify-content: center; padding: 48px 64px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--fg);
  font: 300 32px/1 var(--font); cursor: pointer; padding: 16px;
}
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound h1 { font-weight: 700; font-size: 30px; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: auto 1fr; padding: 20px 16px; }
  .site-header nav { justify-content: flex-end; gap: 18px; }
  .logo img { height: 34px; }
  .show { height: 78vh; min-height: 460px; max-height: 640px; }
  .show-text h4 { font-size: 15px; margin-bottom: 16px; }
  .show-text h1, .show-text h2 { font-size: 23px; }
  .text { padding: 48px 16px 16px; }
  .gallery { grid-template-columns: 1fr; padding: 0 16px; gap: 8px; }
  .pager { padding: 24px 16px 0; }
  .pager a { max-width: 48%; }
  .record { grid-template-columns: 1fr; gap: 2px; }
  .record dd { margin-bottom: 12px; }
  .index { padding: 72px 16px 0; }
  .idx-year { grid-template-columns: 1fr; }
  .idx-year h4 { padding-bottom: 0; }
  .idx-meta { display: none; }
  .lightbox { padding: 48px 8px; }
}
