/* ==================================================
   Executive Medicine — Individual Assessment Hub
   ================================================== */

.em-hub-page,
.em-hub-page * {
	box-sizing: border-box;
}

.em-hub-page {
	overflow: hidden;
	color: #243642;
	background: #ffffff;
}

.em-hub-page a {
	text-underline-offset: 0.16em;
}

.em-hub-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

.em-hub-container-wide {
	max-width: 1220px;
}

/* Working-content notice */

.em-hub-notice {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 11px 24px;
	color: #344f5b;
	background: #eef4ee;
	border-top: 1px solid #cad8cd;
	border-bottom: 1px solid #cad8cd;
	font-size: 0.84rem;
	line-height: 1.5;
}

.em-hub-notice i {
	flex: 0 0 auto;
	margin-top: 0.2em;
	color: #49765a;
}

/* Shared typography */

.em-hub-eyebrow,
.em-hub-section-label,
.em-hub-card-number {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-hub-section-label {
	margin: 0 0 11px;
	color: #49765a;
}

.em-hub-section h2,
.em-hub-help h2 {
	margin: 0;
	color: #243642;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.13;
	text-wrap: balance;
}

.em-hub-section-header {
	max-width: 820px;
	margin: 0 auto 38px;
	text-align: center;
}

.em-hub-section-header > p:last-child {
	max-width: 740px;
	margin: 18px auto 0;
	color: #586970;
	font-size: 1.03rem;
	line-height: 1.7;
}

/* Hero */

.em-hub-hero {
	position: relative;
	padding: 84px 30px 88px;
	overflow: hidden;
	color: #fffaf0;
	background: #243642;
	border-bottom: 4px solid #86bf96;
}

.em-hub-hero::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -160px;
	width: 460px;
	height: 460px;
	border: 1px solid rgba(134, 191, 150, 0.15);
	border-radius: 50%;
	pointer-events: none;
}

.em-hub-hero::after {
	content: "";
	position: absolute;
	right: -55px;
	bottom: -240px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(208, 164, 95, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.em-hub-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 970px;
	margin: 0 auto;
	text-align: center;
}

.em-hub-eyebrow {
	margin: 0 0 17px;
	color: #a9d3b4;
}

.em-hub-hero h1 {
	max-width: 920px;
	margin: 0 auto;
	color: #fffaf0;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(2.75rem, 5.2vw, 4.55rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.04;
	text-wrap: balance;
}

.em-hub-hero-copy {
	max-width: 800px;
	margin: 28px auto 0;
	color: rgba(255, 250, 240, 0.9);
	font-size: 1.04rem;
	line-height: 1.72;
}

.em-hub-hero-copy p {
	margin: 0;
}

.em-hub-hero-copy p + p {
	margin-top: 13px;
}

.em-hub-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 13px;
	margin-top: 32px;
}

.em-hub-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 49px;
	padding: 12px 24px;
	border: 1px solid transparent;
	text-decoration: none;
	font-size: 0.93rem;
	font-weight: 700;
	line-height: 1.2;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.em-hub-button-primary {
	color: #17303a;
	background: #a9d3b4;
	border-color: #a9d3b4;
}

.em-hub-button-primary:hover,
.em-hub-button-primary:focus-visible {
	color: #17303a;
	background: #c1dfc8;
	border-color: #c1dfc8;
	transform: translateY(-1px);
}

.em-hub-button-secondary {
	color: #fffaf0;
	background: transparent;
	border-color: rgba(255, 250, 240, 0.62);
}

.em-hub-button-secondary:hover,
.em-hub-button-secondary:focus-visible {
	color: #243642;
	background: #fffaf0;
	border-color: #fffaf0;
	transform: translateY(-1px);
}

.em-hub-button:focus-visible,
.em-hub-card-link:focus-visible,
.em-hub-comparison-table a:focus-visible,
.em-hub-return a:focus-visible {
	outline: 3px solid #86bf96;
	outline-offset: 3px;
}

/* Standard sections */

.em-hub-section {
	padding: 78px 30px 82px;
}

/* Approach */

.em-hub-approach {
	background: #f7f5ef;
}

.em-hub-approach-grid {
	display: grid;
	grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
	gap: 54px;
	align-items: center;
}

.em-hub-approach-copy h2 {
	max-width: 650px;
	margin-bottom: 24px;
}

.em-hub-approach-copy > p:not(.em-hub-section-label) {
	margin: 0;
	color: #52656d;
	font-size: 1rem;
	line-height: 1.72;
}

.em-hub-approach-copy > p + p:not(.em-hub-section-label) {
	margin-top: 17px;
}

.em-hub-approach-image {
	margin: 0;
	background: #e7ece6;
	border: 1px solid rgba(36, 54, 66, 0.14);
	box-shadow: 0 14px 34px rgba(36, 54, 66, 0.1);
}

.em-hub-approach-image img {
	display: block;
	width: 100%;
	height: auto;
}

.em-hub-outcomes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 52px;
	border-top: 1px solid #cad8cd;
	border-bottom: 1px solid #cad8cd;
}

.em-hub-outcome {
	position: relative;
	padding: 27px 28px 29px;
}

.em-hub-outcome + .em-hub-outcome {
	border-left: 1px solid #cad8cd;
}

.em-hub-outcome-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 14px;
	color: #49765a;
	background: #e2ece3;
	border-radius: 50%;
	font-size: 0.88rem;
}

.em-hub-outcome h3 {
	margin: 0 0 9px;
	color: #243642;
	font-size: 1.07rem;
	font-weight: 700;
	line-height: 1.35;
}

.em-hub-outcome p {
	margin: 0;
	color: #586970;
	font-size: 0.93rem;
	line-height: 1.58;
}

.em-hub-annual-note {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	max-width: 920px;
	margin: 34px auto 0;
	padding: 20px 23px;
	color: #445b64;
	background: rgba(255, 255, 255, 0.62);
	border-left: 3px solid #86bf96;
}

.em-hub-annual-note i {
	flex: 0 0 auto;
	margin-top: 0.22em;
	color: #49765a;
}

.em-hub-annual-note p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
}

/* Assessment cards */

.em-hub-options-section {
	background: #ffffff;
}

.em-hub-assessment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.em-hub-assessment-card {
	--em-card-accent: #86bf96;
	--em-card-accent-dark: #49765a;

	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 34px 30px 31px;
	background: #faf9f5;
	border: 1px solid rgba(36, 54, 66, 0.16);
	box-shadow: 0 10px 28px rgba(36, 54, 66, 0.055);
}

.em-hub-assessment-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 34px 30px 31px;
	background: #faf9f5;
	border: 1px solid rgba(36, 54, 66, 0.16);
	box-shadow: 0 10px 28px rgba(36, 54, 66, 0.055);
}

.em-hub-assessment-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: 4px;
	background: var(--em-card-accent);
}

.em-hub-assessment-card-signature {
	--em-card-accent: #6fa9b2;
	--em-card-accent-dark: #4f7f88;
}

.em-hub-assessment-card-foresight {
	--em-card-accent: #b18a55;
	--em-card-accent-dark: #7b5d35;
}

.em-hub-card-number {
	margin: 0 0 12px;
	color: var(--em-card-accent-dark);
}

.em-hub-card-heading h3 {
	margin: 0;
	color: #243642;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(1.55rem, 2vw, 1.88rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.17;
}

.em-hub-card-descriptor {
	margin: 10px 0 0;
	color: #49765a;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-hub-card-summary {
	margin: 22px 0 0;
	color: #50636b;
	font-size: 0.96rem;
	line-height: 1.62;
}

.em-hub-includes-line {
	margin: 20px 0 0;
	color: #243642;
	font-size: 0.91rem;
	font-weight: 700;
	line-height: 1.5;
}

.em-hub-feature-list {
	margin: 21px 0 25px;
	padding: 0;
	list-style: none;
}

.em-hub-feature-list li {
	position: relative;
	margin: 0;
	padding-left: 21px;
	color: #52656d;
	font-size: 0.91rem;
	line-height: 1.55;
}

.em-hub-feature-list li + li {
	margin-top: 10px;
}

.em-hub-feature-list li::before {
	content: "";
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 7px;
	height: 7px;
	background: var(--em-card-accent);
	border-radius: 50%;
}

.em-hub-card-facts {
	margin: auto 0 24px;
	padding-top: 20px;
	border-top: 1px solid #d7dfd7;
}

.em-hub-card-facts div + div {
	margin-top: 13px;
}

.em-hub-card-facts dt {
	margin: 0 0 3px;
	color: #243642;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.em-hub-card-facts dd {
	margin: 0;
	color: #586970;
	font-size: 0.91rem;
	line-height: 1.45;
}

.em-hub-card-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	min-height: 47px;
	padding: 11px 17px;
	color: #ffffff;
	background: #243642;
	border: 1px solid #243642;
	text-decoration: none;
	font-size: 0.91rem;
	font-weight: 700;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.em-hub-card-link:hover,
.em-hub-card-link:focus-visible {
	color: #ffffff;
	bbackground: var(--em-card-accent-dark);
    border-color: var(--em-card-accent-dark);
	transform: translateY(-1px);
}

/* Comparison */

.em-hub-comparison-section {
	background: #f5f7f2;
}

.em-hub-working-note {
	max-width: 920px;
	margin: 0 auto 22px;
	padding: 13px 17px;
	color: #445b64;
	background: #fffaf0;
	border-left: 3px solid #a98145;
	font-size: 0.88rem;
	line-height: 1.55;
}

.em-hub-table-wrap {
	width: 100%;
	overflow-x: auto;
	background: #ffffff;
	border: 1px solid #cad8cd;
	box-shadow: 0 10px 28px rgba(36, 54, 66, 0.06);
}

.em-hub-comparison-notes {
	margin-top: 14px;
	color: #586970;
	font-size: 0.84rem;
	line-height: 1.5;
}

.em-hub-comparison-notes p {
	margin: 4px 0 0;
}

.em-hub-comparison-table {
	width: 100%;
	min-width: 850px;
	border-collapse: collapse;
	color: #344a54;
	font-size: 0.89rem;
	line-height: 1.45;
}

.em-hub-comparison-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.em-hub-comparison-table th,
.em-hub-comparison-table td {
	padding: 14px 16px;
	border-bottom: 1px solid #dce5dd;
	vertical-align: middle;
}

.em-hub-comparison-table thead th {
	color: #fffaf0;
	background: #243642;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-align: center;
}

.em-hub-comparison-table thead th:first-child {
	width: 37%;
	text-align: left;
}

.em-hub-comparison-table thead a {
	color: #fffaf0;
	text-decoration-color: rgba(255, 250, 240, 0.48);
}

.em-hub-comparison-table tbody th {
	color: #243642;
	background: #fbfaf7;
	font-weight: 600;
	text-align: left;
}

.em-hub-comparison-table tbody td {
	text-align: center;
}

.em-hub-comparison-table tbody tr:nth-child(even) td {
	background: #fafcf9;
}

.em-hub-comparison-table tbody tr:last-child th,
.em-hub-comparison-table tbody tr:last-child td {
	border-bottom: 0;
}

.em-status {
	display: inline-block;
	max-width: 150px;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: 0.77rem;
	font-weight: 700;
	line-height: 1.3;
}

.em-status-included {
	color: #315f42;
	background: #e2f0e5;
}

.em-status-optional {
	color: #725122;
	background: #f5ead8;
}

.em-status-not-included {
	color: #68777d;
	background: #eef1f1;
}

.em-status-tbc {
	color: #5d536c;
	background: #eee9f3;
}

/* Optional enhancements */

.em-hub-enhancements-section {
	background: #ffffff;
}

.em-hub-enhancement-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.em-hub-enhancement-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	column-gap: 17px;
	padding: 26px 28px;
	background: #faf9f5;
	border: 1px solid rgba(36, 54, 66, 0.14);
}

.em-hub-enhancement-icon {
	grid-row: 1 / span 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #49765a;
	background: #e2ece3;
	border-radius: 50%;
	font-size: 0.98rem;
}

.em-hub-enhancement-card h3 {
	margin: 0 0 8px;
	color: #243642;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
}

.em-hub-enhancement-card > p {
	margin: 0 0 17px;
	color: #586970;
	font-size: 0.92rem;
	line-height: 1.58;
}

.em-hub-enhancement-card dl {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid #d7dfd7;
}

.em-hub-enhancement-card dl div {
	display: grid;
	grid-template-columns: 115px minmax(0, 1fr);
	gap: 9px;
}

.em-hub-enhancement-card dl div + div {
	margin-top: 7px;
}

.em-hub-enhancement-card dt,
.em-hub-enhancement-card dd {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.45;
}

.em-hub-enhancement-card dt {
	color: #243642;
	font-weight: 700;
}

.em-hub-enhancement-card dd {
	color: #586970;
}

.em-hub-clinical-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	max-width: 900px;
	margin: 28px auto 0;
	padding: 17px 20px;
	color: #445b64;
	background: #eef4ee;
	border-left: 3px solid #86bf96;
	font-size: 0.91rem;
	line-height: 1.58;
}

.em-hub-clinical-note i {
	flex: 0 0 auto;
	margin-top: 0.2em;
	color: #49765a;
}

/* Help choosing */

.em-hub-help {
	padding: 72px 30px 76px;
	color: #fffaf0;
	background: #243642;
	text-align: center;
}

.em-hub-help-inner {
	max-width: 820px;
	margin: 0 auto;
}

.em-hub-help .em-hub-section-label {
	color: #a9d3b4;
}

.em-hub-help h2 {
	color: #fffaf0;
}

.em-hub-help-inner > p:not(.em-hub-section-label) {
	max-width: 720px;
	margin: 20px auto 0;
	color: rgba(255, 250, 240, 0.88);
	font-size: 1rem;
	line-height: 1.7;
}

.em-hub-return {
	padding: 20px 24px 22px;
	background: #f7f5ef;
	text-align: center;
}

.em-hub-return a {
	color: #3f6d51;
	font-size: 0.9rem;
	font-weight: 700;
}

/* ==================================================
   Tablet
   ================================================== */

@media (max-width: 980px) {
	.em-hub-hero {
		padding: 74px 25px 78px;
	}

	.em-hub-section {
		padding: 68px 24px 72px;
	}

	.em-hub-approach-grid {
		grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
		gap: 38px;
	}

	.em-hub-assessment-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		max-width: 760px;
		margin: 0 auto;
	}

	.em-hub-assessment-card {
		padding: 32px;
	}

	.em-hub-feature-list {
		margin-bottom: 24px;
	}
}

/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 760px) {
	.em-hub-notice {
		justify-content: flex-start;
		padding: 11px 16px;
		font-size: 0.8rem;
	}

	.em-hub-hero {
		padding: 58px 18px 62px;
	}

	.em-hub-hero::before,
	.em-hub-hero::after {
		display: none;
	}

	.em-hub-eyebrow {
		margin-bottom: 14px;
		font-size: 0.72rem;
	}

	.em-hub-hero h1 {
		font-size: clamp(2.25rem, 10.5vw, 3.15rem);
		line-height: 1.06;
	}

	.em-hub-hero-copy {
		margin-top: 24px;
		font-size: 0.97rem;
		line-height: 1.66;
	}

	.em-hub-actions {
		flex-direction: column;
		align-items: stretch;
		max-width: 390px;
		margin: 28px auto 0;
	}

	.em-hub-button {
		width: 100%;
	}

	.em-hub-section {
		padding: 58px 18px 62px;
	}

	.em-hub-section h2,
	.em-hub-help h2 {
		font-size: clamp(1.95rem, 8.5vw, 2.55rem);
		line-height: 1.14;
	}

	.em-hub-section-header {
		margin-bottom: 30px;
	}

	.em-hub-section-header > p:last-child {
		margin-top: 15px;
		font-size: 0.97rem;
		line-height: 1.65;
	}

	.em-hub-approach-grid {
		grid-template-columns: 1fr;
		gap: 29px;
	}

	.em-hub-approach-copy h2 {
		margin-bottom: 20px;
	}

	.em-hub-approach-copy > p:not(.em-hub-section-label) {
		font-size: 0.97rem;
		line-height: 1.66;
	}

	.em-hub-approach-image {
		max-width: 620px;
		margin: 0 auto;
	}

	.em-hub-outcomes {
		grid-template-columns: 1fr;
		margin-top: 36px;
	}

	.em-hub-outcome {
		display: grid;
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 14px;
		padding: 22px 4px 23px;
	}

	.em-hub-outcome + .em-hub-outcome {
		border-top: 1px solid #cad8cd;
		border-left: 0;
	}

	.em-hub-outcome-icon {
		grid-row: 1 / span 2;
		margin: 0;
	}

	.em-hub-annual-note {
		margin-top: 28px;
		padding: 18px;
	}

	.em-hub-assessment-card {
		padding: 30px 24px 27px;
	}

	.em-hub-card-heading h3 {
		font-size: 1.7rem;
	}

	/*
	 * Each comparison area becomes its own readable panel.
	 * Assessment names are repeated from data-label attributes.
	 */

	.em-hub-table-wrap {
		overflow: visible;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.em-hub-comparison-table,
	.em-hub-comparison-table tbody,
	.em-hub-comparison-table tr,
	.em-hub-comparison-table th,
	.em-hub-comparison-table td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.em-hub-comparison-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.em-hub-comparison-table tbody tr {
		margin-bottom: 14px;
		background: #ffffff;
		border: 1px solid #cad8cd;
		box-shadow: 0 6px 16px rgba(36, 54, 66, 0.045);
	}

	.em-hub-comparison-table tbody th {
		padding: 15px 16px;
		background: #243642;
		color: #fffaf0;
		border: 0;
		font-size: 0.92rem;
		line-height: 1.45;
	}

	.em-hub-comparison-table tbody td,
	.em-hub-comparison-table tbody tr:nth-child(even) td {
		display: grid;
		grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
		gap: 12px;
		padding: 11px 16px;
		background: #ffffff;
		border-bottom: 1px solid #e2e8e3;
		text-align: right;
	}

	.em-hub-comparison-table tbody td::before {
		content: attr(data-label);
		color: #243642;
		font-size: 0.84rem;
		font-weight: 700;
		text-align: left;
	}

	.em-hub-comparison-table tbody td:last-child {
		border-bottom: 0;
	}

	.em-status {
		justify-self: end;
		max-width: 165px;
		text-align: center;
	}

	.em-hub-enhancement-grid {
		grid-template-columns: 1fr;
	}

	.em-hub-enhancement-card {
		padding: 23px 21px;
	}

	.em-hub-help {
		padding: 58px 18px 62px;
	}

	.em-hub-help-inner > p:not(.em-hub-section-label) {
		font-size: 0.97rem;
		line-height: 1.65;
	}
}

/* ==================================================
   Narrow mobile
   ================================================== */

@media (max-width: 460px) {
	.em-hub-hero,
	.em-hub-section,
	.em-hub-help {
		padding-right: 16px;
		padding-left: 16px;
	}

	.em-hub-card-heading h3 {
		font-size: 1.58rem;
	}

	.em-hub-comparison-table tbody td,
	.em-hub-comparison-table tbody tr:nth-child(even) td {
		grid-template-columns: 1fr;
		gap: 6px;
		text-align: left;
	}

	.em-status {
		justify-self: start;
	}

	.em-hub-enhancement-card {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 13px;
		padding: 22px 18px;
	}

	.em-hub-enhancement-icon {
		width: 36px;
		height: 36px;
	}

	.em-hub-enhancement-card dl div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
	.em-hub-button,
	.em-hub-card-link {
		transition: none;
	}
}
