@font-face {
    font-family: "Letter Gothic Std";
    src: url("./fonts/LetterGothicStd-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: "Letter Gothic Std";
    src: url("./fonts/LetterGothicStd-BoldSlanted.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
}


@font-face {
    font-family: "Helvetica Neue Custom";
    src: url("./fonts/HelveticaNeue-01.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "Helvetica Neue Custom";
    src: url("./fonts/HelveticaNeue-Medium-11.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica Neue Bold";
    src: url("./fonts/HelveticaNeue-Bold-02.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}


body {
    min-height: 100vh;
}


.landing-page,
.cinematography-page,
.collaboration-page {
    background-color: #110906;
    color: #fff;
}


.about-page,
.works-page,
.colophon-page,
.cv-page, 
.archive-page {
    background-color: #F5F5F5;
    color: #000;
}


ul {
    list-style: none;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 600ms ease;
}


/* ------------------------------------------------ */
/* PAGE CONTAINER                                   */
/* ------------------------------------------------ */

.page-container {
    width: 100%;
    padding-bottom: 108.24px;
}

.cv-page .page-container,
.colophon-page .page-container{
    margin-bottom: 0px;
    padding: 0;
}


.works-page .page-container {
    padding-bottom: 0;
}


/* ------------------------------------------------ */
/* NAVIGATION                                       */
/* ------------------------------------------------ */

.bottom-navigation {
    position: fixed;
    left: 37px;
    bottom: calc(30.84px + var(--safari-bottom-correction, 0px));
    z-index: 10;

    font-family: "Helvetica Neue Bold", sans-serif;
    font-weight: 500;
    color: #fff;
    line-height: normal;
    font-size: 25px;

    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
    letter-spacing: 0.02em;
}


.bottom-navigation a {
    display: inline-block;
    filter: blur(0.6px);
    transform: translateZ(0);
}


.nav-links {
    display: flex;
    flex-direction: column;
}


.nav-links a {
    white-space: nowrap;
}


.mobile-capitalize {
    text-transform: capitalize;
}


.desktop-comma {
    display: none;
}


.bottom-navigation a:hover,
.bottom-navigation a[aria-current="page"] {
    color: #EC3030;
}

.bottom-navigation a.nav-hint {
    color: #EC3030;
}


@media (max-width: 900px) {
    .bottom-navigation a {
        -webkit-tap-highlight-color: transparent;
    }
    
    
    .bottom-navigation a {
        display: inline-block;
        filter: blur(0.6px);
        transform: translateZ(0);
    }

    
    .reset-on-return {
        color: #fff;
        transition: color 0.6s ease;
    }


    .reset-on-return.button-clicked {
        color: #EC3030;
    }
    
   
    
    .bottom-navigation a {
        transition: color 600ms ease;
    }

    
    .bottom-navigation.nav-hide a:not([aria-current="page"]) {
        display: none;
    }

    
    .bottom-navigation.nav-hide a[aria-current="page"] {
        transform: translateZ(0) translateY(var(--shift-y, 0px));
    }
    

}


/* ------------------------------------------------ */
/* ABOUT                                            */
/* ------------------------------------------------ */

.about-content {
    font-family: "Letter Gothic Std";
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;

    width: calc(100% - 40px);
    max-width: 672px;

    margin: 20px;
}


.about-links {
    line-height: 25px;
    margin-top: 26px;
}


/* ------------------------------------------------ */
/* COLOPHON + Curriculum Vitae                      */
/* ------------------------------------------------ */

.colophon-page,
.cv-page {
    font-family: "Letter Gothic Std";
    padding: 20px 20px 0 20px;
    font-size: 14px;
    line-height: 17px;
}


.colophon-content p + p,
.cv-content p + p {
    margin-top: 26px;
}

.cv-content,
.colophon-content {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 108.24px;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------ */
/* BACK-MENÜ (CV / COLOPHON)                        */
/* ------------------------------------------------ */

.bottom-navigation p {
    display: inline-block;
	visibility: hidden;
    white-space: nowrap;
}

.back-wrap {
    position: relative;
}

.back-wrap a {
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 1064px) {
    .bottom-navigation p {
        display: none;
    }

    .back-wrap a {
        position: static;
    }

    .bottom-navigation:has(p) {
        bottom: calc(20px + var(--safari-bottom-correction, 0px));
    }
}

/* ------------------------------------------------ */
/* ESSAY                                            */
/* ------------------------------------------------ */

.essay {
    margin: 57px auto 0;
    padding-top: 80px;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.03em;
}


.essay-title {
    font-size: 19px;
    font-weight: 400;

    margin: 0 0 116px;
}


.essay-quote {
    margin-bottom: 87px;
}


.essay-quote,
.essay-content,
.essay-title {
    margin-left: 20px;
    margin-right: 20px;
}


.essay-content p + p {
    margin-top: 29px;
}


.essay-author {
    margin: 29px 20px 0 20px;
}


/* ------------------------------------------------ */
/* WORKS                                            */
/* ------------------------------------------------ */

.works-content {
    font-family: "Letter Gothic Std";
    font-size: 14px;
    line-height: 17px;

    width: 100%;

    margin: 20px 0 0;
}


.work-entry {
    margin-bottom: 108.24px;
}


.work-image {
    width: calc(100% - 40px);
}


.works-title,
.works-description {
    width: 88.3vw;
}


.works-title,
.works-description,
.work-image {
    display: block;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 16px;
}


.work-media {
    margin-left: 20px;
    margin-right: 20px;

    aspect-ratio: var(--mobile-aspect); 

    background-color: #110906;

    margin-bottom: 16px;

    display: flex;
    justify-content: center;
    align-items: center;
}


.work-media:has(+ .image-grid) {
    margin-bottom: 0;
}


.work-media-image {
    width: calc(67% + 6px);
}


.image-grid {
    margin: 17.68px auto 31.19px 20px;

    display: flex;

    gap: 3.33px;
}


.grid-image {
    cursor: pointer;
    transition: opacity 600ms ease;
    width: 13.9%;
}


.grid-image:hover {
    opacity: 0.7;
}


.image-title {
    margin-top: 4.24px;
    margin-right: 20px;
    margin-bottom: 16px;
    margin-left: 20px;
}


/* ------------------------------------------------ */
/* NEW WORK IMAGE BLOCK                             */
/* ------------------------------------------------ */

.work-image-block {
    width: calc(100% - 40px);

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 16px;

    display: grid;

    grid-template-columns: repeat(8, minmax(0, 1fr));

    gap: 3.33px;
}


.work-image-item {
    grid-column: span var(--image-span);

    min-width: 0;
}


.work-image-item img {
    display: block;

    width: 100%;
    height: auto;
}

@media (max-width: 1064px) {
    .work-image-block.is-full {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .work-image-block.is-full .work-image-item {
        flex: var(--image-span) 1 calc(var(--image-span) * (100% + 3.33px) / 8 - 3.33px);
    }
}


/* ------------------------------------------------ */
/* CINEMATOGRAPHY + COLLABORATION                   */
/* ------------------------------------------------ */

.cinematography-content,
.collaboration-content {
    padding: 20px 20px 0 20px;

    display: grid;

    width: 100%;

    font-family: "Letter Gothic Std";
    font-size: 14px;
    line-height: 17px;
}


.cinematography-content {
    gap: 3.33px;

    grid-template-columns: minmax(0, 1fr);
}


.collaboration-content {
    gap: 3.33px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.cinematography-content img {
    width: 100%;

    aspect-ratio: 673 / 500;

    object-fit: cover;
}


.collaboration-content img {
    width: 100%;

    aspect-ratio: 167.32 / 124.31;

    object-fit: cover;
}

.cinematography-content .independent-ratio-img,
.collaboration-content .independent-ratio-img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    align-self: center;
}

.film-title {
    width: 100%;
    
    min-width: 0;
    overflow-wrap: anywhere;

    aspect-ratio: 673 / 500;

    display: flex;
    align-items: center;
    justify-content: center;
}

.collaboration-content .film-title {
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 0;
}

.film-title-independent {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    aspect-ratio: var(--ratio);

    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1064px) {
    .collaboration-content .film-title,
    .collaboration-content .film-title-independent {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
        min-height: 160px;
        padding: 0;
    }
}


/* ------------------------------------------------ */
/* ARCHIVE / INDEX                                  */
/* ------------------------------------------------ */


.archive-content {
    padding: 20px;

    font-family: "Letter Gothic Std";
    font-size: 14px;
    line-height: 17px;
}


.category-title {
    font-size: 14px;
    line-height: 17px;

    margin-bottom: 17px;
}


.category-title2 {
    font-size: 14px;
    line-height: 17px;

    margin-top: 34px;
    margin-bottom: 17px;
}


.archive-content p {
    width: 88.9vw;
}

.archive-content h1 {
    width: 88.9vw;
}

.archive-content .archive-film {
    white-space: pre-wrap;
}

.archive-content .archive-film em {
    font-style: italic;
}

.archive-content .archive-film a {
    white-space: nowrap;
}

.work-grid {
    display: grid;

    gap: 3.33px;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    width: 100%;

    margin: 12px 0 15px 0;
}


.work-grid img {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;

    object-fit: cover;
}

.website-credit {
    margin-top: 34px;
}

@media (max-width: 1064px) {
    .work-grid img:nth-child(n+7) {
        display: none;
    }
}


/* ================================================= */
/* DESKTOP                                           */
/* ================================================= */

@media (min-width: 1065px) {

    .mobile-capitalize {
        text-transform: none;
    }


    .desktop-comma {
        display: inline;
    }


    /* ------------------------------------------------ */
    /* GENERAL DESKTOP NAV                              */
    /* ------------------------------------------------ */

    .bottom-navigation {
        font-size: clamp(23px, 3.5vw, 31px);

        left: 88px;
        bottom: calc(47.5px + var(--safari-bottom-correction, 0px));
    }


    .nav-links {
        flex-direction: row;

        gap: 0.3em;
    }


    .nav-links li:last-child {
        margin-left: 1em;
    }


    .nav-links li:first-child {
        margin-right: 1em;
    }


    /* ------------------------------------------------ */
    /* 75% PAGE CONTAINERS                              */
    /* ------------------------------------------------ */

    .landing-page .page-container,
    .cinematography-page .page-container,
    .works-page .page-container,
    .collaboration-page .page-container,
    .about-page .page-container,
    .archive-page .page-container,
    .colophon-page .page-container,
    .cv-page .page-container{
        width: 75%;

        container-type: inline-size;
    }


    .landing-page .bottom-navigation,
    .cinematography-page .bottom-navigation,
    .works-page .bottom-navigation,
    .collaboration-page .bottom-navigation,
    .about-page .bottom-navigation,
    .archive-page .bottom-navigation, 
    .colophon-page .bottom-navigation,
    .cv-page .bottom-navigation {
        left: 20px;

        width: calc(75% - 20px);

        bottom: 47.5px;

        font-size: clamp(20px, 1.8vw, 31px);
    }
    

    .landing-page .nav-links,
    .cinematography-page .nav-links,
    .works-page .nav-links,
    .collaboration-page .nav-links,
    .about-page .nav-links,
    .archive-page .nav-links,
    .colophon-page .nav-links,
    .cv-page .nav-links {
        justify-content: center;
    }


    /* ------------------------------------------------ */
    /* ABOUT                                            */
    /* ------------------------------------------------ */

    .about-content {
        width: calc(100% - 20px);

        margin-left: 20px;
        margin-right: 0;

        font-size: 15px;
        line-height: 18px; 
        letter-spacing: -0.03em;
    }


    .essay {
        width: calc(78.24% + 20px);

        margin-top: 20px;
        margin-left: auto;
        margin-right: 0;

        font-family: Helvetica;
        font-size: 23px;
        font-weight: 400;

        letter-spacing: 0.03em;
    }


    .essay-title {
        font-size: 23px;
        font-weight: 400;
    }


    .essay-quote,
    .essay-content,
    .essay-title {
        margin-left: 0;
        margin-right: 0;
    }


    /* ------------------------------------------------ */
    /* WORKS                                            */
    /* ------------------------------------------------ */

    .works-content {
        width: 100%;

        font-family: "Letter Gothic Std";
        font-size: 15px;
        line-height: 18px;
        letter-spacing: -0.03em;

        margin-top: 20px;

        padding: 0;
    }


    .work-entry {
        margin-bottom: 200px;
    }


    .works-title {
        margin-bottom: 29px;
    }


    .works-title,
    .works-description {
        width: 38.77vw;

        line-height: 18px;

        margin-left: 20px;
        margin-right: 0;
    }


    .works-description {
        margin-bottom: 16px;
    }


    .work-image {
        display: block;

        width: calc(100% - 20px);

        margin-left: 20px;
        margin-right: 0;
    }


    .work-media {
        width: calc(100% - 20px);

        margin-top: 20px;
        margin-right: 0;
        margin-bottom: 20px;
        margin-left: 20px;

        aspect-ratio: 1348.87 / 759.3;

        background-color: #110906;

        display: flex;
        justify-content: center;
        align-items: center;
    }


    .work-media-image {
        width: 62%;
    }
    
    
    .work-media:has(+ .image-grid) {
        margin-bottom: 0;
    }


    .image-grid {
        width: calc(100% - 20px);

        margin-top: 20px;
        margin-right: 0;
        margin-bottom: 20px;
        margin-left: 20px;

        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 3.33px;
    }


    .grid-image {
        width: 100%;
        min-width: 0;
    }


    .image-title {
        width: 38.77vw;
        line-height: 18px;
        margin-top: 15px;
        margin-right: 0;
        margin-bottom: 20px;
        margin-left: 20px;
    }


    /* ------------------------------------------------ */
    /* NEW WORK IMAGE BLOCK                             */
    /* ------------------------------------------------ */

    .work-image-block {
        width: calc(100% - 20px);

        margin-left: 20px;
        margin-right: 0;
        margin-bottom: 20px;

        gap: 3.33px;
    }


    /* ------------------------------------------------ */
    /* CINEMATOGRAPHY + COLLABORATION                   */
    /* ------------------------------------------------ */

    .cinematography-content,
    .collaboration-content {
        padding-top: 20px;
        padding-right: 0;
        padding-left: 20px;

        text-align: start;

        font-family: "Letter Gothic Std";
        font-size: 15px;
        line-height: 18px;
        letter-spacing: -0.03em;
    }


    .cinematography-content {
        gap: 3.33px;

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collaboration-content {
        gap: 3.33px;

        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .film-title {
        width: 100%;

        aspect-ratio: auto;

        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .film-title-independent {
        aspect-ratio: auto;
    }

    /* ------------------------------------------------ */
    /* ARCHIVE / INDEX                                  */
    /* ------------------------------------------------ */

    .archive-content {
        width: auto;

        padding-top: 20px;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 20px;
    }


    .category-title,
    .archive-content {
        font-size: 15px;
        line-height: 18px;
        letter-spacing: -0.03em;
    }


    .archive-content p {
        width: 38.77vw;
    }
    
    
    .archive-content h1 {
        width: 38.77vw;
    }
    
    
    .about-links {
        line-height: 17px;
    }

    
    .work-grid {
        width: 100%;

        min-width: 0;

        grid-template-columns: repeat(8, minmax(0, 1fr));

        margin: 10px 0 13px 0;
    }


    .work-grid img {
        width: 100%;
        min-width: 0;

        margin: 0;
    }


    .category-title {
        line-height: 21px;

        margin-bottom: 21px;
    }


    .category-title2 {
        margin: 42px 0 21px;

        font-size: 15px;
        line-height: 18px;
        letter-spacing: -0.03em;

        letter-spacing: -0.03em;
    }

    
    .website-credit {
        margin-top: 42px;
    }

    /* ------------------------------------------------ */
    /* PAGE BOTTOM SPACING                              */
    /* ------------------------------------------------ */

    .page-container {
        padding-bottom: 150px;
    }


    .works-page .page-container {
        padding-bottom: 0;
    }
    
    .cv-content,
    .colophon-content {
        width: 38.77vw;

        font-size: 15px;
        line-height: 18px;
        letter-spacing: -0.03em;

        margin-bottom: 150px;
    }

    .about-content,
    .about-links,
    .works-content,
    .works-title,
    .works-description,
    .image-title,
    .cinematography-content,
    .collaboration-content,
    .archive-content,
    .category-title,
    .category-title2,
    .cv-content,
    .colophon-content {
        font-size: 16px;
        line-height: 20px;
    }
}