/*
 * Home page sections ("Home Page final" desktop 2289:191, mobile 1883:1117).
 * Loaded on the front page only.
 */

.home-main > section {
	position: relative;
}

/* -------------------------------------------------------------------- Hero */
.hero {
	overflow: hidden;
	padding-block: clamp(26px, 6px + 4.9vw, 112px) clamp(40px, 28px + 3vw, 84px);
	text-align: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: -120px;
	left: 50%;
	z-index: 0;
	width: max(1100px, 114vw);
	aspect-ratio: 2188.9 / 926.61;
	background: url('../images/decor/hero-curve.svg') center top / 100% auto no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.grid-patch--hero-right {
	top: -60px;
	right: -40px;
}

.grid-patch--hero-left {
	top: 280px;
	left: -260px;
	width: 520px;
	height: 520px;
	opacity: 0.5;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: clamp(14px, 11px + 0.8vw, 26px);
	font-weight: 600;
	color: var(--c-heading);
}

.hero__title-lead {
	font-family: var(--f-display);
	font-size: clamp(18px, 9.53px + 2.108vw, 50px);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--c-black);
}

.hero__title-main {
	max-width: 12em;
	font-size: clamp(25px, 18.38px + 1.647vw, 50px);
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.hero__intro {
	max-width: 820px;
	margin-top: clamp(10px, 8px + 0.6vw, 20px);
	font-size: var(--fs-body);
	color: var(--c-text);
}

.hero .btn-row {
	margin-top: clamp(16px, 12px + 1vw, 34px);
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 16px;
	width: 100%;
	max-width: 420px;
	margin-top: clamp(28px, 20px + 2vw, 58px);
}

.stats__item {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 4px;
}

.stats__value {
	font-family: var(--f-head);
	font-size: clamp(25px, 21.03px + 0.988vw, 40px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--c-primary);
}

.stats__label {
	font-size: var(--fs-body);
	line-height: 1.3;
	color: var(--c-black);
}

.clients {
	width: 100%;
	margin-top: clamp(24px, 14px + 2.5vw, 64px);
}

.clients__viewport {
	overflow: hidden;
}

.clients__list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(28px, 22px + 1.5vw, 40px);
	width: max-content;
	min-width: 100%;
}

/* Logos keep their designed sizes relative to each other: each item sets
   --logo-h (websolex_clients()). */
.clients__item img {
	width: auto;
	height: var(--logo-h, clamp(26px, 20px + 1.5vw, 60px));
	max-width: none;
	filter: saturate(0.95);
}

/* Logo supplied on a white background (SJMA): the white blends into the
   section background; the file itself is unchanged. */
.clients__item img[src*='sjma'] {
	mix-blend-mode: multiply;
}

/* Automatic slider (main.js): moves one logo at a time; at rest only whole
   logos show. Logos cut by an edge fade out; copies make the loop seamless. */
.clients__viewport.is-marquee .clients__list {
	justify-content: flex-start;
	transition: transform 0.9s var(--ease);
	will-change: transform;
}

.clients__viewport.is-marquee .clients__item {
	transition: opacity 0.45s var(--ease);
}

.clients__viewport.is-marquee .clients__item.is-out {
	opacity: 0;
}

.clients__viewport.is-instant .clients__list,
.clients__viewport.is-instant .clients__item {
	transition: none;
}

.hero__scroll {
	display: inline-flex;
	margin-top: 22px;
	color: var(--c-primary);
}

.hero__scroll-icon {
	width: 34px;
	height: 67px;
}

/* The three chevrons light up in turn from top to bottom and drift down; the capsule stays still. */
@media (prefers-reduced-motion: no-preference) {
	.hero__scroll-icon g > path:nth-of-type(n + 2) {
		transform-box: fill-box;
		animation: chevron-cascade 1.8s var(--ease) infinite;
	}

	.hero__scroll-icon g > path:nth-of-type(4) {
		animation-delay: 0s;
	}

	.hero__scroll-icon g > path:nth-of-type(3) {
		animation-delay: 0.2s;
	}

	.hero__scroll-icon g > path:nth-of-type(2) {
		animation-delay: 0.4s;
	}
}

@keyframes chevron-cascade {
	0%,
	100% {
		opacity: 0.25;
		transform: translateY(-2px);
	}
	35% {
		opacity: 1;
		transform: translateY(2px);
	}
	70% {
		opacity: 0.25;
		transform: translateY(2px);
	}
}

@media (min-width: 768px) {
	.stats {
		display: flex;
		justify-content: center;
		gap: clamp(40px, -40px + 9vw, 130px);
		max-width: none;
	}
}

@media (min-width: 1100px) {
	.hero__title-main {
		max-width: none;
	}

	.hero__title-lead {
		line-height: 1.4;
	}

	.hero__scroll {
		position: absolute;
		top: 50%;
		right: calc((100vw - min(100vw - 32px, 1440px)) / -2 + clamp(20px, 4vw, 70px));
		margin: 0;
		transform: translateY(-50%);
	}
}

/* ---------------------------------------------------------------- Welcome */
.welcome {
	overflow: hidden;
	padding-block: clamp(50px, 34px + 4vw, 106px);
	background: var(--c-tint);
}

.welcome__chart {
	display: none;
}

.welcome__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 26px;
	text-align: center;
}

.welcome__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.welcome__title {
	display: flex;
	flex-direction: column;
	margin-top: 14px;
	font-size: var(--fs-h3);
	line-height: 1.37;
	color: var(--c-black);
}

.welcome__title-light {
	font-weight: 300;
}

.welcome__title-bold {
	font-size: 1.14em;
	font-weight: 500;
}

.welcome__body {
	max-width: 620px;
	margin-inline: auto;
}

.welcome__points {
	display: grid;
	gap: clamp(4px, 2px + 0.5vw, 13px);
	padding-left: 1.1em;
	font-size: var(--fs-body);
	color: var(--c-text-muted);
	text-align: left;
	list-style: disc;
}

.welcome__points li::marker {
	font-size: 0.8em;
}

.welcome__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: clamp(14px, 6px + 2vw, 50px);
	font-size: var(--fs-body);
	font-weight: 500;
	color: var(--c-primary);
	text-align: left;
}

.welcome__link-icon {
	flex: none;
	width: 19px;
	height: 19px;
	transition: transform 0.25s var(--ease);
}

.welcome__link:hover span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.welcome__link:hover .welcome__link-icon {
	transform: translateX(4px);
}

@media (min-width: 1024px) {
	.welcome {
		min-height: 520px;
	}

	.welcome__chart {
		display: block;
		position: absolute;
		left: calc((100vw - min(100vw - 32px, 1440px)) / 2 + 2.4%);
		bottom: 0;
		width: min(36vw, 561px);
		pointer-events: none;
	}

	.welcome__chart-arrow {
		position: relative;
		width: 100%;
		margin-bottom: -16%;
		opacity: 0.55;
	}

	.welcome__chart-bars {
		position: relative;
		width: 93%;
	}

	.welcome__inner {
		grid-template-columns: minmax(0, 617fr) minmax(0, 739fr);
		align-items: start;
		gap: 0;
		padding-left: 5.8%;
		text-align: left;
	}

	.welcome__intro {
		align-items: flex-start;
	}

	.welcome__body {
		max-width: none;
		margin: 0;
	}

	.welcome__title {
		margin-top: 18px;
	}

	.welcome__title-bold {
		font-size: 1em;
	}

	.welcome__points {
		padding-left: 1em;
		gap: 13px;
	}
}

/* -------------------------------------------------------------- Expertise */
.expertise {
	overflow: hidden;
	padding-block: var(--section-y) clamp(50px, 38px + 3vw, 90px);
}

.expertise::before {
	content: '';
	position: absolute;
	top: -90px;
	left: 50%;
	z-index: 0;
	width: max(1100px, 145vw);
	aspect-ratio: 2790.48 / 1202.93;
	background: url('../images/decor/expertise-wave.svg') center top / 100% auto no-repeat;
	transform: translateX(-38%);
	pointer-events: none;
}

.grid-patch--expertise {
	top: 60px;
	left: 60px;
	width: 340px;
	height: 340px;
}

.expertise .container {
	position: relative;
	z-index: 1;
}

.timeline {
	--node: 36px;
	position: relative;
	margin-top: clamp(28px, 18px + 2.5vw, 70px);
	counter-reset: none;
}

.timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: var(--node) minmax(0, 1fr);
	column-gap: 14px;
	padding-bottom: 46px;
}

.timeline__item:last-child {
	padding-bottom: 0;
}

.timeline__node {
	position: relative;
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
}

.timeline__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--node);
	height: var(--node);
	font-family: var(--f-head);
	font-size: clamp(18px, 13.5px + 1.1vw, 32px);
	font-weight: 500;
	line-height: 1;
	color: var(--c-black);
	background: var(--c-white);
	border: 2px solid var(--c-line);
	border-radius: 50%;
}

.timeline__item:first-child .timeline__num {
	color: var(--c-white);
	background: var(--c-primary);
	border-color: var(--c-primary);
}

.timeline__content {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.timeline__title {
	position: relative;
	padding-bottom: 10px;
	font-size: var(--fs-card-title);
	font-weight: 500;
	line-height: 1.3;
	color: var(--c-black);
}

.timeline__title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(245px, 140%);
	height: 3px;
	background: linear-gradient(90deg, rgba(84, 162, 217, 0) 0%, var(--c-primary) 50%, rgba(84, 162, 217, 0) 100%);
	transform: translateX(-50%);
	opacity: 0.6;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: clamp(28px, 25.4px + 0.66vw, 38px);
	padding: 2px clamp(8px, 7px + 0.26vw, 12px);
	font-size: clamp(12px, 10.9px + 0.264vw, 16px);
	color: var(--c-black);
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 6px;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover {
	color: var(--c-primary);
	border-color: var(--c-primary);
}

/* Phone and tablet: vertical zig-zag with elbow connectors. */
.timeline__item--above {
	grid-template-columns: minmax(0, 1fr) var(--node);
}

.timeline__item--above .timeline__node {
	grid-column: 2;
}

.timeline__item--above .timeline__content {
	grid-column: 1;
	align-items: flex-end;
	text-align: right;
}

.timeline__item--above .chips {
	justify-content: flex-end;
}

.timeline__item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: var(--node);
	bottom: 22px;
	left: calc(var(--node) / 2 - 1px);
	right: calc(var(--node) / 2 - 1px);
	border-left: 1.5px solid var(--c-line);
	border-bottom: 1.5px solid var(--c-line);
}

.timeline__item--above:not(:last-child)::after {
	border-left: 0;
	border-right: 1.5px solid var(--c-line);
}

.timeline__item:not(:first-child)::before {
	content: '';
	position: absolute;
	top: -24px;
	left: calc(var(--node) / 2 - 1px);
	height: 24px;
	border-left: 1.5px solid var(--c-line);
}

.timeline__item--above:not(:first-child)::before {
	left: auto;
	right: calc(var(--node) / 2 - 1px);
	border-left: 0;
	border-right: 1.5px solid var(--c-line);
}

.timeline__item:first-child::after,
.timeline__item:nth-child(2)::before {
	border-color: var(--c-primary);
}

@media (min-width: 600px) and (max-width: 1279px) {
	.timeline {
		max-width: 640px;
		margin-inline: auto;
	}
}

@media (min-width: 1280px) {
	.timeline {
		--node: 54px;
		display: grid;
		grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
		grid-template-rows: auto var(--node) auto;
		width: 105.84%;
		margin-left: -0.25%;
	}

	.timeline__item,
	.timeline__item--above {
		grid-row: 1 / 4;
		grid-template-columns: none;
		grid-template-rows: subgrid;
		justify-items: center;
		padding: 0;
		text-align: center;
	}

	.timeline__item--extra {
		display: none;
	}

	.timeline__item::before,
	.timeline__item::after,
	.timeline__item:not(:first-child)::before,
	.timeline__item:not(:last-child)::after {
		content: none;
	}

	.timeline__node,
	.timeline__item--above .timeline__node {
		grid-column: auto;
		grid-row: 2;
		display: flex;
		justify-content: center;
		width: 100%;
	}

	/* Connector to the next node; the last one runs to the edge of the screen. */
	.timeline__node::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: -1;
		width: 100%;
		height: 2px;
		background: var(--c-line);
		transform: translateY(-50%);
	}

	.timeline__item:first-child .timeline__node::after {
		background: var(--c-primary);
	}

	.timeline__item--last .timeline__node::after {
		width: 100vw;
	}

	.timeline__content,
	.timeline__item--above .timeline__content {
		grid-column: auto;
		grid-row: 3;
		align-items: center;
		padding-top: 10px;
		text-align: center;
	}

	.timeline__item--above .timeline__content {
		grid-row: 1;
		align-self: end;
		padding: 0 0 23px;
	}

	.timeline__content,
	.timeline__item--above .timeline__content {
		width: 100%;
		max-width: 500px;
	}

	.chips,
	.timeline__item--above .chips {
		justify-content: center;
		gap: 16px;
		margin-top: 20px;
	}
}

/* -------------------------------------------------------------------- CEO */
.ceo {
	overflow: hidden;
	padding-block: clamp(40px, 30px + 2.5vw, 64px) clamp(36px, 28px + 2vw, 60px);
	background: linear-gradient(180deg, rgba(84, 162, 217, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.ceo__figure {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		'mark'
		'quote'
		'media'
		'line'
		'caption';
}

.ceo__mark {
	grid-area: mark;
	width: clamp(26px, 22px + 1vw, 42px);
	height: auto;
	transform: scaleY(-1);
}

.ceo__quote {
	grid-area: quote;
	margin-top: clamp(14px, 6px + 2vw, 46px);
	font-family: var(--f-head);
	font-size: clamp(22px, 18.29px + 0.922vw, 36px);
	font-weight: 500;
	line-height: 1.53;
	color: var(--c-black);
}

.ceo__media {
	grid-area: media;
	position: relative;
	justify-self: center;
	width: min(100%, 438px);
	margin-top: 36px;
}

.ceo__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: bottom;
}

.ceo__outline {
	position: absolute;
	top: 37.8%;
	left: 50%;
	z-index: 0;
	font-family: var(--f-head);
	font-size: clamp(34px, 25px + 2.37vw, 70px);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(84, 162, 217, 0.75);
	transform: translateX(-50%);
	pointer-events: none;
}

.ceo__line {
	grid-area: line;
	display: block;
	height: 5px;
	background: linear-gradient(90deg, rgba(84, 162, 217, 0) 0%, rgba(84, 162, 217, 0.4) 30%, var(--c-primary) 100%);
	border-radius: 3px;
}

.ceo__caption {
	grid-area: caption;
	justify-self: center;
	margin-top: 14px;
	font-family: var(--f-head);
	font-size: clamp(18px, 16.4px + 0.4vw, 25px);
	font-weight: 500;
	color: var(--c-black);
}

.ceo__role {
	font-size: 0.64em;
}

@media (min-width: 1024px) {
	.ceo__figure {
		grid-template-columns: minmax(0, 1fr) minmax(0, 438px);
		grid-template-rows: auto 1fr auto auto;
		grid-template-areas:
			'mark media'
			'quote media'
			'line line'
			'. caption';
		column-gap: 40px;
	}

	.ceo__quote {
		max-width: 760px;
		padding-bottom: 40px;
	}

	.ceo__media {
		align-self: end;
		margin-top: 0;
	}

	.ceo__outline {
		left: -126px;
		transform: none;
	}
}

/* ---------------------------------------------------------------- Success */
.success {
	overflow: hidden;
	padding-block: clamp(30px, 24px + 1.5vw, 50px) clamp(50px, 38px + 3vw, 90px);
}

.grid-patch--success-left {
	top: 300px;
	left: -120px;
}

.grid-patch--success-right {
	top: -80px;
	right: -60px;
}

.success .container {
	position: relative;
	z-index: 1;
}

.success__stage {
	position: relative;
	margin-top: clamp(30px, 22px + 2vw, 40px);
}

.success__wave {
	display: none;
}

.success__list {
	position: relative;
	display: grid;
	gap: 40px;
}

/* Phone/tablet: vertical wave down the middle, items alternate left and right. */
.success__list::before {
	content: '';
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: calc(50% - 28px);
	width: 57px;
	background: url('../images/decor/success-wave-vertical.svg') center / 100% 100% no-repeat;
}

.success__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	align-items: center;
	min-height: 120px;
}

.success__badge {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: var(--c-primary);
	border: 9px solid #d9ebf7;
	border-radius: 50%;
	box-sizing: border-box;
	outline: 0 solid transparent;
	transform: translateX(14px);
	transition: transform 0.3s var(--ease);
}

.success__item:nth-child(even) .success__badge {
	transform: translateX(-14px);
}

.success__icon {
	width: 26px;
	height: 26px;
	color: var(--c-white);
	object-fit: contain;
}

.success__text {
	position: relative;
	z-index: 1;
	grid-column: 1;
	grid-row: 1;
	padding-right: 10px;
}

.success__item:nth-child(even) .success__text {
	grid-column: 3;
	padding: 0 0 0 10px;
}

.success__title {
	font-size: var(--fs-card-title);
	font-weight: 500;
	color: var(--c-black);
}

.success__text p {
	margin-top: 4px;
	font-size: clamp(12px, 10.9px + 0.264vw, 16px);
	color: var(--c-text-muted);
}

.success__num {
	position: absolute;
	top: -46px;
	z-index: 0;
	font-family: var(--f-head);
	font-size: clamp(96px, 73.2px + 5.68vw, 190px);
	font-weight: 600;
	line-height: 1;
	color: transparent;
	background: linear-gradient(180deg, var(--c-primary) 0%, rgba(84, 162, 217, 0.35) 45%, rgba(255, 255, 255, 0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	pointer-events: none;
}

.success__item:nth-child(odd) .success__num {
	left: 28%;
}

.success__item:nth-child(even) .success__num {
	right: 4%;
}

@media (min-width: 1100px) {
	.success__stage {
		height: 450px;
		margin-top: 40px;
	}

	.success__wave {
		display: block;
		position: absolute;
		top: 152px;
		left: 13.6%;
		width: 73.9%;
		height: auto;
	}

	.success__list {
		position: static;
		display: block;
	}

	.success__list::before {
		content: none;
	}

	.success__item {
		position: static;
		display: block;
		min-height: 0;
	}

	.success__badge,
	.success__item:nth-child(even) .success__badge {
		position: absolute;
		width: 87px;
		height: 87px;
		border-width: 12px;
		transform: none;
	}

	.success__badge:hover {
		transform: scale(1.06);
	}

	.success__icon {
		width: 38px;
		height: 38px;
	}

	.success__text,
	.success__item:nth-child(even) .success__text {
		position: absolute;
		width: 21.5%;
		padding: 0;
	}

	.success__num,
	.success__item:nth-child(odd) .success__num,
	.success__item:nth-child(even) .success__num {
		right: auto;
	}

	.success__list .success__item--1 .success__badge { left: 10.87%; top: 123px; }
	.success__list .success__item--2 .success__badge { left: 30.66%; top: 234px; }
	.success__list .success__item--3 .success__badge { left: 47.88%; top: 119px; }
	.success__list .success__item--4 .success__badge { left: 64.83%; top: 234px; }
	.success__list .success__item--5 .success__badge { left: 82.95%; top: 123px; }

	.success__list .success__item--1 .success__text { left: 4.93%; top: 312px; }
	.success__list .success__item--2 .success__text { left: 24.65%; top: 101px; }
	.success__list .success__item--3 .success__text { left: 42.15%; top: 344px; }
	.success__list .success__item--4 .success__text { left: 58.33%; top: 113px; }
	.success__list .success__item--5 .success__text { left: 76.94%; top: 319px; }

	.success__list .success__item--1 .success__num { left: 16.46%; top: 262px; }
	.success__list .success__item--2 .success__num { left: 35.56%; top: 7px; }
	.success__list .success__item--3 .success__num { left: 51.32%; top: 250px; }
	.success__list .success__item--4 .success__num { left: 68.82%; top: 19px; }
	.success__list .success__item--5 .success__num { left: 87.57%; top: 243px; }
}

/* ---------------------------------------------------------------- Process */
.process {
	overflow: hidden;
	padding-block: var(--section-y);
	background: rgba(212, 233, 248, 0.65);
}

.process::before {
	content: '';
	position: absolute;
	top: clamp(160px, 120px + 10vw, 330px);
	left: 50%;
	z-index: 0;
	width: max(760px, 105.6vw);
	aspect-ratio: 2028 / 1520;
	background: url('../images/decor/process-swoosh.svg') center / 100% auto no-repeat;
	transform: translateX(-50%);
	pointer-events: none;
}

.process .container {
	position: relative;
	z-index: 1;
}

.process__slider {
	margin-top: clamp(24px, 16px + 2vw, 48px);
}

.process__list {
	display: grid;
	gap: 20px;
}

.process-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	padding: 30px 30px 28px;
	background: var(--c-white);
	border: 1px solid #3a3a3a;
	border-radius: var(--radius-card);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.process-card__ring {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(80px, 66.5px + 3.37vw, 148px);
	aspect-ratio: 1;
}

.process-card__ring-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: var(--c-primary);
}

.process-card__icon {
	position: relative;
	width: 36.5%;
	height: auto;
	aspect-ratio: 1;
	color: var(--c-primary);
}

.process-card__num {
	position: absolute;
	top: -5%;
	left: 63.5%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44.6%;
	aspect-ratio: 1;
	font-family: var(--f-small);
	font-size: clamp(12px, 10.4px + 0.4vw, 20px);
	font-weight: 500;
	color: var(--c-white);
	background: var(--c-primary);
	border-radius: 50%;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.process-card__title {
	font-size: var(--fs-card-title);
	font-weight: 500;
	color: var(--c-black);
}

.process-card__body p {
	margin-top: 10px;
	font-size: clamp(12px, 10.9px + 0.264vw, 16px);
	line-height: 1.6;
	color: var(--c-text);
}

/* Phones: horizontal slider, one card at a time. */
@media (max-width: 899px) {
	.process__list {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding-bottom: 6px;
	}

	.process__list::-webkit-scrollbar {
		display: none;
	}

	.process-card {
		flex: 0 0 100%;
		scroll-snap-align: center;
	}

	.no-js .process__list {
		display: grid;
		overflow: visible;
	}
}

@media (min-width: 900px) {
	.process__list {
		gap: 20px;
	}

	.process-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
		width: 79.45%;
		min-height: 223px;
		padding: 30px 72px 30px 61px;
		border: 0;
		box-shadow: none;
		transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
	}

	.process-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 40px rgba(84, 162, 217, 0.18);
	}

	.process-card--odd {
		flex-direction: row-reverse;
		margin-left: auto;
	}

	.process-card--even {
		padding: 30px 57px 30px 59px;
		text-align: right;
	}

	.process-card__body {
		max-width: 800px;
	}
}

/* ------------------------------------------------------------ Slider dots */
.slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.slider-dots[hidden] {
	display: none;
}

.slider-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(84, 162, 217, 0.35);
	transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

/* Invisible tap area: the full 8 px gap around each dot and 24 px high. */
.slider-dots button {
	position: relative;
}

.slider-dots button::before {
	content: '';
	position: absolute;
	inset: -8px -4px;
}

.slider-dots button[aria-current='true'] {
	width: 22px;
	border-radius: 4px;
	background: var(--c-primary);
}

/* ------------------------------------------------------------------ About */
.about {
	overflow: hidden;
	padding-block: var(--section-y) clamp(50px, 38px + 3vw, 90px);
}

.grid-patch--about {
	top: -40px;
	right: -60px;
	width: 360px;
	height: 360px;
}

.about .container {
	position: relative;
	z-index: 1;
}

.about__grid {
	display: grid;
	gap: 30px;
	margin-top: clamp(16px, 8px + 2vw, 70px);
}

.about__text {
	text-align: center;
}

.about__heading {
	font-size: clamp(25px, 21.4px + 0.9vw, 40px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--c-black);
}

.about__heading br {
	display: none;
}

.about__lead {
	margin-top: 14px;
	font-size: var(--fs-body);
	color: var(--c-text);
}

.about__text p:not(.about__lead) {
	margin-top: 18px;
	font-size: clamp(13px, 12.2px + 0.2vw, 16px);
	color: var(--c-text);
}

.value-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(12px, 9px + 0.7vw, 23px);
}

.value-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: clamp(150px, 141px + 2.2vw, 185px);
	padding: clamp(14px, 12px + 0.5vw, 22px);
	background: linear-gradient(180deg, rgba(84, 162, 217, 0.03) 0%, rgba(84, 162, 217, 0.2) 100%);
	border: 1.5px solid var(--c-primary);
	border-radius: var(--radius-card);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(84, 162, 217, 0.2);
}

.value-card__icon {
	width: clamp(34px, 31.4px + 0.66vw, 45px);
	height: auto;
	aspect-ratio: 1;
	margin-bottom: clamp(8px, 6px + 0.5vw, 14px);
	color: var(--c-primary);
}

.value-card__title {
	font-size: clamp(16px, 13.9px + 0.53vw, 24px);
	font-weight: 500;
	color: var(--c-black);
}

.value-card p {
	font-size: clamp(12px, 11.2px + 0.2vw, 15px);
	line-height: 1.5;
	color: var(--c-text);
}

@media (min-width: 1024px) {
	.about__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 733px);
		align-items: start;
		gap: 80px;
	}

	.about__text {
		max-width: 560px;
		padding-top: 10px;
		text-align: left;
	}

	.about__heading br {
		display: inline;
	}
}

/* ------------------------------------------------------------------- Blog */
.blog {
	overflow: hidden;
	padding-block: clamp(40px, 30px + 2.5vw, 64px) clamp(20px, 16px + 1vw, 40px);
}

.grid-patch--blog-left {
	top: -60px;
	left: -120px;
}

.grid-patch--blog-right {
	top: 140px;
	right: -140px;
}

.blog__glow {
	position: absolute;
	top: 45%;
	right: -260px;
	width: 953px;
	height: 953px;
	background: radial-gradient(closest-side, rgba(84, 162, 217, 0.1), rgba(84, 162, 217, 0));
	border-radius: 50%;
	pointer-events: none;
}

.blog .container {
	position: relative;
	z-index: 1;
}

.blog__badge-mobile {
	display: none;
}

.blog__slider {
	margin-top: clamp(24px, 16px + 2vw, 50px);
}

@media (max-width: 767px) {
	.blog__badge-desktop {
		display: none;
	}

	.blog__badge-mobile {
		display: inline;
	}

	.blog__head .section-head__title,
	.blog__head .section-head__subtitle {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.blog__slider {
		margin-top: 20px;
	}

	.post-cards {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.post-cards::-webkit-scrollbar {
		display: none;
	}

	.post-cards .post-card {
		flex: 0 0 100%;
		scroll-snap-align: center;
	}

	.no-js .post-cards {
		display: grid;
		overflow: visible;
	}
}

@media (min-width: 768px) {
	.blog .post-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.blog .post-card__inner {
		padding: 12px;
	}

	.blog .post-card__date {
		font-size: 12px;
	}
}

/* Wide screens have room for the chips to spread past their column, as in the design. */
@media (min-width: 1600px) {
	.timeline__content,
	.timeline__item--above .timeline__content {
		width: 132%;
	}
}

@media (min-width: 1280px) and (max-width: 1599px) {
	.timeline {
		width: 100%;
		margin-left: 0;
	}
}

@media (min-width: 1024px) and (max-width: 1439px) {
	.ceo__outline {
		left: -40px;
	}
}


/* ===================================================================== */
/* Motion (Stage 1). Start states need .js and no reduced-motion request. */
/* ===================================================================== */

/* ---------------------------------- Expertise: pinned timeline (desktop) */
/* motion.js adds .is-progress at 1280 px and up (the horizontal design),
   and .is-pinned as well when the section fits the window (otherwise the
   progress follows the scroll without holding the section). The layout stays exactly as designed: all
   five categories in their places, alternating below and above the line.
   While the section is held on screen the scroll position moves the blue
   progress along the line, lights the numbers it has reached and brings in
   each category where it already sits. Later categories wait faded. */
@media (min-width: 1280px) {
	.expertise.is-pinned {
		overflow: clip; /* As hidden, but lets the stage stick. */
	}

	.expertise.is-pinned .container {
		position: sticky;
	}

	/* Scroll room while the stage stays on screen. */
	.expertise.is-pinned::after {
		content: '';
		display: block;
		height: var(--pin-extra, 0px);
	}

	/* Each connector fills from its number to the next (--seg: 0 to 1). */
	.expertise.is-progress .timeline__node::after,
	.expertise.is-progress .timeline__item:first-child .timeline__node::after {
		background: linear-gradient(90deg, var(--c-primary) calc(var(--seg, 0) * 100%), var(--c-line) 0);
	}

	.expertise.is-progress .timeline__item--last .timeline__node::after {
		background: var(--c-line);
	}

	.expertise.is-pinned .timeline__node {
		cursor: pointer;
	}

	.expertise.is-progress .timeline__node:focus-visible {
		outline: 0;
	}

	.expertise.is-progress .timeline__node:focus-visible .timeline__num {
		outline: 2px solid var(--c-primary);
		outline-offset: 4px;
	}

	/* Numbers: white until the progress reaches them. */
	.expertise.is-progress .timeline__num,
	.expertise.is-progress .timeline__item:first-child .timeline__num {
		color: var(--c-black);
		background: var(--c-white);
		border-color: var(--c-line);
		transition: color 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
	}

	.expertise.is-progress .timeline__item.is-past .timeline__num,
	.expertise.is-progress .timeline__item.is-active .timeline__num {
		color: var(--c-white);
		background: var(--c-primary);
		border-color: var(--c-primary);
	}

	.expertise.is-progress .timeline__item.is-active .timeline__num {
		box-shadow: 0 0 0 8px rgba(84, 162, 217, 0.16);
	}

	/* Categories not reached yet stay in place, faded. */
	.expertise.is-progress .timeline__content {
		opacity: 0.3;
		transition: opacity 0.5s var(--ease);
	}

	.expertise.is-progress .is-past .timeline__content,
	.expertise.is-progress .is-active .timeline__content {
		opacity: 1;
	}

	/* The category just reached comes in from the right to its own place,
	   its chips one after another. */
	.expertise.is-progress .is-active .timeline__content {
		animation: expertise-in 0.7s var(--ease) both;
	}

	.expertise.is-progress .is-active .chip {
		animation: expertise-chip 0.5s var(--ease) both;
		animation-delay: calc(0.15s + var(--ci, 0) * 0.07s);
	}
}

@keyframes expertise-in {
	from {
		opacity: 0.3;
		translate: 40px 0;
	}
}

@keyframes expertise-chip {
	from {
		opacity: 0;
		translate: 0 8px;
	}
}

/* Phones and tablets: items slide in from their own side and the
   connector draws down to the next number. */
@media (max-width: 1279px) and (prefers-reduced-motion: no-preference) {
	.js .expertise:not(.is-progress) .timeline__item[data-reveal] {
		transform: none;
		translate: -28px 0;
		transition: opacity 0.7s var(--ease), translate 0.8s var(--ease);
		transition-delay: var(--reveal-delay, 0s);
	}

	.js .expertise:not(.is-progress) .timeline__item--above[data-reveal] {
		translate: 28px 0;
	}

	.js .expertise:not(.is-progress) .timeline__item[data-reveal].is-visible {
		translate: none;
	}

	.js .expertise:not(.is-progress) .timeline__item[data-reveal]::after {
		clip-path: inset(0 0 100% 0);
		transition: clip-path 0.9s var(--ease) 0.3s;
	}

	.js .expertise:not(.is-progress) .timeline__item[data-reveal].is-visible::after {
		clip-path: inset(0 -2px -2px -2px);
	}
}

/* Not pinned (phones, tablets, short windows): numbers light up in turn as
   their category reaches the middle of the screen (motion.js adds .is-tracking, .is-reached and .is-current). Only
   the number colours change; the layout stays as designed. */
@media (prefers-reduced-motion: no-preference) {
	.js .expertise.is-tracking:not(.is-progress) .timeline__num {
		transition: color 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
	}

	.js .expertise.is-tracking:not(.is-progress) .timeline__item.is-reached .timeline__num {
		color: var(--c-white);
		background: var(--c-primary);
		border-color: var(--c-primary);
	}

	.js .expertise.is-tracking:not(.is-progress) .timeline__item.is-current .timeline__num {
		box-shadow: 0 0 0 8px rgba(84, 162, 217, 0.16);
	}
}

/* ------------------------------------------ Process: entry, ring, wave */
@property --ring {
	syntax: '<angle>';
	inherits: false;
	initial-value: 360deg;
}

@media (prefers-reduced-motion: no-preference) {
	/* The numbered ring draws its circle once the card is in view, then the icon appears. */
	.js .process-card[data-reveal] .process-card__ring-svg {
		-webkit-mask-image: conic-gradient(#000 var(--ring), transparent 0);
		mask-image: conic-gradient(#000 var(--ring), transparent 0);
		transition: --ring 1.2s var(--ease) 0.35s;
	}

	.js .process-card[data-reveal]:not(.is-visible) .process-card__ring-svg {
		--ring: 0deg;
	}

	.js .process-card[data-reveal] .process-card__icon {
		transition: opacity 0.5s var(--ease) 0.7s, scale 0.5s var(--ease) 0.7s;
	}

	.js .process-card[data-reveal]:not(.is-visible) .process-card__icon {
		opacity: 0;
		scale: 0.8;
	}
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
	/* Each card enters from its own side: right-hand cards from the right. */
	.js .process-card[data-reveal] {
		transform: none;
		transition:
			opacity 0.7s var(--ease) var(--reveal-delay, 0s),
			translate 0.9s var(--ease) var(--reveal-delay, 0s),
			transform 0.3s var(--ease),
			box-shadow 0.3s var(--ease);
	}

	.js .process-card--odd[data-reveal] {
		translate: 56px 0;
	}

	.js .process-card--even[data-reveal] {
		translate: -56px 0;
	}

	.js .process-card[data-reveal].is-visible {
		translate: none;
	}

	.js .process-card[data-reveal].is-visible:hover {
		transform: translateY(-4px);
	}

	/* Faint brand-blue wave drifting behind the cards; runs only on screen. */
	.process::after {
		content: '';
		position: absolute;
		left: 0;
		bottom: 14%;
		z-index: 0;
		width: 200%;
		height: 150px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M0 75C240 25 480 25 720 75S1200 125 1440 75V150H0Z' fill='%2354A2D9' fill-opacity='.07'/%3E%3Cpath d='M0 95C240 55 480 55 720 95S1200 135 1440 95' fill='none' stroke='%2354A2D9' stroke-opacity='.12' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
		animation: process-wave 30s linear infinite paused;
		pointer-events: none;
	}

	.process.is-inview::after {
		animation-play-state: running;
	}

	.save-data .process::after {
		content: none;
	}
}

@keyframes process-wave {
	to {
		transform: translateX(-50%);
	}
}

/* ------------------------------------------------- Other Home sections */
@media (prefers-reduced-motion: no-preference) {
	/* Success circles pop in one after another. */
	.js .success__item[data-reveal] .success__badge {
		transition: transform 0.3s var(--ease), scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
		transition-delay: 0s, calc(var(--reveal-delay, 0s) + 0.1s);
	}

	.js .success__item[data-reveal]:not(.is-visible) .success__badge {
		scale: 0.4;
	}

	/* The shared call-to-action card grows in on the Home page. */
	.js .home-main .cta-band__card[data-reveal] {
		transform: none;
		scale: 0.96;
		transition: opacity 0.7s var(--ease), scale 0.8s var(--ease);
	}

	.js .home-main .cta-band__card[data-reveal].is-visible {
		scale: none;
	}
}
