.projects-archive {
    padding: 180px 0 140px;
    max-width: 1320px;
    margin: 0 auto;

    @media (max-width: 768px) {
        padding: 115px 20px 60px;
    }
}

.projects-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 100px;

    @media (max-width: 768px) {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        margin-bottom: 40px;
    }
}

.projects-archive-title {
    font-family: 'Closer Text', sans-serif;
    font-weight: 500;
    font-size: 72px;
    line-height: 104%;
    letter-spacing: -0.02em;
    margin: 0;
    color: #013026;

    @media (max-width: 768px) {
        font-size: 32px;
        line-height: 110%;
        letter-spacing: -0.01em;
    }
}

/* Tabs */

.projects-archive-tabs {
    display: flex;
}

.projects-tab {
    background: none;
    padding: 0 55px 18px;
    font-family: 'Closer Text', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.02em;
    cursor: pointer;
    color: rgba(1, 48, 38, 0.4);
    border: none;
    border-bottom: 1px solid rgba(0, 74, 51, 0.2);

    @media (max-width: 768px) {
        font-size: 16px;
        padding: 0 14px 13px;
    }
}

.projects-tab.is-active {
    color: #004735;
    border-bottom: 3px solid rgba(0, 74, 51, 1);
}

/* Grid */

.projects-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;

    @media (max-width: 768px) {
        grid-template-columns: 1fr;
    }
}

/* Card */
.project-card:hover {
    .project-card-image img {
        transform: scale(1.2);
    }
}

.projects-archive-grid .project-card {
    position: relative;
    overflow: hidden;
    padding-bottom: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.projects-archive-grid .project-card.is-hidden {
    display: none;
}


.project-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Image */

.project-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    max-width: 640px;
    max-height: 610px;
    height: 100%;

    @media (max-width: 768px) {
        max-height: 330px;
        max-width: 100%;
    }
}

.project-card-image img {
    display: block;
    width: 100%;
    height: 610px;
    object-fit: cover;
    transition: transform 0.5s ease-out;

    @media (max-width: 768px) {
        height: 330px;
    }
}

/* Year badge */

.project-card-year {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 14px;
    border-radius: 100px;
    background: #ffffff;
    font-family: 'Closer Text', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #004735;

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

/* Content */

.project-card-content {
    position: relative;
    z-index: 2;
    padding: 0;
}

.project-card-title {
    font-family: 'Closer Text', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: -0.02em;
    margin: 30px 0 16px;
    color: #013026;

    @media (max-width: 768px) {
        margin: 20px 0 10px;
        font-size: 21px;
        line-height: 120%;
        letter-spacing: -0.01em;
    }
}

.project-card-excerpt {
    margin: 0;
    font-family: 'Closer Text', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #004735;
    max-width: 510px;

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

/* Hover */

/* .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
} */
