@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/instrument-serif-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/instrument-serif-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/inter-latin.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;
}
:root {
  --paper: #f2eee6;
  --ink: #23201d;
  --muted: #57514a;
  --line: #bfb6a8;
  --room: #252320;
  --room-light: #e9e3d8;
  --room-muted: #c1b9ac;
  --room-line: #615950;
  --accent: #a33225;
  --accent-dark: #78271e;
  --white: #fff9ef;
  --visit: #802f25;
  --visit-line: #c17a6e;
  --scrim: rgba(22, 19, 16, .82);
  --display: "Instrument Serif", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .95;
  min-width: 0;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(3.25rem, 6.4vw, 6.5rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2.7rem, 4vw, 4.2rem); }
a { color: inherit; text-underline-offset: .23em; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.shell { width: min(100% - var(--gutter) * 2, 90rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8.5vw, 9rem); }
.skip {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  transform: translateY(-160%);
  background: var(--paper);
  padding: .6rem 1rem;
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 2rem;
  min-height: 4.75rem;
}
.gallery-mark { flex: none; }
.gallery-mark img { width: 3.5rem; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2.7vw, 2.5rem); }
nav a, .footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.nav-visit { color: var(--accent-dark); }

.hero {
  background: linear-gradient(to right, var(--paper) 0 50%, var(--room) 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: min(47rem, calc(100svh - 4.75rem));
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3.25rem, 5.2vw, 6.5rem);
  padding-right: clamp(1.25rem, 4vw, 4.4rem);
}
.edition, .section-label {
  color: var(--accent-dark);
  font-size: .875rem;
  font-weight: 600;
}
h1 {
  font-size: clamp(6.2rem, 12.8vw, 12.75rem);
  letter-spacing: -.055em;
  line-height: .83;
  margin: .115em 0 .16em -.04em;
}
h1 span { color: var(--accent); }
.hero-authors { font-size: clamp(1.04rem, 1.65vw, 1.4rem); font-weight: 600; letter-spacing: -.035em; }
.hero-description { margin-top: .7rem; max-width: 33ch; color: var(--muted); }
.hero-visit { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3.1vw, 2.8rem); padding-top: 1.2rem; }
.range { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 600; letter-spacing: -.045em; }
.opening { color: var(--muted); font-size: .875rem; margin: .1rem 0 1.4rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 3.25rem;
  padding: .6rem 1.15rem;
  color: var(--white);
  background: var(--accent-dark);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .18s, color .18s;
}
.button:hover { background: var(--ink); }
.button span { font-size: 1.1rem; font-weight: 400; }

.hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-block: clamp(2.5rem, 5.2vw, 5.5rem);
  padding-left: clamp(1.4rem, 4vw, 4.4rem);
  color: var(--room-light);
}
.art-frame, .installation { min-width: 0; }
.art-frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--room-line);
  background: var(--room);
}
.art-frame img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; }
.art-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .3rem 1rem;
  min-height: 2.75rem;
  margin-top: .65rem;
  color: var(--room-muted);
  font-size: .875rem;
}
.art-caption em { color: var(--room-light); }
.art-toggle {
  min-height: 2.75rem;
  border: 0;
  padding: .2rem 0 .2rem .25rem;
  background: transparent;
  text-align: right;
  color: var(--room-light);
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.art-toggle:hover { color: var(--white); }

.editorial-grid, .participation-grid, .artists-grid, .visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6.5vw, 7rem);
}
.section-label { margin-bottom: 1.25rem; }
.editorial-copy { max-width: 51ch; align-self: end; }
.editorial-copy p + p { margin-top: 1.15rem; }
.artwork-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 2vw, 2rem);
  margin-top: clamp(2rem, 5vw, 5rem);
}
.artwork-views img { width: 100%; }
.artwork-views figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }

.lead {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3vw, 3.05rem);
  line-height: 1.05;
}
.participation { background: var(--room); color: var(--room-light); }
.participation-grid { grid-template-columns: 1.15fr minmax(0, 1fr); align-items: center; }
.participation h2 { font-size: clamp(3.25rem, 5.4vw, 5.7rem); }
.installation img { width: 100%; }
.installation figcaption { margin-top: .75rem; color: var(--room-muted); font-size: .875rem; }
.steps { list-style: decimal-leading-zero; padding-left: 2.25rem; margin: 1.65rem 0 0; }
.steps li { padding: .9rem 0 .9rem .25rem; border-top: 1px solid var(--room-line); }
.steps li::marker { color: var(--room-muted); font-size: .85rem; }
.steps strong { font-weight: 600; }

.teaser-toggle, .teaser form button {
  min-height: 2.75rem;
  border: 0;
  padding: 0;
  color: var(--room-light);
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.teaser-toggle { margin-top: .65rem; }
.teaser {
  width: min(90%, 26rem);
  max-height: 91svh;
  padding: 1rem;
  border: 1px solid var(--room-line);
  background: var(--room);
  color: var(--room-light);
}
.teaser::backdrop { background: var(--scrim); }
.teaser-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.teaser-header h2 { font-size: 2rem; }
.teaser video {
  display: block;
  width: 100%;
  max-height: 74svh;
  margin-top: .5rem;
  object-fit: contain;
}

.artists h2 { margin-bottom: clamp(2rem, 4.5vw, 4.25rem); }
.artists article { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.artists article p { max-width: 48ch; margin-top: 1.1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .8rem; color: var(--accent-dark); font-size: .875rem; font-weight: 600; }
.text-link:hover { color: var(--ink); }

.visit { background: var(--visit); color: var(--white); }
.visit-grid { align-items: end; }
.visit p { max-width: 44ch; margin: 1.35rem 0 1.75rem; }
.visit .button { background: var(--paper); color: var(--accent-dark); }
.visit .button:hover { background: var(--ink); color: var(--white); }
.visit-details > div { border-top: 1px solid var(--visit-line); padding: 1rem 0 1.05rem; }
.visit-details dt { font-size: .875rem; }
.visit-details dd { font-size: clamp(1rem, 1.9vw, 1.4rem); font-weight: 600; letter-spacing: -.025em; }
.site-footer { background: var(--room); color: var(--room-light); }
.footer-inner { font-size: .875rem; }
.footer-inner a { gap: .55rem; }

@media (max-width: 62rem) and (min-width: 48.01rem) {
  h1 { font-size: 12.7vw; }
  .hero-grid { min-height: 0; }
}
@media (max-width: 48rem) {
  .header-inner { min-height: 4rem; }
  .gallery-mark img { width: 3rem; }
  .hero { background: var(--paper); }
  .hero-grid { display: block; width: 100%; }
  .hero-copy { padding: 2.75rem var(--gutter) 2rem; }
  h1 { font-size: clamp(5.6rem, 21vw, 10rem); }
  .hero-description { max-width: 39ch; }
  .hero-visit { margin-top: 1.3rem; padding-top: .8rem; }
  .opening { margin-bottom: 1rem; }
  .hero-art { padding: var(--gutter); background: var(--room); }
  .art-frame { max-width: 34rem; width: 100%; align-self: center; }
  .art-caption { width: 100%; max-width: 34rem; align-self: center; }
  .editorial-grid, .participation-grid, .artists-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .participation-grid > div { grid-row: 1; }
  .artists-grid { row-gap: 2.25rem; }
}
@media (max-width: 25rem) {
  .header-inner { gap: 1rem .6rem; }
  nav { gap: .65rem; }
  nav a { font-size: .8125rem; }
  .footer-inner { gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
