
/* =====================================
   ОСНОВА
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    background: #fff;
    color: #171717;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================
   ШАПКА
===================================== */

.header {
    padding: 18px 5.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.header-info,
.header-contacts {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-contacts {
    gap: 35px;
}


/* =====================================
   ПЕРВЫЙ БЛОК
===================================== */

.hero {
    padding: 0 5.5%;
}

.hero h1 {
    font-size: clamp(100px, 24vw, 340px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.095em;
    text-align: center;
    white-space: nowrap;
}

.hero-caption {
    display: flex;
    justify-content: space-between;
    margin: 85px 0 70px;
    font-size: 13px;
}


/* =====================================
   ФОТОГРАФИЯ
===================================== */

.intro {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;
    gap: 5.5%;
    align-items: center;
    margin-bottom: 150px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 0.9 / 1;
    background: #e9e7e5;
    overflow: hidden;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =====================================
   ТЕКСТ О ДИЗАЙНЕРЕ
===================================== */

.intro-text h2 {
    font-size: clamp(65px, 8vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.085em;
    font-weight: 600;
    margin-bottom: 65px;
}

.intro-lead {
    max-width: 440px;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.intro-description {
    max-width: 440px;
    font-size: 13px;
    line-height: 1.7;
    text-align: justify;
    color: #444;
}


/* =====================================
   ВТОРОЙ БЛОК — ПРОЕКТЫ
===================================== */

.projects {
    padding: 0 5.5%;
    margin-bottom: 120px;
}

.projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 35px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 35px;
}

.projects-heading h2 {
    font-size: clamp(38px, 6vw, 75px);
    font-weight: 700;
    letter-spacing: -0.07em;
}

.projects-heading h2 span {
    color: #999;
}

.projects-heading p {
    font-size: 12px;
    color: #777;
    padding-bottom: 10px;
}


/* СЕТКА ПРОЕКТОВ */

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px 25px;
}


/* КОНТЕЙНЕРЫ ИЗОБРАЖЕНИЙ */

.project-image {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    overflow: hidden;
    background: #eeeeec;
    transition: transform 0.3s;
}

.project-image:hover {
    transform: scale(0.99);
}


/* САМИ ИЗОБРАЖЕНИЯ */

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* ЗАГЛУШКИ */

.image-one {
    background: #e9e7e2;
}

.image-two {
    background: #e6e6e6;
}

.image-three {
    background: #e9e6e5;
}

.image-four {
    background: #e6e9e5;
}


/* ПОДПИСИ ПРОЕКТОВ */

.project-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    padding-top: 17px;
}

.project-caption h3 {
    font-size: 16px;
    font-weight: 600;
}

.project-caption span {
    font-size: 11px;
    color: #888;
}


/* =====================================
   ПОДВАЛ
===================================== */

footer {
    border-top: 1px solid #ddd;
    padding: 25px 5.5%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 600;
}


/* =====================================
   АДАПТАЦИЯ ПОД ТЕЛЕФОН
===================================== */

@media (max-width: 650px) {

    .header {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 10px;
    }

    .header-info {
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-contacts {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        padding: 25px 4%;
    }

    .hero h1 {
        font-size: 22vw;
    }

    .hero-caption {
        margin: 45px 0;
        font-size: 10px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 100px;
    }

    .photo-placeholder {
        aspect-ratio: 1 / 1;
    }

    .intro-text h2 {
        font-size: 75px;
        margin-bottom: 35px;
    }

    .intro-lead {
        font-size: 15px;
    }

    .intro-description {
        font-size: 12px;
    }

    .projects {
        padding: 0 4%;
    }

    .projects-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-caption {
        flex-direction: column;
        gap: 6px;
    }

    footer {
        padding: 20px 4%;
        font-size: 9px;
    }

}
