:root{color-scheme:light;--ink:#202523;--paper:#f6f4ee;--accent:#a43722;--line:#d9d4c7;font:1rem/1.55 system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:.2em}a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{display:block;max-width:100%}
.wrap{width:min(76rem,calc(100% - 2.5rem));margin:auto}.masthead,.footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.25rem 0}.masthead{border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:.07em;text-decoration:none}.masthead nav{display:flex;flex-wrap:wrap;gap:.7rem 1.3rem}.masthead nav a{font-size:.9rem}.footer{border-top:1px solid var(--line);font-size:.85rem;margin-top:3rem}
h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.02;margin:0}h1{font-size:clamp(3rem,9vw,8rem);letter-spacing:-.06em}h2{font-size:clamp(1.9rem,4vw,3.5rem);letter-spacing:-.035em}.eyebrow{color:var(--accent);text-transform:uppercase;font-weight:750;font-size:.78rem;letter-spacing:.14em}.hero{padding:clamp(2.7rem,8vw,7rem) 0 2rem}.intro{font-size:clamp(1.1rem,2vw,1.5rem);max-width:50ch}.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin:1.7rem 0}.button{background:var(--ink);color:white;padding:.75rem 1rem;text-decoration:none;display:inline-block}.button:hover{background:var(--accent)}.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:.2rem}.strip img{width:100%;aspect-ratio:1;object-fit:cover}.strip a:hover{opacity:.8}.section{margin:3rem 0}.copy{max-width:66ch}.small{font-size:.86rem;color:#555a56}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,10rem),1fr));gap:1.4rem .9rem;padding:0;list-style:none}.card a{text-decoration:none}.card a:hover{text-decoration:underline}.card img,.missing{width:100%;aspect-ratio:1;object-fit:contain;background:#eae6db}.missing{display:grid;place-items:center;padding:1rem;text-align:center}.card span{display:block;padding-top:.3rem}.filters{display:flex;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}.filters label{display:grid;gap:.3rem}.filters input,.filters select{font:inherit;padding:.55rem;color:inherit;background:white;border:1px solid #777}.detail{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:2rem}.detail img{max-height:75vh;object-fit:contain}.detail h1{font-size:clamp(2.5rem,5vw,5rem)}dt{font-weight:700}dd{margin:0 0 .7rem}
@media(max-width:650px){.detail{grid-template-columns:1fr}.hero{text-align:center}.intro{margin-inline:auto}.actions{justify-content:center}.strip{grid-template-columns:repeat(2,1fr)}}
[hidden]{display:none!important}
.sequence{display:flex;overflow-x:auto;margin-top:1rem;padding:.3rem 0 .8rem}
.sequence a{flex:none}
.sequence img,.sequence .missing{height:9rem;width:auto;aspect-ratio:auto}
.sequence .missing{min-width:8rem}

/* The artwork supplies the color. The interface stays quiet around it. */
:root {
  color-scheme: dark;
  --ink: #f4f3f0;
  --paper: #202124;
  --accent: #ffda22;
  --line: #57585c;
}

.masthead { border: 0; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover,
body:has(.exhibition) .masthead nav a:first-child {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.button {
  background: var(--accent);
  color: #171819;
  font-weight: 650;
}
.button:hover { background: #ffe56e; }
.small, .strip span { color: #d4d3d0; }
.card img, .missing { background: #303135; }
.filters input, .filters select { background: #303135; }

.exhibition { text-align: center; }
.exhibition-title { padding-block: clamp(2.5rem, 4vw, 4rem) clamp(1.65rem, 2.4vw, 2.25rem); }
.exhibition-title h1 {
  font-family: system-ui, sans-serif;
  font-size: clamp(2.7rem, 7.6vw, 7rem);
  font-weight: 550;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.exhibition-title p {
  line-height: 1.3;
  margin: .65rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 2rem);
  font-weight: 350;
}
.exhibition .strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100vw;
  width: 100cqw;
  margin-inline: calc(50% - 50cqw);
}
body { container-type: inline-size; }
.strip a { text-decoration: none; }
.strip img { object-fit: cover; }
.strip span { display: block; padding-top: .55rem; }
.strip a:focus-visible { outline-offset: -4px; }
.exhibition-actions {
  justify-content: center;
  align-items: center;
  gap: .85rem 3rem;
  margin: clamp(2rem, 4.25vw, 4rem) 0;
  font-size: clamp(1rem, 1.9vw, 1.65rem);
}
.exhibition-actions .button { padding: .65em 1.35em; }
.exhibition-story {
  border-top: 1px solid var(--line);
  text-align: center;
  margin-top: 0;
  padding-top: 2rem;
}
.exhibition-story h2 { font-family: system-ui, sans-serif; font-weight: 500; }
.exhibition-story p { max-width: 65ch; margin-inline: auto; }
body:has(.exhibition) .wrap { width: min(90rem, calc(100% - 5rem)); }

@media (max-width: 650px) {
  body:has(.exhibition) .wrap { width: calc(100% - 2rem); }
  .exhibition .strip {
    grid-template-columns: repeat(4, 56%);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: .65rem;
  }
  .exhibition .strip a { scroll-snap-align: start; }
  .exhibition-actions { gap: .85rem 1.5rem; }
}

.card-wide img { aspect-ratio: 2 / 1; }

@media (min-width: 380px) {
  .card-wide { grid-column: span 2; }
}
