/* Block: DD — Team */

.dd-team {
	padding: 80px 0 20px;
}

.dd-team__head {
	margin-bottom: 34px;
}

.dd-team__head .dd-eyebrow {
	margin-bottom: 14px;
}

.dd-team__link {
	font-size: 15px;
	font-weight: 600;
	color: var(--dd-terracotta);
	white-space: nowrap;
}

.dd-team__link:hover {
	color: var(--dd-terracotta-dark);
}

.dd-team__grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 20px;
	/* Both cards share the same (tallest) height. */
	align-items: stretch;
}

/* Left: personal card — flex column so the portrait fills the leftover height
   and the card matches the network card's height. */
.dd-team__person {
	border-radius: 16px;
	padding: 30px;
	display: flex;
	flex-direction: column;
}

.dd-team__portrait {
	position: relative;
	flex: 1 1 auto;
	min-height: 320px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #c9beac, #a89d88);
	display: flex;
	align-items: end;
	justify-content: center;
}

.dd-team__portrait img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Keep the top (head) in frame; crop from the bottom when needed. */
	object-position: center top;
}

.dd-team__portrait-label {
	position: relative;
	font-family: var(--dd-mono);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
	padding-bottom: 14px;
}

.dd-team__name {
	font-family: var(--dd-serif);
	font-size: 24px;
	line-height: 1.2;
}

.dd-team__role {
	font-size: 14px;
	color: var(--dd-muted);
	margin-bottom: 14px;
}

.dd-team__bio {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--dd-body);
	margin: 0;
}

/* Right: navy network card. */
.dd-team__network {
	background: var(--dd-ink);
	color: var(--dd-on-dark);
	border-radius: 16px;
	padding: 36px;
}

.dd-team__network .dd-eyebrow {
	margin-bottom: 12px;
}

.dd-team__network-title {
	font-family: var(--dd-serif);
	font-size: 26px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.dd-team__network-text {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--dd-on-dark-70);
	margin: 0 0 24px;
	max-width: 460px;
}

.dd-team__chips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.dd-team__chip {
	border: 1px solid rgba(243, 237, 226, 0.18);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14.5px;
	font-weight: 600;
}

@media (max-width: 900px) {
	.dd-team {
		padding: 56px 0 16px;
	}

	.dd-team__grid {
		grid-template-columns: 1fr;
	}

	/* Stacked: no equal-height matching, so give the portrait its natural
	   4:5 ratio again instead of flex-filling. */
	.dd-team__portrait {
		flex: none;
		aspect-ratio: 4 / 5;
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.dd-team__chips {
		grid-template-columns: 1fr;
	}
}
