/*
	About page
	1. Shell / KV panel
	2. Shared badge
	3. CEO
	4. History timeline
	5. Core values
	6. Awards
	7. Breakpoints
*/

body.page-template-page-about,
body.page-template-page-about-php,
body.page-about {
	background: #fff;
	color: #24367d;
}

body.page-template-page-about .lh-kv-hero__media img,
body.page-template-page-about-php .lh-kv-hero__media img,
body.page-about .lh-kv-hero__media img {
	object-position: 40% 38%;
}

.lh-about-page {
	background: #fff;
	color: #24367d;
	overflow: visible;
}

.lh-about-page > .alignfull,
.lh-about-page > .wp-block-group {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.lh-about.lh-kv-panel {
	padding: 0;
	overflow: visible;
	background: #fff;
}

.lh-about-block {
	width: var(--container-wide);
	margin-inline: auto;
	padding-top: clamp(2.75rem, 5vw, 4.5rem);
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.lh-about-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border: 0;
	border-radius: 999px;
	padding: 0.45rem 0.95rem;
	background: #24367d;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}

.lh-about-badge--ghost {
	background: transparent;
	border: 1px solid rgba(36, 54, 125, 0.28);
	color: #24367d;
}

/* CEO */

.lh-about-ceo {
	padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.lh-about-ceo__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
	gap: clamp(2rem, 5vw, 4.75rem);
	align-items: start;
}

.lh-about-ceo__col {
	min-width: 0;
}

.lh-about-ceo__media {
	position: sticky;
	top: calc(var(--header-h) + 1.35rem);
	margin: 0;
	overflow: visible;
	background: #fff;
}

.lh-about-ceo__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center top;
}

.lh-about-ceo__copy {
	min-width: 0;
	padding-top: 0.35rem;
}

.lh-about-ceo__quote {
	margin: 0 0 1.5rem;
	border: 0;
	padding: 0;
}

.lh-about-ceo__quote p {
	margin: 0;
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	font-weight: normal;
	line-height: 1.2;
	letter-spacing: 0;
	color: #24367d;
}

.lh-about-ceo__role {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.65rem 1.5rem;
	margin: 1.65rem 0;
	padding: 1.15rem 0;
	border-top: 1px solid rgba(36, 54, 125, 0.16);
	border-bottom: 1px solid rgba(36, 54, 125, 0.16);
}

.lh-about-ceo__role-title {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #24367d;
}

.lh-about-ceo__name {
	margin: 0;
	font-size: clamp(1.55rem, 2.8vw, 2.15rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	color: #24367d;
}

.lh-about-ceo__body {
	display: grid;
	gap: 1.15rem;
	max-width: 40rem;
}

.lh-about-ceo__body p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #24367d;
}

/* History */

.lh-about-history {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100dvh - var(--header-h));
	background: #f4f6fb;
}

.lh-about-history__sticky {
	position: sticky;
	top: var(--header-h);
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	height: calc(100vh - var(--header-h));
	height: calc(100dvh - var(--header-h));
	overflow: hidden;
	box-sizing: border-box;
	padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.lh-about-history__head {
	width: var(--container-wide);
	margin-inline: auto;
	flex-shrink: 0;
}

.lh-about-history__title {
	margin: 0.85rem 0 0;
	max-width: 16ch;
	font-size: clamp(1.85rem, 3.6vw, 3.15rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0;
	color: #24367d;
}

.lh-about-history__scroller {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	padding-left: calc((100% - var(--container-wide)) / 2);
	overflow: hidden;
}

.lh-about-history__track {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: clamp(3.5rem, 8vw, 6.5rem);
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	will-change: transform;
}

.lh-about-history__track::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 3.35rem;
	height: 1px;
	background: rgba(36, 54, 125, 0.28);
}

.lh-about-history__item {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: 2.4rem 1.9rem auto;
	align-items: start;
	flex: 0 0 min(23rem, 78vw);
	width: min(23rem, 78vw);
	margin: 0;
}

.lh-about-history__year {
	margin: 0;
	align-self: end;
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	color: #24367d;
}

.lh-about-history__node {
	display: block;
	width: 0.85rem;
	height: 0.85rem;
	margin-top: 0.52rem;
	border-radius: 50%;
	background: #24367d;
}

.lh-about-history__text {
	margin: 1.15rem 0 0;
	max-width: 38ch;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #24367d;
}

/* Values */

.lh-about-values__head {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.lh-about-values__title {
	margin: 0.85rem 0 0;
	max-width: 22ch;
	font-size: clamp(1.85rem, 3.6vw, 3.15rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0;
	color: #24367d;
}

.lh-about-values__feature {
	margin: 0 0 clamp(2.25rem, 4vw, 3.25rem);
	overflow: hidden;
	background: #eef0f4;
}

.lh-about-values__feature img {
	display: block;
	width: 100%;
	height: clamp(18rem, 42vw, 32rem);
	object-fit: cover;
	object-position: 40% 38%;
}

.lh-about-values__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.85rem, 1.8vw, 1.35rem);
}

.lh-about-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	padding: 1.55rem 1rem 1.7rem;
	text-align: center;
	background: #f4f6fb;
	border: 1px solid rgba(36, 54, 125, 0.12);
	transition:
		border-color 0.2s ease,
		background 0.2s ease;
}

.lh-about-value__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	color: #24367d;
	background: #fff;
	border: 1.5px solid #24367d;
	border-radius: 50%;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.lh-about-value__ring {
	position: absolute;
	inset: 0.38rem;
	border: 1px solid rgba(36, 54, 125, 0.28);
	border-radius: 50%;
	pointer-events: none;
}

.lh-about-value__svg {
	position: relative;
	z-index: 1;
	display: block;
	width: 2.15rem;
	height: 2.15rem;
}

.lh-about-value__index {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: rgba(36, 54, 125, 0.48);
}

.lh-about-value__title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #24367d;
}

.lh-about-value__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #24367d;
}

@media (hover: hover) {
	.lh-about-value:hover {
		background: #fff;
		border-color: #24367d;
	}

	.lh-about-value:hover .lh-about-value__mark {
		background: #24367d;
		color: #fff;
	}

	.lh-about-value:hover .lh-about-value__ring {
		border-color: rgba(255, 255, 255, 0.32);
	}
}

/* Awards / press / partners */

.lh-about-awards {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(3.5rem, 7vw, 6rem) max(1.25rem, calc((100vw - var(--container-wide)) / 2));
	background: #fff;
	box-sizing: border-box;
}

.lh-about-awards__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
	text-align: center;
}

.lh-about-awards__seal {
	display: block;
	width: min(12.5rem, 52vw);
	height: auto;
	background: #fff;
}

.lh-about-awards__brand-name {
	display: grid;
	margin: 0.15rem 0 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #24367d;
}

.lh-about-awards__section {
	display: grid;
	grid-template-columns: minmax(8rem, 12.5rem) minmax(0, 1fr);
	column-gap: clamp(1.5rem, 5vw, 4.5rem);
	align-items: start;
	padding: clamp(1.75rem, 3.5vw, 2.65rem) 0;
	border-top: 1px solid rgba(36, 54, 125, 0.22);
}

.lh-about-awards__label {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #24367d;
}

.lh-about-awards__years {
	display: grid;
	gap: 1.35rem;
}

.lh-about-awards__row {
	display: grid;
	grid-template-columns: 4.75rem minmax(0, 1fr);
	column-gap: 1.5rem;
	align-items: start;
}

.lh-about-awards__year {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.55;
	color: #24367d;
}

.lh-about-awards__list {
	margin: 0;
	padding: 0 0 0 1.15rem;
	color: #24367d;
}

.lh-about-awards__list li {
	margin: 0 0 0.35rem;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.lh-about-awards__list li:last-child {
	margin-bottom: 0;
}

.lh-about-awards__source {
	font-weight: 700;
}

.lh-about-awards__partners {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.45rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lh-about-awards__partners li {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #24367d;
}

@media (max-width: 1100px) {
	.lh-about-values__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.lh-about-ceo__inner {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.lh-about-ceo__media {
		position: relative;
		top: auto;
	}

	.lh-about-awards__section {
		grid-template-columns: 1fr;
		row-gap: 1.15rem;
	}

	.lh-about-awards__row {
		grid-template-columns: 1fr;
		row-gap: 0.35rem;
	}

	.lh-about-history {
		height: auto;
	}

	.lh-about-history__sticky {
		position: relative;
		top: auto;
		height: auto;
		overflow: visible;
		padding: clamp(2.5rem, 6vw, 4rem) 0;
		gap: 1.75rem;
	}

	.lh-about-history__scroller {
		padding-left: 0;
		overflow: visible;
	}

	.lh-about-history__head {
		width: var(--container-wide);
	}

	.lh-about-history__track {
		display: grid;
		width: var(--container-wide);
		margin-inline: auto;
		gap: 0;
		transform: none !important;
	}

	.lh-about-history__track::before {
		left: 0.32rem;
		right: auto;
		top: 0.4rem;
		bottom: 0.4rem;
		width: 1px;
		height: auto;
	}

	.lh-about-history__item {
		grid-template-columns: 0.85rem minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: 1.15rem;
		width: 100%;
		flex: none;
		padding: 1.15rem 0;
	}

	.lh-about-history__year {
		grid-column: 2;
		grid-row: 1;
		font-size: 1.65rem;
	}

	.lh-about-history__node {
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: start;
		margin-top: 0.55rem;
	}

	.lh-about-history__text {
		grid-column: 2;
		grid-row: 2;
		margin-top: 0.45rem;
		max-width: none;
	}

	.lh-about-values__grid {
		grid-template-columns: 1fr 1fr;
	}

	.lh-about-awards__section {
		grid-template-columns: 1fr;
		row-gap: 1.15rem;
	}

	.lh-about-awards__partners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.lh-about-values__grid,
	.lh-about-awards__partners {
		grid-template-columns: 1fr;
	}

	.lh-about-values__feature img {
		height: 14rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lh-about-history {
		height: auto;
	}

	.lh-about-history__sticky {
		position: relative;
		top: auto;
		height: auto;
		overflow: visible;
	}

	.lh-about-history__track {
		transform: none !important;
	}

	.lh-about-ceo__media {
		position: relative;
		top: auto;
	}
}
