@font-face {
  font-family: "RightGrotesk-WideBlack";
  src: url("fonts/RightGrotesk-WideBlack.woff2") format("woff2"),
    url("fonts/RightGrotesk-WideBlack.woff") format("woff");
}

@font-face {
  font-family: "WhyteInktrap-Super";
  src: url("fonts/WhyteInktrap-Super.woff2") format("woff2"),
    url("fonts/WhyteInktrap-Super.woff") format("woff");
}

:root {
  --highlight-color: white;
}

* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  display: none;
}
::-moz-selection {
  background: #989898;
  color: white;
}
::selection {
  background: #989898;
  /*color: white;*/
}

body {
  font-family: "Roboto Mono", monospace;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  background: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0s 0.5s;
  position: fixed;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
p {
  margin: 0 0 1.2em 0;
}
p:last-child {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: black;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
section {
  padding: 20px;
}
h1 {
  font-family: "WhyteInktrap-Super";
  font-size: 40px;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em 0;
  line-height: 0.9em;
}
h4,
.info--desc p:first-child {
  font-size: 24px;
  line-height: 1.2em;
  letter-spacing: -0.02em;
}
.img--load {
  opacity: 0 !important;
}
.img--load--transition {
  transition: all 0.25s !important;
}

.align--center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.align--centerh {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
}
.column {
  width: 50%;
  height: auto;
}
.column--left {
  position: absolute;
  width: calc(50% - 40px);
  top: 0;
}
.column--right {
  position: relative;
  left: 50%;
}
.column--footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 1;
  color: white;
}
.header > * {
  margin: 0;
}
.feature--button {
  position: fixed;
  right: 0;
  top: calc(50% - 30px);
  z-index: 6;
  /*mix-blend-mode: difference;*/
  width: 80px;
  transition: opacity 0.5s;
  transform: translate(0, -50%);
  padding: 20px;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
}
.feature--button img,
.feature--button svg {
  width: 100%;
  height: auto;
}
.feature--button svg * {
  fill: var(--highlight-color);
}
.feature--button span {
  opacity: 0;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translate(5px, -70%);
  color: white;
  text-align: right;
  white-space: nowrap;
  transition: opacity 0.25s;
}
.feature--button:hover span {
  opacity: 1;
}
.feature--button.active {
  opacity: 1;
  pointer-events: auto;
}

/*MENU *************************************/
.menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: white;
  padding: 20px;
  z-index: 10;
  /*box-shadow: 0 0 15px 0 #00000075;*/
}
.info--open .menu {
  /*border-top: 1px solid black;*/
}
.menu > * {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
.logo {
  right: 20px;
  height: 21px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
nav > * {
  margin-left: -5px;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s;
  border: 1px solid transparent;
}
nav > *:hover {
  /*background: grey;*/
  border: 1px solid grey;
  text-decoration: none;
}
nav > .selected {
  /*background: var(--highlight-color);*/
  border: 1px solid black;
}
nav.nav--mobile {
  display: none;
}
.menu--button--mobile {
  display: none;
}

.page--wrapper {
  transition: all 0.5s;
  position: relative;
  height: 100%;
}
.page--wrapper.transition {
  opacity: 0;
}

/*.project--open .page--wrapper{
	filter: blur(20px);
}*/

/*HOME + EXPERIEMENT *************************************/
.home,
.experiments {
  position: relative;
  width: 100%;
  height: calc(100vh - 50px);
  overflow: scroll;
  background: black;
}
.feature--scroll {
  position: relative;
  height: 100vh;
  z-index: 2;
}
.depth--wrapper {
  position: fixed;
  height: calc(100% - 50px);
  width: 100%;
  top: 0;
  left: 0;
  perspective: 150px;
  /*perspective-origin: 0% 0%;*/
  pointer-events: none;
  z-index: 1;
}
.depth--scroll {
  transform-style: preserve-3d;
  width: 200%;
  height: 100%;
}
.depth--wrapper .feature--block {
  position: absolute;
}
.feature--wrapper {
  transform-style: preserve-3d;
  position: absolute;
  width: 100%;
  height: 100%;
}
.feature--block {
  /*	position: absolute;
	left: 50%;
	top: 50%;
	transform-style: preserve-3d;*/
}
.feature--wrapper h1 {
  font-size: 4vw;
  text-align: center;
  color: white;
  transform: translate3d(-50%, -50%, 250px);
  -webkit-font-smoothing: antialiased;
  width: 20%;
  left: 50%;
  top: 50%;
  z-index: 1;
}
.feature--block img,
img.feature--block,
.feature--block iframe {
  /*max-width: 20%;*/
  object-fit: cover;
  backface-visibility: visible;
  display: block;
  padding: 40px;
  left: 50%;
  top: 50%;
  max-height: 100%;
  height: 50vh;
}
.feature--center {
  position: relative;
}
.feature--left {
  transform-origin: right;
  /*display: none !important;*/
}
.feature--right {
  transform-origin: left;
  /*display: none !important;*/
}
.feature--top {
  transform-origin: top;
  /*display: none !important;*/
}
.feature--bottom {
  transform-origin: bottom;
  /*display: none !important;*/
}
.feature--vert {
  max-width: 30% !important;
  max-height: 50% !important;
  /*height: 45vh !important;*/
  /*padding: 40px !important;*/
}
.feature--vid {
  height: 100%;
  width: 100%;
}
.project--open .feature--block {
  /*background: #dedede;*/
  /*filter: blur(40px) !important;*/
}
.video--button {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

/*INFO *************************************/
.info {
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: calc(75% - 0px);
  background: white;
  transition: transform 0.5s;
  z-index: 9;
}
.info--open .info {
  transform: translate(0, calc(-100% - 50px));
}
.info.quickopen {
  transition: transform 0s;
}
.desc--block {
  border-bottom: 1px solid black;
  padding: 20px 0;
}
.info .desc--block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.info--header {
  display: block;
  margin-bottom: 40px;
}
.info--lists {
  display: flex;
}
.info--lists > div {
  padding-right: 20px;
  width: 50%;
}
.info .column--right {
  position: absolute;
  height: 100%;
  top: 0px;
  overflow: scroll;
  padding: 0 20px;
}
.info > .column--left {
  position: relative;
  min-height: 100%;
}
.info--back {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 50px);
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  cursor: pointer;
  transition: all 0.5s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.info--open .info--back {
  opacity: 1;
  pointer-events: auto;
  height: calc(25% - 50px);
}
.info--back img,
.info--back svg {
  width: 50px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}
.info--back:hover img,
.info--back:hover svg {
  opacity: 1;
}
.info--line {
  position: absolute;
  top: 0;
  left: 20px;
  width: calc(100% - 40px);
  height: 1px;
  background: black;
  opacity: 0;
  transition: opacity 0.25s;
}
.info--open .info--line {
  opacity: 1;
  transition: opacity 0.25s;
}
.info--enquire {
  width: 50%;
}

/*PROJECTS *************************************/
.projects {
  padding-bottom: 40px;
  transition: transform 0.5s, background 0.5s, filter 0.5s;
  background: #efefef;
  height: 100%;
  overflow: scroll;
}
.project--open .projects {
  background: #dedede;
  /*filter: blur(10px);*/
}
body.project--open {
  background: #dedede;
  transition: background 0s;
}
.projects.load {
  transform: translate(0, 100vh);
}
.projects--blocks {
  position: relative;
  width: calc(100% + 20px);
  padding: 30px 0 20px 0;
}
.projects--block {
  position: relative;
  width: calc(33.33% - 20px);
  height: 250px;
  padding: 20px 0;
  margin-right: 20px;
  border-top: 1px solid black;
  display: inline-flex;
  text-decoration: none !important;
}
.block--img {
  position: absolute;
  right: 0;
  top: 0;
  height: auto;
  width: auto;
  max-width: calc(70% - 20px);
  max-height: 100%;
  padding: 20px 0;
  object-fit: contain;
  filter: blur(10px);
  transition: all 0.25s;
}
.block--title {
  width: 30%;
  display: block;
  transition: transform 0.25s 0.05s;
}
.block--title:before {
  content: "→";
  position: absolute;
  line-height: 1em;
  left: -1em;
  opacity: 0;
  transition: opacity 0.25s;
}
.projects--block:hover .block--title {
  transform: translate(1em, 0);
  transition: transform 0.25s;
}
.projects--block:hover .block--title:before {
  opacity: 1;
  transition: opacity 0.25s 0.05s;
}
.projects--filter {
  position: fixed;
  left: 0;
  top: 0;
  height: 50px;
  width: 100%;
  background: #efefef;
  z-index: 1;
  transition: background 0.5s;
  display: flex;
  align-items: center;
  padding-left: 20px;
  gap: 40px;
}
.projects--title {
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
}
.project--open .projects--filter {
  background: #dedede;
  transition: background 0.5s 0.5s;
}
.filters {
  position: relative;
}
.filters > * {
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid transparent;
}
.filters > *:first-child {
  padding-left: 0;
}
.filter--item:hover {
  /*background: grey;*/
  border: 1px solid grey;
  cursor: pointer;
}
.filter--item.selected {
  /*background: var(--highlight-color);*/
  border: 1px solid black;
}

/*PROJECT *************************************/
.project {
  position: fixed;
  left: 100%;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: scroll;
  background: #efefef;
  z-index: 7;
  transition: transform 0.5s;
  padding-top: 0;
  padding-bottom: 50px;
}
.project--open .project {
  transform: translate(-100%, 0);
  transition: transform 0.5s;
}
.project--img,
.project--video img {
  width: 100%;
  height: auto;
  transition: all 0.25s;
}
.project--blocks > *:first-child {
  width: calc(100% + 40px);
  margin-left: -20px;
  padding: 0;
}
.project--blocks > * {
  margin-bottom: 20px;
  position: relative;
}
.img--padded {
  padding: 10%;
}
.project--back {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 50px);
  opacity: 1;
  pointer-events: none;
  z-index: 6;
  cursor: pointer;
  transition: opacity 0.5s;
  transform: translateZ(0px);
}
.project--back--blur {
  position: absolute;
  left: 0;
  width: 100vw;
  top: 0;
  bottom: 0;
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.5s;
  pointer-events: none;
}
.project--open .project--back {
  opacity: 1;
  pointer-events: auto;
  width: 100%;
}
.project--open .project--back--blur {
  opacity: 1;
  pointer-events: auto;
}
.project--back img,
.project--back svg {
  width: 50px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  position: absolute;
  left: 25vw;
  top: 50%;
  transform: translate(-50%, -50%);
}
.project--back svg * {
  fill: var(--highlight-color);
}
.project--back:hover img,
.project--back:hover svg {
  opacity: 1;
}
.project--info {
  margin-bottom: 20px;
  margin-top: -6px;
}
.project--info--content {
  height: 0;
  overflow: hidden;
}
.project--info--button {
  font-size: 1rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Roboto Mono", monospace;
  padding: 0;
  margin: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
  cursor: pointer;
}
.project--info--button .minus {
  display: none;
}
.open .project--info--button .minus {
  display: inline-block;
}
.open .project--info--button .plus {
  display: none;
}
.info--desc {
  margin-bottom: 20px;
}
.info--details {
  display: flex;
  flex-direction: column;
  /*font-size: 14px;
    line-height: 1.2em;*/
}
.info--details > * {
  width: 25%;
  padding-right: 20px;
}
.credit {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.2em;
}
.tag--list > * {
  text-transform: uppercase;
  margin-right: 10px;
}
.project--solo {
  padding-top: 0;
}
.img--portrait,
.img--padded {
  padding: 15%;
}
.video--play {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}
.video--play svg,
.video--play img {
  width: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.video--play svg * {
  fill: var(--highlight-color);
}
.project--close--mobile {
  display: none;
}

/*VIDEO PLAYER *************************************/
.vid--player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.player--open .vid--player {
  opacity: 1;
  pointer-events: auto;
}
body.player--open {
  background: black;
}
.vid--wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 20px);
  background: black;
}
.vid--controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
}
.vid--controls span {
  position: absolute;
  bottom: 100%;
  padding: 20px;
  color: white;
}
.vid--play {
  cursor: pointer;
}
.vid--mute {
  cursor: pointer;
  left: 80px;
}
.vid--time {
  left: 160px;
}
.vid--exit {
  right: 0;
  cursor: pointer;
}
.vid--play:hover,
.vid--mute:hover,
.vid--exit:hover {
  text-decoration: underline;
}
.vid--track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  cursor: pointer;
}
.vid--progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: white;
}
#vimeo_player {
  border: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
}

@media only screen and (max-width: 1600px) {
  h4,
  .info--desc p:first-child {
    font-size: 19px;
    line-height: 1.2em;
    letter-spacing: -0.02em;
  }
}

@media only screen and (max-width: 1200px) {
  /*PROJECT *************************************/
  .project {
    width: 66.66%;
  }
  .project--open .project--back {
    width: 33.34%;
  }
  .project--back img,
.project--back svg {
  left: 17.5vw;
}

  .info--lists {
    flex-flow: wrap;
  }
  .info--lists > div {
    padding-bottom: 20px;
  }
  .info--lists > div:last-child {
    padding-bottom: 0px;
  }
  .info--enquire {
    width: 75%;
  }
}

@media only screen and (max-width: 1100px) {
  .projects--block {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 1000px) {
  .info {
    height: calc(100% - 50px);
  }
  .info--open .info {
    transform: translate(0, calc(-100% - 50px));
  }
  .info > .column--right {
    width: 66.66%;
    left: 33.34%;
  }
  .info > .column--left {
    width: calc(33.34% - 20px);
    height: 100%;
  }
  .info--list {
    display: block;
  }
  .info--list > div {
    float: left;
    width: 100%;
    margin-right: 0;
  }
  .info--list > div:last-child {
    margin-bottom: 0px;
  }
  .info--list > div {
    padding-right: 20px;
    margin-bottom: 20px;
  }
  .info--enquire {
    width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  h4,
  .info--desc p:first-child {
    font-size: 16px;
    line-height: 1.2em;
    letter-spacing: -0.02em;
  }

  .home,
  .experiments {
    height: calc(100vh - 46px);
  }
  .depth--wrapper {
    width: 200%;
    left: -50%;
    height: calc(100% - 46px);
    perspective: 300px;
  }
  .feature--wrapper h1 {
    font-size: 10vw;
  }
  .depth--wrapper .feature--top,
  .depth--wrapper .feature--bottom,
  .depth--wrapper .feature--left,
  .depth--wrapper .feature--right {
    display: none !important;
  }
  .feature--button {
    width: 60px;
    top: calc(50% - 25px);
    padding: 15px;
  }
  .feature--block {
    width: 100vw !important;
    height: auto !important;
    max-width: 100vw !important;
    max-height: 100% !important;
    object-fit: contain;
  }

  .info--header {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 899px) {
  body {
    font-size: 14px;
    /*overflow: hidden;
		height: 100%;
		width: 100%;*/
  }
  h4,
  .info--desc p:first-child {
    font-size: 14px;
    line-height: 1.2em;
    letter-spacing: -0.02em;
  }

  .column {
    width: 100%;
  }
  .column--right {
    left: 0;
  }
  .column--left {
    position: relative;
  }
  .column--footer {
    position: relative;
  }
  .header {
    padding: 15px;
  }

  .menu {
    height: 46px;
    padding: 15px;
    z-index: 11;
  }
  .logo {
    right: 15px;
    height: 21px;
  }
  .logo img {
    width: auto;
  }
  nav {
    display: none;
  }
  nav.nav--mobile {
    display: block;
    position: fixed !important;
    width: 100%;
    left: 0;
    top: auto !important;
    bottom: 0px;
    transform: translate(0, 100%) !important;
    background: white;
    transition: transform 0.5s;
    z-index: 10;
  }
  nav.active {
    transform: translate(0, -46px) !important;
  }
  .info--open nav.active {
    transform: translate(0, -45px) !important;
  }
  .info--open nav > *:first-child {
    border-top: 1px solid black;
  }
  nav > * {
    font-size: 18px;
    display: block;
    height: 46px;
    width: calc(100% - 30px);
    background: white;
    margin: 0 15px;
    padding: 14px 0;
    border-radius: 0;
    border: none !important;
    border-bottom: 1px solid black !important;
  }
  .menu--button--mobile {
    display: block;
    height: 21px;
  }

  .info {
    height: calc(100% - 46px);
    overflow: scroll;
    padding: 15px;
  }
  .info--open .info {
    transform: translate(0, calc(-100% - 46px));
  }
  .info > .column--right {
    min-height: 0%;
    left: 0;
    width: 100%;
    position: relative;
    padding: 0;
    height: auto;
    overflow: auto;
  }
  .info--list > div {
    padding-right: 15px;
    margin-bottom: 15px;
  }
  .info--line {
    left: 15px;
    width: calc(100% - 30px);
  }
  .info > .column--left {
    width: 100%;
    height: auto;
    min-height: 0;
    border-bottom: 1px solid black;
    padding-bottom: 15px;
  }
  .info--contact {
    padding-bottom: 30px;
  }

  .projects {
    padding: 15px;
  }
  body.project--open {
    background: #000000;
    transition: background 0s;
  }
  .projects--blocks {
    width: calc(100% + 15px);
    padding: 36px 0 30px 0;
  }
  .projects--block {
    width: calc(100% - 15px);
    height: 160px;
    margin-right: 15px;
    padding: 15px 0;
  }
  .projects--title {
    font-size: 14px;
    white-space: nowrap;
  }
  .projects--filter {
    overflow-x: scroll;
    width: 100%;
    gap: 20px;
    padding-right: 16px;
  }
  .filters {
    width: fit-content;
    white-space: nowrap;
    left: 0px;
  }
  .filters > * {
    padding: 5px 5px;
  }
  .block--img {
    padding: 15px 0;
  }

  .project {
    width: 100%;
    padding: 15px;
    padding-top: 0;
    padding-bottom: 46px;
  }
  .project .header {
    overflow: hidden;
  }
  .project--blocks > * {
    margin-bottom: 15px;
  }
  .project--blocks > *:first-child {
    width: calc(100% + 30px);
    margin-left: -15px;
  }
  .img--portrait,
  .img--padded {
    padding: 10%;
  }
  .project--info {
    margin-bottom: 15px;
  }
  .info--details {
    width: calc(100% + 30px);
    margin-left: -15px;
    padding-left: 15px;
  }
  .video--play img {
    width: 40px;
  }
  .project--back {
    display: none;
  }
  .project--close--mobile {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 65px;
    height: auto;
    padding: 15px;
    transform: rotate(45deg);
    z-index: 7;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
  }
  .project--open .project--close--mobile {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s 0.5s;
  }
  .project--title {
    width: calc(100% - 50px);
  }

  .vid--player {
    z-index: 11;
  }
  .vid--controls span {
    padding: 15px;
  }
  .vid--mute {
    left: 70px;
  }
  .vid--time {
    position: fixed !important;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }
}

@media only screen and (max-width: 340px) {
  body {
    font-size: 12px;
  }
  .projects--title {
    font-size: 12px;
  }
}
