/* =========================================================
   site.css — 溜溜体育 CN / V2.0 共享外壳
   深空蓝底 · 落日橙指令 · 天山雪青指路 · 6deg/12deg 斜切
   ========================================================= */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote {
  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; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0A1020;
  --ink-deep: #070C18;
  --card: #141D2F;
  --line: #26334A;
  --orange: #FF7A2F;
  --orange-2: #FFA05C;
  --cyan: #6FD3D8;
  --red: #E8434F;
  --green: #35D08A;
  --sand: #F3E6D4;
  --white: #EEF3F8;
  --muted: #93A2B8;

  --orange-a: rgba(255, 122, 47, .14);
  --cyan-a: rgba(111, 211, 216, .12);
  --line-a: rgba(38, 51, 74, .85);

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

  --dur-1: 120ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --skew: -6deg;
  --skew-deep: -12deg;

  --pad: clamp(16px, 5vw, 64px);
  --wrap: 1280px;
  --header-h: 112px;

  --radius-s: 4px;
  --radius-m: 12px;
  --radius-l: 22px;
  --shadow-card: 0 24px 60px -42px rgba(0, 0, 0, .95);
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 540px at 6% -14%, rgba(255, 122, 47, .13), transparent 62%),
    radial-gradient(820px 500px at 98% 0%, rgba(111, 211, 216, .11), transparent 60%);
  background-repeat: no-repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(34px, 5vw, 72px); font-style: italic; }
h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 17px; font-weight: 700; }

p { max-width: 68ch; }
strong, b { font-weight: 900; color: var(--white); }
small { font-size: 12px; }

code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

/* ---------- 4. 焦点可见性 ---------- */
:where(a, button, [tabindex], summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

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

/* ---------- 5. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 56px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--orange);
  transform: skewX(var(--skew-deep));
}

.section-title {
  position: relative;
  padding-bottom: 16px;
  font-size: clamp(26px, 3vw, 40px);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 6px;
  background: var(--orange);
  border-radius: 1px;
  transform: skewX(var(--skew-deep));
}

.prose {
  max-width: 68ch;
  color: #D3DDE9;
  font-size: 16.5px;
  line-height: 1.8;
}

.prose p + p { margin-top: 1.2em; }
.prose h2 { margin: 2.2em 0 .7em; font-size: clamp(22px, 2.2vw, 30px); }
.prose h3 { margin: 1.8em 0 .6em; }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--orange); }
.prose a {
  color: var(--cyan);
  text-underline-offset: .24em;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--orange); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-1) var(--ease),
    background-color var(--dur-1) linear,
    color var(--dur-1) linear,
    border-color var(--dur-1) linear;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 12px 26px -16px rgba(255, 122, 47, .95);
}

.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-ghost {
  background: rgba(20, 29, 47, .62);
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- 7. 面包屑 ---------- */
.crumbs { padding-block: 20px 4px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

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

.crumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
}

.crumbs a { color: var(--muted); text-decoration: none; transition: color var(--dur-1) linear; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--white); font-weight: 500; }

/* ---------- 8. 卡牌与标签 ---------- */
.card {
  position: relative;
  padding: 20px;
  background: linear-gradient(165deg, rgba(20, 29, 47, .96), rgba(15, 23, 38, .9));
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-2) linear,
    box-shadow var(--dur-2) linear;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 26px 52px -34px rgba(111, 211, 216, .5);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-body { color: #C9D5E4; font-size: 15px; }

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-left: 3px solid var(--cyan);
  border-radius: 2px;
  background: var(--cyan-a);
  color: var(--cyan);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.6;
}

.stamp {
  display: inline-block;
  padding: 5px 12px;
  border: 1px dashed rgba(255, 122, 47, .62);
  border-radius: 2px;
  background: var(--orange-a);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.6;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 29, 47, .72);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--dur-1) linear,
    border-color var(--dur-1) linear,
    background-color var(--dur-1) linear;
}

.chip:hover { color: var(--white); border-color: var(--cyan); }

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 9. 数据件 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- 10. Bento 网格 ---------- */
.bento {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-hero { grid-column: span 2; grid-row: span 2; }

/* ---------- 11. 图文容器（页面阶段放图片） ---------- */
.figure {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color var(--dur-2) linear, transform var(--dur-2) var(--ease);
}

.figure:hover { border-color: var(--cyan); transform: translateY(-4px); }

.figure-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background-color: #0E1728;
  background-image:
    linear-gradient(135deg, rgba(255, 122, 47, .18), transparent 46%),
    repeating-linear-gradient(115deg, rgba(111, 211, 216, .1) 0 2px, transparent 2px 14px);
}

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

.figure-frame--tall { aspect-ratio: 4 / 5; }
.figure-frame--square { aspect-ratio: 1 / 1; }

.figure-cap {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(10, 16, 32, .66);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .02em;
  max-width: none;
}

.figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--dur-2) linear;
}

.figure:hover::after { opacity: .9; }

/* ---------- 12. 入场显现协议 ---------- */
[data-reveal="pending"] {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  opacity: .001;
}

[data-reveal="in"] {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  opacity: 1;
  transition:
    clip-path 520ms var(--ease),
    opacity 320ms linear;
}

/* =========================================================
   13. 页头
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  pointer-events: none;
}

/* --- skip link --- */
.skip-link {
  position: absolute;
  left: var(--pad);
  top: -64px;
  z-index: 20;
  padding: 10px 20px;
  border-radius: var(--radius-s);
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  pointer-events: auto;
  transition: top var(--dur-2) var(--ease);
}

.skip-link:focus { top: 8px; }

/* --- 状态带 --- */
.hud-bar {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #070C18 0%, #0C1526 52%, #0A1020 100%);
  border-bottom: 1px solid var(--line);
  pointer-events: auto;
}

.hud-bar::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(111, 211, 216, .1) 0 1px,
    transparent 1px 12px
  );
  pointer-events: none;
}

.hud-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.hud-pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(53, 208, 138, .55);
  animation: hudPulse 2.4s ease-out infinite;
}

@keyframes hudPulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 208, 138, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(53, 208, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 138, 0); }
}

.hud-text {
  min-width: 0;
  max-width: none;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 2px 10px;
  border: 1px solid rgba(111, 211, 216, .3);
  border-radius: 2px;
  background: rgba(111, 211, 216, .08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  line-height: 1.7;
}

.hud-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* --- 悬浮胶囊 --- */
.nav-shell {
  display: flex;
  justify-content: center;
  padding: 12px var(--pad) 0;
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1152px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(
    115deg,
    rgba(20, 29, 47, .96) 0%,
    rgba(13, 21, 36, .88) 55%,
    rgba(10, 16, 32, .92) 100%
  );
  box-shadow:
    0 26px 52px -34px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(238, 243, 248, .05);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    max-width var(--dur-2) var(--ease),
    padding var(--dur-2) var(--ease),
    background var(--dur-2) linear,
    border-color var(--dur-2) linear;
}

.nav-capsule::after {
  content: "";
  position: absolute;
  left: 74px;
  bottom: -1px;
  width: 118px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: skewX(-30deg);
  opacity: .9;
  pointer-events: none;
}

.site-header[data-scrolled] .nav-capsule {
  max-width: 1000px;
  padding: 3px 8px 3px 10px;
  background: linear-gradient(
    115deg,
    rgba(20, 29, 47, .84) 0%,
    rgba(13, 21, 36, .7) 55%,
    rgba(10, 16, 32, .78) 100%
  );
  border-color: rgba(38, 51, 74, .95);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--orange) 0%, var(--orange-2) 92%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 0 10px 22px -14px rgba(255, 122, 47, .95);
  transition:
    width var(--dur-2) var(--ease),
    height var(--dur-2) var(--ease),
    font-size var(--dur-2) var(--ease);
}

.brand-mark > span { display: block; transform: skewX(8deg); }

.brand-mark-lg {
  width: 46px;
  height: 46px;
  font-size: 22px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-line {
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}

.site-header[data-scrolled] .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.site-header[data-scrolled] .brand-sub { display: none; }

/* --- 移动切换按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(38, 51, 74, .5);
  color: var(--white);
  cursor: pointer;
  transition: border-color var(--dur-1) linear, color var(--dur-1) linear;
}

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

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) linear;
}

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

.nav-toggle-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* --- 导航主体 --- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  min-width: 0;
}

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

.nav-item a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--dur-1) linear,
    background-color var(--dur-1) linear;
}

.nav-item a:hover {
  color: var(--white);
  background: rgba(111, 211, 216, .1);
}

.nav-item a[aria-current="page"] {
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 18px -12px rgba(255, 122, 47, .95);
}

.nav-cta { flex: none; margin-left: 6px; }

/* =========================================================
   14. 页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0A1020 0%, #070C18 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(111, 211, 216, .055) 0 1px,
    transparent 1px 26px
  );
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 68%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 68%);
}

.footer-stripe {
  position: relative;
  height: 8px;
  background-color: var(--line);
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 122, 47, .95) 0 18px, transparent 18px 36px),
    linear-gradient(90deg, var(--orange-a), transparent 72%);
  opacity: .92;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 56px var(--pad) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

/* --- 品牌档案卡 --- */
.footer-brand {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background:
    linear-gradient(158deg, rgba(243, 230, 212, .1), rgba(243, 230, 212, .015));
}

.footer-brand::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, transparent 50%, var(--line) 50%);
}

.footer-brand-line {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--white);
  max-width: none;
}

.footer-brand-sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  max-width: none;
}

.footer-serial {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(38, 51, 74, .95);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  max-width: none;
}

.footer-serial b {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

/* --- 链接列 --- */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  position: relative;
  margin-bottom: 16px;
  padding-left: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--white);
}

.footer-col-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 14px;
  background: var(--orange);
  transform: translateY(-50%) skewX(var(--skew-deep));
}

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

.footer-links a {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color var(--dur-1) linear;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--dur-2) var(--ease);
}

.footer-links a:hover { color: var(--white); }
.footer-links a:hover::after { width: 100%; }

/* --- 联系方式 --- */
.contact-list {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(38, 51, 74, .9);
}

.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-row dt {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.contact-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

/* --- 底栏 --- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: none;
}

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: var(--muted);
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

.footer-signoff {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(147, 162, 184, .82);
  max-width: none;
}

/* --- 返回顶部 --- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(20, 29, 47, .94);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    opacity var(--dur-2) linear,
    visibility var(--dur-2) linear,
    transform var(--dur-2) var(--ease),
    border-color var(--dur-1) linear;
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { border-color: var(--cyan); }

.to-top-arrow {
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-top: 2px solid var(--orange);
  transform: rotate(45deg) translateY(1px);
  transition: border-color var(--dur-1) linear;
}

.to-top:hover .to-top-arrow { border-color: var(--cyan); }

.to-top-value {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--muted);
  line-height: 1;
}

/* =========================================================
   15. 响应式
   ========================================================= */
@media (max-width: 1180px) {
  .nav-capsule { gap: 14px; }
  .nav-item a { padding: 8px 11px; font-size: 14px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 100px; }

  .hud-bar { height: 30px; }

  .nav-capsule {
    flex-wrap: wrap;
    border-radius: var(--radius-l);
    gap: 10px;
    padding: 8px 10px;
  }

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

  .site-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

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

  .site-header[data-open] .nav-capsule {
    background: linear-gradient(150deg, rgba(16, 24, 39, .99), rgba(8, 13, 24, .98));
    border-color: rgba(111, 211, 216, .3);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav-item a {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-cta {
    width: 100%;
    margin: 8px 0 2px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-contact { grid-column: 1 / -1; }

  .site-header[data-scrolled] .nav-capsule {
    max-width: 100%;
    padding: 6px 10px;
  }
}

@media (max-width: 760px) {
  .hud-chip { display: none; }
  .hud-text { font-size: 11px; letter-spacing: .06em; }

  .section { padding-block: 32px; }
  .section-head { margin-bottom: 20px; }

  .bento-wide,
  .bento-hero { grid-column: span 1; }
  .bento-tall,
  .bento-hero { grid-row: auto; }

  .footer-wrap { padding-top: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .to-top { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

@media (max-width: 560px) {
  :root { --header-h: 96px; }

  .brand-line { font-size: 15px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .08em; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }

  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .contact-row { grid-template-columns: 70px minmax(0, 1fr); }
}

/* =========================================================
   16. 动效降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal="pending"] {
    clip-path: none !important;
    opacity: 1 !important;
  }

  .card:hover,
  .figure:hover,
  .btn:hover,
  .to-top[data-visible] {
    transform: none !important;
  }
}
