/*
 * Home v7.
 *
 * Scoped to the front-page wrapper. No external images, fonts or requests are
 * introduced here; the factory positions are intentionally labelled slots.
 */

.home-v7 {
	--home-blue: var(--jiaye-blue);
	--home-blue-dark: var(--jiaye-blue-dark);
	--home-ink: var(--jiaye-ink);
	--home-muted: var(--jiaye-muted);
	--home-line: #e2e6ea;
	--home-soft: #f4f6f8;
	--home-soft-2: #f2f5f9;
	--home-dark: #101923;
	background: #ffffff;
	color: var(--home-ink);
}

.home-v7 h1,
.home-v7 h2,
.home-v7 h3 {
	font-family: var(--jiaye-font-body);
}

.home-v7 a:hover {
	text-decoration: none;
}

.home-label {
	margin: 0 0 18px;
	color: var(--home-blue);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.home-heading {
	margin: 0;
	color: var(--home-ink);
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.18;
	overflow-wrap: break-word;
}

.home-intro {
	margin: 0;
	color: var(--home-muted);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
	overflow-wrap: break-word;
}

.home-arrow {
	display: inline-block;
	flex: 0 0 auto;
	font-size: 1.15em;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.18s ease;
}

.home-button:hover .home-arrow,
.home-service-card:hover .home-service-card__arrow,
.home-product-card__ask:hover .home-arrow,
.home-manufacturing__link:hover .home-arrow {
	transform: translateX(3px);
}

.home-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--home-blue);
	color: #ffffff;
	font-family: var(--jiaye-font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.1;
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-button:hover {
	background: var(--home-blue-dark);
	color: #ffffff;
}

/* Hero */
.home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 660px;
	padding: 56px 0 26px;
	overflow: hidden;
	background-color: #0b1521;
	background-image:
		radial-gradient(circle at 78% 18%, rgba(120, 154, 194, 0.28), transparent 36%),
		radial-gradient(circle at 92% 74%, rgba(23, 72, 137, 0.4), transparent 40%),
		linear-gradient(115deg, #0b1521 0%, #101b29 46%, #0a121b 100%);
	color: #ffffff;
}

/* Keep one viewport where the unchanged content fits; short screens grow. */
html.jiaye-has-js .home-hero {
	min-height: calc(100vh - var(--jiaye-preview-toolbar, 0px));
	min-height: calc(100dvh - var(--jiaye-preview-toolbar, 0px));
	padding-top: var(--jiaye-header-clearance, 148px);
}
@media (max-width: 1023px) {
	html.jiaye-has-js .home-hero { padding-top: var(--jiaye-header-clearance, 124px); }
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 88px 88px;
	opacity: 0.55;
	pointer-events: none;
}

.home-hero::after {
	content: "";
	position: absolute;
	top: -10%;
	right: -6%;
	width: min(52vw, 720px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 80px rgba(255, 255, 255, 0.018),
		0 0 0 160px rgba(255, 255, 255, 0.012);
	pointer-events: none;
}

/* Keep the original geometry and fallback; the photograph replaces its decoration. */
.home-hero.has-photo { isolation: isolate; background-image: none; }
.home-hero.has-photo > .site-image {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 18%;
}
.home-hero.has-photo::before {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(8, 12, 18, .74) 0%, rgba(8, 12, 18, .48) 44%, rgba(8, 12, 18, .08) 72%, rgba(8, 12, 18, 0) 100%),
		linear-gradient(0deg, rgba(6, 10, 16, .56) 0%, rgba(6, 10, 16, 0) 20%);
	opacity: 1;
}
.home-hero.has-photo::after { content: none; }
.home-hero.has-photo > .home-hero__inner { z-index: 2; }

.home-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.home-hero__content {
	max-width: 820px;
	margin-block: auto;
}

@media (min-width: 768px) and (min-height: 651px) {
	.home-hero__content { padding-bottom: 20px; }
}

.home-hero__title {
	max-width: 780px;
	margin: 0 0 24px;
	color: #ffffff;
	font-size: clamp(42px, 4.2vw, 60px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
	overflow-wrap: break-word;
}

/* Short desktop screens use the available width without reducing type. */
@media (min-width: 1024px) and (max-height: 650px) {
	.home-hero__content,
	.home-hero__title { max-width: 1100px; }
}

.home-hero__intro {
	max-width: 600px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .84);
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.66;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.home-hero__footer {
	margin-top: 0;
}

.home-hero__meta {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.home-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 44px;
	color: #c3cdd8;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.4;
}

.home-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #d5dce5;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1;
	white-space: nowrap;
}

.home-hero__scroll:hover {
	color: #ffffff;
}

.home-hero__scroll-line {
	position: relative;
	display: inline-block;
	width: 1px;
	height: 26px;
	background: rgba(255, 255, 255, 0.7);
}

.home-hero__scroll-line::after {
	content: "";
	position: absolute;
	right: -3px;
	bottom: 0;
	width: 7px;
	height: 7px;
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	transform: rotate(45deg);
}

.home-hero__slot-note {
	margin: 18px 0 0;
	color: #7f8fa2;
	font-size: 11px;
	line-height: 1.4;
}

.home-hero :focus-visible {
	outline-color: #ffffff;
}

.home-manufacturing :focus-visible {
	outline-color: var(--home-blue);
}

.home-service-card:focus-visible {
	outline-color: var(--home-blue);
}

/* OEM and ODM service cards */
.home-services {
	padding: 72px 0 39px;
	background: #ffffff;
	scroll-margin-top: 24px;
}

.home-services__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 32px 72px;
	align-items: end;
}

.home-heading span {
	display: block;
	font-weight: 200;
}

.home-services__intro {
	max-width: 450px;
	margin: 0 0 4px auto;
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin-top: 54px;
}

.home-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 230px;
	overflow: hidden;
	padding: 32px 32px 30px;
	background: var(--home-soft-2);
	color: var(--home-ink);
	text-decoration: none;
	transition: color 0.3s ease;
}

.home-service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--home-blue);
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 0.34s ease;
	pointer-events: none;
}

.home-service-card:focus-visible::before {
	clip-path: circle(75% at 50% 50%);
}

@media (hover: hover) {
	.home-service-card:hover::before {
		clip-path: circle(75% at 50% 50%);
	}

	.home-service-card:hover,
	.home-service-card:hover > span {
		color: #ffffff;
	}
}

.home-service-card:active::before {
	clip-path: circle(75% at 50% 50%);
	transition-duration: 0.14s;
}

.home-service-card:focus-visible,
.home-service-card:active {
	color: #ffffff;
}

.home-service-card:focus-visible > span,
.home-service-card:active > span {
	color: #ffffff;
}

.home-service-card > span:not(.home-service-card__arrow) {
	position: relative;
	z-index: 1;
}

.home-service-card > span {
	transition: color 0.3s ease;
}

.home-service-card__arrow {
	z-index: 1;
}

.home-service-card:hover .home-service-card__arrow,
.home-service-card:focus-visible .home-service-card__arrow {
	transform: translateX(4px);
}

.home-service-card:focus-visible {
	outline: 2px solid var(--home-blue);
	outline-offset: 4px;
}

.home-service-card__tag {
	color: var(--home-blue);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
}

.home-service-card__title {
	margin-top: 20px;
	color: var(--home-ink);
	font-size: 27px;
	font-weight: 600;
	line-height: 1.25;
}

.home-service-card__desc {
	max-width: 470px;
	margin-top: 12px;
	color: var(--home-muted);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.55;
}

.home-service-card__arrow {
	position: absolute;
	top: 30px;
	right: 32px;
	color: var(--home-blue);
	font-size: 25px;
	line-height: 1;
	transition: transform 0.18s ease;
}

/* Taizhou location */
.home-location {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 4vw, 60px);
	width: min(1016px, calc(100% - 96px));
	margin: 0 auto;
	padding-block: 24px;
	scroll-margin-block-start: 128px;
}

.home-location .factory-location__map {
	--map-x: 50%;
	--map-y: 53%;
	height: clamp(208px, 22vw, 270px);
}

.home-location .factory-location__map[data-stage] .factory-location__label {
	inset-inline-start: calc(var(--map-x) + 25px);
}

.home-location .factory-location__city {
	font-size: clamp(28px, 3.3vw, 43px);
	line-height: 1.12;
}

.home-location .factory-location__province {
	font-size: clamp(12px, 1.15vw, 15px);
	line-height: 1.35;
}

.home-location__caption { color: #16427b; }
.home-location__caption span { display: block; }
.home-location__caption > span { color: #000; }
.home-location__caption span:first-child {
	font-size: clamp(25px, 2.75vw, 39px);
	font-weight: 600;
	letter-spacing: -.022em;
	line-height: 1.2;
}
.home-location__caption span + span {
	margin-top: 7px;
	font-size: clamp(18px, 1.65vw, 24px);
	line-height: 1.4;
}
.home-location__factory-link {
	align-items: flex-start;
	padding-top: 7px;
}

@media (max-width: 767px) {
	.home-location {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		width: min(620px, calc(100% - 48px));
		padding-block: 16px;
		scroll-margin-block-start: 110px;
		text-align: center;
	}
	.home-location .factory-location__map {
		--map-y: 51%;
		height: clamp(186px, 54vw, 224px);
	}
	.home-location .factory-location__map[data-stage] .factory-location__label {
		inset-inline-start: calc(var(--map-x) + 19px);
	}
	.home-location .factory-location__map[data-stage] .factory-location__label::before {
		inset-inline-start: -12px;
		width: 8px;
	}
	.home-location__caption span:first-child { font-size: clamp(22px, 5.8vw, 28px); }
	.home-location__caption span + span {
		margin-top: 4px;
		font-size: clamp(16px, 4.3vw, 20px);
	}
	.home-location__factory-link { padding-top: 2px; }
}

@media (max-width: 359px) {
	.home-location { width: calc(100% - 40px); }
}

/* Engineering and sampling states */
.home-engineering {
	padding: 53px 0 86px;
	border-top: 1px solid #e5eaf0;
	background: #F5F7FA;
}

.home-states {
	margin-top: 50px;
}

.home-states__tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.home-state-tab {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid #d7e0ea;
	border-radius: 4px;
	background: #ffffff;
	color: #46586a;
	font-family: var(--jiaye-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	overflow-wrap: break-word;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.home-state-tab:not(.is-active):focus-visible {
	border-color: #bcd3ea;
	background: #e8f1fb;
	color: var(--home-blue);
	box-shadow: inset 0 0 0 1px rgba(23, 72, 137, 0.18);
}

@media (hover: hover) {
	.home-state-tab:not(.is-active):hover {
		border-color: #bcd3ea;
		background: #e8f1fb;
		color: var(--home-blue);
	}
}

.home-state-tab.is-active {
	border-color: #b3c2d2;
	background: #dbe3ec;
	color: #123f75;
	font-weight: 600;
	box-shadow: inset 0 2px 4px rgba(21, 32, 45, 0.16);
}

.home-state-tab:active {
	transform: translateY(1px);
}

.home-state-panel {
	display: grid;
	grid-template-columns: minmax(0, 616px) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	margin-top: 44px;
}

.home-state-panel[hidden] {
	display: none !important;
}

.home-state-stage {
	position: relative;
	margin-top: 44px;
}

.home-state-stage > .home-state-panel {
	margin-top: 0;
}

.home-state-visual {
	min-width: 0;
}

.home-diagram {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 352px;
	padding: 34px 36px;
	background: #f1f4f8;
}

.home-diagram__label {
	margin: 0 0 18px;
	color: var(--home-blue);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.home-diagram__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-diagram__list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid #c3ccd8;
	color: var(--home-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.home-diagram__list li::after {
	content: "";
	flex: 1 1 auto;
	min-width: 20px;
	height: 1px;
	margin-bottom: 0.25em;
	background: #aebccd;
}

.home-process {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-process li {
	position: relative;
	padding: 18px 20px;
	background: #ffffff;
	color: var(--home-blue);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.35;
	text-transform: uppercase;
}

.home-process li:not(:last-child)::after {
	content: "\2193";
	position: absolute;
	bottom: -15px;
	left: 50%;
	padding: 0 4px;
	background: #f1f4f8;
	color: var(--home-blue);
	font-size: 13px;
	line-height: 1;
	transform: translateX(-50%);
}

.home-sampling {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.home-sampling__card {
	min-width: 0;
	min-height: 250px;
	padding: 22px 20px;
	background: #ffffff;
}

.home-sampling__tag {
	margin: 0 0 18px;
	color: var(--home-blue);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.3;
}

.home-sampling__title {
	margin: 0 0 18px;
	color: var(--home-ink);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.home-sampling__list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
	padding: 0;
	color: var(--home-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	list-style: none;
}

.home-sampling__note {
	margin: 0;
	color: var(--home-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.home-state-caption {
	margin: 10px 0 0;
	color: var(--home-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.home-state-copy {
	min-width: 0;
	padding-top: 10px;
}

.home-state-copy .home-state-copy__eyebrow {
	margin: 0 0 18px;
	color: var(--home-blue);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.home-state-copy h3 {
	margin: 0 0 24px;
	color: var(--home-ink);
	font-size: clamp(25px, 2.55vw, 35px);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.24;
	overflow-wrap: break-word;
}

.home-state-copy p {
	margin: 0 0 28px;
	color: var(--home-muted);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.home-state-copy .home-state-copy__lead {
	margin: 0 0 5px;
	color: var(--home-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.home-state-copy .home-state-copy__sub {
	margin: 0;
	color: var(--home-muted);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.home-state-copy__divider {
	margin: 0 0 20px;
	border: 0;
	border-top: 1px solid var(--home-line);
}

.home-states__note {
	margin: 36px 0 0;
	color: var(--home-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}

/* Photo slots */
.home-photo-slot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 6px;
	overflow: hidden;
	padding: 24px;
	background-color: #121c27;
	background-image:
		radial-gradient(circle at 76% 18%, rgba(122, 155, 195, 0.24), transparent 44%),
		linear-gradient(135deg, #1c2a3a 0%, #121c27 52%, #0b131c 100%);
	color: #dce4ed;
}

.home-photo-slot::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.5;
	pointer-events: none;
}

.home-photo-slot__title,
.home-photo-slot__meta {
	position: relative;
	z-index: 1;
	overflow-wrap: anywhere;
}

.home-photo-slot__title {
	color: #dce4ed;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.4;
	text-transform: uppercase;
}

.home-photo-slot__meta {
	color: #9fb0c2;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.home-state-photo {
	width: 100%;
	aspect-ratio: 616 / 352;
	min-height: 0;
}

/* Selected styles */
.home-products {
	padding: 56px 0 64px;
	background: #EBF0F6;
}

.home-products__intro {
	max-width: 760px;
	margin-top: 14px;
}

.home-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}

.home-product-grid > li {
	min-width: 0;
}

.home-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	padding: 22px;
	background: #ffffff;
}

.home-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin: 0 0 18px;
	padding: 4px;
	border: 0;
	background: #ffffff;
}

.home-product-card__media img {
	width: 75%;
	height: 75%;
	object-fit: contain;
}

.home-product-card__media--aligned {
	position: relative;
}

.home-product-card__media--aligned img {
	position: absolute;
	top: 72%;
	left: 50%;
	width: var(--home-image-width);
	height: auto;
	max-width: none;
	transform: translate(calc(-1 * var(--home-image-center)), calc(-1 * var(--home-image-bottom)));
}

.home-product-card__model {
	margin: 0 0 4px;
	color: var(--home-blue);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.home-product-card__model a {
	color: inherit;
}

.home-product-card__title {
	margin: 0 0 8px;
	color: var(--home-ink);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.home-product-card__title a {
	color: inherit;
}

.home-product-card__title a:hover {
	color: var(--home-blue);
}

.home-product-card__ask {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	min-height: 40px;
	margin-top: 2px;
	padding: 6px 0;
	overflow: hidden;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--home-blue);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(23, 72, 137, 0.18);
	transition: color 0.2s ease;
}

.home-product-card__ask::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--home-blue);
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 0.34s ease;
	pointer-events: none;
}

.home-product-card__ask > span:first-child {
	min-width: 0;
}

.home-product-card__ask:focus-visible,
.home-product-card__ask:active {
	color: #ffffff;
}

.home-product-card__ask:focus-visible::before,
.home-product-card__ask:active::before {
	clip-path: circle(75% at 50% 50%);
}

.home-product-card__ask:focus-visible {
	outline: 2px solid var(--home-blue);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.home-product-card__ask:hover {
		color: #ffffff;
	}

	.home-product-card__ask:hover::before {
		clip-path: circle(75% at 50% 50%);
	}
}

.home-products__all-wrap {
	margin: 44px 0 0;
	text-align: center;
}

.home-products__empty {
	max-width: 760px;
	margin-top: 38px;
	padding: 36px;
	border: 1px solid #e0e5eb;
	background: #ffffff;
}

.home-products__empty h3 {
	margin: 0 0 10px;
	color: var(--home-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.home-products__empty p {
	max-width: 560px;
	margin: 0 0 24px;
	color: var(--home-muted);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
}

/* Manufacturing and quality */
.home-manufacturing {
	padding: 82px 0 88px;
	background: #ffffff;
	color: var(--home-ink);
}

.home-manufacturing .home-label {
	color: var(--home-blue);
}

.home-manufacturing__title {
	color: var(--home-ink);
}

.home-manufacturing__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.home-manufacturing__intro {
	max-width: 640px;
	margin-top: 14px;
	color: var(--home-muted);
	font-weight: 400;
}

.home-manufacturing__link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	letter-spacing: 0.02em;
	line-height: 1.3;
	white-space: nowrap;
}

.home-manufacturing__gallery {
	--home-manufacturing-visible: 3;
	position: relative;
	margin-top: 48px;
}

.home-manufacturing__grid {
	display: grid;
	grid-template-columns: repeat(var(--home-manufacturing-visible), minmax(0, 1fr));
	gap: 28px;
}

.home-manufacturing__gallery.is-enhanced .home-manufacturing__viewport {
	overflow: hidden;
	overflow: clip;
	touch-action: pan-y pinch-zoom;
}

.home-manufacturing__gallery.is-enhanced .home-manufacturing__grid {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--home-manufacturing-visible) - 1) * 28px) / var(--home-manufacturing-visible));
}

.home-manufacturing__controls {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.home-manufacturing__control {
	position: absolute;
	top: 43%;
	transform: translateY(-50%);
	pointer-events: auto;
}

.home-manufacturing__control.jiaye-gallery-control--prev {
	left: 4px;
}

.home-manufacturing__control.jiaye-gallery-control--next {
	right: 4px;
}

.home-manufacturing__control::before {
	background: rgba(21, 32, 45, 0.68);
}

.home-manufacturing__position {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.home-manufacturing__card {
	min-width: 0;
}

.home-manufacturing__photo {
	width: 100%;
	aspect-ratio: 408 / 250;
}

[data-slot-key="home-manufacturing-inspection-photo"].has-site-image > .site-image {
	object-position: center top;
}

.home-manufacturing__photo .home-photo-slot__title {
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: none;
}

.home-manufacturing__card h3 {
	margin: 22px 0 8px;
	color: var(--home-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.home-manufacturing__card p {
	margin: 0;
	color: #c6cfda;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

/* FAQ */
.home-faq {
	padding: 82px 0 92px;
	background: #ffffff;
}

.home-faq__list {
	margin-top: 42px;
	border-top: 1px solid var(--home-line);
}

.home-faq__intro {
	margin-top: 16px;
}

.home-faq details {
	border-bottom: 1px solid var(--home-line);
}

.home-faq summary {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 32px;
	gap: 14px;
	align-items: start;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}

.home-faq summary::-webkit-details-marker {
	display: none;
}

.home-faq summary:focus-visible {
	outline: 2px solid var(--home-blue);
	outline-offset: 4px;
}

.home-faq__num {
	padding-top: 4px;
	color: var(--home-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.home-faq__question {
	color: var(--home-ink);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: break-word;
}

.home-faq__icon {
	position: relative;
	width: 24px;
	height: 24px;
	justify-self: end;
}

.home-faq__icon::before,
.home-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.home-faq__icon::before {
	width: 15px;
	height: 1.5px;
}

.home-faq__icon::after {
	width: 1.5px;
	height: 15px;
	transition: transform 0.18s ease;
}

.home-faq details[open] .home-faq__num,
.home-faq details[open] .home-faq__question,
.home-faq details[open] .home-faq__icon {
	color: var(--home-blue);
}

.home-faq details[open] .home-faq__question {
	font-weight: 600;
}

.home-faq details[open] .home-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq__answer {
	max-width: 980px;
	padding: 0 40px 24px 50px;
}

.home-faq__answer p {
	margin: 0;
	color: var(--home-muted);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	overflow-wrap: break-word;
}

/* Compact desktop */
@media (max-width: 1100px) {
	.home-state-panel {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 40px;
	}

	.home-state-copy h3 {
		font-size: 28px;
	}

	.home-states__tabs {
		gap: 22px;
	}
}

@media (max-width: 900px) {
	.home-services__head {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		align-items: start;
	}

	.home-services__intro {
		max-width: 620px;
		margin: 0;
	}

	.home-services__grid {
		margin-top: 38px;
	}

	.home-state-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.home-state-copy {
		padding-top: 0;
	}

	.home-manufacturing__head {
		display: block;
	}

	.home-manufacturing__link {
		margin-top: 24px;
	}

	.home-manufacturing__gallery {
		--home-manufacturing-visible: 2;
	}


	.home-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-hero.has-photo > .site-image { object-position: 69% 18%; }
	.home-hero.has-photo::before {
		background-color: rgba(8, 12, 18, .34);
	}
}

/* Mobile */
@media (max-width: 767px) {
	.home-hero {
		min-height: 650px;
		padding: 64px 0 22px;
	}

	.home-hero::after {
		top: auto;
		right: -30%;
		bottom: -10%;
		width: 82vw;
	}

	.home-hero__inner {
		gap: 48px;
	}

	.home-hero__title {
		margin-bottom: 18px;
		font-size: clamp(28px, 8vw, 34px);
		letter-spacing: -0.02em;
		line-height: 1.18;
	}

	.home-hero__intro {
		max-width: 520px;
		margin-bottom: 26px;
		font-size: 15px;
		line-height: 1.58;
	}

	.home-hero__actions {
		flex-direction: column;
		gap: 12px;
	}

	.home-hero__actions .home-button {
		width: 100%;
		min-height: 48px;
	}

	.home-hero__meta {
		flex-wrap: wrap;
		align-items: flex-end;
		gap: 16px;
	}

	.home-hero__facts {
		gap: 6px 24px;
		font-size: 9px;
	}

	.home-hero__scroll {
		font-size: 9px;
	}

	.home-hero__slot-note {
		margin-top: 14px;
		font-size: 10px;
	}

	.home-services,
	.home-engineering,
	.home-products,
	.home-manufacturing,
	.home-faq {
		padding: 54px 0 58px;
	}

	.home-label {
		margin-bottom: 14px;
		font-size: 10px;
		letter-spacing: 0.12em;
	}

	.home-heading {
		font-size: clamp(27px, 8vw, 32px);
		line-height: 1.22;
	}

	.home-intro {
		font-size: 16px;
		line-height: 1.6;
	}

	.home-services__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		margin-top: 30px;
	}

	.home-service-card {
		min-height: 210px;
		padding: 24px;
	}

	.home-service-card__tag {
		font-size: 40px;
	}

	.home-service-card__title {
		margin-top: 16px;
		font-size: 23px;
	}

	.home-service-card__desc {
		font-size: 17px;
	}

	.home-service-card__arrow {
		top: 24px;
		right: 24px;
		font-size: 22px;
	}

	.home-states {
		margin-top: 30px;
	}

	.home-states__tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.home-state-tab {
		min-height: 52px;
		padding: 12px 14px;
		color: #46586a;
		font-size: 13px;
		line-height: 1.3;
	}

	.home-state-tab.is-active {
		border-color: #b3c2d2;
		background: #dbe3ec;
		box-shadow: inset 0 2px 4px rgba(21, 32, 45, 0.16);
		color: #123f75;
	}

	.home-state-panel,
	.home-state-stage {
		margin-top: 26px;
	}

	.home-state-stage > .home-state-panel {
		margin-top: 0;
	}

	.home-diagram {
		min-height: 0;
		padding: 24px 20px;
	}

	.home-diagram__list li {
		padding: 12px 0;
		font-size: 15px;
	}

	.home-process li {
		padding: 15px 16px;
		font-size: 12px;
	}

	.home-sampling {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.home-sampling__card {
		min-height: 0;
		padding: 20px;
	}

	.home-sampling__title {
		font-size: 20px;
	}

	.home-state-photo {
		aspect-ratio: 342 / 228;
	}

	.home-photo-slot {
		padding: 18px;
	}

	.home-photo-slot__title {
		font-size: 11px;
	}

	.home-photo-slot__meta {
		font-size: 10px;
	}

	.home-state-copy h3 {
		margin-bottom: 18px;
		font-size: 25px;
	}

	.home-state-copy p {
		margin-bottom: 22px;
		font-size: 16px;
		line-height: 1.65;
	}

	.home-state-copy .home-state-copy__lead,
	.home-state-copy .home-state-copy__sub {
		font-size: 15px;
	}

	.home-states__note {
		margin-top: 26px;
		font-size: 13px;
	}

	.home-products__intro {
		margin-top: 10px;
	}

	.home-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 14px;
		margin-top: 30px;
	}

	.home-product-card {
		padding: 12px;
	}

	.home-product-card__media {
		aspect-ratio: 16 / 9;
		margin-bottom: 12px;
	}

	.home-product-card__model {
		font-size: 13px;
	}

	.home-product-card__title {
		font-size: 16px;
		line-height: 1.3;
	}

	.home-product-card__ask {
		font-size: 13px;
	}

	.home-product-card__ask .home-arrow {
		display: none;
	}

	.home-products__all-wrap {
		margin-top: 30px;
	}

	.home-products__all-wrap .home-button {
		width: 100%;
	}

	.home-products__empty {
		margin-top: 28px;
		padding: 24px 20px;
	}

	.home-products__empty h3 {
		font-size: 21px;
	}

	.home-products__empty p {
		font-size: 16px;
	}

	.home-products__empty .home-button {
		width: 100%;
	}

	.home-manufacturing__gallery {
		--home-manufacturing-visible: 3;
		margin-top: 32px;
	}

	.home-manufacturing__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.home-manufacturing__photo {
		aspect-ratio: 342 / 180;
	}

	.home-manufacturing__card h3 {
		margin-top: 18px;
		font-size: 22px;
	}

	.home-manufacturing__card p {
		font-size: 15px;
	}

	.home-manufacturing__gallery.is-enhanced .home-manufacturing__viewport {
		touch-action: auto;
	}

	.home-manufacturing__gallery.is-enhanced .home-manufacturing__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-flow: row;
		grid-auto-rows: 1fr;
		gap: 8px;
	}

	.home-manufacturing__gallery.is-enhanced .home-manufacturing__photo {
		height: min(42vw, max(64px, calc((100svh - var(--jiaye-header-clearance, 124px) - 170px) / 3)));
		aspect-ratio: auto;
	}

	.home-manufacturing__gallery.is-enhanced .home-manufacturing__photo.has-site-image > .site-image {
		object-fit: contain;
		object-position: center;
	}

	.home-manufacturing__gallery.is-enhanced .home-manufacturing__card h3 {
		margin: 6px 0 2px;
		font-size: 17px;
		overflow-wrap: anywhere;
	}

	.home-manufacturing__controls {
		position: static;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 24px;
		margin-top: 8px;
		pointer-events: auto;
	}

	.home-manufacturing__control.jiaye-gallery-control--prev,
	.home-manufacturing__control.jiaye-gallery-control--next {
		position: relative;
		inset: auto;
		transform: none;
	}

	.home-manufacturing__control.jiaye-gallery-control--prev .jiaye-gallery-control__icon {
		transform: rotate(135deg);
	}

	.home-manufacturing__control.jiaye-gallery-control--next .jiaye-gallery-control__icon {
		transform: rotate(45deg);
	}




	.home-faq__list {
		margin-top: 30px;
	}

	.home-faq summary {
		grid-template-columns: 24px minmax(0, 1fr) 24px;
		gap: 8px;
		padding: 17px 0;
	}

	.home-faq__num {
		padding-top: 3px;
		font-size: 11px;
	}

	.home-faq__question {
		font-size: 15px;
		line-height: 1.45;
	}

	.home-faq__icon {
		width: 20px;
		height: 20px;
	}

	.home-faq__icon::before {
		width: 13px;
	}

	.home-faq__icon::after {
		height: 13px;
	}

	.home-faq__answer {
		padding: 0 0 22px 32px;
	}

	.home-faq__answer p {
		font-size: 15px;
		line-height: 1.65;
	}
}

@media (max-width: 359px) {
	.home-hero {
		padding-top: 52px;
	}

	.home-hero__title {
		font-size: clamp(28px, 8vw, 34px);
	}

	.home-product-grid {
		gap: 28px 10px;
	}

	.home-product-card {
		padding: 12px;
	}

	.home-product-card__title {
		font-size: 15px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.home-arrow,
	.home-product-card__ask,
	.home-product-card__ask::before,
	.home-service-card,
	.home-service-card::before,
	.home-service-card > span,
	.home-state-tab,
	.home-service-card__arrow,
	.home-faq__icon::after {
		transition: none;
	}
}

@media (max-width: 767px) {
	.home-services { padding-bottom: 27px; }
	.home-engineering { padding-top: 39px; }
	.home-products { padding-top: 44px; padding-bottom: 48px; }
}


/* Header remains included in the first viewport; the photo starts below it. */
@media (min-width: 1024px) and (max-height: 650px) {
	html.jiaye-has-js .home-hero { padding-top: calc(var(--jiaye-header-clearance, 148px) + 12px); padding-bottom: 14px; }
	.home-hero__inner { gap: 16px; }
}
html.jiaye-has-js .home-hero.has-photo > .site-image { top: calc(var(--jiaye-header-clearance, 148px) - 16px); height: calc(100% - var(--jiaye-header-clearance, 148px) + 16px); }
.home-hero__actions .home-button { font-size: 18px; --jiaye-cta-pad: 14px 20px; --jiaye-cta-min: 52px; }
.home-hero__actions .home-button.home-button--ghost {
	--home-hero-ghost-border: rgba(255, 255, 255, 0.44);
	border-color: var(--home-hero-ghost-border);
	background: rgba(10, 16, 26, 0.52);
	backdrop-filter: blur(6px);
	color: #ffffff;
}

.home-hero__actions .home-button.home-button--ghost:is(:hover, :focus-visible, :active) {
	border-color: #ffffff;
	color: var(--jiaye-blue);
}

@media (hover: none) {
	/* Touch browsers can retain :hover after the press ends. */
	.home-hero__actions .home-button.home-button--ghost:hover:not(:focus-visible, :active) {
		border-color: var(--home-hero-ghost-border);
		color: #ffffff;
	}

	.home-hero__actions .home-button.home-button--ghost:hover:not(:focus-visible, :active)::before {
		clip-path: circle(0px at 50% 50%);
	}

	@supports not (clip-path: circle(0px at 50% 50%)) {
		.home-hero__actions .home-button.home-button--ghost:hover:not(:focus-visible, :active)::before {
			opacity: 0;
		}
	}
}

.home-engineering { padding-bottom: 50px; }
.home-product-card__title,
.home-product-card__title a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-product-card__title a { display: block; }
.home-quality { padding: 48px 0; background: #F4F5F3; text-align: center; }
.home-quality .home-heading { max-width: 1080px; margin: 0 auto; font-size: 36px; line-height: 1.2; letter-spacing: -.025em; font-weight: 600; }
.home-quality > .jiaye-shell > .home-intro { max-width: 1050px; margin: 18px auto 0; font-size: 19px; line-height: 1.6; }
.home-quality__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 38px 0 0; padding: 0; list-style: none; }
.home-quality__grid li { min-width: 0; padding: 0 22px; text-align: left; }
.home-quality__grid li + li { border-left: 1px solid #b7c7d9; }
.home-quality__number { display: block; margin-bottom: 8px; color: var(--home-blue); font-size: 13px; font-weight: 600; }
.home-quality__grid h3 { margin: 0 0 16px; color: var(--home-blue); font-size: 19px; font-weight: 600; line-height: 1.4; }
.home-quality__grid p { margin: 0; color: var(--home-muted); font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
@media (max-width: 767px) {
 html.jiaye-has-js .home-hero { padding-top: calc(var(--jiaye-header-clearance, 124px) + 32px); }
 .home-product-card__title,
 .home-product-card__title a { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
 .home-quality { padding: 32px 0; }
 .home-quality .home-heading { font-size: 28px; }
 .home-quality > .jiaye-shell > .home-intro { font-size: 17px; }
 .home-quality__grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
 .home-quality__grid li { padding: 22px 0; }
 .home-quality__grid li + li { border-left: 0; border-top: 1px solid #b7c7d9; }
 .home-quality__grid h3 { margin-bottom: 10px; font-size: 18px; }
}

@media (max-width: 359px) and (max-height: 650px) {
	html.jiaye-has-js .home-hero { padding-top: calc(var(--jiaye-header-clearance, 124px) - 12px); }
	.home-hero__inner.jiaye-shell { width: calc(100% - 24px); }
	.home-hero__actions { flex-direction: row; gap: 8px; }
	.home-hero .home-hero__content .home-hero__actions .home-button {
		width: calc(50% - 4px);
		min-height: 44px;
		padding: 8px;
		gap: 6px;
		font-size: 15px;
		line-height: 1.2;
	}
}

/* Side view uses the exact calibrated main-image transform. */
.home-product-card__media--aligned [data-jiaye-side-image] {
 top: 72%; left: 50%; width: var(--home-image-width); height: auto;
 transform: translate(calc(-1 * var(--home-image-center)), calc(-1 * var(--home-image-bottom)));
}
