@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans-italic-variable.ttf') format('truetype');
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #737373;
  --edge: clamp(24px, 2.4vw, 44px);
  --rail: clamp(250px, 24vw, 370px);
  --gap: clamp(24px, 3vw, 56px);
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito Sans', Arial, sans-serif; font-size: 13px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
p, h1, figure { margin: 0; }
.gallery-layout { min-height: 100vh; min-height: 100svh; padding: 30px var(--edge) 28px; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--gap); row-gap: 40px; }
.identity { grid-column: 1; grid-row: 1; font-size: 16px; font-weight: 800; letter-spacing: .07em; }
.navigation { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; font-family: 'Nunito Sans', Arial, sans-serif; font-size: 15px; font-weight: 300; }
.navigation a { white-space: nowrap; }
.exhibition { grid-column: 1 / -1; grid-row: 2 / 4; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gap); align-items: start; }
.exhibition-copy { grid-column: 1; padding-top: clamp(90px, 22vh, 240px); padding-bottom: 245px; }
.eyebrow { margin-bottom: 24px; font-size: 10px; color: var(--muted); }
.artist-name { margin-bottom: 15px; }
#exhibition-title { font-size: 15px; font-weight: 600; font-style: normal; line-height: 1.35; margin-bottom: 3px; }
.exhibition-date { margin-bottom: 3px; }
.exhibition-image { grid-column: 2; width: min(100%, 660px); }
.exhibition-image img { display: block; width: 100%; height: auto; max-height: 76vh; object-fit: contain; object-position: left top; }
figcaption { margin-top: 10px; font-size: 10px; color: var(--muted); }
.contact-block { grid-column: 1; grid-row: 3; align-self: end; z-index: 1; }
.logo-link { display: inline-block; margin-bottom: 0px; }
.logo-link img { display: block; width: 70px; height: 70px; object-fit: contain; object-position: left center; }
address { font-size: 11px; font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.sample-note { font-size: 10px; color: var(--muted); margin-top: 8px; }
.skip-link { position: absolute; left: 24px; top: -100px; background: white; padding: 8px; z-index: 5; }
.skip-link:focus { top: 8px; }
@media (min-width: 1800px) { .exhibition-image { width: min(100%, 780px); } }
@media (min-width: 641px) and (max-width: 1000px) {
  :root { --rail: 170px; --gap: clamp(24px, 3vw, 56px); }
}
@media (max-width: 900px) {
  .navigation { gap: 8px 16px; }
  .exhibition-copy { padding-top: 90px; }
}
@media (min-width: 1001px) {
  :root { --rail: clamp(200px, 17vw, 270px); }
}
@media (min-width: 641px) {
  :root { --edge: clamp(30px, 3vw, 54px); }
  .gallery-layout {
    height: 100vh; height: 100svh;
    grid-template-rows: auto minmax(min-content, 1fr) auto;
    row-gap: clamp(16px, 3vh, 40px);
  }
  .exhibition { grid-row: 2 / 4; align-items: center; grid-template-rows: minmax(0, 1fr); min-height: 0; }
  .exhibition-copy { padding-block: 0; align-self: center; margin-bottom: min(8vh, 65px); }
  .exhibition-image {
    width: min(100%, clamp(790px, 53vw, 930px));
    contain: size; height: 100%; min-height: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
  .exhibition-image img { flex: 0 1 auto; min-height: 0; max-height: 76vh; object-position: left center; }
  .exhibition-image figcaption { flex: none; }
}
@media (max-width: 640px) {
  .gallery-layout { display: flex; flex-direction: column; padding: 24px; gap: 28px; }
  .identity { font-size: 16px; }
  .navigation { gap: 10px 20px; max-width: 380px; }
  .exhibition { display: flex; flex-direction: column; gap: 26px; }
  .exhibition-copy { padding: 15px 0 0; }
  .eyebrow { margin-bottom: 16px; }
  .exhibition-image { width: 100%; }
  .exhibition-image img { max-height: none; }
  .contact-block { align-self: flex-start; margin-top: 28px; }
  .logo-link img { width: 56px; height: 56px; }
}
