/* ============================================================
   宝威赛场 · 共享站点样式 /assets/site.css
   ============================================================ */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

ul, ol { margin: 0; padding: 0; }

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

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

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

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

/* ---------- 变量 ---------- */
:root {
  --ink-green-950: #071B16;
  --arena-black: #0B0F0E;
  --deep-teal: #0E3B33;
  --signal-orange: #FF6A1A;
  --card-red: #E23A2E;
  --card-yellow: #F4C430;
  --cool-white: #F4F7F2;
  --mist-green: #A8BDB2;
  --wine: #4A1F2B;
  --indigo-shadow: #1B2440;

  --bg: var(--ink-green-950);
  --surface: rgba(11, 15, 14, 0.72);
  --surface-soft: rgba(14, 59, 51, 0.55);
  --text: var(--cool-white);
  --text-dim: var(--mist-green);
  --line: rgba(168, 189, 178, 0.22);
  --line-strong: rgba(168, 189, 178, 0.42);

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

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 640px at 8% -10%, rgba(14, 59, 51, 0.85), transparent 70%),
    radial-gradient(1000px 560px at 100% 0%, rgba(27, 36, 64, 0.78), transparent 64%),
    radial-gradient(900px 520px at 50% 118%, rgba(74, 31, 43, 0.5), transparent 68%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cool-white);
}

h1 { font-size: clamp(32px, 5.6vw, 62px); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.8vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }

p { line-height: 1.78; }

#main-content { scroll-margin-top: var(--header-h); }

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

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

.section--tight { padding-block: clamp(32px, 4.4vw, 60px); }

.section--teal {
  background-color: var(--deep-teal);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.14) 0 1px,
    transparent 1px 104px
  );
}

.section--wine { background-color: var(--wine); }

.section--indigo {
  background-color: var(--indigo-shadow);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.16) 0 1px,
    transparent 1px 104px
  );
}

.section__head { margin-bottom: clamp(24px, 3.4vw, 44px); }

.section__index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.section__index::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-title {
  margin-top: 0.4em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--cool-white);
}

.section-lede {
  margin-top: 0.9em;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--cool-white);
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 72ch;
  font-size: clamp(15.5px, 1.7vw, 17px);
  line-height: 1.85;
  color: rgba(244, 247, 242, 0.87);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 1.7em;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.01em;
}

.prose h3 {
  margin-top: 1.5em;
  font-size: clamp(18px, 2vw, 22px);
}

.prose ul,
.prose ol { padding-left: 1.3em; }

.prose li + li { margin-top: 0.45em; }

.prose strong { color: var(--cool-white); font-weight: 700; }

.prose a {
  color: var(--signal-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(28px, 4vw, 48px);
  background: var(--line);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--signal-orange);
  color: #170B02;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 106, 26, 0.3);
}

.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--signal-orange);
  color: #170B02;
}

.btn--ghost {
  background: transparent;
  color: var(--cool-white);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(168, 189, 178, 0.1);
  box-shadow: none;
}

.btn--dark {
  background: var(--deep-teal);
  color: var(--cool-white);
  border-color: var(--line-strong);
}

.btn--dark:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45); }

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -140%);
  padding: 10px 22px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: var(--signal-orange);
  color: #170B02;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: -4px;
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 14, 0.82) 0%,
    rgba(11, 15, 14, 0.42) 100%
  );
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.site-header.is-pinned {
  background: var(--arena-black);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: var(--header-h);
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--signal-orange), var(--card-yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--cool-white);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #FF8A45 0%, var(--signal-orange) 45%, #C74A0B 100%);
  color: #1A0A02;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(255, 106, 26, 0.3);
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-6deg); }

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

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--cool-white);
}

.brand__descriptor {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--mist-green);
}

/* ---------- 导航 ---------- */
.nav { margin-inline: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav__item { flex: 0 0 auto; }

.nav__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--cool-white);
  background: rgba(168, 189, 178, 0.1);
}

.nav__link[aria-current="page"] {
  color: var(--cool-white);
  background: rgba(255, 106, 26, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.5);
}

/* ---------- 头部操作区 ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 14, 0.62);
  color: var(--cool-white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(14, 59, 51, 0.9);
  border-color: rgba(255, 106, 26, 0.55);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}

.site-header[data-open] .nav-toggle {
  border-color: rgba(255, 106, 26, 0.7);
  background: rgba(255, 106, 26, 0.16);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: var(--arena-black);
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer__band {
  display: flex;
  height: 6px;
  overflow: hidden;
}

.site-footer__band span { display: block; height: 100%; }
.site-footer__band span:nth-child(1) { flex: 5 1 0; background: var(--signal-orange); }
.site-footer__band span:nth-child(2) { flex: 1 1 0; background: var(--card-yellow); }
.site-footer__band span:nth-child(3) { flex: 1 1 0; background: var(--card-red); }
.site-footer__band span:nth-child(4) { flex: 12 1 0; background: rgba(168, 189, 178, 0.16); }

.site-footer__inner { padding-block: clamp(36px, 5vw, 64px); }

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.site-footer__brand-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--cool-white);
}

.site-footer__brand-line {
  margin-top: 8px;
  color: var(--signal-orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-footer__brand-note {
  margin-top: 16px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

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

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-green);
}

.footer-col__list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col__link {
  display: inline-block;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.5;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-col__link:hover {
  color: var(--signal-orange);
  transform: translateX(3px);
}

.site-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 32px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px dashed var(--line);
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist-green);
}

.footer-contact__value {
  margin: 0;
  color: var(--cool-white);
  font-size: 14.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-contact__value--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--mist-green);
}

.site-footer__copyright { margin: 0; }

.site-footer__icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs { padding-top: clamp(18px, 3vw, 28px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--mist-green);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(168, 189, 178, 0.45);
}

.breadcrumb__link {
  color: var(--text-dim);
  transition: color 0.18s var(--ease);
}

.breadcrumb__link:hover { color: var(--signal-orange); }

.breadcrumb__link[aria-current="page"] { color: var(--cool-white); }

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); }

/* ---------- 资料卡 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(14, 59, 51, 0.5) 0%,
    rgba(11, 15, 14, 0.78) 100%
  );
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.card:hover {
  border-color: rgba(255, 106, 26, 0.5);
  transform: translateY(-3px);
}

.card--offset:nth-child(even) { margin-top: clamp(0px, 3vw, 32px); }

.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mist-green);
}

.card__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cool-white);
}

.card__body {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.8;
}

.card__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist-green);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* ---------- 标签与胶囊筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(11, 15, 14, 0.55);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mist-green);
  white-space: nowrap;
}

.tag--orange {
  background: rgba(255, 106, 26, 0.16);
  border-color: rgba(255, 106, 26, 0.52);
  color: #FFC7A3;
}

.tag--red {
  background: rgba(226, 58, 46, 0.18);
  border-color: rgba(226, 58, 46, 0.58);
  color: #FFB6AF;
}

.tag--yellow {
  background: rgba(244, 196, 48, 0.18);
  border-color: rgba(244, 196, 48, 0.6);
  color: #F7DA8E;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.chip:hover {
  border-color: rgba(255, 106, 26, 0.55);
  color: var(--cool-white);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  color: #170B02;
}

/* ---------- 数字与统计 ---------- */
.numeric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--signal-orange);
}

.stat__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mist-green);
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(14, 59, 51, 0.92) 0%, rgba(27, 36, 64, 0.88) 100%);
  aspect-ratio: 16 / 10;
}

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

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 27, 22, 0.94) 100%);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--mist-green);
}

/* ---------- 进入视口显现 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 106, 26, 0.55);
  border-radius: 50%;
  background: rgba(11, 15, 14, 0.92);
  color: var(--signal-orange);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.24s var(--ease),
    transform 0.24s var(--ease),
    visibility 0.24s var(--ease),
    background-color 0.2s var(--ease);
}

.back-to-top:hover { background: rgba(14, 59, 51, 0.95); }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--arena-black);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__item { width: 100%; }

  .nav__link {
    display: block;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .nav__link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--signal-orange);
    background: rgba(255, 106, 26, 0.12);
  }

  .header-actions { margin-left: auto; }
}

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

  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; --radius-lg: 22px; }

  body { font-size: 15.5px; }

  .brand { gap: 9px; }

  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }

  .brand__name { font-size: 17px; letter-spacing: 0.03em; }

  .brand__descriptor { display: none; }

  .header-actions { gap: 8px; margin-left: auto; }

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

  .nav-toggle { padding: 8px 12px; font-size: 13px; }

  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .card--offset:nth-child(even) { margin-top: 0; }

  .back-to-top { width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .site-footer__nav { grid-template-columns: minmax(0, 1fr); }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .footer-col__link:hover { transform: none; }
}
