/* ==========================================================================
   金花游戏 · 共享样式 /assets/site.css
   框架式导航 + 海报分层 + 纸张叠层 + 鎏金暗纹
   ========================================================================== */

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

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

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

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- 2. Design tokens ---------- */
:root {
  /* 色彩体系 */
  --jh-gold: #C9A227;
  --jh-gold-hi: #EBD08A;
  --jh-gold-line: #8C6B12;
  --jh-ink: #0B241D;
  --jh-ink-2: #14382E;
  --jh-copper: #A9663A;
  --jh-cinnabar: #B4342A;
  --jh-amber: #C7741A;
  --jh-paper: #F6F1E4;
  --jh-card: #FFFDF6;
  --jh-text: #12140F;
  --jh-muted: #57715F;

  /* 字体 */
  --jh-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --jh-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;

  /* 尺度 */
  --jh-shell: 1240px;
  --jh-rail: 58px;
  --jh-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--jh-paper);
  color: var(--jh-text);
  font-family: var(--jh-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  word-break: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jh-serif);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(34px, 5.4vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(21px, 2.2vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 16px; letter-spacing: .04em; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

::selection {
  background: var(--jh-gold);
  color: var(--jh-ink);
}

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

[id] { scroll-margin-top: 96px; }

/* ---------- 4. 布局辅助 ---------- */
.jh-shell {
  width: 100%;
  max-width: var(--jh-shell);
  margin-inline: auto;
  padding-inline: 22px;
}

.jh-prose {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
}

.jh-prose p { margin-bottom: 1.1em; }

.jh-section {
  padding-block: clamp(48px, 7vw, 96px);
}

.jh-section + .jh-section {
  border-top: 1px solid rgba(140, 107, 18, .22);
}

.jh-kicker {
  display: inline-block;
  font-family: var(--jh-sans);
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--jh-gold-line);
  margin-bottom: 12px;
}

.jh-num {
  display: block;
  font-family: var(--jh-serif);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--jh-gold-line);
}

.jh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

@media (min-width: 1024px) {
  .jh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 5. 按钮 / 徽章 / 卡片 ---------- */
.jh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--jh-gold-line);
  border-radius: 2px;
  background: transparent;
  color: var(--jh-ink);
  font-family: var(--jh-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--jh-ease),
              background-color .18s var(--jh-ease),
              color .18s var(--jh-ease),
              box-shadow .18s var(--jh-ease);
}

.jh-btn--gold {
  background: linear-gradient(135deg, var(--jh-gold-hi), var(--jh-gold) 58%, #A98110);
  color: #0B241D;
  box-shadow: 0 6px 16px rgba(140, 107, 18, .26);
}

.jh-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(140, 107, 18, .34);
}

.jh-btn--ink {
  background: var(--jh-ink);
  color: var(--jh-gold-hi);
  border-color: var(--jh-gold);
}

.jh-btn--ink:hover {
  transform: translateY(-2px);
  background: var(--jh-ink-2);
}

.jh-btn--ghost:hover {
  background: rgba(201, 162, 39, .14);
}

.jh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--jh-gold-line);
  border-radius: 999px;
  background: rgba(201, 162, 39, .12);
  color: #6E5209;
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.jh-badge--ink {
  background: var(--jh-ink);
  color: var(--jh-gold-hi);
  border-color: var(--jh-gold);
}

.jh-badge--copper {
  background: rgba(169, 102, 58, .1);
  border-color: var(--jh-copper);
  color: var(--jh-copper);
}

.jh-badge--alert {
  background: rgba(180, 52, 42, .08);
  border-color: var(--jh-cinnabar);
  color: var(--jh-cinnabar);
}

.jh-card {
  position: relative;
  padding: 24px;
  background: var(--jh-card);
  border: 1px solid rgba(140, 107, 18, .36);
  border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(140, 107, 18, .14),
              6px 10px 24px rgba(11, 36, 29, .07);
  transition: transform .22s var(--jh-ease),
              box-shadow .22s var(--jh-ease),
              border-color .22s var(--jh-ease);
}

.jh-card:hover {
  transform: translateY(-4px);
  border-color: var(--jh-gold);
  box-shadow: 2px 2px 0 rgba(140, 107, 18, .2),
              8px 16px 32px rgba(11, 36, 29, .12);
}

.jh-card--ink {
  background: var(--jh-ink-2);
  color: var(--jh-paper);
  border-color: var(--jh-gold-line);
}

.jh-card--ink h2,
.jh-card--ink h3,
.jh-card--ink h4 { color: var(--jh-gold-hi); }

.jh-note {
  padding: 16px 18px;
  margin-bottom: 20px;
  border-left: 3px solid var(--jh-amber);
  border-radius: 0 2px 2px 0;
  background: rgba(199, 116, 26, .08);
  color: #4A3A22;
  font-size: 15px;
}

.jh-note--alert {
  border-left-color: var(--jh-cinnabar);
  background: rgba(180, 52, 42, .07);
  color: #5A2620;
}

.jh-breadcrumb {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--jh-muted);
}

.jh-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.jh-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--jh-gold-line);
}

.jh-breadcrumb a {
  color: var(--jh-muted);
  text-decoration: none;
  transition: color .18s var(--jh-ease);
}

.jh-breadcrumb a:hover { color: var(--jh-gold-line); }

/* ---------- 6. 图片容器（页面阶段放占位图） ---------- */
.jh-figure {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--jh-gold-line);
  border-radius: 2px;
  aspect-ratio: 16 / 10;
  background-color: var(--jh-ink-2);
  background-image:
    radial-gradient(circle at 24% 28%, rgba(201, 162, 39, .26), transparent 46%),
    radial-gradient(circle at 78% 72%, rgba(169, 102, 58, .22), transparent 52%),
    linear-gradient(145deg, #14382E, #0B241D);
}

.jh-figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jh-figure--wide { aspect-ratio: 21 / 9; }
.jh-figure--square { aspect-ratio: 1 / 1; }
.jh-figure--portrait { aspect-ratio: 3 / 4; }

.jh-figure--paper {
  background-image: linear-gradient(160deg, #F6F1E4, #EBD08A);
}

.jh-figure__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  color: var(--jh-paper);
  font-size: 14px;
  line-height: 1.6;
  background: linear-gradient(180deg, transparent, rgba(11, 36, 29, .84));
}

/* ---------- 7. 标签页 / 分段切换 ---------- */
.jh-tabs { display: block; }

.jh-tabs__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(140, 107, 18, .32);
}

.jh-tabs__btn {
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--jh-muted);
  font-family: var(--jh-sans);
  font-size: 15px;
  transition: color .2s var(--jh-ease),
              background-color .2s var(--jh-ease),
              border-color .2s var(--jh-ease);
}

.jh-tabs__btn:hover {
  color: var(--jh-ink);
  background: rgba(201, 162, 39, .12);
}

.jh-tabs__btn[aria-selected="true"] {
  color: var(--jh-ink);
  font-weight: 600;
  background: rgba(201, 162, 39, .18);
  border-color: var(--jh-gold-line);
}

.jh-tabs__panel[hidden] { display: none; }
.jh-tabs__panel { animation: jh-fade .24s var(--jh-ease); }

/* ---------- 8. 正文链接 ---------- */
.jh-prose a,
.jh-link {
  color: #7A5C0E;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 162, 39, .6);
  transition: color .18s var(--jh-ease), text-decoration-color .18s var(--jh-ease);
}

.jh-prose a:hover,
.jh-link:hover {
  color: var(--jh-copper);
  text-decoration-color: var(--jh-copper);
}

/* ---------- 9. 显现动效 ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

html[data-reveal-ready] [data-reveal].jh-in {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--jh-ease), transform .55s var(--jh-ease);
}

@keyframes jh-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 10. Skip link ---------- */
.jh-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  border: 1px solid var(--jh-gold);
  border-radius: 2px;
  background: var(--jh-ink);
  color: var(--jh-gold-hi);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s var(--jh-ease);
}

.jh-skip:focus {
  transform: translateY(0);
}

/* ---------- 11. Header ---------- */
.jh-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 241, 228, .94);
  border-bottom: 1px solid var(--jh-gold-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.jh-header__bar { position: relative; }

.jh-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--jh-shell);
  min-height: 66px;
  margin-inline: auto;
  padding: 10px 22px;
}

.jh-header__progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  pointer-events: none;
}

.jh-header__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--jh-gold-line), var(--jh-gold), var(--jh-gold-hi));
  transition: width .12s linear;
}

/* 品牌 */
.jh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--jh-text);
}

.jh-brand__seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--jh-gold-line);
  border-radius: 2px;
  color: var(--jh-gold);
  background: linear-gradient(145deg, #0B241D, #14382E);
  box-shadow: inset 0 0 0 1px rgba(235, 208, 138, .18);
}

.jh-brand__svg {
  width: 26px;
  height: 26px;
}

.jh-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.jh-brand__name {
  font-family: var(--jh-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
}

.jh-brand__tag {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--jh-gold-line);
}

/* 导航 */
.jh-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.jh-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.jh-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 2px;
  color: var(--jh-text);
  font-size: 15px;
  text-decoration: none;
  transition: color .18s var(--jh-ease), background-color .18s var(--jh-ease);
}

.jh-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--jh-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s var(--jh-ease);
}

.jh-nav__link:hover {
  color: var(--jh-gold-line);
  background: rgba(201, 162, 39, .1);
}

.jh-nav__link:hover::after { transform: scaleX(1); }

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

.jh-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 主按钮 */
.jh-cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--jh-gold-line);
  border-radius: 2px;
  background: linear-gradient(135deg, var(--jh-gold-hi), var(--jh-gold) 58%, #A98110);
  color: #0B241D;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(140, 107, 18, .28);
  transition: transform .18s var(--jh-ease), box-shadow .18s var(--jh-ease);
}

.jh-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(140, 107, 18, .36);
}

/* 汉堡按钮 */
.jh-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 40px;
  border: 1px solid var(--jh-gold-line);
  border-radius: 2px;
  color: var(--jh-ink);
  background: rgba(246, 241, 228, .6);
}

.jh-burger__box {
  display: grid;
  gap: 5px;
  width: 20px;
}

.jh-burger__box > span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--jh-ease), opacity .18s var(--jh-ease);
}

.jh-burger[aria-expanded="true"] .jh-burger__box > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.jh-burger[aria-expanded="true"] .jh-burger__box > span:nth-child(2) {
  opacity: 0;
}

.jh-burger[aria-expanded="true"] .jh-burger__box > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 遮罩 */
.jh-scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(11, 36, 29, .58);
  animation: jh-fade .22s var(--jh-ease);
}

.jh-scrim[hidden] { display: none; }

/* 滚动静止 */
html.jh-nav-open,
html.jh-nav-open body { overflow: hidden; }

/* 底部浮岛 */
.jh-dock { display: none; }

/* 左侧竖轨（桌面端） */
.jh-rail { display: none; }

/* ---------- 12. Footer ---------- */
.jh-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  overflow: hidden;
  background: var(--jh-ink);
  color: var(--jh-paper);
}

.jh-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(201, 162, 39, .16), transparent 44%),
    radial-gradient(circle at 88% 80%, rgba(169, 102, 58, .14), transparent 48%);
}

.jh-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
  max-width: var(--jh-shell);
  margin-inline: auto;
  padding: 58px 22px 34px;
}

.jh-footer__seal {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--jh-gold);
  border-radius: 2px;
  background: linear-gradient(145deg, #14382E, #0B241D);
  color: var(--jh-gold-hi);
  font-family: var(--jh-serif);
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(235, 208, 138, .2);
}

.jh-footer__name {
  margin: 14px 0 8px;
  font-family: var(--jh-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--jh-gold-hi);
}

.jh-footer__line {
  max-width: 34ch;
  margin: 0;
  color: rgba(246, 241, 228, .72);
  font-size: 15px;
  line-height: 1.85;
}

.jh-footer__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 39, .28);
  font-family: var(--jh-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--jh-gold);
}

.jh-footer__col ul {
  display: grid;
  gap: 10px;
}

.jh-footer__col a {
  display: inline-block;
  color: rgba(246, 241, 228, .86);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--jh-ease), border-color .18s var(--jh-ease);
}

.jh-footer__col a:hover {
  color: var(--jh-gold-hi);
  border-bottom-color: var(--jh-gold);
}

.jh-footer__meta li {
  color: rgba(246, 241, 228, .78);
  font-size: 15px;
  line-height: 1.72;
}

.jh-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  width: 100%;
  max-width: var(--jh-shell);
  margin-inline: auto;
  padding: 18px 22px 26px;
  border-top: 1px solid rgba(201, 162, 39, .24);
  color: rgba(246, 241, 228, .62);
  font-size: 14px;
}

/* ---------- 13. 响应式：平板 ---------- */
@media (min-width: 640px) {
  .jh-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
}

/* ---------- 14. 响应式：移动端与平板竖屏 ---------- */
@media (max-width: 1023px) {
  body { padding-bottom: 78px; }

  .jh-cta { display: none; }
  .jh-burger { display: inline-flex; }

  .jh-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 86;
    display: block;
    width: min(84vw, 340px);
    padding: 92px 26px 40px;
    overflow-y: auto;
    background: var(--jh-ink);
    color: var(--jh-paper);
    border-left: 1px solid var(--jh-gold-line);
    box-shadow: -20px 0 44px rgba(11, 36, 29, .42);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .26s var(--jh-ease), visibility 0s linear .26s;
  }

  .jh-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    transition: transform .26s var(--jh-ease), visibility 0s;
  }

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

  .jh-nav__item + .jh-nav__item {
    border-top: 1px dashed rgba(201, 162, 39, .26);
  }

  .jh-nav__link {
    display: block;
    padding: 15px 4px;
    border-radius: 0;
    color: var(--jh-paper);
    font-family: var(--jh-serif);
    font-size: 20px;
    letter-spacing: .04em;
  }

  .jh-nav__link::after { display: none; }

  .jh-nav__link:hover {
    background: rgba(201, 162, 39, .12);
    color: var(--jh-gold-hi);
  }

  .jh-nav__link[aria-current="page"] {
    color: var(--jh-gold-hi);
    border-left: 2px solid var(--jh-gold);
    padding-left: 14px;
  }

  .jh-dock {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 72;
    display: flex;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--jh-gold-line);
    border-radius: 999px;
    background: var(--jh-ink);
    box-shadow: 0 14px 30px rgba(11, 36, 29, .34);
    transform: translateX(-50%);
  }

  .jh-dock__link {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--jh-paper);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s var(--jh-ease), color .18s var(--jh-ease);
  }

  .jh-dock__link:hover,
  .jh-dock__link:active {
    background: rgba(201, 162, 39, .2);
    color: var(--jh-gold-hi);
  }
}

/* ---------- 15. 响应式：桌面 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--jh-rail); }

  .jh-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: var(--jh-rail);
    padding: 18px 0 20px;
    background: var(--jh-ink);
    border-right: 1px solid var(--jh-gold-line);
  }

  .jh-rail__mark {
    writing-mode: vertical-rl;
    font-family: var(--jh-serif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .26em;
    color: var(--jh-gold-hi);
  }

  .jh-rail__line {
    flex: 1 1 auto;
    width: 1px;
    margin: 16px 0;
    background: linear-gradient(180deg, transparent, var(--jh-gold-line), transparent);
  }

  .jh-rail__num {
    display: inline-block;
    padding: 10px 3px;
    border: 1px solid var(--jh-gold-line);
    border-radius: 999px;
    background: rgba(201, 162, 39, .1);
    color: var(--jh-gold);
    font-family: var(--jh-serif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .18em;
    writing-mode: vertical-rl;
  }

  .jh-nav {
    position: static;
    transform: none;
    visibility: visible;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: inherit;
  }

  .jh-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 32px;
  }
}

/* ---------- 16. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
