/* ==================================================
   Why Choose Executive Medicine
   Page-specific styles only
   ================================================== */

.em-why-page,
.em-why-page * {
	box-sizing: border-box;
}

.page-card.em-why-page {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
}

.em-why-page {
	--em-why-navy: #243642;
	--em-why-navy-deep: #1b2d37;
	--em-why-green: #49765a;
	--em-why-green-light: #86bf96;
	--em-why-green-pale: #e4eee5;
	--em-why-cream: #f7f5ef;
	--em-why-cream-deep: #efede5;
	--em-why-gold: #a98145;
	--em-why-body: #4f626b;
	--em-why-line: #cad8cd;
	color: var(--em-why-body);
	background: #ffffff;
}

.em-why-page main {
	display: block;
}

.em-why-page h1,
.em-why-page h2,
.em-why-page h3,
.em-why-page p,
.em-why-page figure,
.em-why-page blockquote {
	margin-top: 0;
}

.em-why-page h1,
.em-why-page h2,
.em-why-page h3 {
	color: var(--em-why-navy);
}

.em-why-page h1,
.em-why-page h2 {
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-weight: 500;
	letter-spacing: -0.025em;
}

.em-why-container {
	width: min(100% - 60px, 1180px);
	margin: 0 auto;
}

.em-why-section {
	padding: 92px 0;
}

.em-why-eyebrow {
	margin-bottom: 13px;
	color: var(--em-why-green);
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.45;
	text-transform: uppercase;
}

.em-why-eyebrow-light {
	color: #b9d7bd;
}

.em-why-section-heading h2,
.em-why-centered-heading h2,
.em-why-human-copy h2,
.em-why-organisations-heading h2,
.em-why-established-copy h2,
.em-why-final h2 {
	margin-bottom: 0;
	font-size: clamp(2.15rem, 3.5vw, 3.45rem);
	line-height: 1.12;
	text-wrap: balance;
}

.em-why-prose p,
.em-why-established-copy > p,
.em-why-team-detail > p,
.em-why-organisations-heading > div > p {
	margin-bottom: 18px;
	font-size: 1rem;
	line-height: 1.75;
}

.em-why-prose p:last-child,
.em-why-established-copy > p:last-child,
.em-why-team-detail > p:last-of-type,
.em-why-organisations-heading > div > p:last-of-type {
	margin-bottom: 0;
}

/* ==================================================
   Hero
   ================================================== */

.em-why-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 720px;
	padding: 130px 30px 104px;
	background:
		linear-gradient(90deg, rgba(18, 38, 48, 0.89), rgba(18, 38, 48, 0.7)),
		url("https://www.executivemedicine.com.au/wp-content/uploads/2026/02/BliRuKi-1.webp") center 45% / cover no-repeat;
	isolation: isolate;
}

.em-why-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: auto 0 0;
	height: 4px;
	background: var(--em-why-green-light);
}

.em-why-hero-inner {
	width: min(100%, 990px);
	text-align: center;
}

.em-why-hero h1 {
	margin-bottom: 24px;
	color: #fffdf7;
	font-size: clamp(3.15rem, 6vw, 5.5rem);
	line-height: 1.02;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
	text-wrap: balance;
}

.em-why-hero-statement {
	max-width: 850px;
	margin: 0 auto 27px;
	color: #f5f0e5;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 400;
	line-height: 1.35;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
	text-wrap: balance;
}

.em-why-hero-copy {
	max-width: 790px;
	margin: 0 auto;
}

.em-why-hero-copy p {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.94);
	font-size: 1rem;
	line-height: 1.7;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.em-why-hero-copy p:last-child {
	margin-bottom: 0;
}

/* ==================================================
   Buttons and links
   ================================================== */

.em-why-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.em-why-hero-actions {
	margin-top: 34px;
}

.em-why-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 23px;
	border: 1px solid transparent;
	text-align: center;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.em-why-button:hover {
	transform: translateY(-1px);
}

.em-why-button:focus-visible,
.em-why-text-link:focus-visible,
.em-why-logo-viewport:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.7);
	outline-offset: 4px;
}

.em-why-button-primary {
	color: #ffffff;
	background: var(--em-why-green);
	border-color: var(--em-why-green);
}

.em-why-button-primary:hover,
.em-why-button-primary:focus-visible {
	color: #ffffff;
	background: #3c654c;
	border-color: #3c654c;
}

.em-why-button-outline-light {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.7);
}

.em-why-button-outline-light:hover,
.em-why-button-outline-light:focus-visible {
	color: var(--em-why-navy);
	background: #ffffff;
	border-color: #ffffff;
}

.em-why-button-light {
	color: var(--em-why-navy);
	background: #ffffff;
	border-color: #ffffff;
}

.em-why-button-light:hover,
.em-why-button-light:focus-visible {
	color: var(--em-why-navy);
	background: var(--em-why-cream);
	border-color: var(--em-why-cream);
}

.em-why-text-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--em-why-green);
	text-decoration: none;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.45;
}

.em-why-text-link:hover {
	color: var(--em-why-navy);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.em-why-text-link i {
	font-size: 0.78rem;
}

.em-why-new-window {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ==================================================
   Introductory section
   ================================================== */

.em-why-intro {
	background: #ffffff;
}

.em-why-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: 64px;
	align-items: start;
}

.em-why-intro .em-why-section-heading {
	position: relative;
	padding-top: 23px;
}

.em-why-intro .em-why-section-heading::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 58px;
	height: 2px;
	background: var(--em-why-green-light);
}

/* ==================================================
   Reasons
   ================================================== */

.em-why-reasons {
	background: var(--em-why-cream);
	border-top: 1px solid rgba(36, 54, 66, 0.08);
	border-bottom: 1px solid rgba(36, 54, 66, 0.08);
}

.em-why-centered-heading {
	max-width: 850px;
	margin: 0 auto 48px;
	text-align: center;
}

.em-why-reason-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.em-why-reason {
	position: relative;
	min-width: 0;
	padding: 31px 28px 30px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(73, 118, 90, 0.18);
}

.em-why-reason::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 48px;
	height: 2px;
	background: var(--em-why-green-light);
}

.em-why-reason-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 21px;
	color: var(--em-why-green);
	background: var(--em-why-green-pale);
	border: 1px solid rgba(73, 118, 90, 0.12);
	border-radius: 50%;
	font-size: 1rem;
}

.em-why-reason h3 {
	margin-bottom: 12px;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: 1.34rem;
	font-weight: 600;
	line-height: 1.28;
}

.em-why-reason p {
	margin-bottom: 0;
	font-size: 0.96rem;
	line-height: 1.65;
}

/* ==================================================
   Human relevance
   ================================================== */

.em-why-human {
	padding: 0;
	background: #ffffff;
}

.em-why-human-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
	min-height: 600px;
}

.em-why-human-copy {
	align-self: center;
	width: min(100%, 690px);
	margin-left: auto;
	padding: 88px 70px 88px 30px;
}

.em-why-human-copy h2 {
	margin-bottom: 29px;
}

.em-why-human-figure {
	min-height: 600px;
	margin: 0;
	overflow: hidden;
	background: var(--em-why-green-pale);
}

.em-why-human-figure img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 600px;
	object-fit: cover;
	object-position: center center;
}

/* ==================================================
   Established and independent
   ================================================== */

.em-why-established {
	padding: 92px 0;
	color: rgba(255, 255, 255, 0.88);
	background:
		radial-gradient(circle at 88% 18%, rgba(134, 191, 150, 0.13), transparent 30%),
		var(--em-why-navy);
}

.em-why-established-grid {
	display: grid;
	grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
	gap: 72px;
	align-items: center;
}

.em-why-established-mark {
	display: flex;
	min-height: 280px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	text-align: center;
}

.em-why-established-mark span {
	color: #b9d7bd;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.em-why-established-mark strong {
	display: block;
	margin-top: 9px;
	color: #fffdf7;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(4.5rem, 8vw, 7rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1;
}

.em-why-established-copy h2 {
	margin-bottom: 27px;
	color: #fffdf7;
}

.em-why-established-copy > p {
	color: rgba(255, 255, 255, 0.86);
}

/* ==================================================
   Clinical team
   ================================================== */

.em-why-team {
	background: #ffffff;
}

.em-why-team-figure {
	width: 100%;
	margin: 0 0 52px;
	background: var(--em-why-cream-deep);
}

.em-why-team-figure img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.em-why-team-copy {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	gap: 64px;
	align-items: start;
}

.em-why-team-detail .em-why-text-link {
	margin-top: 23px;
}

/* ==================================================
   Trusted organisations
   ================================================== */

.em-why-organisations {
	padding-bottom: 78px;
	background: var(--em-why-cream);
	border-top: 1px solid rgba(36, 54, 66, 0.08);
	border-bottom: 1px solid rgba(36, 54, 66, 0.08);
}

.em-why-organisations-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 64px;
	align-items: start;
	margin-bottom: 48px;
}

.em-why-organisations-heading .em-why-text-link {
	margin-top: 8px;
}

.em-why-logo-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-top: 1px solid var(--em-why-line);
	border-bottom: 1px solid var(--em-why-line);
	background: rgba(255, 255, 255, 0.64);
}

.em-why-logo-viewport::before,
.em-why-logo-viewport::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	width: 70px;
	pointer-events: none;
}

.em-why-logo-viewport::before {
	left: 0;
	background: linear-gradient(90deg, var(--em-why-cream), rgba(247, 245, 239, 0));
}

.em-why-logo-viewport::after {
	right: 0;
	background: linear-gradient(270deg, var(--em-why-cream), rgba(247, 245, 239, 0));
}

.em-why-logo-track {
	display: flex;
	width: max-content;
	animation: em-why-logo-scroll 42s linear infinite;
}

.em-why-logo-viewport:hover .em-why-logo-track,
.em-why-logo-viewport:focus .em-why-logo-track,
.em-why-logo-viewport:focus-within .em-why-logo-track {
	animation-play-state: paused;
}

.em-why-logo-group {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 24px 24px 0;
}

.em-why-logo {
	display: flex;
	width: 170px;
	height: 82px;
	flex: 0 0 170px;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	background: #ffffff;
	border: 1px solid rgba(36, 54, 66, 0.1);
}

.em-why-logo img {
	display: block;
	max-width: 100%;
	max-height: 54px;
	width: auto;
	height: auto;
}

@keyframes em-why-logo-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* ==================================================
   Client experiences
   ================================================== */

.em-why-reviews {
	background: #ffffff;
}

.em-why-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	color: var(--em-why-navy);
	font-size: 0.94rem;
	font-weight: 700;
}

.em-why-rating-stars {
	display: inline-flex;
	gap: 3px;
	color: var(--em-why-gold);
	font-size: 0.76rem;
}

.em-why-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.em-why-review {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	margin: 0;
	padding: 30px 27px 27px;
	background: #f8faf6;
	border-top: 3px solid var(--em-why-green-light);
}

.em-why-review blockquote {
	position: relative;
	flex-grow: 1;
	margin: 0;
	padding-top: 24px;
}

.em-why-review blockquote::before {
	content: "“";
	position: absolute;
	top: -9px;
	left: 0;
	color: var(--em-why-green);
	font-family: Georgia, serif;
	font-size: 2.7rem;
	line-height: 1;
}

.em-why-review blockquote p {
	margin-bottom: 22px;
	color: var(--em-why-body);
	font-size: 0.94rem;
	line-height: 1.65;
}

.em-why-review figcaption {
	padding-top: 16px;
	color: var(--em-why-navy);
	border-top: 1px solid var(--em-why-line);
	font-size: 0.88rem;
	font-weight: 700;
}

.em-why-centered-action {
	margin-top: 34px;
	text-align: center;
}

/* ==================================================
   Final decision section
   ================================================== */

.em-why-final {
	padding: 88px 30px 94px;
	color: rgba(255, 255, 255, 0.88);
	background: var(--em-why-navy-deep);
	text-align: center;
}

.em-why-final-inner {
	max-width: 930px;
	margin: 0 auto;
}

.em-why-final h2 {
	color: #fffdf7;
}

.em-why-final p {
	max-width: 760px;
	margin: 23px auto 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1rem;
	line-height: 1.72;
}

.em-why-final-actions {
	margin-top: 32px;
}

/* ==================================================
   Tablet
   ================================================== */

@media (max-width: 980px) {
	.em-why-section {
		padding: 76px 0;
	}

	.em-why-hero {
		min-height: 680px;
		padding: 122px 26px 88px;
	}

	.em-why-intro-grid,
	.em-why-team-copy,
	.em-why-organisations-heading {
		gap: 44px;
	}

	.em-why-reason-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.em-why-human-grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		min-height: 0;
	}

	.em-why-human-copy {
		padding: 76px 45px 76px 24px;
	}

	.em-why-human-figure,
	.em-why-human-figure img {
		min-height: 610px;
	}

	.em-why-established-grid {
		grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1.4fr);
		gap: 50px;
	}

}

/* ==================================================
   Mobile
   ================================================== */

@media (max-width: 760px) {
	.em-why-container {
		width: min(100% - 36px, 1180px);
	}

	.em-why-section {
		padding: 62px 0;
	}

	.em-why-hero {
		min-height: 650px;
		padding: 106px 18px 70px;
		background-position: 57% center;
	}

	.em-why-hero h1 {
		margin-bottom: 21px;
		font-size: clamp(2.65rem, 12vw, 3.8rem);
		line-height: 1.05;
	}

	.em-why-hero-statement {
		font-size: clamp(1.25rem, 5.6vw, 1.58rem);
		line-height: 1.38;
	}

	.em-why-hero-copy p {
		font-size: 0.96rem;
		line-height: 1.62;
	}

	.em-why-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.em-why-button {
		width: 100%;
	}

	.em-why-section-heading h2,
	.em-why-centered-heading h2,
	.em-why-human-copy h2,
	.em-why-organisations-heading h2,
	.em-why-established-copy h2,
	.em-why-final h2 {
		font-size: clamp(2rem, 9vw, 2.65rem);
		line-height: 1.14;
	}

	.em-why-intro-grid,
	.em-why-team-copy,
	.em-why-organisations-heading,
	.em-why-established-grid {
		grid-template-columns: 1fr;
		gap: 31px;
	}

	.em-why-centered-heading {
		margin-bottom: 34px;
	}

	.em-why-reason-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.em-why-reason {
		padding: 27px 24px 26px;
	}

	.em-why-human-grid {
		grid-template-columns: 1fr;
	}

	.em-why-human-copy {
		width: 100%;
		padding: 62px 18px 42px;
	}

	.em-why-human-copy h2 {
		margin-bottom: 25px;
	}

	.em-why-human-figure {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.em-why-human-figure img {
		min-height: 0;
		aspect-ratio: 16 / 10;
		object-position: center center;
	}

	.em-why-established {
		padding: 62px 0;
	}

	.em-why-established-mark {
		min-height: 190px;
	}

	.em-why-established-mark strong {
		font-size: clamp(4.2rem, 22vw, 6rem);
	}

	.em-why-team-figure {
		margin-bottom: 36px;
	}

	.em-why-organisations {
		padding-bottom: 58px;
	}

	.em-why-organisations-heading {
		margin-bottom: 34px;
	}

	.em-why-logo-viewport::before,
	.em-why-logo-viewport::after {
		width: 35px;
	}

	.em-why-logo-group {
		gap: 14px;
		padding: 18px 14px 18px 0;
	}

	.em-why-logo {
		width: 145px;
		height: 72px;
		flex-basis: 145px;
		padding: 10px 14px;
	}

	.em-why-logo img {
		max-height: 46px;
	}

	.em-why-review-grid {
		grid-template-columns: 1fr;
	}

	.em-why-review {
		min-height: 0;
		padding: 27px 23px 24px;
	}

	.em-why-final {
		padding: 66px 18px 72px;
	}
}

/* ==================================================
   Narrow mobile
   ================================================== */

@media (max-width: 460px) {
	.em-why-hero {
		min-height: 680px;
	}

	.em-why-hero-actions {
		margin-top: 28px;
	}

	.em-why-prose p,
	.em-why-established-copy > p,
	.em-why-team-detail > p,
	.em-why-organisations-heading > div > p {
		font-size: 0.96rem;
		line-height: 1.68;
	}

	.em-why-rating {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

	.em-why-review blockquote p {
		font-size: 0.92rem;
		line-height: 1.62;
	}
}

/* ==================================================
   Reduced motion
   ================================================== */

@media (prefers-reduced-motion: reduce) {
	.em-why-button {
		transition: none;
	}

	.em-why-button:hover {
		transform: none;
	}

	.em-why-logo-viewport {
		overflow-x: auto;
	}

	.em-why-logo-track {
		animation: none;
	}

	.em-why-logo-group[aria-hidden="true"] {
		display: none;
	}
}
