:root {
  color-scheme: dark;
  --background: #101112;
  --foreground: #eeeae3;
  --muted: #a19f9a;
  --accent: #cba77a;
  --line: #303132;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.has-lightbox { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button:disabled { opacity: .25; cursor: default; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--background); }
.page-width { width: min(100% - 96px, 1360px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--foreground); color: var(--background); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 110px; border-bottom: 1px solid var(--line); gap: 32px; }
.wordmark { font-size: 22px; font-weight: 500; letter-spacing: -.6px; line-height: 1.15; }
.wordmark span { display: block; margin-top: 7px; font-size: 9px; font-weight: 400; letter-spacing: 3.7px; text-transform: uppercase; color: var(--muted); }
.site-header nav { display: flex; gap: 36px; align-items: center; font-size: 14px; }
.site-header nav a { padding-block: 12px; color: var(--muted); transition: color .2s; }
.site-header nav a:hover, .site-header nav .nav-current { color: var(--foreground); }
.nav-current::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: var(--accent); }
.nav-count { font-size: 9px; margin-left: 4px; vertical-align: super; color: var(--accent); }
.nav-home span { margin-left: 12px; }
.exhibition { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; min-height: 680px; padding-block: 48px 64px; }
.exhibition-copy { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-bottom: 37px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 2.1px; line-height: 1.8; text-transform: uppercase; color: var(--muted); }
.exhibition-copy > .eyebrow { font-size: 13px; line-height: 1.5; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); }
.exhibition h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(110px, 11.4vw, 164px); font-weight: 400; line-height: 1; letter-spacing: -8px; margin: 22px 0 18px -5px; }
.title-period { color: var(--accent); }
.exhibition-subtitle { font-size: clamp(25px, 2.2vw, 30px); line-height: 1.35; font-weight: 300; letter-spacing: -.5px; }
.exhibition-description { color: var(--muted); font-size: 18px; line-height: 1.8; margin-top: 22px; }
.explore-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 72px; min-height: 56px; margin-top: 30px; padding: 12px 0 14px; border-bottom: 1px solid var(--accent); font-size: 21px; font-weight: 500; line-height: 1.4; }
.explore-link span { font-size: 27px; color: var(--accent); transition: transform .2s; }
.explore-link:hover span { transform: translateY(4px); }
.exhibition-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: auto; padding-top: 32px; letter-spacing: 1px; text-transform: uppercase; }
.exhibition-meta span + span::before { content: "/"; color: #5e5d59; margin-right: 24px; }
.cover { min-width: 0; width: min(100%, 420px); justify-self: center; }
.cover img { width: 100%; height: auto; box-shadow: 0 25px 70px #0006; }
.cover figcaption { margin-top: 17px; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); }
.collection { border-top: 1px solid var(--line); padding-top: 53px; }
.collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.collection h2 { font: 400 48px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -1.5px; margin-top: 12px; }
.collection h2 sup { font: 400 11px "Segoe UI", Arial, sans-serif; vertical-align: top; display: inline-block; margin: 8px 0 0 8px; color: var(--accent); letter-spacing: 0; }
.view-controls { display: flex; border: 1px solid var(--line); padding: 4px; gap: 3px; }
.view-controls button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; font-size: 14px; border: 0; background: transparent; color: var(--muted); }
.view-controls button[aria-pressed="true"] { background: #2b2c2d; color: var(--foreground); }
.view-controls svg { width: 12px; height: 12px; fill: currentColor; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 32px; }
.photo { min-width: 0; scroll-margin-top: 24px; }
.photo-link { display: block; position: relative; background: #18191a; }
.photo-link img { width: 100%; height: auto; }
.photo-expand { position: absolute; right: 16px; bottom: 16%; display: grid; place-items: center; width: 38px; height: 38px; background: #101112e6; border: 1px solid #ffffff40; font-size: 24px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.photo-link:hover .photo-expand, .photo-link:focus-visible .photo-expand { opacity: 1; transform: translateY(0); }
.photo figcaption { display: flex; gap: 17px; padding-top: 18px; }
.photo-number { font-size: 12px; line-height: 27px; color: var(--accent); font-variant-numeric: tabular-nums; }
.photo h3 { font-size: 17px; font-weight: 400; line-height: 1.6; }
.photo figcaption p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.photo-grid[data-layout="sequence"] { grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin-inline: auto; gap: 76px; }
.collection-end { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 60px 0 32px; font-size: 13px; color: var(--muted); }
.collection-end a { color: var(--foreground); }
.collection-end a span { color: var(--accent); margin-left: 16px; }
.closing { text-align: center; padding-block: 100px 110px; }
.closing h2 { font: 400 clamp(44px, 5vw, 70px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -2px; margin-block: 24px 32px; }
.closing h2 em { color: var(--accent); font-weight: 400; }
.text-link { display: inline-block; padding-bottom: 10px; border-bottom: 1px solid #74706a; font-size: 16px; }
.text-link span { margin-left: 32px; color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.7; }
.site-footer a { color: var(--foreground); }
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0d0f; color: var(--foreground); }
.lightbox::backdrop { background: #0c0d0f; }
.lightbox-shell { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0c0d0f; }
.lightbox-shell:fullscreen { width: 100vw; height: 100dvh; }
.lightbox-toolbar { position: absolute; z-index: 2; top: max(12px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); display: flex; align-items: center; gap: 12px; pointer-events: none; }
.lightbox-toolbar > * { pointer-events: auto; }
.lightbox-brand { font-size: 12px; padding: 12px 15px; background: #0c0d0fe6; }
.lightbox-brand span { color: var(--accent); margin-inline: 12px; }
.lightbox-counter { margin-left: auto; padding: 12px; background: #0c0d0fe6; font-size: 12px; color: var(--foreground); font-variant-numeric: tabular-nums; }
.icon-button { display: grid; place-items: center; background: #0c0d0fe6; border: 1px solid #ffffff35; width: 48px; height: 48px; font-size: 24px; line-height: 1; }
.icon-button:hover:not(:disabled) { background: #292a2b; }
.lightbox-close { font-size: 34px; }
.lightbox-info { min-height: 48px; padding: 0 15px; border: 1px solid #ffffff35; background: #0c0d0fe6; font-size: 12px; }
.lightbox-info:hover, .lightbox-info[aria-expanded="true"] { background: #292a2b; }
.lightbox-stage { position: absolute; inset: 0; }
.lightbox-image { width: 100%; height: 100%; padding: 6px; object-fit: contain; touch-action: pan-y pinch-zoom; }
.is-loading .lightbox-image { opacity: 0; }
.lightbox-prev, .lightbox-next { position: absolute; z-index: 1; top: calc(50% - 24px); }
.lightbox-prev { left: max(16px, env(safe-area-inset-left)); }
.lightbox-next { right: max(16px, env(safe-area-inset-right)); }
.lightbox-details { position: absolute; z-index: 2; bottom: max(6px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(680px, calc(100% - 32px)); max-height: 30dvh; overflow-y: auto; padding: 10px 18px; background: #0c0d0ff2; border: 1px solid var(--line); box-shadow: 0 4px 24px #0004; }
.lightbox-details h2 { font-size: 16px; font-weight: 400; line-height: 1.4; }
.lightbox-details p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.lightbox-status { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 140px); padding: 14px 18px; text-align: center; font-size: 13px; line-height: 1.6; background: #0c0d0ff2; }

@media (max-width: 1050px) {
  .page-width { width: calc(100% - 64px); }
  .exhibition { gap: 28px; min-height: 600px; padding-block: 65px; grid-template-columns: .85fr 1.15fr; }
  .exhibition h1 { font-size: 120px; letter-spacing: -6px; }
  .exhibition-subtitle { font-size: 25px; }
  .exhibition-description { font-size: 17px; }
  .exhibition-meta { padding-top: 24px; }
  .site-header nav { gap: 22px; }
  .photo-grid { gap: 42px 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 20px; }
  .wordmark { font-size: 18px; }
  .wordmark span { font-size: 8px; letter-spacing: 2.9px; }
  .site-header nav { gap: 20px; font-size: 13px; }
  .site-header .nav-home { display: none; }
  .exhibition { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-block: 47px 50px; }
  .exhibition-copy { padding-bottom: 0; }
  .exhibition h1 { font-size: clamp(98px, 24vw, 160px); margin: 17px 0 12px -3px; letter-spacing: -6px; }
  .exhibition-subtitle { font-size: 26px; }
  .exhibition-description { font-size: 16px; margin-top: 20px; }
  .explore-link { margin-top: 25px; font-size: 20px; gap: 60px; }
  .exhibition-meta { margin-top: 28px; padding-top: 0; font-size: 12px; gap: 12px 18px; }
  .exhibition-meta span + span::before { margin-right: 18px; }
  .collection { padding-top: 35px; }
  .collection-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 26px; }
  .collection-heading .eyebrow { font-size: 11px; letter-spacing: 1.4px; }
  .collection h2 { font-size: 40px; }
  .photo-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .photo-grid[data-layout="sequence"] { gap: 60px; }
  .photo figcaption { padding-top: 13px; gap: 12px; }
  .photo h3 { font-size: 16px; }
  .photo figcaption p { font-size: 13px; }
  .collection-end { padding-top: 36px; font-size: 12px; }
  .closing { padding-block: 70px; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
  .site-footer span:nth-child(2) { order: 3; width: 100%; }
  .lightbox-toolbar { gap: 8px; }
  .lightbox-brand { display: none; }
  .lightbox-counter { margin-left: 0; margin-right: auto; }
  .lightbox-image { padding: 0; }
  .lightbox-prev { left: max(8px, env(safe-area-inset-left)); }
  .lightbox-next { right: max(8px, env(safe-area-inset-right)); }
  .lightbox-details { padding: 10px 14px; }
  .lightbox-details h2 { font-size: 14px; }
  .lightbox-details p { font-size: 12px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .lightbox-toolbar { top: max(6px, env(safe-area-inset-top)); }
  .lightbox-details { padding: 8px 14px; }
  .lightbox-details h2 { font-size: 14px; }
  .lightbox-details p { font-size: 12px; }
}
@media (max-width: 380px) {
  .site-header { gap: 12px; }
  .wordmark { font-size: 15px; white-space: nowrap; }
  .site-header nav { gap: 12px; font-size: 10px; }
  .site-header nav a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
