.about-card {
    background: var(--mac-white);
    border: 2px solid var(--mac-black);
    border-radius: 0;
    padding: 2px;
    box-shadow: var(--shadow-flat-2);
    margin-bottom: 15px;
}

.about-card-header {
    background: var(--mac-grey-2);
    color: var(--mac-black);
    font-family: var(--font-chrome);
    font-size: 11px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 0;
    border-bottom: 3px solid;
    border-image: var(--rainbow-gradient) 1;
}

.about-card-body {
    padding: 12px;
}

/* Profile */
.profile-body {
    display: flex;
    gap: 12px;
}

.profile-photo {
    width: 150px;
    height: 180px;
    background: url('/static/images/home/profile.jpg') no-repeat center center;
    background-size: cover;
    border: 2px solid var(--mac-black);
    box-shadow: var(--shadow-flat-2);
    flex-shrink: 0;
}

.bio-text {
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--mac-black);
    text-align: justify;
}

.bio-text::first-letter {
    font-family: var(--font-wordmark);
    font-size: 16px;
    font-weight: bold;
    color: var(--mac-black);
}

.bio-text p {
    margin-bottom: 8px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Tech stack grid */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stack-group-title {
    font-family: var(--font-chrome);
    font-size: 9px;
    font-weight: bold;
    color: var(--mac-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--mac-grey-4);
    padding-bottom: 3px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag {
    background: var(--mac-grey-1);
    border: 1px solid var(--mac-black);
    color: var(--mac-black);
    font-size: 9px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 2px;
}

/* Timeline */
.timeline {
    list-style: none;
}

.timeline-item {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--mac-grey-4);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex-shrink: 0;
    width: 60px;
    font-size: 10px;
    font-weight: bold;
    color: var(--mac-black);
}

.timeline-text {
    font-size: 10px;
    line-height: 1.4;
    color: var(--mac-grey-6);
}

.timeline-text strong {
    color: var(--mac-black);
}

/* Fun facts */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fact-item {
    background: var(--mac-white);
    border: 1px solid var(--mac-black);
    border-radius: 0;
    padding: 8px;
    font-size: 10px;
    line-height: 1.4;
    color: var(--mac-black);
}

.fact-item .fact-label {
    display: block;
    font-family: var(--font-chrome);
    font-size: 9px;
    font-weight: bold;
    color: var(--mac-black);
    text-transform: uppercase;
    margin-bottom: 3px;
}

@media (max-width: 480px) {
    .profile-body {
        flex-direction: column;
    }

    .profile-photo {
        width: 100%;
        height: 200px;
    }

    .stack-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }
}
