/* ============================================================
   恒宝服务 · /assets/site.css
   坐标系统：深墨蓝骨架 / 暖纸阅读面 / 琥珀金刻度 / 青瓷绿资料
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

ul, ol { padding: 0; 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; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0A1A26;
  --ink-panel: #122B3A;
  --paper: #F2E8D8;
  --paper-white: #FBF6EC;
  --graphite: #1F2328;
  --amber: #D99A2B;
  --celadon: #5F8F7C;
  --cinnabar: #C84636;
  --slate: #7C93A1;
  --grid: #D8CBB8;

  --line-dark: rgba(242, 232, 216, 0.16);
  --line-light: rgba(31, 35, 40, 0.16);
  --text-dim: rgba(242, 232, 216, 0.74);
  --text-soft: rgba(242, 232, 216, 0.56);

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --section-y: clamp(40px, 6vw, 80px);
}

/* ---------- 3. Base typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--graphite);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(31, 35, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 35, 40, 0.045) 1px, transparent 1px);
  background-size: 100% 48px, 48px 100%;
  background-position: 0 0;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.4vw, 1.125rem); }

p { text-wrap: pretty; }

strong, b { font-weight: 700; }

/* ---------- 4. Layout ---------- */
.hb-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hb-section { padding-block: var(--section-y); }
.hb-section--ink { background: var(--ink); color: var(--paper); }
.hb-section--paper { background: var(--paper); }
.hb-section--card { background: var(--paper-white); }

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

.hb-section--ink .hb-section__head { border-bottom-color: var(--line-dark); }

.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

.hb-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hb-section--ink .hb-eyebrow { color: var(--amber); }

.hb-lede {
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--graphite);
  max-width: 62ch;
}

.hb-section--ink .hb-lede { color: var(--text-dim); }

.hb-grid { display: grid; gap: var(--gap); }
.hb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hb-card {
  background: var(--paper-white);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--ink);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 6px 6px 0 -1px rgba(31, 35, 40, 0.07);
}

.hb-section--ink .hb-card {
  background: var(--ink-panel);
  border-color: var(--line-dark);
  border-top-color: var(--amber);
  box-shadow: 6px 6px 0 -1px rgba(0, 0, 0, 0.35);
}

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

/* ---------- 5. Tags ---------- */
.hb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
}

.hb-tag--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.hb-tag--celadon { background: var(--celadon); border-color: var(--celadon); color: var(--paper-white); }
.hb-tag--cinnabar { background: var(--cinnabar); border-color: var(--cinnabar); color: var(--paper-white); }
.hb-tag--slate { background: transparent; border-color: var(--slate); color: var(--slate); }

.hb-section--ink .hb-tag--slate { color: var(--grid); border-color: rgba(216, 203, 184, 0.5); }

/* ---------- 6. Buttons ---------- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.16s ease, background-color 0.16s ease,
    color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.hb-btn--primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
  box-shadow: 3px 3px 0 0 rgba(217, 154, 43, 0.3);
}

.hb-btn--primary:hover {
  background: var(--paper-white);
  border-color: var(--paper-white);
  box-shadow: 5px 5px 0 0 var(--cinnabar);
  transform: translate(-1px, -1px);
}

.hb-btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(242, 232, 216, 0.38);
}

.hb-btn--ghost:hover {
  color: var(--celadon);
  border-color: var(--celadon);
  transform: translate(-1px, -1px);
}

.hb-btn--cinnabar {
  background: var(--cinnabar);
  color: var(--paper-white);
  border-color: var(--cinnabar);
  box-shadow: 3px 3px 0 0 rgba(200, 70, 54, 0.28);
}

.hb-btn--cinnabar:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hb-btn--paper {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.hb-btn--paper:hover {
  background: var(--celadon);
  border-color: var(--celadon);
  color: var(--paper-white);
}

/* ---------- 7. Skip link ---------- */
.hb-skip {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
  transition: transform 0.18s ease;
}

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

/* ---------- 8. Header ---------- */
.hb-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}

.hb-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(216, 203, 184, 0.16);
  pointer-events: none;
}

.hb-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber), var(--cinnabar));
  transition: width 0.12s linear;
}

.hb-header__meta {
  background: var(--ink-panel);
  border-bottom: 1px solid var(--line-dark);
}

.hb-header__meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 5px;
}

.hb-header__meta-line,
.hb-header__meta-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: var(--slate);
  white-space: nowrap;
}

.hb-header__meta-note { color: var(--celadon); }

.hb-tick {
  position: relative;
  display: block;
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--amber);
}

.hb-tick::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--amber);
}

.hb-header__bar { background: var(--ink); }

.hb-header__bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: 66px;
  padding-block: 9px;
}

/* Brand lockup */
.hb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--paper);
}

.hb-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  border-radius: 1px;
  box-shadow: 4px 4px 0 0 var(--cinnabar);
}

.hb-brand__text { display: grid; gap: 1px; }

.hb-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.hb-brand__latin {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.32em;
  color: var(--slate);
}

/* Navigation */
.hb-nav { margin-left: auto; }

.hb-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 14px);
}

.hb-nav__item { display: block; }

.hb-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 8px;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(242, 232, 216, 0.78);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.hb-nav__link:hover,
.hb-nav__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--amber);
}

.hb-nav__link[aria-current="page"] {
  color: var(--amber);
  background: rgba(217, 154, 43, 0.14);
  border-bottom-color: var(--amber);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.hb-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

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

/* Header actions */
.hb-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* Nav toggle */
.hb-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 2px solid rgba(242, 232, 216, 0.34);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.hb-nav-toggle:hover { border-color: var(--amber); color: var(--amber); }

.hb-nav-toggle[aria-expanded="true"] {
  border-color: var(--amber);
  color: var(--amber);
}

.hb-nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
  flex: none;
}

.hb-nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.hb-nav-toggle[aria-expanded="true"] .hb-nav-toggle__bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hb-nav-toggle__text { line-height: 1; }

/* ---------- 9. Footer ---------- */
.hb-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
}

.hb-footer__rule {
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--amber) 0 2px,
    transparent 2px 14px
  );
  background-position: 0 0;
  background-size: auto 10px;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0.85;
}

.hb-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 64px);
}

.hb-brand--footer { color: var(--paper); }

.hb-footer__summary {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.hb-footer__summary::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--celadon);
}

.hb-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

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

.hb-footer__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amber);
}

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

.hb-footer__link {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-footer__link:hover,
.hb-footer__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--celadon);
}

.hb-footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 32px;
  margin-top: clamp(8px, 2vw, 18px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--text-dim);
}

.hb-footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  line-height: 1.7;
}

.hb-footer__contact-item--wide { grid-column: 1 / -1; }

.hb-footer__contact-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--slate);
}

.hb-footer__contact-value { min-width: 0; word-break: break-word; }

.hb-footer__service {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

.hb-footer__bar {
  background: var(--ink-panel);
  border-top: 1px solid var(--line-dark);
}

.hb-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.hb-footer__icp { line-height: 1.6; }

.hb-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-left: auto;
}

.hb-footer__legal-link {
  color: rgba(242, 232, 216, 0.68);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-footer__legal-link:hover,
.hb-footer__legal-link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.hb-footer__copy { margin-left: auto; line-height: 1.6; }

/* ---------- 10. Breadcrumbs ---------- */
.hb-crumbs {
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.hb-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 13px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.hb-crumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.hb-crumbs__item + .hb-crumbs__item::before {
  content: "/";
  color: var(--grid);
}

.hb-crumbs__link {
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.hb-crumbs__link:hover { color: var(--ink); border-bottom-color: var(--ink); }

.hb-crumbs__link[aria-current="page"] {
  color: var(--graphite);
  border-bottom-color: var(--amber);
}

/* ---------- 11. Media containers ---------- */
.hb-media {
  position: relative;
  border: 1px solid var(--line-light);
  background: var(--ink-panel);
  overflow: hidden;
}

.hb-media__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--ink-panel);
  background-image:
    linear-gradient(rgba(216, 203, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.14) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%;
  overflow: hidden;
}

.hb-media__frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hb-media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--slate);
}

.hb-section--ink .hb-media { border-color: var(--line-dark); }
.hb-section--ink .hb-media__caption { color: var(--text-soft); }

/* ---------- 12. In-page chapter index states ---------- */
[data-toc-link] {
  transition: color 0.16s ease, border-color 0.16s ease;
}

[data-toc-link][aria-current="true"] {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* ---------- 13. Back to top ---------- */
.hb-backtop {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--amber);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1;
  box-shadow: 4px 4px 0 0 rgba(217, 154, 43, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease,
    background-color 0.16s ease, color 0.16s ease;
}

.hb-backtop[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hb-backtop:hover {
  background: var(--amber);
  color: var(--ink);
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1080px) {
  .hb-nav__index { display: none; }
  .hb-btn { padding: 9px 13px; font-size: 13.5px; }
  .hb-nav__link { font-size: 14px; padding: 9px 7px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }

  .hb-header__meta-note { display: none; }

  .hb-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 8px var(--gutter) 22px;
    background: var(--ink-panel);
    border-top: 1px solid rgba(216, 203, 184, 0.22);
    border-bottom: 3px solid var(--amber);
    box-shadow: 0 24px 34px -18px rgba(0, 0, 0, 0.72);
    max-height: calc(100vh - 108px);
    overflow-y: auto;
  }

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

  .hb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hb-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 4px;
    font-size: 16.5px;
    border-bottom: 1px solid rgba(242, 232, 216, 0.14);
  }

  .hb-nav__link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--amber);
    border-bottom-color: rgba(242, 232, 216, 0.14);
    padding-inline: 10px;
  }

  .hb-nav__item:last-child .hb-nav__link { border-bottom: 0; }

  .hb-nav__index { display: inline-block; }

  .hb-nav-toggle { display: inline-flex; margin-left: auto; flex: none; }

  .hb-header__actions { margin-left: auto; }
  .hb-header__actions .hb-btn--ghost { display: none; }

  .hb-footer__top { grid-template-columns: minmax(0, 1fr); }
  .hb-footer__summary { max-width: 48ch; }
}

@media (max-width: 720px) {
  .hb-grid--3,
  .hb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hb-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-footer__col:last-child { grid-column: 1 / -1; }
  .hb-footer__copy { margin-left: 0; }
  .hb-footer__legal { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }

  .hb-header__meta-line { font-size: 10px; letter-spacing: 0.1em; }
  .hb-header__bar-inner { min-height: 60px; gap: 10px; }
  .hb-brand__mark { width: 34px; height: 34px; font-size: 17px; box-shadow: 3px 3px 0 0 var(--cinnabar); }
  .hb-brand__name { font-size: 15.5px; }
  .hb-brand__latin { font-size: 9px; letter-spacing: 0.26em; }
  .hb-btn { padding: 8px 11px; font-size: 12.5px; min-height: 36px; }
  .hb-nav-toggle { padding: 8px 10px; font-size: 12px; }

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

  .hb-footer__cols { grid-template-columns: minmax(0, 1fr); }
  .hb-footer__col:last-child { grid-column: auto; }
  .hb-footer__bar-inner { font-size: 11px; }
  .hb-footer__legal { gap: 6px 14px; }
  .hb-backtop { padding: 9px 11px; font-size: 10.5px; }
}

/* ---------- 15. Reduced motion ---------- */
@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;
    scroll-behavior: auto !important;
  }
}

/* ---------- 16. Print ---------- */
@media print {
  .hb-header,
  .hb-progress,
  .hb-backtop,
  .hb-skip,
  .hb-footer__rule { display: none !important; }

  body { background: #fff; color: #000; }
  .hb-footer { background: #fff; color: #000; border-top: 1px solid #999; }
  .hb-footer__contact,
  .hb-footer__summary,
  .hb-footer__link { color: #333; }
}
