/* ========================================
   PROJECTS PAGE
======================================== */

.projects-page {
    width: min(1200px, 92%);
    margin: 0 auto;

    padding: clamp(80px, 10vw, 120px) 0;
}


/* ========================================
   PAGE HEADER
======================================== */

.projects-page-header {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: clamp(40px, 7vw, 100px);

    align-items: start;

    padding-bottom: 80px;

    border-bottom: 1px solid var(--border);
}

.projects-page-title h1 {
    max-width: 520px;

    color: var(--text);

    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 800;

    line-height: 0.92;
    letter-spacing: -0.05em;
}

.projects-page-intro {
    max-width: 650px;
}

.projects-page-intro p {
    color: var(--text-muted);

    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}


/* ========================================
   PROJECT LIST
======================================== */

.projects-list {
    border-top: 0;
}

.project-item {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 40px;

    align-items: center;

    padding: 42px 0;

    border-bottom: 1px solid var(--border);
}

.project-item-content {
    min-width: 0;
}

.project-item-heading {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

    margin-bottom: 12px;
}

.project-item-heading h2 {
    color: var(--text);

    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;

    letter-spacing: -0.025em;
}

.project-status {
    color: var(--accent);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.project-item-description {
    max-width: 700px;

    color: var(--text-muted);

    font-size: 1rem;
    line-height: 1.65;
}

.project-item-meta {
    margin-top: 16px;

    color: var(--text-muted);

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.05em;
}

.project-item-link {
    color: var(--text);

    font-size: 0.9rem;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.project-item-link:hover {
    color: var(--accent);
}


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

@media (max-width: 700px) {

    .projects-page {
        padding: 70px 0;
    }

    .projects-page-header {
        grid-template-columns: minmax(0, 1fr);

        gap: 30px;

        padding-bottom: 60px;
    }

    .project-item {
        grid-template-columns: minmax(0, 1fr);

        gap: 22px;

        padding: 30px 0;
    }

    .project-item-link {
        width: fit-content;
    }

}