:root {
  --canvas: #f6f5f1;
  --ink: #161616;
  --muted: #6b6a66;
  --line: #cfcdc5;
  --panel: #eceae3;
  --typeface: 'Cormorant Garamond', Georgia, serif;
  --serif: var(--typeface);
  --sans: var(--typeface);
  --menu-font-size: clamp(1.7rem, 4vw, 3.1rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

button,
a {
  font: inherit;
}

img,
video,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: var(--canvas);
}

.site-header>* {
  min-width: 0;
}

.site-header>.wordmark,
.site-header>.header-actions {
  position: relative;
  z-index: 30;
}

body.is-home .site-header {
  position: fixed;
  background: var(--canvas);
  color: #111;
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.35vw, 2rem);
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.9;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  opacity: 0.7;
}

.instagram-link {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
}

.instagram-link svg,
.exhibition-close svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.exhibition-close {
  display: none;
  width: 1.55rem;
  height: 1.55rem;
  color: inherit;
}

body.is-exhibition-page .exhibition-close {
  display: inline-flex;
}

.site-nav {
  display: flex;
  position: fixed;
  z-index: 20;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5.5rem 1.5rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.8vh, 1.15rem);
  width: 100%;
  padding: 0;
  margin: auto 0;
  list-style: none;
}

.site-nav-list li {
  margin: 0;
  padding: 0;
  text-align: center;
}

.site-nav a,
.medium-list a {
  font-family: var(--typeface);
  font-size: clamp(1.2rem, 3.1vw, 2.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.menu-toggle {
  display: grid;
  width: 2rem;
  gap: 0.28rem;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: opacity 160ms ease, transform 160ms ease;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: #000;
  color: #fff;
}

body.menu-open .instagram-link,
body.menu-open .exhibition-close {
  display: none;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.41rem) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.41rem) rotate(-45deg);
}

.menu-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.menu-instagram svg {
  width: 0.82em;
  height: 0.82em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

main {
  min-height: calc(100vh - 9rem);
  padding-top: 4.5rem;
}

body.is-home main {
  padding-top: 0;
}

.home-page {
  padding: calc(4.5rem + clamp(1rem, 3vw, 2.5rem)) clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 8rem);
}

.home-feature {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.home-feature img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(78svh, 64rem);
  max-height: calc(100svh - 7.5rem);
  object-fit: contain;
}

.home-feature figcaption {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

.home-exhibition {
  max-width: 48rem;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.home-exhibition-summary {
  text-align: center;
}

.home-exhibition-summary h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.home-exhibition-summary p {
  margin: 0.35rem 0;
}

.home-exhibition-summary a {
  text-underline-offset: 0.18em;
}

.home-exhibition-description {
  max-width: 42rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.35;
}

.home-exhibition-description p {
  margin-bottom: 1.8rem;
}

.hero {
  position: relative;
  display: flex;
  isolation: isolate;
  align-items: flex-end;
  min-height: min(100svh, 60rem);
  overflow: hidden;
}

.hero>* {
  min-width: 0;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(0 0 0 / 0.12));
  content: '';
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  min-height: 0;
  background: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.hero-details {
  display: grid;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: clamp(1rem, 4vw, 4rem);
  color: rgb(0 0 0 / 0.7);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.3;
}

.hero-details p {
  margin: 0;
}

.hero-details a {
  text-underline-offset: 0.2em;
}

.hero-exhibition-details {
  text-align: right;
}

.hero-copy {
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: min(50vh, 32rem);
  padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem);
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.4rem;
  line-height: 1;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 8vw, 8rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
  white-space: nowrap;
}

.hero .eyebrow,
.hero-copy p:not(.eyebrow) {
  color: rgb(255 255 255 / 0.88);
}

.hero-copy p:not(.eyebrow) {
  max-width: 28rem;
  margin-bottom: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
  text-decoration: none;
}

.text-link::after {
  content: '↗';
  font-size: 0.9em;
}

.section {
  padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 5rem);
}

.section-heading p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
}

.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.exhibition-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
  text-decoration: none;
  min-width: 0;
  scroll-margin-top: 5rem;
}

.exhibition-card:hover .card-image img,
.exhibition-card:focus-visible .card-image img {
  transform: scale(1.025);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.card-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.8rem 0 0;
}

.card-copy h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}

.card-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.exhibition-page {
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem) clamp(3rem, 8vw, 8rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link::before {
  content: '← ';
}

.back-link--bottom {
  margin-top: 3rem;
  margin-bottom: 0;
}

.exhibition-intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(10rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 6vw, 6rem);
}

.exhibition-intro>* {
  min-width: 0;
}

.exhibition-intro p {
  margin: 0;
  color: var(--muted);
}

.exhibition-intro h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 0.95;
}

.exhibition-subtitle {
  margin-top: 0.75rem !important;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.exhibition-gallery {
  margin-top: 0.35rem !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.artwork {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.artwork--video {
  max-width: 76rem;
  width: 100%;
}

.artwork-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.artwork-video-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  outline: none;
  background: #000;
}

.video-header h1,
.video-section h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.video-embed-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-copy {
  padding-top: 0.8rem;
}

.video-card-copy h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.video-links {
  margin-top: 0.25rem;
}

.video-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.video-link:hover {
  color: var(--ink);
}

.artwork-zoom {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
  user-select: none;
}

.artwork-zoom.is-zoomed {
  cursor: zoom-out;
}

.artwork-zoom img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(86vh, 64rem);
  display: block;
  object-fit: contain;
  background: transparent;
  transition: transform 0.12s ease-out, transform-origin 0.05s linear;
  will-change: transform, transform-origin;
}

.artwork figcaption {
  padding: 0.6rem 0.1rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  text-align: center;
}

.content-page {
  max-width: 70rem;
  padding: clamp(3rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.content-page .prose {
  max-width: 42rem;
  color: var(--muted);
}

.content-page .prose p {
  margin-bottom: 1.25rem;
}

.bio-portrait {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
}

.bio-portrait--intro {
  max-width: min(100%, 22rem);
}

.bio-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-portrait figcaption {
  padding-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.bio-page {
  max-width: 48rem;
  margin: 0 auto;
}

.bio-page .prose {
  margin: 0 auto;
  text-align: center;
}

.bio-page .bio-portrait {
  margin-left: auto;
  margin-right: auto;
}

.bio-page h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.cv-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.cv-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cv-section h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.cv-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.cv-list li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.cv-list li strong {
  display: inline-block;
  min-width: 3.5rem;
  color: var(--muted);
  font-weight: 500;
}

.publications-page {
  max-width: 96rem;
}

.publications-reviews-section {
  max-width: 48rem;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.publications-page h1 {
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  text-align: left;
}

.publications-page .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
  align-items: start;
}

.publications-page .artwork {
  max-width: 100%;
}

.publications-page .artwork-zoom img {
  width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: contain;
}

@media (max-width: 900px) {
  .publications-page .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .publications-page .gallery {
    grid-template-columns: 1fr;
  }
}

.cv-placeholder {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.section-menu {
  display: grid;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(3rem, 8vw, 8rem) 1rem;
  place-items: center;
  text-align: center;
}

.medium-list {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.medium-list a {
  letter-spacing: -0.03em;
  text-decoration: none;
}

.medium-list a:hover,
.medium-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.digital-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.digital-instagram svg {
  width: 0.72em;
  height: 0.72em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.medium-detail {
  max-width: 62rem;
}

.medium-detail p {
  max-width: 36rem;
  color: var(--muted);
}

.publications-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.publications-list li {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.contact-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-list a {
  text-underline-offset: 0.2em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.lightbox {
  width: min(96vw, 100rem);
  max-width: none;
  max-height: 96vh;
  padding: 1.5rem 4rem;
  border: 0;
  background: #111;
  color: white;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 0.88);
}

.lightbox figure {
  display: grid;
  max-height: calc(96vh - 3rem);
  margin: 0;
  place-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(96vh - 6rem);
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 0.75rem;
  color: #d6d5cf;
  font-size: 0.85rem;
  text-align: center;
  white-space: pre-line;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-previous,
.lightbox-next {
  top: 50%;
  padding: 1rem;
  transform: translateY(-50%);
}

.lightbox-previous {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

@media (max-width: 1400px) {
  .exhibition-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .exhibition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .exhibition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  body.is-home .site-header {
    background: var(--canvas);
  }

  .home-page {
    padding: 5.5rem 1rem 3rem;
  }

  .home-feature {
    width: 100%;
  }

  .home-feature img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .home-exhibition {
    margin-top: 2rem;
  }

  .home-exhibition-description {
    margin-top: 2.5rem;
    font-size: 1.05rem;
  }

  .hero {
    min-height: 42rem;
  }

  .hero-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-exhibition-details {
    text-align: left;
  }

  .section-heading,
  .exhibition-intro {
    display: block;
  }

  .section-heading p {
    margin-top: 1rem;
  }

  .lightbox {
    padding: 1.5rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .exhibition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .site-footer {
    display: block;
  }

  .site-footer span {
    display: block;
    margin-bottom: 0.45rem;
  }
}

@media (max-width: 620px) {

  .section,
  .exhibition-page,
  .content-page {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 36rem;
  }

  .lightbox {
    width: calc(100vw - 1rem);
    padding: 3rem 2rem 1.5rem;
  }

  .lightbox-previous,
  .lightbox-next {
    padding: 0.5rem;
  }
}

@media (max-width: 400px) {
  .exhibition-grid {
    grid-template-columns: 1fr;
  }
}