/*
 * Site-wide fixes and finishing layer (2026 refresh). Loaded after rooteam.css on every page.
 * Grouped by area; each block says what it fixes.
 */

:root {
	--rt-sky: #47c4ee;
	--rt-leaf: #3fd87d;
	--rt-sun: #ffbb00;
	--rt-coral: #f6989a;
	--rt-deep: #012e38;
	--rt-ink: #424242;
	--rt-body: #666666;
	--rt-muted: #909293;
}

/* ---------- Accessibility ---------- */

/* rooteam.css removes every focus outline (*:focus { outline: none }). Keyboard users need to see where they are. */
html body :focus-visible {
	outline: 2px solid var(--rt-sky);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: #ffffff;
	color: var(--rt-ink);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.skip-link:focus {
	top: 16px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Header ---------- */

/* On the homepage the Contact button was white text on 10% white over the sky-blue hero (contrast ~2:1). */
.home #header:not(.fixed) #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item:last-child > a.mega-menu-link {
	color: var(--rt-ink) !important;
	background: #ffffff url(../images/button-arrow-dark.png) calc(100% - 22px) center no-repeat !important;
	border-color: #ffffff !important;
	box-shadow: 0 6px 24px rgba(1, 46, 56, 0.12);
}

.home #header:not(.fixed) #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item:last-child > a.mega-menu-link:hover {
	color: #ffffff !important;
	background: var(--rt-deep) url(../images/button-arrow.png) calc(100% - 22px) center no-repeat !important;
	border-color: var(--rt-deep) !important;
}

/* ---------- Homepage hero ---------- */

/* On phones the paragraph ran under the blue shape on the right edge. */
@media (max-width: 636px) {
	.home-top-about-us-wrapper > .wpb_column:first-child .vc_column-inner {
		padding-right: 44px !important;
	}

	.home-top-about-us .wpb_content_element p {
		max-width: 100%;
	}

	.home-top-about-us .wpcf7 input[type="email"] {
		min-width: 0;
	}
}

/* Email + button: the button was absolutely positioned at a fixed 155px, so longer labels were cut off. */
.home-top-about-us .wpcf7 {
	display: block;
	max-width: 470px;
}

.home-top-about-us .wpcf7 form > p {
	display: flex;
	align-items: center;
	margin: 0;
	max-width: none;
}

.home-top-about-us .wpcf7 .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.home-top-about-us .wpcf7 input[type="email"] {
	width: 100%;
	box-sizing: border-box;
}

.home-top-about-us .wpcf7 input[type="submit"] {
	position: static;
	flex: 0 0 auto;
	width: auto;
	white-space: nowrap;
	padding: 15px 40px 15px 16px;
}

.home-top-about-us .wpcf7 .wpcf7-spinner {
	position: absolute;
	right: 8px;
	top: 50%;
	margin: -12px 0 0;
}

@media (max-width: 480px) {
	.home-top-about-us .wpcf7 form > p {
		flex-direction: column;
		align-items: stretch;
	}

	.home-top-about-us .wpcf7 input[type="submit"] {
		text-align: left;
		padding-left: 20px;
		border-top: 1px solid rgba(66, 66, 66, 0.08);
	}
}

/* ---------- Homepage client logos ---------- */

/* Logos came in at different sizes and weights; give them one optical size, quiet until hovered. */
.home-top-users ul.rooteam-gallery-images {
	width: 100%;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 40px;
	align-items: center;
	max-width: 520px;
}

.home-top-users ul.rooteam-gallery-images li {
	width: auto;
	margin: 0;
	padding: 0 !important; /* rooteam.css pads each cell 30px !important, shrinking logos to ~50px */
	display: flex;
	align-items: center;
	justify-content: center;
	height: 72px;
}

.home-top-users ul.rooteam-gallery-images li img {
	width: auto;
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
	filter: grayscale(1) contrast(1.15);
	opacity: 0.9;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.home-top-users ul.rooteam-gallery-images li:hover img {
	filter: none;
	opacity: 1;
}

@media (max-width: 636px) {
	.home-top-users ul.rooteam-gallery-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}
}

/* ---------- Homepage services slider ---------- */

/* The tab row was itself a 700px slick carousel, so tabs were cut off. Now six plain tabs that wrap. */
.home-services .services-nav.rt-tabs-static {
	width: auto !important;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 32px;
	max-width: 100%;
}

.home-services .services-nav.rt-tabs-static::before,
.home-services .services-nav.rt-tabs-static::after {
	display: none !important;
}

.home-services .services-nav.rt-tabs-static button {
	position: relative;
	padding: 6px 0 10px;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	font: inherit;
	font-size: 15px;
	color: var(--rt-muted);
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.home-services .services-nav.rt-tabs-static button:hover {
	color: var(--rt-ink);
}

.home-services .services-nav.rt-tabs-static button[aria-selected="true"] {
	color: var(--rt-ink);
	border-bottom-color: var(--rt-ink);
}

.home-services.deep-data .services-nav.rt-tabs-static button {
	color: rgba(255, 255, 255, 0.55);
}

.home-services.deep-data .services-nav.rt-tabs-static button[aria-selected="true"],
.home-services.deep-data .services-nav.rt-tabs-static button:hover {
	color: #ffffff;
	border-bottom-color: #ffffff;
}

/* the 01 | 06 counter sits under the slide text instead of stranded at the far left */
.home-services .service-slider-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.home-services .service-slider-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 18px;
	border: 1px solid rgba(66, 66, 66, 0.15);
}

.home-services.deep-data .service-slider-nav a {
	border-color: rgba(255, 255, 255, 0.25);
}

.home-services .service-slider-nav::after {
	display: none;
}

.home-services .service-slider-nav .total-slide::before {
	content: "/";
	margin-right: 10px;
	opacity: 0.5;
}

.home-services .service-slider-nav span {
	width: auto;
}

/* phones: one swipeable row of tabs instead of three wrapped rows */
@media (max-width: 636px) {
	.home-services .services-nav.rt-tabs-static {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 24px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.home-services .services-nav.rt-tabs-static::-webkit-scrollbar {
		display: none;
	}

	.home-services .services-nav.rt-tabs-static button {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

/* the CSS particle wave replaces the three.js canvas on the Deep Data slide */
.home-service-slider {
	position: relative;
}

/* the wave takes the right-hand half, where the slide image sits on other slides */
.home-service-slider .rt-wave {
	top: auto;
	left: 38%;
	height: 75%;
	opacity: 0;
	z-index: 0;
	transition: opacity 1.6s ease;
}

.home-service-slider.deep-data .rt-wave {
	opacity: 0.7;
}

.home-service-slider .services-nav,
.home-service-slider .services-slider,
.home-service-slider .service-slider-nav {
	position: relative;
	z-index: 1;
}

/* ---------- T.E.A.M. letters (were <h1>s; now styled spans, one real H1 per page) ---------- */

.team-letter {
	display: block;
	font-family: 'Cirka-Bold', serif;
	font-size: clamp(88px, 9.6vw, 138px);
	line-height: 1;
	letter-spacing: -1px;
	margin: 0;
}

.home-team-phase-a .team-letter, .team-roots-team-phase-a .team-letter { color: #47c7ef; }
.home-team-phase-b .team-letter, .team-roots-team-phase-b .team-letter { color: #ffbc00; }
.home-team-phase-c .team-letter, .team-roots-team-phase-c .team-letter { color: #f6989a; }
.home-team-phase-d .team-letter, .team-roots-team-phase-d .team-letter { color: #3fd87d; }

/* page headings that became <h1> keep the look of the <h2> they replaced */
h1.rt-page-title {
	font-size: 60px;
	line-height: 1em;
}

@media (max-width: 900px) {
	h1.rt-page-title {
		font-size: 40px;
	}
}

/* ---------- Testimonials: initials instead of placeholder silhouettes ---------- */

.clients-carousel .client-details .rt-initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	margin-right: 14px;
	border-radius: 50%;
	font-family: 'Cirka-Bold', serif;
	font-size: 20px;
	letter-spacing: 0.5px;
	color: #ffffff;
	background: var(--rt-initials, var(--rt-sky));
}

/* ---------- Page-builder entrance animations ---------- */

/* WPBakery's fadeInLeft/Right start a full screen-width away, so text flew across the page and looked cut off.
   Same effects, short distance. */
.wpb_animate_when_almost_visible.wpb_start_animation {
	animation-duration: 0.7s;
}

@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(32px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeftBig { from { opacity: 0; transform: translate3d(-48px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRightBig { from { opacity: 0; transform: translate3d(48px, 0, 0); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */

#footer .widget_text a.facebook,
#footer .widget_text a.twitter,
#footer .widget_text a.linkedin,
#footer .widget_text a.instagram {
	display: inline-flex;
	align-items: center;
	min-width: 32px;
	min-height: 32px;
}

/* ---------- Deep Data particle wave (pure CSS) ----------
   Rows of dots receding into the distance (back rows smaller, higher, dimmer).
   - Each row's dots sit on a sine curve (an SVG pattern) that slides sideways: the wave across.
   - Each row bobs up and down, a little later than the row in front: the wave front-to-back.
   Together that is the original's sin(x + t) + sin(y + t). Only transforms animate, so it runs
   on the compositor; content-visibility skips it while it is off-screen. */

.rt-wave {
	--rt-wave-dots: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='60' fill='%23a6ecf3'><circle cx='3.8' cy='28.5' r='1.65'/><circle cx='11.2' cy='25.6' r='1.76'/><circle cx='18.8' cy='22.9' r='1.86'/><circle cx='26.2' cy='20.5' r='1.95'/><circle cx='33.8' cy='18.4' r='2.03'/><circle cx='41.2' cy='16.8' r='2.09'/><circle cx='48.8' cy='15.6' r='2.13'/><circle cx='56.2' cy='15.1' r='2.15'/><circle cx='63.8' cy='15.1' r='2.15'/><circle cx='71.2' cy='15.6' r='2.13'/><circle cx='78.8' cy='16.8' r='2.09'/><circle cx='86.2' cy='18.4' r='2.03'/><circle cx='93.8' cy='20.5' r='1.95'/><circle cx='101.2' cy='22.9' r='1.86'/><circle cx='108.8' cy='25.6' r='1.76'/><circle cx='116.2' cy='28.5' r='1.65'/><circle cx='123.8' cy='31.5' r='1.55'/><circle cx='131.2' cy='34.4' r='1.44'/><circle cx='138.8' cy='37.1' r='1.34'/><circle cx='146.2' cy='39.5' r='1.25'/><circle cx='153.8' cy='41.6' r='1.17'/><circle cx='161.2' cy='43.2' r='1.11'/><circle cx='168.8' cy='44.4' r='1.07'/><circle cx='176.2' cy='44.9' r='1.05'/><circle cx='183.8' cy='44.9' r='1.05'/><circle cx='191.2' cy='44.4' r='1.07'/><circle cx='198.8' cy='43.2' r='1.11'/><circle cx='206.2' cy='41.6' r='1.17'/><circle cx='213.8' cy='39.5' r='1.25'/><circle cx='221.2' cy='37.1' r='1.34'/><circle cx='228.8' cy='34.4' r='1.44'/><circle cx='236.2' cy='31.5' r='1.55'/></svg>");
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	content-visibility: auto;
	contain-intrinsic-size: auto 400px;
	-webkit-mask-image: radial-gradient(110% 95% at 50% 55%, #000 40%, transparent 80%);
	mask-image: radial-gradient(110% 95% at 50% 55%, #000 40%, transparent 80%);
}

.rt-wave__field {
	position: absolute;
	inset: 8% 0 0;
}

.rt-wave__row {
	/* 0 = farthest row, 1 = nearest */
	--depth: calc(var(--k) / (var(--rows) - 1));
	position: absolute;
	left: -100%;
	width: 300%;
	height: 60px;
	/* rows bunch up towards the horizon, like a plane seen at an angle */
	top: calc(pow(var(--depth), 1.6) * 78%);
	transform: scale(calc(0.32 + 0.68 * var(--depth)));
	opacity: calc(0.25 + 0.75 * var(--depth));
}

.rt-wave__bob {
	height: 100%;
	animation: rt-wave-bob 4.6s ease-in-out infinite alternate;
	animation-delay: calc(var(--k) * -0.55s);
}

.rt-wave__strip {
	width: calc(100% + 240px);
	height: 100%;
	background: var(--rt-wave-dots) repeat-x 0 0 / 240px 60px;
	animation: rt-wave-slide 7s linear infinite;
	animation-delay: calc(var(--k) * -0.9s);
}

@keyframes rt-wave-bob {
	from { transform: translateY(-14px); }
	to   { transform: translateY(14px); }
}

@keyframes rt-wave-slide {
	from { transform: translateX(0); }
	to   { transform: translateX(-240px); }
}

@media (prefers-reduced-motion: reduce) {
	.rt-wave__bob,
	.rt-wave__strip {
		animation: none !important;
	}
}

/* <main> landmark added inside the content wrapper; it must not change layout */
main.site-main {
	display: block;
	outline: none;
}

@media (max-width: 900px) {
	.home-service-slider .rt-wave {
		left: 0;
		height: 40%;
	}
}

/* ---------- Homepage guide: section rail + page progress ----------
   Built by assets/js/home-guide.js. One value, --rt-page-p (0..1 through the page), drives the rail
   fill and the small-screen progress line. CSS scroll timeline where supported, JS fallback otherwise. */

@property --rt-page-p {
	syntax: '<number>';
	inherits: true;
	initial-value: 0;
}

@supports (animation-timeline: scroll()) {
	html:has(.rt-rail) {
		animation: rt-page-progress linear both;
		animation-timeline: scroll(root block);
	}
}

@keyframes rt-page-progress {
	from { --rt-page-p: 0; }
	to   { --rt-page-p: 1; }
}

.rt-guided {
	scroll-margin-top: var(--rt-header-h, 80px);
}

.rt-rail {
	position: fixed;
	right: 12px;
	top: 50%;
	z-index: 60;
	display: none;
	transform: translateY(-50%);
	--rail-ink: var(--rt-muted);
	--rail-ink-strong: var(--rt-ink);
	--rail-bg: rgba(255, 255, 255, 0.92);
	--rail-line: rgba(66, 66, 66, 0.16);
}

.rt-rail.is-on-dark {
	--rail-ink: rgba(255, 255, 255, 0.6);
	--rail-ink-strong: #ffffff;
	--rail-bg: rgba(1, 46, 56, 0.85);
	--rail-line: rgba(255, 255, 255, 0.22);
}

@media (min-width: 1180px) {
	.rt-rail {
		display: block;
	}
}

.rt-rail ol {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-rail li {
	margin: 0;
}

.rt-rail a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	font-size: 13px;
	line-height: 1;
	color: var(--rail-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

.rt-rail a.is-active,
.rt-rail a:hover {
	color: var(--rail-ink-strong);
}

/* labels stay quiet: only the current section's shows, all show while the rail is hovered or focused */
.rt-rail__label {
	padding: 5px 9px;
	border-radius: 6px;
	background: var(--rail-bg);
	white-space: nowrap;
	opacity: 0;
	transform: translateX(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.rt-rail:hover .rt-rail__label,
.rt-rail:focus-within .rt-rail__label {
	opacity: 1;
	transform: none;
}

/* the current section's name stays visible only where it cannot overlap the content */
@media (min-width: 1640px) {
	.rt-rail {
		right: 28px;
	}

	.rt-rail a.is-active .rt-rail__label {
		opacity: 1;
		transform: none;
	}
}

.rt-rail__dot {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	background: var(--rail-bg);
	box-sizing: border-box;
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.rt-rail a.is-active .rt-rail__dot {
	background: var(--rt-sky);
	border-color: var(--rt-sky);
	transform: scale(1.35);
}

/* the line through the dots fills as you read down the page */
.rt-rail__track {
	position: absolute;
	right: 4px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: var(--rail-line);
}

.rt-rail__fill {
	position: absolute;
	inset: 0;
	background: var(--rt-sky);
	transform-origin: top center;
	transform: scaleY(var(--rt-page-p));
}

/* small screens: a thin progress line along the bottom of the fixed header */
.rt-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--rt-sky);
	transform-origin: left center;
	transform: scaleX(var(--rt-page-p));
	pointer-events: none;
}

@media (min-width: 1180px) {
	.rt-progress {
		display: none;
	}
}

/* ---------- T.E.A.M.: the four phases light up in order as the section scrolls into view ----------
   CSS scroll-driven (view timeline). Without support, or with reduced motion, all four simply show. */

@supports (animation-timeline: view()) {
	@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
		.home-team,
		.team-roots-team-phase {
			view-timeline: --rt-team block;
		}

		.home-team-phase-a > .vc_column-inner, .team-roots-team-phase-a > .vc_column-inner,
		.home-team-phase-b > .vc_column-inner, .team-roots-team-phase-b > .vc_column-inner,
		.home-team-phase-c > .vc_column-inner, .team-roots-team-phase-c > .vc_column-inner,
		.home-team-phase-d > .vc_column-inner, .team-roots-team-phase-d > .vc_column-inner {
			animation: rt-phase linear both;
			animation-timeline: --rt-team;
		}

		.home-team-phase-a > .vc_column-inner, .team-roots-team-phase-a > .vc_column-inner { animation-range: cover 18% cover 30%; }
		.home-team-phase-b > .vc_column-inner, .team-roots-team-phase-b > .vc_column-inner { animation-range: cover 26% cover 38%; }
		.home-team-phase-c > .vc_column-inner, .team-roots-team-phase-c > .vc_column-inner { animation-range: cover 34% cover 46%; }
		.home-team-phase-d > .vc_column-inner, .team-roots-team-phase-d > .vc_column-inner { animation-range: cover 42% cover 54%; }

		/* a line above the phases fills through the four phase colours as they light up */
		.home-team .team-slider {
			position: relative;
		}

		.home-team .team-slider::before,
		.home-team .team-slider::after {
			content: '';
			display: block;
			position: absolute;
			left: 15px;
			right: 15px;
			top: -26px;
			height: 2px;
			border-radius: 1px;
		}

		.home-team .team-slider::before {
			background: rgba(255, 255, 255, 0.1);
		}

		.home-team .team-slider::after {
			background: linear-gradient(90deg, #47c7ef 0 25%, #ffbc00 25% 50%, #f6989a 50% 75%, #3fd87d 75% 100%);
			transform-origin: left center;
			animation: rt-phase-line linear both;
			animation-timeline: --rt-team;
			animation-range: cover 18% cover 54%;
		}
	}
}

@keyframes rt-phase {
	from { opacity: 0.14; transform: translate3d(0, 28px, 0); }
	to   { opacity: 1; transform: none; }
}

@keyframes rt-phase-line {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

/* ======================================================================
   QA round 1 fixes (independent review of staging, 2026-10-18)
   ====================================================================== */

/* Homepage slider: the text column was 50% + 200px padding (content-box), so every slide was wider
   than its frame and the right edge was clipped mid-word. */
.home-services .services-slider .slide-content-wrapper .slide-content,
.home-services .services-slider .slide-content-wrapper .slide-image {
	box-sizing: border-box;
	min-width: 0;
}

.home-services .services-slider .slide-content-wrapper .slide-content {
	padding-right: 64px;
}

/* slick sizes each slide a few px wider than its frame; keep that strip empty */
.home-services .services-slider .slide-content-wrapper .slide-image {
	padding-right: 16px;
}

.home-services .services-slider .slide-content-wrapper .slide-image img {
	max-width: min(500px, 100%);
	height: auto;
}

@media (max-width: 900px) {
	.home-services .services-slider .slide-content-wrapper .slide-content {
		padding-right: 0;
	}
}

/* Phones/tablets: the open menu lives in the fixed header and could not scroll, so with Services
   expanded the rest of the menu sat below the screen. */
@media (max-width: 1024px) {
	#mega-menu-wrap-main-menu .mega-menu-toggle.mega-menu-open + #mega-menu-main-menu {
		max-height: calc(100vh - 80px);
		max-height: calc(100dvh - 80px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
}

/* Keyboard focus on page-builder buttons (WPBakery sets outline:0 with a stronger selector). */
/* longhands with a literal colour: WPBakery's `outline: 0` beat a shorthand that used var() */
html body .vc_general.vc_btn3.vc_btn3:focus-visible,
html body a.vc_btn3:focus-visible,
html body .mega-menu-toggle [role="button"]:focus-visible {
	outline-style: solid !important;
	outline-width: 2px !important;
	outline-color: #47c4ee !important;
	outline-offset: 3px !important;
}

/* Section rail: dots sat left of their invisible labels and formed a jagged column; invisible labels
   also caught clicks over the content. Dot first at the right edge, labels hidden for real. */
.rt-rail a {
	flex-direction: row-reverse;
	justify-content: flex-start;
}

.rt-rail__label {
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.rt-rail:hover .rt-rail__label,
.rt-rail:focus-within .rt-rail__label {
	visibility: visible;
	transition-delay: 0s;
}

@media (min-width: 1640px) {
	.rt-rail a.is-active .rt-rail__label {
		visibility: visible;
		transition-delay: 0s;
	}
}

/* active dot in ink (sky blue vanished on the sky-blue hero) */
.rt-rail a.is-active .rt-rail__dot {
	background: var(--rail-ink-strong);
	border-color: var(--rail-ink-strong);
}

/* only where there is a margin to sit in (it covered "Application" at 1180px) */
.rt-rail {
	display: none !important;
}

@media (min-width: 1360px) {
	.rt-rail {
		display: block !important;
	}
}

@media (max-width: 1359px) {
	.rt-progress {
		display: block;
	}
}

/* T.E.A.M. sequence + line only when all four phases are on screen at once (the slider shows 2-3
   of them below ~1300px and the line ran across the wrong columns). */
@media (max-width: 1299px) {
	.home-team-phase-a > .vc_column-inner, .home-team-phase-b > .vc_column-inner,
	.home-team-phase-c > .vc_column-inner, .home-team-phase-d > .vc_column-inner,
	.team-roots-team-phase-a > .vc_column-inner, .team-roots-team-phase-b > .vc_column-inner,
	.team-roots-team-phase-c > .vc_column-inner, .team-roots-team-phase-d > .vc_column-inner {
		animation: none !important;
	}

	.home-team .team-slider::before,
	.home-team .team-slider::after {
		display: none !important;
	}
}

/* T.E.A.M. slider dots were black on dark teal */
.home-team .slick-dots li button::before {
	color: #ffffff !important;
}

/* Testimonial initials: dark ink on the light brand colours (white failed contrast) */
.clients-carousel .client-details .rt-initials {
	color: var(--rt-deep);
}
