/* Systical — Consult CTA */

.sys-ct {
	--ct-accent: #9afd0d;
	--ct-max: 1320px;
	--ct-left: 48%;
	--ct-col-gap: 48px;
	--ct-radius: 28px;
	--ct-ratio: auto;
	--ct-fit: cover;

	--ct-face: 52px;
	--ct-face-lap: 14px;

	--ct-btn-fg: #0b0b0b;
	--ct-btn-bg: #9afd0d;
	--ct-btn-fg-hover: #fff;
	--ct-btn-bg-hover: #0b0b0b;

	position: relative;
	padding: 60px 0 100px;
	background: #070707;
}

.sys-ct__inner {
	max-width: var(--ct-max);
	margin: 0 auto;
	padding: 0 24px;
}

.sys-ct__card {
	display: grid;
	grid-template-columns: var(--ct-left) minmax(0, 1fr);
	gap: var(--ct-col-gap);
	align-items: stretch;
	overflow: hidden;
	border-radius: var(--ct-radius);
	background: #f4f5f6;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Grid items default to min-width:auto, which lets long words set the floor
   and push the card wider than its column. */
.sys-ct__left,
.sys-ct__media {
	min-width: 0;
}

/* The padding lives on the copy column, not the card, so the visual can run
   right out to the card's edges and be clipped by its radius. */
.sys-ct__left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* Without this the pill and the button stretch to the column width, since
	   flex items stretch across the cross axis by default. */
	align-items: flex-start;
	padding: 56px 0 56px 56px;
}

/* ---------- copy ---------- */

.sys-ct__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 26px;
	padding: 9px 18px;
	border-radius: 40px;
	background: #fff;
	color: #0b0b0b;
	font-size: 14px;
	font-weight: 600;
}

.sys-ct__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ct-accent);
}

.sys-ct__title {
	margin: 0 0 20px;
	font-size: clamp(35px, 4vw, 57.5px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.025em;
	color: #0b0b0b;
}

/* The row sits on the text baseline rather than after it, so the sentence
   still reads as one line of copy. */
.sys-ct__faces {
	display: inline-flex;
	align-items: center;
	margin: 0 0.16em;
	vertical-align: middle;
}

.sys-ct img.sys-ct__face {
	display: block;
	width: var(--ct-face);
	height: var(--ct-face);
	border-radius: 50%;
	object-fit: cover;
	background: var(--ct-accent);
}

.sys-ct__face + .sys-ct__face {
	margin-left: calc(var(--ct-face-lap) * -1);
}

.sys-ct__text {
	max-width: 44ch;
	margin: 0;
	color: #4a4a4a;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
}

.sys-ct__btn {
	display: inline-block;
	margin-top: 40px;
	padding: 18px 30px;
	border-radius: 40px;
	background: var(--ct-btn-bg);
	color: var(--ct-btn-fg);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.sys-ct__btn:hover,
.sys-ct__btn:focus {
	background: var(--ct-btn-bg-hover);
	color: var(--ct-btn-fg-hover);
}

.sys-ct__btn:focus-visible {
	outline: 2px solid var(--ct-accent);
	outline-offset: 3px;
}

/* ---------- media ---------- */

.sys-ct__media {
	aspect-ratio: var(--ct-ratio);
	height: 100%;
	overflow: hidden;
	background: #0b0b0b;
}

.sys-ct img.sys-ct__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--ct-fit);
	object-position: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.sys-ct {
		--ct-col-gap: 32px;
		--ct-face: 42px;
		padding: 40px 0 80px;
	}

	.sys-ct {
		/* Stacked, the visual becomes a band under the copy rather than a
		   full-height column. */
		--ct-ratio: 16 / 10;
	}

	.sys-ct__card {
		grid-template-columns: 1fr;
	}

	.sys-ct__left {
		padding: 40px;
	}
}

@media (max-width: 767px) {
	.sys-ct {
		--ct-radius: 20px;
		--ct-face: 34px;
		--ct-face-lap: 10px;
		padding: 30px 0 64px;
	}

	.sys-ct__inner {
		padding: 0 18px;
	}

	.sys-ct {
		--ct-ratio: 4 / 3;
	}

	.sys-ct__left {
		padding: 30px 22px 26px;
	}

	.sys-ct__eyebrow {
		margin-bottom: 18px;
	}

	.sys-ct__title {
		margin-bottom: 14px;
	}

	.sys-ct__text {
		font-size: 15px;
	}

	.sys-ct__btn {
		align-self: stretch;
		margin-top: 26px;
		text-align: center;
	}


}

@media (prefers-reduced-motion: reduce) {
	.sys-ct__btn {
		transition: none;
	}
}
