/* ============================================================
   Site · 首页样式（Apple 风格：大字号、宽留白、克制配色）
   仅首页使用，配合 site.css 里的统一导航 / 页脚
   ============================================================ */
:root {
  --h-ink: #1d1d1f;
  --h-muted: #6e6e73;
  --h-line: rgba(0, 0, 0, .08);
  --h-tile: #f5f5f7;
  --h-accent: #0071e3;
}
body.home {
  margin: 0; background: #fff; color: var(--h-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.home img { display: block; max-width: 100%; }
/* :where() 为零权重，避免盖掉导航条等组件里的链接配色（如登录按钮白字） */
:where(body.home) :where(a) { color: inherit; text-decoration: none; }
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Hero ===== */
.h-hero { padding: 86px 24px 0; text-align: center; }
.h-eyebrow { margin: 0 0 18px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--h-muted); }
.h-hero h1 { margin: 0; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.h-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #0a84ff, #6f6df6 55%, #bf5af2);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.h-lead { max-width: 660px; margin: 22px auto 0; color: var(--h-muted); font-size: 1.06rem; line-height: 1.75; }
.h-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.h-btn {
  display: inline-flex; align-items: center; height: 46px; padding: 0 26px;
  border-radius: 999px; font-size: .96rem; font-weight: 600;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), background .2s, box-shadow .2s;
}
.h-btn:hover { transform: translateY(-2px); }
.h-btn-dark { background: var(--h-ink); color: #fff; }
.h-btn-dark:hover { background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.h-btn-line { border: 1px solid rgba(0, 0, 0, .16); }
.h-btn-line:hover { background: var(--h-tile); }

/* 真实数据统计条 */
.h-stats { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; margin: 56px 0 0; padding: 0; }
.h-stats div { text-align: center; }
.h-stats dt { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.h-stats dd { margin: 4px 0 0; font-size: .84rem; color: var(--h-muted); }

/* Hero 大图（取最新精选机位） */
.h-hero-media { position: relative; max-width: 1200px; margin: 56px auto 0; padding: 0 24px; }
.h-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; background: var(--h-tile); }
.h-hero-media::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 58%;
  border-radius: 0 0 24px 24px; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0));
}
.h-cap { position: absolute; left: 52px; right: 52px; bottom: 38px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.h-cap-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.h-cap-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; }
.h-cap-title:hover { text-decoration: underline; }
.h-cap-meta { font-size: .86rem; opacity: .85; }

/* ===== 通用 section ===== */
.h-section { padding: 96px 24px; }
.h-section.is-tile { background: var(--h-tile); }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.h-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; }
.h-head p { margin: 8px 0 0; color: var(--h-muted); font-size: .98rem; }
.h-more { font-size: .92rem; font-weight: 600; color: var(--h-accent); white-space: nowrap; }
.h-more:hover { text-decoration: underline; }
.h-empty { padding: 44px; border-radius: 20px; background: var(--h-tile); color: var(--h-muted); font-size: .94rem; text-align: center; }

/* ===== 精选机位 ===== */
.h-spot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h-spot { display: flex; flex-direction: column; gap: 13px; }
.h-spot-img { position: relative; overflow: hidden; border-radius: 20px; background: var(--h-tile); aspect-ratio: 4 / 3; }
.h-spot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.h-spot:hover .h-spot-img img { transform: scale(1.05); }
.h-spot-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .74rem; font-weight: 600;
}
.h-spot-title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.h-spot-title:hover { color: var(--h-accent); }
.h-spot-meta { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--h-muted); }
.h-spot-metrics { margin-left: auto; display: flex; gap: 11px; }
.h-count { display: inline-flex; align-items: center; gap: 4px; }
.h-count svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ===== 最新作品 ===== */
.h-work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.h-work { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--h-line); }
.h-work-img { overflow: hidden; background: var(--h-tile); aspect-ratio: 1 / 1; }
.h-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.h-work:hover .h-work-img img { transform: scale(1.04); }
.h-work-body { padding: 13px 15px 15px; }
.h-work-title { font-size: .94rem; font-weight: 600; }
.h-work-meta { margin-top: 5px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .78rem; color: var(--h-muted); }
.h-price { color: var(--h-ink); font-weight: 600; }

/* ===== 职位 ===== */
.h-jobs { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.h-jobs-lead h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.02em; }
.h-jobs-lead > p { margin: 0 0 26px; color: var(--h-muted); font-size: 1rem; line-height: 1.8; }
.h-job-stats { display: flex; gap: 34px; margin: 0 0 30px; padding: 0; }
.h-job-stats dt { font-size: 1.5rem; font-weight: 700; }
.h-job-stats dt.is-date { font-size: 1.15rem; letter-spacing: -.01em; }
.h-job-stats dd { margin: 3px 0 0; font-size: .8rem; color: var(--h-muted); }
.h-job-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--h-line); }
.h-job-list li { border-bottom: 1px solid var(--h-line); }
.h-job-row { display: flex; align-items: center; gap: 16px; padding: 16px 6px; transition: background .2s, padding .2s; }
.h-job-row:hover { background: #fafafa; padding-left: 14px; }
.h-job-co { flex: 0 0 104px; font-size: .8rem; font-weight: 600; color: var(--h-muted); }
.h-job-title { flex: 1; font-size: .96rem; font-weight: 500; }
.h-job-city { font-size: .82rem; color: var(--h-muted); white-space: nowrap; }
.h-job-date { font-size: .78rem; color: #a1a1a6; white-space: nowrap; }

/* ===== 板块入口 ===== */
.h-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.h-tile {
  display: flex; flex-direction: column; gap: 12px; padding: 34px 30px; border-radius: 24px;
  background: #fff; border: 1px solid var(--h-line);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s;
}
.h-section.is-tile .h-tile { background: #fff; border-color: transparent; }
.h-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, .09); }
.h-tile-icon { font-size: 1.5rem; }
.h-tile h3 { margin: 0; font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
.h-tile p { margin: 0; flex: 1; color: var(--h-muted); font-size: .92rem; line-height: 1.7; }
.h-tile-link { font-size: .9rem; font-weight: 600; color: var(--h-accent); }

@media (max-width: 1000px) {
  .h-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-jobs { grid-template-columns: 1fr; gap: 36px; }
  .h-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .h-hero { padding-top: 56px; }
  .h-section { padding: 64px 20px; }
  .h-spot-grid, .h-work-grid { grid-template-columns: 1fr; }
  .h-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 12px; margin-top: 40px; }
  .h-job-stats { gap: 22px; }
  .h-cap { left: 36px; right: 36px; bottom: 22px; }
  .h-job-row { flex-wrap: wrap; gap: 6px 14px; }
  .h-job-title { flex: 1 1 100%; }
}
