@font-face {
  font-family: 'Machina-Regular';
  src:
    url('/wp-content/themes/blankslate/fonts/Machina-Regular.woff2') format('woff2'),
  font-weight: 400;
  font-style: normal;
}

.is-style-english {
  font-family: monospace;
}

.is-style-caption {
  font-size: 12px;
  line-height: 1.2;
  font-family: Times New Roman, serif;
}

@font-face {
  font-family: 'Machina-Medium';
  src:
    url('/wp-content/themes/blankslate/fonts/Machina-Medium.woff2') format('woff2'),
  font-weight: 700;
  font-style: normal;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}


hr.wp-block-separator {
  border: 0;
  border-top: 1px solid #fff;
  opacity: 1;
  margin: 12px 0;
  width: 100%;
  max-width: none;
}

body {
  overflow-x: hidden;
}

#container,
#content,
.site-content,
.site-main {
  margin: 0 !important;
  padding: 0 !important;
}

.portfolio-split {
  display: grid;
  grid-template-columns: minmax(160px, var(--left-width, 50vw)) 6px minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.portfolio-left,
.portfolio-right {
  min-width: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

.portfolio-left {
  z-index: 1;
}

.portfolio-right {
  z-index: 1;
  background: black;
}

.split-resizer {
  width: 6px;
  height: 100vh;
  cursor: col-resize;
  background: #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  box-sizing: border-box;
  z-index: 2;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.work-item {
  color: inherit;
  text-decoration: none;
  display: block;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
}

.work-item span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin-top: 0;
  font-family: monospace, sans-serif;
}

.work-item.is-active span {
  text-decoration: underline;
}

.portfolio-placeholder {
  font-size: 13px;
  color: #777;
}

.loaded-work {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.loaded-work img,
.loaded-work video,
.loaded-work iframe,
.single-work-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

.loaded-work h1 {
  font-size: 24px;
  font-weight: normal;
  font-family: 'Machina-Medium';
  margin: 0;
}

.loaded-work .entry-title {
  font-size: 24px;
  font-weight: normal;
  font-family: 'Machina-Medium';
  margin: 0;
  padding: 0;
}

.loaded-work p {
  font-size: 15px;
  line-height: 1.10;
}

.work-description-right {
  padding: 16px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 680px;
}

.portfolio-right *,
.loaded-work *,
.single-work-page * {
  max-width: 100%;
  box-sizing: border-box;
}

/* menu vertical 1-13 */

.portfolio-lightbox-menu {
  position: fixed;
  top: 0;
  left: 8px;
  height: 100vh;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  padding: 4px 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.portfolio-lightbox-link {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;

  font-size: clamp(18px, 6.5vh, 58px);
  line-height: 0.82;
  font-family: 'Machina-Regular';

  color: #fff;
  cursor: pointer;
  text-align: left;
}

.portfolio-lightbox-link:hover {
  opacity: 0.6;
}

.portfolio-lightbox-link:disabled {
  color: #ff2a00;
  opacity: 0.35;
  cursor: default;
}

.portfolio-signature {
  position: fixed;
  top: 0;
  right: 8px;
  height: 100vh;
  width: 60px;

  display: grid;
  grid-template-rows: repeat(13, 1fr);

  z-index: 1000;
  pointer-events: none;
}

.signature-r,
.signature-s {
  font-size: clamp(18px, 6.5vh, 58px);
  line-height: 1;
  font-family: 'Machina-Regular';
  color: white;
  justify-self: end;
}

.signature-r {
  grid-row: 1;
}

.signature-s {
  grid-row: 6;
}

/* lightbox info */

.portfolio-info-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  overflow-y: auto;
  padding: 48px;
  box-sizing: border-box;
}

.portfolio-info-overlay.is-open {
  display: block;
}

.portfolio-info-close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 10000;
  background: transparent;
  border: 0;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.portfolio-info-content {
  color: white;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.45;
}

.portfolio-info-content a {
  color: white;
}

/* single works */

.single-work-page {
  width: 100%;
  margin: 0;
  padding: 0;
}

.single-work-entry {
  width: 100%;
}

.single-work-image img {
  width: 100%;
  height: auto;
  display: block;
}

.single-work-caption {
  padding: 16px;
  max-width: 760px;
}

.single-work-caption h1 {
  font-size: 18px;
  font-weight: normal;
  font-family: monospace, sans-serif;
  margin: 0 0 2px;
}

.single-work-description {
  font-size: 14px;
  line-height: 1.45;
}

.random-loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  pointer-events: none;
}

.random-loader.is-hidden {
  display: none;
}

.random-loader img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
}

/* mobile */

@media (max-width: 768px) {
  .portfolio-split {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .portfolio-left {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 16px;
  }

  .portfolio-right,
  .split-resizer {
    display: none !important;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-lightbox-menu {
    left: 6px;
    height: 90vh;
    padding: 4px 0;
  }

  .portfolio-lightbox-link {
    font-size: clamp(16px, 6.2vh, 48px);
    line-height: 0.82;
  }

  .random-loader {
    display: none !important;
  }
}
}