/*
 * Person pages (/team/{name}/), loaded only there by inc/team-pages.php.
 * Plain file outside the Vite build; builds on the service page variables.
 */

.magnet-person-hero__photo {
	margin: 0;
	max-width: 22rem;
	aspect-ratio: 1;
	overflow: hidden;
	border: 4px solid var(--svc-ink);
	box-shadow: 8px 8px 0 #e30613;
	background: var(--svc-soft);
}

.magnet-person-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.magnet-person-hero .magnet-service-hero__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	}

	.magnet-person-hero__photo {
		justify-self: end;
		width: 100%;
	}
}

.magnet-person-section + .magnet-person-section .magnet-service-section__inner,
.magnet-person-section + .magnet-service-projects .magnet-service-section__inner {
	padding-block-start: 0;
}

.magnet-person-section .magnet-service-section__title {
	margin-block-end: 1.5rem;
	font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
}

.magnet-person-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.magnet-person-skills a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 2px solid var(--svc-ink);
	color: var(--svc-ink);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.magnet-person-skills a:hover,
.magnet-person-skills a:focus-visible {
	border-color: #e30613;
	background: #e30613;
	color: #fff;
}
