/* 央国企落地页 — 首屏「高端就业赋能」（入场动效） */

#page1 {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: relative;
	min-height: 100vh;
	height: auto;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#page1 .hero-employ-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(12, 38, 78, 0.88) 0%,
		rgba(12, 38, 78, 0.62) 38%,
		rgba(12, 38, 78, 0.18) 62%,
		transparent 85%
	);
}

#page1 .hero-employ-inner {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	min-height: 0;
	width: 75%;
	max-width: none;
	margin-left: 0;
	margin-right: auto;
	padding: 8vh 0 100px 6%;
	box-sizing: border-box;
}

#page1 .hero-employ-title {
	display: block;
	font-size: 0;
	line-height: 0;
	text-align: left;
	margin: 0 0 1.1em;
	padding: 0;
	will-change: transform, filter, opacity, letter-spacing;
}

#page1 .hero-employ-title .hero-employ-title-img {
	display: block;
	width: min(100%, 980px);
	max-width: 100%;
	height: auto;
	user-select: none;
	-webkit-user-drag: none;
	will-change: transform, opacity, filter;
}

#page1 .hero-employ-desc {
	font-size: clamp(15px, 1.65vw, 22px);
	font-weight: 700;
	color: #fff;
	line-height: 1.75;
	text-align: left;
	max-width: none;
}

#page1 .hero-employ-desc .hero-employ-line {
	display: block;
	margin: 0 0 0.55em;
	max-width: none;
	will-change: clip-path, transform, opacity;
	opacity: 0.98;
	clip-path: inset(0 100% 0 0);
	transform: translateX(-12px) skewX(-2deg);
}

@keyframes heroEmployTitleImgGlow {
	0%,
	100% {
		filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.45))
			drop-shadow(0 0 18px rgba(255, 200, 80, 0.28));
	}
	50% {
		filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.48))
			drop-shadow(0 0 26px rgba(255, 214, 110, 0.42));
	}
}

/* 字图自身：与整标题入场叠加的轻微上移归位（透明度由父级 h1 统一控制） */
@keyframes heroEmployTitleImgReveal {
	0% {
		transform: translate3d(0, 18px, 0) scale(0.96);
	}
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
}

/* 入场：标题为「模糊 + 字间距收束 + 左移归位」，与后两页 animate.css 不同 */
@keyframes heroEmployTitleIn {
	0% {
		opacity: 0;
		filter: blur(14px);
		transform: translateX(-48px);
		letter-spacing: 0.28em;
	}
	55% {
		opacity: 1;
		filter: blur(2px);
		letter-spacing: 0.06em;
		transform: translateX(0);
	}
	100% {
		opacity: 1;
		filter: blur(0);
		transform: translateX(0);
		letter-spacing: 0.02em;
	}
}

@keyframes heroEmployLineIn {
	0% {
		clip-path: inset(0 100% 0 0);
		transform: translateX(-18px) skewX(-3deg);
		opacity: 0.6;
	}
	100% {
		clip-path: inset(0 0 0 0);
		transform: translateX(0) skewX(0deg);
		opacity: 1;
	}
}

#page1.hero-employ--shown .hero-employ-title {
	animation: heroEmployTitleIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#page1.hero-employ--shown .hero-employ-title-img {
	animation:
		heroEmployTitleImgReveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both,
		heroEmployTitleImgGlow 3.6s ease-in-out 1.22s infinite;
}

#page1.hero-employ--shown .hero-employ-line:nth-child(1) {
	animation: heroEmployLineIn 0.78s cubic-bezier(0.33, 1, 0.68, 1) 0.42s both;
}

#page1.hero-employ--shown .hero-employ-line:nth-child(2) {
	animation: heroEmployLineIn 0.78s cubic-bezier(0.33, 1, 0.68, 1) 0.62s both;
}

#page1.hero-employ--shown .hero-employ-line:nth-child(3) {
	animation: heroEmployLineIn 0.78s cubic-bezier(0.33, 1, 0.68, 1) 0.82s both;
}

@media (prefers-reduced-motion: reduce) {
	#page1.hero-employ--shown .hero-employ-title,
	#page1.hero-employ--shown .hero-employ-title-img,
	#page1.hero-employ--shown .hero-employ-line {
		animation: none !important;
		clip-path: none !important;
		transform: none !important;
		filter: none !important;
		opacity: 1 !important;
	}
}

@media only screen and (max-width: 767px) {
	#page1 .hero-employ-inner {
		width: 75%;
		padding: 10vh 0 88px 5%;
		box-sizing: border-box;
	}
	#page1 .hero-employ-overlay {
		background: linear-gradient(
			180deg,
			rgba(12, 38, 78, 0.9) 0%,
			rgba(12, 38, 78, 0.55) 45%,
			rgba(12, 38, 78, 0.2) 100%
		);
	}
}
