/* ===== 华悦棋牌 · 共享样式 /assets/site.css ===== */

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

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

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

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

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

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

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

/* 2. 设计令牌 */
:root {
  --ink-900: #0A211D;
  --ink-700: #123A32;
  --ink-500: #1E5A4B;
  --gold-500: #C8A253;
  --gold-300: #E8D3A0;
  --cinnabar: #B23A2E;
  --slate-500: #6F8481;
  --slate-200: #D5DEDA;
  --paper: #F6F3EA;
  --black: #141715;

  --line: rgba(111, 132, 129, 0.30);
  --line-gold: rgba(200, 162, 83, 0.34);
  --line-light: rgba(246, 243, 234, 0.14);
  --shadow-card: 0 1px 0 rgba(10, 33, 29, 0.05), 0 8px 24px rgba(10, 33, 29, 0.06);

  --radius: 4px;
  --max: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --h: 76px;
  --h-sm: 64px;

  --font-title: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* 3. 中文排版基准 */
body {
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.2vw, 52px); }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0; }

p { max-width: 68ch; }

strong { font-weight: 700; color: var(--ink-900); }

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

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

.mono,
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 4. 容器与章节 */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 880px; }

.section { padding-block: 88px; }
.section--tight { padding-block: 56px; }

.section--ink {
  background: var(--ink-900);
  color: var(--paper);
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--paper); }
.section--ink p { color: rgba(246, 243, 234, 0.78); }

.section--muted { background: rgba(213, 222, 218, 0.34); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--gold { color: var(--gold-500); }

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: 48px;
}
.divider--gold {
  background: linear-gradient(90deg, var(--gold-500), rgba(200, 162, 83, 0));
}

/* 5. 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
}
.btn-gold:hover { background: var(--gold-300); border-color: var(--gold-300); }

.btn-ghost {
  background: transparent;
  border-color: rgba(246, 243, 234, 0.34);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
  background: rgba(200, 162, 83, 0.10);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-700);
}
.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--ink-900);
  background: rgba(200, 162, 83, 0.10);
}

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* 6. 头部 */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: background-color .24s var(--ease), box-shadow .24s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(10, 33, 29, 0.94) 0%,
    rgba(10, 33, 29, 0.70) 58%,
    rgba(10, 33, 29, 0) 100%);
  transition: opacity .24s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: var(--ink-900);
  box-shadow: 0 1px 0 rgba(200, 162, 83, 0.28), 0 12px 32px rgba(10, 33, 29, 0.22);
}
.site-header[data-scrolled="true"]::before { opacity: 0; }
.site-header[data-open="true"]::before { opacity: 0; }

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity .24s var(--ease);
  z-index: 3;
}
.site-header[data-scrolled="true"] .header-progress { opacity: 1; }
.site-header[data-open="true"] .header-progress { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--h);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: height .24s var(--ease);
}
.site-header[data-scrolled="true"] .header-inner { height: var(--h-sm); }

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(200, 162, 83, 0.20), rgba(200, 162, 83, 0));
  color: var(--gold-500);
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--paper);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  line-height: 1.2;
  color: rgba(246, 243, 234, 0.58);
}

/* 主导航 */
.nav-primary { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(246, 243, 234, 0.78);
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.nav-link:hover { color: var(--paper); }
.nav-link[aria-current="page"] {
  color: var(--gold-500);
  border-bottom-color: var(--gold-500);
}

/* 头部右侧 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: 4px;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gold-300);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.header-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--cinnabar);
  transform: rotate(45deg);
}
.header-chip:hover {
  background: rgba(200, 162, 83, 0.14);
  border-color: var(--gold-300);
  color: var(--gold-300);
}

/* 移动端切换按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(246, 243, 234, 0.32);
  border-radius: 3px;
  color: var(--paper);
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
  background: rgba(200, 162, 83, 0.10);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 11px;
  flex: none;
}
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-4.75px) rotate(-45deg); }

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
}

/* 抽屉 */
.nav-drawer {
  display: none;
  position: relative;
  z-index: 2;
  background: var(--ink-900);
  border-top: 1px solid var(--line-gold);
  box-shadow: 0 26px 44px rgba(10, 33, 29, 0.40);
  padding: 10px 20px 24px;
  max-height: calc(100vh - var(--h-sm));
  overflow-y: auto;
}
.site-header[data-open="true"] .nav-drawer { display: block; }

.drawer-list { display: grid; gap: 0; }

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(246, 243, 234, 0.10);
  font-size: 15.5px;
  font-weight: 600;
  color: rgba(246, 243, 234, 0.88);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.drawer-link:hover { color: var(--gold-300); }
.drawer-link[aria-current="page"] { color: var(--gold-500); }

.drawer-index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(111, 132, 129, 0.9);
}

.drawer-foot {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.drawer-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(246, 243, 234, 0.50);
  max-width: none;
}

/* 7. 页脚 */
.site-footer {
  position: relative;
  background: var(--ink-900);
  color: var(--paper);
  padding: 72px 0 28px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 162, 83, 0), rgba(200, 162, 83, 0.65), rgba(200, 162, 83, 0));
}

.footer-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .78fr)) minmax(0, 1.15fr);
  gap: 44px 40px;
  padding-bottom: 44px;
}

.footer-brand { display: grid; gap: 16px; align-content: start; }

.footer-blurb {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(246, 243, 234, 0.66);
  max-width: 34ch;
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(200, 162, 83, 0.86);
  max-width: none;
}

.footer-col { display: grid; gap: 14px; align-content: start; }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-300);
  line-height: 1.4;
}

.footer-links { display: grid; gap: 9px; }

.footer-links a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 243, 234, 0.72);
  transition: color .16s var(--ease);
}
.footer-links a:hover {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer-contact-list { display: grid; gap: 10px; }

.footer-contact-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(246, 243, 234, 0.72);
  max-width: none;
}

.footer-key {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(111, 132, 129, 1);
  padding-top: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 243, 234, 0.12);
}

.footer-legal {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(246, 243, 234, 0.56);
  max-width: none;
}

.footer-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(246, 243, 234, 0.46);
  max-width: 58ch;
}

.footer-copy {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(246, 243, 234, 0.46);
  max-width: none;
}

/* 8. 面包屑 */
.breadcrumb { padding-block: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate-500);
}

.breadcrumb-item { display: inline-flex; align-items: center; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 9px;
  color: rgba(111, 132, 129, 0.45);
}
.breadcrumb-item a { transition: color .16s var(--ease); }
.breadcrumb-item a:hover { color: var(--gold-500); }
.breadcrumb-current { color: var(--ink-700); }

/* 9. 卡片与牌阵 */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: perspective(900px) rotateX(1.8deg) translateY(-2px);
    box-shadow: 0 2px 0 rgba(10, 33, 29, 0.05), 0 16px 34px rgba(10, 33, 29, 0.10);
    border-color: rgba(200, 162, 83, 0.46);
  }
}

.card--ink {
  background: var(--ink-900);
  border-color: rgba(200, 162, 83, 0.28);
  color: var(--paper);
}
.card--ink h2, .card--ink h3, .card--ink h4 { color: var(--paper); }
.card--ink p { color: rgba(246, 243, 234, 0.74); }

.card--muted {
  background: rgba(213, 222, 218, 0.34);
  border-color: var(--slate-200);
  box-shadow: none;
}

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.card-title { margin-bottom: 10px; }
.card-text { font-size: 14.5px; line-height: 1.8; color: var(--slate-500); }
.card-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--slate-500);
}

/* 10. 图片容器 */
.figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(213, 222, 218, 0.30);
}

.figure-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(30, 90, 75, 0.12), rgba(200, 162, 83, 0.14));
}

.figure-frame--pattern {
  background-image:
    repeating-linear-gradient(90deg, rgba(10, 33, 29, 0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(10, 33, 29, 0.06) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, rgba(30, 90, 75, 0.10), rgba(200, 162, 83, 0.12));
}

.figure-img,
.figure-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-caption {
  padding: 11px 14px;
  border-top: 1px solid var(--slate-200);
  background: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--slate-500);
}

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

.figure--ink { border-color: rgba(200, 162, 83, 0.30); background: rgba(255, 255, 255, 0.04); }
.figure--ink .figure-caption {
  background: transparent;
  border-top-color: rgba(246, 243, 234, 0.16);
  color: rgba(246, 243, 234, 0.60);
}

/* 11. 标签与筛选 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gold-500);
  white-space: nowrap;
}
.tag--gold { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-900); }
.tag--cinnabar { background: var(--cinnabar); border-color: var(--cinnabar); color: #FFFFFF; }
.tag--slate { background: var(--slate-200); border-color: var(--slate-200); color: var(--ink-700); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--slate-200);
  border-radius: 2px;
  background: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.chip:hover { background: var(--gold-300); border-color: var(--gold-500); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--ink-700);
  border-color: var(--ink-700);
  color: var(--paper);
}

/* 12. 旁注与时间轴 */
.note {
  border-left: 2px solid var(--gold-500);
  padding: 12px 0 12px 16px;
  background: linear-gradient(90deg, rgba(200, 162, 83, 0.08), rgba(200, 162, 83, 0));
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--slate-500);
  max-width: 60ch;
}

.timeline { position: relative; padding-top: 22px; }

.timeline-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgba(200, 162, 83, 0.14));
}

.timeline-node {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--gold-500);
  transform: rotate(45deg);
}

.timeline-list { display: flex; flex-wrap: wrap; gap: 16px; }

/* 13. 显现协议 */
[data-reveal] {
  transition: opacity .48s var(--ease), transform .48s var(--ease);
}

.js-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(12px);
}

/* 14. 响应式 */
@media (max-width: 1080px) {
  .nav-list { gap: 18px; }
  .nav-link { font-size: 14px; }
  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .9fr));
  }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
  }
}

@media (max-width: 980px) {
  :root { --gutter: 20px; --h: 64px; --h-sm: 56px; }

  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 14px; }
  .header-actions { margin-left: auto; }
  .brand-tagline { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; }
  .brand-name { font-size: 16px; }

  .section { padding-block: 64px; }
  .section--tight { padding-block: 44px; }
  .divider { margin-block: 36px; }
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-bottom { gap: 8px 20px; }
  .footer-copy { margin-left: 0; width: 100%; }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .header-chip { display: none; }
  .header-actions .btn-sm { display: none; }
  .card { padding: 22px; }
  .footer-contact-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-col--contact { grid-column: auto; }
  .footer-legal { order: 3; }
  .bento, .grid-12 { grid-template-columns: minmax(0, 1fr); }
}

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

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

  .js-ready [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .card:hover { transform: none; }
  .nav-toggle-bars span { transition: none !important; }
}
