.content {
    position: relative;
    z-index: 249;
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 9.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: stretch;
    padding: 2rem;
}

.label {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.about .text h1,
.section-head h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.about .text p,
.section-head p,
.project-card p,
.contact-card p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.about .photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .photo img {
    width: 100%;
    height: 100%;
    max-height: 42rem;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.chips span {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
}

.projects,
.contact {
    padding: 2rem;
}

.section-head {
    max-width: 55rem;
    margin-bottom: 1.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-card,
.contact-card {
    padding: 1.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.05);
}

.project-card h3,
.contact-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mail-link {
    font-weight: bold;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .content {
        width: min(1180px, calc(100% - 1.25rem));
        padding-top: 15.5rem;
        padding-bottom: 2rem;
    }

    .about,
    .project-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .content {
        padding-top: 16rem;
    }

    .about,
    .projects,
    .contact {
        padding: 1.2rem;
    }

    .about .text h1,
    .section-head h2 {
        font-size: 1.7rem;
    }
}
