/* ============================================================
   WORK PAGES
   Category list pages + project detail pages
   ============================================================ */

body.work-page-body,
.work-site .page-content {
  background-color: #000;
}

.work-site .header,
.work-site .header .btn-menu,
.work-site .header__btn-close {
  color: #fff;
}

.works-catalog {
  background-color: #000;
  min-height: 100svh;
  position: relative;
}

.works-catalog .sticky-block__header {
  align-items: flex-start;
  flex-direction: column;
  gap: 2.4rem;
}

.work-catalog__intro {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.work-catalog__eyebrow {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: space-between;
  width: 100%;
}

.work-catalog__lede {
  max-width: 42rem;
}

.work-catalog__header-row {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 1.6rem;
  width: 100%;
}

.work-catalog__header-row .works-list {
  flex: 1;
}

.works-catalog .decorative-number {
  margin-left: auto;
}

.works-catalog .item-bg {
  pointer-events: none;
}

.works-catalog .works-display__item a {
  display: block;
  width: 100%;
}

.works-catalog .item-thumbnail-img {
  transition: transform .8s cubic-bezier(.23, 1, .32, 1);
}

.work-category-shell {
  background-color: #0d0d0d;
  min-height: 100svh;
  position: relative;
}

.work-category-shell .modal-content {
  background-color: #0d0d0d;
  min-height: 100svh;
}

.work-page__context {
  display: block;
  margin-bottom: 1.2rem;
}

.work-category-shell .modal-left {
  display: flex;
  flex-direction: column;
  padding: 5.8rem 1.6rem 0;
}

.work-category-shell .modal-right {
  display: flex;
  flex-direction: column;
  padding: 0 1.6rem calc(env(safe-area-inset-bottom) + 3.2rem);
}

.work-category__project-list {
  margin-bottom: 0;
  padding-top: 2rem;
}

.work-category__project-list .modal-list {
  width: 100%;
}

.work-wayfinding {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
}

.work-wayfinding__title {
  margin-bottom: 1rem;
}

.work-wayfinding__links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.work-wayfinding__link {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .56);
  display: inline-flex;
  gap: .8rem;
  line-height: 1;
  padding: .85rem 1.2rem;
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease, opacity .25s ease;
}

.work-wayfinding__link:hover {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  opacity: 1;
}

.work-wayfinding__link.is-active,
.work-wayfinding__link[aria-current="page"] {
  background-color: #fff;
  border-color: #fff;
  color: #0d0d0d;
  pointer-events: none;
}

.work-wayfinding__index {
  opacity: .56;
}

.work-wayfinding__link.is-active .work-wayfinding__index,
.work-wayfinding__link[aria-current="page"] .work-wayfinding__index {
  opacity: .72;
}

.work-category__project-link {
  display: block;
  opacity: .56;
  text-decoration: none;
  transition: opacity .25s ease;
}

.work-category__project-link.is-active {
  opacity: 1;
}

.work-category__summary {
  margin-top: auto;
}

.work-category__summary.modal-description__wrapper {
  margin-top: auto;
}
#category-active-title {
  font-family: Neue-Montreal, sans-serif;
}
body[data-category="service-design"] .modal-year {
  margin-bottom: 1.2rem;
}

body[data-category="service-design"] .modal-year.p-l {
  font-size: 1.3rem;
}

.work-category__active-title {
  color: #e0dfdf;
  font-size: 1.2rem;
}

.work-category-shell .modal-text {
  font-size: 3.6rem;
  line-height: .925;
  letter-spacing: 0;
}

.work-category-shell .modal-description > span,
.work-category-shell .modal-text {
  overflow: visible;
  transform: none;
}

.work-category-shell .btn-prev.is-disabled,
.work-category-shell .btn-next.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.work-detail-shell {
  background-color: #0d0d0d;
  min-height: 100svh;
}

.work-detail-shell .modal-content {
  background-color: #0d0d0d;
  min-height: 100svh;
}

.work-detail__top {
  padding-top: 6rem;
}

.work-detail__back {
  display: inline-flex;
  width: auto;
}

.work-detail-shell .modal-title {
  margin-top: 1.6rem;
}

.work-detail-shell .modal-description > span {
  overflow: visible;
}

.work-detail-shell .modal-text {
  transform: none;
}

.work-detail-shell .modal-url {
  display: inline-flex;
  width: auto;
}

.work-detail-shell .modal-url.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.work-site .menu-list__item-link.is-current,
.work-site .menu-list__item-link[aria-current="page"] {
  color: #fff;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 800px) {
  .work-catalog__header-row {
    flex-direction: column;
  }

  .works-catalog .decorative-number {
    margin-left: 0;
  }
}

@media (min-width: 801px) {
  .works-catalog .works-display__bg {
    position: sticky;
    top: 0;
  }

  .works-catalog .sticky-block {
    position: sticky;
    top: 0;
  }

  .work-detail__top {
    padding-top: 9.2rem;
  }

  .work-category-shell .modal-left {
    padding: 0 15.5rem 0 11rem;
  }

  .work-category-shell .modal-right {
    padding: 2.8rem 8.8rem 6.8rem 2.8rem;
  }

  .work-category__project-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  .work-category__summary {
    margin-top: auto;
  }

  .work-category__summary.modal-description__wrapper {
    margin-top: auto;
  }

  .work-wayfinding {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .work-detail-shell .modal-lists {
    padding-top: 9.2rem;
  }

  .work-detail-shell .modal-title {
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
}
