/* ATI homepage — original stylesheet. No Divi / Shopify / WP imports.
   Body-only design system. Chrome (header/footer/nav) is not restyled here. */

.page-main.home-main {
	--home-space-4: 4px;
	--home-space-8: 8px;
	--home-space-12: 12px;
	--home-space-16: 16px;
	--home-space-24: 24px;
	--home-space-28: 28px;
	--home-space-32: 32px;
	--home-space-48: 48px;
	--home-space-64: 64px;
	--home-space-80: 80px;
	--home-radius-sm: 8px;
	--home-radius: 10px;
	--home-radius-lg: 12px;
	--home-border: 1px solid rgba(0, 28, 60, 0.08);
	--home-shadow: 0 6px 20px rgba(0, 12, 28, 0.08);
	--home-shadow-lift: 0 10px 28px rgba(0, 12, 28, 0.12);
	--home-fs-h2: clamp(1.5rem, 3.2vw, 2rem);
	--home-fs-body: 1rem;
	--home-fs-meta: 0.8125rem;
	/* Homepage primary greens — size-locked to footer Send Enquiry (chrome itself stays locked). */
	--home-cta-pad: 0.75em 1.4em;
	--home-cta-radius: 6px;
	--home-cta-fs: 0.95rem;
	/* Desktop hero: boxes lift for a video peek; rating centres in the leftover gap. */
	--hero-stats-lift: 0px;
	--hero-overlap: calc(7.4rem + var(--home-space-16) + var(--hero-stats-lift));
	--hero-pad-bottom: clamp(1.25rem, 3.5vh, 2rem);
	display: block;
	flex: 1 0 auto;
	min-height: 0;
	padding: 0;
	text-align: left;
	color: var(--color-text);
	background: var(--color-surface);
	overflow-x: clip;
	overflow-y: visible;
}

.page-main.home-main h1,
.page-main.home-main h2,
.page-main.home-main h3,
.page-main.home-main p {
	max-width: none;
	margin: 0;
}

.home-main .wrap {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
}

.page-main.home-main a.btn {
	height: auto;
	min-height: 0;
	padding: var(--home-cta-pad);
	border: 0;
	box-shadow: none;
	border-radius: var(--home-cta-radius);
	background: var(--color-green-cta);
	background-image: none;
	background-clip: padding-box;
	color: #fff;
	font-size: var(--home-cta-fs);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.section-head {
	margin-bottom: var(--home-space-24);
	text-align: center;
}

.home-industries .section-head {
	margin-bottom: var(--home-space-32);
}

.page-main.home-main .home-industries,
.page-main.home-main .home-industries .section-head h2,
.page-main.home-main .home-industries .section-head p,
.page-main.home-main .home-industries .industry-name {
	font-family: "Inter", Helvetica, Arial, sans-serif;
}

.page-main.home-main .home-industries .section-head h2 {
	font-size: 1.875rem;
	font-weight: 900;
	letter-spacing: normal;
	line-height: 1.2;
}

.page-main.home-main .home-industries .section-head h2::after {
	content: none;
}

.page-main.home-main .home-industries .section-head p {
	margin-top: var(--home-space-12);
	color: var(--color-navy);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.4;
}

.page-main.home-main .home-industries .section-head p::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 3px;
	margin: 0.7rem auto 0;
	background: currentColor;
	border-radius: 1px;
}

.section-head h2,
.home-trusted h2,
.home-interested h2,
.reviews-head h2,
.blogs-head h2,
.experience-copy h2 {
	color: var(--color-navy);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.section-head h2,
.home-interested h2,
.page-main.home-main .blogs-head h2,
.page-main.home-main .experience-copy h2 {
	font-size: var(--home-fs-h2);
}

.section-head p,
.blogs-head p {
	margin-top: var(--home-space-8);
	color: var(--color-muted);
	font-size: var(--home-fs-body);
	font-weight: 400;
	line-height: 1.45;
}

/* ---------- Hero ---------- */

.home-hero {
	position: relative;
	isolation: isolate;
	min-height: calc(100vh - var(--header-h-mobile) - var(--enrol-bar-h));
	min-height: calc(100dvh - var(--header-h-mobile) - var(--enrol-bar-h));
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
	padding: clamp(2rem, 7vh, 3.25rem) 0 clamp(1.25rem, 3.5vh, 2rem);
	color: var(--color-text-on-dark);
	overflow: hidden;
	background-color: #001c3c;
	background-image: url("/assets/ati-home-hero-poster.jpg");
	background-size: cover;
	background-position: 60% 32%;
}

.hero-media,
.hero-shade {
	position: absolute;
	inset: 0;
}

.hero-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 32%;
}

@media (prefers-reduced-motion: reduce) {
	.hero-video {
		display: none;
	}
}

.hero-shade {
	background:
		linear-gradient(180deg, rgba(0, 12, 28, 0.28) 0%, rgba(0, 28, 60, 0.42) 38%, rgba(0, 28, 60, 0.78) 100%),
		radial-gradient(120% 80% at 50% 20%, rgba(0, 28, 60, 0.05), rgba(0, 12, 28, 0.55));
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
	text-align: center;
	min-height: 0;
}

.hero-lead {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.page-main.home-main .hero-copy h1 {
	margin: 0 0 var(--home-space-4);
	font-size: clamp(1.7rem, 6.2vw, 3.15rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-shadow: 0 1px 2px rgba(0, 8, 20, 0.62), 0 4px 14px rgba(0, 12, 28, 0.34);
}

.hero-copy h1 br {
	display: block;
	content: "";
}

.page-main.home-main .hero-slogan {
	margin: 0.85rem auto 0;
	max-width: 46rem;
	font-size: clamp(0.95rem, 2.4vw, 1.25rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	word-spacing: 0.06em;
	text-transform: none;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 8, 20, 0.58), 0 3px 12px rgba(0, 12, 28, 0.32);
}

.hero-proof {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
}

.page-main.home-main .hero-values {
	margin: 0;
	font-size: clamp(0.95rem, 2.4vw, 1.25rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	word-spacing: 0.18em;
	text-transform: none;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 8, 20, 0.58), 0 3px 12px rgba(0, 12, 28, 0.32);
}

.hero-lower {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--home-space-16);
	width: 100%;
	margin-top: auto;
	padding-top: var(--home-space-32);
}

.hero-search {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	max-width: 48.75rem;
	min-height: 3.25rem;
	margin: 0 auto;
	overflow: hidden;
	border: 0;
	border-radius: var(--home-radius-sm);
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 12, 28, 0.28);
}

.hero-search input {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	padding: 14px var(--home-space-16);
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 400;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.hero-search input::placeholder {
	color: rgba(0, 28, 60, 0.45);
}

.hero-search-submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-width: 6.75rem;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #8dc641;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
}

.hero-search-submit:hover,
.hero-search-submit:focus-visible {
	background: #8dc641;
	filter: brightness(0.96);
	outline: none;
}

.hero-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
	gap: var(--home-space-4);
	width: max-content;
	max-width: 100%;
	margin-inline: auto;
	text-align: center;
	filter: drop-shadow(0 1px 2px rgba(0, 8, 20, 0.5)) drop-shadow(0 3px 10px rgba(0, 12, 28, 0.28));
}

.g-word {
	display: flex;
	justify-content: center;
	width: max-content;
	margin: 0 auto;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.g-word span:nth-child(1),
.g-word span:nth-child(4) { color: #4285f4; }
.g-word span:nth-child(2),
.g-word span:nth-child(6) { color: #ea4335; }
.g-word span:nth-child(3) { color: #fbbc05; }
.g-word span:nth-child(5) { color: #34a853; }

.g-stars {
	margin: 0;
	color: #fbbc04;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	line-height: 1;
	text-align: center;
}

.g-label {
	margin: 0;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 8, 20, 0.58), 0 3px 12px rgba(0, 12, 28, 0.32);
}

/* ---------- Stats ---------- */

.home-stats {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: calc(100vh - var(--header-h-mobile) - var(--enrol-bar-h));
	min-height: calc(100dvh - var(--header-h-mobile) - var(--enrol-bar-h));
	margin-top: 0;
	padding: var(--home-space-24) 0;
	background: var(--color-surface);
	overflow-x: clip;
	overflow-y: visible;
}

.stats-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--home-space-16);
	width: 100%;
}

.stat-card {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	min-height: 9.75rem;
	padding: var(--home-space-32) var(--home-space-16);
	background: var(--color-surface-bright);
	border: 0;
	border-radius: 16px;
	box-shadow: var(--home-shadow-lift);
	text-align: center;
}

.stat-num {
	margin: 0;
	color: var(--color-navy);
	font-size: clamp(2.75rem, 12vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.stat-card h2 {
	margin: 0 0 var(--home-space-12);
	color: var(--color-navy);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0;
}

/* ---------- Industries ---------- */

.home-industries {
	padding: var(--home-space-32) 0;
	background: #fff;
}

.industry-grid {
	display: flex;
	flex-direction: column;
	gap: var(--home-space-12);
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-main.home-main p.industries-all {
	margin: var(--home-space-28) 0 0;
	text-align: center;
}

.industry-tile {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-height: 88px;
	max-width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: var(--home-radius);
	background: #fff;
	box-shadow: var(--home-shadow);
}

.industry-tile img {
	display: block;
	flex: 0 0 32%;
	width: 32%;
	height: auto;
	min-height: 88px;
	object-fit: cover;
	object-position: center;
}

.industry-label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 1 1 auto;
	min-height: 88px;
	padding: 0 2.5rem 0 var(--home-space-16);
	background: #fff;
	color: var(--color-navy);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	box-sizing: border-box;
}

.industry-name {
	display: block;
	text-align: left;
}

.industry-label .chevron {
	position: absolute;
	top: 0;
	bottom: 0;
	right: var(--home-space-16);
	width: 0.68rem;
	height: 0.68rem;
	margin-block: auto;
	color: var(--color-navy);
	transform: rotate(-45deg);
}

/* ---------- Experience ---------- */

.home-experience {
	padding: var(--home-space-48) 0;
	background: var(--color-surface-bright);
}

.experience-grid {
	display: grid;
	align-items: start;
	gap: var(--home-space-32);
}

.experience-photo {
	order: 2;
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: 16px;
	box-shadow: var(--home-shadow-lift);
}

.experience-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 40%;
}

.experience-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	order: 1;
}

.page-main.home-main .experience-copy h2 {
	margin: 0 0 var(--home-space-16);
	font-size: clamp(1.85rem, 7.4vw, 2.25rem);
	line-height: 1.12;
}

.page-main.home-main .experience-copy > p {
	margin: 0 0 20px;
	color: var(--color-navy);
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.45;
}

.experience-copy ul {
	margin: 0 0 var(--home-space-16);
	padding: 0;
	list-style: none;
}

.experience-copy li {
	position: relative;
	margin: 0 0 var(--home-space-12);
	padding-left: 1.55rem;
	color: var(--color-navy);
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.45;
}

.experience-copy li:last-child {
	margin-bottom: 0;
}

.experience-copy li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.05rem;
	color: #0090bf;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

.experience-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	gap: var(--home-space-12) var(--home-space-24);
	width: 100%;
	margin: var(--home-space-24) 0 0;
}

.experience-cta {
	margin: 0;
}

/* ---------- Interested ---------- */

.home-interested {
	padding: var(--home-space-32) 0 var(--home-space-48);
	background: var(--color-surface-bright);
}

.interested-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.interested-main {
	display: grid;
	gap: var(--home-space-24);
	align-items: start;
}

.page-main.home-main .home-interested h2 {
	margin: 0 0 var(--home-space-16);
	text-align: left;
}

.interested-photo {
	position: relative;
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: var(--home-radius-lg);
	background: #001c3c;
	box-shadow: var(--home-shadow);
	aspect-ratio: 4 / 3;
}

.interested-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--photo-pos, center 38%);
	display: block;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
}

.interested-photo img.is-active {
	opacity: 1;
	z-index: 1;
}

.interested-photo img[data-fit="contain"],
.interested-photo[data-fit="contain"] img.is-active {
	object-fit: contain;
	background: #001c3c;
}

.text-link {
	--text-link-arrow: 1.32em;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.42em;
	padding: 0 0 0.14em;
	border: 0;
	background: none;
	color: #001c3c;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible {
	color: #001c3c;
}

.text-link::before {
	content: "";
	position: absolute;
	left: 0;
	right: calc(var(--text-link-arrow) + 0.42em);
	bottom: 0.08em;
	height: 0.13em;
	background: currentColor;
	border-radius: 1px;
}

.text-link::after {
	content: "";
	display: inline-block;
	flex: 0 0 var(--text-link-arrow);
	width: var(--text-link-arrow);
	height: 0.9em;
	background-color: var(--color-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath fill='%23000' d='M0 4.35h13.5V1.7L24 7l-10.5 5.3V9.65H0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Cpath fill='%23000' d='M0 4.35h13.5V1.7L24 7l-10.5 5.3V9.65H0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.interested-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.interested-chips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: var(--home-space-12) var(--home-space-8);
	margin-bottom: var(--home-space-16);
}

.interested-chips button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.85rem;
	padding: 0.7rem 0.65rem;
	border: var(--home-border);
	border-radius: var(--home-radius-sm);
	background: #f6f7f4;
	color: var(--color-navy);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.interested-chips button[aria-selected="true"] {
	background: var(--color-green);
	border-color: var(--color-green);
	color: var(--color-navy);
}

.interested-panels {
	display: flex;
	flex: 1 1 auto;
	padding-top: var(--home-space-8);
	border-top: 0;
}

.interested-panel {
	display: none;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}

.interested-panel:not([hidden]) {
	display: flex;
}

.interested-panel p {
	margin: 0;
	color: var(--color-navy);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
}

.interested-note {
	margin-top: 0.75rem;
}

.confirm-chip {
	display: inline;
	color: #8a5a00;
	background: #fff4d6;
	border: 1px solid #f0c36a;
	border-radius: 4px;
	padding: 0.05em 0.4em;
	font-size: 0.88em;
	font-style: italic;
	font-weight: 500;
}

.interested-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--home-space-16) var(--home-space-24);
	margin-top: auto;
	padding-top: var(--home-space-24);
}

.page-main.home-main .interested-enquire {
	flex: 0 0 auto;
}

/* ---------- Trusted by ---------- */

.home-trusted {
	position: relative;
	z-index: 3;
	margin-top: -2px;
	padding: calc(var(--home-space-16) + 2px) 0 var(--home-space-16);
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-surface-bright);
	overflow: hidden;
}

.home-trusted h2 {
	margin-bottom: var(--home-space-12);
	text-align: center;
	font-size: var(--home-fs-meta);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-navy);
}

.trusted-viewport {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	overflow-x: clip;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.trusted-track {
	display: flex;
	width: max-content;
	animation: trusted-scroll 240s linear infinite;
}

.trusted-row {
	display: flex;
	align-items: center;
	gap: var(--home-space-32);
	margin: 0;
	padding: 0 var(--home-space-16);
	list-style: none;
}

.trusted-row li {
	display: grid;
	place-items: center;
	min-width: calc(6.4rem * 1.15);
	height: calc(2.85rem * 1.15);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.trusted-row img {
	height: calc(2.1rem * 1.15);
	width: auto;
	max-width: calc(6.8rem * 1.15);
	object-fit: contain;
	filter: grayscale(0.05);
}

@keyframes trusted-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.trusted-track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}

	.review-feature {
		transition: none;
	}
}

/* ---------- Reviews ---------- */

.home-reviews {
	padding: var(--home-space-48) 0;
	background: var(--color-surface);
}

.reviews-layout {
	display: grid;
	gap: var(--home-space-24);
}

.reviews-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--home-space-16);
	text-align: left;
}

.reviews-head-title {
	display: flex;
	align-items: flex-start;
	gap: var(--home-space-12);
}

.reviews-icon {
	width: auto;
	height: 2.35rem;
	flex: 0 0 auto;
	margin-top: 0.2em;
	align-self: flex-start;
}

.page-main.home-main .reviews-head h2 {
	margin: 0;
	max-width: none;
	font-size: clamp(1.55rem, 6.4vw, 1.85rem);
	letter-spacing: -0.03em;
	line-height: 1.12;
	white-space: nowrap;
}

.reviews-head h2 br {
	display: block;
	content: "";
}

.reviews-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1rem;
	padding: 0.62rem 1.4rem 0.55rem;
	border: 0;
	border-radius: 999px;
	background: #efe4cc;
	color: #001c3c;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
}

.reviews-badge-copy {
	color: #001c3c;
	font-size: 0.82rem;
	font-weight: 700;
}

.reviews-badge-mark {
	display: block;
	width: auto;
	max-height: 56px;
	height: auto;
}

.reviews-cta {
	flex-shrink: 0;
	margin-top: 0;
	font-size: 0.88rem;
}

.review-quotes {
	width: 100%;
	min-width: 0;
}

.review-quote-track {
	display: flex;
	gap: var(--home-space-12);
	margin: 0;
	padding: 0 var(--home-space-4) var(--home-space-8);
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.review-quote {
	flex: 0 0 86%;
	max-height: 58vh;
	overflow: auto;
	scroll-snap-align: start;
	padding: var(--home-space-24);
	border-radius: 16px;
	background: var(--color-navy);
	color: #fff;
	box-shadow: var(--home-shadow-lift);
}

.review-quote-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--home-space-12);
}

.review-quote-stars {
	margin: 0;
	color: #f5c400;
	font-size: 1.15rem;
	letter-spacing: 0.08em;
	line-height: 1;
}

.review-quote-g {
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #fff;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
}

.review-quote-g span {
	background: linear-gradient(90deg, #4285f4 0 28%, #ea4335 28% 48%, #fbbc05 48% 70%, #34a853 70% 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.page-main.home-main .review-quote-name {
	margin: var(--home-space-16) 0 0;
	padding-bottom: var(--home-space-12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.page-main.home-main .review-quote-body {
	margin: var(--home-space-16) 0 0;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.45;
}

.reviews-carousel {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: var(--home-space-16);
	min-width: 0;
}

.reviews-viewport {
	overflow: hidden;
	width: 100%;
	min-width: 0;
}

.review-feature {
	--reviews-gap: var(--home-space-16);
	--reviews-visible: 3;
	--reviews-index: 0;
	--reviews-step: calc((100% + var(--reviews-gap)) / var(--reviews-visible));
	display: flex;
	gap: var(--reviews-gap);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translate3d(calc(var(--reviews-index) * -1 * var(--reviews-step)), 0, 0);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.review-feature .review-photo {
	flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
	max-width: calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
}

.review-photo {
	position: relative;
	max-width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: var(--home-radius-lg);
	aspect-ratio: 9 / 16;
	background: #111;
	box-shadow: var(--home-shadow);
	contain: layout paint;
}

.review-photo[hidden] {
	display: none !important;
}

/* First paint matches page 0 before home.js hides extras. */
.review-feature:not([data-ready]) .review-photo:nth-child(n + 4) {
	display: none !important;
}

@media (max-width: 699.98px) {
	.review-feature:not([data-ready]) .review-photo:nth-child(n + 2) {
		display: none !important;
	}
}

.review-launch {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.review-photo img,
.review-photo iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	object-position: center 20%;
	image-rendering: auto;
}

.review-photo iframe {
	z-index: 1;
}

.review-photo.has-player .review-launch img,
.review-photo.is-playing .review-launch img {
	opacity: 0;
}

.review-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	width: 3.15rem;
	height: 3.15rem;
	border-radius: 50%;
	background: #8dc641;
	transform: translate(-50%, -50%);
	box-shadow: 0 6px 18px rgba(0, 12, 28, 0.28);
	pointer-events: none;
}

.review-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.5rem 0 0.5rem 0.82rem;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.review-photo.is-playing .review-play {
	opacity: 0;
}

.review-photo.is-playing .review-play::after {
	left: 50%;
	width: 0.28rem;
	height: 0.88rem;
	border: 0;
	background: #fff;
	box-shadow: 0.42rem 0 0 #fff;
	transform: translate(-0.35rem, -50%);
}

@media (hover: hover) and (pointer: fine) {
	.review-photo.is-playing:hover .review-play {
		opacity: 1;
	}
}

.reviews-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--home-space-8);
}

.reviews-arrows {
	display: flex;
	gap: var(--home-space-8);
}

.reviews-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d7dbe0;
	color: var(--color-navy);
	cursor: pointer;
}

.reviews-arrow .chevron {
	width: 0.46rem;
	height: 0.46rem;
}

.reviews-arrow[data-reviews-prev] .chevron {
	transform: rotate(135deg);
}

.reviews-arrow[data-reviews-next] .chevron {
	transform: rotate(-45deg);
}

.reviews-dots {
	display: flex;
	gap: var(--home-space-4);
}

.reviews-dot {
	width: 0.42rem;
	height: 0.42rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c5ccd3;
	cursor: pointer;
}

.reviews-dot.is-active {
	background: var(--color-navy);
}

/* ---------- Blogs / latest trends ---------- */

.home-blogs {
	padding: var(--home-space-48) 0 var(--home-space-32);
	background: var(--color-surface);
	overflow-x: clip;
}

.home-blogs .wrap {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.blogs-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: var(--home-space-24);
	width: 100%;
}

.page-main.home-main .blogs-head h2 {
	margin: 0;
	text-align: left;
}

.blogs-head p {
	margin: var(--home-space-16) 0 0;
}

.blogs-foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--home-space-16);
	margin-top: var(--home-space-32);
	width: 100%;
}

.page-main.home-main .blogs-foot p {
	margin: 0;
	max-width: 28rem;
	color: var(--color-navy);
	font-size: var(--home-fs-body);
	font-weight: 400;
	line-height: 1.45;
}

.blogs-cta {
	flex-shrink: 0;
}

.blogs-stage {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--home-space-12);
	width: 100%;
}

.blogs-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	order: 2;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--color-navy);
	box-shadow: 0 2px 10px rgba(0, 12, 28, 0.12);
	cursor: pointer;
}

.blogs-arrow .chevron {
	width: 0.46rem;
	height: 0.46rem;
}

.blogs-arrow[data-blogs-prev] .chevron {
	transform: rotate(135deg);
}

.blogs-arrow[data-blogs-next] .chevron {
	transform: rotate(-45deg);
}

.blogs-arrow[data-blogs-prev] {
	margin-right: var(--home-space-8);
}

.blogs-arrow[data-blogs-next] {
	margin-left: var(--home-space-8);
}

.blog-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--home-space-24);
	flex: 1 1 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-grid > li:not([hidden]) {
	min-height: 100%;
}

.blog-grid > li[hidden] {
	display: none;
}

.blog-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 100%;
	overflow: hidden;
	border: 0;
	border-radius: var(--home-radius-sm);
	background: #fff;
	color: var(--color-navy);
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	height: 3px;
	background: #8dc641;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--home-shadow-lift);
	outline: none;
}

.blog-card:hover::before,
.blog-card:focus-visible::before {
	transform: scaleX(1);
}

.blog-media {
	position: relative;
	overflow: hidden;
}

.blog-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.blog-meta {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	padding: var(--home-space-4) var(--home-space-8);
	background: var(--color-navy);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.blog-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: var(--home-space-16) var(--home-space-24) var(--home-space-24);
}

.page-main.home-main .blog-date {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--home-fs-meta);
	font-weight: 400;
	line-height: 1.4;
}

.page-main.home-main .blog-card h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: var(--home-space-8) 0 0;
	padding: 0;
	min-height: calc(1.15rem * 1.3 * 3);
	color: var(--color-navy);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.page-main.home-main .blog-card .blog-body > p:not(.blog-date) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	padding: 0;
	min-height: calc(0.95rem * 1.5 * 2);
	color: var(--color-navy);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
}

.page-main.home-main .blog-card .blog-date + h3 + p {
	margin-top: var(--home-space-8);
}

@media (prefers-reduced-motion: reduce) {
	.blog-card,
	.blog-card::before {
		transition: none;
	}

	.blog-card:hover,
	.blog-card:focus-visible {
		transform: none;
	}
}

/* Footer subscribe consent helper lives with homepage forms */

.subscribe-consent {
	display: flex;
	align-items: flex-start;
	gap: var(--home-space-8);
	margin: var(--home-space-12) 0 0;
	color: var(--color-muted-on-dark);
	font-size: 0.78rem;
	line-height: 1.35;
}

.subscribe-consent input {
	margin-top: 0.15rem;
	accent-color: var(--color-green);
}

@media (min-width: 700px) {
	.home-stats {
		display: block;
		min-height: 0;
		margin-top: 0;
		padding: var(--home-space-32) 0 var(--home-space-16);
		background: transparent;
	}

	.stats-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--home-space-16);
	}

	.stat-card {
		flex-direction: column;
		min-height: 0;
		padding: var(--home-space-16);
		border-radius: var(--home-radius-lg);
	}

	.stat-num {
		color: var(--color-green);
		font-size: clamp(2rem, 6vw, 2.75rem);
	}

	.stat-card h2 {
		margin: var(--home-space-4) 0 0;
		font-size: 0.95rem;
	}

	.home-industries .wrap {
		width: min(1080px, calc(100% - (var(--gutter) * 2)));
	}

	.industry-grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		justify-content: center;
		gap: 50px 31px;
	}

	.industry-tile {
		flex-direction: column;
		min-height: 0;
		border-radius: 10px;
		box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
	}

	.industry-tile img {
		flex: none;
		width: 100%;
		min-height: 0;
		aspect-ratio: 237 / 158;
		transition: transform 0.45s ease;
	}

	.industry-tile:hover img {
		transform: scale(1.05);
	}

	.industry-label {
		justify-content: center;
		flex: 0 0 auto;
		min-height: 3.6rem;
		padding: 0 2rem;
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: -0.015em;
		text-align: center;
	}

	.industry-name {
		text-align: center;
	}

	.industry-label .chevron {
		right: 1rem;
	}

	.experience-photo img {
		height: auto;
	}

	.interested-chips {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--home-space-12);
	}

	.interested-chips button {
		min-height: 3.5rem;
		padding: 0.88rem 0.7rem;
		font-size: 0.8125rem;
	}

	.interested-main {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: stretch;
		gap: var(--home-space-32);
	}

	.interested-photo {
		align-self: stretch;
		width: 100%;
		height: auto;
		min-height: 100%;
		aspect-ratio: auto;
	}

	.review-quotes {
		display: none;
	}

	.reviews-carousel {
		display: flex;
	}

	.reviews-head-title {
		flex-direction: row;
		align-items: flex-start;
		justify-content: center;
		gap: var(--home-space-12);
	}

	.page-main.home-main .reviews-head h2 {
		max-width: 22rem;
		font-size: clamp(1.28rem, 3.6vw, 1.5rem);
		line-height: 1.2;
	}

	.review-feature {
		--reviews-visible: 3;
		--reviews-gap: var(--home-space-16);
	}

	.blogs-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.blogs-stage,
	.blogs-foot {
		padding: 0 3.25rem;
	}

	.blogs-foot {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: var(--home-space-16);
	}

	.blogs-stage {
		display: block;
	}

	.blogs-arrow {
		position: absolute;
		top: 5.6rem;
		order: 0;
		margin: 0;
	}

	.blogs-arrow[data-blogs-prev] {
		left: 0;
	}

	.blogs-arrow[data-blogs-next] {
		right: 0;
	}

	.blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--home-space-24);
	}
}

@media (min-width: 1024px) {
	.home-industries {
		padding: var(--home-space-48) 0 52px;
	}

	.home-industries .section-head {
		margin-bottom: var(--home-space-64);
	}

	.home-experience {
		padding: var(--home-space-32) 0 var(--home-space-80);
	}

	.home-reviews {
		padding: var(--home-space-80) 0;
	}

	.home-interested {
		padding: calc(var(--home-space-48) + 20px) 0 calc(var(--home-space-80) + 36px);
	}

	.home-blogs {
		padding: var(--home-space-80) 0 var(--home-space-64);
	}
}

@media (min-width: 1040px) {
	.page-main.home-main {
		--hero-stats-lift: 1.25rem;
		--hero-pad-bottom: clamp(9rem, 12vh, 12rem);
		--hero-stats-raise: 3rem;
	}

	.home-hero {
		min-height: calc(100vh - var(--header-h));
		min-height: calc(100dvh - var(--header-h));
		padding: clamp(12rem, 20vh, 16rem) 0 var(--hero-pad-bottom);
		align-items: stretch;
		justify-content: flex-start;
		background-position: 52% 28%;
	}

	.hero-inner {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.hero-copy {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.hero-video {
		object-position: 52% 28%;
	}

	.hero-copy {
		max-width: 50rem;
	}

	.hero-lower {
		flex: 1 1 auto;
		gap: 0;
		margin-top: 0;
		padding-top: 0;
		padding-bottom: max(0px, calc(var(--hero-overlap) - var(--hero-pad-bottom)));
		min-height: 0;
	}

	.hero-proof {
		margin-top: auto;
		margin-bottom: auto;
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}

	.hero-rating {
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.hero-search {
		transform: translateY(clamp(1.25rem, 4vh, 2.75rem));
	}

	.hero-search-submit {
		min-width: 7.5rem;
		padding: 0 18px;
		font-size: 0.95rem;
	}

	.page-main.home-main .hero-copy h1 {
		font-size: 3.15rem;
		margin-bottom: var(--home-space-4);
	}

	.page-main.home-main .hero-slogan {
		margin: 0.85rem auto 0;
		white-space: nowrap;
	}

	.g-label {
		font-size: 0.82rem;
		letter-spacing: 0.08em;
	}

	.home-stats {
		margin-top: calc(0px - var(--hero-overlap));
		/* Small clear under the fold only — do not re-add the 3rem card raise (that already lives in the grid flow). */
		padding: 0 0 calc(var(--home-space-16) + var(--hero-stats-lift) + 0.75rem);
		background: transparent;
	}

	.stats-grid {
		transform: translateY(calc(-1 * var(--hero-stats-raise)));
	}

	.home-trusted {
		/* Sit above transparent .home-stats (z-index: 2) so the cream page
		   background cannot show as a hairline at the hero clip. */
		position: relative;
		z-index: 3;
		margin-top: -1rem;
		padding: calc(var(--home-space-12) + 1rem) 0 var(--home-space-12);
		border: 0;
		outline: none;
		box-shadow: none;
		background: var(--color-surface-bright);
	}

	.stat-card {
		min-height: 7.4rem;
		padding: var(--home-space-24) var(--home-space-16) var(--home-space-16);
	}

	.home-industries {
		padding: var(--home-space-48) 0 52px;
	}

	.home-industries .section-head {
		margin-bottom: var(--home-space-64);
	}

	.industry-grid {
		width: 1041px;
		max-width: 100%;
		margin-inline: auto;
		grid-template-columns: repeat(4, minmax(0, 237px));
		justify-content: center;
		gap: 50px 31px;
	}

	.home-experience {
		padding: var(--home-space-32) 0 var(--home-space-80);
	}

	.experience-grid {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: start;
		gap: var(--home-space-48);
	}

	.experience-photo {
		order: 1;
		border-radius: var(--home-radius-lg);
	}

	.experience-copy {
		order: 2;
	}

	.page-main.home-main .experience-copy h2 {
		font-size: 1.85rem;
		line-height: 1.2;
	}

	.experience-actions {
		margin: var(--home-space-24) 0 0;
	}

	.experience-photo img {
		height: auto;
	}

	.home-reviews {
		padding: var(--home-space-80) 0;
	}

	.reviews-layout {
		grid-template-columns: minmax(17rem, 0.42fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--home-space-32);
	}

	.reviews-head {
		align-items: center;
		justify-self: center;
		width: max-content;
		max-width: 100%;
		padding-top: var(--home-space-16);
		gap: 2.5rem;
		text-align: center;
	}

	.reviews-cta {
		margin-top: 0;
	}

	.review-feature {
		gap: var(--home-space-16);
	}

	.page-main.home-main .reviews-head h2 {
		max-width: none;
		font-size: 1.5rem;
		text-align: left;
		white-space: nowrap;
	}

	.home-interested {
		padding: calc(var(--home-space-48) + 20px) 0 calc(var(--home-space-80) + 36px);
	}

	.home-blogs {
		padding: var(--home-space-80) 0 var(--home-space-64);
	}

	.blogs-arrow {
		top: 6.1rem;
	}

	.blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Short desktop heights (laptop + 27" window with browser chrome). Width ≥1040
   so mobile/tablet hero rules stay. Tall 1080+ keeps the 1040px rhythm. */
@media (min-width: 1040px) and (max-height: 1024px) {
	.page-main.home-main {
		--hero-pad-bottom: clamp(5rem, 10vh, 8rem);
	}

	.home-hero {
		padding: clamp(5.75rem, 14vh, 10rem) 0 var(--hero-pad-bottom);
	}

	.page-main.home-main .hero-copy h1 {
		font-size: clamp(2.35rem, 5.4vh, 3.15rem);
	}

	.page-main.home-main .hero-slogan {
		margin: 0.75rem auto 0;
	}
}

@media (min-width: 1040px) and (max-height: 820px) {
	.hero-search {
		transform: none;
	}
}

@media (min-width: 1040px) and (max-height: 760px) {
	.page-main.home-main {
		--hero-pad-bottom: clamp(3.75rem, 8vh, 5.25rem);
		--hero-stats-lift: 0.75rem;
	}

	.home-hero {
		padding: clamp(4.5rem, 11vh, 6.5rem) 0 var(--hero-pad-bottom);
	}

	.page-main.home-main .hero-copy h1 {
		font-size: clamp(2.15rem, 5.2vh, 2.85rem);
	}

	.page-main.home-main .hero-slogan {
		margin: 0.65rem auto 0;
	}

	.hero-search {
		transform: none;
	}
}

@media (max-width: 768px) {
	.home-hero {
		display: flex;
		flex-direction: column;
		justify-content: stretch;
		align-items: stretch;
		box-sizing: border-box;
		min-height: calc(100dvh - var(--header-h-mobile) - var(--enrol-bar-h));
		padding: 0;
	}

	.hero-inner,
	.hero-copy {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
		transform: none;
		padding: 0;
	}

	/* Equal flex above/below the search so its midpoint sits on the fold centre. */
	.hero-lead {
		flex: 1 1 0;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: center;
		gap: 1.75rem;
		padding: 0 0 2rem;
	}

	.page-main.home-main .hero-copy h1 {
		margin-bottom: 0;
	}

	.page-main.home-main .hero-slogan {
		margin: 0;
	}

	.hero-lower {
		display: contents;
	}

	.hero-search {
		flex: 0 0 auto;
		width: 100%;
	}

	.hero-proof {
		flex: 1 1 0;
		justify-content: flex-start;
		gap: 1.5rem;
		padding-top: 2.125rem;
		min-height: 0;
	}

	.page-main.home-main ~ .site-chat .site-chat-bubble {
		display: none;
	}

	/* Stack Explore + Start here; optically centre the label under the button
	   by balancing the in-flow arrow with matching left pad. */
	.experience-actions {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: var(--home-space-16);
	}

	.experience-cta {
		padding-left: calc(var(--text-link-arrow) + 0.42em);
	}

	.experience-cta::before {
		left: calc(var(--text-link-arrow) + 0.42em);
		right: calc(var(--text-link-arrow) + 0.42em);
	}
}

/* Homepage reviews strip: keep H2 / badge / Read more on one left edge
   while stacked (mobile + tablet). Desktop 1040+ split column stays as locked. */
@media (max-width: 1039.98px) {
	.home-reviews .reviews-badge {
		align-self: flex-start;
		align-items: flex-start;
		margin-inline: 0;
		margin-block: 0;
		padding: 0;
		border-radius: 0;
		background: transparent;
	}

	.home-reviews .reviews-badge-mark {
		max-height: 48px;
	}
}
