@font-face {
  font-family: 'Monotesk';
  src: url('fonts/monotesk-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --work-image-margin-ratio: 0.045;
}

html, body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

a {
  -webkit-user-drag: none;
}

body {
  background-color: #fffff7;
  margin: 0;
  padding: 20px;
  font-family: 'Monotesk', monospace;
  color: #9d9d9d;
  --text-base-color: #9d9d9d;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 21px;
  overflow-y: auto;
  cursor: crosshair;
}

body:not(.layout-ready) header {
  visibility: hidden;
}

body.layout-ready header {
  visibility: visible;
}

body:not(.page-ready) .work-page {
  visibility: hidden;
}

body.page-ready .work-page {
  visibility: visible;
}

*,
*:hover {
  cursor: crosshair !important;
}

body * {
  letter-spacing: 0;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}
header a { font-weight: normal; }
header .text-black { font-weight: normal; }

.row {
  display: flex;
  align-items: baseline;
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.dots,
.dashes {
  flex-grow: 1;
  overflow: hidden;
  margin: 0;
  position: relative;
  min-width: 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}


.dots::after {
  content: "................................................................................................................................................................................................................................................................................................................................";
  display: block;
  line-height: 1;
  letter-spacing: 0;
  font-family: monospace;
}

.dashes::after {
  content: "--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
  display: block;
  line-height: 1;
  letter-spacing: 0;
  font-family: monospace;
}

a {
  text-decoration: none;
  color: inherit;
  transition: none;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  margin: 0;
  padding: 0 4px;
  cursor: crosshair;
}

a.active {
  color: #000000;
}

.text-black {
  color: inherit;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 4px;
}

header .row:first-child .text-black {
  padding: 0 4px;
}

.full-dots {
  width: 100%;
  overflow: hidden;
}

.work-page-meta {
  margin: 0;
  padding: 0 0 20px 0;
  text-align: left;
}

.work-page-meta .meta-row {
  display: grid;
  grid-template-columns: max-content var(--dots-w, 0px) 1fr;
  align-items: baseline;
  column-gap: 4px;
  font-size: 14px;
  line-height: 22px;
}

.work-page-meta .meta-label,
.work-page-meta .meta-value {
  padding: 0;
  font-weight: normal;
  text-transform: none;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  font-family: 'Monotesk', monospace;
}

.work-page-meta .meta-row > .meta-label { padding-left: 0; padding-right: 0; white-space: nowrap; text-align: left; overflow: visible; text-overflow: clip; }
.work-page-meta .meta-row > .meta-value { padding-left: 0; padding-right: 0; margin-left: 0; }

.work-page-meta .dots { width: 100%; }
.work-page-meta .dots {
  display: block;
  flex: none;
  overflow: hidden;
  box-sizing: content-box;
  font-size: 12px;
  line-height: 1;
}
.work-page-meta .dots::after { white-space: nowrap; }

@media (max-width: 768px) {
  .work-page-meta .meta-row { white-space: nowrap; }
  .work-page-meta .meta-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .work-page-meta .meta-row:nth-child(4),
  .work-page-meta .meta-row:nth-child(5) {
    display: none;
  }
 }


.work-page .work-page-content .work-page-info-label + .work-page-meta { margin-top: 0; }

.work-page .work-page-content .work-page-meta + .work-page-details-label { margin-top: 0; }

.work-page-content > .page-title + .work-page-info-label { margin-top: 20px; }
.work-page-content > .work-page-meta { margin-bottom: 0; }
.works-list {
  width: 100%;
  margin-top: 20px;
  padding-bottom: 80px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-title + .works-list { margin-top: 20px; }
.works-list-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 12px;
}
.works-list-table th {
  text-align: left;
  padding: 6px 6px;
  vertical-align: top;
  line-height: calc(1em + 6px);
}
.works-list-table td {
  text-align: left;
  padding: 6px 6px;
  vertical-align: top;
  line-height: calc(1em + 6px);
}

.works-list-table th:first-child,
.works-list-table td:first-child { padding-left: 0; }
.works-list-table th:last-child,
.works-list-table td:last-child {
  padding-right: 0;
  text-align: left;
}
.works-list-table th:last-child {
  padding-right: 0;
  text-align: left;
}
.works-list-table td a {
  font-weight: inherit;
  text-transform: none;
  color: inherit;
  text-decoration: none;
  padding: 0;
  margin: 0;
  cursor: crosshair;
}
.works-list-table tbody tr[data-url] { cursor: crosshair; }
.works-list-table tbody tr.has-link { cursor: crosshair; }
.works-list-table th:nth-child(2),
.works-list-table td:nth-child(2) {
  white-space: normal;
  word-break: break-word;
}
.works-list-table th:not(:nth-child(2)),
.works-list-table td:not(:nth-child(2)) {
  white-space: nowrap;
}

.works-list-table th:nth-child(1),
.works-list-table td:nth-child(1) { width: calc(56px + 6ch); }
.works-list-table th:nth-child(3),
.works-list-table td:nth-child(3) { width: 1%; }

.works-list-table.home-news-table th:nth-child(1),
.works-list-table.home-news-table td:nth-child(1) { width: calc(56px + 6ch); }

.works-list-table.home-news-table th:nth-child(2),
.works-list-table.home-news-table td:nth-child(2) {
  white-space: normal;
  word-break: break-word;
}

.works-list-table.home-news-table th:nth-child(1),
.works-list-table.home-news-table td:nth-child(1) {
  white-space: nowrap;
}

.works-list-table td:nth-child(3) {
  overflow: hidden;
  text-overflow: ellipsis;
}
.works-list-table thead th {
  text-transform: uppercase;
  font-weight: normal;
}
.works-list-table thead th,
.works-list-table tbody td {
  border-bottom: 1px solid var(--text-base-color);
}
.works-list-table th.sortable { user-select: none; }
.works-list-table th .sort-indicator { margin-left: 6px; }

@media (hover: hover) and (pointer: fine) {
  a:hover { color: #000000; }
  .about-text a:hover { color: #000000; }
  .about-links li:hover { color: #000000; }
  .works-list-table tbody tr:hover td { color: #000000; }
  .work-page-details .work-page-details-toggle:hover { color: #000000; }
  .work-page-links a:hover { color: #000000 !important; }
}

.projects-disabled {
  pointer-events: none;
  color: inherit !important;
  cursor: default !important;
}

.projects-disabled:hover {
  color: inherit !important;
  cursor: default !important;
}

.works-preview {
  position: fixed;
  pointer-events: none;
  background: transparent;
  padding: 0;
  z-index: 9999;
}
.works-preview img {
  display: block;
  max-width: 280px;
  max-height: 280px;
}

@media (max-width: 768px) {
  .works-list {
    overflow-x: hidden;
  }
  .works-list-table {
    table-layout: auto;
  }
  .works-list-table th:nth-child(1),
  .works-list-table td:nth-child(1) {
    width: calc(56px + 6ch);
    white-space: nowrap;
  }
  .works-list-table th:nth-child(3),
  .works-list-table td:nth-child(3) {
    width: 1%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .works-list-table th:nth-child(2),
  .works-list-table td:nth-child(2) {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    width: auto;
  }
  .works-list-table th,
  .works-list-table td {
    padding: 8px 6px;
  }

  .works-list-table th:first-child,
  .works-list-table td:first-child { padding-left: 0; }
  .works-list-table th:last-child,
  .works-list-table td:last-child { padding-right: 0; }
}

.page-title {
  font-size: 34px;
  margin: 20px 0 0 0;
  line-height: calc(1em + 8px);
}
.about-separator {
  margin: 0;
  padding: 20px 0;
}

body.home .about-separator + .page-title { margin-top: 0; }
.about-text {
  font-size: 34px;
  line-height: calc(1em + 8px);
}

body.home .home-full-bleed-block {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  height: 300px;
  background: #cececa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

body.home .home-full-bleed-block + .page-title { margin-top: 0; }

@media (hover: hover) and (pointer: fine) {
  body.home .home-full-bleed-block:hover {
    background: #000000;
  }
}

body.home .home-full-bleed-block-text {
  font-size: 58px;
  line-height: 59.2px;
  color: #fffff7;
  font-weight: normal;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  body.home .home-full-bleed-block {
    height: 240px;
    padding: 0 20px;
  }
  body.home .home-full-bleed-block-text {
    font-size: clamp(20px, calc((100vw - 80px) * 0.10), 58px);
    line-height: calc(1em + 1.2px);
  }
}

body:has(a.active[href="about.html"]) .page-title { line-height: calc(1em + 8px); }

.about-text a {
  font-weight: normal;
  text-transform: none;
  color: inherit;
  padding: 0;
}

.about-links-label,
.about-links {
  font-size: 16px;
  line-height: calc(1em + 8px);
}
.about-links-label { margin: 0; }
.about-links {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.about-links li {
  margin: 0;
}
.about-links { color: #9d9d9d; }
.about-links a {
  font-weight: normal;
  text-transform: none;
  color: inherit;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  line-height: calc(1em + 8px);
  cursor: crosshair;
}
.about-links a:hover { color: inherit; }

.work-page {
  display: grid;
  grid-template-columns: calc(50% - 8px) calc(50% - 8px);
  column-gap: 20px;
  margin-top: 20px;
  min-height: 0;
}
.work-page-content {
  font-size: 14px;
  line-height: 22px;
}
.work-page-media {
  background-color: #cececa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 100%;
  overflow: hidden;
}
.media-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.media-carousel img {
  -webkit-user-drag: none;
}

.media-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.media-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-carousel-dots {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate3d(-50%, 0, 0);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: inherit;
  line-height: 0;
}

.media-carousel-dot {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  max-width: 10px;
  max-height: 10px;
  aspect-ratio: 1 / 1;
  flex: 0 0 10px;
  box-sizing: border-box;
  border-radius: 9999px;
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.media-carousel-dot-svg {
  display: block;
  width: 10px;
  height: 10px;
  overflow: visible;
}

.media-carousel-dot-circle {
  fill: currentColor;
}

.media-carousel-dot.is-active {
  color: #000;
}

.work-page-media img {
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 85%;
  display: block;
  object-fit: contain;
}
.work-page-media img.is-portrait { width: auto; }

.work-page-media.is-tall img { width: auto; max-height: 85%; }

.work-page .work-page-content .page-title {
  font-size: 34px;
  margin-top: 0;
}

.work-page .work-page-content .work-page-info-label,
.work-page .work-page-content .work-page-details-label,
.work-page-info-label,
.work-page-details-label {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 22px;
  text-align: left;
}
.work-page .work-page-content .work-page-links-label,
.work-page-links-label {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 22px;
  text-align: left;
}
.work-page .work-page-content .work-page-links,
.work-page-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  color: #9d9d9d;
  text-align: left;
}
.work-page .work-page-content .work-page-links a,
.work-page-links a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-transform: none;
  padding: 0;
  display: block;
  width: 100%;
  cursor: crosshair;
}



.work-page-details .work-page-details-toggle {
  display: inline-block;
  margin-top: 20px;
  font-weight: normal;
  text-transform: none;
  color: #cececa;
  text-decoration: none;
  padding: 0;
}

.work-page .work-page-content .work-page-details br,
.work-page-details br {
  display: none;
}

.work-page .work-page-content .work-page-details p, .work-page-details p { margin: 0; }
.work-page .work-page-content .work-page-details p + p, .work-page-details p + p { margin-top: 20px; }

.work-page .work-page-content .about-separator {
  padding: 0;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .work-page {
    display: block;
    margin-top: 20px;
  }
  .work-page-content { display: block; margin-top: 20px; }
  .work-page-media {
    background-color: #cececa;
    padding: 12px;
    aspect-ratio: 1 / 1;
    min-height: auto;
  }
  .work-page-media img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
  }
}

@media (min-width: 769px) {
  .work-page { height: calc(100vh - var(--header-h, 0px) - 60px); margin-top: 20px; padding-top: 0; overflow: visible; }
  .work-page-media { height: 100%; }
  .work-page-content { height: 100%; overflow-y: auto; overflow-x: hidden; min-width: 0; min-height: 0; scrollbar-gutter: stable; padding-right: 12px; }
}

.work-page,
.work-page-media,
.work-page-content {
  box-sizing: border-box;
}
