/**
 * Home hero: [jit_hero]
 * Matches the preloader palette (deep navy, hairlines, sky accents).
 */

.jit-hero {
	--h-bg: #0c2550;
	--h-sky: #5fb4ff;
	--h-ice: #dcefff;
	--h-muted: rgba(220, 239, 255, 0.68);
	--h-line: rgba(220, 239, 255, 0.12);
	--h-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(640px, calc(100vh - 90px), 860px);
	min-height: clamp(640px, calc(100svh - 90px), 860px);
	display: flex;
	background: var(--h-bg);
	color: var(--h-ice);
	font-family: var(--jit-font-sans, "Inter", system-ui, sans-serif);
}

/* ---------- Background ---------- */
.jit-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.jit-hero__bg {
	position: absolute;
	inset: -24px;
	background-size: cover;
	background-position: 70% center;
	background-repeat: no-repeat;
	transform: scale(1.08) translate3d(var(--px, 0), var(--py, 0), 0);
	transition: transform 2.8s var(--h-ease);
	will-change: transform;
}

.jit-hero.is-in .jit-hero__bg {
	transform: scale(1) translate3d(var(--px, 0), var(--py, 0), 0);
}

.jit-hero.is-in.is-parallax .jit-hero__bg {
	transition-duration: 1.2s;
}

.jit-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 37, 80, 0.96) 0%, rgba(12, 37, 80, 0.82) 30%, rgba(12, 37, 80, 0.25) 58%, rgba(12, 37, 80, 0) 75%),
		linear-gradient(0deg, rgba(12, 37, 80, 0.92) 0%, rgba(12, 37, 80, 0) 34%),
		linear-gradient(180deg, rgba(12, 37, 80, 0.55) 0%, rgba(12, 37, 80, 0) 18%);
}

/* Faint engineering grid, fades out toward the map */
.jit-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--h-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--h-line) 1px, transparent 1px);
	background-size: 72px 72px;
	opacity: 0.35;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 45%, #000 0%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 15% 45%, #000 0%, transparent 75%);
}

/* ---------- Layout ---------- */
.jit-hero__inner {
	width: 100%;
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.jit-hero__content {
	max-width: 760px;
	padding: clamp(64px, 11vh, 120px) 0 48px;
	margin-top: auto;
	margin-bottom: auto;
}

/* ---------- Typography ---------- */
.jit-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--h-sky);
}

.jit-hero__eyebrow span {
	display: block;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--h-sky));
}

.jit-hero__title {
	margin: 0 0 26px;
	padding: 0;
	font-family: inherit;
	color: #fff;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.jit-hero__line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em; /* keep descenders inside the mask */
}

.jit-hero__pre,
.jit-hero__name {
	display: block;
}

.jit-hero__pre {
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--h-muted);
	margin-bottom: 6px;
}

.jit-hero__name {
	font-size: clamp(38px, 5.2vw, 74px);
	font-weight: 700;
	white-space: nowrap;
	background: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, #a9d6ff 70%, var(--h-sky) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jit-hero__text {
	max-width: 540px;
	margin: 0 0 38px;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.75;
	color: var(--h-muted);
}

/* ---------- Buttons ---------- */
.jit-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.jit-hero__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	padding: 0 26px 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), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

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

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

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

.jit-hero__btn--primary::after {
	/* light sweep on hover */
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 50%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s var(--h-ease);
}

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

.jit-hero__btn--primary:hover::after {
	left: 120%;
}

.jit-hero__btn--ghost {
	color: var(--h-ice);
	border: 1px solid rgba(220, 239, 255, 0.28);
	background: rgba(255, 255, 255, 0.03);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

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

/* ---------- Feature strip ---------- */
.jit-hero__features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--h-line);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.jit-hero__feature {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 22px 24px 24px;
}

.jit-hero__feature + .jit-hero__feature::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	bottom: 22px;
	width: 1px;
	background: var(--h-line);
}

.jit-hero__num {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--h-sky);
	font-variant-numeric: tabular-nums;
}

.jit-hero__feature strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.jit-hero__desc {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(220, 239, 255, 0.55);
}

/* Stats variant: big counting values */
.jit-hero__features--stats .jit-hero__feature {
	gap: 8px;
	padding: 24px 26px 26px;
}

.jit-hero__stat {
	font-size: clamp(32px, 3.2vw, 46px) !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(100deg, #ffffff 30%, #a9d6ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* =========================================================
   Motion background (no image): glows, rings, perspective floor
   ========================================================= */
.jit-hero--motion {
	background:
		radial-gradient(ellipse 60% 70% at 92% 100%, rgba(47, 134, 214, 0.38), transparent 70%),
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(22, 66, 126, 0.9) 0%, transparent 70%),
		linear-gradient(135deg, #0b234b 0%, #0e3166 55%, #114283 100%);
}

.jit-hero__glow {
	position: absolute;
	width: 60vmax;
	height: 60vmax;
	border-radius: 50%;
	filter: blur(90px);
	pointer-events: none;
}

.jit-hero__glow--a {
	top: -30vmax;
	left: -15vmax;
	background: radial-gradient(circle, rgba(22, 96, 168, 0.5), transparent 65%);
	animation: jit-hero-drift 14s ease-in-out infinite alternate;
}

.jit-hero__glow--b {
	right: -20vmax;
	bottom: -32vmax;
	background: radial-gradient(circle, rgba(95, 180, 255, 0.28), transparent 65%);
	animation: jit-hero-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes jit-hero-drift {
	to { transform: translate3d(10vmax, 6vmax, 0) scale(1.15); }
}

.jit-hero__rings {
	position: absolute;
	left: 50%;
	top: 44%;
	width: min(1100px, 130vw);
	height: auto;
	transform: translate(-50%, -50%) scale(0.92);
	opacity: 0;
	transition: opacity 2s ease, transform 2.4s var(--h-ease);
}

.jit-hero.is-in .jit-hero__rings {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.jit-hero__rings circle {
	fill: none;
	stroke: rgba(220, 239, 255, 0.07);
	stroke-width: 1;
}

.jit-hero__rings .r2 {
	stroke-dasharray: 2 10;
	stroke: rgba(220, 239, 255, 0.14);
}

.jit-hero__rings .r4,
.jit-hero__rings .r5 {
	transform-origin: 500px 500px;
}

.jit-hero__rings .r4 {
	animation: jit-hero-spin 26s linear infinite;
}

.jit-hero__rings .r5 {
	animation: jit-hero-spin 18s linear infinite reverse;
}

.jit-hero__rings .r4 circle,
.jit-hero__rings .r5 circle {
	stroke: rgba(95, 180, 255, 0.6);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-dasharray: 260 2600;
	filter: drop-shadow(0 0 6px rgba(95, 180, 255, 0.8));
}

.jit-hero__rings .r5 circle {
	stroke: rgba(220, 239, 255, 0.45);
	stroke-dasharray: 140 2000;
}

@keyframes jit-hero-spin {
	to { transform: rotate(360deg); }
}

/* Perspective "production floor" grid moving toward the horizon */
.jit-hero__floor {
	position: absolute;
	left: -50%;
	right: -50%;
	bottom: 0;
	height: 46%;
	perspective: 420px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}

.jit-hero__floor span {
	position: absolute;
	inset: 0 0 -60% 0;
	transform: rotateX(68deg);
	transform-origin: 50% 0;
	background-image:
		linear-gradient(rgba(95, 180, 255, 0.22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 180, 255, 0.22) 1px, transparent 1px);
	background-size: 64px 64px;
	animation: jit-hero-floor 3s linear infinite;
}

@keyframes jit-hero-floor {
	to { background-position: 0 64px; }
}

.jit-hero__vignette {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, transparent 40%, rgba(12, 37, 80, 0.7) 100%),
		linear-gradient(0deg, var(--h-bg) 0%, transparent 18%);
	pointer-events: none;
}

/* =========================================================
   World map variant: dots fade in after the headline, then
   JIT locations light up one by one (hub first).
   ========================================================= */
.jit-hero--map {
	--map-start: 1.1s;   /* map fades in after the text */
	--node-start: 2s;    /* first location */
	--node-step: 0.32s;  /* gap between locations */
}

.jit-hero__map {
	position: absolute;
	left: 0;
	right: 0;
	top: 47%;
	width: 100%;
	aspect-ratio: 1000 / 369.44;
	transform: translateY(-50%);
}

.jit-hero__dots {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 2s ease var(--map-start), transform 3s var(--h-ease) var(--map-start);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.jit-hero.is-in .jit-hero__dots {
	opacity: 0.42;
	transform: none;
}

.jit-hero__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.jit-hero__arc,
.jit-hero__flow,
.jit-hero__lead {
	fill: none;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
}

.jit-hero__arc {
	stroke: rgba(95, 180, 255, 0.45);
	stroke-width: 1;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.3s var(--h-ease) calc(var(--node-start) + var(--i) * var(--node-step) + 0.1s);
}

.jit-hero__flow {
	stroke: #fff;
	stroke-width: 2;
	stroke-dasharray: 0.04 0.96;
	stroke-dashoffset: 1;
	opacity: 0;
	filter: drop-shadow(0 0 3px #5fb4ff);
	transition: opacity 0.6s ease calc(var(--node-start) + var(--i) * var(--node-step) + 1.3s);
}

.jit-hero__lead {
	stroke: rgba(220, 239, 255, 0.28);
	stroke-width: 1;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.8s var(--h-ease) calc(var(--node-start) + var(--i) * var(--node-step) + 0.2s);
}

.jit-hero.is-in .jit-hero__arc,
.jit-hero.is-in .jit-hero__lead {
	stroke-dashoffset: 0;
}

.jit-hero.is-in .jit-hero__flow {
	opacity: 0.9;
	animation: jit-hero-flow 3.2s linear infinite;
	animation-delay: calc(var(--node-start) + var(--i) * var(--node-step) + 1.3s);
}

@keyframes jit-hero-flow {
	from { stroke-dashoffset: 1; }
	to { stroke-dashoffset: 0; }
}

.jit-hero__node {
	position: absolute;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--h-sky);
	box-shadow: 0 0 0 3px rgba(95, 180, 255, 0.18), 0 0 14px rgba(95, 180, 255, 0.9);
	opacity: 0;
	transform: scale(0.2);
	transition: opacity 0.5s ease calc(var(--node-start) + var(--i) * var(--node-step)), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--node-start) + var(--i) * var(--node-step));
}

.jit-hero__node.is-hq {
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	background: #a9d6ff;
}

.jit-hero__node.is-hub {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(95, 180, 255, 0.25), 0 0 22px #5fb4ff, 0 0 44px rgba(22, 96, 168, 0.8);
}

.jit-hero__node::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 50%;
	border: 1px solid rgba(95, 180, 255, 0.8);
	opacity: 0;
}

.jit-hero.is-in .jit-hero__node {
	opacity: 1;
	transform: none;
}

.jit-hero.is-in .jit-hero__node::after {
	animation: jit-hero-ping 2.6s ease-out infinite;
	animation-delay: calc(var(--node-start) + var(--i) * var(--node-step));
}

@keyframes jit-hero-ping {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(4.5); opacity: 0; }
}

.jit-hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 5px 11px;
	border-radius: 999px;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.3;
	color: #fff;
	background: rgba(15, 45, 94, 0.72);
	border: 1px solid rgba(95, 180, 255, 0.25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transform: translate(10px, -50%);
	opacity: 0;
	transition: opacity 0.6s ease calc(var(--node-start) + var(--i) * var(--node-step) + 0.35s), transform 0.8s var(--h-ease) calc(var(--node-start) + var(--i) * var(--node-step) + 0.35s);
}

.jit-hero__chip {
	align-items: center;
	padding-left: 6px;
}

.jit-hero__chip b {
	font-weight: 600;
}

.jit-hero__flag {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 15px;
	border-radius: 3px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.jit-hero__chip em {
	font-style: normal;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(220, 239, 255, 0.5);
}

.jit-hero__chip.is-above {
	transform: translate(-50%, -80%);
}

.jit-hero.is-in .jit-hero__chip {
	opacity: 1;
	transform: translate(0, -50%);
}

.jit-hero.is-in .jit-hero__chip.is-above {
	transform: translate(-50%, -100%);
}

/* Keep the headline readable over the map */
.jit-hero--map .jit-hero__vignette {
	background:
		radial-gradient(ellipse 34% 42% at 50% 46%, rgba(12, 37, 80, 0.78) 0%, rgba(12, 37, 80, 0.35) 60%, transparent 100%),
		linear-gradient(0deg, var(--h-bg) 0%, transparent 22%),
		linear-gradient(180deg, rgba(12, 37, 80, 0.6) 0%, transparent 16%);
}

.jit-hero--map .jit-hero__content {
	position: relative;
	z-index: 1;
}

.jit-hero--map.jit-hero--center .jit-hero__name {
	font-size: clamp(40px, 5.2vw, 88px);
}

@media (max-width: 1199px) {
	.jit-hero__chip,
	.jit-hero__lead {
		display: none;
	}
}

@media (max-width: 849px) {
	/* Zoom into Asia and keep it in the band above the headline */
	.jit-hero__map {
		top: -150px;
		left: 50%;
		right: auto;
		width: 300%;
		transform: translateX(-80%);
	}

	.jit-hero.is-in .jit-hero__dots {
		opacity: 0.35;
	}

	.jit-hero--map.jit-hero--motion .jit-hero__content {
		padding-top: 230px;
	}

	.jit-hero--map .jit-hero__vignette {
		background:
			linear-gradient(180deg, transparent 0, transparent 150px, rgba(12, 37, 80, 0.85) 240px, rgba(12, 37, 80, 0.6) 100%),
			linear-gradient(0deg, var(--h-bg) 0%, transparent 22%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-hero__dots,
	.jit-hero__node,
	.jit-hero__chip,
	.jit-hero__arc,
	.jit-hero__lead {
		transition: none !important;
	}

	.jit-hero.is-in .jit-hero__flow,
	.jit-hero.is-in .jit-hero__node::after {
		animation: none !important;
	}
}

/* =========================================================
   Centered layout
   ========================================================= */
.jit-hero--center .jit-hero__content {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.jit-hero--center .jit-hero__eyebrow {
	justify-content: center;
}

.jit-hero--center .jit-hero__eyebrow::after {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, var(--h-sky), transparent);
}

.jit-hero--center .jit-hero__name {
	white-space: normal;
	font-size: clamp(42px, 6.6vw, 96px);
	background: linear-gradient(100deg, #ffffff 0%, #ffffff 40%, #a9d6ff 70%, var(--h-sky) 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.jit-hero--center .jit-hero__pre {
	font-size: clamp(22px, 2.6vw, 36px);
	margin-bottom: 10px;
}

.jit-hero--center .jit-hero__text {
	margin-left: auto;
	margin-right: auto;
	max-width: 620px;
}

.jit-hero--center .jit-hero__actions {
	justify-content: center;
}

.jit-hero--center .jit-hero__features {
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

@media (max-width: 549px) {
	.jit-hero .jit-hero__features--stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jit-hero__features--stats .jit-hero__feature {
		padding: 18px 16px 20px;
		border-top: 0 !important;
	}

	.jit-hero__features--stats .jit-hero__feature:nth-child(n + 3) {
		border-top: 1px solid var(--h-line) !important;
	}

	.jit-hero__features--stats .jit-hero__feature:nth-child(even)::before {
		display: block;
	}
}

@media (max-width: 849px) {
	.jit-hero--motion .jit-hero__content {
		padding-top: 96px;
	}

	.jit-hero--motion {
		min-height: 0;
	}

	.jit-hero__floor {
		height: 30%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-hero__glow,
	.jit-hero__rings .r4,
	.jit-hero__rings .r5,
	.jit-hero__floor span {
		animation: none !important;
	}

	.jit-hero__rings {
		opacity: 1;
		transition: none;
	}
}

/* ---------- Entrance animation (only when JS is present) ---------- */
html.js .jit-hero__rise {
	transform: translateY(110%);
	transition: transform 1.1s var(--h-ease) var(--d, 0s);
}

html.js .jit-hero__anim {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s ease var(--d, 0s), transform 1s var(--h-ease) var(--d, 0s);
}

html.js .jit-hero.is-in .jit-hero__rise,
html.js .jit-hero.is-in .jit-hero__anim {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.jit-hero__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jit-hero__feature:nth-child(3)::before {
		display: none;
	}

	.jit-hero__feature:nth-child(n + 3) {
		border-top: 1px solid var(--h-line);
	}
}

@media (max-width: 849px) {
	.jit-hero {
		min-height: 0;
	}

	.jit-hero__bg {
		inset: 0 0 auto 0;
		height: 300px;
		background-size: cover;
		background-position: 82% center;
	}

	.jit-hero__shade {
		background:
			linear-gradient(180deg, rgba(12, 37, 80, 0) 0, rgba(12, 37, 80, 0) 150px, var(--h-bg) 300px, var(--h-bg) 100%);
	}

	.jit-hero__grid {
		display: none;
	}

	.jit-hero__name {
		white-space: normal;
	}

	.jit-hero__inner {
		padding: 0 20px;
	}

	.jit-hero__content {
		padding: 250px 0 36px;
	}

	.jit-hero__eyebrow {
		font-size: 11px;
		letter-spacing: 0.24em;
		margin-bottom: 18px;
	}

	.jit-hero__text {
		margin-bottom: 30px;
	}
}

@media (max-width: 549px) {
	.jit-hero__btn {
		height: 48px;
		padding: 0 20px 0 22px;
		font-size: 13px;
	}

	.jit-hero__features {
		grid-template-columns: 1fr;
		margin-bottom: 28px;
	}

	.jit-hero__feature {
		padding: 16px 18px;
	}

	.jit-hero__feature::before {
		display: none;
	}

	.jit-hero__feature:nth-child(n + 2) {
		border-top: 1px solid var(--h-line);
	}

	.jit-hero__desc {
		font-size: 12.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-hero__bg,
	html.js .jit-hero__rise,
	html.js .jit-hero__anim {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* =========================================================
   Map colour + effects
   Base dots are tinted teal-cyan; a brighter copy glows over
   Asia (where the JIT network sits) and breathes; a third copy
   is revealed only inside a moving band — a radar sweep.
   ========================================================= */
.jit-hero__dots {
	filter: hue-rotate(-28deg) saturate(1.5) brightness(1.1);
}

.jit-hero.is-in .jit-hero__dots {
	opacity: 0.32;
}

.jit-hero__dots--asia {
	filter: hue-rotate(-28deg) saturate(1.8) brightness(1.9);
	-webkit-mask-image: radial-gradient(ellipse 24% 42% at 80% 46%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 75%);
	mask-image: radial-gradient(ellipse 24% 42% at 80% 46%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 75%);
}

.jit-hero.is-in .jit-hero__dots--asia {
	opacity: 0.85;
	animation: jitHeroBreathe 5s ease-in-out calc(var(--map-start) + 2s) infinite;
}

@keyframes jitHeroBreathe {
	0%, 100% { opacity: 0.85; }
	50% { opacity: 0.45; }
}

.jit-hero__dots--sweep {
	filter: hue-rotate(-28deg) saturate(1.6) brightness(2.6);
	-webkit-mask-image: linear-gradient(90deg, transparent 0 46%, #000 50%, transparent 54% 100%);
	mask-image: linear-gradient(90deg, transparent 0 46%, #000 50%, transparent 54% 100%);
	-webkit-mask-size: 300% 100%;
	mask-size: 300% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: 100% 0;
	mask-position: 100% 0;
}

.jit-hero.is-in .jit-hero__dots--sweep {
	opacity: 1;
	animation: jitHeroSweep 8s cubic-bezier(0.45, 0, 0.55, 1) calc(var(--map-start) + 1.2s) infinite;
}

@keyframes jitHeroSweep {
	0% { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	70%, 100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

/* Flight arcs + leader lines in the same teal family */
.jit-hero__arc {
	stroke: rgba(63, 208, 194, 0.5);
}

/* =========================================================
   Title: "JIT Industrial Asia" — shimmering metal + glow
   ========================================================= */
.jit-hero__name {
	background: linear-gradient(100deg, #ffffff 0%, #ffffff 38%, #bfe6ff 46%, #ffffff 54%, #ffffff 100%);
	background-size: 250% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 28px rgba(95, 180, 255, 0.35));
	animation: jitHeroShine 6s ease-in-out 1.4s infinite;
}

.jit-hero__name-accent {
	background: linear-gradient(100deg, #5fb4ff 0%, #3fd0c2 50%, #8fe9ff 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: jitHeroAccent 5s ease-in-out infinite alternate;
}

@keyframes jitHeroShine {
	0% { background-position: 100% 0; }
	45%, 100% { background-position: 0% 0; }
}

@keyframes jitHeroAccent {
	from { background-position: 0% 0; }
	to { background-position: 100% 0; }
}

/* Light bar under the title */
.jit-hero__underline {
	display: block;
	width: min(420px, 60%);
	height: 2px;
	margin: -8px 0 28px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, #3fd0c2 30%, #5fb4ff 70%, transparent);
	box-shadow: 0 0 18px rgba(63, 208, 194, 0.7);
	transform: scaleX(0);
	transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.9s;
}

.jit-hero.is-in .jit-hero__underline {
	transform: scaleX(1);
}

.jit-hero--center .jit-hero__underline {
	margin-left: auto;
	margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
	.jit-hero__name,
	.jit-hero__name-accent,
	.jit-hero.is-in .jit-hero__dots--asia {
		animation: none;
	}

	.jit-hero__dots--sweep {
		display: none;
	}

	.jit-hero__underline {
		transform: none;
		transition: none;
	}
}

/* =========================================================
   Home hero photo background (glowing chip). Sits under every
   other layer (map dots, flight arcs, country chips, vignette),
   with a navy tint so the title and map stay readable.
   ========================================================= */
.jit-hero--map.jit-hero--motion {
	background: #050d1f;
}

.jit-hero--map::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(6, 18, 42, 0.62) 0%, rgba(6, 18, 42, 0.38) 45%, rgba(6, 18, 42, 0.55) 100%),
		url(../img/hero/home-hero-chip.webp) center 62% / cover no-repeat;
	transform-origin: 50% 65%;
	animation: jitHeroKenBurns 28s ease-in-out infinite alternate;
}

@keyframes jitHeroKenBurns {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}

/* The old blue glow blob is no longer needed over the photo */
.jit-hero--map .jit-hero__glow {
	display: none;
}

/* Slightly stronger centre shade behind the headline (bright filaments) */
.jit-hero--map .jit-hero__vignette {
	background:
		radial-gradient(ellipse 36% 40% at 50% 44%, rgba(6, 18, 42, 0.82) 0%, rgba(6, 18, 42, 0.45) 55%, transparent 100%),
		linear-gradient(0deg, #0c2550 0%, transparent 20%),
		linear-gradient(180deg, rgba(6, 18, 42, 0.65) 0%, transparent 16%);
}

@media (max-width: 849px) {
	.jit-hero--map::before {
		background:
			linear-gradient(180deg, rgba(6, 18, 42, 0.45) 0%, rgba(6, 18, 42, 0.75) 45%, rgba(12, 37, 80, 0.95) 100%),
			url(../img/hero/home-hero-chip-1300.webp) center 40% / cover no-repeat;
	}

	.jit-hero--map .jit-hero__vignette {
		background:
			linear-gradient(180deg, transparent 0, transparent 150px, rgba(6, 18, 42, 0.7) 260px, rgba(12, 37, 80, 0.6) 100%),
			linear-gradient(0deg, #0c2550 0%, transparent 22%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jit-hero--map::before {
		animation: none;
	}
}
