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

body {
    font-family: Georgia, 'Times New Roman', serif;
    color: #2c2c2c;
    background: #faf9f6;
    line-height: 1.7;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.intro {
    font-size: 15px;
    color: #555;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 32px 0;
}

#projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 28px 24px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: #aaa;
}

.card-top {
    flex: 1;
}

.card-nummer {
    font-size: 13px;
    color: #bbb;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.card-naam {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-beschrijving {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.card-tag {
    font-size: 11px;
    font-family: 'Courier New', monospace;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-link {
    font-size: 13px;
    color: #2c5f8a;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #999;
}

@media (max-width: 540px) {
    main {
        padding: 40px 16px 60px;
    }

    h1 {
        font-size: 24px;
    }

    #projects {
        grid-template-columns: 1fr;
    }
}
