/* Final GJS Design accent system: solid blue and grey rules only. */
:root {
	--gjs-current-blue: #1E88E5;
	--gjs-current-blue-dark: #1565C0;
	--gjs-current-blue-soft: #EAF4FE;
	--gjs-current-line: #D7DEE8;
	--gjs-current-line-soft: #E6EBF2;
	--gjs-current-panel: #FFFFFF;
}

/* Remove old vertical title markers; headings receive solid colour treatment from the theme layer. */
html body :is(.gjs-homepage, .gjs-services-page, .gjs-projects-page, .gjs-contact-page, .gjs-faqs-page, .gjs-service-page, .gjs-about-page) :is(.gjs-eyebrow, .gjs-sp-eyebrow, .gjs-pr-eyebrow, .gjs-cp-eyebrow, .gjs-fq-eyebrow, .gjs-svc-eyebrow)::before,
html body .gjs-homepage .gjs-hero .gjs-eyebrow::before,
html body .gjs-service-page .gjs-svc-hero .gjs-svc-eyebrow::before,
html body .gjs-homepage .gjs-hero__brand-text::before,
html body .gjs-site-footer h3::before {
	content: none !important;
	display: none !important;
}

/* Section and hero rules. */
html body :is(.gjs-homepage, .gjs-services-page, .gjs-projects-page, .gjs-contact-page, .gjs-faqs-page, .gjs-service-page, .gjs-about-page) :is(.gjs-section, .gjs-sp-section, .gjs-pr-section, .gjs-cp-section, .gjs-fq-section, .gjs-svc-section)::before {
	background: var(--gjs-current-line) !important;
}

html body .gjs-homepage .gjs-hero::before,
html body .gjs-service-page .gjs-svc-hero::before,
html body :is(.gjs-services-page, .gjs-projects-page, .gjs-contact-page, .gjs-faqs-page) :is(.gjs-sp-hero, .gjs-pr-hero, .gjs-cp-hero, .gjs-fq-hero)::before {
	background: transparent !important;
}

html body .gjs-homepage .gjs-hero::after,
html body .gjs-site-footer::before {
	background: var(--gjs-current-blue) !important;
}

html body .gjs-homepage .gjs-cta__inner {
	border-top-color: var(--gjs-current-line) !important;
	border-bottom-color: var(--gjs-current-line) !important;
}

/* Card, panel and footer accents. */
html body .gjs-homepage .gjs-service-card::before,
html body .gjs-service-page :is(.gjs-svc-feature-card, .gjs-svc-industry-card, .gjs-svc-related-card)::before,
html body .gjs-about-page .gjs-about-achievement::before,
html body .gjs-service-page .gjs-svc-process::before,
html body .gjs-about-page .gjs-about-process::before,
html body .gjs-about-page :is(.gjs-about-stat, .gjs-about-process__item)::before,
html body .gjs-site-footer__column a::after,
html body .gjs-site-footer__trust::before {
	background: var(--gjs-current-blue) !important;
}

html body .gjs-about-page .gjs-about-who__panel {
	background: var(--gjs-current-panel) !important;
	border-color: var(--gjs-current-line) !important;
}

html body .gjs-site-footer__trust-mark,
html body .gjs-site-footer__contact-icon {
	border-color: rgba(255, 255, 255, 0.24) !important;
	color: #FFFFFF !important;
}

html body .gjs-site-footer__trust,
html body .gjs-site-footer__cta {
	border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Homepage hero slideshow only. */
html body .gjs-homepage .gjs-hero.gjs-hero--slideshow {
	background: #20242A !important;
	background-image: none !important;
	color: #FFFFFF !important;
	min-height: clamp(620px, 78vh, 860px) !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: relative !important;
}

html body .gjs-homepage .gjs-hero.gjs-hero--slideshow::before {
	background: transparent !important;
	background-image: none !important;
}

html body .gjs-homepage .gjs-hero.gjs-hero--slideshow::after {
	background: #1E88E5 !important;
	background-image: none !important;
	bottom: 0 !important;
	height: 5px !important;
	z-index: 4 !important;
}

html body .gjs-homepage .gjs-hero__slides,
html body .gjs-homepage .gjs-hero__slide,
html body .gjs-homepage .gjs-hero__overlay {
	inset: 0 !important;
	position: absolute !important;
}

html body .gjs-homepage .gjs-hero__slides {
	overflow: hidden !important;
	z-index: 0 !important;
}

html body .gjs-homepage .gjs-hero__slide {
	opacity: 0 !important;
	transition: opacity 900ms ease !important;
	z-index: 0 !important;
}

html body .gjs-homepage .gjs-hero__slide.is-active {
	opacity: 1 !important;
	z-index: 1 !important;
}

html body .gjs-homepage .gjs-hero__slide img {
	display: block !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	width: 100% !important;
}

html body .gjs-homepage .gjs-hero__overlay {
	background: rgba(15, 20, 28, 0.44) !important;
	z-index: 1 !important;
}

html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__grid {
	align-items: center !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	min-height: clamp(620px, 78vh, 860px) !important;
	position: relative !important;
	z-index: 2 !important;
}

html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__content {
	max-width: min(1050px, 78vw) !important;
	padding: 96px 0 120px !important;
}

html body .gjs-homepage .gjs-hero.gjs-hero--slideshow h1 {
	color: #FFFFFF !important;
	font-size: clamp(2.9rem, 5.2vw, 5rem) !important;
	line-height: 1.02 !important;
	margin: 0 !important;
	max-width: min(1050px, 78vw) !important;
	text-shadow: 0 3px 24px rgba(0, 0, 0, 0.38) !important;
	text-wrap: balance !important;
}

html body .gjs-homepage .gjs-hero__dots {
	align-items: center !important;
	bottom: clamp(28px, 5vw, 54px) !important;
	display: flex !important;
	gap: 11px !important;
	justify-content: center !important;
	position: absolute !important;
	right: clamp(28px, 5vw, 72px) !important;
	z-index: 5 !important;
}

html body .gjs-homepage .gjs-hero__dot {
	appearance: none !important;
	background: rgba(255, 255, 255, 0.54) !important;
	border: 1px solid rgba(255, 255, 255, 0.72) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	height: 11px !important;
	padding: 0 !important;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease !important;
	width: 11px !important;
}

html body .gjs-homepage .gjs-hero__dot:hover,
html body .gjs-homepage .gjs-hero__dot:focus-visible {
	background: #FFFFFF !important;
	border-color: #FFFFFF !important;
	outline: 3px solid rgba(30, 136, 229, 0.42) !important;
	outline-offset: 4px !important;
}

html body .gjs-homepage .gjs-hero__dot.is-active {
	background: #1E88E5 !important;
	border-color: #1E88E5 !important;
	transform: scale(1.22) !important;
}

html body .gjs-homepage .gjs-hero + .gjs-section,
html body .gjs-homepage .gjs-services {
	background: #E2E6EB !important;
	background-image: none !important;
}

/* Homepage services overview layout only. */
html body .gjs-homepage .gjs-services__grid {
	align-items: stretch !important;
	display: grid !important;
	gap: 28px !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

html body .gjs-homepage .gjs-service-card {
	display: grid !important;
	grid-column: span 2 !important;
	grid-template-columns: 1fr !important;
	grid-template-rows: auto 1fr !important;
	min-height: auto !important;
}

html body .gjs-homepage .gjs-service-card:nth-child(-n+2) {
	grid-column: span 3 !important;
}

html body .gjs-homepage .gjs-service-card__media img,
html body .gjs-homepage .gjs-service-card:first-child .gjs-service-card__media img,
html body .gjs-homepage .gjs-service-card:not(:first-child) .gjs-service-card__media img {
	aspect-ratio: 1.5 / 1 !important;
	height: auto !important;
	object-fit: cover !important;
	width: 100% !important;
}

html body .gjs-homepage .gjs-service-card__body,
html body .gjs-homepage .gjs-service-card:first-child .gjs-service-card__body,
html body .gjs-homepage .gjs-service-card:not(:first-child) .gjs-service-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 24px !important;
}

html body .gjs-homepage .gjs-services .gjs-service-card__body h3 {
	margin-bottom: 12px;
}

html body .gjs-homepage .gjs-services .gjs-service-card__body p {
	margin-bottom: 0;
}

html body .gjs-homepage .gjs-services .gjs-card-link {
	justify-content: flex-start;
	margin-top: auto;
	min-height: 44px;
	padding: 16px 0 0;
}

html body .gjs-homepage .gjs-services .gjs-card-link .gjs-icon {
	flex-shrink: 0;
}

html body .gjs-homepage .gjs-service-card h3,
html body .gjs-homepage .gjs-service-card:first-child h3,
html body .gjs-homepage .gjs-service-card:not(:first-child) h3 {
	font-size: 1.34rem !important;
	line-height: 1.14 !important;
}

@media (max-width: 1180px) {
	html body .gjs-homepage .gjs-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	html body .gjs-homepage .gjs-service-card,
	html body .gjs-homepage .gjs-service-card:nth-child(-n+2) {
		grid-column: span 1 !important;
	}
}

@media (max-width: 1020px) {
	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 820px) {
	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow,
	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__grid {
		min-height: 640px !important;
	}

	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__grid {
		grid-template-columns: 1fr !important;
	}

	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow .gjs-hero__content {
		max-width: 92% !important;
		padding: 76px 0 126px !important;
	}

	html body .gjs-homepage .gjs-hero.gjs-hero--slideshow h1 {
		font-size: clamp(1.7rem, 8.5vw, 3.25rem) !important;
	}

	html body .gjs-homepage .gjs-hero__slide img {
		object-position: center !important;
	}

	html body .gjs-homepage .gjs-hero__overlay {
		background: rgba(15, 20, 28, 0.52) !important;
	}

	html body .gjs-homepage .gjs-hero__dots {
		bottom: 34px !important;
		left: 50% !important;
		right: auto !important;
		transform: translateX(-50%) !important;
	}
}

@media (max-width: 760px) {
	html body .gjs-homepage .gjs-services__grid {
		grid-template-columns: 1fr !important;
	}

	html body .gjs-homepage .gjs-service-card,
	html body .gjs-homepage .gjs-service-card:nth-child(-n+2) {
		grid-column: 1 / -1 !important;
	}
}

@media (max-width: 520px) {
	html body .gjs-homepage .gjs-service-card__body,
	html body .gjs-homepage .gjs-service-card:first-child .gjs-service-card__body,
	html body .gjs-homepage .gjs-service-card:not(:first-child) .gjs-service-card__body {
		padding: 20px !important;
	}
}

/* Homepage final call to action only. */
html body .gjs-homepage .gjs-cta {
	padding: clamp(48px, 5vw, 72px) 0;
}

html body .gjs-homepage .gjs-cta__inner {
	gap: 28px;
	padding: 32px 0;
}

html body .gjs-homepage .gjs-cta .gjs-eyebrow,
html body .gjs-homepage .gjs-cta h2 {
	margin-bottom: 16px;
}

@media (max-width: 820px) {
	html body .gjs-homepage .gjs-cta__inner {
		padding: 24px 0;
	}
}

/* Homepage audience section only. */
html body .gjs-homepage .gjs-audience .gjs-client-logos {
	border-top: 1px solid var(--gjs-current-line);
	margin-top: 32px;
	padding-top: 24px;
}

html body .gjs-homepage .gjs-audience .gjs-client-logos > .gjs-eyebrow {
	display: block;
	margin: 0 0 16px;
	text-align: center;
}

html body .gjs-homepage .gjs-audience .gjs-client-logos__strip {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

html body .gjs-homepage .gjs-audience .gjs-client-logos__placeholder {
	align-items: center;
	border: 1px solid var(--gjs-current-line);
	border-radius: 6px;
	display: flex;
	flex: 0 0 calc((100% - 64px) / 5);
	font-size: 0.8rem;
	height: 80px;
	justify-content: center;
	min-width: 0;
	padding: 12px;
	text-align: center;
}

@media (max-width: 820px) {
	html body .gjs-homepage .gjs-audience .gjs-client-logos__placeholder {
		flex-basis: calc((100% - 32px) / 3);
	}
}

@media (max-width: 520px) {
	html body .gjs-homepage .gjs-audience .gjs-client-logos__strip {
		gap: 12px;
	}

	html body .gjs-homepage .gjs-audience .gjs-client-logos__placeholder {
		flex-basis: calc((100% - 12px) / 2);
		height: 72px;
	}
}

html body .gjs-homepage .gjs-audience {
	padding: clamp(64px, 7vw, 96px) 0;
}

html body .gjs-homepage .gjs-audience .gjs-section__intro {
	margin-bottom: 32px;
}

html body .gjs-homepage .gjs-audience .gjs-section__intro > p:last-child {
	margin-bottom: 0;
	max-width: 760px;
}

html body .gjs-homepage .gjs-audience__grid {
	align-items: stretch;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

html body .gjs-homepage .gjs-audience-card {
	align-items: center;
	border: 1px solid var(--gjs-current-line);
	border-radius: 8px;
	display: flex;
	min-height: 132px;
	min-width: 0;
	padding: 28px;
}

html body .gjs-homepage .gjs-audience-card h3 {
	font-size: 1.34rem;
	line-height: 1.25;
	margin: 0;
}

@media (max-width: 1024px) {
	html body .gjs-homepage .gjs-audience__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	html body .gjs-homepage .gjs-audience__grid {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	html body .gjs-homepage .gjs-audience-card {
		min-height: 112px;
		padding: 24px;
	}
}

/* Full-width page backgrounds; inner content shells retain their approved widths. */
html body {
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}

html body #page.gjs-site-shell,
html body #content.gjs-site-content,
html body #primary.site-main {
	box-sizing: border-box;
	float: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100% !important;
}

html body #page.gjs-site-shell > .gjs-site-header,
html body #page.gjs-site-shell > .gjs-site-footer {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
