/* ============================================================
   火博体育 · 共享样式表 /assets/site.css
   高原赛场之夜：深靛蓝夜空 · 火焰橙强调 · 展览画册式留白
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

html.hb-lock { overflow: hidden; }

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--hb-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- tokens ---------- */
:root {
  --hb-ink: #0B1633;
  --hb-ink-deep: #08112A;
  --hb-teal-dark: #0E2A33;
  --hb-wine: #8E1F2B;
  --hb-lava: #B8322F;
  --hb-flame: #FF6B2C;
  --hb-ember: #FF8A3D;
  --hb-cyan: #4FD1C5;
  --hb-yellow: #E8B84B;
  --hb-paper: #F5EFE6;
  --hb-mist: #8FA3BF;
  --hb-black: #101014;

  --hb-line: rgba(143, 163, 191, 0.26);
  --hb-line-soft: rgba(143, 163, 191, 0.14);

  --hb-rail-w: 264px;
  --hb-topbar: 64px;

  --hb-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --hb-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --hb-font-mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --hb-shadow-paper: 8px 8px 0 rgba(8, 17, 34, 0.55);
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--hb-ink);
  background-image:
    radial-gradient(1180px 620px at 84% -10%, rgba(255, 107, 44, 0.17), transparent 62%),
    radial-gradient(860px 520px at 4% 2%, rgba(79, 209, 197, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 52% 112%, rgba(142, 31, 43, 0.24), transparent 66%);
  background-attachment: fixed;
  color: var(--hb-paper);
  font-family: var(--hb-font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 107, 44, 0.35);
  color: #fff;
}

p { max-width: 70ch; }

@media (max-width: 1023px) {
  body { padding-top: var(--hb-topbar); }
}

/* ---------- 通用排版 ---------- */
.hb-title {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.012em;
}

.hb-lede {
  font-size: 17px;
  line-height: 1.78;
  color: #CBD6E6;
}

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

.hb-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--hb-ember);
}

.hb-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--hb-flame), var(--hb-yellow));
}

.hb-tag {
  display: inline-block;
  font-family: var(--hb-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid rgba(79, 209, 197, 0.45);
  border-radius: 2px;
  color: var(--hb-cyan);
  background: rgba(79, 209, 197, 0.08);
  line-height: 1.6;
}

.hb-tag--flame {
  border-color: rgba(255, 107, 44, 0.5);
  color: var(--hb-ember);
  background: rgba(255, 107, 44, 0.1);
}

.hb-tag--wine {
  border-color: rgba(142, 31, 43, 0.75);
  color: #F3B7B2;
  background: rgba(142, 31, 43, 0.24);
}

.hb-tag--yellow {
  border-color: rgba(232, 184, 75, 0.5);
  color: var(--hb-yellow);
  background: rgba(232, 184, 75, 0.1);
}

/* ---------- 布局 ---------- */
.hb-main {
  padding: 26px 18px 72px;
}

@media (min-width: 768px) {
  .hb-main { padding: 38px 32px 96px; }
}

@media (min-width: 1024px) {
  .hb-main { padding: 46px 44px 120px; }
}

.hb-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.hb-grid {
  display: grid;
  gap: 18px;
}

.hb-grid--split { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .hb-grid--split {
    grid-template-columns: 5fr 7fr;
    gap: 34px;
    align-items: start;
  }
}

.hb-grid--thirds { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .hb-grid--thirds { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hb-grid--thirds { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 面包屑 ---------- */
.hb-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--hb-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-mist);
}

.hb-crumbs a {
  color: var(--hb-mist);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-crumbs a:hover {
  color: var(--hb-ember);
  border-bottom-color: rgba(255, 138, 61, 0.55);
}

.hb-crumbs__sep {
  color: rgba(143, 163, 191, 0.45);
}

.hb-crumbs [aria-current="page"] { color: var(--hb-paper); }

/* ---------- 按钮 ---------- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--hb-flame);
  color: #170A05;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(184, 50, 47, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hb-btn:hover {
  background: var(--hb-ember);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(184, 50, 47, 0.6);
}

.hb-btn--ghost {
  background: transparent;
  color: var(--hb-paper);
  border: 1px solid rgba(245, 239, 230, 0.28);
  box-shadow: none;
}

.hb-btn--ghost:hover {
  background: rgba(245, 239, 230, 0.06);
  border-color: var(--hb-ember);
  color: var(--hb-ember);
  transform: none;
  box-shadow: none;
}

/* ---------- 章节 / 卡片 / 说明牌 ---------- */
.hb-section {
  padding-block: clamp(34px, 6vw, 76px);
  border-top: 1px solid var(--hb-line-soft);
}

.hb-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}

.hb-card {
  position: relative;
  padding: 22px 20px 24px;
  background: linear-gradient(165deg, rgba(14, 42, 51, 0.62), rgba(11, 22, 51, 0.72));
  border: 1px solid var(--hb-line);
  border-radius: 3px;
  box-shadow: var(--hb-shadow-paper);
}

.hb-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--hb-flame), var(--hb-yellow));
}

.hb-card__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hb-cyan);
}

.hb-card__title {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.25;
  margin-bottom: 10px;
}

.hb-card__text {
  font-size: 16px;
  line-height: 1.72;
  color: #C4D0E1;
}

.hb-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hb-line-soft);
  font-family: var(--hb-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--hb-mist);
}

.hb-panel {
  padding: 24px 22px;
  background: var(--hb-paper);
  color: var(--hb-black);
  border-radius: 3px;
  border: 1px solid rgba(16, 16, 20, 0.14);
  box-shadow: 8px 8px 0 rgba(142, 31, 43, 0.28);
}

.hb-panel .hb-card__text { color: #2A2A31; }
.hb-panel .hb-card__index { color: var(--hb-wine); }

/* ---------- 图片容器（页面阶段放置占位） ---------- */
.hb-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(143, 163, 191, 0.25);
  border-radius: 3px;
  background: linear-gradient(155deg, #123141, #0B1633 58%, #1A2144);
}

.hb-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(115deg, rgba(79, 209, 197, 0.07) 0 2px, transparent 2px 15px),
    radial-gradient(120% 84% at 78% 0%, rgba(255, 107, 44, 0.26), transparent 58%);
}

.hb-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--hb-flame), var(--hb-lava) 34%, var(--hb-yellow) 64%, var(--hb-cyan));
}

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

.hb-media--band { aspect-ratio: 21 / 9; }
.hb-media--tall { aspect-ratio: 4 / 5; }

.hb-media__caption {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 14px;
  padding: 4px 9px;
  background: rgba(11, 22, 51, 0.8);
  border: 1px solid rgba(245, 239, 230, 0.22);
  border-radius: 2px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-paper);
}

/* ---------- 显现 / 进度 ---------- */
.hb-reveal {
  --hb-delay: 0ms;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease var(--hb-delay), transform 0.62s cubic-bezier(0.22, 0.72, 0.28, 1) var(--hb-delay);
  will-change: opacity, transform;
}

.hb-reveal.is-in {
  opacity: 1;
  transform: none;
}

.hb-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--hb-cyan), var(--hb-flame) 55%, var(--hb-lava));
  pointer-events: none;
  transition: transform 0.12s linear;
}

@media (min-width: 1024px) {
  .hb-progress { left: var(--hb-rail-w); }
}

/* ============================================================
   头部：桌面侧边轨道 / 移动顶栏 + 抽屉
   ============================================================ */

.hb-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--hb-topbar);
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(14, 42, 51, 0.98), rgba(11, 22, 51, 0.99));
  border-bottom: 1px solid var(--hb-line);
  backdrop-filter: blur(8px);
}

.hb-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--hb-cyan) 0 18%,
    var(--hb-yellow) 18% 34%,
    var(--hb-flame) 34% 62%,
    var(--hb-lava) 62% 82%,
    var(--hb-wine) 82%);
  opacity: 0.9;
}

/* skip link */
.hb-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 130;
  padding: 10px 16px;
  background: var(--hb-paper);
  color: var(--hb-black);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.hb-skip:focus,
.hb-skip:focus-visible { transform: translateY(0); }

/* 品牌 */
.hb-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--hb-paper);
}

.hb-brand__mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 138, 61, 0.5);
  border-radius: 2px;
  background: linear-gradient(150deg, rgba(142, 31, 43, 0.88), rgba(11, 22, 51, 0.94));
  transform: rotate(-3deg);
}

.hb-brand__flame {
  width: 14px;
  height: 17px;
  background: linear-gradient(180deg, var(--hb-yellow), var(--hb-flame) 46%, var(--hb-lava));
  clip-path: polygon(50% 0, 72% 34%, 88% 58%, 64% 100%, 36% 100%, 12% 58%, 30% 30%);
}

.hb-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.hb-brand__name {
  font-family: var(--hb-font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.hb-brand__mono {
  font-family: var(--hb-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hb-mist);
}

.hb-brand--footer .hb-brand__name { font-size: 20px; }
.hb-brand--footer .hb-brand__mark { width: 40px; height: 40px; }

/* 顶栏工具组 */
.hb-rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.hb-rail__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hb-topsearch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hb-line);
  border-radius: 2px;
  color: var(--hb-mist);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-topsearch:hover {
  color: var(--hb-ember);
  border-color: rgba(255, 138, 61, 0.6);
}

/* 菜单按钮 */
.hb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--hb-line);
  border-radius: 2px;
  color: var(--hb-mist);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.hb-toggle:hover { color: var(--hb-paper); border-color: rgba(255, 138, 61, 0.55); }

.hb-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}

.hb-toggle__bars > span {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.hb-rail[data-open] .hb-toggle__bars > span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hb-rail[data-open] .hb-toggle__bars > span:nth-child(2) { opacity: 0; }
.hb-rail[data-open] .hb-toggle__bars > span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.hb-toggle__label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* 抽屉 */
.hb-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 85;
  width: min(84vw, 336px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: calc(var(--hb-topbar) + 16px) 20px 28px;
  background: linear-gradient(175deg, #10303a 0%, #0B1633 54%, #0A1024 100%);
  border-right: 1px solid rgba(255, 107, 44, 0.35);
  box-shadow: 22px 0 60px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateX(-104%);
  transition: transform 0.34s cubic-bezier(0.22, 0.72, 0.28, 1), visibility 0.34s linear;
}

.hb-rail[data-open] .hb-drawer {
  visibility: visible;
  transform: translateX(0);
}

.hb-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 12, 26, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hb-rail[data-open] .hb-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* 导航 */
.hb-nav__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  padding-left: 12px;
  font-family: var(--hb-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(143, 163, 191, 0.75);
}

.hb-nav__title span {
  color: rgba(255, 138, 61, 0.8);
}

.hb-nav__list {
  display: grid;
  gap: 2px;
}

.hb-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 2px 2px 0;
  color: var(--hb-mist);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.hb-nav__link:hover {
  color: var(--hb-paper);
  background: rgba(245, 239, 230, 0.05);
  border-left-color: rgba(255, 107, 44, 0.5);
}

.hb-nav__link[aria-current="page"] {
  color: var(--hb-paper);
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.18), rgba(255, 107, 44, 0) 78%);
  border-left-color: var(--hb-flame);
}

.hb-nav__index {
  flex: none;
  min-width: 20px;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(143, 163, 191, 0.7);
}

.hb-nav__link[aria-current="page"] .hb-nav__index { color: var(--hb-ember); }

/* 轨道下缘工具 */
.hb-rail__actions {
  display: grid;
  gap: 10px;
}

.hb-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--hb-line);
  border-radius: 2px;
  background: rgba(245, 239, 230, 0.04);
  color: var(--hb-mist);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.hb-search:hover {
  color: var(--hb-paper);
  border-color: rgba(255, 138, 61, 0.6);
  background: rgba(255, 107, 44, 0.1);
}

.hb-search__glyph {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.hb-search__glyph::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 6px;
  height: 1.6px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hb-search__text { flex: 1 1 auto; }

.hb-search__key {
  flex: none;
  font-family: var(--hb-font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border: 1px solid var(--hb-line);
  border-radius: 2px;
  color: rgba(143, 163, 191, 0.85);
}

.hb-cta {
  display: block;
  padding: 12px 16px;
  text-align: center;
  background: var(--hb-flame);
  color: #170A05;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(184, 50, 47, 0.5);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hb-cta:hover {
  background: var(--hb-ember);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(184, 50, 47, 0.6);
}

.hb-rail__note {
  margin-top: 4px;
  font-family: var(--hb-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(143, 163, 191, 0.6);
}

.hb-rail__spine { display: none; }

/* ---------- 桌面：侧边轨道 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--hb-rail-w); }

  .hb-rail {
    right: auto;
    bottom: 0;
    width: var(--hb-rail-w);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 26px 20px 22px;
    border-bottom: 0;
    border-right: 1px solid var(--hb-line);
    background: linear-gradient(180deg, #0E2A33 0%, #0B1633 48%, #08112A 100%);
  }

  .hb-rail::before {
    top: 0;
    bottom: auto;
  }

  .hb-rail__top {
    width: auto;
    justify-content: flex-start;
  }

  .hb-rail__tools,
  .hb-toggle,
  .hb-topsearch,
  .hb-scrim { display: none; }

  .hb-drawer {
    position: static;
    visibility: visible;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    flex: 1 1 auto;
    margin-top: 30px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
    gap: 26px;
    justify-content: space-between;
  }

  .hb-nav__link {
    padding: 9px 10px;
    font-size: 15px;
  }

  .hb-rail__spine {
    display: block;
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--hb-font-mono);
    font-size: 10px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(143, 163, 191, 0.42);
    pointer-events: none;
  }
}

/* ============================================================
   页脚：画册版权页
   ============================================================ */

.hb-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: linear-gradient(180deg, rgba(11, 22, 51, 0.5), #0A1226 34%, #0B1633 100%);
  border-top: 1px solid var(--hb-line);
}

.hb-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--hb-cyan) 0 18%,
    var(--hb-yellow) 18% 34%,
    var(--hb-flame) 34% 62%,
    var(--hb-lava) 62% 82%,
    var(--hb-wine) 82%);
}

.hb-footer__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(38px, 6vw, 68px) 20px clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
}

@media (min-width: 860px) {
  .hb-footer__inner {
    grid-template-columns: 1.05fr 1.5fr;
    align-items: start;
  }
}

.hb-footer__brand {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.hb-footer__tagline {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: #B9C6D9;
}

.hb-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 26px 20px;
}

.hb-footer__col-title {
  margin-bottom: 12px;
  font-family: var(--hb-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hb-ember);
}

.hb-footer__list {
  display: grid;
  gap: 9px;
}

.hb-footer__link {
  display: inline-block;
  padding-bottom: 1px;
  font-size: 14.5px;
  color: #C4D0E1;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-footer__link:hover {
  color: var(--hb-ember);
  border-bottom-color: rgba(255, 138, 61, 0.6);
}

.hb-footer__link[aria-current="page"] {
  color: var(--hb-ember);
  border-bottom-color: rgba(255, 138, 61, 0.6);
}

.hb-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hb-line-soft);
}

.hb-footer__contact {
  font-family: var(--hb-font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--hb-paper);
  max-width: none;
}

.hb-footer__address {
  font-size: 13px;
  color: var(--hb-mist);
  max-width: none;
}

.hb-footer__icp {
  font-family: var(--hb-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--hb-mist);
  max-width: none;
}

.hb-footer__note {
  flex-basis: 100%;
  max-width: 72ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(143, 163, 191, 0.85);
}

.hb-footer__base {
  max-width: 1180px;
  margin-inline: auto;
  padding: 16px 20px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  border-top: 1px solid var(--hb-line-soft);
}

.hb-footer__year {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hb-mist);
  max-width: none;
}

.hb-footer__mono {
  font-family: var(--hb-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(143, 163, 191, 0.5);
  max-width: none;
}

/* ============================================================
   减少动态
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .hb-reveal {
    opacity: 1;
    transform: none;
  }

  .hb-progress { transition: none; }
}
