/**
 * Home page body [jit_home]. Palette shared with preloader / hero / about.
 */

.jit-hm {
	--h-bg: #0c2550;
	--h-bg-2: #0f2d5e;
	--h-blue: #1660a8;
	--h-blue-2: #2f86d6;
	--h-sky: #5fb4ff;
	--h-ice: #dcefff;
	--h-muted: rgba(220, 239, 255, 0.64);
	--h-faint: rgba(220, 239, 255, 0.42);
	--h-line: rgba(220, 239, 255, 0.1);
	--h-light: #f4f7f9;
	--h-ink: #0b1729;
	--h-ink-2: #5b6b80;
	--h-border: #e3e9f0;
	--h-ease: cubic-bezier(0.22, 1, 0.36, 1);
	font-family: var(--jit-font-sans, "Inter", system-ui, sans-serif);
	color: var(--h-ink);
	overflow: clip;
}

.jit-hm *,
.jit-hm *::before,
.jit-hm *::after {
	box-sizing: border-box;
}

.jit-hm h2,
.jit-hm h3,
.jit-hm p,
.jit-hm figure {
	margin: 0;
}

.jit-hm ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jit-hm li {
	margin: 0;
}

.jit-hm section {
	position: relative;
}

.jit-hm__wrap {
	position: relative;
	width: 100%;
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
}

/* ---------- Shared type ---------- */
.jit-hm__label {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--h-blue);
}

.jit-hm__label span {
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, transparent, currentColor);
}

.jit-hm__label--center {
	display: flex;
	justify-content: center;
}

.jit-hm__h2 {
	font-family: inherit;
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: var(--h-ink);
}

.jit-hm__lead {
	margin-top: 20px !important;
	max-width: 520px;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.75;
	color: var(--h-ink-2);
}

.jit-hm__head {
	max-width: 760px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.jit-hm__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* ---------- Reveal ---------- */
/* Uses the independent `translate` property so hover `transform`s still work. */
html.js .jit-hm [data-reveal] {
	opacity: 0;
	translate: 0 36px;
	transition:
		opacity 1s ease var(--d, 0s),
		translate 1.2s var(--h-ease) var(--d, 0s),
		transform 0.6s var(--h-ease),
		box-shadow 0.6s var(--h-ease),
		border-color 0.4s ease,
		background-color 0.35s ease;
}

html.js .jit-hm [data-reveal].is-visible {
	opacity: 1;
	translate: none;
}

/* =========================================================
   SOLUTIONS — horizontal slider of "pocket" cards
   The track scrolls sideways (drag, swipe, wheel or arrows).
   Each card's photo rises out of its pocket as it nears the
   centre of the slider; JS drives --t (0.35 → 1).
   ========================================================= */
.jit-hm-sol {
	padding: clamp(80px, 9vw, 120px) 0 clamp(72px, 8vw, 104px);
	background:
		radial-gradient(ellipse 50% 35% at 50% 0%, rgba(47, 134, 214, 0.25), transparent 70%),
		var(--h-bg);
	color: var(--h-ice);
	overflow: clip;
}

.jit-sol__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(0px, 1vw, 12px);
}

.jit-sol__intro {
	max-width: 620px;
}

.jit-sol__head .jit-hm__label {
	color: var(--h-sky);
}

.jit-sol__title {
	margin: 0 0 14px !important;
	font-family: inherit;
	font-size: clamp(36px, 5.2vw, 72px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
	background: linear-gradient(100deg, #fff 30%, #a9d6ff 70%, var(--h-sky));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jit-sol__lead {
	margin: 0 !important;
	font-size: clamp(15px, 1.1vw, 16.5px);
	line-height: 1.7;
	color: var(--h-muted);
}

/* Counter + arrows */
.jit-sol__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.jit-sol__count {
	margin-right: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--h-muted);
	font-variant-numeric: tabular-nums;
}

.jit-sol__count b {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.jit-sol__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(169, 214, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.jit-sol__btn--prev svg {
	transform: rotate(180deg);
}

.jit-sol__btn:hover:not(:disabled) {
	background: var(--h-sky);
	border-color: var(--h-sky);
}

.jit-sol__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

/* Track */
.jit-sol__viewport {
	/* Full-bleed track; cards still align with the content column. */
	--bleed: max(30px, calc((100vw - 1170px) / 2));
	position: relative;
	margin: 0 calc(50% - 50vw);
}

.jit-sol__list {
	display: flex;
	gap: clamp(16px, 1.8vw, 24px);
	margin: 0 !important;
	padding: 34px var(--bleed) 6px;
	scroll-padding-inline: var(--bleed);
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
	outline: none;
}

.jit-sol__list::-webkit-scrollbar {
	display: none;
}

.jit-sol__list.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.jit-sol__list.is-dragging a {
	pointer-events: none;
}

.jit-sol__item {
	--t: 0.45;
	flex: 0 0 clamp(250px, 22vw, 300px);
	margin: 0 !important;
	scroll-snap-align: start;
	user-select: none;
}

/* Pocket */
.jit-sol__pocket {
	position: relative;
	display: block;
	height: 250px;
	perspective: 1000px;
	text-decoration: none;
	outline: none;
	-webkit-user-drag: none;
}

.jit-sol__back,
.jit-sol__front {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 12px;
}

.jit-sol__back {
	z-index: 1;
	height: 100px;
	background: var(--accent);
	filter: brightness(0.55) saturate(1.1);
	clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
}

.jit-sol__front {
	z-index: 3;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	height: 84px;
	padding: 0 24px 14px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 45%),
		var(--accent);
	clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition: filter 0.3s ease;
}

.jit-sol__pocket:hover .jit-sol__front,
.jit-sol__pocket:focus-visible .jit-sol__front {
	filter: brightness(1.12);
}

.jit-sol__front-num {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: rgba(255, 255, 255, 0.92);
	font-variant-numeric: tabular-nums;
}

.jit-sol__front-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.jit-sol__front-cta svg {
	transition: transform 0.35s var(--h-ease);
}

.jit-sol__pocket:hover .jit-sol__front-cta svg {
	transform: translateX(4px);
}

/* Slot clips the photo so it appears to slide out of the pocket */
.jit-sol__slot {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: -34px;
	bottom: 16px;
	overflow: hidden;
	pointer-events: none;
}

.jit-sol__card {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 80%;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	background: #0f2d5e;
	box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.75);
	transform-origin: 50% 100%;
	transform:
		translate3d(-50%, calc(40% - var(--t) * 69%), 0)
		rotateX(calc((1 - var(--t)) * 18deg))
		rotate(calc(var(--t) * -3deg))
		scale(calc(0.9 + var(--t) * 0.14));
	transition: transform 0.45s var(--h-ease);
	will-change: transform;
}

/* Hover / keyboard focus always lifts the photo all the way */
.jit-sol__item:hover .jit-sol__card,
.jit-sol__pocket:focus-visible .jit-sol__card {
	transform: translate3d(-50%, -29%, 0) rotate(-3deg) scale(1.04);
}

.jit-sol__card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

/* Text under the pocket */
.jit-sol__body {
	padding: 20px 6px 0;
	opacity: calc(0.5 + var(--t) * 0.5);
	transition: opacity 0.3s ease;
}

.jit-sol__item:hover .jit-sol__body {
	opacity: 1;
}

.jit-sol__name {
	margin: 0 0 8px !important;
	font-family: inherit;
	font-size: clamp(17px, 1.35vw, 20px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.jit-sol__name a {
	color: #fff;
	text-decoration: none;
	transition: color 0.25s ease;
}

.jit-sol__name a:hover {
	color: var(--h-sky);
}

.jit-sol__body p {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.6;
	color: var(--h-muted);
}

/* Progress bar */
.jit-sol__progress {
	position: relative;
	height: 2px;
	margin-top: clamp(32px, 4vw, 48px);
	background: rgba(169, 214, 255, 0.14);
	border-radius: 2px;
	overflow: hidden;
}

.jit-sol__progress span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	background: linear-gradient(90deg, var(--h-sky), #a9d6ff);
	transform-origin: 0 50%;
	transform: scaleX(var(--p, 0.25));
	transition: transform 0.2s linear;
}

/* Cards slide in one after another when the section appears */
html.js .jit-hm .jit-sol__viewport[data-reveal] .jit-sol__item {
	opacity: 0;
	translate: 60px 0;
	transition: opacity 0.7s ease, translate 0.9s var(--h-ease);
	transition-delay: calc(min(var(--i), 5) * 0.08s);
}

html.js .jit-hm .jit-sol__viewport[data-reveal].is-visible .jit-sol__item {
	opacity: 1;
	translate: none;
}

html.js .jit-hm .jit-sol__viewport[data-reveal] {
	translate: none;
	opacity: 1;
}

@media (max-width: 849px) {
	.jit-sol__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.jit-sol__nav {
		align-self: stretch;
		justify-content: flex-end;
	}

	.jit-sol__count {
		margin-right: auto;
	}

	.jit-sol__btn {
		width: 44px;
		height: 44px;
	}

	.jit-sol__item {
		flex-basis: min(76vw, 300px);
	}

	.jit-sol__viewport {
		--bleed: 20px;
	}

	.jit-sol__pocket {
		height: 230px;
	}
}

/* Pinned mode (desktop): the section stays on screen while the page
   scroll moves the track sideways. JS sets the section height. */
.jit-hm-sol.is-pinned {
	padding: 0;
}

.jit-hm-sol.is-pinned .jit-sol__pin {
	position: sticky;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	padding: 84px 0 28px;
}

.jit-hm-sol.is-pinned .jit-sol__list {
	overflow-x: hidden;
	scroll-snap-type: none;
	cursor: default;
}

/* Fade the track's outer edges while pinned, like a camera pan */
.jit-hm-sol.is-pinned .jit-sol__viewport {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--bleed) * 0.7), #000 calc(100% - var(--bleed) * 0.7), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--bleed) * 0.7), #000 calc(100% - var(--bleed) * 0.7), transparent 100%);
}

.jit-hm-sol.is-pinned .jit-sol__progress span {
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.jit-sol__item {
		--t: 1 !important;
	}

	.jit-sol__card {
		transition: none;
	}
}

/* =========================================================
   ECOSYSTEM — production line
   A current pulse travels along the line; each brand "station"
   lights up in its own accent colour as the pulse reaches it.
   ========================================================= */
.jit-hm-eco {
	padding: clamp(96px, 11vw, 150px) 0;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(95, 180, 255, 0.12), transparent 70%),
		linear-gradient(rgba(22, 96, 168, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(22, 96, 168, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
		var(--h-light);
}

.jit-hm-eco .jit-hm__lead {
	margin-left: auto;
	margin-right: auto;
}

.jit-line {
	--p: 0;
	position: relative;
}

/* Track between first and last station centres */
.jit-line__track {
	position: absolute;
	top: 14px;
	left: calc(50% / var(--n));
	right: calc(50% / var(--n));
	height: 2px;
	border-radius: 2px;
	background: #d6dfe9;
}

.jit-line__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: calc(var(--p) * 100%);
	border-radius: inherit;
	background: linear-gradient(90deg, var(--h-blue), var(--h-sky));
	box-shadow: 0 0 10px rgba(95, 180, 255, 0.7);
	transition: opacity 0.6s ease;
}

.jit-line__pulse {
	position: absolute;
	top: 50%;
	left: calc(var(--p) * 100%);
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.28), 0 0 18px var(--h-sky), 0 0 36px var(--h-blue);
	transition: opacity 0.6s ease;
}

.jit-line.is-resetting .jit-line__fill,
.jit-line.is-resetting .jit-line__pulse {
	opacity: 0;
}

.jit-line__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}

.jit-line__item {
	position: relative;
	display: flex;
	padding: 46px 10px 0;
}

/* Connector from station down to the card */
.jit-line__item::before {
	content: "";
	position: absolute;
	top: 25px;
	left: 50%;
	width: 1px;
	height: 21px;
	background: #d6dfe9;
	transition: background-color 0.5s ease;
}

.jit-line__station {
	position: absolute;
	top: 5px;
	left: 50%;
	width: 20px;
	height: 20px;
	margin-left: -10px;
	border-radius: 50%;
	border: 2px solid #cfd9e4;
	background: #fff;
	transition: border-color 0.5s ease, box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jit-line__station i {
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #cfd9e4;
	transition: background-color 0.5s ease;
}

.jit-line__card {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 22px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--h-border);
	overflow: hidden;
	transition: transform 0.7s var(--h-ease), box-shadow 0.7s var(--h-ease), border-color 0.5s ease;
}

.jit-line__card::after {
	/* soft accent glow when current */
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 90% 50% at 50% 0%, var(--accent), transparent 70%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}

.jit-line__bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.9s var(--h-ease);
}

.jit-line__step {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #8a98aa;
}

.jit-line__step span {
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.jit-line__logo {
	display: flex;
	align-items: center;
	height: 64px;
	margin: 6px 0 4px;
}

.jit-line__logo img {
	display: block;
	max-width: 100%;
	max-height: 52px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.55;
	transition: filter 0.8s ease, opacity 0.8s ease, transform 0.8s var(--h-ease);
}

.jit-line__card h3 {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--h-ink);
}

.jit-line__desc {
	flex: 1;
	font-size: 14px;
	line-height: 1.65;
	color: var(--h-ink-2);
}

.jit-line__link,
.jit-line__soon {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--h-blue);
	text-decoration: none;
}

.jit-line__link {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.jit-line__link svg {
	flex: 0 0 auto;
	transition: transform 0.35s var(--h-ease);
}

.jit-line__link:hover {
	color: var(--accent);
}

.jit-line__link:hover svg {
	transform: translateX(4px);
}

.jit-line__soon {
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #8a98aa;
	background: var(--h-light);
}

/* Lit: the pulse has reached this station */
.jit-line__item.is-lit::before {
	background: var(--accent);
}

.jit-line__item.is-lit .jit-line__station {
	border-color: var(--accent);
	box-shadow: 0 0 0 5px rgba(22, 96, 168, 0.1);
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 16px color-mix(in srgb, var(--accent) 45%, transparent);
}

.jit-line__item.is-lit .jit-line__station i {
	background: var(--accent);
}

.jit-line__item.is-lit .jit-line__bar {
	transform: scaleX(1);
}

.jit-line__item.is-lit .jit-line__logo img {
	filter: none;
	opacity: 1;
}

/* Current: most recently reached (or hovered) station */
.jit-line__item.is-current .jit-line__station {
	transform: scale(1.25);
}

.jit-line__item.is-current .jit-line__card {
	transform: translateY(-8px);
	border-color: color-mix(in srgb, var(--accent) 35%, #e3e9f0);
	box-shadow: 0 30px 50px -28px rgba(11, 23, 41, 0.4);
	box-shadow: 0 30px 50px -26px color-mix(in srgb, var(--accent) 50%, transparent);
}

.jit-line__item.is-current .jit-line__card::after {
	opacity: 0.08;
}

.jit-line__item.is-current .jit-line__logo img {
	transform: scale(1.04);
}

/* =========================================================
   CLIENTS marquee
   ========================================================= */
.jit-hm-clients {
	padding: clamp(64px, 8vw, 100px) 0;
	background: #fff;
	border-bottom: 1px solid var(--h-border);
}

.jit-hm-clients .jit-hm__label {
	margin-bottom: 36px;
}

.jit-hm-marquee {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.jit-hm-marquee__row {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	animation: jit-hm-marquee 34s linear infinite;
}

.jit-hm-marquee:hover .jit-hm-marquee__row {
	animation-play-state: paused;
}

.jit-hm-marquee__row li {
	display: flex;
	align-items: center;
	gap: 56px;
	padding-right: 56px;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #a7b4c4;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.jit-hm-marquee__row li::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--h-sky);
	box-shadow: 0 0 10px var(--h-sky);
}

.jit-hm-marquee__row li:hover {
	color: var(--h-blue);
}

@keyframes jit-hm-marquee {
	to { transform: translateX(-100%); }
}

/* =========================================================
   PARTNERS — tabbed category showcase
   ========================================================= */
.jit-hm-partners {
	padding: clamp(96px, 11vw, 150px) 0;
	background: #fff;
}

.jit-pt {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 5vw, 72px);
	align-items: center;
}

.jit-pt__stats {
	display: flex;
	gap: 48px;
	margin: 32px 0 8px !important;
	padding: 22px 0 !important;
	border-top: 1px solid var(--h-border);
}

.jit-pt__stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.jit-pt__stats strong {
	font-size: clamp(34px, 3.2vw, 44px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--h-ink);
	font-variant-numeric: tabular-nums;
}

.jit-pt__stats span {
	font-size: 13px;
	color: var(--h-ink-2);
}

.jit-pt__tabs {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--h-border);
}

.jit-hm .jit-pt__tab {
	position: relative;
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 18px 4px;
	border: 0;
	border-bottom: 1px solid var(--h-border);
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: var(--h-ink-2);
	cursor: pointer;
}

.jit-pt__num {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #9aa8b9;
	font-variant-numeric: tabular-nums;
	transition: color 0.4s ease;
}

.jit-pt__name {
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 600;
	color: #8391a3;
	transition: color 0.4s ease, transform 0.5s var(--h-ease);
}

.jit-pt__count {
	font-size: 13px;
	color: #9aa8b9;
}

.jit-pt__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}

.jit-pt__progress i {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--h-blue), var(--h-sky));
	transform: scaleX(0);
	transform-origin: left;
}

.jit-pt__tab:hover .jit-pt__name {
	color: var(--h-ink);
}

.jit-pt__tab.is-active .jit-pt__num {
	color: var(--h-blue);
}

.jit-pt__tab.is-active .jit-pt__name {
	color: var(--h-ink);
	transform: translateX(6px);
}

.jit-pt__tab.is-active .jit-pt__progress i {
	transform: scaleX(1);
}

.jit-pt__tab.is-active.is-timing .jit-pt__progress i {
	animation: jit-hm-timer var(--cycle, 5s) linear forwards;
}

.jit-pt:hover .jit-pt__tab.is-timing .jit-pt__progress i {
	animation-play-state: paused;
}

@keyframes jit-hm-timer {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* Stage */
.jit-pt__stage {
	position: relative;
	display: grid;
	min-height: 360px;
	padding: clamp(32px, 4vw, 56px);
	border-radius: 28px;
	border: 1px solid var(--h-border);
	background:
		radial-gradient(circle at 100% 0%, rgba(95, 180, 255, 0.12), transparent 45%),
		radial-gradient(circle at 0% 100%, rgba(22, 96, 168, 0.08), transparent 45%),
		radial-gradient(circle, rgba(22, 96, 168, 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
		#fff;
	box-shadow: 0 40px 80px -48px rgba(11, 23, 41, 0.35);
	overflow: hidden;
}

.jit-pt__corner {
	position: absolute;
	width: 28px;
	height: 28px;
	border: 2px solid var(--h-blue);
	opacity: 0.5;
}

.jit-pt__corner--tl {
	top: 18px;
	left: 18px;
	border-right: 0;
	border-bottom: 0;
	border-top-left-radius: 8px;
}

.jit-pt__corner--br {
	right: 18px;
	bottom: 18px;
	border-left: 0;
	border-top: 0;
	border-bottom-right-radius: 8px;
}

.jit-pt__panel {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 22px;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 16px, 0);
	transition: opacity 0.45s ease, transform 0.6s var(--h-ease), visibility 0s linear 0.45s;
}

.jit-pt__panel.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.6s ease 0.12s, transform 0.8s var(--h-ease) 0.12s, visibility 0s;
}

.jit-pt__panel-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--h-blue);
}

.jit-pt__panel-title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--h-border), transparent);
}

.jit-pt__logos {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.jit-pt__logos img {
	position: absolute;
	top: var(--iy);
	left: var(--ix);
	width: var(--iw);
	max-width: none;
	height: auto;
	filter: blur(6px);
	transform: scale(0.97);
	transition: filter 0.8s ease 0.15s, transform 1s var(--h-ease) 0.15s;
}

.jit-pt__panel.is-active .jit-pt__logos img {
	filter: none;
	transform: none;
}

/* =========================================================
   BLOG — featured article + list
   ========================================================= */
.jit-hm-blog {
	padding: clamp(96px, 11vw, 150px) 0;
	background: var(--h-light);
}

.jit-hm-blog__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.jit-hm-blog__all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid #cdd7e3;
	font-size: 14px;
	font-weight: 600;
	color: var(--h-ink);
	text-decoration: none;
	transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.6s var(--h-ease), opacity 1s ease var(--d, 0s);
}

.jit-hm-blog__all svg {
	transition: transform 0.35s var(--h-ease);
}

.jit-hm-blog__all:hover {
	color: #fff;
	background: var(--h-blue);
	border-color: var(--h-blue);
}

.jit-hm-blog__all:hover svg {
	transform: translateX(4px);
}

.jit-hm-blog__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.jit-hm-blog__list {
	display: flex;
	flex-direction: column;
}

/* Post card */
.jit-post {
	position: relative;
}

.jit-post__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #dfe6ee;
}

.jit-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--h-ease);
}

/* Media reveal: wipe up + settle (runs with the card's data-reveal) */
html.js .jit-hm .jit-post .jit-post__media {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) calc(var(--d, 0s) + 0.1s);
}

html.js .jit-hm .jit-post .jit-post__media img {
	transform: scale(1.18);
}

html.js .jit-hm .jit-post.is-visible .jit-post__media {
	clip-path: inset(0 0 0 0);
}

html.js .jit-hm .jit-post.is-visible .jit-post__media img {
	transform: none;
}

.jit-hm .jit-post.is-visible:hover .jit-post__media img {
	transform: scale(1.05);
	transition-duration: 0.9s;
}

.jit-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 12.5px;
	color: #8391a3;
}

.jit-post__meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 10px 3px;
	border-radius: 50%;
	background: #b5c0cd;
	vertical-align: middle;
}

.jit-post__tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-blue);
}

.jit-post__title {
	margin: 10px 0 0 !important;
	font-family: inherit;
	color: var(--h-ink);
}

.jit-post__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.5s var(--h-ease), color 0.3s ease;
}

.jit-post:hover .jit-post__title a {
	color: var(--h-blue);
	background-size: 100% 1px;
}

/* Featured */
.jit-post--feature {
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--h-border);
	overflow: hidden;
	box-shadow: 0 30px 60px -44px rgba(11, 23, 41, 0.45);
}

.jit-post--feature .jit-post__media {
	aspect-ratio: 16 / 10;
}

.jit-post__cat {
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-ink);
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.jit-post--feature .jit-post__body {
	padding: clamp(24px, 3vw, 36px);
}

.jit-post--feature .jit-post__title {
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.jit-post__excerpt {
	margin-top: 14px !important;
	font-size: 15px;
	line-height: 1.7;
	color: var(--h-ink-2);
}

.jit-post__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	font-size: 14px;
	font-weight: 600;
	color: var(--h-blue);
	text-decoration: none;
}

.jit-post__more svg {
	transition: transform 0.35s var(--h-ease);
}

.jit-post__more:hover svg {
	transform: translateX(4px);
}

/* List rows */
.jit-post--row {
	display: grid;
	grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid #dbe3ec;
}

.jit-post--row:first-child {
	padding-top: 0;
}

.jit-post--row .jit-post__media {
	aspect-ratio: 4 / 3;
	border-radius: 16px;
}

.jit-post--row .jit-post__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

/* =========================================================
   CTA
   ========================================================= */
.jit-hm-cta {
	padding: clamp(110px, 13vw, 170px) 0;
	background:
		radial-gradient(ellipse 50% 60% at 50% 50%, rgba(22, 96, 168, 0.25), transparent 70%),
		#0a1f45;
	color: var(--h-ice);
	text-align: center;
	overflow: hidden;
}

.jit-hm-cta__field {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
}

.jit-hm-cta__inner {
	z-index: 1;
	max-width: 780px;
}

.jit-hm-cta .jit-hm__h2 {
	margin-bottom: 20px;
	color: #fff;
}

.jit-hm-cta p {
	margin-bottom: 38px;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.7;
	color: var(--h-muted);
}

.jit-hm-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.jit-hm-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.35s var(--h-ease), box-shadow 0.35s var(--h-ease), border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

.jit-hm-btn svg {
	transition: transform 0.35s var(--h-ease);
}

.jit-hm-btn:hover svg {
	transform: translateX(4px);
}

.jit-hm-btn--primary {
	color: #fff;
	background: linear-gradient(120deg, var(--h-blue) 0%, var(--h-blue-2) 100%);
	box-shadow: 0 10px 30px -10px rgba(47, 134, 214, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.jit-hm-btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -12px rgba(47, 134, 214, 0.9);
}

.jit-hm-btn--ghost {
	color: var(--h-ice);
	border: 1px solid rgba(220, 239, 255, 0.28);
}

.jit-hm-btn--ghost:hover {
	color: #fff;
	border-color: rgba(220, 239, 255, 0.6);
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-2px);
}

/* =========================================================
   DARK THEME — every home section on the same deep navy.
   Light-section tokens are re-pointed to dark values here, and
   logos sit on small white plates so dark artwork stays legible.
   ========================================================= */
.jit-hm-eco,
.jit-hm-clients,
.jit-hm-partners,
.jit-hm-blog {
	--h-ink: #ffffff;
	--h-ink-2: rgba(220, 239, 255, 0.62);
	--h-border: rgba(220, 239, 255, 0.1);
	--h-panel: rgba(255, 255, 255, 0.035);
	color: var(--h-ice);
	border-top: 1px solid rgba(220, 239, 255, 0.06);
}

.jit-hm-eco .jit-hm__label,
.jit-hm-clients .jit-hm__label,
.jit-hm-partners .jit-hm__label,
.jit-hm-blog .jit-hm__label {
	color: var(--h-sky);
}

/* Section backgrounds (alternate two navies) */
.jit-hm-eco {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(22, 96, 168, 0.22), transparent 70%),
		linear-gradient(rgba(95, 180, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(95, 180, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
		var(--h-bg-2);
}

.jit-hm-clients {
	background: var(--h-bg);
	border-bottom: 1px solid rgba(220, 239, 255, 0.06);
}

.jit-hm-partners {
	background:
		radial-gradient(ellipse 45% 60% at 80% 50%, rgba(22, 96, 168, 0.18), transparent 70%),
		var(--h-bg-2);
}

.jit-hm-blog {
	background:
		radial-gradient(ellipse 50% 40% at 20% 0%, rgba(22, 96, 168, 0.16), transparent 70%),
		var(--h-bg);
}

/* --- Ecosystem production line --- */
.jit-line__track,
.jit-line__item::before {
	background: rgba(220, 239, 255, 0.12);
}

.jit-line__station {
	border-color: rgba(220, 239, 255, 0.25);
	background: var(--h-bg-2);
}

.jit-line__station i {
	background: rgba(220, 239, 255, 0.25);
}

.jit-line__card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border-color: var(--h-border);
}

.jit-line__step {
	color: rgba(220, 239, 255, 0.45);
}

.jit-line__logo {
	justify-content: center;
	height: 76px;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
}

.jit-line__logo img {
	max-height: 48px;
}

.jit-line__link {
	color: var(--h-sky);
}

.jit-line__soon {
	color: rgba(220, 239, 255, 0.55);
	background: rgba(255, 255, 255, 0.06);
}

.jit-line__item.is-current .jit-line__card {
	border-color: color-mix(in srgb, var(--accent) 55%, transparent);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 40px -10px color-mix(in srgb, var(--accent) 45%, transparent);
}

.jit-line__item.is-current .jit-line__card::after {
	opacity: 0.16;
}

/* --- Clients marquee --- */
.jit-hm-marquee__row li {
	color: rgba(220, 239, 255, 0.28);
}

.jit-hm-marquee__row li:hover {
	color: #fff;
}

/* --- Partners --- */
.jit-pt__name {
	color: rgba(220, 239, 255, 0.45);
}

.jit-pt__num,
.jit-pt__count {
	color: rgba(220, 239, 255, 0.35);
}

.jit-pt__tab.is-active .jit-pt__num {
	color: var(--h-sky);
}

.jit-pt__stage {
	border-color: var(--h-border);
	background:
		radial-gradient(circle at 100% 0%, rgba(95, 180, 255, 0.16), transparent 45%),
		radial-gradient(circle, rgba(95, 180, 255, 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	box-shadow: 0 50px 100px -50px rgba(22, 96, 168, 0.55);
}

.jit-pt__corner {
	border-color: var(--h-sky);
	opacity: 0.6;
}

.jit-pt__panel-title {
	color: var(--h-sky);
}

.jit-pt__panel-title::after {
	background: linear-gradient(90deg, rgba(220, 239, 255, 0.15), transparent);
}

/* White plate around the logo strip (box-shadow acts as padding, keeps the crop maths intact) */
.jit-pt__logos {
	margin: 18px 0;
	width: calc(100% - 36px);
	align-self: center;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 0 0 18px #fff, 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* --- Blog --- */
.jit-hm-blog__all {
	border-color: rgba(220, 239, 255, 0.25);
	color: #fff;
}

.jit-post__media {
	background: rgba(255, 255, 255, 0.05);
}

.jit-post--feature {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border-color: var(--h-border);
	box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.8);
}

.jit-post__cat {
	color: #fff;
	background: rgba(12, 37, 80, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.jit-post__meta {
	color: rgba(220, 239, 255, 0.45);
}

.jit-post__meta > * + *::before {
	background: rgba(220, 239, 255, 0.3);
}

.jit-post__tag,
.jit-post__more,
.jit-post:hover .jit-post__title a {
	color: var(--h-sky);
}

.jit-post--row {
	border-bottom-color: var(--h-border);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
	.jit-hm-net__head,
	.jit-hm-net__body,
	.jit-pt,
	.jit-hm-blog__grid {
		grid-template-columns: 1fr;
	}

	.jit-hm-net__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 12px;
	}

	/* Production line becomes a vertical rail */
	.jit-line__track {
		top: 40px;
		bottom: 40px;
		left: 9px;
		right: auto;
		width: 2px;
		height: auto;
	}

	.jit-line__fill {
		width: 100%;
		height: calc(var(--p) * 100%);
		background: linear-gradient(180deg, var(--h-blue), var(--h-sky));
	}

	.jit-line__pulse {
		top: calc(var(--p) * 100%);
		left: 50%;
	}

	.jit-line__list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.jit-line__item {
		padding: 0 0 0 44px;
	}

	.jit-line__item::before {
		top: 40px;
		left: 20px;
		width: 24px;
		height: 1px;
	}

	.jit-line__station {
		top: 30px;
		left: 10px;
	}

	.jit-line__item.is-current .jit-line__card {
		transform: translateX(6px);
	}
}

@media (max-width: 849px) {
	.jit-hm__wrap {
		padding: 0 20px;
	}

	.jit-net {
		border-radius: 16px;
		margin: 0 -8px;
	}

	.jit-net__name {
		font-size: 24px;
	}

	.jit-net__role,
	.jit-net__ocean {
		display: none;
	}

	/* Partners: tabs become a scrollable pill row above the stage */
	.jit-pt__tabs {
		flex-direction: row;
		gap: 8px;
		margin: 0 -20px;
		padding: 4px 20px 8px;
		border-top: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.jit-pt__tabs::-webkit-scrollbar {
		display: none;
	}

	.jit-hm .jit-pt__tab {
		flex: 0 0 auto;
		display: inline-flex;
		width: auto;
		padding: 10px 18px;
		border: 1px solid var(--h-border);
		border-radius: 999px;
		overflow: hidden;
	}

	.jit-pt__num,
	.jit-pt__count {
		display: none;
	}

	.jit-pt__name {
		font-size: 14px;
	}

	.jit-pt__tab.is-active {
		border-color: var(--h-blue) !important;
		background: rgba(22, 96, 168, 0.06) !important;
	}

	.jit-pt__tab.is-active .jit-pt__name {
		transform: none;
	}

	.jit-pt__stage {
		min-height: 0;
		border-radius: 20px;
	}

	/* Blog: smaller list thumbnails */
	.jit-post--row {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 16px;
		padding: 18px 0;
	}

	.jit-post--row .jit-post__media {
		border-radius: 12px;
	}

	.jit-post--row .jit-post__title {
		font-size: 15.5px;
	}
}

@media (max-width: 549px) {
	.jit-hm-net__list {
		grid-template-columns: 1fr;
	}

	.jit-hm-net__stats {
		gap: 24px;
	}

	.jit-line__card {
		padding: 22px 20px 20px;
	}

	.jit-line__logo {
		height: 52px;
	}

	.jit-pt__stats {
		gap: 32px;
	}

	.jit-hm-blog__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.jit-post--row .jit-post__meta span:last-child {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-hm *,
	.jit-hm *::before,
	.jit-hm *::after {
		animation: none !important;
		transition-duration: 0.01s !important;
		transition-delay: 0s !important;
	}

	html.js .jit-hm [data-reveal] {
		opacity: 1;
		translate: none;
	}

	.jit-line__pulse {
		display: none;
	}
}


/* =========================================================
   SMT LINES — the line powers on from left to right, a board
   travels the conveyor and a light sweep follows it.
   ========================================================= */
.jit-hm-lines {
	--h-ink: #ffffff;
	--h-ink-2: rgba(220, 239, 255, 0.62);
	position: relative;
	padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 80px);
	color: var(--h-ice);
	background:
		radial-gradient(ellipse 60% 55% at 50% 62%, rgba(47, 134, 214, 0.22), transparent 70%),
		var(--h-bg);
	border-top: 1px solid rgba(220, 239, 255, 0.06);
	border-bottom: 1px solid rgba(220, 239, 255, 0.06);
	overflow: clip;
}

.jit-hm-lines .jit-hm__label {
	color: var(--h-sky);
}

.jit-ln__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: end;
	gap: 24px 60px;
	margin-bottom: clamp(20px, 3vw, 36px);
}

.jit-ln__head .jit-hm__h2 {
	max-width: 620px;
}

.jit-ln__side .jit-hm__lead {
	margin-top: 0 !important;
}

/* Tabs (shown when there is more than one line) */
.jit-ln__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.jit-ln__tab {
	margin: 0;
	padding: 8px 16px;
	min-height: 0;
	border: 1px solid rgba(220, 239, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--h-ice);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.jit-ln__tab:hover {
	border-color: rgba(95, 180, 255, 0.6);
}

.jit-ln__tab.is-active {
	background: var(--h-sky);
	border-color: var(--h-sky);
	color: #0b1729;
}

/* Stage */
.jit-ln__viewport {
	padding: 0 clamp(12px, 3vw, 40px);
}

.jit-ln__stage {
	position: relative;
	display: grid;
	align-items: center;
	max-width: 1380px;
	margin: 0 auto;
}

html.js .jit-hm .jit-ln__stage[data-reveal] {
	opacity: 1;
	translate: none;
}

.jit-ln__floor {
	position: absolute;
	left: 4%;
	right: 4%;
	top: 46%;
	height: 56%;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(95, 180, 255, 0.28), transparent 70%);
	filter: blur(18px);
	pointer-events: none;
}

.jit-ln__line {
	position: relative;
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.jit-ln__line.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease, visibility 0s;
}

.jit-ln__machines {
	position: relative;
	z-index: 2;
	width: 100%;
	/* Power-on: revealed from left to right */
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.jit-ln__stage.is-visible .jit-ln__line.is-active .jit-ln__machines {
	clip-path: inset(0 0 0 0);
}

.jit-ln__img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

/* Light sweep: a brightened copy of the line shows only inside a moving band */
.jit-ln__glow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	filter: brightness(1.45) saturate(1.1);
	-webkit-mask-image: linear-gradient(100deg, transparent 0 44%, #000 50%, transparent 56% 100%);
	mask-image: linear-gradient(100deg, transparent 0 44%, #000 50%, transparent 56% 100%);
	-webkit-mask-size: 300% 100%;
	mask-size: 300% 100%;
	-webkit-mask-position: 100% 0;
	mask-position: 100% 0;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	opacity: 0;
	pointer-events: none;
	animation: jitLnSweep 9s linear 2.2s infinite;
	animation-play-state: paused;
}

.jit-ln__stage.is-visible .jit-ln__line.is-active .jit-ln__glow {
	opacity: 1;
	animation-play-state: running;
}

@keyframes jitLnSweep {
	from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	to { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

/* Floor reflection */
.jit-ln__reflect {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: 99%;
	height: 60%;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center bottom;
	transform: scaleY(-1); /* flipped in place: stays below the line */
	opacity: 0;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
	transition: opacity 1.2s ease 1.6s;
	pointer-events: none;
}

.jit-ln__stage.is-visible .jit-ln__reflect {
	opacity: 0.5;
}

/* Conveyor rail with a travelling board */
.jit-ln__rail {
	position: absolute;
	z-index: 3;
	left: 1.5%;
	right: 1.5%;
	top: var(--rail, 60%);
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, rgba(95, 180, 255, 0.55) 6%, rgba(95, 180, 255, 0.55) 94%, transparent);
	box-shadow: 0 0 12px rgba(95, 180, 255, 0.6);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
	pointer-events: none;
}

.jit-ln__stage.is-visible .jit-ln__line.is-active .jit-ln__rail {
	transform: scaleX(1);
}

.jit-ln__pcb {
	position: absolute;
	top: 50%;
	left: 0;
	width: 34px;
	height: 8px;
	margin-top: -4px;
	border-radius: 2px;
	background: linear-gradient(90deg, #3fd0c2, #5fb4ff);
	box-shadow: 0 0 10px #5fb4ff, 0 0 26px rgba(95, 180, 255, 0.8), -40px 0 30px -6px rgba(95, 180, 255, 0.55);
	opacity: 0;
	animation: jitLnPcb 9s cubic-bezier(0.45, 0, 0.55, 1) 2.2s infinite;
	animation-play-state: paused;
}

.jit-ln__stage.is-visible .jit-ln__line.is-active .jit-ln__pcb {
	animation-play-state: running;
}

/* The board pauses briefly at a few stations as it travels */
@keyframes jitLnPcb {
	0% { left: 0; opacity: 0; }
	4% { opacity: 1; }
	16%, 20% { left: 22%; }
	38%, 44% { left: 41%; }
	58%, 62% { left: 58%; }
	80%, 84% { left: 83%; }
	96% { opacity: 1; }
	100% { left: calc(100% - 34px); opacity: 0; }
}

.jit-ln__foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	margin-top: clamp(28px, 4vw, 48px);
}

.jit-ln__hint {
	display: none;
	margin-right: auto;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--h-ink-2);
}

@media (max-width: 849px) {
	.jit-ln__head {
		grid-template-columns: 1fr;
	}

	/* The line keeps a readable size and scrolls sideways */
	.jit-ln__viewport {
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 36px;
	}

	.jit-ln__viewport::-webkit-scrollbar {
		display: none;
	}

	.jit-ln__stage {
		width: 980px;
		max-width: none;
	}

	.jit-ln__foot {
		margin-top: 0;
		justify-content: space-between;
	}

	.jit-ln__hint {
		display: inline;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-ln__machines {
		clip-path: none;
		transition: none;
	}

	.jit-ln__rail {
		transform: none;
	}

	.jit-ln__pcb {
		animation: none;
	}

	.jit-ln__glow {
		display: none;
	}
}

/* =========================================================
   Tighter vertical rhythm on the home page
   ========================================================= */
.jit-hm-sol {
	padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 80px);
}

.jit-hm-eco,
.jit-hm-partners,
.jit-hm-blog {
	padding-top: clamp(64px, 7vw, 100px) !important;
	padding-bottom: clamp(64px, 7vw, 100px) !important;
}

.jit-hm-cta {
	padding-top: clamp(80px, 9vw, 120px) !important;
	padding-bottom: clamp(80px, 9vw, 120px) !important;
}

.jit-hm__head {
	margin-bottom: clamp(28px, 3.5vw, 48px);
}

/* Reflection dropped: the baked-in station labels made it look busy */
.jit-ln__reflect {
	display: none;
}

/* Tabs sit under the lead; on wide screens they read as a segmented control */
.jit-ln__tabs {
	padding: 4px;
	border: 1px solid rgba(220, 239, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	width: fit-content;
	gap: 4px;
}

.jit-ln__tab {
	border-color: transparent;
	background: transparent;
}

@media (max-width: 849px) {
	.jit-ln__tabs {
		flex-wrap: nowrap;
		width: auto;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
		border-radius: 16px;
	}

	.jit-ln__tab {
		flex-shrink: 0;
	}
}

/* Tabs: one row under the heading */
.jit-ln__tabs {
	margin: 0 0 clamp(18px, 2.5vw, 28px);
}
