.projects-section {
    position: relative;
    padding: 120px 0 140px;
    background:
        linear-gradient(180deg, #050505 0%, #060707 30%, #050505 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.projects-head--premium {
    max-width: 760px;
    margin: 0 0 64px;
}

.projects-label {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    color: #00f5c4;
}

.projects-head--premium h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: -0.06em;
    color: #fff;
}

.projects-head--premium p {
    max-width: 700px;
    margin: 22px 0 0;
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.52);
}

/* Featured */

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.9fr);
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.featured-project__media {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.featured-project__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.featured-project__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

.featured-project:hover .featured-project__media img {
    transform: scale(1.025);
}

.featured-project__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 44px 40px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(8px);
}

.featured-project__meta {
    margin-bottom: 18px;
}

.featured-project__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 245, 196, 0.18);
    background: rgba(0, 245, 196, 0.06);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00f5c4;
}

.featured-project__content h3 {
    margin: 0 0 20px;
    font-size: clamp(34px, 3vw, 52px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
}

.featured-project__content p {
    margin: 20px 0 0;
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.56);
}

/* Tags */

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

.project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

/* Secondary */

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

.secondary-project {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.018) 100%);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.secondary-project:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.09);
}

.secondary-project__media {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: rgba(255, 255, 255, 0.03);
}

.secondary-project__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.secondary-project__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
}

.secondary-project:hover .secondary-project__media img {
    transform: scale(1.03);
}

.secondary-project__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 28px 30px;
}

.secondary-project__body h3 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #fff;
}

.secondary-project__body p {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.54);
}

/* Links */

.featured-project__link,
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-project__link span,
.project-link span {
    color: inherit;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.featured-project__link:hover,
.project-link:hover {
    color: #00f5c4;
}

.featured-project__link:hover span,
.project-link:hover span {
    transform: translate(2px, -2px);
}

/* Responsive */

@media (max-width: 1200px) {
    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project__media {
        min-height: 480px;
    }

    .featured-project__content {
        padding: 34px 30px;
    }
}

@media (max-width: 992px) {
    .projects-section {
        padding: 96px 0 110px;
    }

    .projects-head--premium p {
        font-size: 18px;
    }

    .secondary-projects {
        grid-template-columns: 1fr;
    }

    .secondary-project__media {
        height: 280px;
    }

    .secondary-project__body h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 78px 0 88px;
    }

    .projects-head--premium {
        margin-bottom: 42px;
    }

    .projects-head--premium p {
        font-size: 17px;
        line-height: 1.7;
    }

    .featured-project {
        gap: 24px;
        margin-bottom: 24px;
    }

    .featured-project__media {
        min-height: 300px;
        border-radius: 24px;
    }

    .featured-project__content {
        padding: 24px 20px 26px;
        border-radius: 24px;
    }

    .featured-project__content h3 {
        font-size: 30px;
    }

    .featured-project__content p {
        font-size: 17px;
        line-height: 1.7;
    }

    .secondary-project {
        border-radius: 24px;
    }

    .secondary-project__media {
        height: 220px;
    }

    .secondary-project__body {
        padding: 22px 18px 24px;
        gap: 14px;
    }

    .secondary-project__body h3 {
        font-size: 28px;
    }

    .secondary-project__body p {
        font-size: 16px;
        line-height: 1.7;
    }

    .project-tags {
        gap: 8px;
    }

    .project-tags span {
        min-height: 34px;
        padding: 0 12px;
        font-size: 10px;
    }

    .school-card-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translateY(28px);

}