/* ==========================================================================
   药学院就业平台 — 样式
   皮肤来源：VibeFather「Job Board Website」DESIGN.md（CC BY-NC 4.0）
   只借设计语言（L1）：色板 / 字阶 / 8px 节奏 / 10px 圆角 / 一个强调色
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "InterVar";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  /* 色板 */
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #e6e2d8;
  --line-soft: #f0ece2;
  --ink: #20211c;
  --soft: #63645c;
  --fern: #3e7a52;
  --fern-deep: #2f5f3f;
  --fern-mist: #e8f0e9;
  --ochre: #c08a1e;
  --clay: #c0603a;
  --slate: #12271b;

  /* 字体 */
  --font-display: "Fraunces", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --font-ui: "InterVar", "Inter", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 尺寸 */
  --r: 10px;
  --r-chip: 999px;
  --maxw: 1200px;
  --measure: 760px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hdr: 64px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--fern); text-decoration: none; }
a:hover { color: var(--fern-deep); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--fern);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 通用排版 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; }
h2 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 19px; line-height: 1.35; }

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--soft);
  max-width: 46em;
  margin: 18px 0 0;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--soft); }
.small { font-size: 13px; }
.tnum { font-variant-numeric: tabular-nums; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 顶栏 ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.hdr-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 48px;
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--fern);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--fern);
  background: var(--fern-mist);
}
.brand-mark svg { width: 17px; height: 17px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

nav.tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
nav.tabs::-webkit-scrollbar { display: none; }

nav.tabs a {
  padding: 7px 12px;
  border-radius: var(--r-chip);
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
nav.tabs a:hover { color: var(--ink); background: var(--line-soft); }
nav.tabs a.on { color: var(--fern-deep); background: var(--fern-mist); font-weight: 600; }

.hdr-act {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { border-color: #d8d2c4; background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--fern);
  border-color: var(--fern);
  color: #fff;
}
.btn--primary:hover { background: var(--fern-deep); border-color: var(--fern-deep); color: #fff; }

.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--soft); }
.btn--ghost:hover { background: var(--line-soft); border-color: transparent; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- 版块 ---------- */
section.band { padding: 88px 0; border-top: 1px solid var(--line); }
section.band:first-of-type { border-top: 0; }
.band--tight { padding: 56px 0; }

.band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.band-head p { max-width: 46em; color: var(--soft); margin: 10px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}
.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 20px; }

.hero-side {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.kv { display: grid; gap: 16px; }
.kv-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kv-k { font-size: 13px; color: var(--soft); }
.kv-v { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1; }
.kv-v small { font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--soft); margin-left: 4px; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile {
  background: var(--panel);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  transition: background 200ms var(--ease);
}
a.tile:hover { background: #fdfcf8; color: var(--ink); }
.tile-ico { color: var(--fern); margin-bottom: 4px; }
.tile-ico svg { width: 22px; height: 22px; }
.tile h3 { font-size: 17px; }
.tile p { font-size: 13.5px; line-height: 1.6; color: var(--soft); margin: 0; }
.tile-more { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--fern); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.card--flat { background: var(--panel); }

/* ---------- 状态标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--r-chip);
  background: var(--fern-mist);
  color: var(--fern-deep);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip--line { background: transparent; border: 1px solid var(--line); color: var(--soft); font-weight: 500; }
.chip--ochre { background: #fdf3df; color: #8a6112; }
.chip--clay { background: #fbeee9; color: #a44a28; }
.chip--ink { background: var(--ink); color: #fff; }

/* ---------- 岗位列表 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.search svg { width: 16px; height: 16px; color: var(--soft); flex-shrink: 0; }
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  width: 100%;
  color: var(--ink);
}
.sel {
  height: 46px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2363645C' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 12px center;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}

.chipbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chipbar button {
  height: 30px;
  padding: 0 13px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms var(--ease);
}
.chipbar button:hover { border-color: #d5cfc0; color: var(--ink); }
.chipbar button.on {
  background: var(--fern);
  border-color: var(--fern);
  color: #fff;
  font-weight: 600;
}

.countline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 0;
}

.jobs { border-bottom: 1px solid var(--line); }
.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 108px 120px;
  gap: 20px;
  align-items: center;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.job:first-child { border-top: 0; }
.job:hover { background: #fdfcf8; }
.job-main { min-width: 0; }
.job-co {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.star { color: var(--ochre); font-size: 12px; letter-spacing: 1px; flex-shrink: 0; }
.job-pos { font-size: 13.5px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-cell { font-size: 13px; color: var(--soft); }
.job-cell b { color: var(--ink); font-weight: 600; }
.job-dl { text-align: right; }
.dl-days { font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- 时间线 ---------- */
.timeline { margin-top: 8px; }
.tl-item {
  display: grid;
  grid-template-columns: 150px 20px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 34px;
  position: relative;
}
.tl-date {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  text-align: right;
  color: var(--ink);
}
.tl-date span { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--soft); margin-top: 2px; }
.tl-line { position: relative; }
.tl-line::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: -34px;
  width: 1px;
  background: var(--line);
}
.tl-item:last-child .tl-line::before { display: none; }
.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fern);
  margin: 6px 0 0 5px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--paper);
}
.tl-item.is-past .tl-dot { background: var(--line); }
.tl-body h3 { font-size: 18px; margin-bottom: 4px; }
.tl-body p { font-size: 14px; color: var(--soft); margin: 0 0 6px; }
.tl-body a { font-size: 13.5px; font-weight: 600; word-break: break-all; }

/* ---------- 提示块 ---------- */
.note {
  background: var(--fern-mist);
  border-radius: var(--r);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}
.note strong { color: var(--fern-deep); }
.note--warn { background: #fdf3df; color: #6b4a0d; }
.note--warn strong { color: #8a6112; }
.note h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fern-deep); margin-bottom: 8px; }
.note--warn h4 { color: #8a6112; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
ul.ticks li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.6; }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--fern-mist);
  border: 1.5px solid var(--fern);
}
ul.plain { padding-left: 18px; margin: 0; display: grid; gap: 7px; font-size: 14px; }
ul.plain li::marker { color: var(--soft); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--panel); padding: 22px 24px 22px 64px; position: relative; counter-increment: s; }
.step::before {
  content: counter(s);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fern);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 16.5px; margin-bottom: 5px; }
.step p { font-size: 14px; color: var(--soft); margin: 0; }
.step p + p { margin-top: 6px; }

/* ---------- 表格 ---------- */
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
table.tbl th, table.tbl td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.tbl th {
  background: #f7f5ef;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soft);
  white-space: nowrap;
}
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td b { font-weight: 600; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 图集 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shot {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  text-align: left;
  padding: 0;
  transition: border-color 160ms var(--ease);
}
.shot:hover { border-color: #cec7b6; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.shot figcaption span { display: block; font-weight: 400; color: var(--soft); font-size: 12px; margin-top: 2px; }

figure.full { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
figure.full img { width: 100%; }
figure.full figcaption { padding: 12px 16px; font-size: 12.5px; color: var(--soft); border-top: 1px solid var(--line); }

/* ---------- 下载行 ---------- */
.dlrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.dlrow:first-child { border-top: 0; }
.dlrow-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--fern-mist); color: var(--fern-deep); display: grid; place-items: center; flex-shrink: 0; }
.dlrow-ico svg { width: 17px; height: 17px; }
.dlrow-main { flex: 1; min-width: 0; }
.dlrow-main b { display: block; font-size: 14.5px; font-weight: 600; }
.dlrow-main span { font-size: 12.5px; color: var(--soft); }
.dlrow a { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- 通知 ---------- */
.notice-board { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.notice { background: var(--panel); padding: 22px 24px; }
.notice h3 { font-size: 16.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.notice h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); flex-shrink: 0; }
.notice p { font-size: 14px; color: var(--soft); }
.notice .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.notice .links a { font-size: 13px; font-weight: 600; }

/* ---------- 抽屉 ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(32, 33, 28, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  z-index: 60;
}
.scrim.on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  z-index: 61;
  display: flex;
  flex-direction: column;
}
.drawer.on { transform: none; }
.drawer-hd {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.drawer-hd h2 { font-size: 22px; line-height: 1.25; }
.drawer-bd { padding: 22px 26px 40px; overflow: auto; flex: 1; }
.drawer-bd dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px 16px; margin: 0 0 22px; font-size: 14px; }
.drawer-bd dt { color: var(--soft); font-size: 13px; }
.drawer-bd dd { margin: 0; word-break: break-word; }
.iconbtn {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}
.iconbtn:hover { background: #fff; border-color: #d8d2c4; }
.iconbtn svg { width: 16px; height: 16px; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(18, 39, 27, 0.9);
  display: none; place-items: center; z-index: 70; padding: 24px;
}
.lightbox.on { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox button {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}

/* ---------- 表单 ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--soft); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); font: inherit; font-size: 14px; color: var(--ink); width: 100%;
}
.field textarea { height: auto; min-height: 84px; padding: 11px 13px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--fern); box-shadow: 0 0 0 3px rgba(62,122,82,0.14); }

/* ---------- 页脚 ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 13px;
  color: var(--soft);
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-grid h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.foot-grid a { display: block; padding: 2px 0; font-size: 13px; color: var(--soft); }
.foot-grid a:hover { color: var(--fern); }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* ---------- 骨架 / 空态 ---------- */
.empty { padding: 56px 0; text-align: center; color: var(--soft); font-size: 14px; }
.skeleton { background: linear-gradient(90deg, #f2efe7, #f8f6f0, #f2efe7); background-size: 300% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 6px; height: 14px; }
@keyframes sk { 0% { background-position: 0 0; } 100% { background-position: 300% 0; } }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .wrap, .hdr-in { padding: 0 32px; }
  section.band { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: minmax(0, 1fr) 110px 110px; }
  .job-cell.city { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap, .hdr-in { padding: 0 20px; }
  section.band { padding: 48px 0; }
  .hdr-in { height: 58px; gap: 12px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 15.5px; }
  nav.tabs { margin-left: 0; }
  nav.tabs a { padding: 6px 10px; font-size: 13px; }
  header.site { overflow: visible; }
  .hdr-in { flex-wrap: nowrap; }
  .hdr-act .btn span { display: none; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { max-width: none; }
  .lead { font-size: 15.5px; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .kv-v { font-size: 21px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .tile { padding: 20px; }
  .job { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
  .job-dl { text-align: left; display: flex; align-items: center; gap: 10px; }
  .job-cell { display: none; }
  .job-cell.city { display: block; }
  .tl-item { grid-template-columns: 92px 16px minmax(0, 1fr); gap: 12px; }
  .tl-date { font-size: 13px; }
  .gallery { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .drawer-bd dl { grid-template-columns: 76px minmax(0, 1fr); }
  .band-head { margin-bottom: 24px; }
  h2 { font-size: 23px; }
}

/* 顶部导航在手机端单独一行 */
@media (max-width: 720px) {
  header.site { position: sticky; }
  .hdr-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 8px; row-gap: 6px; }
  .hdr-act { margin-left: auto; }
  nav.tabs { order: 3; width: 100%; margin: 0 -20px; padding: 0 20px 4px; }
  :root { --hdr: 96px; }
}
