/*
 * About v1 — staging redesign in the Home v4 design language.
 * Loaded after homepage-v4.css on about-v1-template.php only; every rule is
 * scoped to body.home-v4 .ab so no other page is affected.
 */

/* ------------------------------------------------------------------ *
 * Shared
 * ------------------------------------------------------------------ */

body.home-v4 .ab-h2 {
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #646464;
	text-wrap: balance;
}

body.home-v4 .ab-h2 strong,
body.home-v4 .ab-h2 b {
	font-weight: 400;
	color: #000000;
}

body.home-v4 .ab-h2--dark {
	color: #8c8c8c;
}

body.home-v4 .ab-h2--dark strong,
body.home-v4 .ab-h2--dark b {
	color: #ffffff;
}

body.home-v4 .ab-p {
	max-width: 620px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.6;
	color: #555555;
}

body.home-v4 .ab-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 900px;
	margin-bottom: 48px;
}

body.home-v4 .ab-head--center {
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

body.home-v4 .ab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 36px;
	font-family: var(--v4-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.home-v4 .ab-btn svg {
	transition: transform 0.25s ease;
}

body.home-v4 .ab-btn:hover svg,
body.home-v4 .ab-btn:focus-visible svg {
	transform: translate(2px, -2px);
}

body.home-v4 .ab-btn--glass {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.45);
	background-color: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

body.home-v4 .ab-btn--glass:hover,
body.home-v4 .ab-btn--glass:focus-visible {
	color: #000000;
	background-color: #ffffff;
}

body.home-v4 .ab-btn--white {
	color: var(--v4-blue);
	background-color: #ffffff;
}

body.home-v4 .ab-btn--white:hover,
body.home-v4 .ab-btn--white:focus-visible {
	color: #ffffff;
	background-color: #000000;
}

body.home-v4 .ab-btn--line {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.6);
	background-color: transparent;
}

body.home-v4 .ab-btn--line:hover,
body.home-v4 .ab-btn--line:focus-visible {
	color: var(--v4-blue);
	background-color: #ffffff;
}

/* Parent theme list bullets off for the About v1 cards */
body.home-v4 .ab-why__card::before,
body.home-v4 .ab-where__card::before {
	content: none;
	display: none;
}

/* ------------------------------------------------------------------ *
 * Hero: centred title block on black, team line-up rising below it
 * ------------------------------------------------------------------ */

body.home-v4 .v4-hero.ab-hero {
	height: auto;
	min-height: 0;
	justify-content: flex-start;
	overflow: hidden;
	background-color: #000000;
}

body.home-v4 .ab-hero__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 50% 40% at 50% 0%, rgba(17, 69, 187, 0.45), rgba(17, 69, 187, 0) 100%),
		radial-gradient(ellipse 30% 30% at 8% 85%, rgba(237, 75, 0, 0.22), rgba(237, 75, 0, 0) 100%);
}

body.home-v4 .ab-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 1320px;
	margin: 0 auto;
	padding: calc(var(--v4-header-h) + 64px) var(--v4-pad-x) 0;
	text-align: center;
	animation: ab-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

body.home-v4 .ab-hero__titlerow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

body.home-v4 .ab-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	font-family: var(--v4-font);
	font-size: 16px;
	line-height: 24px;
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.06);
}

body.home-v4 .ab-hero__eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--v4-orange);
	box-shadow: 0 0 0 4px rgba(237, 75, 0, 0.22);
}

body.home-v4 .ab-hero__title {
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(40px, 6vw, 96px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
}

body.home-v4 .ab-hero__title strong {
	font-weight: 500;
	color: #ffffff;
}

body.home-v4 .ab-hero__text {
	max-width: 860px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(17px, 1.5vw, 22px);
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

body.home-v4 .ab-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 4px;
}

body.home-v4 .ab-hero__team {
	position: relative;
	height: clamp(340px, 36vw, 620px);
	margin-top: -8px;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 72%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 72%, transparent 100%);
	animation: ab-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

body.home-v4 .ab-hero__img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 50% 34%;
}

@keyframes ab-rise {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1199px) {
	body.home-v4 .ab-hero__titlerow {
		flex-direction: column;
		gap: 16px;
	}
}

@media (max-width: 767px) {
	body.home-v4 .ab-hero__content {
		padding-top: calc(var(--v4-header-h) + 40px);
		gap: 16px;
	}

	body.home-v4 .ab-hero__title {
		white-space: normal;
		font-size: 44px;
	}

	body.home-v4 .ab-hero__team {
		height: 320px;
		margin-top: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home-v4 .ab-hero__content,
	body.home-v4 .ab-hero__team {
		animation: none;
	}
}

/* Light hero: soft white -> lavender background, dark text and the team
   line-up of cut-out portraits standing on the gradient (like the live site). */
body.home-v4 .v4-hero.ab-hero {
	padding-bottom: 0;
	color: #000000;
	background-color: #ffffff;
}

body.home-v4 .ab-hero__glow {
	background:
		radial-gradient(ellipse 55% 40% at 50% 80%, rgba(124, 92, 230, 0.34), rgba(124, 92, 230, 0) 100%),
		radial-gradient(ellipse 35% 35% at 92% 70%, rgba(17, 69, 187, 0.16), rgba(17, 69, 187, 0) 100%),
		radial-gradient(ellipse 30% 30% at 8% 72%, rgba(237, 75, 0, 0.12), rgba(237, 75, 0, 0) 100%),
		linear-gradient(180deg, #e6dffc 0%, #f6f3fe 22%, #fbfaff 34%, #ece7fd 58%, #d6ccfa 82%, #d6ccfa 100%);
}

/* faint dotted grid behind the team */
body.home-v4 .ab-hero__glow::after {
	content: "";
	position: absolute;
	inset: 35% 0 0;
	background-image: radial-gradient(rgba(17, 69, 187, 0.16) 1px, transparent 1.4px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000, transparent 75%);
}

body.home-v4 .ab-hero__eyebrow {
	border-color: rgba(0, 0, 0, 0.08);
	color: #333333;
	background-color: #f3f3f3;
}

body.home-v4 .ab-hero__title {
	color: #8a8a8a;
}

body.home-v4 .ab-hero__title strong {
	color: #000000;
}

body.home-v4 .ab-hero__text {
	color: #444444;
}

body.home-v4 .ab-btn--outline {
	color: #000000;
	border-color: rgba(0, 0, 0, 0.25);
	background-color: rgba(255, 255, 255, 0.6);
}

body.home-v4 .ab-btn--outline:hover,
body.home-v4 .ab-btn--outline:focus-visible {
	color: #ffffff;
	border-color: #000000;
	background-color: #000000;
}

/* Line-up */
body.home-v4 .ab-hero__team {
	max-width: none;
	height: clamp(300px, 27vw, 520px);
	margin: 32px 0 0;
	overflow: visible;
	border-radius: 0;
	background: none;
	box-shadow: none;
	position: relative;
	z-index: 1;
	-webkit-mask-image: none;
	mask-image: none;
	animation: none;
}

/* Theme layer at the foot of the hero: the line-up dissolves into lavender,
   then white, so the hero flows into the next section with no edge. */
body.home-v4 .v4-hero.ab-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: clamp(160px, 16vw, 280px);
	pointer-events: none;
	background: linear-gradient(180deg, rgba(205, 191, 249, 0) 0%, rgba(205, 191, 249, 0.7) 40%, rgba(214, 203, 250, 0.96) 72%, #ded5fb 100%);
}

/* the lavender carries on into the top of the next section, then eases to white */
body.home-v4.v4-theme-ready:not(.v4-theme-dark) main.ab .ab-numbers,
body.home-v4 main.ab .ab-numbers {
	background-image: linear-gradient(180deg, #ded5fb 0%, rgba(236, 231, 253, 0.7) 90px, rgba(255, 255, 255, 0) 240px);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-numbers {
	background-image: none;
}

body.home-v4 .ab-lineup {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-lineup__p {
	position: relative;
	flex: 0 0 auto;
	height: 100%;
	margin: 0 -2.6vw;
	padding: 0;
	outline: none;
	transform-origin: 50% 100%;
	animation: ab-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

body.home-v4 .ab-lineup__p::before {
	content: none;
}

body.home-v4 .ab-lineup__p img {
	display: block;
	width: auto;
	max-width: none;
	height: 100%;
	filter: drop-shadow(0 20px 30px rgba(40, 20, 120, 0.18));
	-webkit-user-drag: none;
	user-select: none;
}

body.home-v4 .ab-lineup__p--d0 { z-index: 4; height: 100%; animation-delay: 0.25s; }
body.home-v4 .ab-lineup__p--d1 { z-index: 3; height: 88%; animation-delay: 0.37s; }
body.home-v4 .ab-lineup__p--d2 { z-index: 2; height: 78%; animation-delay: 0.49s; }
body.home-v4 .ab-lineup__p--d3 { z-index: 1; height: 70%; animation-delay: 0.61s; }

/* Hover: the person steps forward, the others soften */
body.home-v4 .ab-lineup:hover .ab-lineup__p,
body.home-v4 .ab-lineup:focus-within .ab-lineup__p {
	filter: saturate(0.6) brightness(0.92);
}

body.home-v4 .ab-lineup .ab-lineup__p:hover,
body.home-v4 .ab-lineup .ab-lineup__p:focus-visible {
	z-index: 6;
	filter: none;
	transform: translateY(-10px) scale(1.03);
}

body.home-v4 .ab-lineup__tag {
	position: absolute;
	left: 50%;
	bottom: 46%;
	z-index: 2;
	padding: 8px 14px;
	border-radius: 30px;
	font-family: var(--v4-font);
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	color: #333333;
	background-color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4);
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

body.home-v4 .ab-lineup__tag strong {
	font-weight: 500;
	color: #000000;
}

body.home-v4 .ab-lineup__p:hover .ab-lineup__tag,
body.home-v4 .ab-lineup__p:focus-visible .ab-lineup__tag {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Header over the light hero: keep the dark glass bar so the white nav stays readable */
body.home-v4:has(main.ab) header {
	background-color: rgba(14, 14, 16, 0.78);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

@media (max-width: 767px) {
	body.home-v4 .ab-hero__team {
		height: 240px;
		margin-top: 24px;
	}

	body.home-v4 .ab-lineup__p {
		margin: 0 -18px;
	}

	body.home-v4 .ab-lineup__p--d2,
	body.home-v4 .ab-lineup__p--d3 {
		display: none;
	}

	body.home-v4 .ab-lineup__tag {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home-v4 .ab-lineup__p {
		animation: none;
		transition: none;
	}
}

/* ------------------------------------------------------------------ *
 * Intro + numbers (reuses the Home v4 About/Impact/Clients styles)
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-numbers {
	padding: 104px var(--v4-pad-x) 40px;
	background-color: #ffffff;
}

body.home-v4 .ab-numbers__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: end;
	gap: 48px;
	max-width: 1320px;
	margin: 0 auto 48px;
}

body.home-v4 .ab-numbers__lead {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

body.home-v4 .ab-numbers__title {
	font-size: clamp(30px, 3.3vw, 48px);
}

body.home-v4 .ab-numbers__text {
	padding-left: 24px;
	border-left: 2px solid var(--v4-orange);
}

/* Bento stats (keeps the v4-impact classes for the count-up and entrance) */
body.home-v4 .v4-impact.ab-bento {
	margin-top: 0;
}

body.home-v4 .ab-bento__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-bento .ab-bento__card {
	min-height: 240px;
	padding: 28px;
	border-radius: 28px;
}

body.home-v4 .ab-bento .ab-bento__card::before {
	content: none;
}

body.home-v4 .ab-bento__tag {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	margin-bottom: auto;
	padding: 5px 12px;
	border: 1px solid currentColor;
	border-radius: 20px;
	font-family: var(--v4-font);
	font-size: 13px;
	line-height: 18px;
	opacity: 0.7;
}

body.home-v4 .ab-bento .v4-impact__num {
	margin-top: 40px;
	font-size: clamp(48px, 4.4vw, 64px);
	line-height: 1;
	letter-spacing: -0.02em;
}

body.home-v4 .ab-bento .v4-impact__text {
	max-width: 240px;
	margin-top: 8px;
	font-size: 16px;
}

body.home-v4 .ab-bento__card--launch {
	grid-column: 1;
	grid-row: 1 / span 2;
	color: #ffffff;
	background:
		radial-gradient(90% 60% at 100% 100%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%),
		var(--v4-blue) !important;
}

body.home-v4 .ab-bento__card--launch .v4-impact__num {
	margin-top: 0;
	font-size: clamp(72px, 7.4vw, 120px);
}

body.home-v4 .ab-bento__card--launch .v4-impact__num,
body.home-v4 .ab-bento__card--revenue .v4-impact__num {
	color: #ffffff;
}

body.home-v4 .ab-bento__card--launch .v4-impact__text,
body.home-v4 .ab-bento__card--revenue .v4-impact__text {
	color: rgba(255, 255, 255, 0.82);
}

body.home-v4 .ab-bento__card--launch .ab-bento__tag {
	margin-bottom: 28px;
}

body.home-v4 .ab-bento__card--launch .v4-impact__art {
	width: 62%;
	max-width: 300px;
}

body.home-v4 .ab-bento__card--revenue {
	color: #ffffff;
	background-color: #0e0e10 !important;
}

body.home-v4 .ab-bento__card--years {
	color: #000000;
	background-color: #f3f3f3 !important;
}

body.home-v4 .ab-bento__card--team {
	grid-column: 2 / span 2;
	grid-row: 2;
	flex-direction: row !important;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	color: #000000;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(237, 75, 0, 0.16), rgba(237, 75, 0, 0) 70%),
		#fff4ee !important;
}

body.home-v4 .ab-bento__team-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-self: stretch;
}

body.home-v4 .ab-bento__card--team .v4-impact__num {
	color: var(--v4-orange);
}

body.home-v4 .ab-faces {
	display: flex;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-faces li {
	position: relative;
	flex: 0 0 63px;
	width: 63px;
	height: 63px;
	margin: 0 0 0 -15px;
	padding: 0;
	border-radius: 50%;
	transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

body.home-v4 .ab-faces li::before {
	content: none;
}

body.home-v4 .ab-faces li:first-child {
	margin-left: 0;
}

body.home-v4 .ab-faces li img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

body.home-v4 .ab-faces li:hover {
	z-index: 2;
	transform: scale(1.3);
}

body.home-v4 .ab-faces .ab-faces__more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--v4-font);
	font-size: 24px;
	color: #ffffff;
	background-color: var(--v4-orange);
	box-shadow: 0 0 0 2px #ffffff;
}

/* Client logo wall */
body.home-v4 .ab-wall {
	max-width: 1320px;
	margin: 72px auto 0;
}

body.home-v4 .ab-wall__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

body.home-v4 .ab-wall__label,
body.home-v4 .ab-wall__more {
	margin: 0;
	font-family: var(--v4-font);
	font-size: 20px;
	line-height: 1.3;
	color: #646464;
}

body.home-v4 .ab-wall__more {
	font-size: 16px;
	color: var(--v4-blue);
}

body.home-v4 .ab-wall__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-wall__logo {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background-color: #f3f3f3;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

body.home-v4 .ab-wall__logo::before {
	content: none;
}

body.home-v4 .ab-wall__logo img {
	display: block;
	width: 100%;
	height: auto;
}

body.home-v4 .ab-wall__logo:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.3);
}

/* ------------------------------------------------------------------ *
 * Story + founder
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-story {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 64px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 96px var(--v4-pad-x);
	background-color: #ffffff;
}

body.home-v4 .ab-story__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

body.home-v4 .ab-story__copy .v4-btn {
	margin-top: 8px;
}

body.home-v4 .ab-founder {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
	padding: 44px 40px 32px;
	overflow: hidden;
	border-radius: 24px;
	background-color: #f3f3f3;
}

body.home-v4 .ab-founder::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(17, 69, 187, 0.16), rgba(17, 69, 187, 0) 70%);
	pointer-events: none;
}

body.home-v4 .ab-founder__mark {
	display: block;
	height: 48px;
	font-family: Georgia, serif;
	font-size: 96px;
	line-height: 1;
	color: var(--v4-orange);
}

body.home-v4 .ab-founder__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

body.home-v4 .ab-founder__quote p {
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 400;
	line-height: 1.35;
	color: #000000;
}

body.home-v4 .ab-founder__who {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.home-v4 .ab-founder__photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 20%;
}

body.home-v4 .ab-founder__name,
body.home-v4 .ab-founder__role {
	display: block;
	font-family: var(--v4-font);
}

body.home-v4 .ab-founder__name {
	font-size: 17px;
	font-weight: 500;
	color: #000000;
}

body.home-v4 .ab-founder__role {
	font-size: 14px;
	font-weight: 300;
	color: #646464;
}

body.home-v4 .ab-founder__in {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border-radius: 50%;
	color: #ffffff;
	background-color: var(--v4-blue);
	transition: background-color 0.2s ease;
}

body.home-v4 .ab-founder__in:hover,
body.home-v4 .ab-founder__in:focus-visible {
	color: #ffffff;
	background-color: #000000;
}

/* ------------------------------------------------------------------ *
 * Process: scroll timeline on the theme layer. The section is
 * transparent, so the page background fades white -> black (Home v4
 * scroll theme, body.v4-theme-dark) as it fills the screen; the steps
 * light up and the rail fills as you scroll (inline script, --ab-flow).
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-process {
	--ab-ink: #ffffff;
	--ab-soft: #bdbdbd;
	--ab-dim: rgba(255, 255, 255, 0.16);
	--ab-line: rgba(255, 255, 255, 0.12);
	position: relative;
	padding: 120px var(--v4-pad-x) 120px;
	overflow: clip;
	background-color: #000000;
	color: var(--ab-ink);
}

body.home-v4.v4-theme-ready main.v4 .ab-process {
	background-color: transparent;
}

body.home-v4.v4-theme-ready:not(.v4-theme-dark) main.v4 .ab-process {
	--ab-ink: #000000;
	--ab-soft: #555555;
	--ab-dim: rgba(0, 0, 0, 0.12);
	--ab-line: rgba(0, 0, 0, 0.1);
}

/* Soft colour glows that drift in with the dark phase */
body.home-v4 main.v4 .ab-process::before,
body.home-v4 main.v4 .ab-process::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 1;
	transition: opacity 1s ease;
}

/* Glows are sized to the section and fade out before its edges, so nothing is cut off */
body.home-v4 main.v4 .ab-process::before {
	background: radial-gradient(ellipse 42% 34% at 92% 22%, rgba(17, 69, 187, 0.42), rgba(17, 69, 187, 0.14) 45%, rgba(17, 69, 187, 0) 100%);
}

body.home-v4 main.v4 .ab-process::after {
	background: radial-gradient(ellipse 38% 30% at 6% 66%, rgba(237, 75, 0, 0.26), rgba(237, 75, 0, 0.08) 45%, rgba(237, 75, 0, 0) 100%);
}

body.home-v4.v4-theme-ready:not(.v4-theme-dark) main.v4 .ab-process::before,
body.home-v4.v4-theme-ready:not(.v4-theme-dark) main.v4 .ab-process::after {
	opacity: 0;
}

body.home-v4 .ab-process__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 64px;
	max-width: 1320px;
	margin: 0 auto;
}

body.home-v4 .ab-process__aside {
	position: sticky;
	top: calc(var(--v4-header-h) + 48px);
	align-self: start;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

body.home-v4 .ab-process__title {
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(32px, 3.4vw, 52px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--ab-soft);
	transition: color 0.8s ease;
}

body.home-v4 .ab-process__title strong {
	font-weight: 400;
	color: var(--ab-ink);
	transition: color 0.8s ease;
}

body.home-v4 .ab-process__intro {
	max-width: 420px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--ab-soft);
	transition: color 0.8s ease;
}

body.home-v4 .ab-process__count {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 28px 0 0;
	font-family: var(--v4-font);
	line-height: 1;
}

body.home-v4 .ab-process__now {
	font-size: clamp(64px, 7vw, 112px);
	font-weight: 500;
	letter-spacing: -0.04em;
	color: var(--v4-orange);
	font-variant-numeric: tabular-nums;
}

body.home-v4 .ab-process__total {
	font-size: 20px;
	color: var(--ab-soft);
	transition: color 0.8s ease;
}

/* Timeline */
body.home-v4 .ab-flow {
	position: relative;
	padding-left: 44px;
}

body.home-v4 .ab-flow__rail {
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 7px;
	width: 2px;
	border-radius: 2px;
	background-color: var(--ab-line);
	transition: background-color 0.8s ease;
}

body.home-v4 .ab-flow__fill {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, var(--v4-blue), var(--v4-orange));
	transform: scaleY(var(--ab-flow, 0));
	transform-origin: top center;
}

body.home-v4 .ab-flow__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-flow__step {
	position: relative;
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	margin: 0;
	padding: 36px 0;
	border-bottom: 1px solid var(--ab-line);
	transition: border-color 0.8s ease;
}

body.home-v4 .ab-flow__step::before {
	content: none;
}

body.home-v4 .ab-flow__step:last-child {
	border-bottom: 0;
}

body.home-v4 .ab-flow__dot {
	position: absolute;
	top: 52px;
	left: -44px;
	width: 16px;
	height: 16px;
	border: 2px solid var(--ab-line);
	border-radius: 50%;
	background-color: #000000;
	transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

body.home-v4.v4-theme-ready:not(.v4-theme-dark) .ab-flow__dot {
	background-color: #ffffff;
}

body.home-v4 .ab-flow__num {
	font-family: var(--v4-font);
	font-size: clamp(56px, 6vw, 96px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1px var(--ab-dim);
	transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-v4 .ab-flow__title {
	margin: 6px 0 10px;
	font-family: var(--v4-font);
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ab-ink);
	transition: color 0.5s ease, opacity 0.5s ease;
}

body.home-v4 .ab-flow__text {
	max-width: 440px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--ab-soft);
	transition: color 0.5s ease, opacity 0.5s ease;
}

/* Scroll states (only once the script runs) */
body.home-v4 .ab-process.is-live .ab-flow__body {
	opacity: 0.32;
	transform: translateX(12px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-v4 .ab-process.is-live .ab-flow__step.is-on .ab-flow__body {
	opacity: 1;
	transform: none;
}

body.home-v4 .ab-flow__step.is-on .ab-flow__num {
	color: var(--v4-orange);
	-webkit-text-stroke-color: var(--v4-orange);
	transform: translateX(4px);
}

body.home-v4 .ab-flow__step.is-on .ab-flow__dot {
	border-color: var(--v4-orange);
	background-color: var(--v4-orange) !important;
	box-shadow: 0 0 0 6px rgba(237, 75, 0, 0.18);
	transform: scale(1.1);
}

body.home-v4 .ab-process:not(.is-live) .ab-flow__num {
	color: var(--v4-orange);
	-webkit-text-stroke-color: var(--v4-orange);
}

/* ------------------------------------------------------------------ *
 * Why Anatech
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-why {
	padding: 104px var(--v4-pad-x) 72px;
	background-color: #ffffff;
}

body.home-v4 .ab-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-why__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 28px;
	border-radius: 24px;
	background-color: #f3f3f3;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

body.home-v4 .ab-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 16px;
	color: #ffffff;
	background-color: var(--v4-blue);
	transition: background-color 0.3s ease, color 0.3s ease;
}

body.home-v4 .ab-why__title {
	margin: 0;
	font-family: var(--v4-font);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: #000000;
	transition: color 0.3s ease;
}

body.home-v4 .ab-why__text {
	margin: 0;
	font-family: var(--v4-font);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.55;
	color: #555555;
	transition: color 0.3s ease;
}

body.home-v4 .ab-why__card:hover {
	background-color: var(--v4-blue);
	transform: translateY(-4px);
}

body.home-v4 .ab-why__card:hover .ab-why__icon {
	color: var(--v4-blue);
	background-color: #ffffff;
}

body.home-v4 .ab-why__card:hover .ab-why__title {
	color: #ffffff;
}

body.home-v4 .ab-why__card:hover .ab-why__text {
	color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------------ *
 * Mission & Vision
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-mv {
	padding: 48px var(--v4-pad-x) 104px;
	background-color: #ffffff;
}

body.home-v4 .ab-mv .ab-head {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

body.home-v4 .ab-mv__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 1320px;
	margin: 0 auto;
}

body.home-v4 .ab-mv__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 380px;
	padding: 40px;
	overflow: hidden;
	border-radius: 24px;
	color: #ffffff;
}

body.home-v4 .ab-mv__card::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	pointer-events: none;
}

body.home-v4 .ab-mv__card--blue {
	background-color: var(--v4-blue);
}

body.home-v4 .ab-mv__card--blue::after {
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
}

body.home-v4 .ab-mv__card--dark {
	background-color: #0e0e10;
}

body.home-v4 .ab-mv__card--dark::after {
	background: radial-gradient(circle, rgba(237, 75, 0, 0.35), rgba(237, 75, 0, 0) 70%);
}

body.home-v4 .ab-mv__label {
	align-self: flex-start;
	margin: 0 0 auto;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 21px;
	font-family: var(--v4-font);
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
}

body.home-v4 .ab-mv__title {
	position: relative;
	z-index: 1;
	max-width: 520px;
	margin: 40px 0 0;
	font-family: var(--v4-font);
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 400;
	line-height: 1.15;
	color: #ffffff;
}

body.home-v4 .ab-mv__text {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

/* ------------------------------------------------------------------ *
 * Where to find us: heading row, then one map stage with the office
 * cards floating on it. Picking an office moves the map there.
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-where {
	display: block;
	padding: 104px var(--v4-pad-x);
	background-color: #ffffff;
}

body.home-v4 .ab-where__head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: end;
	gap: 48px;
	max-width: 1320px;
	margin: 0 auto 40px;
}

body.home-v4 .ab-where__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

body.home-v4 .ab-where__intro {
	padding-left: 24px;
	border-left: 2px solid var(--v4-orange);
}

body.home-v4 .ab-where__stage {
	position: relative;
	max-width: 1320px;
	height: clamp(480px, 40vw, 580px);
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid #e6e6e6;
	border-radius: 28px;
	background-color: #eef0f3;
	isolation: isolate;
}

body.home-v4 .ab-where__frame {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.15);
	transition: filter 0.8s ease, opacity 0.4s ease;
}

body.home-v4 .ab-where__stage.is-loading .ab-where__frame {
	opacity: 0.4;
}

/* Floating office panel (right, so Google's own place card on the left stays clear) */
body.home-v4 .ab-where__panel {
	position: absolute;
	top: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	width: min(420px, 42%);
	pointer-events: none;
}

body.home-v4 .ab-where__panel > * {
	pointer-events: auto;
}

body.home-v4 .ab-where__panel-label {
	align-self: flex-start;
	margin: 0;
	padding: 6px 14px;
	border-radius: 20px;
	font-family: var(--v4-font);
	font-size: 13px;
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

body.home-v4 .ab-where__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-where__card {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.4);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background-color 0.8s ease;
}

body.home-v4 .ab-where__card:hover {
	transform: translateY(-2px);
}

body.home-v4 .ab-where__card.is-active {
	border-color: var(--v4-blue);
	box-shadow: 0 18px 40px -20px rgba(17, 69, 187, 0.45);
}

body.home-v4 .ab-where__pick {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 4px;
	width: 100%;
	margin: 0;
	padding: 18px 18px 6px;
	border: 0;
	text-align: left;
	color: inherit;
	background: none;
	cursor: pointer;
}

body.home-v4 .ab-where__pick:focus-visible {
	outline: 2px solid var(--v4-blue);
	outline-offset: -2px;
	border-radius: 20px;
}

body.home-v4 .ab-where__pin {
	grid-row: span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--v4-orange);
	background-color: #fff1ea;
	transition: background-color 0.3s ease, color 0.3s ease;
}

body.home-v4 .ab-where__card.is-active .ab-where__pin {
	color: #ffffff;
	background-color: var(--v4-orange);
}

body.home-v4 .ab-where__title {
	display: block;
	font-family: var(--v4-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	color: #000000;
}

body.home-v4 .ab-where__addr {
	display: block;
	font-family: var(--v4-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	color: #555555;
}

body.home-v4 .ab-where__addr strong {
	font-weight: 500;
	color: #000000;
}

body.home-v4 .ab-where__dir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px 76px;
	font-family: var(--v4-font);
	font-size: 14px;
	color: var(--v4-blue);
	text-decoration: none;
}

body.home-v4 .ab-where__dir svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

body.home-v4 .ab-where__dir:hover,
body.home-v4 .ab-where__dir:focus-visible {
	color: var(--v4-orange);
}

body.home-v4 .ab-where__dir:hover svg {
	transform: translate(2px, -2px);
}

/* Dark phase */
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__stage {
	border-color: #262626;
	background-color: #161616;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__frame {
	filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__card {
	border-color: #2a2a2a;
	background-color: rgba(18, 18, 18, 0.92);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__card.is-active {
	border-color: var(--v4-blue);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__dir {
	color: #8fb0ff;
}

/* Tablet / phone: map on top, office cards below it */
@media (max-width: 991px) {
	body.home-v4 .ab-where__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	body.home-v4 .ab-where__stage {
		height: auto;
		overflow: visible;
		border: 0;
		background: none;
	}

	body.home-v4 .ab-where__frame {
		position: relative;
		height: 380px;
		border: 1px solid #e6e6e6;
		border-radius: 24px;
	}

	body.home-v4 .ab-where__panel {
		position: static;
		width: auto;
		margin-top: 16px;
	}

	body.home-v4 .ab-where__panel-label {
		color: #555555;
		background-color: #f3f3f3;
	}
}

@media (max-width: 767px) {
	body.home-v4 .ab-where__intro {
		padding-left: 16px;
	}

	body.home-v4 .ab-where__frame {
		height: 320px;
		border-radius: 20px;
	}

	body.home-v4 .ab-where__pick {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 16px 16px 6px;
	}

	body.home-v4 .ab-where__pin {
		width: 40px;
		height: 40px;
	}

	body.home-v4 .ab-where__dir {
		margin-left: 70px;
	}
}

/* ------------------------------------------------------------------ *
 * Final CTA
 * ------------------------------------------------------------------ */

body.home-v4 main.v4 .ab-final {
	padding: 0 var(--v4-pad-x) 96px;
	background-color: #ffffff;
}

body.home-v4 .ab-final__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 48px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 56px;
	overflow: hidden;
	border-radius: 32px;
	color: #ffffff;
	background:
		radial-gradient(55% 70% at 0% 0%, rgba(237, 75, 0, 0.42), rgba(237, 75, 0, 0) 70%),
		radial-gradient(60% 80% at 40% 110%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
		var(--v4-blue);
	isolation: isolate;
}

/* Slow-drifting grid texture */
body.home-v4 .ab-final__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(70% 70% at 25% 50%, #000 0%, transparent 100%);
	mask-image: radial-gradient(70% 70% at 25% 50%, #000 0%, transparent 100%);
	animation: ab-grid 18s linear infinite;
	pointer-events: none;
}

@keyframes ab-grid {
	to { background-position: 48px 48px, 48px 48px; }
}

body.home-v4 .ab-final__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 8px 0;
}

body.home-v4 .ab-final__card .v4-pill {
	background-color: rgba(255, 255, 255, 0.16);
}

body.home-v4 .ab-final__title {
	margin: 0;
	font-family: var(--v4-font);
	font-size: clamp(36px, 4vw, 60px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.72);
}

body.home-v4 .ab-final__title strong {
	font-weight: 500;
	color: #ffffff;
}

body.home-v4 .ab-final__text {
	max-width: 460px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

body.home-v4 .ab-final__steps {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

body.home-v4 .ab-final__steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--v4-font);
	font-size: 15px;
	color: #ffffff;
}

body.home-v4 .ab-final__steps li::before {
	content: none;
}

body.home-v4 .ab-final__steps span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	font-size: 12px;
	color: #ffffff;
}

body.home-v4 .ab-final__founder {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 440px;
	margin-top: auto;
	padding: 12px 12px 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 20px;
	background-color: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

body.home-v4 .ab-final__avatar {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

body.home-v4 .ab-final__who {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--v4-font);
	line-height: 1.3;
}

body.home-v4 .ab-final__name {
	font-size: 17px;
	color: #ffffff;
}

body.home-v4 .ab-final__role {
	font-size: 13px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.75);
}

body.home-v4 .ab-final__cal {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 10px 16px;
	border-radius: 30px;
	font-family: var(--v4-font);
	font-size: 14px;
	color: var(--v4-blue);
	text-decoration: none;
	background-color: #ffffff;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.home-v4 .ab-final__cal:hover,
body.home-v4 .ab-final__cal:focus-visible {
	color: #ffffff;
	background-color: #000000;
}

body.home-v4 .ab-final__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.home-v4 .ab-final__quick a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	font-family: var(--v4-font);
	font-size: 14px;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.home-v4 .ab-final__quick a:hover,
body.home-v4 .ab-final__quick a:focus-visible {
	color: var(--v4-blue);
	background-color: #ffffff;
}

/* Form panel */
body.home-v4 .ab-final__form {
	position: relative;
	padding: 32px;
	border-radius: 24px;
	color: #000000;
	background-color: #ffffff;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

body.home-v4 .ab-final__form-title {
	margin: 0 0 20px;
	font-family: var(--v4-font);
	font-size: 22px;
	color: #000000;
}

body.home-v4 .ab-final__form .row {
	--bs-gutter-x: 16px;
}

body.home-v4 .ab-final__form .mb-3 {
	margin-bottom: 14px !important;
}

body.home-v4 .ab-final__form p {
	margin: 0;
}

body.home-v4 .ab-final__form .form-label {
	margin-bottom: 6px;
	font-family: var(--v4-font);
	font-size: 14px;
	color: #555555;
}

body.home-v4 .ab-final__form .form-control {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-family: var(--v4-font);
	font-size: 15px;
	color: #000000;
	background-color: #f3f4f7;
	box-shadow: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.home-v4 .ab-final__form textarea.form-control {
	height: 120px;
	min-height: 120px;
	resize: vertical;
}

body.home-v4 .ab-final__form .form-control:focus {
	border-color: var(--v4-blue);
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(17, 69, 187, 0.12);
	outline: none;
}

body.home-v4 .ab-final__form .form-control::placeholder {
	color: #8a8a8a;
}

body.home-v4 .ab-final__form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border: 0;
	border-radius: 36px;
	font-family: var(--v4-font);
	font-size: 16px;
	color: #ffffff;
	background-color: var(--v4-blue);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

body.home-v4 .ab-final__form .wpcf7-submit:hover,
body.home-v4 .ab-final__form .wpcf7-submit:focus-visible {
	color: #ffffff;
	background-color: var(--v4-orange);
	transform: translateY(-2px);
}

body.home-v4 .ab-final__form a {
	color: #555555;
}

body.home-v4 .ab-final__form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	border-radius: 12px;
	font-family: var(--v4-font);
	font-size: 14px;
}

@media (max-width: 991px) {
	body.home-v4 .ab-final__card {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 40px 28px;
	}
}

@media (max-width: 767px) {
	body.home-v4 .ab-final__card {
		padding: 32px 16px 16px;
		border-radius: 24px;
	}

	body.home-v4 .ab-final__info {
		padding: 0 4px;
	}

	body.home-v4 .ab-final__founder {
		flex-wrap: wrap;
	}

	body.home-v4 .ab-final__cal {
		width: 100%;
		justify-content: center;
		margin-left: 0;
	}

	body.home-v4 .ab-final__form {
		padding: 22px 16px;
		border-radius: 18px;
	}
}

/* Email is already shown on the left; the submit button sits on its own */
body.home-v4 .ab-final__form .inquiry-mail {
	display: none;
}

body.home-v4 .ab-final__form .btn-block {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
	body.home-v4 .ab-final__card::before {
		animation: none;
	}
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1199px) {
	body.home-v4 .ab-flow__step {
		grid-template-columns: 100px minmax(0, 1fr);
	}
}

@media (max-width: 991px) {
	body.home-v4 .ab-process__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	body.home-v4 .ab-process__aside {
		position: static;
	}

	body.home-v4 .ab-process__count {
		margin-top: 8px;
	}

	body.home-v4 .ab-numbers__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	body.home-v4 .ab-bento__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home-v4 .ab-bento__card--launch {
		grid-row: auto;
		min-height: 360px !important;
	}

	body.home-v4 .ab-bento__card--team {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	body.home-v4 .ab-wall__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	body.home-v4 main.v4 .ab-story,
	body.home-v4 main.v4 .ab-where {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	body.home-v4 .ab-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home-v4 .ab-mv__grid {
		grid-template-columns: minmax(0, 1fr);
	}

}

@media (max-width: 767px) {
	body.home-v4 .ab-hero__text,
	body.home-v4 .ab-p,
	body.home-v4 .ab-final__text {
		font-size: 16px;
	}

	body.home-v4 main.v4 .ab-numbers {
		padding-top: 64px;
		padding-bottom: 24px;
	}

	body.home-v4 .ab-numbers__top {
		margin-bottom: 32px;
	}

	body.home-v4 .ab-numbers__text {
		padding-left: 16px;
	}

	body.home-v4 .ab-bento__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.home-v4 .ab-bento__card--launch,
	body.home-v4 .ab-bento__card--team {
		grid-column: auto;
		grid-row: auto;
	}

	body.home-v4 .ab-bento .ab-bento__card {
		min-height: 200px;
		padding: 22px;
		border-radius: 24px;
	}

	body.home-v4 .ab-bento__card--launch {
		min-height: 300px !important;
	}

	body.home-v4 .ab-bento__card--launch .v4-impact__art {
		width: 48%;
	}

	body.home-v4 .ab-bento__card--team {
		flex-direction: column !important;
		align-items: flex-start;
	}

	body.home-v4 .ab-faces li {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
		margin-left: -11px;
	}

	body.home-v4 .ab-wall {
		margin-top: 48px;
	}

	body.home-v4 .ab-wall__label {
		font-size: 17px;
	}

	body.home-v4 .ab-wall__more {
		font-size: 14px;
	}

	body.home-v4 .ab-wall__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.home-v4 .ab-wall__logo {
		border-radius: 12px;
	}

	body.home-v4 main.v4 .ab-story,
	body.home-v4 main.v4 .ab-process,
	body.home-v4 main.v4 .ab-why,
	body.home-v4 main.v4 .ab-where {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	body.home-v4 main.v4 .ab-mv {
		padding-top: 16px;
		padding-bottom: 64px;
	}

	body.home-v4 .ab-head {
		margin-bottom: 32px;
	}

	body.home-v4 .ab-founder {
		padding: 32px 24px 24px;
	}

	body.home-v4 .ab-flow {
		padding-left: 32px;
	}

	body.home-v4 .ab-flow__step {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		padding: 24px 0;
	}

	body.home-v4 .ab-flow__dot {
		top: 34px;
		left: -32px;
	}

	body.home-v4 .ab-flow__num {
		font-size: 44px;
	}

	body.home-v4 .ab-flow__title {
		margin: 0 0 6px;
		font-size: 22px;
	}

	body.home-v4 .ab-flow__text {
		font-size: 15px;
	}

	body.home-v4 .ab-process__count {
		display: none;
	}

	body.home-v4 .ab-why__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.home-v4 .ab-why__card {
		padding: 24px;
	}

	body.home-v4 .ab-why__icon {
		width: 48px;
		height: 48px;
		margin-bottom: 8px;
	}

	body.home-v4 .ab-mv__card {
		min-height: 0;
		padding: 28px 24px;
	}

	body.home-v4 .ab-mv__title {
		margin-top: 24px;
	}

	body.home-v4 main.v4 .ab-final {
		padding-bottom: 64px;
	}

}

@media (prefers-reduced-motion: reduce) {
	body.home-v4 .ab-flow__body,
	body.home-v4 .ab-why__card,
	body.home-v4 .ab-btn svg {
		transition: none;
	}

	body.home-v4 .ab-why__card:hover {
		transform: none;
	}
}

/* ==========================================================================
   Theme layer across the whole About v1 page (only once the JS is running):
   every section below the hero lets the shared page background show, so the
   page fades white <-> black as a dark section (process, team, As Seen On)
   fills more than half the screen. Text and cards switch colour with it.
   ========================================================================== */

body.home-v4.v4-theme-ready main.ab .ab-numbers,
body.home-v4.v4-theme-ready main.ab .ab-story,
body.home-v4.v4-theme-ready main.ab .ab-why,
body.home-v4.v4-theme-ready main.ab .ab-mv,
body.home-v4.v4-theme-ready main.ab .ab-where,
body.home-v4.v4-theme-ready main.ab .ab-final,
body.home-v4.v4-theme-ready main.ab .v4-cta {
	background-color: transparent;
}

body.home-v4.v4-theme-ready main.ab .ab-h2,
body.home-v4.v4-theme-ready main.ab .ab-h2 strong,
body.home-v4.v4-theme-ready main.ab .ab-p,
body.home-v4.v4-theme-ready main.ab .ab-wall__label,
body.home-v4.v4-theme-ready main.ab .ab-bento .v4-impact__num,
body.home-v4.v4-theme-ready main.ab .ab-bento .v4-impact__text,
body.home-v4.v4-theme-ready main.ab .ab-founder__quote p,
body.home-v4.v4-theme-ready main.ab .ab-founder__name,
body.home-v4.v4-theme-ready main.ab .ab-founder__role,
body.home-v4.v4-theme-ready main.ab .ab-why__title,
body.home-v4.v4-theme-ready main.ab .ab-why__text,
body.home-v4.v4-theme-ready main.ab .ab-where__title,
body.home-v4.v4-theme-ready main.ab .ab-where__addr,
body.home-v4.v4-theme-ready main.ab .ab-where__addr strong {
	transition: color 0.8s ease;
}

body.home-v4.v4-theme-ready main.ab .ab-founder,
body.home-v4.v4-theme-ready main.ab .ab-founder__who,
body.home-v4.v4-theme-ready main.ab .ab-where__card,
body.home-v4.v4-theme-ready main.ab .ab-mv__card--dark,
body.home-v4.v4-theme-ready main.ab .ab-bento__card--years,
body.home-v4.v4-theme-ready main.ab .ab-bento__card--team {
	transition: background-color 0.8s ease, border-color 0.8s ease, color 0.8s ease, box-shadow 0.3s ease, opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-v4.v4-theme-ready main.ab .ab-bento__card--years,
body.home-v4.v4-theme-ready main.ab .ab-bento__card--team {
	transition-delay: 0s, 0s, 0s, 0s, calc(var(--v4-i, 0) * 0.12s), calc(var(--v4-i, 0) * 0.12s);
}

body.home-v4.v4-theme-ready main.ab .ab-why__card {
	transition: background-color 0.8s ease, transform 0.3s ease;
}

body.home-v4.v4-theme-ready main.ab .ab-where__map {
	transition: filter 0.8s ease, opacity 0.8s ease;
}

/* Dark phase */
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-h2 {
	color: #8c8c8c;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-h2 strong,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-h2 b {
	color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-p,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-wall__label {
	color: #bdbdbd;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--years {
	color: #ffffff;
	background-color: #161616 !important;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--years .v4-impact__num {
	color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--years .v4-impact__text,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--team .v4-impact__text {
	color: #bdbdbd;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--team {
	color: #ffffff;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(237, 75, 0, 0.28), rgba(237, 75, 0, 0) 70%),
		#161616 !important;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-bento__card--revenue,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-mv__card--dark {
	box-shadow: inset 0 0 0 1px #262626;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder {
	background-color: #161616;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__quote p,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__name {
	color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__role {
	color: #bdbdbd;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__who {
	border-top-color: rgba(255, 255, 255, 0.12);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__in:hover,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-founder__in:focus-visible {
	color: #000000;
	background-color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-why__card {
	background-color: #161616;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-why__title {
	color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-why__text {
	color: #bdbdbd;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-why__card:hover {
	background-color: var(--v4-blue);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-why__card:hover .ab-why__text {
	color: rgba(255, 255, 255, 0.85);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__map {
	filter: none;
	opacity: 0.14;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__card {
	border-color: #262626;
	background-color: rgba(22, 22, 22, 0.85);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__card:hover {
	border-color: var(--v4-blue);
	box-shadow: 0 12px 32px rgba(17, 69, 187, 0.25);
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__title,
body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__addr strong {
	color: #ffffff;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__addr {
	color: #bdbdbd;
}

body.home-v4.v4-theme-ready.v4-theme-dark main.ab .ab-where__pin {
	background-color: rgba(237, 75, 0, 0.16);
}

@media (prefers-reduced-motion: reduce) {
	body.home-v4.v4-theme-ready main.ab *,
	body.home-v4.v4-theme-ready main.ab *::before,
	body.home-v4.v4-theme-ready main.ab *::after {
		transition-duration: 0.01s !important;
	}
}
