.ai-service,
.bc-service,
.ct-service {
	--service-photo-title-size: clamp(2.6rem, 4.5vw, 6rem);
	--ai-intro-size: clamp(1.06rem, 1.22vw, 1.2rem);
}

@media (max-width: 900px) {
	.ai-service,
	.bc-service,
	.ct-service {
		--service-photo-title-size: clamp(1.9rem, 8.5vw, 5rem);
	}
}

:is(#bc-solve-title, #gp-solve-title) {
	font-size: var(--service-photo-title-size);
}

:is(#bc-solve-title, #gp-solve-title) + p {
	max-width: 940px;
	font-size: var(--ai-intro-size);
	text-wrap: balance;
}

:is(#what-changes, #what-we-solve) .ai-outcomes__grid {
	--challenge-ink: var(--service-ink);
	--challenge-accent: var(--service-accent);
}

#what-we-solve .bc-solve__states {
	--challenge-ink: var(--bc-ink);
	--challenge-accent: var(--bc-challenge-accent, rgb(214, 51, 197));
}

#what-we-solve .ct-challenge-grid {
	--challenge-ink: var(--ct-ink);
	--challenge-accent: var(--ct-accent);
}

@media (prefers-reduced-motion: no-preference) {
	:is(#what-changes, #what-we-solve) .ai-outcomes__grid.is-active .service-challenge-letter,
	#what-we-solve .bc-solve__states:has(> .bc-solve-state:first-child.is-active) .service-challenge-letter,
	#what-we-solve .ct-challenge-grid:has(> .ct-challenge-card:first-child.is-active) .service-challenge-letter {
		animation: ai-outcome-title-highlight 9s calc(var(--outcome-title-delay, 0s) + var(--outcome-letter-delay)) ease-in-out infinite;
	}

	:is(#what-changes, #what-we-solve) .ai-outcome:nth-child(2),
	#what-we-solve :is(.bc-solve-state, .ct-challenge-card):nth-child(2) { --outcome-title-delay: 3s; }
	:is(#what-changes, #what-we-solve) .ai-outcome:nth-child(3),
	#what-we-solve :is(.bc-solve-state, .ct-challenge-card):nth-child(3) { --outcome-title-delay: 6s; }
}

@keyframes ai-outcome-title-highlight {
	0%, 16.667%, 100% { color: var(--challenge-ink); }
	2%, 12% { color: var(--challenge-accent); }
}

@media (width > 900px) {
	.ai-outcomes--columns .ai-outcomes__grid > .ai-outcome,
	.bc-solve--columns .bc-solve__states > .bc-solve-state,
	.ct-editorial--challenge .ct-challenge-grid > .ct-challenge-card {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
		align-items: start;
	}
}

.service-approach {
	padding-block: clamp(72px, 9vw, 140px);
	background: #faf9fc;
	color: var(--service-ink);
}

.service-approach--brand,
.service-approach--growth {
	--service-ink: var(--bc-ink);
	--service-muted: var(--bc-muted);
	--service-accent: var(--bc-accent);
}

.service-approach--growth {
	--approach-photo-shade: rgb(13 74 48 / .95);
}

.service-approach--cyber {
	--approach-photo-shade: rgb(11 53 117 / .95);
}

.service-approach--four-steps .service-approach__header {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.service-approach__header {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}

.service-approach__header h2 {
	margin: 0;
	font-size: var(--service-photo-title-size);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.055em;
}

.service-approach--four-steps .service-approach__header h2 {
	font-size: min(var(--service-photo-title-size), 4.2vw);
}

.service-approach__header h2 em,
.service-approach__copy strong {
	color: var(--service-accent);
	font-style: normal;
}

.service-approach__header > :is(p, .service-approach__intro) {
	margin: 0;
	padding-inline-start: clamp(20px, 3.4vw, 54px);
	border-inline-start: 1px solid #ded9e9;
	color: var(--service-muted);
	font-size: var(--ai-intro-size);
	line-height: 1.65;
}

.service-approach__intro p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.service-approach__intro p + p {
	margin-top: 1em;
}

.service-approach__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.5vw, 24px);
	margin: clamp(32px, 5vw, 76px) 0 0;
	padding: 0;
	list-style: none;
}

.service-approach--four-steps .service-approach__steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-approach__media {
	display: flex;
	align-items: end;
	aspect-ratio: 16 / 9;
	padding: 12px 16px;
	background: linear-gradient(15deg, var(--service-accent), #edeafd 68%);
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1;
}

.service-approach__media--photo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	gap: 10px;
}

.service-approach__photo,
.service-approach__media--photo::before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.service-approach__photo {
	z-index: -2;
	object-fit: cover;
}

.service-approach__media--photo::before {
	z-index: -1;
	background: linear-gradient(12deg, var(--approach-photo-shade, rgb(99 18 89 / .95)), rgb(22 15 44 / .15) 54%, transparent 75%);
	content: "";
}

.ai-service:not(.cyber-service) .service-approach__media--photo::before,
.ct-service .service-approach__media--photo::before,
.service-approach--cyber .service-approach__media--photo::before,
.service-approach--growth .service-approach__media--photo::before,
.service-approach--brand .service-approach__media--photo::before {
	content: none;
}

:is(.ct-service, .service-approach--brand, .service-approach--growth) .service-approach__media--photo > span {
	text-shadow: 0 1px 4px rgb(0 0 0 / .9);
}

.service-approach__icon {
	box-sizing: content-box;
	width: .85em;
	height: .85em;
	padding-inline-start: 10px;
	border-inline-start: 1px solid rgb(255 255 255 / .65);
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.service-approach__copy {
	padding: 14px 12px 0;
}

.service-approach__copy h3 {
	margin: 0;
	font-size: clamp(1.2rem, 1.65vw, 1.8rem);
	font-weight: 650;
	line-height: 1.15;
	text-transform: uppercase;
}

.service-approach__copy strong {
	display: block;
	margin-top: 5px;
}

.service-approach__copy p {
	margin: 6px 0 0;
	color: var(--service-muted);
	line-height: 1.55;
}

@media (width > 560px) {
	.service-approach__steps > li {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		row-gap: 0;
	}

	.service-approach__copy {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
		row-gap: 0;
		align-items: start;
	}
}

@media (561px <= width <= 1050px) {
	.service-approach--four-steps .service-approach__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.service-approach__header,
	.service-approach--four-steps .service-approach__header,
	.service-approach__steps {
		grid-template-columns: 1fr;
	}

	.service-approach--four-steps .service-approach__header h2 {
		font-size: min(var(--service-photo-title-size), 7.6vw);
	}

	.service-approach__header > :is(p, .service-approach__intro) {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.service-approach__steps {
		gap: 30px;
	}
}

@media (max-width: 560px) {
	.service-approach--four-steps .service-approach__steps {
		grid-template-columns: 1fr;
	}
}

.service-faq.ai-faq {
	background: linear-gradient(135deg, #fff, #f5f7fb) !important;
	padding-block: clamp(112px, 10vw, 180px) !important;
}

.service-faq.ct-section::before {
	content: none;
}

.service-faq.bc-faq {
	--service-ink: var(--bc-ink);
	--service-muted: var(--bc-muted);
	--service-accent: var(--bc-accent);
}

.service-faq .ai-faq__layout {
	display: grid;
	max-width: 1160px;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 3vw, 48px);
}

.service-faq--wide-heading .ai-faq__layout {
	max-width: none;
}

.service-faq--wide-heading .ai-faq__list {
	width: 100%;
	max-width: 1160px;
	margin-inline: auto;
}

.service-faq .ai-faq__layout .ai-content-header {
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.service-faq .ai-faq__layout .ai-faq__title {
	position: static;
	font-size: var(--service-photo-title-size) !important;
	font-weight: 400;
	text-wrap: balance;
}

.service-faq .ai-faq__title:not(.service-reveal) {
	transform: none;
}

.service-faq .ai-faq__item summary {
	grid-template-columns: minmax(0, 1fr) 28px;
	gap: 24px;
	padding: 28px 0;
	font-size: clamp(1.2rem, 1.5vw, 1.65rem);
	font-weight: 400;
	line-height: 1.25;
}

.service-faq .ai-faq__item summary span {
	width: 28px;
	height: 28px;
	border: 0;
	color: var(--service-accent);
}

.service-faq .ai-faq__item summary span::before,
.service-faq .ai-faq__item summary span::after {
	width: 12px;
	height: 2px;
	background: currentColor;
}

.service-faq .ai-faq__item > p {
	max-width: 720px;
	padding: 0 52px 30px 0;
	font-size: var(--ai-intro-size);
	line-height: 1.68;
}

@media (max-width: 900px) {
	.service-faq.ai-faq {
		padding-block: 92px !important;
	}
}

@media (min-width: 601px) {
	:is(.bc-work-card__content > h3, .ct-selected-work-card__copy > strong) {
		min-block-size: 2lh;
	}

	:is(.bc-work-card__content > strong, .ct-selected-work-card__copy > small) {
		min-block-size: 3lh;
	}
}

.service-work-link {
	display: flex;
	width: fit-content;
	min-height: 44px;
	align-items: center;
	gap: 12px;
	margin-block-start: clamp(34px, 4vw, 52px);
	margin-inline-start: auto;
	color: #4b326a;
	font-weight: 650;
}

.service-work-link span {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.service-work-link img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.service-work-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

@media (prefers-reduced-motion: no-preference) {
	.service-work-link img {
		transition: transform .45s cubic-bezier(.2, .8, .2, 1);
	}

	.service-work-link:is(:hover, :focus-visible) img {
		transform: translateX(5px) rotate(45deg);
	}
}
