:root {

    --header-background: #1a1918;
    --black: #0a0a0a;
    --white: #ffffff;
    --light-grey: #ededeb;
    --poppins: "Poppins", sans-serif;
    --montserrat: "Montserrat", sans-serif;
    --header-height: 88px;

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);

}


body {

    background: var(--header-background);
    color: var(--white);
    font-family: var(--poppins);
    overflow-x: hidden;

}


body.menu-open,
body.lightbox-open {

    overflow: hidden;

}


a {

    color: inherit;
    text-decoration: none;

}


button {

    font: inherit;

}


.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    padding: 0 30px;

    display: grid;

    grid-template-columns:
        minmax(290px, 335px)
        minmax(0, 1fr)
        126px;

    align-items: center;

    column-gap: 34px;

    z-index: 1000;

    background: var(--header-background);

}


.site-logo {

    position: relative;

    z-index: 1100;

    display: flex;

    align-items: center;
    justify-content: flex-start;

}


.site-logo img {

    display: block;

    width: 315px;
    max-width: 100%;

    height: auto;

}


.desktop-nav {

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

}


.desktop-nav a {

    position: relative;

    padding:
        34px
        2px
        31px;

    font-family: var(--montserrat);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color:
        rgba(255, 255, 255, 0.87);

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;

}


.desktop-nav a::after {

    content: "";

    position: absolute;

    left: 2px;
    right: 2px;
    bottom: 23px;

    height: 1px;

    background: var(--white);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.3s ease;

}


.desktop-nav a:hover {

    color: var(--white);

}


.desktop-nav a:hover::after,
.desktop-nav a.active::after {

    transform: scaleX(1);

}


.header-actions {

    display: flex;

    align-items: center;
    justify-content: flex-end;

}


.social-icons {

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 18px;

}


.social-icons a {

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0.76;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


.social-icons a:hover {

    opacity: 1;

    transform: translateY(-1px);

}


.social-icons svg {

    width: 18px;
    height: 18px;

    overflow: visible;

}


.social-icons svg path {

    fill: var(--white);

}


.social-icons svg rect,
.social-icons svg circle {

    fill: none;

    stroke: var(--white);

    stroke-width: 1.6;

}


.social-icons svg .instagram-dot {

    fill: var(--white);

    stroke: none;

}


.menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: var(--white);

    align-items: center;

    cursor: pointer;

    position: relative;

    z-index: 1100;

}


.menu-lines {

    width: 29px;
    height: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 8px;

}


.menu-lines i {

    display: block;

    width: 29px;
    height: 1px;

    background: var(--white);

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;

}


.menu-button.active .menu-lines i:first-child {

    transform:
        translateY(4.5px)
        rotate(45deg);

}


.menu-button.active .menu-lines i:last-child {

    transform:
        translateY(-4.5px)
        rotate(-45deg);

}


.menu-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(26, 25, 24, 0.995);

    z-index: 1050;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;

}


.menu-overlay.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.menu-overlay-inner {

    width:
        min(88%, 1380px);

    height: 100%;

    margin: 0 auto;

    padding-top: 125px;
    padding-bottom: 45px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.overlay-nav {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.menu-main-link,
.portfolio-toggle {

    border: 0;

    background: transparent;

    color: var(--white);

    font-family: var(--poppins);

    font-size:
        clamp(27px, 3vw, 47px);

    line-height: 1.45;

    font-weight: 300;

    letter-spacing: -0.025em;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.menu-main-link:hover,
.portfolio-toggle:hover {

    color: #b8b8b8;

    transform:
        translateX(7px);

}


.portfolio-toggle {

    display: flex;

    align-items: center;

    gap: 18px;

}


.portfolio-symbol {

    font-size: 25px;

    font-weight: 300;

}


.portfolio-submenu {

    max-height: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    padding-left: 28px;

    transition:
        max-height 0.45s ease;

}


.portfolio-submenu.open {

    max-height: 390px;

}


.portfolio-submenu a {

    padding: 5px 0;

    font-family: var(--montserrat);

    font-size: 12px;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #898989;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.portfolio-submenu a:hover {

    color: var(--white);

    transform:
        translateX(5px);

}


.menu-footer {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    color: #6e6e6e;

    font-family: var(--montserrat);

    font-size: 9px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.menu-social {

    display: flex;

    gap: 18px;

}


.menu-social a:hover {

    color: var(--white);

}


.industrial-page {

    min-height: 100vh;

    padding-top:
        var(--header-height);

    background:
        var(--header-background);

}


.industrial-intro {

    width:
        min(
            calc(100% - 60px),
            1500px
        );

    margin:
        0
        auto;

    padding:
        55px
        0
        28px;

    background:
        var(--header-background);

    text-align: left;

}


.industrial-intro h1 {

    margin: 0;

    font-family:
        var(--montserrat);

    font-size: 28px;

    line-height: 1.2;

    font-weight: 300;

    letter-spacing: 0.14em;

    color:
        rgba(255, 255, 255, 0.72);

}


.industrial-gallery {

    width: 100%;

    padding:
        0
        30px
        34px;

    background:
        var(--header-background);

}


.industrial-grid {

    width:
        min(100%, 1500px);

    margin:
        0
        auto;

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 8px;

}


.industrial-gallery-item {

    position: relative;

    display: block;

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: #242220;

    cursor: pointer;

}


.industrial-gallery-item img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform:
        scale(1.001);

    filter:
        brightness(1);

    transition:
        transform 0.45s ease,
        filter 0.45s ease;

}


.industrial-gallery-item::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0);

    pointer-events: none;

    transition:
        background 0.35s ease;

}


.industrial-gallery-item:hover img {

    transform:
        scale(1.025);

    filter:
        brightness(0.83);

}


.industrial-gallery-item:hover::after {

    background:
        rgba(0, 0, 0, 0.08);

}


.industrial-gallery-zoom-indicator {

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 3;

    width: 48px;
    height: 48px;

    margin-left: -24px;
    margin-top: -24px;

    border:
        1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 50%;

    background:
        rgba(26, 25, 24, 0.55);

    opacity: 0;

    transform:
        scale(0.9);

    pointer-events: none;

    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        background 0.28s ease;

}


.industrial-gallery-zoom-indicator::before {

    content: "";

    position: absolute;

    left: 15px;
    top: 13px;

    width: 12px;
    height: 12px;

    border:
        1.5px solid
        rgba(255, 255, 255, 0.9);

    border-radius: 50%;

}


.industrial-gallery-zoom-indicator::after {

    content: "";

    position: absolute;

    left: 27px;
    top: 27px;

    width: 9px;
    height: 1.5px;

    background:
        rgba(255, 255, 255, 0.9);

    transform:
        rotate(45deg);

    transform-origin:
        left center;

}


.industrial-gallery-item:hover
.industrial-gallery-zoom-indicator {

    opacity: 1;

    transform:
        scale(1);

}


.industrial-lightbox {

    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(26, 25, 24, 0.985);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

}


.industrial-lightbox.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.industrial-lightbox-stage {

    position: absolute;

    left: 74px;
    right: 74px;
    top: 58px;
    bottom: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

}


.industrial-lightbox-image {

    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    user-select: none;

    -webkit-user-select: none;

    cursor:
        default !important;

}


.industrial-lightbox-close {

    position: absolute;

    top: 15px;
    right: 20px;

    z-index: 6;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    color:
        rgba(255, 255, 255, 0.78);

    font-family:
        var(--montserrat);

    font-size: 37px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.industrial-lightbox-close:hover {

    color: var(--white);

    transform:
        scale(1.05);

}


.industrial-lightbox-nav {

    position: absolute;

    top: 50%;

    z-index: 6;

    width: 54px;
    height: 86px;

    margin-top: -43px;

    border: 0;

    background: transparent;

    color:
        rgba(255, 255, 255, 0.62);

    font-family:
        var(--montserrat);

    font-size: 54px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.industrial-lightbox-nav:hover {

    color: var(--white);

}


.industrial-lightbox-prev {

    left: 14px;

}


.industrial-lightbox-next {

    right: 14px;

}


.industrial-lightbox-prev:hover {

    transform:
        translateX(-3px);

}


.industrial-lightbox-next:hover {

    transform:
        translateX(3px);

}


.industrial-lightbox-copyright {

    position: absolute;

    left: 50%;
    bottom: 17px;

    z-index: 6;

    transform:
        translateX(-50%);

    white-space: nowrap;

    font-family:
        var(--montserrat);

    font-size: 8px;

    font-weight: 400;

    letter-spacing: 0.1em;

    color:
        rgba(255, 255, 255, 0.42);

    text-transform: uppercase;

}


.gallery-return-button {

    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 800;

    width: 54px;
    height: 54px;

    border: 0;

    border-radius: 50%;

    background:
        rgba(26, 25, 24, 0.92);

    color: var(--white);

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(12px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;

}


.gallery-return-button.visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


.gallery-return-button::before {

    content: "";

    position: absolute;

    inset: 3px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.28);

    border-top-color:
        rgba(255, 255, 255, 0.88);

    animation:
        galleryReturnSpin
        6s
        linear
        infinite;

}


.gallery-return-button::after {

    content: "";

    width: 11px;
    height: 11px;

    border-left:
        1.5px solid
        rgba(255, 255, 255, 0.88);

    border-top:
        1.5px solid
        rgba(255, 255, 255, 0.88);

    transform:
        translateY(3px)
        rotate(45deg);

}


@keyframes galleryReturnSpin {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }

}


.site-footer {

    min-height: 95px;

    padding:
        30px
        45px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background:
        var(--header-background);

    color: #6d6d6d;

    font-family:
        var(--montserrat);

    font-size: 8px;

    font-weight: 400;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}


@media (max-width: 1420px) {

    .site-header {

        grid-template-columns:
            minmax(250px, 285px)
            minmax(0, 1fr)
            112px;

        column-gap: 22px;

        padding-left: 26px;
        padding-right: 26px;

    }


    .site-logo img {

        width: 270px;

    }


    .desktop-nav {

        gap: 8px;

    }


    .desktop-nav a {

        font-size: 9px;

        letter-spacing: 0.09em;

    }


    .social-icons {

        gap: 13px;

    }

}


@media (max-width: 1200px) {

    .site-header {

        display: flex;

        justify-content: space-between;

    }


    .desktop-nav {

        display: none;

    }


    .menu-button {

        display: flex;

    }


    .site-logo img {

        width: 265px;

    }


    .header-actions {

        margin-left: auto;

        gap: 22px;

    }


    .industrial-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


@media (max-width: 760px) {

    :root {

        --header-height: 80px;

    }


    .site-header {

        padding:
            0
            18px;

    }


    .site-logo img {

        width: 215px;

    }


    .social-icons {

        display: none;

    }


    .menu-overlay-inner {

        width: 86%;

        padding-top: 105px;
        padding-bottom: 35px;

    }


    .menu-main-link,
    .portfolio-toggle {

        font-size: 29px;

    }


    .menu-footer {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

    }


    .industrial-intro {

        width:
            calc(100% - 40px);

        padding:
            42px
            0
            26px;

    }


    .industrial-intro h1 {

        font-size: 23px;

        letter-spacing: 0.12em;

    }


    .industrial-gallery {

        padding:
            0
            12px
            20px;

    }


    .industrial-grid {

        grid-template-columns:
            1fr;

        gap: 6px;

    }


    .industrial-gallery-item {

        aspect-ratio:
            3 / 2;

    }


    .industrial-gallery-zoom-indicator {

        display: none;

    }


    .industrial-lightbox-stage {

        left: 12px;
        right: 12px;
        top: 62px;
        bottom: 66px;

    }


    .industrial-lightbox-nav {

        width: 42px;
        height: 72px;

        margin-top: -36px;

        font-size: 44px;

    }


    .industrial-lightbox-prev {

        left: 2px;

    }


    .industrial-lightbox-next {

        right: 2px;

    }


    .industrial-lightbox-copyright {

        bottom: 18px;

        width:
            calc(100% - 34px);

        text-align: center;

        white-space: normal;

        font-size: 7px;

        line-height: 1.5;

    }


    .gallery-return-button {

        right: 15px;
        bottom: 15px;

        width: 48px;
        height: 48px;

    }


    .site-footer {

        padding:
            30px
            22px;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

    }

}