html {
  background: #ffffff;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: #fff;
  padding: 30px 0 56px;
}

.centered {
  width: calc(100% - 80px);
  margin: 0 auto;
}

.inner::after,
.grid-works::after {
  content: "";
  display: block;
  clear: both;
}

.logo {
  float: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.main-nav {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.2px;
}

.nav-item {
  position: relative;
  display: inline-block;
  margin-left: 22px;
}

.nav-item > a {
  display: block;
}

.work-categories {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  text-align: right;
  font-size: 14px;
}

.work-categories li {
  display: inline-block;
  margin-left: 18px;
  opacity: 0.7;
}

.work-categories li.selected {
  opacity: 1;
}

.nav-item > a:hover,
.nav-item.is-selected > a {
  color: #000;
}

.works-content,
.info-content {
  padding-top: 180px;
  min-height: 100vh;
}

.grid-category {
  display: none;
}

.grid-category.visible {
  display: block;
}

.series-title {
  margin: 0 3% 70px;
  padding-top: 70px;
  border-top: 1px solid #e0e0e0;
}

.series-title span {
  display: block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 300;
}

.one-third {
  display: inline-block;
  vertical-align: top;
  width: 27.15%;
  margin: 0 3% 50px;
}

.image {
  position: relative;
}

.size-img-wrapper {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.size-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f3f3f3;
}

.contain-div {
  position: absolute;
  inset: 0;
  display: block;
}

.grid-item-work:hover .size-img {
  opacity: 0.9;
}

.block.text {
  margin-top: 25px;
}

.block.text .title,
.block.text .year,
.work-description {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.work-description {
  color: #7f7f7f;
}

.info-content {
  width: calc(100% - 80px);
  margin: 0 auto;
}

.info-panel {
  max-width: 760px;
}

.back-link-wrap {
  margin: 0 0 35px;
  text-align: right;
  font-size: 14px;
  font-weight: 300;
}

.back-link {
  color: #8e8e8e;
}

.back-link:hover,
.main-nav a:hover,
.work-categories a:hover {
  color: #000;
}

.info-copy {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.55;
  color: #242424;
}

.info-contact {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.info-email {
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  transition: border-color 160ms ease, color 160ms ease;
}

.info-email:hover {
  border-color: #000;
  color: #000;
}

.info-copy-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #8a8a8a;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.info-copy-button:hover {
  color: #000;
}

.info-copy-status {
  min-width: 52px;
  color: #8a8a8a;
  font-size: 14px;
}

.project-content {
  position: relative;
  min-height: 100vh;
  padding-top: 180px;
  --project-sidebar-left: 48px;
  --project-sidebar-top: 42px;
  --project-sidebar-width: 250px;
  --project-strip-left: 320px;
  --project-strip-top: 42px;
  --project-image-height: 620px;
  --project-gap: 40px;
}

.project-sidebar {
  position: fixed;
  top: calc(118px + var(--project-sidebar-top));
  left: var(--project-sidebar-left);
  width: var(--project-sidebar-width);
  padding-right: 34px;
}

.project-section-label,
.project-block-copy,
.project-block-link,
.project-caption-meta,
.project-caption-copy,
.project-back-link {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.project-section-label {
  margin-bottom: 26px;
  color: #7f7f7f;
}

.project-blocks {
  display: grid;
  gap: 18px;
}

.project-block-title {
  margin: 0;
  color: #303030;
}

.project-block-copy {
  color: #303030;
}

.project-description {
  color: #7f7f7f;
  margin: 0;
}

.project-description-wrap {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  margin-left: var(--project-strip-left);
  padding-right: 40px;
  max-width: 980px;
}

.project-block-link a {
  border-bottom: 1px solid #cfcfcf;
}

.project-back-link {
  display: inline-block;
  margin-top: 34px;
  color: #7f7f7f;
}

.project-gallery {
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 40px;
  padding-bottom: 60px;
  scrollbar-width: thin;
}

.project-strip {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--project-gap);
  min-height: calc(var(--project-image-height) + 90px);
}

.project-strip-space {
  flex: 0 0 auto;
}

.project-figure {
  margin: 0;
  flex: 0 0 auto;
}

.project-image {
  display: block;
  width: auto;
  height: var(--project-image-height);
  max-width: none;
  background: #f3f3f3;
}

.project-caption {
  margin-top: 15px;
  max-width: 220px;
}

.project-caption-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.project-caption-meta {
  color: #7f7f7f;
}

.project-caption-copy {
  margin-top: 6px;
  color: #7f7f7f;
}

.project-content-missing {
  width: calc(100% - 80px);
  margin: 0 auto;
}

.project-missing {
  max-width: 520px;
}

.work-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
}

.work-modal.is-open {
  display: block;
}

.work-modal-inner {
  position: relative;
  width: calc(100% - 120px);
  max-width: 1280px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
}

.work-modal-media {
  min-width: 0;
}

.work-modal-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #f1f1f1;
}

.work-modal-meta {
  padding-top: 46px;
}

.work-modal-category,
.work-modal-title,
.work-modal-year,
.work-modal-description,
.work-modal-close,
.work-modal-nav {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.work-modal-category,
.work-modal-year,
.work-modal-description {
  margin: 0 0 10px;
}

.work-modal-title {
  margin: 0 0 10px;
  font-weight: 400;
}

.work-modal-description {
  color: #7f7f7f;
}

.work-modal-close,
.work-modal-nav {
  position: absolute;
  top: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #7f7f7f;
}

.work-modal-close {
  right: 0;
}

.work-modal-nav.is-prev {
  left: 0;
}

.work-modal-nav.is-next {
  left: 50px;
}

@media (max-width: 980px) {
  .site-nav {
    padding: 20px 0 30px;
  }

  .centered,
  .info-content {
    width: calc(100% - 40px);
  }

  .logo,
  .main-nav {
    float: none;
  }

  .main-nav {
    margin-top: 18px;
  }

  .nav-item {
    margin: 0 18px 0 0;
  }

  .work-categories {
    position: static;
    width: auto;
    margin-top: 12px;
    text-align: left;
  }

  .work-categories li {
    margin: 0 14px 0 0;
  }

  .works-content,
  .info-content,
  .project-content {
    padding-top: 150px;
  }

  .one-third {
    width: 44%;
  }

  .work-modal-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .work-modal-meta {
    padding-top: 0;
  }

  .project-content {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .project-sidebar {
    position: static;
    width: auto !important;
    padding-right: 0;
    margin-bottom: 34px;
  }

  .project-gallery {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-right: 0;
  }

  .project-description-wrap {
    margin-left: 0 !important;
    padding-right: 0;
    max-width: none;
  }

  .project-strip {
    display: grid;
    min-height: 0;
    gap: 34px;
  }

  .project-strip-space {
    display: none;
  }

  .project-image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .info-panel {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 640px) {
  .works-content,
  .info-content,
  .project-content {
    padding-top: 165px;
  }

  .series-title {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 35px;
    margin-bottom: 35px;
  }

  .one-third {
    width: auto;
    display: block;
    margin: 0 20px 30px;
  }

  .project-content,
  .project-content-missing {
    width: calc(100% - 40px);
  }

  .project-block-title {
    font-size: 28px;
  }
}
