:root {
	--cs-ink: #1c1c1c;
	--cs-paper: #f1f1f1;
	--cs-line: rgba(28, 28, 28, 0.18);
	--cs-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

/* Keep navigation available, then reduce its footprint once the page moves. */
.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 999;
}

.elementor-location-header .e-con.e-parent:first-child,
body.home .elementor-element-1859fe39,
.elementor-location-header img,
body.home .elementor-element-5050c330 img {
	transition: min-height 0.3s var(--cs-ease), padding 0.3s var(--cs-ease), max-height 0.3s var(--cs-ease);
}

body.cs-scrolled .elementor-location-header .e-con.e-parent:first-child,
body.cs-scrolled.home .elementor-element-1859fe39 {
	--min-height: 64px !important;
	min-height: 64px !important;
}

body.cs-scrolled .elementor-location-header img,
body.cs-scrolled.home .elementor-element-5050c330 img {
	max-height: 48px !important;
}

/* Motion: retain the visual character without making content wait to appear. */
.animated {
	animation-duration: 0.55s !important;
	animation-timing-function: var(--cs-ease) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 4px;
}

/* Give the final desktop navigation item a clear enquiry action. */
.elementor-location-header .menu-item-792 > a.elementor-item {
	border: 1px solid currentColor;
	padding: 10px 15px !important;
}

.elementor-location-header .menu-item-792 > a.elementor-item::after,
.elementor-location-header .menu-item-792 > a.elementor-item::before {
	display: none !important;
}

/* Team page: consistent cards, portrait treatment and tighter rhythm. */
body.page-id-789 .cs-team-card {
	--margin-top: 24px !important;
	--margin-bottom: 24px !important;
	border: 1px solid rgba(28, 28, 28, 0.1);
	overflow: hidden;
	scroll-margin-top: 100px;
	transition: transform 0.28s var(--cs-ease), box-shadow 0.28s var(--cs-ease);
}

body.page-id-789 .cs-team-card .elementor-widget-image,
body.page-id-789 .cs-team-card .elementor-widget-image .elementor-widget-container {
	height: 100%;
}

body.page-id-789 .cs-team-card .elementor-widget-image img {
	height: 100% !important;
	min-height: 430px;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.6s var(--cs-ease);
}

body.page-id-789 .cs-team-card h2 {
	font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
	line-height: 1.1 !important;
}

body.page-id-789 .cs-team-card h3 {
	font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
	line-height: 1.35 !important;
}

/* Elementor renders the card artwork as an overlay; keep it decorative so it
   cannot intercept the profile toggle or contact links. */
body.page-id-789 .cs-team-card-content::before {
	pointer-events: none;
}

.cs-team-bio-toggle {
	align-items: center;
	align-self: flex-start;
	background: transparent;
	border: 0;
	border-bottom: 1px solid currentColor;
	color: inherit;
	cursor: pointer;
	display: none;
	font: inherit;
	font-weight: 600;
	gap: 8px;
	margin: 14px 0 4px;
	padding: 4px 0;
}

.cs-team-bio-toggle::after {
	content: "+";
	font-size: 1.2em;
	line-height: 1;
}

.cs-team-bio-toggle[aria-expanded="true"]::after {
	content: "−";
}

body.page-id-789 .cs-team-bio-toggle:hover,
body.page-id-789 .cs-team-bio-toggle:focus,
body.page-id-789 .cs-team-bio-toggle:active {
	background: transparent !important;
	box-shadow: none !important;
	color: #fff;
}

/* Project archive controls and consistent cards. */
.cs-project-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 46px auto 8px;
	max-width: 1140px;
	padding: 0 24px;
}

.cs-project-filter {
	background: transparent;
	border: 1px solid var(--cs-ink);
	border-radius: 999px;
	color: var(--cs-ink);
	font-family: "Montserrat", sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	padding: 10px 16px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cs-project-filter:hover,
.cs-project-filter.is-active {
	background: var(--cs-ink);
	color: var(--cs-paper);
	transform: translateY(-1px);
}

body.page-id-781 .elementor-posts-container {
	align-items: stretch;
}

body.page-id-781 .elementor-post,
body.page-id-781 .elementor-post__card {
	height: 100%;
}

body.page-id-781 .elementor-post__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s var(--cs-ease), box-shadow 0.25s var(--cs-ease);
}

body.page-id-781 .elementor-post__thumbnail img {
	transition: transform 0.45s var(--cs-ease) !important;
}

body.page-id-781 .elementor-post__text {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.page-id-781 .elementor-post__title {
	text-transform: none !important;
}

body.page-id-781 .elementor-post__read-more {
	margin-top: auto;
}

.cs-project-meta {
	color: rgba(241, 241, 241, 0.72);
	font-family: "Mukta Mahee", sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.11em;
	margin: 3px 0 12px;
	order: -1;
	text-transform: uppercase;
}

.cs-project-meta span + span::before {
	content: " · ";
}

.cs-project-card-clickable {
	cursor: pointer;
}

/*
 * Single project layout.
 *
 * An explicit grid keeps the summary and article at useful widths. Native
 * sticky positioning also avoids Elementor leaving behind a sized spacer or
 * calculating the fixed panel width from the wrong container.
 */
@media (min-width: 1025px) {
	body.single-post .elementor-element-691254df > .e-con-inner {
		align-items: start;
		display: grid !important;
		gap: 42px clamp(42px, 5vw, 76px) !important;
		grid-template-columns: minmax(290px, 0.36fr) minmax(0, 0.64fr);
	}

	body.single-post .elementor-element-691254df > .e-con-inner > .elementor-element-7e69476e,
	body.single-post .elementor-element-691254df > .e-con-inner > .elementor-element-71805e67 {
		--width: 100% !important;
		min-width: 0;
		width: 100% !important;
	}

	body.single-post .elementor-element-7e69476e,
	body.single-post .elementor-element-7e69476e.elementor-sticky--active {
		align-self: start;
		inset: auto !important;
		position: sticky !important;
		top: 92px !important;
		transform: none !important;
		width: 100% !important;
	}

	body.single-post .elementor-element-7e69476e + .elementor-sticky__spacer {
		display: none !important;
	}

}

@media (max-width: 1024px) {
	body.single-post .elementor-element-691254df > .e-con-inner {
		display: flex !important;
		flex-direction: column !important;
	}

	body.single-post .elementor-element-7e69476e,
	body.single-post .elementor-element-7e69476e.elementor-sticky--active {
		inset: auto !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
	}

	body.single-post .elementor-element-7e69476e + .elementor-sticky__spacer {
		display: none !important;
	}

	body.single-post .elementor-element-71805e67 {
		width: 100%;
	}
}

/* Sector switcher: useful context on every specialist service page. */
.cs-service-tools {
	background: rgba(241, 241, 241, 0.96);
	border-bottom: 1px solid var(--cs-line);
	border-top: 1px solid var(--cs-line);
	margin: 0 0 34px;
	position: sticky;
	top: 72px;
	z-index: 20;
	backdrop-filter: blur(12px);
}

.cs-service-nav,
.cs-page-jumps {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 10px 12px;
	scrollbar-width: none;
}

.cs-service-nav::-webkit-scrollbar,
.cs-page-jumps::-webkit-scrollbar {
	display: none;
}

.cs-service-nav__link,
.cs-page-jumps a {
	color: var(--cs-ink);
	flex: 0 0 auto;
	font-family: "Mukta Mahee", sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	padding: 8px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.cs-service-nav__link.is-active {
	background: var(--cs-ink);
	color: var(--cs-paper);
}

.cs-page-jumps {
	border-top: 1px solid rgba(28, 28, 28, 0.08);
	justify-content: flex-end;
	padding-bottom: 6px;
	padding-top: 6px;
}

.cs-page-jumps a::after {
	content: " ↓";
}

/* Existing service actions and the new project enquiry panel share one language. */
.elementor-element-352485c,
.elementor-element-c1ff953 {
	transition: background-color 0.25s ease, transform 0.25s var(--cs-ease);
}

.elementor-element-352485c:hover,
.elementor-element-c1ff953:hover {
	transform: translateY(-2px);
}

.elementor-element-352485c .elementor-heading-title::after,
.elementor-element-c1ff953 .elementor-heading-title::after {
	content: "  →";
}

.cs-project-actions:empty {
	display: none;
}

.cs-project-actions,
.cs-enquiry-cta {
	margin: 28px auto;
	max-width: 1140px;
}

.cs-project-actions .cs-button > [aria-hidden="true"],
.cs-enquiry-cta .cs-button > [aria-hidden="true"] {
	display: none;
}

.cs-project-actions--summary {
	margin: 24px 0 0;
	max-width: none;
}

.cs-project-actions--summary .cs-button--outline {
	border-color: var(--cs-paper);
	color: var(--cs-paper);
}

.cs-project-actions--summary .cs-button--outline:hover,
.cs-project-actions--summary .cs-button--outline:focus-visible {
	background: var(--cs-paper);
	color: var(--cs-ink);
}

.cs-enquiry-cta {
	align-items: center;
	background: var(--cs-ink);
	color: var(--cs-paper);
	display: flex;
	gap: 30px;
	justify-content: space-between;
	padding: clamp(28px, 5vw, 56px);
}

.cs-enquiry-cta h2 {
	color: inherit;
	font-size: clamp(1.55rem, 3vw, 2.6rem);
	line-height: 1.12;
	margin: 0;
	max-width: 720px;
}

.cs-eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.cs-button {
	background: var(--cs-paper);
	border: 1px solid var(--cs-paper);
	color: var(--cs-ink);
	display: inline-flex;
	flex: 0 0 auto;
	font-family: "Mukta Mahee", sans-serif;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 10px;
	letter-spacing: 0.08em;
	padding: 13px 18px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--cs-ease);
}

.cs-button:hover {
	background: transparent;
	color: var(--cs-paper);
	transform: translateY(-2px);
}

.cs-button--outline {
	background: transparent;
	border-color: var(--cs-ink);
	color: var(--cs-ink);
}

.cs-button--outline:hover {
	background: var(--cs-ink);
	color: var(--cs-paper);
}

/* A single quiet reveal pattern replaces one-off entrance effects. */
.cs-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.52s var(--cs-ease), transform 0.52s var(--cs-ease);
	transition-delay: var(--cs-reveal-delay, 0ms);
}

.cs-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

body.page-id-781 .elementor-post[hidden] {
	display: none !important;
}

/* Keep partner logos optically consistent even when source canvases vary wildly. */
body.home .elementor-element-584ddf7 .elementor-image-carousel-wrapper,
body.home .elementor-element-584ddf7 .swiper-wrapper,
body.home .elementor-element-584ddf7 .swiper-slide,
body.home .elementor-element-584ddf7 .swiper-slide-inner {
	height: 150px;
}

body.home .elementor-element-584ddf7 .swiper-slide-inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.home .elementor-element-584ddf7 .swiper-slide-image {
	display: block;
	height: auto !important;
	max-height: 105px;
	max-width: min(190px, 82%);
	object-fit: contain;
	width: auto !important;
}

/* Hover motion belongs on devices that actually have a hover-capable pointer. */
@media (hover: hover) and (pointer: fine) {
	body.page-id-789 .cs-team-card:hover {
		box-shadow: 0 18px 48px rgba(0, 0, 0, 0.09);
		transform: translateY(-3px);
	}

	body.page-id-789 .cs-team-card:hover .elementor-widget-image img {
		transform: scale(1.018);
	}

	body.page-id-781 .elementor-post__card:hover {
		box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
		transform: translateY(-4px);
	}

	body.page-id-781 .elementor-post__card:hover .elementor-post__thumbnail img {
		transform: translate(-50%, -50%) scale(1.035) !important;
	}
}

/* Keep the consent choice visible without obscuring most of the page. */
.cky-consent-container {
	max-width: min(400px, calc(100vw - 32px)) !important;
}

.cky-consent-container .cky-consent-bar {
	padding: 20px !important;
}

.cky-consent-container .cky-title {
	font-size: 1rem !important;
}

.cky-consent-container .cky-notice-des {
	font-size: 0.84rem !important;
	line-height: 1.55 !important;
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: 86px;
	}

	body.cs-scrolled .elementor-location-header .e-con.e-parent:first-child,
	body.cs-scrolled.home .elementor-element-1859fe39 {
		--min-height: 72px !important;
		min-height: 72px !important;
	}

	body.cs-scrolled .elementor-location-header img,
	body.cs-scrolled.home .elementor-element-5050c330 img {
		max-height: 50px !important;
	}

	body.cs-scrolled .elementor-menu-toggle {
		align-items: center;
		display: flex;
		min-height: 42px;
		overflow: visible;
	}

	body.cs-scrolled .elementor-menu-toggle svg {
		height: 28px !important;
		max-height: none !important;
		width: 28px !important;
	}

	body.page-id-789 .cs-team-card {
		--margin-top: 16px !important;
		--margin-bottom: 16px !important;
	}

	body.page-id-789 .cs-team-card .elementor-widget-image img {
		aspect-ratio: 4 / 5;
		height: auto !important;
		min-height: 0;
	}

	/* Jack's supplied portrait is square: show the complete frame on phones. */
	body.page-id-789 #jack-piercy .elementor-element-7178849,
	body.page-id-789 #jack-piercy .elementor-element-87b71bb,
	body.page-id-789 #jack-piercy .elementor-element-87b71bb .elementor-widget-container {
		height: auto !important;
		min-height: 0 !important;
	}

	body.page-id-789 #jack-piercy > .e-con-inner > .elementor-element-7178849 {
		--width: 100% !important;
		aspect-ratio: 1 / 1;
		flex: 0 0 auto !important;
		overflow: hidden;
		position: relative;
		width: 100% !important;
	}

	body.page-id-789 #jack-piercy > .e-con-inner > .elementor-element-d48933d {
		--width: 100% !important;
		width: 100% !important;
	}

	body.page-id-789 #jack-piercy .elementor-element-87b71bb,
	body.page-id-789 #jack-piercy .elementor-element-87b71bb .elementor-widget-container {
		inset: 0;
		position: absolute;
	}

	body.page-id-789 .elementor-element-87b71bb img {
		aspect-ratio: auto;
		background: #dfe3e9;
		display: block;
		height: 100% !important;
		max-width: none;
		object-fit: contain;
		object-position: center;
		width: 100% !important;
	}

	.cs-js body.page-id-789 .cs-team-bio.is-collapsible:not(.is-expanded) {
		-webkit-mask-image: linear-gradient(#000 62%, transparent 100%);
		mask-image: linear-gradient(#000 62%, transparent 100%);
		max-height: 11rem;
		overflow: hidden;
	}

	body.page-id-789 .cs-team-bio-toggle {
		color: #fff;
		display: inline-flex;
	}

	body.page-id-789 .cs-team-bio-toggle:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 5px;
	}

	/* Neutralise Elementor's sticky zoom state on touch screens. */
	body.page-id-781 .elementor-post__card,
	body.page-id-781 .elementor-post__card:hover {
		box-shadow: none;
		transform: none !important;
	}

	body.page-id-781 .elementor-post__thumbnail img,
	body.page-id-781 .elementor-post__card:hover .elementor-post__thumbnail img {
		transform: translate(-50%, -50%) scale(1.01) !important;
	}

	/* Fourteen partners fit in a compact, manually scrollable two-row grid. */
	body.home .elementor-element-584ddf7,
	body.home .elementor-element-584ddf7 .elementor-widget-container,
	body.home .elementor-element-584ddf7 .elementor-image-carousel-wrapper {
		height: auto !important;
		min-height: 0 !important;
	}

	body.home .elementor-element-584ddf7 .elementor-image-carousel-wrapper {
		overflow-x: auto;
		overflow-y: hidden;
		padding: 6px 18px 14px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	body.home .elementor-element-584ddf7 .elementor-image-carousel-wrapper::-webkit-scrollbar {
		display: none;
	}

	body.home .elementor-element-584ddf7 .swiper-wrapper {
		display: grid !important;
		gap: 8px 16px;
		grid-auto-columns: minmax(126px, 38vw);
		grid-auto-flow: column;
		grid-template-rows: repeat(2, 82px);
		height: auto !important;
		transform: none !important;
		width: max-content !important;
	}

	body.home .elementor-element-584ddf7 .swiper-slide,
	body.home .elementor-element-584ddf7 .swiper-slide-inner {
		height: 82px !important;
		min-height: 0 !important;
		width: auto !important;
	}

	body.home .elementor-element-584ddf7 .swiper-slide {
		scroll-snap-align: start;
	}

	body.home .elementor-element-584ddf7 .swiper-slide-duplicate {
		display: none !important;
	}

	body.home .elementor-element-584ddf7 .swiper-slide-image {
		max-height: 58px;
		max-width: 112px;
	}

	body.page-id-781 .elementor-post__title,
	body.page-id-781 .elementor-post__title a,
	body.single-post .elementor-post__title,
	body.single-post .elementor-post__title a {
		letter-spacing: 0.09em !important;
	}

	.cs-service-tools {
		margin-bottom: 24px;
		top: 72px;
	}

	.cs-page-jumps {
		justify-content: flex-start;
	}

	.cs-project-actions {
		display: flex;
		justify-content: center;
		margin-left: 16px;
		margin-right: 16px;
	}

	.cs-enquiry-cta {
		align-items: flex-start;
		flex-direction: column;
		margin-left: 16px;
		margin-right: 16px;
	}

	.cs-project-filters {
		justify-content: flex-start;
		margin-top: 30px;
		overflow-x: auto;
		padding-bottom: 8px;
		flex-wrap: nowrap;
	}

	.cs-project-filter {
		flex: 0 0 auto;
	}

	.cky-consent-container {
		bottom: 12px !important;
		left: 16px !important;
		right: 16px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto !important;
	}

	*,
	*::before,
	*::after {
		animation-delay: 0s !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.elementor-background-slideshow,
	.elementor-background-video-container {
		display: none !important;
	}

	.elementor-invisible {
		visibility: visible !important;
	}

	.cs-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
