/* ==========================================================================
   东赢电竞馆 · 共享站点样式 /assets/site.css
   视觉母题：暗色赛博竞技场 × 编辑部画册（侧边轨道 + 展签式索引）
   ========================================================================== */

/* ---------- 01 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  scrollbar-color: #2A3A63 #060914;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption,
blockquote, dl, dt, dd, table, th, td { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

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

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

table { border-collapse: collapse; width: 100%; }

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

/* ---------- 02 设计变量 ---------- */
:root {
  --void: #060914;
  --panel: #0B1226;
  --bay: #121C38;
  --steel: #2A3A63;
  --text: #F3F7FF;
  --mist: #A9B8D8;
  --violet: #9C7CFF;
  --mint: #37E6C4;
  --alert: #FF6F5B;
  --gold: #F4C76A;

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

  --rail-w: 264px;
  --topbar-h: 64px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-panel: 0 24px 50px -34px rgba(0, 0, 0, .95);
  --shadow-lift: 0 26px 50px -32px rgba(156, 124, 255, .78);
  --line: 1px solid var(--steel);
}

/* ---------- 03 基础排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 640px at 88% -12%, rgba(156, 124, 255, .16), transparent 62%),
    radial-gradient(860px 560px at -4% 104%, rgba(55, 230, 196, .08), transparent 60%),
    var(--void);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -.012em; color: var(--text); }

strong { color: var(--text); font-weight: 600; }

small { font-size: 12px; }

::selection { background: rgba(156, 124, 255, .45); color: #ffffff; }

@media (min-width: 960px) {
  body { padding-inline-start: var(--rail-w); }
}

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

/* ---------- 04 无障碍工具 ---------- */
.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 2px;
  background: var(--mint);
  color: #04110D;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}

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

#main-content:focus-visible { outline: 2px solid var(--mint); outline-offset: -6px; }

/* ---------- 05 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: rgba(42, 58, 99, .38);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  box-shadow: 0 0 12px rgba(55, 230, 196, .55);
}

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

/* ---------- 06 头部：侧边轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px 20px 22px;
  background:
    linear-gradient(180deg, rgba(156, 124, 255, .12), rgba(6, 9, 20, 0) 38%),
    var(--panel);
  border-inline-end: var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -1px;
  width: 1px;
  background: linear-gradient(180deg, rgba(156, 124, 255, .85), rgba(42, 58, 99, .1) 46%, rgba(55, 230, 196, .5));
  pointer-events: none;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 2px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0A0A18;
  background: linear-gradient(140deg, var(--violet), var(--mint));
  box-shadow: inset 0 0 0 1px rgba(243, 247, 255, .16), 0 12px 26px -16px rgba(156, 124, 255, .95);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(243, 247, 255, .3), 0 16px 30px -16px rgba(55, 230, 196, .9);
}

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--text);
}

.brand-tagline {
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: rgba(169, 184, 216, .82);
}

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

.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--mist);
  transition: transform .2s var(--ease), background .2s var(--ease);
}

/* 导航主体 */
.primary-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.nav-caption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(169, 184, 216, .55);
  padding-inline-start: 12px;
  margin-block-end: 10px;
}

.nav-list { display: flex; flex-direction: column; gap: 2px; }

.nav-link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-inline-start: 2px solid transparent;
  border-radius: 2px;
  color: var(--mist);
  font-size: 14.5px;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: rgba(169, 184, 216, .58);
  transition: color .18s var(--ease);
}

.nav-label { min-width: 0; overflow-wrap: break-word; }

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(156, 124, 255, .1);
  border-inline-start-color: rgba(156, 124, 255, .7);
  transform: translateX(2px);
}

.nav-link:hover .nav-index { color: var(--violet); }

.nav-link[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(156, 124, 255, .24), rgba(156, 124, 255, .02));
  border-inline-start-color: var(--violet);
}

.nav-link[aria-current="page"] .nav-index { color: var(--violet); }

.nav-link[aria-current="page"] .nav-label::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-start: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  vertical-align: middle;
}

/* 轨道底部 */
.rail-foot {
  margin-block-start: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block-start: 18px;
  border-block-start: var(--line);
}

.rail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(55, 230, 196, .42);
  border-radius: 2px;
  background: rgba(55, 230, 196, .07);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.rail-cta:hover {
  background: rgba(55, 230, 196, .16);
  border-color: var(--mint);
  transform: translateY(-2px);
}

.rail-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: rgba(169, 184, 216, .6);
  text-align: center;
}

/* ---------- 07 头部：移动端抽屉 ---------- */
@media (max-width: 959px) {
  .site-header {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(14px, 4vw, 24px);
    border-inline-end: 0;
    border-block-end: var(--line);
    overflow: visible;
  }

  .site-header::after { display: none; }

  .brand-mark { width: 38px; height: 38px; font-size: 13px; }
  .brand-name { font-size: 15.5px; }
  .brand-tagline { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--steel);
    border-radius: 2px;
    background: rgba(18, 28, 56, .8);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  }

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

  .nav-toggle[aria-expanded="true"] {
    border-color: var(--violet);
    background: rgba(156, 124, 255, .18);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span { background: var(--mint); }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 119;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--topbar-h));
    max-height: calc(100dvh - var(--topbar-h));
    overflow-y: auto;
    padding: 20px clamp(16px, 5vw, 34px) 34px;
    background:
      linear-gradient(180deg, rgba(156, 124, 255, .1), rgba(11, 18, 38, 0) 30%),
      linear-gradient(180deg, var(--bay), var(--panel));
    border-block-end: var(--line);
    box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  }

  .site-header[data-open="true"] .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-caption { padding-inline-start: 10px; }

  .nav-list { gap: 4px; }

  .nav-link {
    font-size: 16px;
    padding: 13px 12px;
    border-inline-start-width: 2px;
    border-block-end: 1px solid rgba(42, 58, 99, .55);
    border-radius: 0;
  }

  .nav-link:hover { transform: none; }

  .rail-foot { margin-block-start: 26px; }
}

/* ---------- 08 通用容器与网格 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(34px, 5vw, 76px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block-end: 14px;
  border-block-end: var(--line);
  margin-block-end: clamp(20px, 3vw, 38px);
}

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

.stack > * + * { margin-block-start: clamp(14px, 1.8vw, 24px); }

/* ---------- 09 文字索引与正文 ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

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

.prose {
  max-width: 68ch;
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--mist);
}

.prose p + p { margin-block-start: 1.1em; }

.prose h2,
.prose h3 {
  color: var(--text);
  margin-block: 1.9em .6em;
  line-height: 1.3;
}

.prose h2 { font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { font-size: clamp(18px, 1.8vw, 22px); }

.prose ul { list-style: none; }

.prose ul li {
  position: relative;
  padding-inline-start: 18px;
  margin-block: .45em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .78em;
  width: 7px;
  height: 1px;
  background: var(--violet);
}

.prose a {
  color: var(--violet);
  border-block-end: 1px solid rgba(156, 124, 255, .45);
}

.prose a:hover { color: var(--text); border-block-end-color: var(--mint); }

.prose strong { color: var(--text); }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--steel), rgba(42, 58, 99, 0));
}

.notice {
  border-inline-start: 2px solid var(--mint);
  background: rgba(55, 230, 196, .06);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 10 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(169, 184, 216, .78);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--steel);
}

.breadcrumbs a { color: inherit; border-block-end: 1px solid transparent; }
.breadcrumbs a:hover { color: var(--violet); border-block-end-color: rgba(156, 124, 255, .6); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ---------- 11 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: rgba(18, 28, 56, .78);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.4;
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--violet);
  background: rgba(156, 124, 255, .16);
}

.btn--primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--violet), #6D55E6);
  color: #090A18;
  font-weight: 700;
  box-shadow: 0 14px 30px -20px rgba(156, 124, 255, .95);
}

.btn--primary:hover {
  background: linear-gradient(120deg, #B29DFF, #7A63F2);
  color: #060914;
  border-color: transparent;
}

.btn--ghost { background: transparent; }

.btn--ghost:hover { background: rgba(156, 124, 255, .12); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: rgba(11, 18, 38, .75);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.7;
  white-space: nowrap;
}

.tag--mint { color: var(--mint); border-color: rgba(55, 230, 196, .46); background: rgba(55, 230, 196, .08); }
.tag--violet { color: var(--violet); border-color: rgba(156, 124, 255, .48); background: rgba(156, 124, 255, .1); }
.tag--alert { color: var(--alert); border-color: rgba(255, 111, 91, .48); background: rgba(255, 111, 91, .09); }
.tag--gold { color: var(--gold); border-color: rgba(244, 199, 106, .48); background: rgba(244, 199, 106, .09); }

/* ---------- 12 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(160deg, rgba(18, 28, 56, .94), rgba(11, 18, 38, .94));
  border: var(--line);
  box-shadow: var(--shadow-panel);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(42, 58, 99, .48);
  pointer-events: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bay);
  border: var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(156, 124, 255, .62);
  box-shadow: var(--shadow-lift);
}

/* ---------- 13 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--line);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(156, 124, 255, .2), rgba(55, 230, 196, .1) 58%, rgba(6, 9, 20, 0) 84%),
    repeating-linear-gradient(115deg, rgba(42, 58, 99, .55) 0 1px, rgba(6, 9, 20, 0) 1px 15px),
    var(--panel);
}

.media-frame > img,
.media-frame > video,
.media-frame > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__label {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  padding: 5px 12px;
  background: rgba(6, 9, 20, .88);
  border-block-start: var(--line);
  border-inline-end: var(--line);
  color: rgba(169, 184, 216, .9);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 14 页脚 ---------- */
.site-footer {
  margin-block-start: clamp(48px, 7vw, 104px);
  border-block-start: var(--line);
  background:
    radial-gradient(900px 400px at 88% 0%, rgba(156, 124, 255, .14), transparent 66%),
    linear-gradient(180deg, rgba(11, 18, 38, .97), rgba(6, 9, 20, 1));
  color: var(--mist);
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(32px, 4.6vw, 64px) var(--gutter) clamp(24px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 64px);
}

.footer-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.footer-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet);
}

.footer-brand {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--text);
}

.footer-summary {
  max-width: 34ch;
  line-height: 1.85;
  color: rgba(169, 184, 216, .92);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-group { min-width: 0; }

.footer-group-title {
  margin-block-end: 14px;
  padding-block-end: 8px;
  border-block-end: 1px solid rgba(42, 58, 99, .8);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-list { display: flex; flex-direction: column; gap: 9px; }

.footer-list a {
  display: inline-block;
  color: var(--mist);
  border-block-end: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.footer-list a:hover {
  color: var(--text);
  border-block-end-color: var(--mint);
  transform: translateX(2px);
}

.footer-base {
  border-block-start: var(--line);
  background: linear-gradient(90deg, rgba(156, 124, 255, .12), rgba(6, 9, 20, 0) 42%, rgba(55, 230, 196, .1));
}

.footer-base-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.9;
  color: rgba(169, 184, 216, .76);
}

.footer-contact { flex: 1 1 320px; min-width: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}

.footer-legal a {
  color: rgba(169, 184, 216, .9);
  border-block-end: 1px solid rgba(42, 58, 99, .9);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer-legal a:hover { color: var(--mint); border-block-end-color: var(--mint); }

.footer-icp { color: rgba(169, 184, 216, .64); }

.footer-copy { color: rgba(169, 184, 216, .64); }

/* ---------- 15 渐入协议 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }

  html.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 16 响应式 ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .section-head { align-items: flex-start; }

  .footer-base-inner { font-size: 11.5px; }
}

@media (max-width: 420px) {
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
}

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

  .brand:hover .brand-mark,
  .nav-link:hover,
  .btn:hover,
  .card:hover,
  .footer-list a:hover { transform: none; }
}
