:root {
  --color-soft-black: #151516;
  --color-bone: #f5f3ee;
  --color-warm-grey: #c2bfb8;
  --color-steel-blue: #7b8896;
  --color-steel-blue-muted: #5b6672;

  --font-sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --rule-height: 1px;
  --max-width: 1120px;
  --gutter: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.04em;
  background-color: var(--color-bone);
  color: var(--color-soft-black);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--color-soft-black);
  color: var(--color-bone);
  text-decoration: none;
  z-index: 10;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--color-steel-blue-muted);
}

.site-header {
  padding: 1.5rem var(--gutter) 0.35rem;
}

.site-header__inner {
  margin: 0 auto;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header__toggle {
  display: none;
  position: relative;
  width: 2.2rem;
  height: 1.7rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(21, 21, 22, 0.9);
  transform-origin: center;
  transition:
    transform 160ms ease-out,
    opacity 160ms ease-out,
    background-color 160ms ease-out;
}

.site-header__toggle-line:nth-child(1) {
  top: 0;
}

.site-header__toggle-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.site-header__toggle-line:nth-child(3) {
  bottom: 0;
}

.nav-open .site-header__toggle-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(42deg);
}

.nav-open .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .site-header__toggle-line:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-42deg);
}

.site-header__identity {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.98rem;
  white-space: nowrap;
}

.site-header__name {
  display: inline-block;
}

.site-header__nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-header__nav-link {
  text-decoration: none;
  position: relative;
  padding-block: 0.35rem;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 0;
  height: 1px;
  background: var(--color-steel-blue);
  transition: width 160ms ease-out;
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus-visible::after,
.site-header__nav-link--active::after {
  width: 100%;
}

.site-header__rule {
  margin: 1.25rem auto 0;
  max-width: var(--max-width);
  height: var(--rule-height);
  background: linear-gradient(
    to right,
    rgba(21, 21, 22, 0.18),
    rgba(21, 21, 22, 0.85),
    rgba(21, 21, 22, 0.18)
  );
}

.layout {
  padding: 3.5rem var(--gutter) 3.75rem;
}

.layout__intro {
  margin: 0 auto 4.5rem;
  max-width: var(--max-width);
}

.intro-block__title {
  margin: 0 0 1.5rem;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-block__meta {
  margin: 0;
  max-width: 32rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--color-steel-blue-muted);
}

.intro-block__meta-em {
  letter-spacing: 0.04em;
}

.section {
  margin: 0 auto 3.75rem;
  max-width: var(--max-width);
}

.section--spaced {
  margin-top: 4.75rem;
}

.section--final {
  margin-bottom: 0;
}

.section__header {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  margin-bottom: 1.75rem;
}

.section__title {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  white-space: nowrap;
}

.section__rule {
  flex: 1;
  height: var(--rule-height);
  background: linear-gradient(
    to right,
    rgba(21, 21, 22, 0.15),
    rgba(21, 21, 22, 0.65),
    rgba(21, 21, 22, 0.15)
  );
}

.section__body {
  max-width: 44rem;
  font-size: 0.93rem;
  line-height: 1.7;
}

.section__body p {
  margin: 0 0 0.85rem;
}

.section__body p:last-child {
  margin-bottom: 0;
}

.section__body--columns {
  column-count: 2;
  column-gap: 2.75rem;
}

.grid {
  display: grid;
}

.grid--works {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.work-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(21, 21, 22, 0.25);
}

.work-card__header {
  margin-bottom: 0.6rem;
}

.work-card__title {
  margin: 0 0 0.15rem;
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-card__meta {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-steel-blue-muted);
}

.work-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-card__image {
  margin: 0;
  margin-top: auto;
  border-radius: 0.35rem;
  display: block;
  width: 100%;
}

.work-card__image-inner {
  position: relative;
  width: 100%;
  padding-top: 90%;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(21, 21, 22, 0.16),
    0 10px 25px rgba(21, 21, 22, 0.24);
}

.work-card__image-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition:
    transform 200ms ease-out,
    filter 200ms ease-out;
}

.work-card:hover .work-card__image-inner img,
.work-card:focus-within .work-card__image-inner img {
  transform: scale(1.015);
  filter: saturate(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 8, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox--open {
  display: flex;
}

.lightbox__inner {
  max-width: min(80vw, 1100px);
  max-height: min(80vh, 720px);
  box-shadow:
    0 0 0 1px rgba(245, 243, 238, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.65);
  border-radius: 0.35rem;
  overflow: hidden;
}

.lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050506;
}

.work-card__media {
  margin-top: auto;
  border: 1px solid rgba(21, 21, 22, 0.18);
  background: rgba(21, 21, 22, 0.02);
  overflow: hidden;
}

.work-card__media-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.work-card__media-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.exhibitions {
  border-top: 1px solid rgba(21, 21, 22, 0.25);
}

.exhibition-row {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(21, 21, 22, 0.16);
}

.exhibition-row__meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel-blue-muted);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.exhibition-row__detail {
  font-size: 0.9rem;
}

.exhibition-row__title {
  margin: 0 0 0.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exhibition-row__venue {
  margin: 0;
  color: var(--color-steel-blue-muted);
}

.contact-block {
  display: grid;
  gap: 0.75rem;
  max-width: 30rem;
  font-size: 0.9rem;
}

.contact-block__item {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  gap: 1.5rem;
}

.contact-block__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel-blue-muted);
}

.contact-block__value {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.contact-block__value:hover,
.contact-block__value:focus-visible {
  border-color: rgba(21, 21, 22, 0.45);
}

.contact-block__value--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-block__icon {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.24rem;
  border: 1px solid rgba(21, 21, 22, 0.45);
  position: relative;
}

.contact-block__icon::before {
  content: "";
  position: absolute;
  inset: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 21, 22, 0.45);
}

.site-footer {
  padding: 1.75rem var(--gutter) 2.25rem;
}

.site-footer__rule {
  margin: 0 auto 0.9rem;
  max-width: var(--max-width);
  height: var(--rule-height);
  background: linear-gradient(
    to right,
    rgba(21, 21, 22, 0.18),
    rgba(21, 21, 22, 0.6),
    rgba(21, 21, 22, 0.18)
  );
}

.site-footer__inner {
  margin: 0 auto;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-steel-blue-muted);
}

.site-footer__name {
  color: var(--color-soft-black);
}

.site-footer__meta {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .layout {
    padding-inline: 1.75rem;
  }

  .site-header {
    padding-inline: 1.75rem;
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .site-header__identity {
    font-size: 1.08rem;
  }

  .site-header__toggle {
    display: inline-block;
    align-self: center;
    margin-left: auto;
  }

  .site-header__nav {
    width: 100%;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.2rem);
    transition:
      max-height 160ms ease-out,
      opacity 160ms ease-out,
      transform 160ms ease-out;
  }

  .nav-open .site-header__nav {
    max-height: 12rem;
    opacity: 1;
    transform: translateY(0);
  }

  .grid--works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section__body--columns {
    column-count: 1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
  }

  .layout__intro {
    margin-bottom: 3.25rem;
  }

  .grid--works {
    grid-template-columns: minmax(0, 1fr);
  }

  .exhibition-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.4rem;
  }

  .contact-block__item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.25rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

