/* Portrait-led editorial profiles. This file is loaded only on the nine team pages. */
.ipd-profile {
	background: #f7f5f1;
	color: var(--ipd-ink);
}

.ipd-profile__hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(115deg, #20272e 0%, #181d23 55%, #3c2029 100%);
	color: #fff;
}

.ipd-profile__hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 5px;
	background: linear-gradient(90deg, #bf1e2e 0 42%, #d9a66f 42% 58%, #27646a 58% 100%);
}

.ipd-profile__hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
	align-items: center;
	gap: clamp(40px, 6.5vw, 104px);
	padding-block: clamp(48px, 6vw, 96px);
}

.ipd-profile__hero-inner > * {
	min-width: 0;
}

.ipd-profile__hero-copy {
	padding-block: 8px;
}

.ipd-profile__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-block-end: clamp(44px, 6vw, 94px);
	color: #d7dade;
	font-size: 14px;
	line-height: 1.45;
}

.ipd-profile__breadcrumb a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: #c98d96;
}

.ipd-profile__breadcrumb a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.ipd-profile__field {
	margin-block-end: 18px !important;
	color: #f0b8a8 !important;
	font-size: clamp(13px, 1.1vw, 16px);
	font-weight: 700;
	letter-spacing: .045em;
}

.ipd-profile__hero h1 {
	max-width: 11ch;
	margin: 0;
	font-size: clamp(52px, 6.9vw, 108px);
	font-weight: 750;
	line-height: .98;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.ipd-profile__role {
	margin-block-start: 24px !important;
	color: #fff !important;
	font-size: clamp(21px, 2.25vw, 30px);
	font-weight: 600;
	line-height: 1.25;
}

.ipd-profile__intro {
	max-width: 55ch;
	margin-block-start: 28px !important;
	color: #d9dfe2 !important;
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.6;
}

.ipd-profile__hero-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 48px;
	margin-block-start: 31px;
	padding: 0 2px;
	border-block-end: 2px solid #dd858d;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	transition: border-color 180ms ease, color 180ms ease;
}

.ipd-profile__hero-link:hover {
	border-color: #fff;
	color: #fff;
}

.ipd-profile__portrait {
	position: relative;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: end;
	margin: 0;
}

.ipd-profile__portrait::before {
	content: "";
	position: absolute;
	inset: 14px -14px 47px 14px;
	z-index: -1;
	border: 1px solid rgb(246 206 175 / 44%);
}

.ipd-profile__portrait-image {
	width: 100%;
	height: clamp(410px, 43vw, 650px) !important;
	object-fit: cover;
	object-position: center 23%;
	background: #33383b;
	box-shadow: 0 30px 80px rgb(0 0 0 / 21%);
}

.ipd-profile__portrait figcaption {
	padding-block: 13px 0;
	color: #c6cdd1;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .025em;
	line-height: 1.4;
}

.ipd-profile__body {
	padding-block: clamp(68px, 8vw, 126px);
	background: #f7f5f1;
}

.ipd-profile__body-inner,
.ipd-profile__references-inner {
	display: grid;
	grid-template-columns: minmax(0, .34fr) minmax(0, .66fr);
	gap: clamp(46px, 8vw, 132px);
}

.ipd-profile__section-label {
	margin-block-end: 14px !important;
	color: #a11a2b !important;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.ipd-profile__body h2,
.ipd-profile__references h2,
.ipd-profile__related h2 {
	max-width: 13ch;
	margin: 0;
	font-size: clamp(32px, 3.25vw, 51px);
	line-height: 1.07;
	text-wrap: balance;
}

.ipd-profile__body-content {
	min-width: 0;
}

.ipd-profile__narrative p {
	max-width: 66ch;
	color: #27313a;
	font-size: clamp(18px, 1.55vw, 22px);
	line-height: 1.64;
}

.ipd-profile__narrative p + p {
	margin-block-start: 21px;
}

.ipd-profile__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(30px, 4vw, 64px);
	margin-block-start: clamp(42px, 5vw, 76px);
	border-block-start: 2px solid #262d33;
}

.ipd-profile__detail {
	padding-block: 27px 32px;
	border-block-end: 1px solid #c8c6c2;
}

.ipd-profile__detail h3 {
	margin-block-end: 14px;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: 0;
}

.ipd-profile__detail p,
.ipd-profile__detail li,
.ipd-profile__links a {
	color: #46515b;
	font-size: 16px;
	line-height: 1.55;
}

.ipd-profile__detail ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ipd-profile__detail li + li {
	margin-block-start: 7px;
}

.ipd-profile__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.ipd-profile__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #9d1628;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ipd-profile__links a:hover {
	color: #72121e;
}

.ipd-profile__references {
	padding-block: clamp(62px, 7vw, 108px);
	background: #e8eeec;
}

.ipd-profile__references p:not(.ipd-profile__section-label) {
	max-width: 30ch;
	margin-block-start: 17px;
	color: #48565b;
	font-size: 16px;
}

.ipd-profile__references ul {
	margin: 0;
	padding: 0;
	border-block-start: 2px solid #27383c;
	list-style: none;
}

.ipd-profile__references li {
	border-block-end: 1px solid #b9c7c5;
}

.ipd-profile__references li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 84px;
	padding-block: 17px;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 700;
	line-height: 1.4;
	transition: color 180ms ease, padding-inline 180ms ease;
}

.ipd-profile__references li a:hover {
	padding-inline: 7px;
	color: #ab2031;
}

.ipd-profile__references small {
	display: block;
	margin-block-start: 6px;
	color: #536367;
	font-size: 13px;
	font-weight: 500;
}

.ipd-profile__related {
	padding-block: clamp(70px, 8vw, 118px);
	background: #fff;
}

.ipd-profile__related-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-block-end: clamp(29px, 4vw, 57px);
}

.ipd-profile__related-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: #a51a2c;
	font-size: 16px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.ipd-profile__related-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
}

.ipd-profile__related-person {
	display: grid;
	grid-template-columns: 126px minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(17px, 2.1vw, 29px);
	min-width: 0;
	padding-block: 19px;
	border-block-start: 1px solid #c7cbd0;
	border-block-end: 1px solid #c7cbd0;
	transition: border-color 180ms ease, color 180ms ease;
}

.ipd-profile__related-person:hover {
	border-color: #af2334;
	color: #a71e30;
}

.ipd-profile__related-photo {
	display: block;
	width: 126px;
	aspect-ratio: 1;
	overflow: hidden;
	background: #e6e8e8;
}

.ipd-profile__related-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
}

.ipd-profile__related-copy {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.ipd-profile__related-copy strong {
	font-size: clamp(18px, 1.6vw, 23px);
	line-height: 1.22;
}

.ipd-profile__related-copy > span {
	color: #52606a;
	font-size: 15px;
	line-height: 1.42;
}

.ipd-profile__related-arrow {
	align-self: start;
	font-size: 23px;
	line-height: 1;
}

@media (max-width: 1023px) {
	.ipd-profile__hero-inner {
		gap: clamp(28px, 4vw, 50px);
	}

	.ipd-profile__hero h1 {
		font-size: clamp(48px, 6vw, 72px);
	}

	.ipd-profile__body-inner,
	.ipd-profile__references-inner {
		grid-template-columns: minmax(0, .36fr) minmax(0, .64fr);
		gap: 40px;
	}

	.ipd-profile__related-person {
		grid-template-columns: 94px minmax(0, 1fr) auto;
	}

	.ipd-profile__related-photo {
		width: 94px;
	}
}

@media (max-width: 767px) {
	/* Reserve the fixed SalesIQ button's edge so it never sits on profile copy. */
	.ipd-profile__intro,
	.ipd-profile__narrative,
	.ipd-profile__detail p,
	.ipd-profile__detail ul,
	.ipd-profile__links,
	.ipd-profile__references li a,
	.ipd-profile__related-person {
		box-sizing: border-box;
		padding-inline-end: 56px;
	}

	.ipd-profile__hero-inner,
	.ipd-profile__body-inner,
	.ipd-profile__references-inner,
	.ipd-profile__related-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ipd-profile__hero-inner {
		gap: 37px;
		padding-block: 30px 47px;
	}

	.ipd-profile__breadcrumb {
		margin-block-end: 48px;
	}

	.ipd-profile__hero h1 {
		max-width: none;
		font-size: clamp(48px, 12vw, 74px);
	}

	.ipd-profile__role {
		margin-block-start: 18px !important;
	}

	.ipd-profile__intro {
		margin-block-start: 23px !important;
	}

	.ipd-profile__portrait::before {
		inset: 10px -8px 46px 10px;
	}

	.ipd-profile__portrait-image {
		height: clamp(320px, 98vw, 520px) !important;
	}

	.ipd-profile__body,
	.ipd-profile__references,
	.ipd-profile__related {
		padding-block: 64px;
	}

	.ipd-profile__body-inner,
	.ipd-profile__references-inner {
		gap: 31px;
	}

	.ipd-profile__body h2,
	.ipd-profile__references h2,
	.ipd-profile__related h2 {
		max-width: 19ch;
		font-size: clamp(32px, 8vw, 45px);
	}

	.ipd-profile__details {
		margin-block-start: 40px;
	}

	.ipd-profile__related-heading {
		align-items: start;
		flex-direction: column;
	}

	.ipd-profile__related-list {
		gap: 0;
	}

	.ipd-profile__related-person {
		grid-template-columns: 100px minmax(0, 1fr) auto;
	}

	.ipd-profile__related-photo {
		width: 100px;
	}
}

@media (max-width: 520px) {
	.ipd-profile__details {
		grid-template-columns: minmax(0, 1fr);
	}

	.ipd-profile__related-person {
		grid-template-columns: 82px minmax(0, 1fr) auto;
		gap: 14px;
	}

	.ipd-profile__related-photo {
		width: 82px;
	}

	.ipd-profile__related-copy strong {
		font-size: 18px;
	}

	.ipd-profile__related-copy > span {
		font-size: 14px;
	}
}

@media (max-width: 380px) {
	.ipd-profile__related-person {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	.ipd-profile__related-photo {
		width: 72px;
	}

	.ipd-profile__related-copy strong {
		font-size: 16px;
	}

	.ipd-profile__related-copy > span {
		font-size: 12.5px;
	}

	.ipd-profile__related-arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ipd-profile__hero-link,
	.ipd-profile__links a,
	.ipd-profile__references li a,
	.ipd-profile__related-person {
		transition: none;
	}
}
