/* ============================================
   PROFILE PAGES — Swiss Brutalist (Official Brand)
   ============================================ */

.profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 3rem 4rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    border: 2px solid var(--fg);
    background: var(--fg);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-avatar.accent-bg {
    background: var(--accent);
    border-color: var(--accent);
}

.profile-intro h1 {
    font-family: var(--font-mono);
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.profile-role {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--fg);
    letter-spacing: 0.03em;
}

.profile-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.profile-section .section-label {
    margin-bottom: 1rem;
}

.profile-section p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-section .tags .tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    color: var(--fg);
    letter-spacing: 0.03em;
}

/* Project list */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.project-item {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-item:hover {
    transform: translateY(-1px);
    box-shadow: 3px 3px 0 var(--fg);
}

/* Clickable project links */
a.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.project-link:hover {
    border-color: var(--accent);
}

a.project-link h3 {
    transition: color 0.2s;
}

a.project-link:hover h3 {
    color: var(--accent);
}

a.project-link::after {
    content: "\2192";
    float: right;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--muted);
    transition: color 0.2s, transform 0.2s;
    margin-top: -1.5rem;
}

a.project-link:hover::after {
    color: var(--accent);
    transform: translateX(4px);
}

.project-item h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.project-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Connect links */
.connect-links {
    display: flex;
    gap: 1rem;
}

.connect-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--fg);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--fg);
    transition: all 0.2s;
}

.connect-link:hover {
    background: var(--fg);
    color: var(--bg);
}

/* Responsive */
@media (max-width: 768px) {
    .profile {
        padding: 7rem 1.5rem 3rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
