html{-webkit-text-size-adjust: 100%; height: 100%; margin-top: 0!important; background: #fff; overflow-x: hidden;}
body{font-family: 'Helvetica Neue', sans-serif; text-transform: uppercase; height: 100%; font-size: var(--padding); margin: 0; line-height: 1.2; transition: opacity .3s ease, color .3s ease; overflow-x: hidden;}
body.fade-out{opacity: 0;}
body.white{color: #fff;}
*{-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
h1, h2, h3, h4, h5, h6{font-family: inherit; margin:0; font-weight: 400; font-size: inherit;}
p{margin: 0;}
a {background-color: transparent; color: inherit; text-decoration: none;}
input{border: 0; padding: 0; font-family: 'Helvetica Neue', sans-serif; font-size: 12px;}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active  {-webkit-box-shadow: 0 0 0 30px white inset !important;}
ul,ol, li{list-style: none;}
.white-color input:-internal-autofill-selected {color: white!important;}
.white-color input:-webkit-autofill{-webkit-text-fill-color: white!important;}
.white-color input:-webkit-autofill, .white-color input:-webkit-autofill:hover, .white-color input:-webkit-autofill:focus, .white-color input:-webkit-autofill:active{color: white;}
.white-color input:-webkit-autofill, .white-color input:-webkit-autofill:hover, .white-color input:-webkit-autofill:focus, .white-color input:-webkit-autofill:active{-webkit-box-shadow: 0 0 0 30px #818181 inset !important;}
:focus{outline: -webkit-focus-ring-color auto 0px;}
[type="checkbox"], [type="radio"]{box-sizing: border-box; padding: 0;}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button{height: auto;}
[type="search"]{-webkit-appearance: textfield; outline-offset: -2px;}
[type="search"]::-webkit-search-decoration{-webkit-appearance: none;}
::-webkit-scrollbar{display: none; -webkit-appearance: none; width: 0!important;}
*:focus{outline: none;}
.body-text{font-size: 20px; line-height: 22px;}
/*

NAV

*/
nav{
    position: fixed;
    top: 0;
    padding: 15px 19px 13px;
    box-sizing: border-box;
    z-index: 100;
}
body.show-menu nav{
    background: #E35424;
    width: 100%;
}
.menu-element{
    display: none;
}
body.show-menu .menu-element{
    display: block;
}
nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    max-width: calc(100vw - 282px);
}
.menu-trigger{
    cursor: pointer;
}
#home-link{
    position: absolute;
    top: 15px;
    right: 19px;
}
#logo{
    position: fixed;
    top: calc(50% + 9px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 500;
    transition: top .6s ease, transform .6s ease;
}
.contact-social-media-title{
    display: block;
}
.social-media-link-homepage{
    position: fixed;
    bottom: 17px;
}
.social-media-link-homepage-instagram{
    left: 19px;
}
.social-media-link-homepage-facebook{
    right: 19px;
}
#contact-container{
    text-align: center;
}
#contact-social-media{
    position: fixed;
    top: calc(50% - 160px);
    left: 50%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    z-index: 10;
}
#contact-address{
    position: fixed;
    bottom: calc(50% - 160px);
    left: 50%;
    transform: translate(-50%, 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    z-index: 10;
}





.homepage-image{
    position: fixed;
    width: 30vw;
    height: 30vw;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease;
}
.homepage-image.show{
    opacity: 1;
}



#projects-list{
    padding-top: 49px;
}
.project{
    border-top: 1px solid #000;
    margin: 0 19px;
    cursor: pointer;
    position: relative;
}
.project-bar{
    position: relative;
    padding: 15px 0 12px;
    display: flex;
}
.project-bar span.project-title-text{
    width: auto;
    display: inline;
    flex: 1;
}
.project-content{
    display: none;
}
.project:last-child{
    border-bottom: 1px solid #000;
}
.cross-svg{
    width: 17px;
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .4s ease;
}
.project.show-content .cross-svg{
    transform: translateY(-50%) rotate(45deg);
}
.project-swiper{
    width: calc(100vw - 38px);
    display: grid;
    overflow: hidden;
    position: absolute;
    top: 49px;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 10;
    height: calc(100% - 70px);
    min-height: 30vw;
}
.project-text{
    padding-bottom: 30px;
}
.project.show-content .project-swiper{
    pointer-events: auto;
    opacity: 1!important;
}
.project:hover .project-swiper{
    opacity: 1;
} 
#projects-list:has(.show-content) .project:hover .project-swiper{
    opacity: 0;
}
.pagination-buttons{
    position: absolute;
    bottom: -6px;
    left: 0;
    opacity: 0;
    transition: opacity .4s ease;
}
.project.show-content .pagination-buttons{
    opacity: 1!important;
}
.next{
    cursor: e-resize;
}
.swiper-button{
    width: 20px;
    height: 20px;
    background: red;
}
.swiper-buttons{
    display: none;
    gap: 2px;
}
.prev-pagination::before{
    content: "<";
    display: inline-block;
    margin-right: 5px;
}
.next-pagination::after{
    content: ">";
    display: inline-block;
    margin-left: 5px;
}
.project-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    min-height: 30vw;
    padding: 0 0 20px;
}
.project-grid.project-grid-clients{
    min-height: 0;
}
.project-image{
    height: 30vw;
    width: 100%;
    object-fit: contain;
    object-position: right;
}
.project-swiper .swiper-pagination{
    position: relative;
    bottom: auto;
    left: auto;
}
.project-swiper .swiper-slide{
    display: flex;
    justify-content: end;
}
.project-bar span{
    width: 10vw;
    display: inline-block;
}
#projects-list.clients-list{
    padding: 64px 19px;
}
#projects-list.clients-list .project{
    border: 0!important;
    display: inline;
    margin: 0 19px 0 0;
    margin: 0;
}
#projects-list.clients-list .project-bar{
    padding: 0;
    display: inline;
}



#about-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100dvh;
}
#about-image{
    position: relative;
    height: 100%;
    display: grid;
}
#about-image .about-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#about-headline{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12vw;
    line-height: .85;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 16px 0 20px;
}
#about-headline span{
    display: block;
}
#about-headline span:nth-child(2){
    text-align: center;
}
#about-headline span:nth-child(3){
    text-align: right;
}
#about-text strong{
    font-weight: normal;
    color: #E35424;
}
#about-text{
    height: 100vh;
    overflow: scroll;
    font-size: 60px;
    line-height: 56px;
    text-align: justify;
    padding: 20px 20px 6px 23px;
    box-sizing: border-box;
    display: flex;
    align-items: start;
}
#about-text.center-aligned{
    align-items: center;
}
.clients-list .project:nth-child(2n + 2){
    font-family: 'Helvetica Neue Bold';
}
#about-text.top-aligned{
    position: sticky;
    top: 0;
    height: fit-content;
}
#about-text-content{
    height: fit-content;
}
#about-text:has(.service.show).center-aligned{
    align-items: start;
}
#about-text-second{
    font-size: 20px;
    line-height: 22px;
    text-align: justify;
}
#about-text-content-second strong{
    font-family: 'Helvetica Neue Bold';
    font-weight: normal;
}
#about-container-second{
    display: grid;
    grid-template-columns: 2fr 3fr;
    padding: 90px;
    gap: 90px; 
    align-items: center;
}
#about-image-second{
    line-height: 0;
}
#about-text-content-second p:not(:last-child){
    margin-bottom: 19px;
}
.about-image{
    width: 100%;
}
.service-image{
    width: 100%;
    height: 28vw;
    object-fit: contain;
}
.service-description{
    text-align: left;
}
.service-title{
    position: relative;
}
.service-title h2{
    display: inline;
    margin-right: 50px;
}
.pl-trigger{
    float: right;
    position: absolute;
    bottom: 6px;
    right: 0;
    transition: transform .3s ease;
}
.service-content{
    display: none;
}
.service-image{
    margin: 0 auto;
    display: block;
}
.service-description{
    margin: 20px 0 25px;
}
.service:not(:last-child){
    margin-bottom: 35px;
}
.service:last-child .service-image{
    padding-bottom: 20px;
}
.service-title{
    cursor: pointer;
    transition: color .3s ease;
}
.service-title:hover{
    color: #E35424;
}
.services-hover-image,
#services-hover-image{
    position: fixed;
    right: 25%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 25vw;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: transform .3s ease, opacity .3s ease;
}
.services-hover-image.show,
#services-hover-image.show{
    opacity: 1;
}
.services-hover-image.top,
#services-hover-image.top{
    transform: translate(50%, calc(0% + 30px));
}
.services-hover-image.bottom,
#services-hover-image.bottom{
    transform: translate(50%, calc(-100% - 30px));
}
.service.show .pl-trigger{
    transform: rotate(45deg);
}





@media screen and (max-width: 1600px) {
#about-text{
    font-size: 3.5vw;
    line-height: .9;
}
}
/* @media screen and (min-width: 1020px) {
#about-image-second{
    grid-column: 2;
}
#about-text-second{
    grid-column: 1;
    grid-row: 1;
}
} */
@media screen and (max-width: 1200px) {
#logo{
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0.01em;
    white-space: break-spaces;
    text-align: center;
    text-indent: 16px;
    z-index: 198;
}
#about-text{
    font-size: 4vw;
}
#about-container-second{
    grid-template-columns: 2fr 2fr;
    padding: 45px;
    gap: 45px; 
}
}
@media screen and (max-width: 1020px) {
body.show-menu nav{
    height: 100%;
}
nav{
    padding-top: 17px;
    z-index: 199;
}
nav ul{
    flex-direction: column;
}
#about-container-second{
    grid-template-columns: 1fr;
}
}
@media screen and (min-width: 720px) {
body:has(.project.show-content) #logo{
    transform: translate(-50%, -100%);
    top: 100dvh;
}
.project-swiper{
    height: calc(100% - 70px)!important;
}
}
@media screen and (min-width: 820px) {
#logo{
    transition: top .6s ease, transform .6s ease;
}
body:has(.project.show-content) #logo{
    transform: translate(-50%, -100%);
    top: 100dvh;
}
}
@media screen and (max-width: 820px) {
#homepage-images{
    pointer-events: none;
}
#about-container{
    grid-template-columns: 1fr;
    position: relative;
    height: auto;
}
#about-text-content{
    font-size: 40px;
    line-height: 36px;
    letter-spacing: 0.01em;
}
#about-text{
    height: auto;
    padding: 22px 20px 16px 20px;
    overflow: initial;
}
#about-text-second{
    font-size: 16px;
    line-height: 18px;
}
#about-headline{
    font-size: 25vw;
    padding: 0 16px;
}
#about-image{
    height: 150vw;
}
#about-container-second{
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px; 
}
.service-title h2{
    word-break: break-word;
    margin-right: 40px;
}
.services-hover-image,
#services-hover-image{
    display: none!important;
}
.service-content-grid{
    display: flex;
    flex-direction: column-reverse;
    padding-top: 15px;
}
.service-image{
    width: 100%;
    height: auto;
}
.service-description{
    margin-bottom: 0;
}
.body-text{
    font-size: 16px;
    line-height: 18px;
}
.social-media-link-homepage-facebook{
    right: auto;
    left: 19px;
}
.social-media-link-homepage-instagram{
    bottom: 45px;
}
.social-media-link-homepage{
    z-index: 200;
}
#home-link{
    top: 17px;
}
#contact-social-media{
    top: calc(50% - 140px);
}
#contact-address{
    bottom: calc(50% - 140px);
}
.homepage-image.show{
    opacity: 0;
}
.homepage-image.show-mobile{
    opacity: 1!important;
}
.homepage-image{
    height: 40vw;
    width: 40vw;
}
}

@media screen and (max-width: 720px) {
.project-bar span{
    width: 40px;
}
.cross-svg{
    width: 14px;
    right: -18px;
}
.project-swiper{
    position: relative;
    top: auto;
    right: auto;
    opacity: 1;
    height: auto;
    padding-bottom: 30px;
}
.project-content{
    display: block;
}
body.block-swiper-mobile .project-content{
    display: none;
}
.project-grid{
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    margin-top: 36px;
}
.project-image{
    width: 100%;
    height: auto;
}
.project-swiper .swiper-slide{
    height: fit-content!important;
}
.project-text{
    padding-bottom: 0;
}
#projects-list{
    padding-top: 46px;
    padding-bottom: 19px;
}
.project-bar{
    margin-right: 20px;
}
#projects-list.clients-list .project-bar{
    margin-right: 0;
}
#projects-list.clients-list .project{
    margin-right: 8px;
}
}