/* agent-profile.css — canonical profile page for agents with no captured live page.
   Matches the site's text/heading rhythm and brand colours so the page reads as native. */

.agent-profile {
	background: #fff;
	/* Clear the fixed navbar (~73px) so the breadcrumb is not tucked underneath. */
	padding: 112px 0 72px;
}

.agent-profile-shell {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.agent-profile-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 28px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 0.82rem;
	color: var(--body-display);
}

.agent-profile-breadcrumb a {
	color: var(--cb-blue);
	text-decoration: none;
}

.agent-profile-breadcrumb a:hover {
	text-decoration: underline;
}

.agent-profile-breadcrumb [aria-current="page"] {
	color: var(--body-display);
}

.agent-profile-hero {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 44px;
	align-items: start;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--dark-outline);
}

.agent-profile-media {
	width: 100%;
}

.agent-profile-photo {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 16px;
	background: var(--pin-stripe);
}

.agent-profile-photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 2.6rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--body-display);
}

.agent-profile-h1 {
	margin: 0 0 8px;
	font-family: "Geometos Neue", Georgia, sans-serif;
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--cb-blue);
}

.agent-profile-role {
	margin: 0 0 6px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--dark);
}

.agent-profile-designation {
	margin: 0 0 22px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--body-display);
}

.agent-profile-contact {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.agent-profile-contact li {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 0.92rem;
}

.agent-profile-label {
	min-width: 72px;
	font-weight: 600;
	color: var(--body-display);
}

.agent-profile-value {
	color: var(--cb-blue);
	text-decoration: none;
	word-break: break-word;
}

.agent-profile-value:hover {
	text-decoration: underline;
}

.agent-profile-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.agent-profile-social {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--dark-outline);
	border-radius: 10px;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--cb-blue);
	text-decoration: none;
}

.agent-profile-social:hover {
	border-color: var(--cb-blue);
	background: var(--pin-stripe);
}

.agent-profile-section {
	margin-top: 44px;
}

.agent-profile-h2 {
	margin: 0 0 16px;
	font-family: "Geometos Neue", Georgia, sans-serif;
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--cb-blue);
}

.agent-profile-bio-p {
	margin: 0 0 14px;
	max-width: 74ch;
	font-family: "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--dark);
}

.agent-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 22px;
}

.agent-profile-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 30px;
	border-radius: 10px;
	background: var(--cb-blue);
	font-family: "Helvetica Neue", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.agent-profile-button:hover {
	background: #0a2f86;
}

.agent-profile-button--ghost {
	background: transparent;
	border: 1px solid var(--cb-blue);
	color: var(--cb-blue);
}

.agent-profile-button--ghost:hover {
	background: var(--pin-stripe);
}

.agent-profile-button:focus-visible,
.agent-profile-social:focus-visible,
.agent-profile-value:focus-visible,
.agent-profile-breadcrumb a:focus-visible {
	outline: 3px solid var(--cb-light-blue);
	outline-offset: 2px;
}

@media screen and (max-width: 900px) {
	.agent-profile-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.agent-profile-media {
		max-width: 260px;
	}
}

@media screen and (max-width: 640px) {
	.agent-profile {
		padding: 96px 0 56px;
	}

	.agent-profile-shell {
		width: min(1180px, calc(100% - 32px));
	}

	.agent-profile-label {
		min-width: 100%;
	}

	.agent-profile-actions .agent-profile-button {
		width: 100%;
	}
}

@media screen and (prefers-reduced-motion: no-preference) {
	.agent-profile-button,
	.agent-profile-social {
		transition: background-color 0.16s ease, border-color 0.16s ease;
	}
}
