* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #e7e7e4;
    color: #242522;
    font-family: Arial, sans-serif;
}
.page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 100vh;
}
.content {
    padding: 55px 6%;
    min-width: 0;
}
.subtitle {
    color: #777872;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 28px;
}
h1 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: 600;
    margin: 0;
}
.description {
    color: #70716b;
    font-size: 14px;
    margin-top: 25px;
    margin-bottom: 45px;
}
.section-title {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid #c6c7c1;
    padding-top: 20px;
    margin-bottom: 15px;
}
.section-title span {
    color: #85867f;
    font-size: 11px;
    padding-top: 7px;
}
h2 {
    font-size: 25px;
    font-weight: 500;
    margin: 0;
}
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}
.skill {
    border-top: 1px solid #d0d1cb;
    padding: 17px 0;
}
.skill h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}
.skill p {
    color: #6d6e68;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}
.works {
    margin-top: 40px;
}
.works-description {
    color: #777872;
    font-size: 12px;
    margin-top: 7px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.work,
.more {
    display: flex;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #cfd0ca;
}
.work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.work:hover img {
    transform: scale(1.05);
}
.more {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #292a26;
    background: #d0d1cb;
    transition: background 0.3s;
}
.more:hover {
    background: #bfc1b9;
}
.more span {
    font-size: 43px;
    font-weight: 400;
}
.more p {
    font-size: 10px;
    text-align: center;
    margin: 8px 0;
}
.more small {
    color: #73746e;
    font-size: 9px;
}
footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #c6c7c1;
    margin-top: 35px;
    padding-top: 15px;
    color: #777872;
    font-size: 10px;
}
.photo {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #c4c5bf;
}
.photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 25%;
}
@media (max-width: 1050px) {
    .content {
        padding: 35px 25px;
    }
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .skill {
        padding: 14px 0;
    }
}
@media (max-width: 700px) {

    .page {
        grid-template-columns: 1fr;
    }
    .photo {
        position: relative;
        height: 55vh;
        min-height: 350px;
    }
    .content {
        padding: 35px 22px;
    }
    h1 {
        font-size: 58px;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    footer {
        font-size: 9px;
    }
}
