/* ===== 亲民官网 v5 · 编辑杂志风 ===== */
@font-face {
  font-family: "Noto Serif SC";
  src: url("fonts/noto-serif-sc-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
:root {
  --ink: #14306e;
  --ink-deep: #0d1e49;
  --blue: #2456c8;
  --green: #23a55c;
  --teal: #17bfa6;
  --sky: #f2f7fd;
  --text: #26324b;
  --muted: #67748e;
  --line: #e3e9f4;
  --white: #ffffff;
  --radius: 14px;
  --shadow-card: 0 1px 3px rgba(20, 48, 110, 0.05), 0 8px 24px rgba(20, 48, 110, 0.06);
  --shadow-art: 0 24px 64px rgba(20, 48, 110, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ===== 导航：透明覆盖首屏，滚出后实心 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; gap: 36px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo-white { display: none; }
.nav:not(.solid) .brand-logo-green { display: none; }
.nav:not(.solid) .brand-logo-white { display: block; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.85); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
.nav.solid .nav-links a { color: var(--text); }
.nav.solid .nav-links a:hover { color: var(--blue); }
.nav-toggle { display: none; }

/* ===== Hero：深夜蓝沉浸首屏 + 流光飘带 ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 90% at 78% 6%, #1a4a9e 0%, rgba(26, 74, 158, 0) 55%),
    radial-gradient(90% 70% at 8% 90%, rgba(23, 191, 166, 0.14) 0%, rgba(23, 191, 166, 0) 60%),
    linear-gradient(172deg, #0d2a66 0%, #0a1f4e 52%, #071740 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.hero-glow {
  position: absolute; z-index: 0; left: 50%; bottom: -22%;
  width: 130%; height: 64%; transform: translateX(-50%);
  background: radial-gradient(50% 62% at 50% 100%, rgba(23, 191, 166, 0.32) 0%, rgba(36, 86, 200, 0.18) 45%, rgba(23, 191, 166, 0) 75%);
  pointer-events: none;
}
.hero-watermark {
  position: absolute; z-index: 1; right: 2%; top: 44%;
  transform: translateY(-50%);
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(120px, 15vw, 220px); font-weight: 900; line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.045);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.11);
  user-select: none; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  flex: 1; display: flex; align-items: center;
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 130px 28px 36px;
}
.hero-copy { max-width: 760px; }
/* 入场编排：逐层升起（translate 属性，不与 JS transform 视差冲突） */
.hero-kicker, .hero h1 .line, .hero-sub, .hero-actions {
  opacity: 0;
  animation: hero-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 .line { display: inline-block; }
.hero h1 .line-2 { animation-delay: 0.16s; }
.hero-sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.46s; }
@keyframes hero-rise {
  from { opacity: 0; translate: 0 36px; }
  to { opacity: 1; translate: 0 0; }
}
.hero-watermark { opacity: 0; animation: wm-in 1.6s 0.35s ease-out forwards; }
@keyframes wm-in {
  from { opacity: 0; translate: 60px 0; }
  to { opacity: 1; translate: 0 0; }
}
.hero-wave { opacity: 0; animation: wave-in 1.3s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes wave-in {
  from { opacity: 0; translate: 0 60px; }
  to { opacity: 1; translate: 0 0; }
}

.hero-kicker { font-size: 15px; font-weight: 700; letter-spacing: 0.3em; color: #38e0c4; }
.hero h1 {
  margin-top: 20px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(52px, 7.6vw, 92px); font-weight: 900; line-height: 1.14;
  letter-spacing: 0.02em; color: var(--white);
  text-shadow: 0 2px 40px rgba(6, 16, 44, 0.5);
}
.hero-sub { margin-top: 24px; max-width: 30em; font-size: 17.5px; color: rgba(226, 236, 252, 0.78); }
.hero-actions { margin-top: 40px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  background: var(--white); color: var(--ink-deep); font-size: 15.5px; font-weight: 800;
  box-shadow: 0 10px 34px rgba(23, 191, 166, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(23, 191, 166, 0.3) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform 0.65s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(23, 191, 166, 0.4); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-link { font-size: 15.5px; font-weight: 700; color: var(--white); }
.btn-link span { color: #38e0c4; }
.btn-link:hover { color: #38e0c4; }

/* 向下滚动提示 */
.scroll-cue {
  position: absolute; z-index: 4; left: 50%; bottom: 30px;
  width: 1px; height: 58px; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22); overflow: hidden;
  opacity: 0; animation: cue-in 1s 1.2s ease-out forwards;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -30%;
  width: 100%; height: 30%;
  background: linear-gradient(180deg, transparent, #7ef0d4);
  animation: cue-drop 2.1s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}
@keyframes cue-in { to { opacity: 1; } }
@keyframes cue-drop {
  from { top: -30%; }
  to { top: 110%; }
}

/* ===== 数据条（关于我们顶部） ===== */
.stats-strip {
  margin: -12px 0 56px; padding-top: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stats-strip > div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats-strip > div:first-child { padding-left: 0; border-left: 0; }
.stats-strip dt { font-size: 13px; color: var(--muted); }
.stats-strip dd {
  margin-top: 4px; font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 34px; font-weight: 900; color: var(--ink); letter-spacing: 0.01em;
}

.hero-wave {
  position: absolute; left: 50%; bottom: -4px; z-index: 1;
  width: 124%; min-width: 1200px; height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 -14px 46px rgba(23, 191, 166, 0.3));
  pointer-events: none;
}

/* ===== 滚动 reveal ===== */
.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), translate 0.85s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ===== 通用 section ===== */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-alt { background: var(--sky); }
.section-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.sec-ghost {
  position: absolute; top: 40px; right: -1%; z-index: 0;
  font-family: "Noto Serif SC", serif; font-weight: 900;
  font-size: clamp(140px, 18vw, 260px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20, 48, 110, 0.07);
  user-select: none; pointer-events: none;
}
.sec-ghost-dark { -webkit-text-stroke-color: rgba(255, 255, 255, 0.08); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.sec-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.32em;
  color: var(--teal); margin-bottom: 16px;
}
.section-dark .sec-eyebrow { color: #38e0c4; }
.section-head h2 {
  position: relative; padding-bottom: 18px;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(36px, 4.6vw, 54px); font-weight: 900; color: var(--ink); letter-spacing: 0.02em;
}
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 52px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-head.in h2::after { transform: scaleX(1); }
.section-lead { margin-top: 14px; font-size: 16.5px; color: var(--muted); }

/* ===== 关于我们 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: start; }
.about-lede {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 2;
  color: var(--ink); letter-spacing: 0.015em;
}
.about-text { font-size: 15.5px; }
.about-text p + p { margin-top: 1.4em; color: var(--muted); }
.about-facts {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 32px 26px;
  box-shadow: 0 1px 3px rgba(20, 48, 110, 0.04);
}
.facts-title {
  font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900;
  font-size: 17px; color: var(--ink); letter-spacing: 0.12em;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
.about-facts dl > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-facts dl > div:last-child { border-bottom: 0; }
.about-facts dt { font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; }
.about-facts dd { margin-top: 3px; font-size: 15px; font-weight: 600; color: var(--text); }

/* ===== 战略体系：去卡片化，编号+发丝线 ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar { position: relative; padding-top: 30px; border-top: 2px solid var(--ink); }
.pillar-no {
  position: absolute; top: 18px; right: 0;
  font-family: "Noto Serif SC", serif; font-weight: 900;
  font-size: 56px; line-height: 1; color: rgba(20, 48, 110, 0.1);
}
.pillar h3 {
  font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900;
  font-size: 24px; color: var(--ink); letter-spacing: 0.04em;
}
.pillar p { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.systems { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.systems-block { border-top: 1px solid rgba(20, 48, 110, 0.3); padding-top: 22px; }
.systems-block h4 {
  font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900;
  font-size: 17px; color: var(--ink); letter-spacing: 0.1em;
}
.tag-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li {
  padding: 6px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); border: 1px solid rgba(20, 48, 110, 0.25);
}
.systems-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ===== 招聘岗位：大厂列表式 ===== */
.jobs-list { border-top: 1px solid var(--line); }
.job-row { border-bottom: 1px solid var(--line); }
.job-row summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 24px;
  padding: 26px 8px;
}
.job-row summary::-webkit-details-marker { display: none; }
.job-row summary:hover { background: #f7fafd; }
.job-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.job-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 21px; font-weight: 900; color: var(--ink); letter-spacing: 0.02em;
}
.job-meta { font-size: 13px; color: var(--muted); }
.job-salary { flex: none; font-size: 20px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.job-salary small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.job-arrow {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: transform 0.18s ease;
}
.job-row[open] .job-arrow { transform: rotate(90deg); border-color: var(--teal); color: var(--teal); }
.job-detail { padding: 4px 8px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job-detail h5 { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.05em; margin-bottom: 10px; }
.job-duty { font-size: 14px; color: var(--muted); line-height: 1.8; }
.job-duty li { margin-left: 1.1em; }
.job-reqs { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.job-reqs span {
  font-size: 12.5px; padding: 4px 12px; border-radius: 6px;
  background: var(--sky); color: var(--muted); border: 1px solid var(--line);
}
.job-salary-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.job-actions { margin-top: 14px; display: flex; gap: 18px; }
.job-poster-link, .job-mail-link {
  font-size: 13.5px; font-weight: 700; color: var(--teal);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.job-poster-link:hover, .job-mail-link:hover { color: var(--green); text-decoration: underline; }
.job-mail-link { color: var(--blue); }

.rail-head {
  margin-top: 44px; display: flex; align-items: baseline; gap: 12px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.rail-head span { font-size: 12.5px; font-weight: 400; color: var(--muted); }
/* ===== 海报轮播：居中大图 + 两侧预览 ===== */
.rail-count { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0.14em; }
.carousel { position: relative; margin-top: 18px; }
.car-viewport { overflow: hidden; padding: 14px 0 8px; }
.car-track {
  display: flex; gap: 40px;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.car-slide {
  flex: none; width: min(420px, 74vw);
  display: flex; justify-content: center;
  opacity: 0.3; transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}
.car-slide.on { opacity: 1; transform: none; cursor: zoom-in; }
.car-slide img {
  width: 100%; height: auto; border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(20, 48, 110, 0.16);
}
.car-slide:not(.on) img { box-shadow: none; }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(20, 48, 110, 0.12);
  transition: background 0.18s ease, color 0.18s ease;
}
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0;
  background: #cfd9ea; cursor: pointer; transition: all 0.3s ease;
}
.car-dots button.on { width: 28px; background: var(--ink); }
.car-dots button:hover { background: var(--blue); }

.jobs-apply {
  margin-top: 48px; padding: 34px 38px; border-radius: 4px;
  background: linear-gradient(115deg, var(--ink-deep), var(--ink) 60%, #1d4a9e);
  color: var(--white);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.jobs-apply p {
  font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900;
  font-size: 18px; letter-spacing: 0.08em; color: var(--white);
}
.apply-item { font-size: 18px; font-weight: 700; color: var(--white); }
.apply-item:hover { color: var(--teal); }
.apply-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.3); }

/* ===== 联系我们 ===== */
.section-dark { background: var(--ink-deep); color: var(--white); }
.section-dark .section-head h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.contact-item { border-top: 1px solid rgba(255,255,255,0.28); padding-top: 22px; }
.contact-item h3 {
  font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 900;
  font-size: 16px; color: #8fd8c8; letter-spacing: 0.14em;
}
.contact-item p { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.contact-item a { color: var(--white); font-weight: 600; }
.contact-item a:hover { color: var(--teal); }

/* ===== 页脚 ===== */
.footer { background: #0a1836; color: #8fa3cf; padding: 34px 0; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 28px; font-size: 13.5px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 12px; }
.footer .beian { margin-top: 4px; font-size: 12.5px; }
.footer .beian a { color: #7288b8; }
.footer .beian a:hover { color: #a9bfe8; }

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 18, 42, 0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; max-width: min(720px, 92vw); border-radius: 8px; box-shadow: 0 18px 44px rgba(0,0,0,0.45); }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 26px; line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-inner { padding: 116px 28px 28px; }
  .hero-copy { max-width: 100%; }
  .hero-watermark { font-size: clamp(96px, 22vw, 170px); right: -2%; top: 42%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stats-strip > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-wave { width: 170%; min-width: 760px; }
  .about-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .systems { grid-template-columns: 1fr; }
  .job-detail { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { height: 64px; padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
  .nav.solid .nav-toggle span { background: var(--ink); }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20,48,110,0.1);
  }
  .nav-links.open a { padding: 12px 24px; color: var(--text); }
  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .hero-inner { padding: 100px 20px 24px; }
  .stats-strip dd { font-size: 24px; }
  .hero h1 { font-size: clamp(44px, 13vw, 56px); }
  .job-row summary { gap: 12px; padding: 22px 4px; flex-wrap: wrap; }
  .job-salary { font-size: 17px; }
  .job-arrow { display: none; }
  .jobs-apply { flex-direction: column; align-items: flex-start; gap: 8px; }
  .apply-sep { display: none; }
  .poster-rail img { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster-rail img, .job-arrow, .btn-primary, .btn-primary::after, .section-head h2::after { transition: none; }
  .hero-kicker, .hero h1 .line, .hero-sub, .hero-actions, .hero-watermark, .hero-wave, .scroll-cue { animation: none; opacity: 1; }
  .scroll-cue::after { animation: none; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
}
