:root {
  --paper: #f3f0ea;
  --paper-deep: #e6e1d8;
  --ink: #1c1b19;
  --muted: #6f6b64;
  --line: #d5d0c8;
  --cobalt: #1d3f73;
  --black: #111110;
  --light: #f3f0ea;
  --light-muted: #a39e96;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(1.15rem, 3.2vw, 3.25rem);
  --ease: cubic-bezier(0.22, 0.1, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1, h2, h3, p, figure, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--cobalt);
  color: var(--paper);
}

:focus-visible {
  outline: 1px solid var(--cobalt);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section,
[id] {
  scroll-margin-top: 4.75rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  max-width: 36rem;
}

.link,
button.link {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--cobalt);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.link:hover,
button.link:hover {
  border-bottom-color: currentColor;
}

.text-btn,
.wordmark,
.nav-primary a,
.nav-visit,
.menu-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--paper);
  transition: opacity 0.8s var(--ease);
}

.loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.loader-mark {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loader-sub {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader-line {
  position: relative;
  width: 7.5rem;
  height: 1px;
  margin-top: 1.3rem;
  background: var(--line);
  overflow: hidden;
}

.loader-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--ink);
  animation: load-line 1.45s var(--ease) forwards;
}

@keyframes load-line {
  to { width: 100%; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.15rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease);
}

.site-header.is-compact {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-header.is-compact .wordmark,
.site-header.is-compact .nav-primary a,
.site-header.is-compact .nav-visit,
.site-header.is-compact .menu-toggle {
  font-size: 0.66rem;
}

.wordmark {
  white-space: nowrap;
}

.nav-primary {
  display: flex;
  gap: 1.7rem;
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  display: none;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: calc(100svh - 4.6rem);
  padding: 1.15rem var(--pad) 2.5rem;
}

.hero-figure {
  order: -1;
  margin: 0;
  height: 68svh;
  background: var(--paper-deep);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 16rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  margin-bottom: 0.9rem;
  background: var(--cobalt);
}

.hero h1,
.feature-copy h2,
.section h2,
.online h2,
.digital-intro h2,
.profile-intro h2,
.viewer-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  max-width: 11ch;
}

.hero-lead {
  margin-top: 1.15rem;
  max-width: 28rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.4;
}

.hero-dates {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-foot .link {
  margin-top: 0.85rem;
}

/* Sections */

.section {
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad);
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 2.25rem;
}

.feature {
  display: grid;
  gap: 1.25rem;
}

.feature-main,
.feature-pair figure {
  margin: 0;
}

.feature-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 0.8rem 0 0;
  max-width: 12ch;
}

.facts {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 1.4rem;
}

.facts div {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-pair figcaption,
.strip figcaption {
  margin-top: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.media {
  background: var(--paper-deep);
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-square { aspect-ratio: 1; }
.ratio-wide { aspect-ratio: 4 / 3; }
.ratio-banner { aspect-ratio: 16 / 10; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-landscape { aspect-ratio: 3 / 2; }
.ratio-building { aspect-ratio: 16 / 10; min-height: 52vh; }
.ratio-strip { aspect-ratio: 3 / 2; height: 34vh; }

.reveal.will-reveal:not(.is-in) {
  opacity: 0;
}

.reveal.will-reveal.is-in {
  opacity: 1;
  transition: opacity 0.9s var(--ease);
}

.index-block {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.ex-list {
  margin-top: 1rem;
  border-bottom: 1px solid var(--line);
}

.ex-row {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.35rem 0 1.45rem;
  border-top: 1px solid var(--line);
}

.ex-num {
  padding-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.ex-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.6s var(--ease);
}

.ex-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ex-note {
  margin-top: 0.45rem;
  color: var(--cobalt);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ex-preview {
  display: none;
}

.ex-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}

/* Collection */

.collection-grid {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.work-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.collection-grid .work:nth-child(even) .media {
  width: 82%;
  margin-left: auto;
}

.caption {
  display: grid;
  gap: 0.12rem;
  margin-top: 0.7rem;
}

.caption-title,
.viewer-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.caption-title {
  font-size: 1.15rem;
  line-height: 1.2;
}

.caption-meta {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.caption-meta.is-artist {
  color: var(--ink);
}

/* Artists */

.artist-index {
  max-width: 46rem;
}

.letter {
  margin: 2.4rem 0 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.artist-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
}

.artist-preview {
  width: 3.6rem;
  height: 4.6rem;
  object-fit: cover;
  opacity: 0;
  background: var(--paper-deep);
  transition: opacity 0.45s var(--ease);
}

.artist-link:focus-visible .artist-preview {
  opacity: 1;
}

/* Visit */

.visit-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.visit-grid .label {
  margin-bottom: 0.9rem;
}

.visit-value {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.65;
}

.hours {
  display: grid;
  gap: 1rem;
}

.hours p {
  display: grid;
  gap: 0.1rem;
}

.visit .link {
  margin-top: 1.5rem;
}

/* Building */

.building {
  padding-top: 0;
}

.building-frame {
  position: relative;
  margin: 0;
}

.building-label {
  max-width: 26rem;
  margin-top: 1.15rem;
}

.building-label h2 {
  margin-bottom: 0.45rem;
}

.building-label p {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

.strip {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.strip figure {
  flex: 0 0 78vw;
  margin: 0;
  scroll-snap-align: start;
}

.strip .media img {
  height: 100%;
}

/* Online */

.online {
  display: grid;
  gap: 2rem;
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad);
  background: var(--black);
  color: var(--light);
}

.online .label,
.online .prose {
  color: var(--light-muted);
}

.online h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 10ch;
}

.online .prose {
  color: var(--light);
}

.online .link {
  color: var(--light);
}

.online :focus-visible {
  outline-color: var(--light);
}

.online-figure {
  margin: 0;
}

/* Journal */

.journal-list {
  border-bottom: 1px solid var(--line);
}

.journal-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.journal-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
}

.journal-list p {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Footer */

.site-footer {
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad) 1.4rem;
  border-top: 1px solid var(--line);
}

.footer-mark {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 12.5vw, 8.2rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.footer-desc {
  margin-top: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 5rem;
  margin-top: 3rem;
}

.footer-cols nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-cols a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--cobalt);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal a {
  color: inherit;
  text-decoration: none;
}

.legal a:hover {
  color: var(--cobalt);
}

.doc {
  padding: clamp(3.2rem, 8vw, 6.5rem) var(--pad) clamp(4rem, 9vw, 7rem);
  max-width: 44rem;
}

.doc h1 {
  margin: 0.55rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.doc .updated {
  margin-bottom: 2.2rem;
}

.doc h2 {
  margin: 2.3rem 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.doc p,
.doc li {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.doc p + p {
  margin-top: 0.85rem;
}

.doc ul {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
}

.doc li {
  margin: 0.35rem 0;
}

.doc a {
  color: var(--cobalt);
}

/* Viewer */

.viewer,
.profile,
.digital {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
}

.viewer[hidden],
.profile[hidden],
.digital[hidden] {
  display: none;
}

.viewer {
  display: block;
  background: var(--paper);
  color: var(--ink);
  animation: view-in 0.55s var(--ease);
}

.viewer.is-dark {
  background: var(--black);
  color: var(--light);
}

.viewer-stage {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding: 5.5rem var(--pad) 1.5rem;
}

.viewer-stage img {
  max-width: min(100%, 920px);
  max-height: 62vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.55s var(--ease);
  background: transparent;
}

.viewer-stage img.is-fading {
  opacity: 0;
}

.viewer-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 0 var(--pad) 2.5rem;
}

.viewer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.5rem;
}

.viewer-controls button,
.profile-bar .text-btn,
.digital-bar .text-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.viewer-copy h2 {
  margin: 0.75rem 0 1.1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.viewer-line {
  margin: 0.15rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viewer-note {
  margin-top: 1.35rem;
}

.viewer.is-dark .label,
.viewer.is-dark .viewer-line:not(:first-of-type) {
  color: var(--light-muted);
}

.viewer.is-dark .viewer-panel {
  border-color: rgba(243, 240, 234, 0.22);
}

.viewer.is-dark :focus-visible,
.digital :focus-visible {
  outline-color: var(--light);
}

/* Profile */

.profile {
  z-index: 70;
  background: var(--paper);
  animation: view-in 0.55s var(--ease);
}

.profile-bar,
.digital-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.profile-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2rem var(--pad) 5rem;
}

.profile-intro h2 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-style: normal;
}

.profile-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}

.profile-intro .prose {
  margin-top: 1.3rem;
}

.profile-works-wrap .label {
  margin-bottom: 1.4rem;
}

.profile-works {
  display: grid;
  gap: 2.75rem;
}

.profile-works .work:first-child .media {
  aspect-ratio: 4 / 3;
}

.profile-works .work:nth-child(n + 2) {
  width: min(100%, 26rem);
}

.profile-works .work:nth-child(even) {
  margin-left: auto;
}

/* Digital exhibition */

.digital {
  z-index: 75;
  background: var(--black);
  color: var(--light);
  animation: view-in 0.55s var(--ease);
}

.digital-bar {
  background: var(--black);
  border-bottom-color: rgba(243, 240, 234, 0.2);
}

.digital-bar .wordmark {
  color: var(--light);
  cursor: default;
}

.digital-intro {
  min-height: calc(100svh - 3.5rem);
  display: flex;
  align-items: flex-end;
  padding: 2rem var(--pad) 3rem;
}

.digital-intro h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  max-width: 8ch;
  margin-bottom: 1rem;
}

.digital-intro .prose {
  color: var(--light-muted);
}

.digital-work {
  display: grid;
  gap: 1.25rem;
  padding: 0 var(--pad) clamp(5rem, 12vw, 9rem);
}

.digital-work .media {
  background: #1a1918;
}

.digital-work .caption-title {
  color: var(--light);
}

.digital-work .caption-meta {
  color: var(--light-muted);
}

.digital-work .caption-meta.is-artist {
  color: var(--light);
}

.digital-note {
  margin-top: 1rem;
  color: var(--light-muted);
}

.digital-work:nth-child(odd) .media {
  width: min(100%, 68%);
}

.digital-work:nth-child(even) .media {
  width: min(100%, 78%);
  margin-left: auto;
}

@keyframes view-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Tablet */

@media (min-width: 721px) {
  .collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.25rem;
    align-items: start;
  }

  .collection-grid .work:nth-child(even) .media {
    width: auto;
    margin-left: 0;
  }

  .collection-grid .work:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .collection-grid .work:nth-child(3n + 1) .media {
    aspect-ratio: 16 / 10;
  }

  .visit-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 2rem;
  }

  .strip figure {
    flex-basis: 46vw;
  }

  .journal-list li {
    grid-template-columns: 1fr 8rem;
  }
}

@media (min-width: 860px) {
  .mobile-panel {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(15rem, 23rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: stretch;
    padding-top: 1.35rem;
  }

  .hero-figure {
    order: 0;
    height: auto;
    min-height: calc(100svh - 7rem);
  }

  .hero-copy {
    padding: 0.4rem 0 0.2rem;
    min-height: 0;
  }

  .feature {
    grid-template-columns: 1.35fr 0.9fr;
    grid-template-areas:
      "image copy"
      "image pair";
    column-gap: 2rem;
    row-gap: 1.25rem;
    align-items: stretch;
  }

  .feature-main {
    grid-area: image;
    height: 100%;
  }

  .feature-main .media {
    height: 100%;
    min-height: 38rem;
    aspect-ratio: auto;
  }

  .feature-copy { grid-area: copy; }
  .feature-pair { grid-area: pair; align-self: end; }

  .online {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 3rem;
  }

  .profile-layout {
    grid-template-columns: minmax(16rem, 26rem) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }

  .profile-intro {
    position: sticky;
    top: 5.5rem;
  }

  .viewer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    overflow: hidden;
  }

  .viewer-stage {
    min-height: 100%;
    padding: 2.5rem;
  }

  .viewer-stage img {
    max-height: calc(100svh - 5rem);
    max-width: 100%;
  }

  .viewer-panel {
    justify-content: flex-start;
    gap: 2.75rem;
    border-left: 1px solid var(--line);
    padding: 1.4rem 1.5rem 1.6rem;
    overflow: auto;
  }

  .viewer.is-dark .viewer-panel {
    border-left-color: rgba(243, 240, 234, 0.22);
  }

  .building-frame {
    min-height: 78vh;
  }

  .building .ratio-building {
    height: 78vh;
    aspect-ratio: auto;
  }

  .building-label {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 1.2rem 1.6rem 0 0;
    background: var(--paper);
  }

  .digital-work {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: end;
    gap: 2.5rem;
  }

  .digital-work:nth-child(even) {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .digital-work:nth-child(odd) .media,
  .digital-work:nth-child(even) .media {
    width: 100%;
    margin: 0;
  }

  .digital-work:nth-child(even) .digital-caption {
    order: -1;
  }

  .digital-work .ratio-landscape {
    aspect-ratio: 5 / 4;
    max-height: 78vh;
  }
}

/* Desktop collection */

@media (min-width: 1101px) {
  .collection-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.35rem;
    row-gap: 3.4rem;
  }

  .collection-grid .work:nth-child(3n + 1) {
    grid-column: auto;
  }

  .collection-grid .ratio-wide { aspect-ratio: 4 / 3; }
  .collection-grid .ratio-tall { aspect-ratio: 3 / 4; }
  .collection-grid .ratio-banner { aspect-ratio: 16 / 10; }
  .collection-grid .ratio-landscape { aspect-ratio: 3 / 2; }

  .collection-grid .work:nth-child(1) { grid-column: 1 / span 7; }
  .collection-grid .work:nth-child(2) { grid-column: 9 / span 4; }
  .collection-grid .work:nth-child(3) { grid-column: 1 / span 4; }
  .collection-grid .work:nth-child(4) { grid-column: 6 / span 7; }
  .collection-grid .work:nth-child(5) { grid-column: 2 / span 4; }
  .collection-grid .work:nth-child(6) { grid-column: 8 / span 5; }
  .collection-grid .work:nth-child(7) { grid-column: 1 / span 5; }
  .collection-grid .work:nth-child(8) { grid-column: 7 / span 6; }
  .collection-grid .work:nth-child(9) { grid-column: 1 / span 3; }
  .collection-grid .work:nth-child(10) { grid-column: 5 / span 8; }
  .collection-grid .work:nth-child(11) { grid-column: 1 / span 6; }
  .collection-grid .work:nth-child(12) { grid-column: 8 / span 4; }

  .work:nth-child(2) .work-open,
  .work:nth-child(6) .work-open,
  .work:nth-child(12) .work-open {
    padding-top: 14vh;
  }

  .ex-row {
    grid-template-columns: 3.4rem 1fr;
    align-items: center;
    padding-right: 10.5rem;
  }

  .ex-preview {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 8.75rem;
    height: 6.1rem;
    object-fit: cover;
    opacity: 0;
    background: var(--paper-deep);
    transform: translateY(-50%);
    transition: opacity 0.45s var(--ease);
  }

  .strip figure {
    flex-basis: 34vw;
  }
}

@media (max-width: 859px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-primary,
  .nav-visit {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    grid-column: 1 / -1;
    padding: 0.4rem 0 0.9rem;
  }

  .mobile-panel a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    line-height: 1.15;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ex-row:hover .ex-title {
    transform: translateX(0.4rem);
  }

  .ex-row:hover .ex-preview {
    opacity: 1;
  }

  .ex-row:hover .ex-line {
    transform: scaleX(1);
  }

  .artist-link:hover .artist-preview {
    opacity: 1;
  }

  .work-open:hover .media img {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .loader-line span { width: 100%; }
  .reveal.will-reveal { opacity: 1; }
}
