:root {
  --text-highlight-color: #35a4f9;
}

html {
  font: 100%/1.5714285714 "Museo Sans", sans-serif;
  color: #222;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Museo Sans";
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/304850_0_0.eot");
  src: url("../fonts/304850_0_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/304850_0_0.woff2") format("woff2"),
    url("../fonts/304850_0_0.woff") format("woff"),
    url("../fonts/304850_0_0.ttf") format("truetype"),
    url("../fonts/304850_0_0.svg#wf") format("svg");
}
@font-face {
  font-family: "Museo Sans";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/304850_1_0.eot");
  src: url("../fonts/304850_1_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/304850_1_0.woff2") format("woff2"),
    url("../fonts/304850_1_0.woff") format("woff"),
    url("../fonts/304850_1_0.ttf") format("truetype"),
    url("../fonts/304850_1_0.svg#wf") format("svg");
}
@font-face {
  font-family: "Museo Sans";
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/304850_2_0.eot");
  src: url("../fonts/304850_2_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/304850_2_0.woff2") format("woff2"),
    url("../fonts/304850_2_0.woff") format("woff"),
    url("../fonts/304850_2_0.ttf") format("truetype"),
    url("../fonts/304850_2_0.svg#wf") format("svg");
}
@font-face {
  font-family: "RevistaScript";
  src: url("../fonts/304850_3_0.eot");
  src: url("../fonts/304850_3_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/304850_3_0.woff2") format("woff2"),
    url("../fonts/304850_3_0.woff") format("woff"),
    url("../fonts/304850_3_0.ttf") format("truetype"),
    url("../fonts/304850_3_0.svg#wf") format("svg");
}
@font-face {
  font-family: "Revista";
  src: url("../fonts/306621_3_0.eot");
  src: url("../fonts/306621_3_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/306621_3_0.woff2") format("woff2"),
    url("../fonts/306621_3_0.woff") format("woff"),
    url("../fonts/306621_3_0.ttf") format("truetype");
}

.main {
  margin: 0 auto;
  position: relative;
}
.main--constraint {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px 100px;
}
.main--work {
  margin: 0 auto;
  min-height: 100vh;
}
.main--about {
  max-width: 800px;
  margin: 70px auto;
}
.main--default {
  max-width: 800px;
  margin: 70px auto;
}
.main--contact {
  max-width: 800px;
  margin: 70px auto;
  text-align: center;
}
.main--directors {
  max-width: 1280px;
  margin: 70px auto;
}
.main-content {
  position: relative;
  overflow: auto;
}

@media only screen and (min-width: 1000px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
}

.column {
  grid-column-end: span var(--span);
}

.projectThumb__figure {
  position: relative;
  cursor: pointer;
}

.projectThumb__figure img {
  width: 100%;
  max-height: calc(100vh - 100px);
  max-height: 60vh;
  object-fit: cover;
}

.projectThumb__caption {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: all 0.4s;
  box-sizing: border-box;
  color: white;
  vertical-align: bottom;
}

.projectThumb__caption-container {
  position: absolute;
  padding: 0 20px;
  bottom: 32px;
  transform: translate3d(0, 15px, 0);
  transition: all 0.4s;
}
.projectThumb:hover .projectThumb__caption {
  opacity: 1;
}
.projectThumb:hover .projectThumb__caption-container {
  transform: translate3d(0, 0, 0);
}

.projectThumb__caption-container {
  position: absolute;
  padding: 0 20px;
  bottom: 32px;
  transform: translate3d(0, 15px, 0);
  transition: all 0.4s;
}
@media only screen and (max-width: 1200px) {
  .projectThumb__caption {
    opacity: 1;
  }
  .projectThumb__caption-container {
    transform: translate3d(0, 0, 0);
    bottom: 24px;
  }
}
@media only screen and (max-width: 1200px) {
  .projectThumb__caption-container {
    padding: 0 10px;
    bottom: 24px;
  }
}

.projectThumb__title {
  font-family: Revista;
  font-size: 1.5vw;
  font-weight: 100;
  bottom: 60px;
  text-transform: uppercase;
  vertical-align: bottom;
  line-height: 1em;
  letter-spacing: 0.07em;
  margin-bottom: -0.4vw;
}
.projectThumb__meta {
  padding-top: 0px;
  bottom: 40px;
  font-size: 2.3vw;
  transition-delay: 0s;
  vertical-align: bottom;
  font-family: RevistaScript;
  font-weight: 100;
  transform: translateY(0.44em);
  line-height: 1em;
}
@media only screen and (max-width: 1000px) {
  .projectThumb__title {
    font-size: 20px;
    margin-top: -4px;
  }
  .projectThumb__meta {
    font-size: 30px;
  }
}

.video-preview__meta {
  padding-top: 0px;
  bottom: 40px;
  /* font-size: 2.3vw; */
  transition-delay: 0s;
  vertical-align: bottom;
  /* font-family: RevistaScript; */
  font-weight: 100;
  /* transform: translateY(0.44em); */
  /* line-height: 1em; */
  margin-top: 32px;
}

.video-preview__actions {
  margin-top: 32px;
  text-align: center;
}

.video-preview__button {
  color: #35a4f9;
  padding: 8px 15px 5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  margin: 0 auto;
  text-decoration: none;
}
.video-preview__button:hover {
  border: 1px solid #35a4f9;
  text-decoration: none;
}

.projectThumb:hover .projectThumb__caption-container {
  transform: translate3d(0, 0, 0);
}
.projectThumb:hover .projectThumb__caption {
  opacity: 1;
}

.projectThumb__videoPreview {
  left: 0;
  background: white;
  width: 100%;
}

.projectThumb__videoPreviewContainer {
  overflow: hidden;
  height: 0;
  /* position: relative; */
}

.projectThumb__videoPreviewInnerContainer {
  position: absolute;
  left: 0;
  height: 0;
  overflow: hidden;
  width: 100%;
  opacity: 0;
  /* position: relative; */
}

.projectThumb__videoPreviewContainer,
.projectThumb__videoPreviewInnerContainer {
  transition: height 0.3s, opacity 0.3s;
  /* transition: height .3s; */
}

@media only screen and (min-width: 1000px) {
  .row.hasActiveNeighbors .projectThumb__videoPreviewContainer,
  .row.hasActiveNeighbors .projectThumb__videoPreviewInnerContainer {
    transition: height 0s 0.3s, opacity 0.3s;
  }
  .row.hasActiveNeighbors .projectThumb__videoPreviewContainer.active,
  .row.hasActiveNeighbors .projectThumb__videoPreviewInnerContainer.active {
    transition: height 0s 0.3s, opacity 0.3s 0.3s;
  }
  /* .projectThumb__videoPreviewContainer {
    height: calc((9 / 16) * (100vw - 400px));
    max-height: calc(100vh - 80px);
  } */
  .projectThumb__videoPreview {
    /* font-size: 30px; */
    display: flex;
    height: calc((9 / 16) * (100vw - 400px));
    max-height: calc(100vh - 80px);
    position: absolute;
  }
}
.projectThumb__video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: black;
}
@media only screen and (min-width: 1000px) {
  .projectThumb__video {
    width: auto;
    height: 100%;
  }
}
.projectThumb__quickinfo {
  flex-grow: 1;
  padding: 16px;
}

@media only screen and (max-width: 1000px) {
  .projectThumb__quickinfo {
    padding-bottom: 32px;
  }
}

.projectThumb__closeButtonWrapper {
  display: flex;
  justify-content: flex-end;
}
.projectThumb__closeButton {
  display: block;
  height: 40px;
  width: 40px;
  background: none;
  border: none;
}

.video-preview__headline {
  font-family: Revista;
  text-align: center;
  font-size: 30px;
  color: #000;
  margin: 0 0;
}

.meta-key-value {
  color: #000;
  font-size: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: "Museo Sans";
  justify-content: center;
}

.meta-key {
  text-transform: uppercase;
  text-align: right;
}

.project__notes {
  margin-top: 32px;
  text-align: center;
}

/* NAVIGATION */

.nav {
  height: 80px;
  /* position: fixed; */
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  text-align: right;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 150;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.21);
  overflow: hidden;
}
.nav__list {
  list-style: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-left: 0;
  margin-top: 0;
  margin-right: 2em;
  margin-bottom: 0;
}
@media screen and (max-width: 650px) {
  .nav__list {
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    margin-right: 0;
    padding-top: 26px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.35s;
    top: 0;
  }
}
@media screen and (max-width: 650px) {
  .nav--visible .nav__list {
    transform: translateY(0%);
    opacity: 1;
  }
}
.nav--visible .nav__toggle {
  cursor: pointer;
}
.nav--visible .nav__toggle-close {
  opacity: 1;
}
.nav--visible .nav__toggle-hamburger {
  opacity: 0;
}
.nav__toggle {
  display: none;
  cursor: pointer;
}
@media screen and (max-width: 650px) {
  .nav__toggle {
    width: 40px;
    height: 40px;
    padding: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
  }
}
.nav__toggle-svg {
  width: 30px;
  height: 30px;
}
.nav__toggle-close {
  opacity: 0;
}
.nav__filter {
  list-style: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  left: 50%;
  transition: opacity 0.7s;
}
@media screen and (max-width: 1000px) {
  .nav__filter--header {
    display: none;
  }
}
.nav__filter--body {
  transform: none;
  position: relative;
  margin: 0 auto;
  padding: 40px 10px;
  left: 0;
  text-align: center;
  display: none;
}
@media screen and (max-width: 1000px) {
  .nav__filter--body {
    display: block;
  }
}
.nav--at-bottom {
  position: absolute;
  top: auto;
  bottom: 0;
  box-shadow: 0px 0px 0px #000;
}
.nav__item {
  padding: 0;
  display: inline;
  text-transform: uppercase;
  padding: 0;
  display: inline;
  margin: 0 7px;
  line-height: 30px;
  font-size: 11px;
}
.nav__filter-item {
  margin: 0 4px;
}
.nav__link {
  padding: 3px 0;
}
.nav__link--active {
  border-bottom: 1px solid #35a4f9;
}
.nav__filter-link {
  padding: 3px 3px;
}
.nav__filter-link--active {
  border: 1px solid #35a4f9;
}
.nav__logo {
  margin: 0 auto;
  padding: 0;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s;
  text-align: left;
  left: 40px;
  top: 9px;
  opacity: 0;
}
.nav__logo.visible {
  opacity: 1;
}
.nav__logo-img {
  height: 25px;
}
@media screen and (max-width: 650px) {
  .nav__logo-img {
    height: 20px;
  }
}
.nav__logo-text {
  text-transform: uppercase;
}
.nav__logo-title {
  font-weight: bold;
}
.nav__logo-subtitle {
  display: block;
  font-family: RevistaScript;
  color: #666;
  position: absolute;
  top: 27px;
  left: 55px;
}
.nav--half-way .nav__logo {
  opacity: 0;
}
.nav--half-way .nav__filter {
  opacity: 0;
}
.nav--center-logo {
  height: 120px;
  text-align: right;
}
.nav--center-logo .nav__logo {
  margin: 0 auto;
  padding: 0;
  left: 0;
  right: 0;
  display: inline;
  text-align: center;
  height: 30px;
}
.nav--center-logo .nav__logo-img {
  height: 35px;
  position: absolute;
  top: -40px;
  transform: translateX(-50%);
}
.nav--center-logo .nav__logo-text {
  padding-left: 0;
}
.nav--center-logo .nav__logo-title {
  line-height: 30px;
}
.nav--center-logo .nav__item {
  margin: 0 10px;
}

.homeHeader {
  height: calc(100vh - 80px);
  position: relative;
  z-index: 200;
  background: white;
}

.homeHeader__images {
  height: 50%;
  background-color: grey;
  position: relative;
}

.homeHeader__image {
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s;
}

.homeHeader__logo {
  width: 100%;
  position: absolute;
  text-align: center;
  color: #fff;
  font-size: 70px;
  line-height: 55px;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Revista;
  text-transform: none;
  font-weight: 100;
  z-index: 250;
  top: 50%;
  transform: translateY(-45px);
}

.homeHeader__logoLineTwo {
  font-family: RevistaScript;
  text-transform: none;
  position: absolute;
  width: 100%;
  color: #000;
  top: 100%;
  left: 0;
  line-height: 0.75em;
  font-size: 0.7em;
}

.homeHeader__image.active {
  opacity: 1;
}

.footer {
  padding: 64px 32px;
  text-align: right;
}

.hyperlink {
  text-decoration: none;
  color: inherit;
}

.hyperlink:hover {
  color: var(--text-highlight-color);
}

/* ///////////////////// */

.project__main {
  display: flex;
}
.project__info {
  float: left;
  width: 72.5%;
  padding-left: 20px;
  box-seizing: border-box;
}
@media only screen and (max-width: 768px) {
  .project__info {
    width: 100%;
  }
}
.project__poster {
  width: 27.5%;
  float: left;
}
@media only screen and (max-width: 768px) {
  .project__poster {
    display: none;
  }
}
.project__poster-img {
  width: 100%;
}
.project__clips {
  white-space: nowrap;
  overflow-x: auto;
  margin: 0 0 40px;
  font-size: 0;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .project__clips {
    text-align: left;
  }
}
.project__clips-thumb {
  display: inline-block;
}
.project__meta {
  max-width: 600px;
  margin: 35px auto 0;
  overflow: hidden;
}
.project__meta-key-value {
  /* clear: both; */
  display: flex;
}
.project__meta-key {
  width: 50%;
  float: left;
  text-transform: uppercase;
  text-align: right;
  padding-right: 10px;
}
.project__meta-value {
  width: 50%;
  float: right;
  padding-left: 10px;
}
.project__links {
  margin: 0 auto;
  padding-top: 20px;
  text-align: right;
}
.project__notes {
  clear: both;
  text-align: center;
  padding-top: 20px;
}
.detail-player {
  width: 100%;
  transition: all 1s;
  padding-bottom: 0%;
  position: relative;
  background: #424242;
}
.detail-player__close-btn {
  position: absolute;
  right: 10px;
  top: 20px;
  height: 40px;
  width: 40px;
  cursor: pointer;
}
.detail-player__close-btn .x-stroke {
  stroke: #fff;
}
.detail-player__close-btn .nav__toggle-hamburger {
  opacity: 0;
}
.detail-player__close-btn .nav__toggle-close {
  opacity: 1;
}
/* .detail-player__wrapper {
  height: 100%;
  width: 100%;
  top: 0;
  margin: 0 auto;
} */
.detail-player__img {
  display: block;
  margin: auto;
  height: 100%;
}
.detail-player__clip {
  display: none;
}

.detail-player__clip.active {
  display: block;
}
.detail-player video {
  width: 100%;
  height: 100%;
}
.clip-thumb {
  border: 5px solid #fff;
  box-seizing: border-box;
  cursor: pointer;
  overflow: hidden;
}
.clip-thumb:hover {
  opacity: 0.9;
}
.clip-thumb__image {
  position: relative;
  background: #000;
  text-align: center;
  overflow: hidden;
  height: 114px;
  display: inline-block;
}
.clip-thumb__img {
  margin-left: 0;
  margin-right: 0;
  height: 100%;
  width: auto;
}
.clip-thumb__caption {
  padding-top: 3px;
  text-align: left;
}
.clip-thumb__title {
  color: #000;
  font-weight: bold;
  font-size: 11px;
}
.clip-thumb__duration {
  color: #aaa;
  font-size: 11px;
  margin-left: 11px;
}
.clip-thumb.active .clip-thumb__img {
  opacity: 0.5;
}
.key-value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
}
.key-value-list__item {
  width: 33.33%;
  overflow: auto;
  float: left;
}
@media screen and (max-width: 650px) {
  .key-value-list__item {
    width: 50%;
  }
}
@media screen and (max-width: 460px) {
  .key-value-list__item {
    width: 100%;
  }
}
.key-value-list__key {
  width: 50%;
  float: left;
  text-align: right;
  padding-right: 7px;
}
.key-value-list__value {
  width: 50%;
  float: left;
  text-transform: uppercase;
  padding-left: 7px;
}
