/* ==========================================================================
   太禾服饰 · 官网样式
   三个页面：index.html（首页）、join.html（所有职位）、about.html（关于我们）
   ========================================================================== */

:root {
  --ink: #0e100f;
  --ink-2: #191c1a;
  --paper: #ffffff;
  --sand: #f5f1ea;
  --line: #e6e0d5;
  --line-2: #d8d1c2;
  --accent: #e5542b;
  --accent-2: #ff7a45;
  --muted: #79736a;
  --shell: 1200px;
  --radius: 18px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

[hidden] { display: none !important; }

[id] { scroll-margin-top: 96px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: none;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  background: #d1461f;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(229, 84, 43, 0.9);
}

.btn .ico { width: 17px; height: 17px; stroke-width: 2; }

.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--ink);
  box-shadow: none;
}

.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- 小标签 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  display: block;
  width: auto;
  height: 50px;
}

.logo__img--white { display: none; }

.logo__cn {
  padding-left: 13px;
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__menu a {
  position: relative;
  font-size: 14.5px;
  color: #3c3a35;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.24s;
}

.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { width: 100%; }

.nav__menu a.is-active { color: var(--ink); font-weight: 600; }
.nav__menu a.is-active::after { width: 100%; }

.nav__actions { display: flex; flex: none; align-items: center; gap: 16px; }

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.nav__tel .ico { color: var(--accent); width: 15px; height: 15px; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 3.4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* ==========================================================================
   首页：透明导航 + 全屏 Hero（参考小红书招聘首页）
   ========================================================================== */
.nav--over {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav--over:not(.is-stuck):not(.is-open) .logo__cn,
.nav--over:not(.is-stuck):not(.is-open) .nav__menu a,
.nav--over:not(.is-stuck):not(.is-open) .nav__tel {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.nav--over.is-stuck,
.nav--over.is-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.5);
}

.nav--over:not(.is-stuck):not(.is-open) .logo__img--color { display: none; }
.nav--over:not(.is-stuck):not(.is-open) .logo__img--white { display: block; }
.nav--over:not(.is-stuck):not(.is-open) .logo__cn { color: #fff; border-left-color: rgba(255, 255, 255, 0.28); }
.nav--over:not(.is-stuck):not(.is-open) .nav__menu a { color: rgba(255, 255, 255, 0.82); }
.nav--over:not(.is-stuck):not(.is-open) .nav__menu a.is-active { color: #fff; }
.nav--over:not(.is-stuck):not(.is-open) .nav__tel { color: #fff; }

.nav--over:not(.is-stuck):not(.is-open) .btn--sm {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.nav--over:not(.is-stuck):not(.is-open) .btn--sm:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  box-shadow: none;
}

.nav--over:not(.is-stuck):not(.is-open) .nav__burger { border-color: rgba(255, 255, 255, 0.42); }
.nav--over:not(.is-stuck):not(.is-open) .nav__burger span { background: #fff; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  min-height: clamp(520px, 64svh, 760px);
  padding: 96px 0 48px;
  overflow: hidden;
  background: #11130f;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero__bg.is-broken { display: none; }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(64% 62% at 50% 46%, rgba(6, 8, 7, 0.46) 0%, rgba(6, 8, 7, 0) 74%),
    radial-gradient(120% 90% at 78% 6%, rgba(229, 84, 43, 0.16) 0%, rgba(229, 84, 43, 0) 58%),
    linear-gradient(180deg, rgba(9, 11, 10, 0.6) 0%, rgba(9, 11, 10, 0.34) 44%, rgba(9, 11, 10, 0.72) 100%);
}

.hero__title,
.hero__sub,
.hero__kicker,
.hero__meta {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(80% 70% at 50% 45%, #000 0%, transparent 82%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero__kicker span { width: 24px; height: 2px; background: var(--accent); }

.hero__kicker i { font-style: normal; }

.hero__title {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.hero__sub {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: balance;
}

.hero__search {
  display: none;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.hero__meta li { display: flex; align-items: center; gap: 8px; }

.hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* 还没上传首屏大图时的底纹，避免整块太空 */
.hero--empty {
  background:
    radial-gradient(90% 75% at 76% 8%, rgba(229, 84, 43, 0.22) 0%, rgba(229, 84, 43, 0) 58%),
    radial-gradient(70% 60% at 16% 92%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 62%),
    #11130f;
}

.hero--empty::before {
  content: "太禾";
  position: absolute;
  right: 1%;
  bottom: -12%;
  z-index: 0;
  font-size: clamp(120px, 16vw, 260px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   数据条
   ========================================================================== */
.facts { border-bottom: 1px solid var(--line); background: #fff; }

.facts__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 30px;
  padding-bottom: 30px;
}

.fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.fact:first-child { border-left: 0; padding-left: 0; }

.fact strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fact span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 104px 0; }

.section--sand { background: var(--sand); }

.section--ink { background: var(--ink-2); color: #fff; }

.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }

.sec-head--left { margin-left: 0; text-align: left; }

.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); }

.sec-head__desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hl {
  color: var(--accent);
  font-size: 1.15em;
  font-weight: 800;
  padding: 0 2px;
}

/* ==========================================================================
   关于我们 · 正文
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 64px;
  align-items: start;
}

.story h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 24px;
}

.story__text > p {
  color: #55514a;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.points li { display: flex; gap: 14px; }

.points b {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.points strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.points span { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

.story__card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.story__card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 84, 43, 0.55), transparent 68%);
}

.story__card-kicker {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: #9d968a;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.story__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.story__card li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.story__card li:last-child { border-bottom: 0; }

.story__card-foot {
  margin-top: 22px;
  font-size: 13px;
  color: #9d968a;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   我们的文化
   ========================================================================== */
.section--ink .eyebrow { color: #8b8478; }

.culture h2 { font-size: clamp(30px, 3.4vw, 42px); }

.culture__lead {
  max-width: 640px;
  margin-top: 16px;
  color: #9a938a;
  font-size: 15px;
  line-height: 1.9;
}

.culture__quote {
  max-width: 960px;
  margin: 52px 0 56px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
}

.culture__quote em { font-style: normal; color: var(--accent-2); }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.value {
  min-height: 210px;
  padding: 30px 26px 32px;
  background: var(--ink);
  transition: background 0.25s;
}

.value:hover { background: #141715; }

.value b {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.value h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }

.value p { font-size: 13.5px; line-height: 1.85; color: #9a938a; }

/* ==========================================================================
   照片墙（团建照片 / 工作照片）
   每个 .shot 是一个照片位：里面 img 的地址对了，图片自动盖住占位框；
   图片不存在时，显示占位框 + 文件名提示。
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1ece2 0%, #eae3d6 100%);
}

.shot--hero {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.shot--wide {
  grid-column: span 4;
  aspect-ratio: 3.1 / 1;
}

.shot--banner {
  margin-top: 44px;
  aspect-ratio: 1.8 / 1;
  border-radius: 20px;
}

.shot img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.shot:hover img { transform: scale(1.03); }

.shot img.is-broken { display: none; }

.shot__ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px;
  text-align: center;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42) 0 12px,
    rgba(255, 255, 255, 0) 12px 24px
  );
}

.shot__ico {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  color: #a89f8f;
  stroke-width: 1.6;
}

.shot__no {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.shot__title { font-size: 13.5px; font-weight: 600; color: #5b564d; }

.shot__hint {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px;
  color: #9a9284;
  word-break: break-all;
}

/* ==========================================================================
   关于我们 · 工厂实拍（视频截图）
   ========================================================================== */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: 34px;
}

.factory-card { margin: 0; }

.factory-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

.factory-card__cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 12px;
}

.factory-card__cap b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.factory-card__cap span { font-size: 13.5px; font-weight: 600; color: #3f3b35; }

/* ==========================================================================
   转场条（关于我们 → 所有职位）
   ========================================================================== */
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 { font-size: clamp(26px, 3vw, 38px); }

.cta p {
  max-width: 54ch;
  margin-top: 12px;
  color: #9a938a;
  font-size: 14.5px;
}

.cta .btn { flex: none; }

/* ==========================================================================
   页面通用头（关于我们 / 所有职位）
   ========================================================================== */
.page-intro {
  padding: 88px 0 52px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.page-intro__lead {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.page-intro__lead a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}

.page-intro__lead a:hover { text-decoration-color: var(--accent); }

/* ==========================================================================
   首页 · 图文块
   ========================================================================== */
.home-intro { padding: 100px 0 40px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split + .split { margin-top: 100px; }

.split--rev .split__text { order: 2; }
.split--rev .split__media { order: 1; }

.split__text h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  margin-bottom: 20px;
}

.split__text p {
  max-width: 52ch;
  margin-bottom: 14px;
  color: #55514a;
  font-size: 15px;
  line-height: 2;
}

.split__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.split__link:hover { color: var(--accent); border-color: var(--accent); }

.split__link .ico { width: 15px; height: 15px; stroke-width: 2; }

.split__media .shot { aspect-ratio: 4 / 3; }

/* ==========================================================================
   首页 · 探索职位
   ========================================================================== */
.home-jobs {
  padding: 96px 0 92px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-jobs__title {
  margin-bottom: 46px;
  text-align: center;
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -0.02em;
}

.home-jobs__title span { color: var(--accent); }

.job-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.job-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 84px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
}

.job-cat .ico {
  width: 16px;
  height: 16px;
  color: #a49c8e;
  stroke-width: 2;
  transition: color 0.2s, transform 0.2s;
}

.job-cat:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 18px 34px -30px rgba(14, 16, 15, 0.7);
  transform: translateY(-2px);
}

.job-cat:hover .ico { color: var(--accent); transform: translateX(2px); }


.home-jobs__more {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.home-jobs__empty { padding: 30px 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ==========================================================================
   首页 · 招聘流程
   ========================================================================== */
.home-flow { padding: 92px 0; background: var(--sand); }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  padding: 26px 22px 28px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #fff;
}

.flow b {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.flow h3 { font-size: 17px; margin-bottom: 8px; }

.flow p { font-size: 13px; line-height: 1.85; color: var(--muted); }

/* ==========================================================================
   首页 · 我们的日常（平铺照片墙）
   ========================================================================== */
.home-life { padding: 92px 0; }

.home-life__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.home-life__head h2 { font-size: clamp(26px, 3vw, 36px); }

.home-life__head .sec-head__desc { margin-top: 8px; max-width: 720px; }

.life-tile {
  border: 0;
  border-radius: 18px;
  background: #232623;
}

.life-tile .shot__ph { background: #232623; background-image: none; }

.life-tile .shot__ph .shot__no { color: var(--accent-2); }
.life-tile .shot__ph .shot__title { color: #d6cec0; }
.life-tile .shot__ph .shot__hint { color: #8b8477; }
.life-tile .shot__ico { color: #7d7769; }

.life-tile__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 48px 18px 15px;
  background: linear-gradient(
    to top,
    rgba(9, 11, 10, 0.9) 0%,
    rgba(9, 11, 10, 0.52) 48%,
    rgba(9, 11, 10, 0) 100%
  );
  color: #fff;
  pointer-events: none;
}

.life-tile__no {
  padding-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

.life-tile__cap h3 { margin-bottom: 3px; font-size: 16px; }

.life-tile__cap p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.7;
  color: #e7e1d6;
}

/* ==========================================================================
   首页 · 办公环境
   ========================================================================== */
.home-office { padding: 96px 0; background: var(--sand); }

.home-office__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.home-office__head h2 { font-size: clamp(26px, 3vw, 36px); }

.home-office__lead {
  max-width: 54ch;
  margin-top: 12px;
  color: #55514a;
  font-size: 15px;
  line-height: 2;
}

.office-carousel { position: relative; }

.office-viewport { overflow: hidden; }

.office-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.office-card {
  flex: 0 0 calc((100% - 40px) / 3);
  margin: 0;
}

.office-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}

.office-card__body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 2px 0;
}

.office-card__no {
  padding-top: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.office-card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3px;
}

.office-card__tag {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #fff;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.office-card__body h3 { margin: 0; font-size: 19px; }

.office-card__body p { font-size: 13px; line-height: 1.7; color: var(--muted); }

.office-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.office-count {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.office-count b { font-size: 14px; color: var(--ink); }

.office-arrows { display: flex; gap: 10px; }

.office-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.office-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.office-arrow .ico { width: 19px; height: 19px; stroke-width: 2; }

/* ==========================================================================
   首页 · 员工福利
   ========================================================================== */
.home-benefits { padding: 96px 0; }

.home-benefits__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.home-benefits__head h2 { font-size: clamp(26px, 3vw, 36px); }

.home-benefits__lead {
  max-width: 54ch;
  margin-top: 12px;
  color: #55514a;
  font-size: 15px;
  line-height: 2;
}

.benefit-wall { margin: 0; }

.benefit-wall__media {
  aspect-ratio: 1690 / 904;
  border-radius: 22px;
  background: var(--sand);
}

.benefit-wall__media img {
  object-fit: contain;
  background: var(--sand);
}

.benefit-wall__cap,
.benefit-thumb__cap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 2px 0;
}

.benefit-wall__no,
.benefit-thumb__cap b {
  padding-top: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.benefit-wall__cap h3 { margin-bottom: 3px; font-size: 22px; }

.benefit-wall__cap p { font-size: 13px; line-height: 1.7; color: var(--muted); }

.benefit-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-thumb { margin: 0; }

.benefit-thumb__media {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}

.benefit-thumb__cap h3 { margin-bottom: 2px; font-size: 18px; }

.benefit-thumb__cap p { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   所有职位
   ========================================================================== */

.jobs-body { padding: 52px 0 96px; }

.jobs-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* 左侧筛选（参考字节跳动「所有职位」的侧栏） */
.filters { position: sticky; top: 96px; }

.filters__search { position: relative; }

.filters__search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filters__search input::placeholder { color: #aaa49a; }

.filters__search input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 16, 15, 0.07);
}

.filters__search .ico {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  stroke-width: 1.8;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.filters__head button {
  padding: 2px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}

.filters__head button:hover { color: var(--accent); }

.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }

.filter-group h2 {
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.filter-opts { display: grid; gap: 1px; }

.filter-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 14px;
  color: #3c3a35;
  cursor: pointer;
}

.filter-opt input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.filter-opt em {
  margin-left: auto;
  font-style: normal;
  font-size: 11.5px;
  color: #a49c8e;
}

/* 右侧职位列表 */
.jobs-main__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}

.jobs-main__head h2 { font-size: 20px; }

.jobs-main__count { color: var(--muted); font-weight: 600; }

.job-post {
  margin: 0 -14px;
  padding: 26px 14px 28px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
}

.job-post:hover { background: #fbfaf7; }

.job-post__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.job-post__title {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.job-post:hover .job-post__title { color: var(--accent); }

.job-post__apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.job-post:hover .job-post__apply { color: var(--accent); }

.job-post__apply .ico { width: 14px; height: 14px; stroke-width: 2; }

.job-post__meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.job-post__desc {
  margin-top: 10px;
  max-width: 68ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: #55514a;
}

.jobs-empty {
  padding: 40px 0;
  font-size: 14px;
  color: var(--muted);
}

/* 职位详情抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 11, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s;
}

.drawer.is-open .drawer__overlay { opacity: 1; }

.drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.5);
}

.drawer.is-open .drawer__panel { transform: none; }

.drawer__close,
.modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drawer__close:hover,
.modal__close:hover { border-color: var(--ink); background: #faf8f4; }

.drawer__close .ico,
.modal__close .ico { width: 16px; height: 16px; stroke-width: 2; }

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 46px 36px 28px;
}

.drawer__body .eyebrow { margin-bottom: 14px; }

.drawer__body h2 { font-size: 26px; letter-spacing: -0.01em; }

.drawer__meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.drawer__summary {
  margin-top: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.85;
  color: #55514a;
}

.drawer__section { margin-top: 24px; }

.drawer__section h3 {
  font-size: 14px;
  margin-bottom: 12px;
}

.drawer__section ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #55514a;
}

.drawer__section li { margin-bottom: 6px; }

.drawer__section li::marker { color: var(--accent); }

.drawer__foot {
  padding: 16px 36px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

/* 投递简历弹层 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 11, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s;
}

.modal.is-open .modal__overlay { opacity: 1; }

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 36px 34px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s, transform 0.28s;
}

.modal.is-open .modal__panel { opacity: 1; transform: none; }

.modal__head .eyebrow { margin-bottom: 12px; }

.modal__head h2 { font-size: 26px; letter-spacing: -0.01em; }

.modal__head p {
  margin-top: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.modal__panel form { padding-top: 20px; }

.is-locked { overflow: hidden; }

.jobs-loading {
  padding: 40px 0;
  font-size: 14px;
  color: var(--muted);
}

#applyForm { padding-top: 4px; }

.field { margin-bottom: 16px; }

.field label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #46433d;
}

.field label i {
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
}

.field label span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field input[type="text"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea { resize: vertical; min-height: 84px; line-height: 1.7; }

.field input::placeholder,
.field textarea::placeholder { color: #aaa49a; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 16, 15, 0.07);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #d64545; }

.field.has-error .drop { border-color: #d64545; }

.select-wrap { position: relative; }

.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1.6px solid #8a8478;
  border-bottom: 1.6px solid #8a8478;
  transform: rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

/* 上传区 */
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  background: #fcfbf9;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drop:hover,
.drop.is-over {
  border-color: var(--accent);
  background: #fff8f5;
}

.drop__ico {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke-width: 1.8;
}

.drop__hint { font-size: 13px; font-weight: 600; color: #46433d; }

.drop__tip { font-size: 11.5px; color: var(--muted); }

.file {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf7;
  font-size: 13px;
}

.file__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.file__size { color: var(--muted); font-size: 12px; }

.file__del {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12.5px;
  cursor: pointer;
  padding: 2px 4px;
}

.err {
  margin-top: 6px;
  font-size: 12.5px;
  color: #d64545;
  min-height: 0;
}

.err:empty { display: none; }

.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.apply__privacy {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

.apply__status {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #b3541e;
}

.apply__status:empty { display: none; }

#submitBtn { margin-top: 4px; }

/* 提交成功 */
.apply__done { padding: 26px 4px 10px; text-align: center; }

.apply__done-ico {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eef7ec;
  color: #3f7d38;
}

.apply__done-ico .ico { width: 24px; height: 24px; stroke-width: 2.2; }

.apply__done h4 { font-size: 19px; margin-bottom: 10px; }

.apply__done p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; line-height: 1.85; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: var(--ink);
  color: #8f8779;
  padding: 52px 0 34px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand { display: flex; align-items: center; gap: 12px; }

.footer__logo {
  display: block;
  width: auto;
  height: 48px;
}

.footer__icp { margin-left: 1.2em; text-decoration: none; }
.footer__icp:hover { color: var(--accent); }

.footer__brand strong { color: #fff; font-size: 15px; }

.footer__brand p { font-size: 12.5px; margin-top: 2px; }

.footer__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e675c;
  margin-bottom: 12px;
}

.footer__nav { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }

.footer__contact { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }

.footer__nav a,
.footer__contact a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover,
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
}

.footer__bottom a { text-decoration: none; color: #cfc8ba; }

/* ==========================================================================
   直开文件提示条
   ========================================================================== */
.file-warn {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 620px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #2b2f2a;
  color: #f0efe9;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

.file-warn b { color: var(--accent-2); }

.file-warn a {
  color: #ffd0bf;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 208, 191, 0.5);
  white-space: nowrap;
}

/* ==========================================================================
   动效
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .shot img { transition: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__menu { gap: 22px; }
  .nav__tel { display: none; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .jobs-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot--hero { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .shot--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

  .jobs-layout { grid-template-columns: 1fr; gap: 30px; }
  .filters { position: static; }
  .job-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-opts { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .filter-opt em { display: none; }
  .filters__head { margin-top: 20px; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .office-card { flex-basis: calc((100% - 20px) / 2); }
  .split--rev .split__text,
  .split--rev .split__media { order: 0; }
  .split + .split { margin-top: 64px; }

  .life-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .factory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}

@media (max-width: 860px) {
  .shell { padding: 0 22px; }
  .section { padding: 76px 0; }

  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 22px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.22s;
  }

  .nav__menu.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__menu a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }

  .nav__burger { display: block; }

  .hero { min-height: 62vh; padding: 96px 0 44px; }
  .hero__title { font-size: clamp(40px, 11vw, 58px); }
  .hero__kicker { margin-bottom: 14px; letter-spacing: 0.2em; }
  .hero__sub { margin-top: 14px; font-size: 14px; }
  .hero__search { margin-top: 20px; padding-left: 18px; }

  .facts__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .fact:nth-child(3) { border-left: 0; padding-left: 0; }

  .points { grid-template-columns: 1fr; }
  .cta__inner { gap: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nav__inner { gap: 10px; }
  .nav__actions { gap: 10px; }
  .logo { gap: 9px; }
  .logo__img { height: 40px; }
  .logo__cn { display: none; }

  .page-intro { padding: 60px 0 38px; }
  .page-intro__lead { font-size: 14.5px; }

  .home-intro { padding: 64px 0 24px; }
  .split + .split { margin-top: 52px; }
  .split__text h2 { font-size: 24px; }
  .split__text p { font-size: 14px; }
  .home-jobs,
  .home-office { padding: 64px 0; }
  .home-jobs__title { margin-bottom: 28px; }
  .job-cat { height: 64px; padding: 0 14px; font-size: 13.5px; }
  .home-flow,
  .home-life { padding: 64px 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow li { padding: 20px 16px 22px; }

  .life-wall { gap: 10px; }
  .life-tile { aspect-ratio: 1 / 1; border-radius: 14px; }
  .life-tile__cap { gap: 8px; padding: 34px 12px 11px; }
  .life-tile__cap h3 { font-size: 14px; }
  .life-tile__cap p { display: none; }
  .life-tile__no { font-size: 10px; }

  .home-office__head { margin-bottom: 26px; }
  .office-card__body { padding-top: 13px; gap: 10px; }
  .office-card__body h3 { font-size: 18px; }
  .office-card__body p { font-size: 12.5px; }
  .office-card { flex-basis: 82%; }
  .office-track { gap: 14px; }
  .office-arrow { width: 42px; height: 42px; }

  .home-benefits { padding: 64px 0; }
  .home-benefits__head { margin-bottom: 26px; }
  .benefit-wall__cap { padding-top: 13px; gap: 10px; }
  .benefit-wall__cap h3 { font-size: 19px; }
  .benefit-thumbs { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .jobs-body { padding: 34px 0 68px; }
  .filter-opts { grid-template-columns: 1fr 1fr; }
  .jobs-main__head h2 { font-size: 18px; }
  .job-post { padding: 22px 0; }
  .job-post__title { font-size: 17px; }
  .job-post__apply { font-size: 12px; }
  .job-post__top { gap: 12px; }

  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .culture__quote { margin: 36px 0 40px; }

  .facts__inner { grid-template-columns: 1fr; gap: 0; padding-top: 8px; padding-bottom: 8px; }
  .fact {
    align-items: baseline;
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .fact:last-child { border-bottom: 0; }
  .fact strong { font-size: 22px; min-width: 62px; }

  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .factory-grid { grid-template-columns: 1fr; gap: 16px; }
  .shot,
  .shot--hero,
  .shot--wide { grid-column: span 1; aspect-ratio: 4 / 3; }

  .shot--banner {
    margin-top: 28px;
    aspect-ratio: 1.8 / 1;
    border-radius: 16px;
  }

  .field-row { grid-template-columns: 1fr; }
  .fact span { font-size: 12.5px; }

  .drawer__body { padding: 40px 22px 24px; }
  .drawer__foot { padding: 14px 22px 20px; }
  .modal { padding: 2vh 12px 4vh; }
  .modal__panel { padding: 28px 20px 22px; }
  .modal__head h2 { font-size: 22px; }
  .drawer__close, .modal__close { right: 12px; top: 12px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   通用横向轮播（工厂实拍 / 团队日常 / 我们的日常）
   ========================================================================== */
[data-roll] { position: relative; }

[data-roll].is-roll { display: block; }

.roll-viewport { overflow: hidden; }

.roll-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.roll-track > * {
  flex: 0 0 calc((100% - (var(--per, 3) - 1) * 20px) / var(--per, 3));
  min-width: 0;
}

.roll-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 22px;
}

.roll-count {
  margin: 0;
  color: #8a8171;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.roll-count b {
  color: var(--ink, #2b2721);
  font-size: 14px;
  font-weight: 700;
}

.roll-arrows { display: flex; gap: 8px; }

.roll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d9d1c2;
  border-radius: 50%;
  background: #fff;
  color: #2b2721;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.roll-btn:hover {
  border-color: var(--ink, #2b2721);
  background: var(--ink, #2b2721);
  color: #fff;
}

.roll-btn:focus-visible {
  outline: 2px solid var(--accent, #b23a2e);
  outline-offset: 2px;
}

.roll-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
  pointer-events: none;
}

@media (max-width: 620px) {
  .roll-track { gap: 12px; }
  .roll-track > * { flex-basis: 100%; }
  .roll-bar { margin-top: 16px; }
}

/* ==========================================================================
   岗位详情页 / 面包屑 / FAQ（SEO：每个岗位可被单独收录）
   ========================================================================== */
.h1-note {
  display: block;
  margin-top: 10px;
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

.page-intro--job { padding-bottom: 44px; }

.job-detail__meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.job-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.job-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px;
  align-items: start;
}

.job-detail > section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.job-detail > section:first-child { padding-top: 0; }
.job-detail > section:last-child { border-bottom: 0; }

.job-detail h2 { margin-bottom: 14px; font-size: 22px; }
.job-detail p { color: #3c3a35; }
.job-detail p + p { margin-top: 8px; }
.job-detail ul { margin: 0; padding-left: 20px; }
.job-detail li { margin-bottom: 8px; color: #3c3a35; }
.job-detail li::marker { color: var(--accent); }
.job-detail a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.job-detail a:hover { text-decoration-color: var(--accent); }

.job-detail__side {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--sand);
}

.job-detail__side h2 {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.job-detail__links {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.job-detail__links li + li { border-top: 1px solid var(--line-2); }

.job-detail__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  text-decoration: none;
}

.job-detail__links a:hover span { color: var(--accent); }
.job-detail__links em { flex: none; font-style: normal; font-size: 12.5px; color: var(--muted); }

.job-detail__contact { display: grid; gap: 8px; font-size: 13.5px; }
.job-detail__contact a { color: var(--ink); text-decoration: none; }
.job-detail__contact a:hover { color: var(--accent); }

.faq .sec-head { margin-bottom: 28px; }

.faq__list {
  margin: 0;
  max-width: 880px;
  border-top: 1px solid var(--ink);
}

.faq__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq__item dt { font-size: 17px; font-weight: 800; }
.faq__item dd { margin: 8px 0 0; font-size: 14px; line-height: 1.9; color: #55514a; }
.faq__item dd a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .job-detail__layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .job-detail__side { position: static; }
}

@media (max-width: 620px) {
  .job-detail__actions { flex-direction: column; align-items: stretch; }
  .job-detail__actions .btn { width: 100%; }
  .faq__item dt { font-size: 16px; }
}

/* ==========================================================================
   大图卡片轮播（参考字节跳动招聘的城市卡片）
   我们的日常 / 办公环境 / 工厂实拍 三组共用：
   一屏 4 张、圆角大图、底部渐变只留短标题、下方居中圆形左右箭头。
   ========================================================================== */
.roll--card .roll-track { gap: 20px; }

.roll--card .roll-track > * {
  flex: 0 0 calc((100% - (var(--per, 3) - 1) * 20px) / var(--per, 3));
  min-width: 0;
}

.roll--card .life-tile,
.roll--card .office-card,
.roll--card .factory-card {
  position: relative;
  margin: 0;
  aspect-ratio: 1.16 / 1;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #232623;
}

.roll--card .office-card__media,
.roll--card .factory-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.roll--card .life-tile__cap,
.roll--card .office-card__body,
.roll--card .factory-card__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  padding: 84px 24px 22px;
  background: linear-gradient(
    to top,
    rgba(8, 10, 9, 0.9) 0%,
    rgba(8, 10, 9, 0.55) 45%,
    rgba(8, 10, 9, 0) 100%
  );
  color: #fff;
  pointer-events: none;
}

.roll--card .life-tile__no,
.roll--card .office-card__no,
.roll--card .office-card__tag,
.roll--card .factory-card__cap b { display: none; }

.roll--card .life-tile__cap p,
.roll--card .office-card__body p { display: none; }

.roll--card .life-tile__cap h3,
.roll--card .office-card__body h3,
.roll--card .factory-card__cap span {
  display: block;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.roll--card .office-card__title { display: block; margin: 0; }

.roll--card .life-tile img,
.roll--card .office-card img,
.roll--card .factory-card img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.roll--card .life-tile:hover img,
.roll--card .office-card:hover img,
.roll--card .factory-card:hover img { transform: scale(1.04); }

/* 箭头居中，不要页码（和参考图一致） */
.roll--card .roll-bar { justify-content: center; margin-top: 26px; }
.roll--card .roll-count { display: none; }
.roll--card .roll-arrows { gap: 14px; }

.roll--card .roll-btn {
  width: 42px;
  height: 42px;
  border-color: #cfc7b8;
  background: rgba(255, 255, 255, 0.92);
  font-size: 21px;
}

@media (max-width: 900px) {
  .roll--card .roll-track { gap: 14px; }

  .roll--card .life-tile,
  .roll--card .office-card,
  .roll--card .factory-card { aspect-ratio: 4 / 3; }

  .roll--card .life-tile__cap,
  .roll--card .office-card__body,
  .roll--card .factory-card__cap { padding: 56px 18px 16px; }
}

@media (max-width: 620px) {
  .roll--card .roll-track { gap: 12px; }

  .roll--card .roll-track > * { flex: 0 0 88%; }

  .roll--card .life-tile__cap,
  .roll--card .office-card__body,
  .roll--card .factory-card__cap { padding: 52px 18px 16px; }

  .roll--card .life-tile__cap h3,
  .roll--card .office-card__body h3,
  .roll--card .factory-card__cap span { font-size: 24px; }

  .roll--card .roll-bar { margin-top: 18px; }
}

.roll-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   无缝滚动照片墙（参考字节跳动招聘的城市卡片）
   我们的日常 / 办公环境 / 工厂实拍 三组共用：
   一屏 6 张左右方图铺满整行，圆角大图、底部只留大字，整条自己往左慢慢滚，
   鼠标移上去就停，离开继续；两侧自然裁到视口外。
   ========================================================================== */
.roll-marquee {
  --mq-w: clamp(196px, 14.6vw, 292px);
  --mq-gap: clamp(14px, 1.55vw, 28px);

  position: relative;
  /* 脚本接管前就是一条静态横排，避免图片一张张竖着铺开闪一下 */
  display: flex;
  gap: var(--mq-gap);
  margin-top: 34px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.roll-marquee.is-marquee { display: block; overflow: visible; }

.roll-marquee img { -webkit-user-drag: none; }

/* 上下留一点余量，鼠标放到卡片上放大时不会被裁掉；负 margin 抵消，视觉位置不变 */
.roll-marquee .mq-viewport {
  overflow: hidden;
  padding: calc(var(--mq-w) * 0.09) 0;
  margin-bottom: calc(var(--mq-w) * -0.18);
  transform: translateY(calc(var(--mq-w) * -0.09));
}

.roll-marquee .mq-track {
  display: flex;
  gap: var(--mq-gap);
  width: max-content;
  will-change: transform;
}

/* 左右翻页按钮：和以前一样在下方居中 */
.roll-marquee .roll-bar {
  justify-content: center;
  margin-top: 26px;
}

.roll-marquee .roll-arrows { gap: 14px; }

.roll-marquee .roll-btn {
  width: 42px;
  height: 42px;
  border-color: #cfc7b8;
  background: rgba(255, 255, 255, 0.92);
  font-size: 21px;
}

.roll-marquee .life-tile,
.roll-marquee .office-card,
.roll-marquee .factory-card {
  position: relative;
  flex: 0 0 auto;
  width: var(--mq-w);
  margin: 0;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #232623;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
}

/* 鼠标指到哪一张，哪一张整体放大两圈（约 16%），压在相邻卡片上面 */
.roll-marquee .life-tile:hover,
.roll-marquee .office-card:hover,
.roll-marquee .factory-card:hover {
  transform: scale(1.16);
  z-index: 6;
  box-shadow: 0 24px 42px -26px rgba(0, 0, 0, 0.5);
}

.roll-marquee .office-card__media,
.roll-marquee .factory-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.roll-marquee .life-tile__cap,
.roll-marquee .office-card__body,
.roll-marquee .factory-card__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  padding: 68px 20px 18px;
  background: linear-gradient(
    to top,
    rgba(8, 10, 9, 0.82) 0%,
    rgba(8, 10, 9, 0.46) 45%,
    rgba(8, 10, 9, 0) 100%
  );
  color: #fff;
  pointer-events: none;
}

.roll-marquee .life-tile__no,
.roll-marquee .office-card__no,
.roll-marquee .office-card__tag,
.roll-marquee .factory-card__cap b { display: none; }

.roll-marquee .life-tile__cap p,
.roll-marquee .office-card__body p { display: none; }

.roll-marquee .life-tile__cap h3,
.roll-marquee .office-card__body h3,
.roll-marquee .factory-card__cap span {
  display: block;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(21px, 2.05vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.roll-marquee .office-card__title { display: block; margin: 0; }

/* 占位图统一成深色，和没有图时的卡片底色一致；卡片底部已经有标题，不再重复文字 */
.roll-marquee .shot__ph {
  background-color: #232623;
  background-image: none;
}

.roll-marquee .shot__ph .shot__no,
.roll-marquee .shot__ph .shot__title,
.roll-marquee .shot__ph .shot__hint { display: none; }

.roll-marquee .shot__ico { color: #7d7769; }

.roll-marquee .life-tile img,
.roll-marquee .office-card img,
.roll-marquee .factory-card img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.roll-marquee .life-tile:hover img,
.roll-marquee .office-card:hover img,
.roll-marquee .factory-card:hover img { transform: scale(1.04); }

/* 系统开了「减少动态效果」时不自动滚，改成可以自己左右拖 */
.roll-marquee.is-static { overflow: visible; }

.roll-marquee.is-static .mq-viewport {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0;
  margin-bottom: 0;
  transform: none;
}

.roll-marquee.is-static .mq-track { transform: none !important; }

@media (max-width: 1024px) {
  .roll-marquee {
    --mq-w: clamp(170px, 26vw, 230px);
    --mq-gap: 16px;
    margin-top: 28px;
  }

  .roll-marquee .life-tile,
  .roll-marquee .office-card,
  .roll-marquee .factory-card { border-radius: 18px; }

  .roll-marquee .life-tile__cap,
  .roll-marquee .office-card__body,
  .roll-marquee .factory-card__cap { padding: 56px 16px 14px; }
}

@media (max-width: 620px) {
  .roll-marquee {
    --mq-w: min(62vw, 300px);
    --mq-gap: 12px;
    margin-top: 24px;
  }

  .roll-marquee .life-tile__cap,
  .roll-marquee .office-card__body,
  .roll-marquee .factory-card__cap { padding: 48px 14px 12px; }

  .roll-marquee .roll-bar { margin-top: 18px; }
}
