/*
 * LineXSI 官网 · 样式
 * 设计令牌取自《LineXSI 公司简介》PPT：纯黑底 + 橙铜色 + 终端 / 代码风标签。
 * 动画原则：缓慢、克制（主揭示 1.8–2.2s，--ease-reveal 柔和缓出、小位移；悬停等即时反馈用 --ease），全部尊重 prefers-reduced-motion；
 * 揭示隐藏态只在 html.js 下生效，?noanim（html.no-anim）时全部直接可见。
 */

/* ---------- 0. Fonts ---------- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0D0D0E;
  --title: #FFB279;
  --text: #E5B08B;
  --accent: #FF863D;
  --muted: #D89469;
  --dim: #BB805E;
  --line: #513021;
  --wire: #A8653D;
  --card: #1B1512;
  --card-head: #2C1D17;
  --box: #171311;
  --box-root: #322015;
  --soft: #CDBFB2;              /* PPT 封面副标题色 */
  --veil: rgba(0, 0, 0, .55);   /* PPT 内容页压在地球上的遮罩 */
  --card-glass: rgba(24, 19, 16, .9);
  --error: #FF8A5C;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);            /* 悬停、顶栏、菜单等即时反馈 */
  --ease-reveal: cubic-bezier(.22, .61, .36, 1);  /* 内容揭示：前段不过快，运动在整个时长里都看得见（50% ≈ 0.2T，90% ≈ 0.55T） */
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --header-h: 68px;
  --gutter: clamp(20px, 5.6vw, 80px);
  --maxw: 1280px;
  --shade: 0 0 2px rgba(13, 13, 14, .95), 0 1px 6px rgba(13, 13, 14, .9), 0 0 16px rgba(13, 13, 14, .9), 0 0 34px rgba(13, 13, 14, .75);   /* 与底色同色：纯黑处不可见，压在地球上时提升可读性 */
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #3a271d var(--bg);
  /* 键盘焦点（含 Shift+Tab 向上）滚入视口时停在固定顶栏下方，不被顶栏遮住 */
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.no-anim) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(255, 134, 61, .35); color: #FFF4EA; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #140B06;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .4s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Globe layers ---------- */
#globe-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.globe-fallback-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  pointer-events: none;
  background: #000 url("../img/earth-fallback.jpg") left bottom / cover no-repeat;
  opacity: .62;
}
html.globe-fallback .globe-fallback-layer { display: block; }
html.globe-fallback #globe-canvas { display: none; }
/* 无 JS 时 3D 地球不可用：直接显示静态地球图（PPT 原图） */
html.no-js .globe-fallback-layer { display: block; }
html.no-js #globe-canvas { display: none; }
/* 页脚的 NASA 夜光图署名只对应 3D 地球；显示兜底图（PPT 中的 AI 生成概念图）时不显示 */
html.globe-fallback .site-footer__credit, html.no-js .site-footer__credit { display: none; }

main, .site-footer { position: relative; z-index: 2; }
main:focus { outline: none; }

/* ---------- 4. Shared type ---------- */
.label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--accent);
  white-space: nowrap;
}
.mono-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--muted);
}
.h2 {
  margin-top: clamp(14px, 2vh, 22px);
  font-size: clamp(34px, 4.1vw, 60px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--title);
}
.h2--xl { font-size: clamp(44px, 5vw, 76px); }
.h3 {
  margin-top: 12px;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--title);
}
.lead {
  margin-top: clamp(26px, 4.6vh, 48px);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--title);
}
.lead--md { font-size: clamp(19px, 1.75vw, 26px); line-height: 1.7; }
.body-text {
  margin-top: clamp(20px, 3.4vh, 34px);
  max-width: 30em;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.85;
  color: var(--text);
}
.arrow { display: inline-block; transition: transform .9s var(--ease); }
/* 中文段落避免末行只剩一两个字（PPT 原稿是手工断行的）；标题均衡换行。不支持的浏览器忽略 */
.lead, .body-text, .row__desc, .trow__desc, .flow__desc, .step__desc, .col__desc, .job__intro, .tl-step__desc,
.detail__list li, .detail__text, .perk__text, .fact__val, .culture__note, .job__note-val, .jobs__note,
.campus-target__desc, .campus-guide__prep, .campus-guide__note, .site-footer__info { text-wrap: pretty; }
.h2, .h3, .hero__title { text-wrap: balance; }

/* 地球之上的文字：轻微暗影保证可读性（卡片内取消） */
main, .site-footer { text-shadow: var(--shade); }
.guide-card, .job, .form, .apply__card, .org__dept, .org__root, .entry, .btn, .chip, .toast, .campus-target { text-shadow: none; }

/* ---------- 5. Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .7s var(--ease), color .7s var(--ease), border-color .7s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #140B06; }
.btn--primary:hover { background: var(--title); }
.btn--ghost { background: rgba(13, 13, 14, .5); border-color: var(--line); color: var(--title); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(255, 134, 61, .08); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(13, 13, 14, .4);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}
.chip--link {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--title);
  transition: border-color .7s var(--ease), background-color .7s var(--ease), color .7s var(--ease);
}
.chip--link::before {
  content: "+";
  margin-right: 8px;
  font-family: var(--font-mono);
  color: var(--accent);
}
.chip--link:hover { border-color: var(--accent); background: rgba(255, 134, 61, .08); }

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform 1s var(--ease), background-color .8s ease, border-color .8s ease;
}
/* 无 JS 时顶栏永远不会加 is-scrolled：直接用滚动后的半透明底色，滚过去的正文不会从 Logo 和导航下面透出来 */
.site-header.is-scrolled, html.no-js .site-header {
  background: rgba(13, 13, 14, .78);
  border-bottom-color: rgba(81, 48, 33, .75);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner {
  height: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; padding: 8px 0; }
.brand img { height: 24px; width: auto; }

.site-menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-list { display: flex; gap: clamp(2px, .8vw, 10px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--text);
  transition: color .6s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--title); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link__idx { display: none; }
.nav-cta.is-active { background: var(--title); }
.site-menu__meta { display: none; }
.nav-toggle { display: none; }

/* ---------- 7. Progress / HUD / toast ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.hud {
  position: fixed;
  right: clamp(16px, 1.5vw, 28px);
  bottom: 32px;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .2em;
  color: var(--muted);
  text-shadow: var(--shade);
}
.hud__line { width: 1px; height: 44px; background: var(--line); }
.hud__text { writing-mode: vertical-rl; white-space: nowrap; }
@media (min-width: 1100px) { .hud { display: flex; } .no-js .hud { display: none; } }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 70;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  background: rgba(27, 21, 18, .97);
  border: 1px solid var(--line);
  color: var(--title);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 8. Sections & footers ---------- */
.section {
  position: relative;
  padding: calc(var(--header-h) + clamp(44px, 8vh, 104px)) 0 clamp(26px, 4vh, 40px);
}
.section--page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.section--page > .section__inner { flex: 1; display: flex; flex-direction: column; }
.section--page .section__body { margin-top: auto; margin-bottom: auto; }

.section-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(64px, 11vh, 128px);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--accent);
}
.section-foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.section-foot__path { color: var(--accent); }
.section-foot__num { color: var(--muted); }

.block-head { max-width: 46rem; }

/* 锚点落点：html 的 scroll-padding-top 已为顶栏留出 header + 16px。
   分区自身的上内边距已经避开顶栏，用等量的负 scroll-margin 让 #about 等分区锚点仍然正好落在分区顶部；
   嵌套锚点再多留 12px（合计 header + 28px，与之前一致） */
main > section[id] { scroll-margin-top: calc(-1 * (var(--header-h) + 16px)); }
.workflow, .access, .careers-block, .culture__block, #positions { scroll-margin-top: 12px; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(4px, 1.4vh, 24px));
  padding-bottom: 116px;
  text-align: center;
}
.hero__inner { flex: 1; display: flex; flex-direction: column; align-items: center; }
.hero__brand { display: flex; flex-direction: column; align-items: center; }

.hero-logo {
  position: relative;
  width: clamp(260px, min(40vw, 60vh), 640px);
  aspect-ratio: 1200 / 286;
  /* 柔光（screen 混合）只在 Logo 框内混合。不隔离时 Chromium 会把整个 <main> 变成单独的混合组，
     首屏入口卡片的毛玻璃（backdrop-filter）就取不到 main 之外的地球画布，模糊完全失效 */
  isolation: isolate;
}
.hero-logo img { width: 100%; height: auto; }
.hero-logo__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  -webkit-mask: url("../img/logo-1200.png") center / 100% 100% no-repeat;
  mask: url("../img/logo-1200.png") center / 100% 100% no-repeat;
  background: linear-gradient(104deg, rgba(255, 240, 224, 0) 40%, rgba(255, 240, 224, .7) 50%, rgba(255, 240, 224, 0) 60%) no-repeat;
  background-size: 260% 100%;
  background-position: 135% 0;
  mix-blend-mode: screen;
}

.hero__label { margin-top: clamp(10px, 2.2vh, 28px); }
.hero__title {
  margin-top: clamp(6px, 1.2vh, 14px);
  font-size: clamp(26px, min(3.2vw, 5.2vh), 48px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--title);
}
.hero__sub {
  margin-top: clamp(6px, 1.1vh, 14px);
  font-size: clamp(15px, min(1.4vw, 2.3vh), 20px);
  line-height: 1.6;
  letter-spacing: .08em;
  color: var(--soft);
}
.hero__mono {
  margin-top: clamp(4px, .8vh, 12px);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  color: var(--muted);
}

.hero__entries {
  margin-top: clamp(28px, 10vh, 120px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 228px));
  gap: 14px;
}
.entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 18px;
  background: rgba(13, 13, 14, .6);
  border: 1px solid rgba(81, 48, 33, .95);
  border-radius: 2px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: left;
  transition: border-color .9s var(--ease), background-color .9s var(--ease), translate .9s var(--ease);
}
.entry:hover { border-color: var(--accent); background: rgba(27, 21, 18, .78); translate: 0 -3px; }
.entry:hover .arrow { transform: translateX(5px); }
.entry__idx {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--muted);
}
.entry__text { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--title); }
.entry__text .arrow { color: var(--accent); margin-left: 2px; }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.hero__foot-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: clamp(18px, 3vh, 30px);
}
.hero__foot-inner a { pointer-events: auto; }
.hero__foot-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}
.hero__foot-row .section-foot__path { color: var(--accent); }
.hero__foot-row .section-foot__num { color: var(--muted); }

.scroll-hint {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .32em;
  color: var(--muted);
  padding: 4px 0 0;
}
.scroll-hint i {
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(255, 134, 61, .2);
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 45%;
  background: var(--accent);
  transform: translateY(-110%);
  animation: scroll-drop 3.2s var(--ease-io) infinite;
}

/* ---------- 10. Split layout + numbered rows (PPT 2/3/4) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.04fr);
  column-gap: clamp(40px, 4.6vw, 76px);
  align-items: start;
}
.split__rule {
  display: block;
  align-self: stretch;
  width: 1px;
  background: var(--line);
  transform-origin: top;
}

.rows { position: relative; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(44px, 4.6vw, 66px) minmax(0, 1fr);
  padding: clamp(22px, 3.6vh, 36px) 0;
}
.row:first-child { padding-top: 4px; }
.row:last-child { padding-bottom: 0; }
.row + .row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.row__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--muted);
  padding-top: .78em;
}
.row__title {
  font-size: clamp(20px, 1.75vw, 27px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--title);
}
.row__desc {
  margin-top: 10px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--text);
}
.row__link {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .9s var(--ease), color .6s ease;
}
.row__link:hover { background-size: 100% 1px; color: #FFC79C; }

/* ---------- 11. Business workflows (PPT 5/6/7) ---------- */
.split--overview { margin-top: 0; }
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(64px, 10vh, 112px);
}
.workflow { min-width: 0; }
.workflow .label { font-size: 11px; letter-spacing: .06em; }
.workflow .h3 { font-size: clamp(23px, 2.1vw, 30px); }

.steps { margin-top: clamp(26px, 4.4vh, 44px); }
.step { position: relative; padding: clamp(18px, 3vh, 28px) 0; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.step__title { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; font-weight: 600; color: var(--title); }
.step__desc { margin-top: 8px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.8; color: var(--text); }

/* Campus application guide */
.guide-card {
  position: relative;
  margin: 0;
  background: rgba(27, 21, 18, .95);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .85);
  font-family: var(--font-mono);
  color: var(--text);
}
.guide-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 24px;
  background: var(--card-head);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--muted);
}
.guide-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .1em;
  color: var(--muted);
}
.guide-card__foot .sq { display: block; width: 7px; height: 13px; background: var(--accent); }

/* Typewriter labels */
.tw__c { visibility: hidden; }
.tw__c.on { visibility: visible; }
.tw__caret { position: relative; display: inline-block; width: 0; height: 1em; vertical-align: -.12em; }
.tw__caret::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: .55em;
  height: 1.05em;
  background: currentColor;
  animation: caret-blink 1s steps(1, end) infinite;
}
.tw__caret.is-done { opacity: 0; transition: opacity .9s ease; }
.tw__caret.is-gone { display: none; }   /* 淡出后移除，不再保留无限闪烁动画（宽度为 0，不影响排版） */

/* ---------- 12. Operations flow ---------- */
.flow { position: relative; margin-top: clamp(40px, 7vh, 80px); padding-top: 64px; }
.flow__svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow__svg path { fill: none; stroke: var(--wire); stroke-width: 1.2; stroke-dasharray: 3 7; }
.flow__svg .flow__arrow path { fill: var(--accent); stroke: none; stroke-dasharray: none; }
.js:not(.no-anim) .flow__svg path.flow__path { animation: flow-dash 2.6s linear infinite; }
.flow__loop-label {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -100%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--dim);
  white-space: nowrap;
  visibility: hidden;
}
.flow__loop-label.is-placed { visibility: visible; }
.flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.flow__step { position: relative; padding: 46px 0 0; }
.flow__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border: 1px solid var(--accent);
  background: var(--bg);
}
.flow__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
  opacity: .9;
}
.flow__num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1; color: var(--muted); }
.flow__title { margin-top: 16px; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; font-weight: 600; color: var(--title); }
.flow__desc { margin-top: 14px; max-width: 24em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: var(--text); }

/* ---------- 13. Organization (PPT 9) ---------- */
.org { position: relative; margin-top: clamp(40px, 7vh, 84px); }
.org__wires {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.org__wires path { fill: none; stroke: var(--wire); stroke-width: 1; }
.org__root {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 17vw, 240px);
  min-height: 80px;
  margin: 0 auto;
  padding: 12px 20px;
  background: var(--box-root);
  border: 1px solid rgba(168, 101, 61, .45);
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--title);
}
.org__depts {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vh, 78px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.org__dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 20px 10px;
  background: rgba(23, 19, 17, .95);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color .9s var(--ease), background-color .9s var(--ease);
}
.org__dept:hover { border-color: var(--wire); background: rgba(34, 25, 20, .96); }
.org__dept strong { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.35; font-weight: 600; color: var(--title); white-space: nowrap; }
.org__dept span { font-size: 14px; line-height: 1.4; color: var(--text); }

/* ---------- 14. Principles rows (PPT 10) ---------- */
.trows { margin-top: clamp(36px, 6vh, 64px); }
.trow {
  position: relative;
  display: grid;
  grid-template-columns: clamp(56px, 5.8vw, 84px) minmax(0, .9fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: baseline;
  padding: clamp(26px, 4.4vh, 42px) 0;
}
.trow::before, .trow:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.trow::before { top: 0; }
.trow:last-child::after { bottom: 0; }
.trow__num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1; color: var(--muted); }
.trow__title { font-size: clamp(22px, 2.1vw, 31px); line-height: 1.35; font-weight: 600; color: var(--title); }
.trow__desc { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8; color: var(--text); }

/* ---------- 15. Workplace + access (PPT 13/14) ---------- */
/* PPT 第 13 页：方形品牌墙与两张竖图等高（1.78 ≈ 16/9）、说明文字在同一基线，茶歇区横图在行内垂直居中 */
.gallery--office {
  display: grid;
  grid-template-columns: 1.78fr 1fr 1fr 1.95fr;
  gap: clamp(14px, 1.8vw, 26px);
  align-items: center;
  margin-top: clamp(36px, 6vh, 64px);
}
.photo { position: relative; margin: 0; }
.photo__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar, 3 / 4);
  background: #16110E;
}
.photo__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 178, 121, .07);
  pointer-events: none;
}
.photo--square { --ar: 1 / 1; }
.photo--portrait, .photo--tall { --ar: 9 / 16; }
.photo--wide { --ar: 1600 / 739; }
/* 照片完整显示；只有视差开启时（html.has-parallax，main.js 按每张照片的最大位移写入 --plx）才上下多留余量 */
.photo__media {
  position: absolute;
  inset: 0;
}
.has-parallax .photo__media { top: calc(-1 * var(--plx, 40px)); bottom: calc(-1 * var(--plx, 40px)); }
.photo__media picture, .photo__media img { width: 100%; height: 100%; }
.photo__media img { object-fit: cover; transform-origin: 50% 50%; }
.photo figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.photo__idx { font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--dim); }

.access {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 2.08fr);
  gap: clamp(32px, 4.6vw, 72px);
  align-items: end;
  margin-top: clamp(120px, 20vh, 220px);
}
.h2--stack { font-size: clamp(36px, 4.2vw, 62px); }
.rule {
  display: block;
  height: 1px;
  margin: clamp(26px, 4.4vh, 44px) 0;
  background: var(--line);
  transform-origin: left;
}
.facts { display: grid; gap: clamp(22px, 3.8vh, 38px); }
.fact__key {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--accent);
}
.fact__cn { margin-left: 8px; font-family: var(--font-sans); font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.fact__val { margin-top: 10px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; color: var(--text); }
.access__map { margin-top: clamp(28px, 4.6vh, 44px); }
.gallery--access {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

/* ---------- 16. Careers ---------- */
/* 人才培养 / 全球 AI 算力支持 / 开放交流：三块上下排列，行版式同公司简介第 11–13 页（编号 · 标题 · 说明，行间细线） */
.culture {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(88px, 14vh, 150px);
  max-width: 960px;               /* 兜底地球图 / 竖屏时内容列不受地球限制，行也不拉得过宽 */
  margin-top: clamp(80px, 13vh, 140px);
}
.culture .trows { margin-top: clamp(24px, 4vh, 38px); }
.trows--compact .trow {
  grid-template-columns: clamp(44px, 4.6vw, 66px) minmax(0, .82fr) minmax(0, 1fr);
  column-gap: clamp(16px, 1.8vw, 26px);
  padding: clamp(18px, 3vh, 28px) 0;
}
.trows--compact .trow__title { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; }
.trows--compact .trow__desc { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.8; }
.culture__note {
  margin-top: clamp(18px, 3vh, 26px);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
  font-weight: 600;
  color: var(--title);
}
/* 加入我们 · 快速导航（在招岗位 / 投递方式 / 校园招聘）：沿用合作方向的 chip 样式，"+" 换成向下箭头（不读出） */
.careers-index { margin-top: clamp(20px, 3vh, 28px); }
.careers-index .chip--link::before { content: "↓"; content: "↓" / ""; }
.careers-block { margin-top: clamp(100px, 16vh, 170px); }
.careers-block__head { margin-bottom: clamp(26px, 4.4vh, 42px); }

.jobs { display: grid; gap: 18px; }
.job {
  position: relative;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--card-glass);
  border: 1px solid var(--line);
  transition: border-color .9s var(--ease), background-color .9s var(--ease);
}
.job:hover, .job.is-open { border-color: rgba(168, 101, 61, .95); }
.job__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 28px;
  align-items: start;
}
.job__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.job__no {
  margin-right: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--dim);
}
.job__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--muted);
}
.job__title {
  margin-top: 14px;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  color: var(--title);
}
.job__pay { text-align: right; padding-top: 2px; }
.job__salary-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.job__salary {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
  white-space: nowrap;
}
.job__salary-label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.job__bonus { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--dim); }
/* 薪资下方的补充说明：实习说明 + 建议准备的材料（jobs.js internNote / materials） */
.job__notes {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
  align-items: baseline;
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(13, 13, 14, .45);
  border: 1px solid rgba(81, 48, 33, .7);
}
.job__note-key { font-size: 13px; line-height: 1.7; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.job__note-mark { margin-right: 8px; font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.job__note-val { font-size: 14px; line-height: 1.75; color: var(--text); }
.jobs__note { margin-top: 22px; max-width: 52em; font-size: 14px; line-height: 1.85; color: var(--muted); }
.job__intro {
  margin-top: 18px;
  max-width: 48em;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text);
}
.job__keywords { margin-top: 16px; }
.job__details {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 1.2s var(--ease), visibility 0s linear 1.2s;
}
.job.is-open .job__details {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 1.2s var(--ease), visibility 0s;
}
.job__details-inner { min-height: 0; overflow: hidden; }
.job__details-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
  padding-top: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform 1s var(--ease);
}
.job.is-open .job__details-body { opacity: 1; transform: none; transition-delay: .25s; }
.detail--full { grid-column: 1 / -1; }
.detail__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--title);
}
.detail__title .mono-tag { color: var(--accent); }
.detail__list { margin-top: 10px; counter-reset: dl; }
.detail__list li {
  counter-increment: dl;
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 7px 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}
.detail__list li::before {
  content: counter(dl, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 2.35;
  color: var(--dim);
}
.detail__text { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--text); }

.job__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.job__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  padding: 8px 0;
  background: none;
  border: 0;
  font-size: 15px;
  color: var(--title);
  cursor: pointer;
}
.job__toggle-icon { position: relative; width: 14px; height: 14px; flex: none; }
.job__toggle-icon::before, .job__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1px;
  background: var(--accent);
  transition: transform .9s var(--ease);
}
.job__toggle-icon::after { transform: rotate(90deg); }
.job.is-open .job__toggle-icon::after { transform: rotate(0deg); }

/* 静态岗位列表：无 JS 时显示；有 JS 时只在岗位数据不可用（html.jobs-fallback，见 main.js / index.html 安全网）时显示 */
.js .jobs-static-wrap { display: none; }
.js.jobs-fallback .jobs-static-wrap { display: block; }
.jobs-static { display: grid; gap: 10px; }
.jobs-static li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 16px 18px;
  background: var(--card-glass);
  border: 1px solid var(--line);
}
.jobs-static strong { color: var(--title); font-size: 18px; }
.jobs-static span { grid-column: 1; font-size: 13px; color: var(--muted); }
.jobs-static em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.jobs-static__note { margin-top: 16px; font-size: 15px; }
.jobs-static__note a { color: var(--title); text-decoration: underline; text-underline-offset: 3px; }

/* Benefits：左列"全职薪酬与福利"，右列工作地点 / 全职工作时间 / 实习安排（校园招聘计划第 13 页的分组） */
.perks__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 64px); align-items: start; }
.perks__key { margin-bottom: 14px; }
.perk {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 18px 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--title);
}
.perk::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.perk:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}
.perk__num { font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 2.1; color: var(--muted); }
.facts--perks .fact__val { font-size: clamp(16px, 1.35vw, 19px); }

/* Process timeline */
.timeline { position: relative; }
.timeline__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: var(--wire);
  transform-origin: left;
}
.timeline__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.tl-step { position: relative; padding-top: 36px; }
.tl-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border: 1px solid var(--accent);
  background: var(--bg);
}
.tl-step__num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 1; color: var(--muted); }
.tl-step__title { margin-top: 12px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.4; font-weight: 600; color: var(--title); }
.tl-step__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--text); }

/* Apply */
.apply__card {
  padding: clamp(24px, 3vw, 40px);
  background: var(--card-glass);
  border: 1px solid var(--line);
}
.apply__hint-top { font-size: 14px; font-weight: 600; color: var(--muted); }
.email-big {
  display: inline-block;
  margin-top: 8px;
  max-width: 100%;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--title);
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 1s var(--ease), color .6s ease;
}
.email-big:hover { background-size: 100% 1px; color: #FFC79C; }
.apply__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* 两种邮件标题：社会招聘 / 应届生与实习生（后者链接到 #campus），各占一行 */
.apply__hints { display: grid; gap: 6px; margin-top: 16px; }
.apply__hint { font-size: 14px; line-height: 1.6; color: var(--dim); }
/* 标题模板放不下时整体换到下一行，不在模板中间断开；仍放不下时只在 "-" "/" 处换行、末行不只剩"实习"（与投递指南里的标题模板一致） */
.apply__tpl { display: inline-block; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.apply__who { font-weight: 600; color: var(--muted); }
.apply__who--link {
  text-decoration: underline;
  text-decoration-color: var(--wire);
  text-underline-offset: 3px;
  transition: color .6s ease, text-decoration-color .6s ease;
}
.apply__who--link:hover { color: var(--title); text-decoration-color: var(--accent); }

/* Campus recruitment（校园人才招聘计划）：招聘对象两张卡、"岗位方向"表（jobs.js 渲染）、投递指南卡片、欢迎交流 */
.campus__audience {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--soft);
}
.lead.campus__lead { margin-top: clamp(10px, 1.6vh, 16px); }
.campus__lead span { display: inline-block; }   /* 两个分句各自成行时才换行，不在分句中间断开 */
.campus__part { margin-top: clamp(44px, 7vh, 72px); }
.sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--title);
}
.sub-head .mono-tag { color: var(--accent); }
.campus__targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.campus-target {
  padding: clamp(20px, 2vw, 28px);
  background: var(--card-glass);
  border: 1px solid var(--line);
  transition: border-color .9s var(--ease);
}
.campus-target:hover { border-color: rgba(168, 101, 61, .95); }
.campus-target__idx { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: .1em; color: var(--dim); }
.campus-target__title { margin-top: 14px; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; font-weight: 600; color: var(--title); }
.campus-target__desc { margin-top: 10px; font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.85; color: var(--text); }

.campus-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.campus-table th, .campus-table td {
  padding: 15px 18px 15px 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--line);
}
.campus-table th:last-child, .campus-table td:last-child { padding-right: 0; }
/* 两列（岗位方向 · 应届全职参考月薪）：月薪列靠右，与窄屏时一致；建议准备的材料只在岗位卡片上 */
.campus-table :is(th, td):nth-child(2) { text-align: right; }
/* 表头不换行：320–369px 宽的手机上"应届全职参考月薪"不会把"薪"单独挤到第二行 */
.campus-table thead th { padding-top: 6px; padding-bottom: 12px; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.campus-table tbody th { font-weight: 600; color: var(--title); }
.campus-table__link {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .9s var(--ease), color .6s ease;
}
.campus-table__link:hover { background-size: 100% 1px; color: #FFC79C; }
.campus-table__pay { font-family: var(--font-mono); font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.01em; color: var(--accent); white-space: nowrap; }

/* 投递指南：终端卡片外框（标题栏 + 底栏），正文用中文字体 */
.campus-guide { margin-top: clamp(44px, 7vh, 72px); }
.campus-guide__body { padding: clamp(22px, 2.4vw, 30px) 24px clamp(24px, 2.6vw, 32px); font-family: var(--font-sans); }
.campus-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(28px, 3.4vw, 48px); }
.campus-guide__prep, .campus-guide__note { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--text); }
.campus-guide__subject {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(13, 13, 14, .6);
  border: 1px solid var(--line);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--title);
  word-break: keep-all;        /* 标题模板只在 "-" "/" 处换行，不把"实习"拆成两行 */
  overflow-wrap: anywhere;
  text-wrap: pretty;           /* 需要换行时在"姓名-"后换，末行不只剩"实习" */
}
.campus-guide__actions { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }

.campus-connect__chips { margin-top: 16px; }
.campus-connect__fine { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }
/* 校园招聘的结语：与开头引言同一种安静的 lead，两个分句各自成行时才换行 */
.lead.campus__outro { margin-top: clamp(44px, 7vh, 72px); }
.campus__outro span { display: inline-block; }

/* ---------- 17. Partnership (PPT 15/16) ---------- */
.partner { margin-top: clamp(32px, 5vh, 52px); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.col { position: relative; padding-top: 26px; }
.col::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.col__num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 1; color: var(--muted); }
.col__title { margin-top: 18px; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.35; font-weight: 600; color: var(--title); }
.col__desc { margin-top: 12px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.8; color: var(--text); }
.partner__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: start;
  margin-top: clamp(36px, 5.4vh, 56px);
}
.directions__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--accent);
}
.directions .chips { margin-top: 16px; gap: 10px; }

/* ---------- 18. Contact (finale) ---------- */
/* 横屏时在完整地球左缘前收住（--finale-max 由 main.js 按 finale 关键帧计算），竖屏 / 无 JS 时最宽 560px */
.contact__col { max-width: clamp(260px, var(--finale-max, 560px), 560px); }
.contact__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: clamp(18px, 3vh, 30px);
}
.contact__mail-label { width: 100%; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.contact__mail .email-big { margin-top: 0; font-size: clamp(26px, 2.6vw, 38px); }

.form {
  margin-top: clamp(24px, 3.6vh, 36px);
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--card-glass);
  border: 1px solid var(--line);
}
.form__title { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--title); }
.form__title .mono-tag { color: var(--accent); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; margin-top: 14px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: inline-flex; gap: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.req { color: var(--accent); }
.field__input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 13px;
  background: rgba(13, 13, 14, .78);
  border: 1px solid rgba(168, 101, 61, .8);   /* ≥ 3:1，输入框边界清晰可辨（WCAG 1.4.11） */
  border-radius: 2px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--title);
  transition: border-color .6s ease, box-shadow .6s ease;
}
.field__input::placeholder { color: var(--dim); opacity: 1; }   /* 占位文字带填写提示，需 ≥ 4.5:1 */
.field__input:hover { border-color: var(--wire); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
textarea.field__input { min-height: 96px; resize: vertical; }
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: calc(50% + 2px);
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.select select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer; }
.select option { background: var(--card); color: var(--title); }
.field__error { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.form__note { font-size: 12.5px; line-height: 1.6; color: var(--dim); }
.form__status { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--title); }
.form__status:empty { display: none; }
/* 提交后显示的完整邮件（收件人 / 主题 / 正文），邮件客户端未打开或草稿被截短时可复制 */
.form__compose { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.form__compose[hidden] { display: none; }
.form__compose-head { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--title); }
.form__compose-head .mono-tag { color: var(--accent); }
.form__compose-text {
  margin: 10px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 12px 14px;
  background: rgba(13, 13, 14, .78);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.form__compose-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* ---------- 19. Site footer ---------- */
.site-footer { padding: clamp(40px, 7vh, 72px) 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 32px 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.site-footer__brand img { width: auto; height: 26px; }
.site-footer__tagline { margin-top: 16px; font-size: 14px; color: var(--muted); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 36px; font-size: 14px; align-content: start; }
.site-footer__nav a { color: var(--text); transition: color .6s ease; }
.site-footer__nav a:hover { color: var(--title); }
.site-footer__info { display: grid; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--text); }
.site-footer__info li { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: baseline; gap: 12px; }
.site-footer__info a { color: var(--title); overflow-wrap: anywhere; }
/* 地址 / 地铁只在空格处换行（"……B3 栋 ⏎ 1221 室""……3C ⏎ 出入口"），不把"出入口"拆开；页脚收进地球左侧的窄列与小屏手机都受益 */
.site-footer__info li > span:not(.mono-tag) { word-break: keep-all; overflow-wrap: anywhere; }
.site-footer__info a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* 公司主体信息（公司简介第 17 页）：底栏第一行（标签 · 公司全称 · 统一社会信用代码），下一行是版权与署名。
   不再单独成块（分隔线 + 大字号两行）：页脚每高一点，滚到底时上方三栏就被推上去一点，压到 finale 的完整地球上 */
.site-footer__company { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.site-footer__company-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-size: 12px; line-height: 1.6; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.site-footer__company-tag { font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--accent); }
.site-footer__company-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
/* 标签与内容放不下一行时（页脚收进约 240–260px 的窄列）整体换行，不把"公司全称""统一社会信用代码"拆成两行 */
.site-footer__company-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.site-footer__company-item dt { font-size: 12px; color: var(--dim); }
.site-footer__company-item dd { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.site-footer__company-item .site-footer__uscc { font-family: var(--font-mono); font-weight: 700; letter-spacing: .04em; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
}
/* 页脚与 finale 的完整地球同屏（滚到底时）：
   (a) 横屏（html.footer-col，--footer-max 由 main.js 按 finale 关键帧计算）：页脚各栏和"期待合作"的页码行收在地球连同大气光晕
       左缘前 48px 的一列里。Logo + 标语与页脚导航一行，邮箱 / 地址 / 地铁在下一行，列更窄时自动上下堆叠；底栏只在滚到底时整行都
       落在地球与光晕之下才占满整行，否则同样收进这一列（html.footer-wrap）。兜底静态地球图时不收列。 */
html.footer-col:not(.globe-fallback) :is(.site-footer__grid, #contact .section-foot) { max-width: var(--footer-max, none); }
html.footer-col:not(.globe-fallback) .site-footer__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px clamp(40px, 5vw, 72px); }
html.footer-col:not(.globe-fallback) .site-footer__info { flex: 1 1 100%; }
html.footer-col.footer-wrap:not(.globe-fallback) .site-footer__bottom { max-width: var(--footer-max, none); }
/* (b) 竖屏、横放手机（以及收不下一列的窄横屏、兜底地球图、无 JS 时的静态地球图）：页脚背景是一层柔和的渐变遮罩，顶边完全透明，
       约 140px 内按 smoothstep（起点斜率为 0，看不出硬边）过渡到 86% 底色并保持：地球沉到页脚后面，文字落在暗底上。内容顺序不变 */
html.js:not(.footer-col) .site-footer, html.js.globe-fallback .site-footer, html.no-js .site-footer {
  background-image: linear-gradient(to bottom,
    rgba(13, 13, 14, 0) 0, rgba(13, 13, 14, .024) 14px, rgba(13, 13, 14, .089) 28px, rgba(13, 13, 14, .186) 42px,
    rgba(13, 13, 14, .303) 56px, rgba(13, 13, 14, .43) 70px, rgba(13, 13, 14, .557) 84px, rgba(13, 13, 14, .674) 98px,
    rgba(13, 13, 14, .771) 112px, rgba(13, 13, 14, .836) 126px, rgba(13, 13, 14, .86) 140px);
}
/*     竖屏滚到底时，页脚上方"期待合作"的页码行（linexsi / connect.md · 11）压在完整地球的上半部（大气边缘与城市灯光）：
       两段文字各垫一层柔和的暗底（与底色同色、模糊成胶囊形；压在纯黑处看不见，也不调暗地球的其余部分），字后面不再有亮的灯光 */
html.page-portrait #contact .section-foot > * { position: relative; isolation: isolate; }
html.page-portrait #contact .section-foot > *::after {
  content: "";
  position: absolute;
  inset: -3px -10px;
  z-index: -1;
  border-radius: 12px;
  background: rgba(13, 13, 14, .78);
  filter: blur(7px);
  pointer-events: none;
}

/* ---------- 20. Reveal system (only with .js, never with .no-anim) ---------- */
.js:not(.no-anim) [data-reveal]:not(.is-in) { opacity: 0; }
.js:not(.no-anim) [data-reveal="line"]:not(.is-in) { opacity: 1; transform: scaleX(0); }
.js:not(.no-anim) .rule-v[data-reveal="line"]:not(.is-in) { transform: scaleY(0); }
.js:not(.no-anim) [data-reveal="draw"]:not(.is-in) { opacity: 1; clip-path: inset(-24px 100% -24px -24px); }
.js:not(.no-anim) [data-reveal="logo"]:not(.is-in),
.js:not(.no-anim) [data-reveal="org"]:not(.is-in) { opacity: 1; }

.js:not(.no-anim) [data-reveal].is-in { animation: reveal-up 1.8s var(--ease-reveal) var(--d, 0ms) both; }
.js:not(.no-anim) [data-reveal="fade"].is-in { animation-name: reveal-fade; animation-duration: 2s; }
.js:not(.no-anim) [data-reveal="mask"].is-in { animation-name: reveal-mask; animation-duration: 2s; }
.js:not(.no-anim) [data-reveal="line"].is-in { animation-name: reveal-line; animation-duration: 2.2s; }
.js:not(.no-anim) .rule-v[data-reveal="line"].is-in { animation-name: reveal-vline; animation-duration: 2.2s; }
.js:not(.no-anim) [data-reveal="draw"].is-in { animation-name: reveal-draw; animation-duration: 2.2s; animation-timing-function: var(--ease-io); }
.js:not(.no-anim) [data-reveal="type"].is-in,
.js:not(.no-anim) [data-reveal="logo"].is-in,
.js:not(.no-anim) [data-reveal="org"].is-in { animation: none; }

/* Row / step separators draw from left as their row reveals */
.js:not(.no-anim) .row:not(.is-in)::before,
.js:not(.no-anim) .step:not(.is-in)::before,
.js:not(.no-anim) .trow:not(.is-in)::before,
.js:not(.no-anim) .trow:not(.is-in)::after,
.js:not(.no-anim) .col:not(.is-in)::before,
.js:not(.no-anim) .perk:not(.is-in)::before,
.js:not(.no-anim) .section-foot:not(.is-in)::before { transform: scaleX(0); }
.js:not(.no-anim) .row.is-in::before,
.js:not(.no-anim) .step.is-in::before,
.js:not(.no-anim) .trow.is-in::before,
.js:not(.no-anim) .trow.is-in::after,
.js:not(.no-anim) .col.is-in::before,
.js:not(.no-anim) .perk.is-in::before,
.js:not(.no-anim) .section-foot.is-in::before { animation: reveal-line 2.2s var(--ease-reveal) calc(var(--d, 0ms) + 120ms) both; }

/* Hero logo: slow fade + blur to sharp, then an occasional soft sheen */
.js:not(.no-anim) [data-reveal="logo"] img {
  opacity: 0;
  filter: blur(16px);
  transform: scale(1.035);
  transition: opacity 2.8s var(--ease-reveal), filter 3.2s var(--ease-reveal), transform 3.6s var(--ease-reveal);
}
.js:not(.no-anim) [data-reveal="logo"].is-in img { opacity: 1; filter: blur(0); transform: none; }
.js:not(.no-anim) [data-reveal="logo"].is-in .hero-logo__sheen { animation: logo-sheen 10s var(--ease-io) 3.4s infinite; }

/* Photos: slow Ken Burns after reveal */
.js:not(.no-anim) .photo:not(.is-in) .photo__media img { transform: scale(1.08); }
.js:not(.no-anim) .photo.is-in .photo__media img { animation: ken-burns 9s var(--ease-soft) var(--d, 0ms) both; }

/* Organization: root fades, wires draw (JS), then departments one by one */
.js:not(.no-anim) .org:not(.is-in) .org__root { opacity: 0; }
.js:not(.no-anim) .org.is-in .org__root { animation: reveal-fade 1.6s var(--ease-reveal) both; }
.js:not(.no-anim) .org:not(.is-drawn) .org__dept { opacity: 0; }
.js:not(.no-anim) .org.is-drawn .org__dept { animation: reveal-up 1.6s var(--ease-reveal) calc(1150ms + var(--i, 0) * 160ms) both; }
.org__dept:nth-child(2) { --i: 1; } .org__dept:nth-child(3) { --i: 2; } .org__dept:nth-child(4) { --i: 3; }
.org__dept:nth-child(5) { --i: 4; } .org__dept:nth-child(6) { --i: 5; }   /* 部门依次出现（不用内联 style，便于 CSP） */
.js:not(.no-anim) .org__wires path { transition: stroke-dashoffset 700ms cubic-bezier(.45, 0, .2, 1); }

.js:not(.no-anim) .hud { animation: reveal-fade 1.6s var(--ease) 2.6s both; }

/* ---------- 21. No-anim / reduced motion ---------- */
.no-anim *, .no-anim *::before, .no-anim *::after {
  animation: none !important;
  transition: none !important;
}
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.no-anim { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal].is-in,
  .js .org.is-drawn .org__dept,
  .js .org.is-in .org__root { animation-name: reveal-fade !important; animation-duration: .6s !important; }
  .js [data-reveal]:not(.is-in) { transform: none !important; clip-path: none !important; }
  .js [data-reveal="line"].is-in, .js [data-reveal="draw"].is-in { animation: none !important; }
  .js .row.is-in::before, .js .step.is-in::before, .js .trow.is-in::before, .js .trow.is-in::after,
  .js .col.is-in::before, .js .perk.is-in::before, .js .section-foot.is-in::before { animation: none !important; transform: none !important; }
  .js [data-reveal="logo"] img { filter: none !important; transform: none !important; transition: opacity .8s ease !important; }
  .js .photo .photo__media img { transform: none !important; animation: none !important; }
  .hero-logo__sheen, .scroll-hint i::after, .flow__svg path, .tw__caret::after { animation: none !important; }
  .scroll-hint i::after { transform: none; height: 100%; opacity: .5; }
  .job__details, .job__details-body, .site-header, .entry, .btn .arrow { transition-duration: .01ms !important; }
}

/* ---------- 22. Keyframes ---------- */
@keyframes reveal-up {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes reveal-mask {
  from { opacity: 1; clip-path: inset(100% -.3em -.3em -.3em); transform: translate3d(0, .34em, 0); }
  to { opacity: 1; clip-path: inset(-.3em -.3em -.3em -.3em); transform: none; }
}
@keyframes reveal-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes reveal-vline {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes reveal-draw {
  from { clip-path: inset(-24px 100% -24px -24px); }
  to { clip-path: inset(-24px -24px -24px -24px); }
}
@keyframes ken-burns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes logo-sheen {
  0% { opacity: 1; background-position: 135% 0; }
  24% { opacity: 1; background-position: -35% 0; }
  25%, 100% { opacity: 0; background-position: -35% 0; }
}
@keyframes scroll-drop {
  0% { transform: translateY(-110%); }
  65%, 100% { transform: translateY(240%); }
}
@keyframes caret-blink {
  0%, 49% { opacity: .9; }
  50%, 100% { opacity: 0; }
}
@keyframes flow-dash {
  to { stroke-dashoffset: -20; }
}
@keyframes menu-item-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ---------- */
/* Part 2 / Part 3：地球贴在右侧、只露出左半球，内容列在地球左缘前 64px 收住（--side-max 由 main.js 按地球关键帧计算，
   平板横屏与 4:3 / 5:4 桌面也生效）。列宽 < 640px 时 main.js 加 html.side-narrow，列内改为单列排版。
   竖屏（地球在内容后方）与兜底静态地球图时不限制宽度 */
@media (min-width: 820px) {
  html.js:not(.page-portrait):not(.globe-fallback) .side-col { max-width: clamp(440px, var(--side-max, 58vw), 860px); }
  html.side-narrow:not(.globe-fallback) .culture { gap: clamp(64px, 10vh, 96px); }
  html.side-narrow:not(.globe-fallback) .trows--compact .trow { grid-template-columns: 44px minmax(0, 1fr); }
  html.side-narrow:not(.globe-fallback) .trows--compact .trow__desc { grid-column: 2; margin-top: 8px; }
  html.side-narrow:not(.globe-fallback) :is(.perks__grid, .cols, .partner__row, .job__details-body, .campus__targets, .campus-guide__grid) { grid-template-columns: minmax(0, 1fr); }
  html.side-narrow:not(.globe-fallback) .cols { gap: 30px; }
  html.side-narrow:not(.globe-fallback) .job__head { grid-template-columns: minmax(0, 1fr); }
  html.side-narrow:not(.globe-fallback) .job__pay { text-align: left; }
  html.side-narrow:not(.globe-fallback) .job__salary-row { justify-content: flex-start; }
  html.side-narrow:not(.globe-fallback) .timeline__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  html.js.side-narrow:not(.no-anim):not(.globe-fallback) .timeline__line[data-reveal="line"]:not(.is-in) { transform: scaleY(0); }
  html.js.side-narrow:not(.no-anim):not(.globe-fallback) .timeline__line[data-reveal="line"].is-in { animation-name: reveal-vline; }
  html.side-narrow:not(.globe-fallback) .timeline__steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html.side-narrow:not(.globe-fallback) .tl-step { padding: 0 0 0 36px; }
  html.side-narrow:not(.globe-fallback) .tl-step::before { top: 3px; }
}

@media (max-width: 1099px) {
  :root { --header-h: 64px; }
  .org__depts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 14px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .org__dept { min-height: 92px; }
  .access { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .partner__row { grid-template-columns: minmax(0, 1fr); }
  
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__info { grid-column: 1 / -1; }
}

@media (max-width: 819px) {
  :root { --header-h: 60px; }

  /* Mobile menu */
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle__bar { display: block; height: 1px; background: var(--title); transition: transform .8s var(--ease); }
  .menu-open .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-open .site-header { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open body { overflow: hidden; }
  .site-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(13, 13, 14, .985);
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s var(--ease), visibility 0s linear .7s;
  }
  .menu-open .site-menu { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 1px solid var(--line); }
  .menu-open .nav-list li { animation: menu-item-in .9s var(--ease) both; }
  .menu-open .nav-list li:nth-child(2) { animation-delay: 60ms; }
  .menu-open .nav-list li:nth-child(3) { animation-delay: 120ms; }
  .menu-open .nav-list li:nth-child(4) { animation-delay: 180ms; }
  .menu-open .nav-list li:nth-child(5) { animation-delay: 240ms; }
  .menu-open .nav-list li:nth-child(6) { animation-delay: 300ms; }
  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 17px 0;
    font-size: 21px;
    font-weight: 600;
    color: var(--title);
  }
  .nav-link::after { display: none; }
  .nav-link__idx { display: inline; font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--muted); }
  .nav-cta { align-self: flex-start; }
  .site-menu__meta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; font-size: 15px; color: var(--title); }
  /* 无 JS 时菜单按钮无法工作：隐藏按钮与折叠菜单（首屏入口和页脚导航仍可用） */
  .no-js .nav-toggle, .no-js .site-menu { display: none; }

  /* Layout: single column */
  .section { padding-top: calc(var(--header-h) + 56px); }
  .section--page { min-height: 0; }
  .split { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .split__rule { display: none; }

  .flow { padding-top: 0; margin-top: 40px; }
  .flow__steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .flow__step { padding: 0 0 0 54px; }
  .flow__node { left: 22px; top: 2px; }
  .flow__title { margin-top: 10px; }
  .flow__loop-label { display: none; }

  .trow, .trows--compact .trow { grid-template-columns: 44px minmax(0, 1fr); }
  .trow__desc { grid-column: 2; margin-top: 10px; }
  .trows--compact .trow__desc { margin-top: 8px; }

  .culture { gap: 88px; }
  .perks__grid { grid-template-columns: minmax(0, 1fr); }
  .timeline__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
  .js:not(.no-anim) .timeline__line[data-reveal="line"]:not(.is-in) { transform: scaleY(0); }
  .js:not(.no-anim) .timeline__line[data-reveal="line"].is-in { animation-name: reveal-vline; }
  .timeline__steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tl-step { padding: 0 0 0 36px; }
  .tl-step::before { top: 3px; }

  .cols { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .job__details-body { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__info { grid-column: auto; }
}

@media (max-width: 560px) {
  .label { font-size: 12px; }
  .h2 { font-size: clamp(31px, 8.6vw, 38px); }
  .h2--xl { font-size: clamp(40px, 11vw, 48px); }
  .h3 { font-size: clamp(24px, 6.6vw, 28px); }
  .lead { font-size: clamp(20px, 5.6vw, 23px); }
  .lead--md { font-size: 18px; }

  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__title { font-size: clamp(23px, 6.6vw, 27px); letter-spacing: .02em; }
  .hero__sub { font-size: 14px; letter-spacing: .04em; }
  .hero__mono { font-size: 11px; }
  .hero__entries { width: 100%; max-width: 360px; margin-top: 34px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .entry { flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 16px; }
  .entry__text { font-size: 16px; }
  .hero__foot-row { font-size: 11px; }
  .scroll-hint i { height: 40px; }

  .row { grid-template-columns: 40px minmax(0, 1fr); }
  .guide-card__head, .guide-card__foot { padding-left: 18px; padding-right: 18px; }

  .org__root { width: 100%; margin: 0; min-height: 64px; }
  .org__depts { grid-template-columns: minmax(0, 1fr); padding-left: 34px; margin-top: 18px; row-gap: 10px; max-width: none; }
  .org__dept { flex-direction: row; justify-content: space-between; align-items: center; min-height: 60px; padding: 12px 16px; text-align: left; }
  .org__dept strong { font-size: 16px; }
  .org__dept span { font-size: 13px; color: var(--muted); }

  .gallery--office { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery--office .photo--square { grid-column: 1 / -1; }
  .gallery--office .photo--wide { grid-column: 1 / -1; }
  .gallery--access { gap: 8px; }
  .gallery--access figcaption { font-size: 12px; gap: 6px; }
  .photo figcaption { margin-top: 10px; }

  .job__head { grid-template-columns: minmax(0, 1fr); }
  .job__pay { text-align: left; }
  .job__salary-row { justify-content: flex-start; }
  .job__notes { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 14px; }
  .job__note-val + .job__note-key { margin-top: 8px; }
  .job__intro { font-size: 15px; }

  .careers-index .chip--link { padding: 9px 12px; font-size: 14px; }   /* 三个快速导航在 360px 宽的手机上也排成一行 */
  .campus__targets, .campus-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .campus-guide__body { padding: 20px 18px 24px; }
  .campus-table :is(th, td) { padding-top: 13px; padding-bottom: 13px; }
  .campus-table thead th { padding-top: 4px; padding-bottom: 10px; }
  /* 手机：标签一行，公司全称、统一社会信用代码各一行（13px），不加分隔线与额外留白 */
  .site-footer__company, .site-footer__company-list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .site-footer__company { margin-bottom: 4px; }
  .job__actions .btn { flex: 1 1 auto; }
  .job__toggle { width: 100%; margin-right: 0; }

  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__actions .btn { width: 100%; }
  .contact__mail .email-big { font-size: 26px; }
  /* 投递方式卡片里的邮箱：卡片有内边距，320–339px 宽的手机上 26px 放不下一行（最后的 m 会掉到第二行），按可用宽度略缩小 */
  .apply__card .email-big { font-size: min(26px, calc((100vw - 92px) * .105)); }
  .apply__actions .btn { flex: 1 1 auto; }

  .site-footer__nav { grid-template-columns: repeat(3, max-content); gap: 10px 24px; }
  .section-foot { font-size: 11px; }
}

/* finale：内容收紧，让标题、邮箱与表单在桌面一屏内，完整地球留在右侧 */
.contact { padding-top: calc(var(--header-h) + clamp(28px, 5vh, 64px)); }
.contact .section-foot { margin-top: clamp(40px, 6vh, 72px); }

/* 竖屏手机：finale 的完整地球在屏幕上半部（globe 关键帧 portrait.finale），标题从地球下方开始 */
html.globe-ready.page-portrait .contact { padding-top: var(--finale-pad, calc(var(--header-h) + 50svh)); }

/* 16:9 笔记本等较矮的横屏（≤800px 高）：收紧首屏文字，让文字块停在升起的地球边缘之上 */
@media (min-width: 820px) and (max-height: 800px) {
  .hero-logo { width: clamp(260px, min(40vw, 54vh), 640px); }
  .hero__label { margin-top: clamp(8px, 1.6vh, 28px); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .scroll-hint { display: none; }
  .hero { padding-bottom: 64px; }
}
