/* ==========================================================================
   恒宝中心 · 共享样式表  /assets/site.css
   气质：档案室 × 数据仪表盘 —— 宝蓝结构、暖金索引、朱砂红提示、灰白纸感
   ========================================================================== */

/* 1. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }
strong, b { font-weight: 700; }

/* 2. 变量
   -------------------------------------------------------------------------- */
:root {
  /* 色彩系统 */
  --hb-navy: #1B3A93;
  --hb-navy-deep: #0E1E4A;
  --hb-blue-mid: #2E5BC7;
  --hb-blue-mist: #DCE4F2;
  --hb-gold: #C89A3C;
  --hb-gold-soft: #E8D6A8;
  --hb-red: #C0392B;
  --hb-green: #1F6F6B;
  --hb-paper: #F5F3EE;
  --hb-card: #FFFFFF;
  --hb-ink: #1F2430;
  --hb-muted: #6B7280;
  --hb-hair: rgba(27, 58, 147, 0.16);
  --hb-hair-soft: rgba(27, 58, 147, 0.08);
  --hb-hair-light: rgba(255, 255, 255, 0.16);

  /* 尺寸与节奏 */
  --hb-header-h: 76px;
  --hb-header-h-slim: 64px;
  --hb-shell: 1200px;
  --hb-shell-wide: 1360px;
  --hb-gutter: 24px;
  --hb-r-sm: 6px;
  --hb-r-md: 12px;
  --hb-r-lg: 22px;

  /* 动效 */
  --hb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hb-dur: 480ms;

  /* 阴影 */
  --hb-shadow-1: 0 1px 2px rgba(14, 30, 74, 0.06), 0 14px 30px -22px rgba(14, 30, 74, 0.38);
  --hb-shadow-2: 0 20px 48px -24px rgba(14, 30, 74, 0.46);

  /* 字体 */
  --hb-font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  --hb-font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hb-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 3. 基础排版
   -------------------------------------------------------------------------- */
body {
  background-color: var(--hb-paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(27, 58, 147, 0.035) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(27, 58, 147, 0.03) 0 1px, transparent 1px 52px);
  color: var(--hb-ink);
  font-family: var(--hb-font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 { font-family: var(--hb-font-display); color: var(--hb-ink); }

p + p { margin-top: 1.2em; }

code, kbd, samp { font-family: var(--hb-font-mono); font-size: 0.92em; letter-spacing: 0.06em; }

::selection { background: var(--hb-gold-soft); color: var(--hb-navy-deep); }

#main-content { scroll-margin-top: calc(var(--hb-header-h) + 16px); }

/* 4. 无障碍工具
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--hb-blue-mid);
  outline-offset: 2px;
  border-radius: 2px;
}
.hb-skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--hb-gold-soft);
  color: var(--hb-navy-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--hb-r-sm);
  box-shadow: var(--hb-shadow-2);
  transform: translateY(-180%);
  transition: transform 240ms var(--hb-ease);
}
.hb-skip:focus,
.hb-skip:focus-visible { transform: translateY(0); }

.hb-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 5. 布局容器与栅格
   -------------------------------------------------------------------------- */
.hb-shell {
  width: 100%;
  max-width: var(--hb-shell);
  margin-inline: auto;
  padding-inline: var(--hb-gutter);
}
.hb-shell--wide { max-width: var(--hb-shell-wide); }
@media (min-width: 1024px) {
  .hb-shell { padding-inline: 32px; }
}

.hb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--hb-gutter);
}
.hb-grid--tight { gap: 16px; }
.hb-span-3 { grid-column: span 3; }
.hb-span-4 { grid-column: span 4; }
.hb-span-5 { grid-column: span 5; }
.hb-span-6 { grid-column: span 6; }
.hb-span-7 { grid-column: span 7; }
.hb-span-8 { grid-column: span 8; }
.hb-span-9 { grid-column: span 9; }
.hb-span-12 { grid-column: span 12; }

@media (max-width: 1023px) {
  .hb-span-3, .hb-span-4, .hb-span-5 { grid-column: span 6; }
  .hb-span-7, .hb-span-8, .hb-span-9 { grid-column: span 12; }
}
@media (max-width: 767px) {
  .hb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .hb-span-3, .hb-span-4, .hb-span-5, .hb-span-6,
  .hb-span-7, .hb-span-8, .hb-span-9, .hb-span-12 { grid-column: span 4; }
}

.hb-pad-header { padding-top: var(--hb-header-h); }
.hb-measure { max-width: 42em; }

/* 6. 分区节奏
   -------------------------------------------------------------------------- */
.hb-section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}
.hb-section--tight { padding-block: clamp(32px, 4.4vw, 56px); }
.hb-section--mist { background-color: var(--hb-blue-mist); }
.hb-section--paper { background-color: var(--hb-card); }
.hb-section--deep {
  background-color: var(--hb-navy-deep);
  color: rgba(255, 255, 255, 0.86);
}
.hb-section--deep h1,
.hb-section--deep h2,
.hb-section--deep h3 { color: #fff; }
.hb-section--edge {
  border-top: 1px solid var(--hb-hair);
  border-bottom: 1px solid var(--hb-hair);
}

/* 7. 文字层级
   -------------------------------------------------------------------------- */
.hb-display {
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--hb-ink);
}
.hb-display--light { color: #fff; }

.hb-h2 {
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
}
.hb-h3 {
  font-family: var(--hb-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hb-font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hb-gold);
}
.hb-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-gold);
}
.hb-section--deep .hb-eyebrow { color: var(--hb-gold-soft); }
.hb-section--deep .hb-eyebrow::before { background: var(--hb-gold-soft); }

.hb-lede {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--hb-muted);
  max-width: 40em;
}
.hb-section--deep .hb-lede { color: rgba(255, 255, 255, 0.74); }

.hb-num {
  font-family: var(--hb-font-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--hb-ink);
  transition: color 300ms var(--hb-ease);
}
.hb-num--gold { color: var(--hb-gold); }
.hb-num--muted { color: var(--hb-muted); }

.hb-aside {
  font-size: 14px;
  line-height: 1.8;
  color: var(--hb-muted);
  border-left: 2px solid var(--hb-gold-soft);
  padding-left: 16px;
}

.hb-rule { height: 1px; background: var(--hb-hair); }
.hb-rule--gold {
  height: 2px;
  background: linear-gradient(90deg, var(--hb-gold), rgba(200, 154, 60, 0));
}

/* 8. 标签与提示点
   -------------------------------------------------------------------------- */
.hb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.34em 0.72em;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 3px;
  border: 1px solid rgba(200, 154, 60, 0.55);
  background: rgba(232, 214, 168, 0.42);
  color: #74531a;
}
.hb-tag--red {
  border-color: rgba(192, 57, 43, 0.5);
  background: rgba(192, 57, 43, 0.1);
  color: #8f2b20;
}
.hb-tag--green {
  border-color: rgba(31, 111, 107, 0.45);
  background: rgba(31, 111, 107, 0.1);
  color: #17544f;
}
.hb-tag--blue {
  border-color: rgba(27, 58, 147, 0.32);
  background: rgba(27, 58, 147, 0.08);
  color: var(--hb-navy);
}

.hb-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-red);
  flex: 0 0 auto;
}

.hb-month {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hb-gold);
  box-shadow: 0 0 0 4px rgba(232, 214, 168, 0.45);
  background: var(--hb-card);
  font-family: var(--hb-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--hb-navy);
  flex: 0 0 auto;
}

/* 9. 按钮
   -------------------------------------------------------------------------- */
.hb-btn {
  --btn-bg: var(--hb-navy);
  --btn-fg: #ffffff;
  --btn-bd: var(--hb-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.35em;
  font-family: var(--hb-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--hb-r-sm);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: background-color 250ms var(--hb-ease), color 250ms var(--hb-ease),
              border-color 250ms var(--hb-ease), transform 250ms var(--hb-ease);
}
.hb-btn:hover { transform: translateY(-2px); }
.hb-btn:active { transform: translateY(0); }

.hb-btn--cta {
  --btn-bg: var(--hb-gold-soft);
  --btn-fg: var(--hb-navy-deep);
  --btn-bd: var(--hb-gold);
}
.hb-btn--cta:hover { --btn-bg: #f2e4c0; }

.hb-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, 0.42);
}
.hb-btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-bd: var(--hb-gold-soft);
}

.hb-btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--hb-navy);
  --btn-bd: var(--hb-hair);
}
.hb-btn--outline:hover {
  --btn-bg: rgba(27, 58, 147, 0.06);
  --btn-bd: var(--hb-navy);
}

/* 10. 卡片 / 索引单元
   -------------------------------------------------------------------------- */
.hb-card {
  position: relative;
  display: block;
  padding: 26px 26px 24px;
  background: var(--hb-card);
  border: 1px solid var(--hb-hair);
  border-radius: var(--hb-r-md);
  transition: transform 300ms var(--hb-ease), box-shadow 300ms var(--hb-ease),
              border-color 300ms var(--hb-ease);
  overflow: hidden;
}
.hb-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--hb-red);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 300ms var(--hb-ease);
}
.hb-card:hover,
.hb-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow-2);
  border-color: rgba(27, 58, 147, 0.28);
}
.hb-card:hover::before,
.hb-card:focus-within::before { transform: scaleY(1); }
.hb-card:hover .hb-num,
.hb-card:focus-within .hb-num { color: var(--hb-gold); }

.hb-card--flat { border-radius: var(--hb-r-sm); }

.hb-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hb-hair);
}
.hb-section--deep .hb-sec-head { border-bottom-color: var(--hb-hair-light); }

.hb-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  border-radius: var(--hb-r-md);
  background: var(--hb-navy);
  color: #ffffff;
  overflow: hidden;
}
.hb-band::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 154, 60, 0.38), transparent 70%);
  pointer-events: none;
}
.hb-band > * { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .hb-sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hb-band { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
}

/* 11. 面包屑
   -------------------------------------------------------------------------- */
.hb-crumbs {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--hb-muted);
}
.hb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; }
.hb-crumbs li { display: inline-flex; align-items: center; gap: 0.4em; }
.hb-crumbs li + li::before {
  content: "／";
  color: var(--hb-gold);
  font-size: 12px;
}
.hb-crumbs a { transition: color 220ms var(--hb-ease); }
.hb-crumbs a:hover { color: var(--hb-blue-mid); }
.hb-crumbs [aria-current="page"] { color: var(--hb-ink); font-weight: 600; }

/* 12. 图片容器（页面阶段放入实拍素材）
   -------------------------------------------------------------------------- */
.hb-figure {
  margin: 0;
  display: block;
  position: relative;
  border-radius: var(--hb-r-md);
  overflow: hidden;
}
.hb-figure__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--hb-blue-mist), #ffffff 70%);
}
.hb-figure__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(27, 58, 147, 0.07) 0 2px, transparent 2px 14px);
}
.hb-figure__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hb-figure__cap {
  padding: 12px 2px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hb-muted);
}
.hb-figure--wide .hb-figure__frame { aspect-ratio: 16 / 9; }
.hb-figure--tall .hb-figure__frame { aspect-ratio: 3 / 4; }
.hb-figure--square .hb-figure__frame { aspect-ratio: 1 / 1; }
.hb-figure--bare { border-radius: 0; }

/* 13. 页头
   -------------------------------------------------------------------------- */
.hb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  color: #ffffff;
  background: rgba(14, 30, 74, 0.74);
  border-bottom: 1px solid rgba(200, 154, 60, 0.24);
  transition: background-color 300ms var(--hb-ease), border-color 300ms var(--hb-ease),
              box-shadow 300ms var(--hb-ease);
}
.hb-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 154, 60, 0.7), transparent);
  opacity: 0.75;
  pointer-events: none;
}
.hb-header.is-scrolled {
  background: var(--hb-navy);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -28px rgba(14, 30, 74, 0.95);
}

.hb-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--hb-header-h);
  transition: height 300ms var(--hb-ease);
}
.hb-header.is-scrolled .hb-header__inner { height: var(--hb-header-h-slim); }

.hb-header :focus-visible { outline-color: var(--hb-gold-soft); }

/* 品牌 */
.hb-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hb-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  color: var(--hb-navy-deep);
  background: var(--hb-gold-soft);
  border-radius: 14px 14px 14px 4px;
  transition: transform 300ms var(--hb-ease);
}
.hb-brand:hover .hb-brand__mark { transform: rotate(-6deg); }
.hb-brand__text { display: flex; flex-direction: column; gap: 1px; }
.hb-brand__name {
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.hb-brand__note {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  color: rgba(232, 214, 168, 0.86);
}

/* 导航 */
.hb-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.hb-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hb-nav__item { position: relative; }
.hb-nav__item + .hb-nav__item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 1px;
  height: 13px;
  transform: translateY(-50%);
  background: rgba(200, 154, 60, 0.62);
  pointer-events: none;
}
.hb-nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  transition: color 250ms var(--hb-ease), background-color 250ms var(--hb-ease);
}
.hb-nav__link:hover {
  color: var(--hb-gold-soft);
  background: rgba(255, 255, 255, 0.07);
}
.hb-nav__link[aria-current="page"] { color: var(--hb-gold-soft); }
.hb-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-gold);
}

/* 工具区 */
.hb-header__tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hb-header .hb-btn {
  padding: 0.6em 1.05em;
  font-size: 14px;
}

/* 移动端按钮 */
.hb-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 0.55em 0.85em;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--hb-r-sm);
  transition: border-color 250ms var(--hb-ease), background-color 250ms var(--hb-ease);
}
.hb-navtoggle:hover {
  border-color: var(--hb-gold-soft);
  background: rgba(255, 255, 255, 0.08);
}
.hb-navtoggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 200ms var(--hb-ease);
}
.hb-navtoggle__bars::before,
.hb-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 260ms var(--hb-ease), top 260ms var(--hb-ease);
}
.hb-navtoggle__bars::before { top: -6px; }
.hb-navtoggle__bars::after { top: 6px; }
.hb-navtoggle[aria-expanded="true"] .hb-navtoggle__bars { background: transparent; }
.hb-navtoggle[aria-expanded="true"] .hb-navtoggle__bars::before { top: 0; transform: rotate(45deg); }
.hb-navtoggle[aria-expanded="true"] .hb-navtoggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 抽屉遮罩 */
.hb-navscrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(9, 18, 42, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--hb-ease), visibility 300ms var(--hb-ease);
}
.hb-navscrim[data-open="true"] { opacity: 1; visibility: visible; }

@media (max-width: 1200px) {
  .hb-header__search { display: none; }
  .hb-nav__link { padding-inline: 10px; font-size: 14px; }
  .hb-nav__link[aria-current="page"]::after { left: 10px; right: 10px; }
}

/* 移动端抽屉 */
@media (max-width: 1023px) {
  .hb-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 5;
    width: min(360px, 88vw);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 96px 26px 48px;
    background: var(--hb-navy-deep);
    border-left: 1px solid rgba(200, 154, 60, 0.35);
    box-shadow: -28px 0 70px -34px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    transform: translateX(101%);
    visibility: hidden;
    transition: transform 420ms var(--hb-ease), visibility 420ms var(--hb-ease);
  }
  .hb-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }
  .hb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hb-nav__item + .hb-nav__item::before { display: none; }
  .hb-nav__link {
    padding: 15px 6px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }
  .hb-nav__link[aria-current="page"] {
    color: var(--hb-gold-soft);
    border-left: 3px solid var(--hb-gold);
    padding-left: 14px;
  }
  .hb-nav__link[aria-current="page"]::after { display: none; }
  .hb-navtoggle { display: inline-flex; }
  .hb-header.is-scrolled .hb-header__inner { height: var(--hb-header-h); }
}

@media (max-width: 560px) {
  .hb-brand__note { display: none; }
  .hb-brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .hb-brand__name { font-size: 17px; }
  .hb-header .hb-btn--ghost { display: none; }
}

/* 14. 页脚
   -------------------------------------------------------------------------- */
.hb-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--hb-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.hb-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hb-gold), rgba(200, 154, 60, 0.1));
}
.hb-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(120% 88% at 88% -14%, rgba(46, 91, 199, 0.44), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 54px);
}

.hb-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.1fr);
  gap: 56px;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.hb-footer__mark {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.hb-footer__tag {
  margin-top: 10px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--hb-gold);
}
.hb-footer__region {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid rgba(232, 214, 168, 0.4);
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.hb-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.hb-footer__ctitle {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hb-gold);
}
.hb-footer__ctitle::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px;
  height: 1px;
  background: rgba(200, 154, 60, 0.75);
}
.hb-footer__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hb-footer__list a {
  display: inline-block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: color 250ms var(--hb-ease), border-color 250ms var(--hb-ease),
              padding-left 250ms var(--hb-ease);
}
.hb-footer__list a:hover {
  color: #ffffff;
  border-left-color: var(--hb-red);
  padding-left: 10px;
}

.hb-footer__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.hb-footer__contact {
  font-family: var(--hb-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.hb-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.hb-footer__icp {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}
.hb-footer :focus-visible { outline-color: var(--hb-gold-soft); }

.hb-totop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.5em 0.95em;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hb-gold-soft);
  border: 1px solid rgba(232, 214, 168, 0.36);
  border-radius: 3px;
  transition: background-color 250ms var(--hb-ease), border-color 250ms var(--hb-ease),
              transform 250ms var(--hb-ease);
}
.hb-totop:hover {
  background: rgba(232, 214, 168, 0.14);
  border-color: var(--hb-gold);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hb-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hb-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 520px) {
  .hb-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .hb-footer__meta { flex-direction: column; align-items: flex-start; }
}

/* 15. 显现动效
   -------------------------------------------------------------------------- */
[data-reveal] {
  transition: opacity var(--hb-dur) var(--hb-ease), transform var(--hb-dur) var(--hb-ease);
}
html.hb-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
html.hb-reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  transition: opacity 420ms var(--hb-ease), transform 420ms var(--hb-ease);
}
html.hb-reveal-ready [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}
html.hb-reveal-ready [data-stagger].is-visible > * { opacity: 1; transform: none; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(7) { transition-delay: 420ms; }
html.hb-reveal-ready [data-stagger].is-visible > *:nth-child(8) { transition-delay: 490ms; }

/* 16. 偏好减弱动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
    transition-delay: 0ms !important;
  }
  html.hb-reveal-ready [data-reveal],
  html.hb-reveal-ready [data-stagger] > * {
    transform: none;
    opacity: 0;
  }
  html.hb-reveal-ready [data-reveal].is-visible,
  html.hb-reveal-ready [data-stagger].is-visible > * { opacity: 1; }
  .hb-card:hover, .hb-btn:hover, .hb-totop:hover, .hb-brand:hover .hb-brand__mark {
    transform: none;
  }
}
