/* work-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 400;
    src: url("fonts/work-sans-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Work Sans";
    font-style: normal;
    font-weight: 700;
    src: url("fonts/work-sans-v18-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    font-family: "Work Sans";
}

a {
    color: inherit;
}

.container-fluid {
    overflow: hidden;
}

div#loader {
    position: fixed !important;
    display: flex;
    top: 0;
    left: 0;
    z-index: 9999999;
    background-color: #fff;
    height: 100vh;
    width: 100vw;
    opacity: 1;
    position: relative;
}

/* div#loader svg {
    width: 60%;
    position: absolute;
    left: 50%;
    transform: translate(0%, -50%);
} */

header#masthead {
    position: sticky;
    z-index: 9999;
    top: 0;
}

.site-branding {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.header-nav {
    margin-top: 30px;
}

.header-text {
    text-align: right;
}

.header-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    margin-top: 60px;
}

.swiper-wrapper {
    margin-bottom: 15px;
}

.swiper-slide:first-child {
    color: #ff6701;
}

.swiper-scrollbar.swiper-scrollbar-horizontal {
    margin-top: 30px;
    height: 1px;
    overflow: visible;
}

.swiper-scrollbar-drag {
    height: 5px;
    border-radius: 0;
    background: #000;
    margin-top: -2px;
}

.news-swiper {
    cursor: grab;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4rem;
}

.news-content {
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-style: italic;
}

.news-content p {
    margin: 0;
}

.news-inner {
    padding: 0.75rem;
}

.header-img .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-position: center right;
    object-fit: cover;
}

ul#primary-menu {
    flex-direction: column;
    text-align: right;
    font-size: 5rem;
    line-height: 6rem;
}

.left {
    position: relative;
}

.header-menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
}

a:hover {
    color: #000;
}

.section-head {
    font-weight: 700;
    margin: 40px 0px;
}

.margin-bottom {
    margin-bottom: 50px;
}

/* PROJECTS */
/* .projects .row {
    position: relative;
}  */

.project-slider-head {
    position: relative;
}

.slider-controls {
    position: absolute;
    z-index: 99;
    top: 0;
}

.slider-controls button {
    font-size: 6rem;
    color: #fff;
    background-color: #000;
    padding: 0 2rem;
    line-height: 6rem;
    border: 0;
}

button#prevBtn {
    transform: rotate(180deg);
}

button#nextBtn {
    float: right;
}

.projects {
    background-color: #fff;
    z-index: 99;
    position: relative;
}

.project-slider-inner {
    display: flex;
    flex-wrap: nowrap;
    box-sizing: border-box;
    overscroll-behavior: none;
    width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overflow: hidden;
    box-sizing: border-box;
}

.panel {
    text-decoration: none;
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    cursor: pointer;
}

.panel-inner {
    display: grid;
    grid-template-rows: 1fr 1fr;
    width: 100%;
}

.panel-inner .img-container {
    position: relative;
    display: flex;
    overflow: hidden;
}

.panel-inner .img-container img {
    width: 100%;
    object-fit: cover;
    transition: 0.3s all;
}

.plus {
    font-size: 9rem;
    padding: 0;
    margin: 0;
    position: absolute;
    color: #ff6600;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    transition: 0.3s all;
}

.project-text-content.second {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
}

.project-text-content.second p {
    opacity: 0;
}

.project-text-content {
    padding: 20px 30px;
    position: relative;
    transition: 0.4s all;
}

.project-text-content p {
    opacity: 0;
}

.panel:hover .project-text-content {
    background-color: #ff6600;
}

.panel:hover .project-text-content p {
    opacity: 1;
}

.panel:hover .plus {
    opacity: 0;
}

.panel:hover .img-container img {
    transform: scale(110%);
}

.project-text-content.first h2:before,
.project-text-content.third h2:before {
    content: "";
    width: 2px;
    height: 100px;
    background-color: #000;
    display: block;
    position: absolute;
    top: -50px;
    left: 20px;
}

.project-text-content.second h2:before {
    content: "";
    width: 2px;
    height: 100px;
    background-color: #000;
    display: block;
    position: absolute;
    bottom: -50px;
    left: 20px;
    z-index: 9;
}

.project-detail {
    visibility: hidden;
    opacity: 0;
    transition: 0s linear;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 999;
}

.project-detail.bg-white {
    background-color: #fff;
    color: #000;
}

.project-detail.bg-black {
    background-color: #000;
    color: #fff;
}

.project-detail.bg-white .leftright,
.project-detail.bg-white .rightleft {
    background-color: #000;
}

.project-detail.bg-black .leftright,
.project-detail.bg-black .rightleft {
    background-color: #fff;
}

.project-detail.bg-white button.slick-nav-prev,
.project-detail.bg-white button.slick-nav-next {
    background-color: #ff6600;
}

.show-slider {
    visibility: visible;
    opacity: 1;
}

.project-detail-inner {
    position: relative;
    margin-top: 130px;
    height: 100vh;
}

.white {
    filter: brightness(0) invert(1);
}

button.slick-nav-prev {
    transform: rotate(180deg);
}

button.slick-nav-next {
    float: right;
}

button.slick-nav-prev,
button.slick-nav-next {
    font-size: 3rem;
    border: 0;
    background-color: #fff;
    padding: 1.6rem 1rem;
    line-height: 0;
}

.close-container {
    position: absolute;
    width: 100px;
    height: 100px;
    cursor: pointer;
    top: 0;
    left: 0;
    z-index: 9999;
}

.leftright {
    height: 8px;
    width: 100px;
    position: absolute;
    margin-top: 24px;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all 0.3s ease-in;
}

.rightleft {
    height: 8px;
    width: 100px;
    position: absolute;
    margin-top: 24px;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all 0.3s ease-in;
}

.close-label {
    font-size: 1.6em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease-in;
    opacity: 0;
}
.close-label {
    margin: 60px 0 0 5px;
    position: absolute;
}

.close-container:hover .leftright {
    transform: rotate(-45deg);
}
.close-container:hover .rightleft {
    transform: rotate(45deg);
}
.close-container:hover label {
    opacity: 1;
}

/* .container-fluid.horizontal {
    overflow: hidden;
} */

/* SLIDER */
.slide img {
    width: 100%;
}

/* STUDIO */
img.image-large {
    width: 100%;
}

.team {
    cursor: grab;
    padding: 0;
}

.team .swiper-slide {
    aspect-ratio: 4 / 4;
}

.team .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROJECT DETAILS */
.project-detail-title {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
}

.project-detail-title h2 {
    font-size: 5rem;
}

.project-detail-text-content {
    text-align: right;
    height: 100%;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-bottom: 50px;
}

/* FOOTER */
.contact {
    background-color: #ff6600;
    padding-top: 20px;
    padding-bottom: 100px;
    color: #000;
}

.contact a {
    color: #000;
    text-decoration: none;
}

.contact .col-12 {
    font-size: 2rem;
    font-weight: 700;
}

.contact-left {
    text-align: right;
}

.site-footer {
    background-color: #000;
    color: #fff;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 0.9rem;
}

ul#footer-nav {
    display: flex;
    gap: 22px;
}

ul#footer-nav li a {
    color: #fff;
}

ul#footer-nav li a:hover {
    color: #fff;
    text-decoration: underline;
}

.path {
    stroke-dasharray: 1300;
    stroke-dashoffset: 1300;
    animation: dash 5s linear forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@media screen and (max-width: 767px) {
    header#masthead {
        position: relative;
    }
    img.custom-logo {
        max-width: 74%;
    }
    .header-menu {
        position: relative;
        top: 0;
        transform: translate(0%, 0%);
    }
    ul#primary-menu {
        font-size: 2.4rem;
        line-height: 3rem;
        margin-bottom: 50px;
    }
    ul#primary-menu {
        text-align: left;
    }
    .header-text {
        text-align: left;
        margin-top: 22px;
    }
    .project-text-content p,
    .project-text-content.second p {
        opacity: 1;
    }
    .slider-controls button {
        font-size: 5rem;
        padding: 0 1rem;
        line-height: 4rem;
    }
    #studio p {
        margin-top: 30px;
    }
    .col-md-6.contact-right {
        text-align: right;
    }
    #footer-nav ul li {
        margin: 10px 20px;
    }
    .site-info div {
        margin: 10px 0;
    }
    .project-detail {
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        z-index: 99999;
    }
    .project-detail-inner {
        position: relative;
        margin-top: 0px;
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100%;
    }
    .project-detail-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 62px;
    }
    .close-container {
        position: relative;
    }
    .project-detail-text-content {
        text-align: left;
        margin: 40px 0 10px;
        max-height: 100%;
        background-color: #000;
    }
    .project-detail-title h2 {
        font-size: 3rem;
    }
}
