/**************************************/
/*              GLOBALS               */
/**************************************/

:root {
    --font-family: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --accent-color: #1fe5a9;
    --primary-color: #e4a909;
    --white-color: #FFFFFF;
    --grey-color: #F2F2F2;
    --mid-color: #757575;
    --dark-color: #222222;
    --black-color: #000000;
    --frame-border: 15px;
    --large-padding-side: 200px;
    --large-padding-vert: 50px;
}

a {
    color: var(--dark-color);
    text-decoration: none;
}

a:hover {
    color: var(--black-color);
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

::-moz-selection {
    color: var(--dark-color);
    background: var(--primary-color);
}

::selection {
    color: var(--dark-color);
    background: var(--primary-color);
}

.pin-spacer {
    pointer-events: none;
}

html {
    height: 100%;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-weight: 400;
    background: var(--black-color);
    height: 100%;
    font-size: 14px;
    min-width: 372px;
}

#wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100vw;
    margin: 0;
    z-index: 100;
    min-width: 372px;
}

.frame {
    width: calc(100% - var(--frame-border) - var(--frame-border));
    margin: 0 var(--frame-border);
}

.difference {
    mix-blend-mode: difference;
}

/**************************************/
/*              CURSOR                */
/**************************************/
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 31415926535;
    transform-origin: top left;
    pointer-events: none;
    transform-origin: center;
}

#cursor .dot {
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: calc(25px / 2);
    border: var(--white-color) 1px solid;
    backdrop-filter: saturate(0) contrast(2);
}

#cursor .dot .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#cursor .icon {
    color: var(--white-color);
    font-size: 0.8em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#cursor .handle {
    position: absolute;
    width: 1px;
    height: 0px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: rotate(45deg) translateY(12px);
    transform-origin: top center;
    will-change: height;
}

/**************************************/
/*              LOADER                */
/**************************************/
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: var(--black-color);
    z-index: 9999;
}

#loader .status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
}

#loader .complete {
    position: absolute;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: var(--white-color);
}

/**************************************/
/*              HEADER                */
/**************************************/

#header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
    min-width: 372px;
}

#header.home {
    height: 100vh;
}

#header .content {
    position: relative;
    display: inline-block;
    top: var(--frame-border);
    left: var(--frame-border);
}

#header .content > div {
    position: relative;
    display: flex;
    justify-content: center;
    pointer-events: all;
}

#header .content .logo {
    font-size: 0;
    padding: 6px 5px 4px;
    background: var(--primary-color);
    width: 50px;
    overflow: hidden;
    z-index: 1000;
}

#header .content .info {
    background: rgba(0,0,0,0.85);
    color: var(--white-color);
    white-space: nowrap;
    align-content: space-around;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 500;
}

#header .content .info > div {
    width: auto;
    position: relative;
    display: flex;
    justify-content: right;
}

body.home #header .content .info > div {
    width: 0;
}

#header .content .info > div > div {
    padding: 10px;
}

#header .content .info .title {
    font-size: 17.6px;
    text-transform: uppercase;
    letter-spacing: -.05em;
    font-weight: 800;
}

#header .content .info .jobs {
    font-family: var(--font-mono);
    font-size: 13.6px;
    display: flex;
    justify-content: space-between;
}

#header .content .info .jobs .div {
    opacity: 0.4;
}

#header .content .header {
    background: rgba(0,0,0,0.65);
    color: var(--white-color);
    white-space: nowrap;
    align-content: space-around;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 250;
}

#header .content .header > div {
    width: auto;
    position: relative;
    display: flex;
    justify-content: right;
}

body.home #header .content .header > div,
body.project #header .content .header > div,
body.article  #header .content .header > div {
    width: 0;
}

#header .content .header > div > div {
    display: flex;
    justify-content: center;
}

#header .content .header .title {
    position: relative;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -.04em;
    font-weight: 800;
    font-style: italic;
}

@media (max-width: 750px) {
    #header .content .header .title {
        display: none;
    }
}

#header .content .header .title > div {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-block;
}

#header .menu {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 60.5px;
    width: 60.5px;
    pointer-events: all;
    background: rgba(0,0,0,0.85);
}

#header .menu .hamburger {
    position: relative;
    display: block;
    height: 36%;
    width: 36%;
    top: 32%;
    left: 32%;
    transition: all 300ms ease-out;
}

#header .menu .hamburger span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 0;
    width: 100%;
    border: 1.5px solid var(--white-color);
    border-radius: 2px;
    transition: all 300ms ease-out;
}

#header .menu .hamburger.open span:not(:first-child):not(:last-child) {
    height: 130%;
    width: 130%;
    border-width: 2.5px;
    border-radius: 50%;
}

#header .menu .hamburger.open span:first-child,
#header .menu .hamburger.open span:last-child {
    top: 45%;
    left: 15%;
    width: 70%;
    background: var(--white-color);
    border-width: 1.25px;
}

#header .menu .hamburger span:first-child {
    top: 14%;
}

#header .menu .hamburger.open span:first-child {
    transform: rotate(-135deg);
}

#header .menu .hamburger span:last-child {
    top: 86%;
}

#header .menu .hamburger.open span:last-child {
    transform: rotate(135deg);
}

#header .menu .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    white-space: nowrap;
    display: grid;
    grid-template-columns: 1fr;
}

#header .menu .dropdown > * {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60.5px;
    height: 60.5px;
    cursor: pointer;
    opacity: 0;
}

#header .menu .dropdown .bullet {
    position: relative;
    height: 100%;
    background: rgba(0,0,0,0.65);
}

#header .menu .dropdown .bullet div {
    position: relative;
    display: block;
    height: 36%;
    width: 36%;
    top: 32%;
    left: 32%;
    transition: all 300ms ease-out;
}

#header .menu .dropdown .bullet span {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-30deg);
    background: var(--white-color);
    height: 0;
    width: 100%;
    border: 1.5px solid var(--white-color);
    border-radius: 2px;
    transition: all 300ms ease-out;
}

#header .menu .dropdown .bullet span:last-child:not(.open) {
    transform: translateX(-50%) translateY(-50%) rotate(30deg);
    top: 73%;
}

#header .menu .dropdown > *:hover:not(.open) .bullet span {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
}

#header .menu .dropdown > *:hover:not(.open) .bullet span:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    left: 33%;
    top: 24%;
    width: 75%;
}

#header .menu .dropdown > *:hover:not(.open) .bullet span:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    left: 33%;
    top: 76%;
    width: 75%;
}

#header .menu .dropdown .item {
    display: flex;
    justify-content: end;
}

#header .menu .dropdown .item div {
    position: relative;
    height: 100%;
    background: rgba(0,0,0,0.45);
    font-size: 40px;
    font-style: normal;
    -webkit-text-stroke: 1px var(--white-color);
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -.05em;
    font-weight: 800;
    padding: 0 var(--frame-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    width: 100%;
}

#header .menu .dropdown > *:hover .item div {
    background: rgba(0,0,0,0.65);
    -webkit-text-fill-color: var(--white-color);
    font-style: italic;
}

#header .menu .dropdown > *:hover .bullet {
    background: rgba(0,0,0,0.85);
}

#header .menu .dropdown a.sub {
    height: auto;
}

#header .menu .dropdown .sub .item div {
    font-family: var(--font-mono);
    font-size: 16px;
    height: 0;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
    color: var(--white-color);
    -webkit-text-stroke: 0px var(--white-color);
    -webkit-text-fill-color: var(--white-color);
    display: flex;
}

#header .menu .dropdown .drop a {
    pointer-events: none;
}

#header .menu .dropdown .drop.open a {
    pointer-events: all;
}

#header .menu .dropdown .drop.open span {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

#header .menu .dropdown .drop.open span:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    top: 50%;
}

#header .socials {
    position: absolute;
    top: 100%;
    left: 0;
    white-space: nowrap;
    display: grid;
    grid-template-columns: 1fr;
}

#header .socials > * {
    position: relative;
    display: grid;
    grid-template-columns: 50px 1fr;
    height: 60.5px;
    cursor: pointer;
    opacity: 0;
}

#header .socials .bullet {
    position: relative;
    height: 100%;
    background: rgba(0,0,0,0.65);
    transition: background 300ms ease-out;
}

#header .socials a:not(:hover) .bullet {
    background: rgba(0,0,0,0.65) !important;
}

#header .socials a:hover .bullet span {
    color: var(--black-color) !important;
}

#header .socials .bullet div {
    position: relative;
    display: block;
    height: 36%;
    width: 36%;
    top: 32%;
    left: 32%;
    display: flex;
    align-items: center;
    align-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 300ms ease-out;
}

#header .socials .item {
    display: flex;
    justify-content: start;
}

#header .socials .item div {
    position: relative;
    height: 100%;
    background: rgba(0,0,0,0.45);
    font-size: 40px;
    font-style: normal;
    -webkit-text-stroke: 1px var(--white-color);
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -.05em;
    font-weight: 800;
    padding: 0 var(--frame-border);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
}

#header .socials > *:hover .item div {
    background: rgba(0,0,0,0.65);
    -webkit-text-fill-color: var(--white-color);
    font-style: italic;
}

#header .socials > *:hover .bullet {
    background: rgba(0,0,0,0.85);
}

@media (max-width: 500px) {
    #header .socials .item div,
    #header .menu .dropdown .item div {
        font-size: 30px;
    }
}

/**************************************/
/*               FOOTER               */
/**************************************/
#footer {
    position: relative;
    display: flex;
    justify-content: space-between;
}

#content.projects #footer,
#content.contact #footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: all;
}

#footer > * {
    padding: var(--frame-border);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#footer .meta > * {
    position: relative;
    display: flex;
    justify-content: center;
    pointer-events: all;
}

#footer .meta .item a.logo {
    font-size: 0;
    padding: 6px 5px 4px;
    background: var(--primary-color);
    width: 50px;
    overflow: hidden;
    z-index: 1000;
    margin-bottom: var(--frame-border);
}

#footer .meta .item a {
    color: var(--white-color);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 16px;
}

#footer .meta .item span {
    text-transform: lowercase;
}

#footer .meta .item a:hover {
    font-style: italic;
}

#footer .meta .legal {
    font-family: var(--font-mono);
    color: var(--white-color);
    margin-bottom: 4px;
}

#footer .socials a {
    display: grid;
    grid-template-columns: auto 1fr;
    font-family: var(--font-mono);
    color: var(--white-color);
    text-transform: uppercase;
}

#footer .nav a {
    display: grid;
    grid-template-columns: 1fr auto;
    font-family: var(--font-mono);
    color: var(--white-color);
    text-transform: uppercase;
}

#footer .socials a .bullet,
#footer .nav a .bullet {
    width: 27px;
    opacity: 0;
}

#footer .socials a .bullet div,
#footer .nav a .bullet div {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer .nav a .bullet div {
    background: var(--black-color);
}

#footer .socials a .item {
    position: relative;
    padding: 4px var(--frame-border);
    text-align: right;
    overflow: hidden;
}

#footer .nav a .item {
    position: relative;
    padding: 4px var(--frame-border);
    text-align: left;
    overflow: hidden;
}

#footer .socials a .item .bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    transition: none;
}

#footer .nav a .item .bg {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    transition: none;
    background: var(--black-color);
}

#footer .socials a:hover .bullet,
#footer .nav a:hover .bullet {
    opacity: 1;
}

#footer .socials a:hover .item .bg {
    left: 0;
    font-style: italic;
    transition: left 150ms ease-out;
}

#footer .nav a:hover .item .bg {
    right: 0;
    font-style: italic;
    transition: right 150ms ease-out;
}

@media (max-width: 700px) {
    #footer {
        justify-content: center;
    }
    #footer .nav,
    #footer .socials {
        display: none;
    }
}

/**************************************/
/*               HOME                 */
/**************************************/

#feature {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

#feature .video {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: 0;
}

#feature .black {
    position: absolute;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #000;
}

#quote {
    position: relative;
    z-index: 2;
    color: #fff;
    overflow: hidden;
    height: 150vh;
}

#quote .anim {
    position: relative;
    width: 100%;
    height: 100vh;
}

#quote .content {
    position: relative;
    top: 50%;
    padding: 7vw;
    transform: translateY(-50%);
}

#quote .text {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 5vw;
    line-height: 5vw;
    text-align: center;
}

#quote .text #typed {
    visibility: visible;
}

#quote .text #remaining {
    visibility: hidden;
}

#quote .credit {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    text-align: right;
    opacity: 0;
    transform: translateX(-0.2vw);
}

@media (max-width: 420px) {
    #quote .text {
        font-size: 18px;
        line-height: 18px;
    }
}

#recent-work {
    position: relative;
    font-size: 0;
    clip-path: inset(0 0 0 0);
}

#recent-work .project {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

#recent-work a.block {
    position: absolute;
    display: block;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#recent-work .project .title {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    right: var(--frame-border);
    z-index: 250;
    transform: translateY(-100%);
}

#recent-work .project .title a {
    pointer-events: all;
}

#recent-work .project .title.left {
    left: var(--frame-border);
    right: auto;
}

#recent-work .project .title .content {
    position: absolute;
    display: block;
    top: 50%;
    width: max-content;
    transform: translateY(-50%);
    right: 0;
    text-transform: uppercase;
    font-weight: 800;
    text-align: right;
    letter-spacing: -.05em;
    font-size: 32px;
    color: #fff;
    padding: 10px 15px;
    background: rgba(0,0,0,0.65);
}

#recent-work .project .title.left .content {
    left: 0;
    right: auto;
    text-align: left;
}

#recent-work .project .subtitle {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
}

#recent-work .project.full .bg {
    position: relative;
    aspect-ratio: 2 / 1;
    z-index: 1;
}

#recent-work .project.full .gif {
    position: absolute;
    aspect-ratio: 2 / 1;
    z-index: 2;
    top: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 50ms ease-in-out;
}

#recent-work .project.half {
    display: inline-block;
    width: 50%;
}

#recent-work .project.half .bg {
    position: relative;
    aspect-ratio: 1 / 1;
    z-index: 1;
}

#recent-work .project.half .gif {
    position: absolute;
    aspect-ratio: 1 / 1;
    z-index: 2;
    top: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 50ms ease-in-out;
}

#recent-work .bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
 }

 #recent-work .gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

 #recent-work .project:hover .gif {
    opacity: 1;
 }

 #recent-work .project.half .bg img {
    width: 115%;
 }

 #recent-work .more {
    position: relative;
    width: 100%;
    height: 12vw;
    white-space: nowrap;
    overflow: hidden;
 }

 #recent-work .more .text {
    font-size: 5vw;
    position: absolute;
    top: 50%;
    left: 0;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -.04em;
    color: #fff;
    z-index: 150;
    white-space: nowrap;
    will-change: transform;
    -webkit-text-stroke: 1px var(--white-color);
    -webkit-text-fill-color: var(--white-color);
 }

#recent-work .more .text .item {
    display: inline-block;
    margin-right: 2vw;
}

#recent-work .more:hover .text {
    -webkit-text-fill-color: transparent;
}

#recent-work .more .bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 50ms ease-in-out;
    z-index: 100;
 }

#recent-work .more:hover .bg {
    opacity: 1;
}

@media (max-width: 900px) {
    #recent-work .project.full .bg {
        aspect-ratio: 1 / 1;
    }

    #recent-work .project.full .gif {
        aspect-ratio: 1 / 1;
    }

    #recent-work .project.half {
        display: block;
        width: 100%;
    }

     #recent-work .more {
        height: 18vw;
    }

    #recent-work .more .text {
        font-size: 7.5vw;
    }
}

@media (max-width: 730px) {
    #recent-work .more {
        height: 87px;
    }

    #recent-work .more .text {
        font-size: 35px;
    }

    #recent-work .more .text .item {
        margin-right: 14px;
    }
}

@media (max-width: 550px) {
    #recent-work .project .title,
    #recent-work .project .title.left,
    #recent-work .project .title .content,
    #recent-work .project .title.left .content  {
        left: 50%;
        right: auto;
        transform: translateY(-100%) translateX(-50%);
        max-width: calc(100% - var(--frame-border) - var(--frame-border));
    }
}

#clients {
    position: relative;
    font-size: 0;
    clip-path: inset(0 0 0 0);
}

#clients > .title {
    position: fixed;
    top: 0;
    transform: translateY(2.7vw);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 52px;
    color: #fff;
    mix-blend-mode: difference;
    padding: 0 var(--frame-border);
    z-index: 250;
}

#clients .list {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    padding: 6vw 0;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 32px;
    mix-blend-mode: difference;
    z-index: 100;
}

#clients .list .item {
    position: relative;
    height: 39px;
}

#clients .list .title a {
    color: var(--mid-color);
}

#clients .list .title a:hover {
    color: var(--white-color);
}

#clients .list .logo {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    background-color: var(--white-color);
    visibility: hidden;
}

#clients .video {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: 0;
    top: 0;
}

@media (max-width: 500px) {
    #clients .list {
        font-size: 6.5vw;
    }

    #clients .list .item {
        height: 8vw;
    }
}

#about {
    position: relative;
    width: 100%;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

#about .pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

#about .bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  will-change: transform;
}

#about .bg .anim {
    position: relative;
    width: 100%;
    height: 130vh;
    transform: translateY(-40vh);
}

#about .bg img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateX(0);
    mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 100%
        );
}

#about .bg img.blur {
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(1.5rem);
    z-index: -1;
    opacity: 0.25;
}

#about > .title {
    position: fixed;
    top: 0;
    transform: translateY(2.7vw);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 52px;
    color: #fff;
    mix-blend-mode: difference;
    padding: 0 var(--frame-border);
    z-index: 250;
}

#about .content {
    position: relative;
    font-family: var(--font-mono);
    color: #fff;
    margin-top: 80vh;
    margin-left: 8vw;
    width: 40vw;
    text-shadow: 1px 1px 12px #000, 1px 1px 20px #000;
}

@media (max-width: 1400px) {
    #about .content {
        width: 50vw;
    }
}

@media (max-width: 900px) {
    #about .bg img:not(.blur) {
        position: relative;
        height: auto;
        object-fit: unset;
        object-position: unset;
        mask-image: linear-gradient(
            to bottom,
            #000 0%,
            #000 66.666%,
            transparent 100%
        );
    }

    #about .bg .anim {
        position: relative;
        width: 150%;
        height: 130vh;
        left: 50%;
        transform: translateX(-50%) translateY(-20vh);
    }

    #about .content {
        margin-top: 50vh;
    }
}

@media (max-width: 650px) {
    #about .content {
        margin-left: var(--large-padding-vert);
        margin-right: var(--large-padding-vert);
        width: calc(100% - var(--large-padding-vert) - var(--large-padding-vert));
        margin-top: 72vw;
    }
}

/**************************************/
/*              PROJECTS              */
/**************************************/

#content .projects {
    position: relative;
    z-index: 100;
}

.projects-wrapper {
    pointer-events: none;
    z-index: 3;
}

#project-role {
    position: fixed;
    left: var(--frame-border);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    color: var(--white-color);
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
    z-index: 250;
    padding: 10px 15px;
    background: rgba(0,0,0,0.65);
}

.projects .list {
    position: relative;
    text-align: right;
    margin-right: var(--frame-border);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 32px;
    line-height: 1.2em;
    mix-blend-mode: difference;
    z-index: 100;
}

.projects .spacer {
    height: calc(50vh - (39px / 2));
}

.projects .list .item {
    position: relative;
    height: 39px;
}

@media (max-width: 1000px) {
    .projects .list {
        font-size: 3.2vw;
    }

    .projects .list .item {
        height: 3.9vw;
    }

    #project-role {
        font-size: 14px;
        line-height: 14px;
    }
}

@media (max-width: 750px) {
    #project-role {
        font-size: 12px;
        line-height: 12px;
    }
}

@media (max-width: 372px) {
    .projects .list {
        font-size: 11.9px;
    }

    .projects .list .item {
        height: 14.3px;
    }
}

.projects .list .title a {
    color: var(--mid-color);
    pointer-events: all;
    white-space: nowrap;
}

.projects .list .title a:hover,
.projects .list .title.active a {
    color: var(--white-color);
}

#project-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
}

#project-bg .bg-image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
}

#project-bg .bg-image .active {
    opacity: 1;
}

#project-bg .bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/**************************************/
/*           PROJECT / PRESS          */
/**************************************/

#dark-room {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease-out;
}

#dark-room.active {
    opacity: 1;
    pointer-events: all;
}

#content.project .header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
}

#content.project .header .gif,
#content.project .header .bg {
    position: relative;
    width: 100%;
    height: 100%;
}

#content.project .header .gif img,
#content.project .header .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#content.project .header .gif {
    z-index: 2;
}

#content.project .header .bg {
    z-index: 1;
}

#content.project .titles {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
}

#content.press .titles {
    position: relative;
    top: 0;
    width: 100%;
    z-index: 50;
}

#content.project .fake {
    overflow: hidden;
    z-index: 150;
}

#content.project .titles .anim,
#content.press .titles .anim {
    position: relative;
    height: 100%;
}

#content.press .titles .anim {
    padding-top: 100px;
}

#content.project .titles .cont {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

#content.press .titles .cont {
    position: relative;
}

#content.project .titles .main,
#content.press .titles .main {
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 5vw;
    line-height: 5vw;
    text-align: center;
    padding: 0 var(--large-padding-vert);
}

#content.project .titles.fake .main,
#content.press .titles.real .main {
    -webkit-text-fill-color: transparent;
}

#content.project .details,
#content.press .details,
#content.contact .details {
    position: relative;
    width: 100%;
    padding: 0 var(--large-padding-side);
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
}

#content.press .details {
    padding-bottom: var(--large-padding-vert);
}

#content.project .real .details {
    color: var(--black-color);
}

#content.project .details > div,
#content.press .details > div,
#content.contact .details > div {
    position: relative;
    display: inline-block;
}

#content.project .details .label,
#content.press .details .label,
#content.contact .details .label {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    text-align: left;
    margin-bottom: var(--frame-border);
}

#content.project .details .client .label,
#content.press .details .link .label,
#content.press .details .link .detail,
#content.contact .details .time .label,
#content.contact .details .time .clock {
    text-align: right;
}

#content.press .details .link .detail {
    float: right;
}

#content.project .details .detail,
#content.press .details .detail,
#content.contact .details .detail {
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 16px;
    white-space: nowrap;
}

#content.press .details a.detail {
    color: var(--white-color);
}

#content.project .details .detail .bar,
#content.press .details .detail .bar {
    display: inline;
    margin: 0 4px;
}

#content.project .titles .client-logo,
#content.project .titles .brand-logo,
#content.press .titles .publisher-logo {
    display: block;
    background: var(--white-color);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    opacity: 0.6;
    transition: all 50ms ease-in-out;
}

#content.project .titles.real .client-logo,
#content.project .titles.real .brand-logo {
    background: var(--black-color);
}

#content.project .titles .client-logo:hover,
#content.project .titles .brand-logo:hover,
#content.press .titles .publisher-logo:hover {
    opacity: 1;
}

#content.project .titles .client img,
#content.project .titles .brand img,
#content.press .titles .publisher img {
    height: 48px;
    opacity: 0;
}

#content.project .synopsis,
#content.project .description,
#content.press .article {
    font-family: var(--font-mono);
    background: var(--white-color);
    padding: 0 var(--large-padding-side) var(--large-padding-vert);
    font-size: 1.2em;
    line-height: 1.5em;
}

#content.project .description,
#content.press .article {
    padding-top: var(--large-padding-vert);
}

#content.project .description > *:first-child,
#content.press .article > *:first-child {
    margin-top: 0;
}

#content.project .description > *:last-child,
#content.press .article > *:last-child {
    margin-bottom: 0;
}

#content.project .title-holder {
    position: relative;
    background: var(--white-color);
    padding: var(--large-padding-vert) var(--large-padding-side);
}

#content.project .title-holder .cont {
    position: relative;
}

#content.project .title-holder .trigger {
    position: absolute;
    top: 0;
    height: 100px;
    transform: translateY(-100%);
}

#content.project .title-block {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

#content.project .videos,
#content.press .video,
#content.press .image {
    position: relative;
    font-size: 0;
    clip-path: inset(0 0 0 0);
}

#content.project .videos .variation,
#content.press .video .variation,
#content.press .image .full {
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

#content.project .videos .variation.full,
#content.press .video .variation.full,
#content.press .image .full {
    aspect-ratio: 2 / 1;
}

#content.project .videos .variation.half {
    aspect-ratio: 16 / 9;
}

#content.project .videos a.block,
#content.press .video a.block {
    position: absolute;
    display: block;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#content.project .videos .variation .title {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    right: var(--frame-border);
    z-index: 250;
    transform: translateY(-100%);
}

#content.project .videos .variation .title a {
    pointer-events: all;
}

#content.project .videos .variation .title.left {
    left: var(--frame-border);
    right: auto;
}

#content.project .videos .variation .title .content {
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    text-transform: uppercase;
    font-weight: 800;
    text-align: right;
    letter-spacing: -.05em;
    font-size: 32px;
    color: #fff;
}

#content.project .videos .variation .title.left .content {
    left: 0;
    right: auto;
    text-align: left;
}

#content.project .videos .variation .subtitle {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
}

#content.project .videos .variation .title.left {
    left: var(--frame-border);
    text-align: left;
}

#content.project .videos .variation.full .bg,
#content.press .video .variation.full .bg,
#content.press .image .full .bg {
    position: relative;
    aspect-ratio: 2 / 1;
    z-index: 1;
}

#content.project .videos .variation.half {
    display: inline-block;
    width: 50%;
}

#content.project .videos .variation.half .bg {
    position: relative;
    aspect-ratio: 16 / 9;
    z-index: 1;
}

#content.project .videos .variation .bg img,
#content.press .video .variation .bg img,
#content.press .image .full .bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 115%;
}

#content.project .gallery {
    position: relative;
    width: 100%;
    font-size: 0;
    text-align: center;
}

#content.project .gallery .item {
    position: relative;
    display: inline-block;
    width: 25%;
    overflow: hidden;
}

#content.project .gallery .item img {
    width: 100%;
    height: 100%;
    filter: saturate(0) contrast(1.2);
    transform: scale(1);
    transition: all 150ms ease-in-out;
}

#content.project .gallery .item:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.1);
}

#content.project .checkerboard {
    position: relative;
}

#content.project .checkerboard .row {
    position: relative;
}

#content.project .checkerboard .row > div {
    position: relative;
    width: 50%;
    display: inline-block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

#content.project .checkerboard img {
    object-fit: cover;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#content.project .checkerboard .ctext {
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

#content.project .checkerboard .t1 {
    font-size: 145px;
    font-weight: 900;
    text-align: right;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -.05em;
    line-height: 135px;
}

#content.project .checkerboard .left .text .ctext {
    right: var(--large-padding-side);
}

#content.project .checkerboard .right .text .ctext {
    left: var(--large-padding-side);
}

#content.project .checkerboard .left .image .ctext {
    color: var(--white-color);
    right: calc(-100% + var(--large-padding-side));
}

#content.project .checkerboard .right .image .ctext {
    color: var(--white-color);
    left: calc(-100% + var(--large-padding-side));
}

#content.project .checkerboard .image .t1 {
    -webkit-text-stroke: 2px var(--white-color);
    -webkit-text-fill-color: transparent;
}

#content.project .checkerboard .ctext .t2 {
    font-family: var(--font-mono);
}

#content.project .checkerboard .text .t2 {
    color: var(--white-color);
}

#content.project .credits {
    margin: 0 var(--large-padding-side);
    padding-bottom: var(--large-padding-vert);
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

#content.project .credits .credit {
    position: relative;
    flex: 0 0 45%;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
}

#content.project .credits .credits-container,
#content.project .credits .credits-holder {
    display: flex;
    padding-top: var(--large-padding-side);
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    align-content: flex-start;
    gap: var(--frame-border);
}

#content.project .credits .credit div {
    width: 100%;
    text-align: center;
}

#content.project .credits .credit .title {
    position: relative;
    display: block;
    font-family: var(--font-mono);
}

#content.project .credits .credit .name {
    position: relative;
    display: block;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -.03em;
    line-height: 1em;
    font-size: 2em;
    color: var(--white-color);
    margin-bottom: 12px;
}

#content.project .credits .credits-container {
    position: absolute;
    top: -100%;
}

/**************************************/
/*              THEATER               */
/**************************************/

#theater {
    position: fixed;
    width: 100%;
    height: 100%;
    top: -1000%;
    padding: var(--large-padding-vert) var(--large-padding-side);
    z-index: 9999;
    opacity: 0;
}

#theater.active {
    top: 0;
}

#theater .player-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#theater .player {
    position: relative;
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#theater #player {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: all;
}

#theater .title {
    position: absolute;
    top: 100%;
    left: 0;
    font-family: var(--font-mono);
    color: var(--white-color);
}

#theater .close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: -1;
    opacity: 0.8;
}

/**************************************/
/*              THEATER               */
/**************************************/

#gallery {
    position: fixed;
    width: 100%;
    height: 100%;
    top: -1000%;
    z-index: 9999;
}

#gallery.active {
    top: 0;
}

#gallery .gallery-container {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

#gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#gallery .close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    z-index: -1;
    opacity: 0.8;
}

/**************************************/
/*              CONTACT               */
/**************************************/
#content.contact {
    position: relative;
}

#content.contact .bg {
    position: relative;
    z-index: 50;
}

#content.contact .bg img {
    height: 100vh;
}

#content.contact .content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
}
#content.contact .content .item {
    position: relative;
    top: 45%;
    transform: translateY(-50%);
}

#content.contact .content .main {
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -.05em;
    font-size: 5vw;
    line-height: 5vw;
    text-align: right;
    color: var(--white-color);
    padding: 0 var(--large-padding-vert);
}

#content.contact .content.front .main {
    color: transparent;
    -webkit-text-stroke: 1px var(--white-color);
    -webkit-text-fill-color: transparent;
}

#content.contact .content .details {
    position: relative;
    width: 50vw;
    padding: 0 var(--large-padding-vert);
    color: var(--white-color);
    display: flex;
    float: right;
    justify-content: space-between;
}

#content.contact .content .text {
    position: relative;
    font-family: var(--font-mono);
    color: #fff;
    width: 50vw;
    font-size: 1.4em;
    float: right;
    text-align: right;
    padding-right: var(--large-padding-vert);
}

@media (max-width: 1000px) {
    #content.contact .content .text {
        font-size: 1em;
        width: 60vw;
    }

    #content.contact .content .details {
        width: 60vw;
    }

    #content.contact .content .item {
        top: 55%;
    }
}