/**
 * Theme name: HOUSE Inc.
 */

* {
    margin: 0;
    padding: 0;

    resize: none;
    outline: none;

    box-sizing: border-box;
    background: transparent;

    border: 0;
    border-radius: 0;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    font-display: swap !important;
}

a {
    text-decoration: none;
}

ul,
ol,
li {
    list-style: none;
}

html,
body {
    font-size: 7px;
    line-height: 7px;
    background-color: white;
}

button {
    cursor: pointer;
}

/*@media (max-width: 1680px) {
    html,
    body {
        font-size: 8px;
        line-height: 8px;
    }
}*/

@media (max-width: 1380px) {
    html,
    body {
        font-size: 6px;
        line-height: 6px;
    }
}


/** wrapper **/

.wrapper {
    width: calc(100% - 30px);
    margin: 0 auto;
    max-width: 153.0rem;
}


/** flexbox **/

.flex { display: flex }
.flex.wrap { flex-wrap: wrap }
.flex.inline { display: inline-flex }
.flex.column { flex-direction: column }

.flex > * {
    flex-grow: 0;
    flex-shrink: 0;
}

.flex > .grow { flex-grow: 1 }
.flex > .shrink { flex-shrink: 1 }

.flex.al-end { align-items: flex-end }
.flex.al-start { align-items: flex-start }
.flex.al-center { align-items: center }

.flex.jf-end { justify-content: flex-end }
.flex.jf-start { justify-content: flex-start }
.flex.jf-center { justify-content: center }
.flex.jf-around { justify-content: space-around }
.flex.jf-between { justify-content: space-between }


/** accessibility **/

.for-display {
    speak: none;
}

.for-sreader {
    width: 0;
    height: 0;

    display: block;
    overflow: hidden;

    font-size: 14px;
    line-height: 16px;

    text-indent: -5000vw;
}


/** site-header **/

.site-header {
    z-index: 100;

    top: 0;
    left: 0;
    right: 0;
    padding: 6.4rem 0 4.4rem;

    position: fixed;
    overflow: visible;

    transition: padding 0.3s ease-out,
                background 0.3s ease-out,
                box-shadow 0.3s ease-out;

    background: rgba(41,41,41,0);
}

.site-header .brand {
    width: 19.4rem;
}

.site-header .brand a,
.site-header .brand svg {
    width: 100%;
    height: auto;
    display: block;
}

.site-header .navigation {
    margin: 0 auto 0;
}

.site-header .navigation .menu {
    display: flex;
}

.site-header .navigation .menu,
.site-header .navigation .menu a {
    color: white;
    position: relative;

    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.9rem;
    font-family: neulis-neue;

    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.site-header .navigation .menu svg {
    display: none;
}

.site-header .navigation .menu li { margin: 0 7rem }

.site-header .menu-toggle {
    display: none;
}

.site-header.fixed,
.site-header.filled {
    background: rgba(41,41,41,1);
    box-shadow: 0 0.4rem 0.4rem rgba(0,0,0,0.1);
}

.site-header.shrinked {
    padding: 2.2rem 0;
}

@media (max-width: 992px) {
    .site-header .menu-toggle {
        width: 40px;
        display: block;
        z-index: 2;
    }

    .site-header .menu-toggle div {
        height: 3px;
        margin: 4px 0;
        background: white;
        transition: 0.3s ease-out;
    }

    .site-header .navigation {
        z-index: 1;

        top: 0;
        right: 0;
        bottom: 0;

        width: 320px;
        height: 100vh;
        position: fixed;

        transform: translateX(100%);
        transition: 0.3s ease-out;

        background: rgba(41,41,41, 1);
    }

    .site-header .navigation .menu {
        padding: 15rem 0 0;
        align-items: center;
        flex-direction: column;
    }

    .site-header .navigation .menu li {
        width: 100%;
        margin: 0;
        padding: 2rem;
        text-align: center;
    }

    .site-header .navigation .menu li a {
        display: block;
        padding: 4rem 2rem;
        font-size: 2rem;
        line-height: 2.2rem;
    }

    .menu-visible .site-header .menu-toggle div:nth-child(1) {
        transform: translateY(7px) rotate(-45deg);
    }

    .menu-visible .site-header .menu-toggle div:nth-child(2) { opacity: 0; }

    .menu-visible .site-header .menu-toggle div:nth-child(3) {
        transform: translateY(-7px) rotate(45deg);
    }

    .menu-visible .site-header .navigation {
        transform: translateX(0%);
    }
}


/** site-footer **/

.site-footer {
    padding: 10.6rem 0 9.6rem;
    background: #292929;
}

.site-footer .brand {
    width: 36.8rem;
    height: 36.8rem;
    padding: 6.5rem 3.8rem;
    border: 2px solid #ffffff;
}

.site-footer .brand svg {
    width: 19.4rem;
    height: auto;
}

.site-footer .text {
    color: #FFFFFF;

    margin: 5.2rem 7.6rem;

    font-size: 2.6rem;
    font-weight: 900;
    line-height: 2.8rem;
    font-family: neulis-neue;

    text-transform: uppercase;
}

.site-footer .contacts {
    max-width: 46.0rem;
    margin-left: auto;
}

.site-footer .contacts li {
    margin: 7.0rem 0 0;
    position: relative;

    font-size: 2.0rem;
    font-weight: 500;
    line-height: 3.0rem;
    font-family: neulis-neue;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-footer .contacts li,
.site-footer .contacts li a {
    color: #C6C6C6;
}

.site-footer .contacts li svg {
    top: 50%;
    left: calc(-4.8rem - 1.8rem);

    width: 4.8rem;
    height: 4.8rem;

    position: absolute;
    transform: translateY(-50%);

    object-fit: contain;
    object-position: center;
}

.site-footer .contacts li strong {
    display: block;
    font-weight: 800;
}

@media (max-width: 992px) {
    .site-footer .wrapper {
        flex-direction: column;
    }

    .site-footer .brand {
        margin: 0 auto;
    }

    .site-footer .text {
        margin: 8rem auto 0;
    }

    .site-footer .contacts {
        margin: 0 auto;
    }

    .site-footer .contacts li {
        margin-left: 6.5rem;
    }
}


/** elements: map **/

.map .embeded {
    height: 53.0rem;
}

.map .custom-pin {
    width: 5.6rem;
    height: 8.6rem;

    background-image: url('./images/pin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.map .custom-info p,
.map .custom-info strong {
    color: #444444;

    margin: 0 0 2rem;
    display: block;

    font-size: 2.8rem;
    font-weight: 800;
    line-height: 3.0rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.map .custom-info p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.2rem;
    letter-spacing: 0.200em;
}


/** elements: editor **/

.editor {
    color: #1D1D1B;

    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3.5rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
}

.editor p {
    margin: 0 0 3.2rem;
}


/** elements: pilars **/

.pilars {
    padding: 6.0rem 0 8.0rem;
    background: #222323;
}

.pilars ul li {
    width: 0rem;
    height: 50.0rem;
    position: relative;
    transition: width 0.3s ease-out;
}

.pilars ul li:after {
    inset: 0;
    z-index: 2;

    content: '';
    display: block;
    position: absolute;

    background: rgba(0,0,0,0.2);
}

.pilars ul li h4 {
    z-index: 3;
    color: #ffffff;

    top: 50%;
    left: 50%;
    width: 19.0rem;
    height: 19.0rem;
    padding: 3.4rem 0.8rem;

    font-size: 2.2rem;
    font-weight: 700;
    line-height: 2.4rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
    text-transform: uppercase;

    position: absolute;
    transform: translate(-50%,-50%);

    border: 2px solid #ffffff;
}

.pilars ul li img {
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    display: block;
    position: absolute;

    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .pilars ul {
        flex-direction: column;
    }

    .pilars ul li {
        width: 100%;
    }
}


/** elements: banner **/

.banner {
    width: 100%;
    height: 56vw;
    min-height: 60rem;

    overflow: hidden;
    position: relative;
}

.banner:after,
.banner:before {
    z-index: 1;
    content: '';

    left: 0;
    right: 0;
    height: 50%;
    bottom: 0;

    opacity: 0.54;
    display: block;
    position: absolute;

    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.banner:before {
    top: 0;
    bottom: auto;
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.banner img,
.banner video {
    display: block;

    width: 33.3333%;
    height: 42%;

    object-fit: cover;
    object-position: center;
}

.banner video {
    width: 100%;
    height: 100%;
}

.banner img:nth-child(2),
.banner img:nth-child(3) {
    width: 50%;
    height: 58%;
}

.banner .text {
    margin: 12.0rem 0 0;
    margin-top: 10vw;
    /*border: 4px solid white;
    padding: 13.0rem 6.6rem;*/
}

.banner .text h2 {
    color: white;
    margin: 0 0 4.8rem;

    font-size: 4.2rem;
    font-weight: 900;
    line-height: 4.4rem;
    font-family: neulis-neue;

    text-transform: uppercase;
}

.banner .text svg {
    width: 52.6rem;
    height: auto;
    margin: 0 0 4.8rem;
    display: block;
}

.banner .wrapper {
    z-index: 2;

    top: 0;
    left: 50%;
    height: 70vh;
    min-height: 60rem;

    position: absolute;
    transform: translateX(-50%);
}

.banner.c-1 img {
    width: 100%;
    height: 100%;
}

.banner.c-2 img {
    width: 50%;
    height: 100%;
}

.banner.c-3 img {
    width: 50%;
    height: 42%;
}

.banner.c-3 img:nth-child(1) {
    width: 100%;
    height: 58%;
}

@media (max-width: 992px) {
    .banner {
        min-height: 100rem;
    }
}


/** elements: button **/

.button {
    color: #ffffff;

    border: 1px solid #ffffff;
    display: inline-block;
    position: relative;
    padding: 1.4rem 3.6rem;

    font-size: 2.0rem;
    font-weight: 400;
    line-height: 2.0rem;
    font-family: neulis-neue;

    text-align: center;
    text-transform: lowercase;

    transition: color 0.3s ease-out;
}

.button span {
    z-index: 2;
    position: relative;
}

.button.black {
    color: #292929;
    border-color: #292929;
}


/** elements: subtitle **/

.subtitle {
    color: #292929;

    margin: 0 auto 7.2rem;
    display: inline-block;
    position: relative;

    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.9rem;
    font-family: neulis-neue;

    text-align: center;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.subtitle:after {
    left: 50%;
    width: 90%;
    bottom: -2.6rem;
    height: 4px;

    content: '';
    display: block;
    position: absolute;
    transform: translateX(-50%);

    min-width: 78.0rem;
    background: #292929;
}

.subtitle.white { color: #ffffff }
.subtitle.white:after { background: #ffffff }

@media (max-width: 992px) {
    .subtitle:after {
        min-width: 0;
    }

    .subtitle {
        font-size: 4.0rem;
        line-height: 4.2rem;
    }
}


/** pages: home **/

.page-home .projects {
    padding: 6.0rem 0 8.0rem;
}

.page-home .projects .list > div {
    width: calc(25% - (2.4rem * 3) / 4);
    margin: 0 0 2.4rem;
}

.page-home .projects .list > div.align-fix {
    height: 1px;
}

.page-home .projects .project {
    height: auto;
    aspect-ratio: 7/10;

    position: relative;
    transition: transform 0.3s ease-out;
}

.page-home .projects .project:after {
    inset: 0;
    z-index: 2;

    content: '';
    display: block;
    position: absolute;

    background: rgba(0,0,0, 0.4);
}

.page-home .projects .project .bg {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.page-home .projects .project .details {
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 3.0rem 3.2rem;
    position: absolute;
}

.page-home .projects .project .details h3,
.page-home .projects .project .details h4,
.page-home .projects .project .details h5 {
    color: #ffffff;

    font-size: 2.8rem;
    font-weight: 800;
    line-height: 3.0rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.page-home .projects .project .details h3 {
    margin: 18.0rem 0 auto;
}

.page-home .projects .project .details h4 {
    font-size: 1.5rem;
    line-height: 2.2rem;
    letter-spacing: 0.200em;
}

.page-home .projects .project .details h5 {
    margin: 2.2rem 0 4.4rem;

    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1.6rem;

    letter-spacing: 0.100em;
}

.page-home .projects .project .details .status {
    top: 0;
    left: 0;
    padding: 0.8rem 1.6rem;

    color: #ffffff;
    background: #292929;

    font-size: 1.6rem;
    font-weight: 500;
    line-height: 3.0rem;
    font-family: neulis-neue;

    letter-spacing: 0.200em;
    text-transform: uppercase;

    position: absolute;
}

.page-home .projects .more {
    margin-top: 4.0rem;
    font-weight: 400;
    font-size: 2.0rem;
    letter-spacing: -0.020em;
}

.page-home .projects .hidden {
    overflow: hidden;
}

.page-home .projects .hidden:not(.show) {
    max-height: 0rem !important;
}

@media (max-width: 992px) {
    .page-home .projects .list > div {
        width: 100%;
    }

    /*.page-home .projects .project {
        height: 90rem;
    }*/
}


/** pages: manifest **/

.page-manifest .content {
    padding: 9.4rem 0 12.4rem;
    margin-top: 15.0rem;
}

.page-manifest .content h2 {
    color: #292929;

    width: 42.7rem;
    height: 42.7rem;
    margin: 0 auto 9.2rem;
    border: 4px solid #292929;

    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.9rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.page-manifest .content svg {
    margin: 10.0rem auto 0;

    width: 19.3rem;
    height: auto;

    display: block;
}

.page-manifest .content .editor {
    max-width: 98.7rem;
    text-align: justify;
}


/** pages: why **/

.page-why .subtitle-wrapper {
    padding: 9.7rem 0 10.4rem;
    margin-top: 9.0rem;
    background: #292929;
}

.page-why .motives {
    margin-bottom: 7.4rem;
}

.page-why .motives section {
    margin: calc(12.0rem + 7.4rem) 0 0;
}

.page-why .motives section .text {
    z-index: 2;

    top: -12.0rem;
    left: -5.0rem;

    width: 50%;
    border: 4px solid #7E7E7D;
    padding: 8rem 8rem 8rem calc(8rem + 5rem);

    position: relative;
}

.page-why .motives section .text p {
    color: #292929;

    font-size: 3.5rem;
    font-weight: 700;
    line-height: 3.5rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
}

.page-why .motives section .text svg {
    width: 19.3rem;
    height: auto;
    margin: auto 0;
}

.page-why .motives section .text:after {
    top: 4.5rem;
    right: 4.5rem;

    width: 12.3rem;
    height: 12.3rem;

    content: '';
    display: block;
    position: absolute;

    background: #292929;
}

.page-why .motives section .image {
    width: 50%;
    right: -5.0rem;
    z-index: 1;
    position: relative;
}

.page-why .motives section .image:after {
    background: #383232;

    inset: 0;
    opacity: 0.43;

    content: '';
    display: block;
    position: absolute;

    mix-blend-mode: color;
}

.page-why .motives section .image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
}


.page-why .motives section:nth-child(even) .text {
    left: 5.0rem;
    padding: 8rem calc(8rem + 5rem) 8rem 4.5rem;
}

.page-why .motives section:nth-child(even) .text p {
    margin: auto 0 0;
}

.page-why .motives section:nth-child(even) .text svg {
    order: 2;
    margin: 8.0rem 0 0;
}

.page-why .motives section:nth-child(even) .text:after {
    right: auto;
    left: 4.5rem;
}

.page-why .motives section:nth-child(even) .image {
    right: 5.0rem;
    order: 2;
}

.page-why .motives section:nth-child(even) .image img {
    object-fit: cover;
}

@media (max-width: 992px) {
    .page-why .motives section {
        margin: calc(6rem) 0 0;
        flex-direction: column;
    }

    .page-why .motives section .text,
    .page-why .motives section .image {
        width: calc(100% - 4rem);
    }

    .page-why .motives section .text {
        top: -6rem;
        left: 4rem;
        padding: calc(8rem + 4rem) 4rem 4rem 4rem;
    }

    .page-why .motives section .text svg {
        margin: 0 0 8.0rem;
    }

    .page-why .motives section .text:after {
        width: 5rem;
        height: 5rem;
    }

    .page-why .motives section .image {
        right: 0;
    }

    .page-why .motives section:nth-child(even) .text {
        left: 0;
        padding: calc(8rem + 4rem) 4rem 4rem 4rem;
    }

    .page-why .motives section:nth-child(even) .text svg {
        margin: 8.0rem 0 0;
    }

    .page-why .motives section:nth-child(even) .image {
        order: -1;
        right: -4rem;
    }
}


/** single: projects **/

.single-projects .banner:after {
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 100%);
}

.single-projects .banner img,
.single-projects .banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-projects .banner .logo {
    width: 100%;
    height: auto;
    max-width: 60rem;
}

.single-projects .banner .slogan {
    color: #FFFFFF;

    max-width: calc(100% - 60rem - 20rem);

    font-size: 6.0rem;
    font-weight: 700;
    line-height: 6.2rem;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.single-projects .banner .contact {
    margin: 0 0 10.0rem auto;
    padding: 1.6rem;

    font-size: 3.2rem;
    line-height: 6.0rem;
    font-family: neulis-neue;

    background: rgba(0,0,0, 0.58);
}

.single-projects .banner .contact a,
.single-projects .banner .contact strong {
    color: #FFFFFF;
    display: block;
    text-align: center;
    font-weight: 500;
}

.single-projects .banner .contact a {
    width: 56.0rem;
    font-size: 2.7rem;
    transition: transform 0.3s ease-out;
    text-transform: uppercase;
}

.single-projects .banner .wrapper {
    max-width: calc(100% - 18.0rem);
    padding-top: 20.0rem;
}

.single-projects .location {
    width: 100%;
}

.single-projects .location img {
    width: 100%;
    height: auto;
    display: block;
}

.single-projects .gallery .bg {
    padding: 15.0rem 0 8.0rem;
    background: #292929;
}

.single-projects .gallery .subtitle {
    width: 60rem;
    display: block;
}

.single-projects .gallery .splide__arrows {
    margin: 4.6rem 0 0;
    align-items: center;
    justify-content: center;
}

.single-projects .gallery .splide__slide img {
    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: center;

    aspect-ratio: 560 / 500;
}

.single-projects .gallery .splide__arrow {
    opacity: 1;

    width: 24.6rem;
    height: auto;

    position: static;
    transform: none;
    background: transparent;

    border-radius: 0;
}

.single-projects .gallery .splide__arrow svg {
    fill: #fff;
    width: 100%;
    height: auto;
}

.single-projects .gallery .splide__arrow--prev {
    transform: scaleX(-1);
    margin-right: 13.0rem;
}

.single-projects .gallery .splide__arrow--next {
    margin-left: 13.0rem;
}

.single-projects .gallery .highlights {
    margin: 11.7rem auto 0;
}

.single-projects .gallery .highlights p {
    color: #9D9D9C;
    margin: 2.0rem 0 0;

    font-size: 1.6rem;
    line-height: 1.8rem;
    font-weight: 400;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
}

.single-projects .gallery .highlights li {
    width: 13.2rem;
    margin: 0 0 2rem;
    text-align: center;
}

.single-projects .gallery .highlights img {
    width: 7.6rem;
    height: auto;
}

.single-projects .motives {
    padding: 8.3rem 0;
    overflow: hidden;
}

.single-projects .motives .list {
    width: 25%;
    margin: 0 0 0 18.0rem;
    width: 30%;
    margin: 0;
}

.single-projects .motives .list li {
    color: #5F5E5E;

    margin: 0 0 3.0rem;
    padding: 0 0 0 4.0rem;
    position: relative;

    font-size: 2.2rem;
    line-height: 3.0rem;
    font-weight: 400;
    font-family: neulis-neue;

    letter-spacing: -0.025em;
}

.single-projects .motives .list li:after {
    top: 50%;
    left: 0rem;

    width: 2.0rem;
    height: 2.0rem;

    content: '';
    display: block;
    position: absolute;
    transform: translateY(-50%);

    background: #5F5E5E;
}

.single-projects .motives .editor {
    width: 40%;
}

.single-projects .motives .second {
    margin-top: 12.0rem;
}


@media (max-width: 992px) {
    .single-projects .banner .wrapper {
        min-height: 100rem;
    }
    .single-projects .banner .logo {
        width: 35rem;
    }

    .single-projects .banner .slogan {
        margin: 10rem 0 0;
        max-width: 100%;
        font-size: 4rem;
        line-height: 4.2rem;
        text-align: center;
    }

    .single-projects .banner .contact {
        width: 55rem;
        margin: auto auto 0;
    }

    .single-projects .banner .contact a {
        width: 100%;
    }

    .single-projects .banner .wrapper {
        max-width: 100%;
    }

    .single-projects .banner .wrapper .flex {
        flex-direction: column;
    }

    .single-projects .location img {
        min-height: 52rem;
        object-fit: cover;
    }

    .single-projects .gallery .splide__arrow--prev {
        margin-right: auto;
    }

    .single-projects .gallery .splide__arrow--next {
        margin-left: auto;
    }

    .single-projects .gallery .highlights {
        flex-wrap: wrap;
    }

    .single-projects .motives .list {
        width: 100%;
    }
}
