* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', system-ui, sans-serif;
    line-height: 1.6;
    color: #2d2d30;
    background: radial-gradient(ellipse at top left, #fbfbfa 0%, #f7f6f3 25%, #f1f0ed 50%, #eceae6 75%, #e7e4e0 100%);
    min-height: 100vh;
    font-weight: 400;
}

.section-title {
    font-size: 32px;
    color: #797b82;
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.intro {
    margin-bottom: 4rem;
}

.intro h2 {
    font-size: 40px;
    font-weight: 500;
    color: rgb(56, 60, 66);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.statement {
    font-size: 18px;
    color: #4a4d56;
    line-height: 1.7;
    font-weight: 400;
}

.work {
    display: grid;
    gap: 6rem;
}

.project {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.project:last-child {
    border-bottom: none;
}

.project-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border: 1px solid rgba(103, 108, 120, 0.3);
}

.noborder {
    border-width: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.project-image.portrait {
    height: 337px;
}

.project-image.portrait img {
    object-position: center;
}

.project-image.landscape {
    height: 225px;
}

.project-image.landscape img {
    object-position: center;
}

.project-image.wide {
    height: 180px;
}

.project-image.wide img {
    object-position: center;
}

.project-info {
    max-width: 600px;
}

.project-info.full {
    grid-column: 1 / -1;
    max-width: 800px;
}

.project h2 {
    font-size: 29px;
    font-weight: 500;
    color: #2d2d30;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.problem {
    font-size: 16px;
    color: #7a7a7a;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.solution {
    font-size: 16px;
    color: #4a4d56;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.tech span {
    background: rgba(248, 248, 247, 0.8);
    color: #676c78;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(235, 235, 233, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.links {
    display: flex;
    gap: 1.5rem;
}

.links a {
    color: #676c78;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(235, 235, 233, 0.6);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.publication {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(103, 108, 120, 0.15);
}

.publication:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.publication .title {
    font-size: 18px;
    font-weight: 500;
    color: #2d2d30;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.publication .authors {
    font-size: 15px;
    color: #676c78;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.publication .journal {
    font-size: 14px;
    color: #7a7a7a;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.publication .doi {
    color: #676c78;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(235, 235, 233, 0.6);
    background: rgba(255, 255, 255, 0.8);
    display: inline-block;
}

.contact {
    margin-top: 6rem;
    text-align: center;
}

.contact a {
    color: #676c78;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 2px solid rgba(235, 235, 233, 0.6);
    background: rgba(255, 255, 255, 0.8);
    display: inline-block;
    border-radius: 32px;
}

@media (max-width: 768px) {
    .page {
        padding: 2rem 1.5rem;
    }

    .section-title {
        margin-top: 3rem;
        margin-bottom: 2rem;
    }

    .intro {
        margin-bottom: 2rem;
    }

    .work {
        gap: 3rem;
    }

    .intro h1 {
        font-size: 40px;
    }

    .solution {
        margin-bottom: 1rem;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .project-image.portrait {
        height: 300px;
    }

    .project-image.landscape {
        height: 300px;
    }

    .project-image.wide {
        height: 240px;
    }

    .contact {
        margin-top: 3rem;
    }

    .publication {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .intro h1 {
        font-size: 32px;
    }

    .project-image {
        height: 150px;
    }

    .statement {
        font-size: 16px;
    }
}