/* ===========================================================
   汇赢国际 · 共享外壳样式 /assets/site.css
   1 reset  2 变量  3 基础排版  4 头部  5 页脚  6 通用组件
   7 动效与响应式
   =========================================================== */

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

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

body,
h1, h2, h3, h4, h5, p,
ul, ol, figure, blockquote, dl, dd { 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; }

/* ---------- 2. 变量 ---------- */
:root {
  --wh-navy: #0A1F38;
  --wh-navy-deep: #071729;
  --wh-eng: #143A63;
  --wh-line: #2E5C8A;
  --wh-line-soft: rgba(46, 92, 138, 0.28);
  --wh-line-veil: rgba(46, 92, 138, 0.16);
  --wh-amber: #F0823C;
  --wh-amber-deep: #A9501A;
  --wh-amber-soft: #FFC08A;
  --wh-celadon: #2E8C78;
  --wh-celadon-deep: #1F6A59;
  --wh-celadon-soft: #A8D8CB;
  --wh-mist: #EDF0F4;
  --wh-ink: #16202B;
  --wh-gray: #5A6774;
  --wh-white: #FFFFFF;

  --wh-radius: 2px;
  --wh-radius-pill: 100px;

  --wh-sp-1: 8px;
  --wh-sp-2: 16px;
  --wh-sp-3: 24px;
  --wh-sp-4: 40px;
  --wh-sp-5: 72px;

  --wh-max: 1280px;
  --wh-header-h: 76px;

  --wh-font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --wh-font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Segoe UI", Roboto, sans-serif;
  --wh-font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas,
    "Noto Sans Mono CJK SC", monospace;

  --wh-shadow: 0 18px 40px -28px rgba(10, 31, 56, 0.55);
  --wh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--wh-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--wh-ink);
  background: var(--wh-mist);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4 {
  font-family: var(--wh-font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--wh-navy);
}

p { overflow-wrap: break-word; }

:focus-visible {
  outline: 2px dashed var(--wh-amber);
  outline-offset: 3px;
  border-radius: var(--wh-radius);
}

#main-content { scroll-margin-top: 96px; }

.wh-mono {
  font-family: var(--wh-font-mono);
  font-size: 0.86em;
  letter-spacing: 0.08em;
}

.wh-skip {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--wh-amber);
  color: var(--wh-navy);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s var(--wh-ease);
}

.wh-skip:focus { top: 0; }

/* ---------- 4. 头部 ---------- */
.wh-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--wh-navy);
  color: var(--wh-mist);
  border-bottom: 1px solid var(--wh-line);
  box-shadow: 0 12px 32px -26px rgba(4, 14, 26, 0.9);
}

.wh-header__rule {
  height: 7px;
  border-bottom: 1px solid rgba(46, 92, 138, 0.45);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 192, 138, 0.5) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(46, 92, 138, 0.65) 0 1px, transparent 1px 8px);
  background-size: 100% 7px, 100% 3px;
  background-position: 0 0, 0 7px;
  background-repeat: repeat-x;
}

.wh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  min-height: var(--wh-header-h);
}

/* 品牌 */
.wh-brand { display: flex; align-items: center; }

.wh-brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.wh-brand__mark {
  flex: none;
  width: 38px;
  height: 38px;
  color: var(--wh-amber-soft);
  transition: color 0.2s var(--wh-ease), transform 0.4s var(--wh-ease);
}

.wh-brand__link:hover .wh-brand__mark {
  color: var(--wh-amber);
  transform: rotate(90deg);
}

.wh-brand__text { display: block; }

.wh-brand__name {
  display: block;
  font-family: var(--wh-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--wh-white);
}

.wh-brand__sub {
  display: block;
  margin-top: 3px;
  font-family: var(--wh-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #7E93AB;
}

/* 移动按钮 */
.wh-nav-toggle { display: none; }

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

.wh-nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: var(--wh-amber);
  transition: transform 0.2s var(--wh-ease), opacity 0.2s var(--wh-ease);
}

/* 遮罩（仅移动端可见） */
.wh-nav__scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  background: rgba(5, 14, 26, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--wh-ease);
}

/* 导航（桌面：左右分置的右端索引条） */
.wh-nav {
  display: flex;
  align-items: stretch;
  height: var(--wh-header-h);
}

.wh-nav__list {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--wh-line-soft);
}

.wh-nav__item { display: flex; }

.wh-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  border-right: 1px solid var(--wh-line-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #C9D6E4;
  transition: color 0.2s var(--wh-ease), background 0.2s var(--wh-ease);
}

.wh-nav__link:hover {
  color: var(--wh-amber-soft);
  background: rgba(46, 92, 138, 0.22);
}

.wh-nav__link[aria-current="page"] {
  color: var(--wh-amber);
  background: rgba(240, 130, 60, 0.1);
}

.wh-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--wh-amber);
}

.wh-nav__cta {
  display: flex;
  align-items: center;
  margin-left: 22px;
}

/* 进度轨 */
.wh-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(46, 92, 138, 0.35);
  overflow: hidden;
}

.wh-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--wh-celadon), var(--wh-amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- 5. 页脚 ---------- */
.wh-footer {
  position: relative;
  overflow: hidden;
  padding: var(--wh-sp-5) 0 32px;
  background: linear-gradient(180deg, var(--wh-navy) 0%, var(--wh-navy-deep) 100%);
  color: #B9C8D8;
  border-top: 3px solid var(--wh-amber);
}

.wh-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(46, 92, 138, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 92, 138, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.wh-footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--wh-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.wh-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 40px;
  padding-bottom: var(--wh-sp-4);
  border-bottom: 1px solid rgba(46, 92, 138, 0.4);
}

.wh-footer__brand-name {
  font-family: var(--wh-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--wh-white);
}

.wh-footer__brand-line {
  margin-top: 10px;
  max-width: 32ch;
  font-size: 15px;
  color: #9DB0C4;
}

.wh-footer__brand-meta {
  margin-top: 16px;
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--wh-celadon-soft);
}

.wh-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wh-footer__col-title {
  font-family: var(--wh-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--wh-amber-soft);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(46, 92, 138, 0.4);
}

.wh-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.wh-footer__link {
  display: inline-block;
  font-size: 15px;
  color: #C3D1E0;
  transition: color 0.2s var(--wh-ease), transform 0.2s var(--wh-ease);
}

.wh-footer__link:hover {
  color: var(--wh-amber);
  transform: translateX(3px);
}

.wh-footer__contact {
  margin-top: var(--wh-sp-4);
  padding: 20px 24px;
  border: 1px solid rgba(46, 92, 138, 0.4);
  border-left: 3px solid var(--wh-amber);
  background: rgba(20, 58, 99, 0.28);
}

.wh-footer__contact-line {
  font-size: 15px;
  color: #D3DEE9;
  line-height: 1.9;
}

.wh-footer__contact-line .wh-mono { color: var(--wh-amber-soft); }

.wh-footer__service {
  margin-top: 8px;
  font-size: 13px;
  color: #8FA3B8;
}

.wh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--wh-sp-4);
  padding-top: 20px;
  border-top: 1px solid rgba(46, 92, 138, 0.4);
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7E93AB;
}

.wh-footer__legal { color: #9DB0C4; }

/* ---------- 6. 通用组件 ---------- */
.wh-container {
  width: 100%;
  max-width: var(--wh-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.wh-container--narrow { max-width: 820px; }

.wh-section { padding-block: var(--wh-sp-5); }
.wh-section--white { background: var(--wh-white); }
.wh-section--mist { background: var(--wh-mist); }
.wh-section--dark {
  background: var(--wh-navy);
  color: #D3DEE9;
}
.wh-section--dark .wh-section__title { color: var(--wh-white); }
.wh-section--dark .wh-section__lede { color: #9DB0C4; }

.wh-section__head { max-width: 70ch; }

.wh-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--wh-amber-deep);
}

.wh-index::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.wh-section--dark .wh-index { color: var(--wh-amber-soft); }

.wh-page-title {
  font-size: clamp(28px, 5vw, 44px);
  margin-top: 14px;
}

.wh-section__title {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-top: 12px;
}

.wh-section__lede {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--wh-gray);
}

.wh-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--wh-eng);
  font-weight: 600;
}

.wh-muted { color: var(--wh-gray); font-size: 14px; }

.wh-divider {
  height: 1px;
  border: 0;
  margin-block: var(--wh-sp-4);
  background: var(--wh-line-soft);
}

.wh-ticks {
  height: 10px;
  border-top: 1px solid var(--wh-line-soft);
  background-image: repeating-linear-gradient(
    90deg,
    var(--wh-line-soft) 0 1px,
    transparent 1px 12px
  );
  background-size: 100% 6px;
  background-repeat: repeat-x;
  background-position: 0 100%;
}

.wh-note {
  padding: 18px 20px;
  background: rgba(168, 216, 203, 0.22);
  border-left: 3px solid var(--wh-celadon);
  font-size: 15px;
  color: var(--wh-eng);
}

/* 网格 */
.wh-grid {
  display: grid;
  gap: var(--wh-sp-3);
  margin-top: var(--wh-sp-4);
}

.wh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.wh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.wh-grid--asym {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--wh-sp-4);
  align-items: start;
}

/* 卡片 */
.wh-card {
  position: relative;
  padding: 24px;
  background: var(--wh-white);
  border: 1px solid var(--wh-line-veil);
  border-radius: var(--wh-radius);
  box-shadow: var(--wh-shadow);
  transition: border-color 0.22s var(--wh-ease), transform 0.22s var(--wh-ease);
}

.wh-card--summary { border-left: 3px solid var(--wh-celadon); }
.wh-card--param { border-left: 3px solid var(--wh-amber); }

.wh-card:hover,
.wh-card:focus-within {
  border-color: rgba(240, 130, 60, 0.55);
  transform: translateY(-2px);
}

.wh-card__label {
  display: block;
  font-family: var(--wh-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--wh-gray);
}

.wh-card__title {
  margin-top: 8px;
  font-family: var(--wh-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--wh-navy);
}

.wh-card__meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--wh-gray);
}

/* 大号数字 */
.wh-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--wh-font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--wh-navy);
}

.wh-num__unit {
  font-family: var(--wh-font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--wh-gray);
}

.wh-num__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--wh-gray);
}

/* 表格 */
.wh-table-wrap {
  margin-top: var(--wh-sp-3);
  overflow-x: auto;
  border: 1px solid var(--wh-line-veil);
  border-radius: var(--wh-radius);
  background: var(--wh-white);
}

.wh-table {
  width: 100%;
  min-width: 480px;
  font-size: 15px;
}

.wh-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--wh-gray);
}

.wh-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--wh-navy);
  background: rgba(46, 92, 138, 0.1);
  border-bottom: 1px solid rgba(46, 92, 138, 0.3);
  white-space: nowrap;
}

.wh-table td {
  padding: 12px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--wh-line-veil);
}

.wh-table tbody tr { transition: background 0.2s var(--wh-ease); }
.wh-table tbody tr:hover { background: var(--wh-mist); }
.wh-table tbody tr:hover .wh-table__val { font-weight: 700; }

.wh-table__val {
  font-family: var(--wh-font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wh-navy);
  text-align: right;
  white-space: nowrap;
}

/* 步骤条 */
.wh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--wh-sp-3);
  margin-top: var(--wh-sp-4);
}

.wh-step {
  position: relative;
  padding: 26px 18px 6px 0;
  border-top: 2px solid var(--wh-navy);
}

.wh-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--wh-celadon);
  border-radius: 50%;
}

.wh-step__num {
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wh-amber-deep);
}

.wh-step__title {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--wh-navy);
}

.wh-step__text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--wh-gray);
}

/* 标签页 */
.wh-tabs { margin-top: var(--wh-sp-3); }

.wh-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--wh-line-soft);
}

.wh-tab {
  position: relative;
  padding: 12px 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--wh-gray);
  transition: color 0.22s var(--wh-ease), background 0.22s var(--wh-ease);
}

.wh-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--wh-amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.22s var(--wh-ease);
}

.wh-tab:hover { color: var(--wh-navy); background: rgba(46, 92, 138, 0.08); }

.wh-tab[aria-selected="true"] { color: var(--wh-navy); font-weight: 600; }
.wh-tab[aria-selected="true"]::after { transform: scaleX(1); }

.wh-tabpanel { padding-top: var(--wh-sp-3); }
.wh-tabpanel[hidden] { display: none; }

/* 框景 */
.wh-frame {
  position: relative;
  padding: clamp(20px, 3.4vw, 40px);
  border: 1px solid var(--wh-line);
  background: rgba(20, 58, 99, 0.05);
}

.wh-frame::before,
.wh-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--wh-amber);
}

.wh-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.wh-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.wh-frame__label {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 2px 8px;
  background: var(--wh-navy);
  color: var(--wh-amber-soft);
  font-family: var(--wh-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* 图片容器 */
.wh-figure { margin: 0; }

.wh-figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--wh-line-soft);
  background:
    linear-gradient(135deg, rgba(46, 92, 138, 0.16), rgba(168, 216, 203, 0.24)),
    repeating-linear-gradient(90deg, rgba(46, 92, 138, 0.14) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(0deg, rgba(46, 92, 138, 0.14) 0 1px, transparent 1px 16px);
}

.wh-figure__media img,
.wh-figure__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wh-figure--4x3 .wh-figure__media { aspect-ratio: 4 / 3; }
.wh-figure--wide .wh-figure__media { aspect-ratio: 21 / 9; }

.wh-figure__cap {
  margin-top: 10px;
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--wh-gray);
}

/* 标记 */
.wh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--wh-radius-pill);
  border: 1px solid transparent;
  font-family: var(--wh-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.wh-badge--pass {
  color: var(--wh-celadon-deep);
  background: rgba(46, 140, 120, 0.14);
  border-color: rgba(46, 140, 120, 0.35);
}

.wh-badge--accent {
  color: var(--wh-amber-deep);
  background: rgba(240, 130, 60, 0.14);
  border-color: rgba(240, 130, 60, 0.4);
}

.wh-badge--muted {
  color: var(--wh-gray);
  background: rgba(90, 103, 116, 0.12);
  border-color: rgba(90, 103, 116, 0.25);
}

/* 侧边索引 */
.wh-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--wh-line-soft);
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.wh-rail__link {
  margin-left: -1px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid transparent;
  color: var(--wh-gray);
  transition: color 0.2s var(--wh-ease), border-color 0.2s var(--wh-ease);
}

.wh-rail__link:hover { color: var(--wh-navy); }

.wh-rail__link[aria-current="true"] {
  color: var(--wh-amber-deep);
  border-color: var(--wh-amber);
}

/* 面包屑 */
.wh-breadcrumb {
  padding-block: 18px;
  font-family: var(--wh-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--wh-gray);
}

.wh-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wh-breadcrumb__link { color: var(--wh-eng); }
.wh-breadcrumb__link:hover { color: var(--wh-amber-deep); }
.wh-breadcrumb__sep { color: rgba(46, 92, 138, 0.6); }

/* 按钮 */
.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--wh-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--wh-radius);
  transition: background 0.2s var(--wh-ease), color 0.2s var(--wh-ease),
    border-color 0.2s var(--wh-ease), transform 0.2s var(--wh-ease);
}

.wh-btn--primary {
  background: var(--wh-amber);
  color: #1A0E04;
  border-color: var(--wh-amber);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.wh-btn--primary:hover { background: var(--wh-amber-soft); border-color: var(--wh-amber-soft); }

.wh-btn--line {
  background: transparent;
  color: var(--wh-eng);
  border-color: rgba(46, 92, 138, 0.5);
}

.wh-btn--line:hover { border-color: var(--wh-amber); color: var(--wh-amber-deep); }

.wh-btn--small { padding: 8px 14px; font-size: 13px; }

.wh-btn:active { transform: translateY(1px); }

/* ---------- 7. 动效与响应式 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--wh-ease), transform 0.5s var(--wh-ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html.wh-nav-locked { overflow: hidden; }

/* 平板及以下：导航折叠为侧滑索引抽屉 */
@media (max-width: 960px) {
  .wh-nav-toggle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--wh-line);
    border-radius: var(--wh-radius);
    background: rgba(20, 58, 99, 0.55);
    color: var(--wh-mist);
    font-family: var(--wh-font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
  }

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

  .wh-nav__scrim { display: block; }

  .wh-nav-toggle[aria-expanded="true"] ~ .wh-nav__scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .wh-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(88vw, 360px);
    height: auto;
    padding: 100px 24px 40px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, var(--wh-navy) 0%, var(--wh-navy-deep) 100%);
    border-left: 1px solid var(--wh-line);
    box-shadow: -24px 0 48px rgba(4, 14, 26, 0.55);
    transform: translateX(101%);
    transition: transform 0.28s var(--wh-ease);
  }

  .wh-nav[data-open="true"] { transform: translateX(0); }

  .wh-nav__list {
    flex-direction: column;
    align-items: stretch;
    border-left: 0;
    border-top: 1px solid var(--wh-line-soft);
  }

  .wh-nav__item {
    display: block;
    border-bottom: 1px solid var(--wh-line-soft);
  }

  .wh-nav__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    height: auto;
    padding: 15px 4px;
    border-right: 0;
    font-size: 16px;
    color: #D6E1EC;
  }

  .wh-nav__link::before {
    counter-increment: wh-nav-counter;
    content: counter(wh-nav-counter, decimal-leading-zero);
    font-family: var(--wh-font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #5F7691;
  }

  .wh-nav__link::after {
    content: "›";
    color: var(--wh-line);
    font-size: 16px;
  }

  .wh-nav__list { counter-reset: wh-nav-counter; }

  .wh-nav__link[aria-current="page"]::after { content: "●"; color: var(--wh-amber); font-size: 10px; }

  .wh-nav__cta {
    margin: 24px 0 0;
    display: block;
  }

  .wh-nav__cta .wh-btn { width: 100%; }
}

@media (max-width: 900px) {
  .wh-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wh-grid--asym { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wh-footer__cols { grid-template-columns: 1fr 1fr; }
  .wh-footer__bottom { flex-direction: column; align-items: flex-start; }
  .wh-brand__sub { font-size: 10px; letter-spacing: 0.1em; }
  .wh-nav-toggle__label { display: none; }
  .wh-footer__contact { padding: 16px 18px; }
  .wh-btn { width: 100%; }
  .wh-tabs__list { flex-wrap: nowrap; overflow-x: auto; }
  .wh-tab { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .wh-brand__link:hover .wh-brand__mark { transform: none; }
  .wh-footer__link:hover { transform: none; }
}
