/* ---- Profile header band ---- */
.site-header {
	border-bottom: 1px dashed var(--text);
	padding-bottom: 1.4rem;
	margin-bottom: 0.5rem;
}

.profile {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.profile .avatar {
	flex: 0 0 auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.profile-text {
	min-width: 0;
}

.profile-text h1 {
	margin: 0 0 0.15em;
	line-height: 1.15;
}

.profile-text .tagline {
	margin: 0.15em 0;
	font-size: 1.05rem;
	line-height: 1.4;
	color: var(--text);
}

.profile-text .affiliation {
	margin: 0.15em 0 0;
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--text-secondary);
}

/* ---- Intro ---- */
.intro p:first-child {
	margin-top: 1.3rem;
}

/* ---- Projects & selected work ---- */
.projects h2,
.selected-work h2 {
	margin-top: 1.8em;
}

.selected-work h3 {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
	margin: 1.5em 0 0.3em;
}

.work-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.work-list li {
	margin: 0.5em 0;
	line-height: 1.55;
}

/* ---- Social links row ---- */
.social {
	margin-top: 2.4em;
	padding-top: 1.3rem;
	border-top: 1px dashed var(--text);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 1.2em;
	font-size: 0.95rem;
}

/* ---- Responsive ---- */
@media (max-width: 520px) {
	.profile {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.social {
		justify-content: center;
	}
}
