/* ==========================================================================
   火博体育 CN 官方中文站 — 共享站点套件
   文件位置：/assets/site.css
   内容：Reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件 / 响应式
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--hb-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--hb-ink);
  background-color: var(--hb-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--hb-font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
}

p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--hb-line); margin: 0; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 品牌色谱 */
  --hb-flame: #F0441B;
  --hb-flame-soft: #FF6A3D;
  --hb-char: #141210;
  --hb-coal: #2A2622;
  --hb-lava: #F2A33A;
  --hb-cyan: #2BA7B8;
  --hb-cream: #F7F1E8;
  --hb-paper: #FFFFFF;
  --hb-rock: #6F6A62;
  --hb-clay: #B85C3A;
  --hb-moss: #5F6F52;

  /* 语义色 */
  --hb-ink: #141210;
  --hb-ink-soft: #4A453E;
  --hb-ink-mute: #6F6A62;
  --hb-on-dark: #F7F1E8;
  --hb-on-dark-soft: rgba(247, 241, 232, .74);
  --hb-on-dark-mute: rgba(247, 241, 232, .52);
  --hb-line: rgba(20, 18, 16, .12);
  --hb-line-soft: rgba(20, 18, 16, .07);
  --hb-line-dark: rgba(247, 241, 232, .14);

  /* 字体族 */
  --hb-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --hb-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --hb-font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Courier New", monospace;

  /* 字号阶 */
  --hb-fs-12: .75rem;
  --hb-fs-14: .875rem;
  --hb-fs-16: 1rem;
  --hb-fs-20: 1.25rem;
  --hb-fs-28: 1.75rem;
  --hb-fs-40: 2.5rem;
  --hb-fs-64: 4rem;
  --hb-fs-88: 5.5rem;

  /* 布局与材质 */
  --hb-max: 1320px;
  --hb-gutter: clamp(16px, 3vw, 28px);
  --hb-radius: 6px;
  --hb-radius-sm: 4px;
  --hb-header-h: 74px;
  --hb-shadow-1: 0 1px 2px rgba(20, 18, 16, .05), 0 12px 28px -18px rgba(20, 18, 16, .35);
  --hb-shadow-2: 0 2px 4px rgba(20, 18, 16, .06), 0 22px 44px -24px rgba(20, 18, 16, .45);
  --hb-glow-flame: 0 10px 26px -8px rgba(240, 68, 27, .55);
}

/* ---------- 3. 焦点与可访问性 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--hb-lava);
  outline-offset: 3px;
  border-radius: var(--hb-radius-sm);
}

.hb-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--hb-lava);
  color: var(--hb-char);
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
  border-radius: var(--hb-radius-sm);
  box-shadow: var(--hb-shadow-2);
  transform: translateY(-200%);
  transition: transform .18s ease;
}

.hb-skip:focus,
.hb-skip:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--hb-paper);
  outline-offset: 2px;
}

/* ---------- 4. 头部：框架式夜间围栏 ---------- */
.hb-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, #1A1613 0%, var(--hb-char) 100%);
  color: var(--hb-on-dark);
  border-bottom: 1px solid var(--hb-line-dark);
  transition: box-shadow .25s ease;
}

.hb-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--hb-flame) 0 40%,
    var(--hb-lava) 40% 58%,
    var(--hb-cyan) 58% 70%,
    rgba(247, 241, 232, .12) 70% 100%);
  pointer-events: none;
}

.hb-header.is-stuck {
  box-shadow: 0 16px 36px -20px rgba(20, 18, 16, .9);
}

.hb-header__rail {
  max-width: var(--hb-max);
  margin-inline: auto;
  min-height: var(--hb-header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  padding: 12px var(--hb-gutter);
  border-inline: 1px solid rgba(247, 241, 232, .07);
}

/* 品牌锁定组 */
.hb-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-radius: var(--hb-radius-sm);
}

.hb-brand__mark,
.hb-footer__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(150deg, var(--hb-flame) 0%, var(--hb-clay) 100%);
  color: var(--hb-paper);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  box-shadow: var(--hb-glow-flame);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hb-brand__mark { width: 42px; height: 42px; }
.hb-brand__mark svg { width: 22px; height: 22px; }
.hb-footer__mark { width: 34px; height: 34px; }
.hb-footer__mark svg { width: 18px; height: 18px; }

.hb-brand:hover .hb-brand__mark,
.hb-brand:focus-visible .hb-brand__mark {
  transform: scale(1.04);
  box-shadow: 0 12px 30px -6px rgba(240, 68, 27, .7);
}

.hb-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.hb-brand__name {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--hb-paper);
}

.hb-brand__suffix {
  font-family: var(--hb-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hb-lava);
}

/* 移动端抽屉按钮 */
.hb-nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(247, 241, 232, .26);
  border-radius: var(--hb-radius-sm);
  color: var(--hb-on-dark);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.hb-nav-toggle:hover {
  border-color: var(--hb-lava);
  color: var(--hb-lava);
  background: rgba(247, 241, 232, .05);
}

.hb-nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.hb-nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hb-nav-toggle__label {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* 导航 */
.hb-nav {
  grid-area: nav;
  min-width: 0;
}

.hb-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0px, .35vw, 6px);
}

.hb-nav__item { display: block; }

.hb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px clamp(7px, .85vw, 12px);
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font-display);
  font-weight: 700;
  font-size: clamp(13px, .95vw, 14.5px);
  letter-spacing: .01em;
  white-space: nowrap;
  color: rgba(247, 241, 232, .82);
  transition: color .18s ease, background-color .18s ease;
}

.hb-nav__index {
  font-family: var(--hb-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(247, 241, 232, .34);
  transition: color .18s ease;
}

.hb-nav__link::after {
  content: "";
  position: absolute;
  left: clamp(7px, .85vw, 12px);
  right: clamp(7px, .85vw, 12px);
  bottom: 3px;
  height: 2px;
  background: var(--hb-lava);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.hb-nav__link:hover {
  color: var(--hb-paper);
  background: rgba(247, 241, 232, .06);
}

.hb-nav__link:hover::after { transform: scaleX(1); }
.hb-nav__link:hover .hb-nav__index { color: var(--hb-lava); }

.hb-nav__link[aria-current="page"] {
  color: var(--hb-lava);
  background: rgba(240, 68, 27, .14);
}

.hb-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.hb-nav__link[aria-current="page"] .hb-nav__index { color: var(--hb-flame); }

/* 动作区 */
.hb-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

/* ---------- 5. 按钮 ---------- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--hb-radius-sm);
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.hb-btn--solid {
  background: var(--hb-flame);
  color: var(--hb-paper);
  box-shadow: var(--hb-glow-flame);
}
.hb-btn--solid:hover { background: var(--hb-flame-soft); transform: translateY(-2px); }

.hb-btn--lava {
  background: var(--hb-lava);
  color: var(--hb-char);
  box-shadow: 0 10px 24px -12px rgba(242, 163, 58, .8);
}
.hb-btn--lava:hover { background: #FFB44F; transform: translateY(-2px); }

.hb-btn--ghost {
  background: transparent;
  border-color: rgba(247, 241, 232, .28);
  color: var(--hb-on-dark);
}
.hb-btn--ghost:hover { border-color: var(--hb-lava); color: var(--hb-lava); transform: translateY(-2px); }

.hb-btn--line {
  background: transparent;
  border-color: var(--hb-rock);
  color: var(--hb-ink);
}
.hb-btn--line:hover { border-color: var(--hb-flame); color: var(--hb-flame); transform: translateY(-2px); }

/* ---------- 6. 页脚：双层收口 ---------- */
.hb-footer {
  position: relative;
  margin-top: clamp(48px, 6vw, 96px);
  background: linear-gradient(180deg, #171410 0%, var(--hb-char) 100%);
  color: var(--hb-on-dark-soft);
  overflow: hidden;
}

.hb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--hb-cyan) 0 40%,
    var(--hb-lava) 40% 62%,
    var(--hb-flame) 62% 100%);
  pointer-events: none;
}

.hb-footer::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(240, 68, 27, .16) 0%, rgba(240, 68, 27, 0) 68%);
  pointer-events: none;
}

.hb-footer__rail {
  position: relative;
  z-index: 1;
  max-width: var(--hb-max);
  margin-inline: auto;
  padding: clamp(38px, 4.5vw, 60px) var(--hb-gutter) 26px;
  border-inline: 1px solid rgba(247, 241, 232, .07);
}

.hb-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--hb-line-dark);
}

.hb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hb-footer__brandtext {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--hb-paper);
}

.hb-footer__tagline {
  font-family: var(--hb-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hb-lava);
}

.hb-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: clamp(22px, 4vw, 56px);
  padding-block: clamp(28px, 3.6vw, 44px);
  border-bottom: 1px solid var(--hb-line-dark);
}

.hb-footer__col { min-width: 0; }

.hb-footer__title {
  margin: 0 0 14px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hb-on-dark-mute);
}

.hb-footer__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-footer__list--contact { margin-bottom: 4px; }

.hb-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hb-on-dark-soft);
  transition: color .18s ease, transform .18s ease;
}

.hb-footer__link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--hb-rock);
  transform: rotate(45deg);
  transition: background-color .18s ease;
}

.hb-footer__link:hover {
  color: var(--hb-lava);
  transform: translateX(2px);
}

.hb-footer__link:hover::before { background: var(--hb-lava); }

.hb-footer__contact-item {
  padding-block: 3px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--hb-on-dark-soft);
  overflow-wrap: anywhere;
}

.hb-footer__note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--hb-clay);
  max-width: 44ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(247, 241, 232, .55);
}

.hb-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-top: 20px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--hb-on-dark-mute);
}

.hb-footer__copyright { color: var(--hb-on-dark-mute); }

.hb-footer__legal {
  color: var(--hb-on-dark-mute);
  letter-spacing: .06em;
}

.hb-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.hb-footer__legal-links .hb-footer__link {
  font-size: 12px;
  font-family: var(--hb-font-mono);
  letter-spacing: .04em;
}

/* ---------- 7. 通用布局 ---------- */
.hb-container {
  width: 100%;
  max-width: var(--hb-max);
  margin-inline: auto;
  padding-inline: var(--hb-gutter);
}

.hb-section {
  padding-block: clamp(56px, 7vw, 112px);
}

.hb-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(22px, 3vw, 38px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.hb-grid--auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

/* ---------- 8. 通用排版 ---------- */
.hb-display {
  margin: 0;
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -.03em;
}

.hb-heading {
  margin: 0;
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.hb-subheading {
  margin: 0;
  font-family: var(--hb-font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.34;
  letter-spacing: -.012em;
}

.hb-lede {
  max-width: 42ch;
  font-size: clamp(.95rem, 1.15vw, 1.0625rem);
  line-height: 1.8;
  color: var(--hb-ink-soft);
}

.hb-mono {
  font-family: var(--hb-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.hb-text-mute { color: var(--hb-ink-mute); }

.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hb-clay);
}

.hb-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--hb-flame);
  transform: rotate(45deg);
}

.hb-eyebrow--light { color: var(--hb-lava); }

/* ---------- 9. 卡片与标签 ---------- */
.hb-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--hb-paper);
  border: 1px solid var(--hb-line-soft);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 68, 27, .28);
  box-shadow: var(--hb-shadow-2);
}

.hb-card--dark {
  background: linear-gradient(165deg, var(--hb-coal) 0%, var(--hb-char) 100%);
  border-color: var(--hb-line-dark);
  color: var(--hb-on-dark);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .9);
}

.hb-card--dark .hb-lede,
.hb-card--dark .hb-text-mute { color: var(--hb-on-dark-soft); }

.hb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(240, 68, 27, .24);
  border-radius: 3px;
  background: rgba(240, 68, 27, .1);
  color: var(--hb-clay);
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.hb-tag--cyan {
  background: rgba(43, 167, 184, .12);
  border-color: rgba(43, 167, 184, .32);
  color: #1F7E8C;
}

.hb-tag--moss {
  background: rgba(95, 111, 82, .14);
  border-color: rgba(95, 111, 82, .34);
  color: #4A5940;
}

/* ---------- 10. 数据单元 ---------- */
.hb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hb-stat__value {
  font-family: var(--hb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--hb-flame);
}

.hb-stat__label {
  font-family: var(--hb-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hb-ink-mute);
}

.hb-stat__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--hb-cyan);
}

.hb-stat__delta::before {
  content: "▲";
  font-size: 9px;
  line-height: 1;
}

/* ---------- 11. 面包屑 ---------- */
.hb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--hb-ink-mute);
}

.hb-breadcrumb a {
  color: var(--hb-ink-mute);
  transition: color .18s ease;
}

.hb-breadcrumb a:hover { color: var(--hb-flame); }

.hb-breadcrumb__sep {
  color: rgba(111, 106, 98, .5);
  user-select: none;
}

.hb-breadcrumb [aria-current="page"] {
  color: var(--hb-ink);
  font-weight: 600;
}

/* ---------- 12. 响应式图片容器 ---------- */
.hb-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--hb-radius);
  background: linear-gradient(150deg, #241F1A 0%, var(--hb-char) 58%, #2C1A13 100%);
}

.hb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(240, 68, 27, .34) 0%, rgba(240, 68, 27, 0) 62%),
    radial-gradient(90% 80% at 100% 100%, rgba(43, 167, 184, .26) 0%, rgba(43, 167, 184, 0) 66%);
}

.hb-media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-media__caption {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(20, 18, 16, .68);
  color: var(--hb-on-dark);
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hb-media--wide { aspect-ratio: 21 / 9; }
.hb-media--square { aspect-ratio: 1 / 1; }
.hb-media--tall { aspect-ratio: 3 / 4; }

/* ---------- 13. 滚动显现 ---------- */
.hb-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .6s cubic-bezier(.2, .7, .3, 1),
    transform .6s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.hb-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .hb-actions .hb-btn--ghost { display: none; }
}

@media (max-width: 1024px) {
  .hb-header__rail {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    align-items: center;
    row-gap: 0;
    padding-block: 12px;
    min-height: 0;
  }

  .hb-nav-toggle { display: inline-flex; justify-self: end; }

  .hb-nav {
    display: none;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--hb-line-dark);
  }

  .hb-nav[data-open] { display: block; }

  .hb-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding-bottom: 4px;
  }

  .hb-nav__link {
    display: flex;
    justify-content: flex-start;
    padding: 12px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(247, 241, 232, .07);
    border-radius: 0;
  }

  .hb-nav__link::after {
    left: 10px;
    right: 10px;
    bottom: 7px;
  }

  .hb-actions {
    display: none;
    justify-self: stretch;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--hb-line-dark);
  }

  .hb-actions[data-open] { display: flex; }
  .hb-actions .hb-btn { flex: 1 1 150px; }
  .hb-actions .hb-btn--ghost { display: inline-flex; }

  .hb-footer__grid { grid-template-columns: 1fr 1fr; }
  .hb-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hb-footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hb-footer__top .hb-btn { width: 100%; }

  .hb-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hb-section__head { align-items: flex-start; }

  .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .hb-footer__grid { grid-template-columns: 1fr; }
  .hb-brand__name { font-size: 18px; }
  .hb-brand__mark { width: 38px; height: 38px; }
  .hb-nav-toggle__label { display: none; }
  .hb-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 15. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .hb-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hb-btn:hover,
  .hb-card:hover,
  .hb-footer__link:hover,
  .hb-brand:hover .hb-brand__mark {
    transform: none;
  }
}
