/* =========================================
   GALLERY CTA
========================================= */

.project-gallery-cta {
    width: 100%;
    max-width: 1280px;

    margin: 20px auto 100px;
    padding: 0 24px;

    box-sizing: border-box;
}

.project-gallery-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 32px 36px;

    border-radius: 18px;

    background: #fff;
}

.project-gallery-cta__text span {
    display: block;

    margin-bottom: 6px;

    font-size: 18px;
    font-weight: 500;
    color: #1d2c3d;
}

.project-gallery-cta__text p {
    margin: 0;

    font-size: 14px;
    color: #77727a;
}


/* Mobile */

@media (max-width: 600px) {

    .project-gallery-cta {
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .project-gallery-cta__inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 26px;
    }

}








/* =========================================
   PROJECT BUTTON
========================================= */

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    border-radius: 8px;

    background: #765087;
    color: #fff;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.project-button:hover {
    background: #674477;
    color: #fff;

    transform: translateY(-2px);
}

.project-button__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    font-size: 13px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.project-button:hover .project-button__arrow {
    transform: translate(2px, -2px);
}










/* =========================================
   SINGLE PROJECT
========================================= */

.project-single {
    background: #f8f7f5;
}

.project-container {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.project-hero {
    padding: 90px 0 100px;
}

.project-hero .project-container {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 80px;
}


.project-hero__content {
    max-width: 520px;
}


.project-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 22px;
}


.project-tag {
    display: inline-flex;
    align-items: center;

    min-height: 30px;
    padding: 0 11px;

    border: 1px solid #e2dfdc;
    border-radius: 100px;

    background: #ffffff;

    color: #555250;

    font-size: 12px;
    line-height: 1;
}


.project-hero__title {
    margin: 0;

    font-family: 'Onest', sans-serif;

    font-size: clamp(48px, 6vw, 82px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.055em;

    color: #1c1c1c;
}


.project-hero__description {
    max-width: 500px;

    margin-top: 28px;

    color: #66625f;

    font-size: 18px;
    line-height: 1.55;
}


.project-hero__description p {
    margin: 0;
}


.project-hero__meta {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 34px;
}


.project-meta-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;

    font-size: 13px;
}


.project-meta-item__label {
    color: #999592;
}


.project-meta-item__value {
    color: #292725;
    font-weight: 500;
}


/* Button */

.project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;

    margin-top: 38px;
    padding: 0 22px;

    border-radius: 7px;

    background: #76518b;

    color: #ffffff;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.project-button:hover {
    color: #ffffff;

    background: #68467c;

    transform: translateY(-2px);
}


/* Hero image */

.project-hero__visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


.project-hero__image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 12px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.10);
}


/* =========================================
   INTRO
========================================= */

.project-intro {
    padding: 70px 0;
}

.project-intro .project-container {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
}


.project-intro__label {
    color: #999592;

    font-size: 13px;
    font-weight: 500;
}


.project-intro__text {
    max-width: 700px;

    color: #292725;

    font-size: 21px;
    line-height: 1.55;
}

.project-intro__text p {
    margin: 0;
}


/* =========================================
   GALLERY
========================================= */

.project-gallery {
    padding: 30px 0 110px;
}


.project-gallery__grid {
    columns: 2;
    column-gap: 24px;
}


.project-gallery__item {
    break-inside: avoid;

    margin-bottom: 24px;

    overflow: hidden;

    border-radius: 12px;

    background: #ffffff;
}


.project-gallery__image {
    display: block;

    width: 100%;
    height: auto;

    transition: transform 0.5s ease;
}


.project-gallery__item:hover .project-gallery__image {
    transform: scale(1.015);
}


/* =========================================
   INFO BLOCKS
========================================= */

.project-info,
.project-technologies {
    padding: 90px 0;

    border-top: 1px solid #e4e1de;
}


.project-info__grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;

    gap: 80px;
}


.project-info__heading span {
    display: block;

    margin-bottom: 18px;

    color: #76518b;

    font-size: 12px;
    font-weight: 600;
}


.project-info__heading h2 {
    margin: 0;

    font-size: 38px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;

    color: #1c1c1c;
}


.project-list {
    display: grid;

    border-top: 1px solid #dedbd8;
}


.project-list__item {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 58px;

    border-bottom: 1px solid #dedbd8;

    color: #292725;

    font-size: 15px;
}


.project-list__item span {
    color: #76518b;
}


/* Technology tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.project-tag--large {
    min-height: 38px;

    padding: 0 16px;

    font-size: 13px;
}




/* =========================================================
   PROJECT GALLERY
========================================================= */

.project-gallery {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px;
    box-sizing: border-box;
}

.project-section-heading {
    margin-bottom: 45px;
}

.project-section-label {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #765087;
}

.project-section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.035em;
}


/* =========================================================
   MASONRY
========================================================= */

.project-gallery__grid {
    column-count: 2;
    column-gap: 28px;
}

.project-gallery__item {
    display: inline-block;
    width: 100%;
    margin: 0 0 28px;
    break-inside: avoid;
    vertical-align: top;
}


/* =========================================================
   LINK
========================================================= */

.project-gallery__link {
    display: block;
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   BROWSER WINDOW
========================================================= */

.project-browser {
    overflow: hidden;

    border: 1px solid #e5e3e7;
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(31, 24, 36, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.project-gallery__link:hover .project-browser {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(31, 24, 36, 0.12);
}


/* =========================================================
   BROWSER TOP
========================================================= */

.project-browser__top {
    position: relative;

    display: flex;
    align-items: center;

    height: 38px;
    padding: 0 14px;

    background: #f7f6f8;

    border-bottom: 1px solid #e8e6e9;
}


/* Dots */

.project-browser__dots {
    display: flex;
    gap: 5px;

    flex-shrink: 0;
}

.project-browser__dots span {
    display: block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d2cfd4;
}


/* Address */

.project-browser__address {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    max-width: 45%;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 10px;
    line-height: 1;

    color: #aaa6ad;
}


/* =========================================================
   SCREEN
========================================================= */

.project-browser__screen {
    position: relative;

    overflow: hidden;

    background: #f4f3f5;
}

.project-browser__screen img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}


/* =========================================================
   MOBILE SCREENSHOTS
========================================================= */

.project-gallery__item--mobile {
    break-inside: avoid;
}

.project-gallery__item--mobile .project-browser {
    max-width: 310px;

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .project-gallery {
        padding: 75px 0;
    }

    .project-gallery__grid {
        column-count: 2;
        column-gap: 20px;
    }

    .project-gallery__item {
        margin-bottom: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .project-gallery {
        padding: 60px 0;
    }

    .project-section-heading {
        margin-bottom: 30px;
    }

    .project-gallery__grid {
        column-count: 1;
    }

    .project-gallery__item {
        margin-bottom: 20px;
    }

    .project-browser {
        border-radius: 12px;
    }

    .project-browser__top {
        height: 32px;
        padding: 0 11px;
    }

    .project-browser__address {
        font-size: 9px;
    }

    .project-gallery__item--mobile .project-browser {
        max-width: 260px;
    }

}






/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .project-hero .project-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .project-intro .project-container,
    .project-info__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


@media (max-width: 600px) {

    .project-container {
        width: calc(100% - 32px);
    }

    .project-hero {
        padding: 55px 0 70px;
    }

    .project-hero__title {
        font-size: 48px;
    }

    .project-hero__description {
        font-size: 17px;
    }

    .project-meta-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .project-gallery {
        padding-bottom: 70px;
    }

    .project-gallery__grid {
        columns: 1;
    }

    .project-info,
    .project-technologies {
        padding: 65px 0;
    }

    .project-info__heading h2 {
        font-size: 32px;
    }

    .project-intro__text {
        font-size: 18px;
    }

}