/* ===========================================================
   心博体育 · 共享样式表  /assets/site.css
   夜场看台主题：草原夜空深蓝 / 荧光青柠 / 看台橙红 / 摔跤服暗金
   =========================================================== */

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

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色板 */
  --night: #0B1B33;
  --ink: #06101F;
  --milk: #F4EFE4;
  --lime: #C7F23C;
  --flame: #FF5A2B;
  --gold: #C9962B;
  --scarf: #2FBFA8;
  --slate: #38506E;
  --lamp: #E4D7BC;
  --lime-deep: #8FA826;

  /* 语义 */
  --bg: var(--night);
  --fg: var(--milk);
  --fg-soft: rgba(244, 239, 228, 0.74);
  --fg-faint: rgba(244, 239, 228, 0.52);
  --line-gold: rgba(201, 150, 43, 0.36);
  --line-soft: rgba(56, 80, 110, 0.75);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* 切角 */
  --cut-s: 8px;
  --cut-m: 14px;
  --cut-l: 20px;
  --chamfer-s: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --chamfer-m: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --chamfer-l: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  --chamfer-alt: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));

  /* 节奏 */
  --step: 8px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-offset: clamp(80px, 9vw, 100px);
  --shadow-panel: 0 26px 48px -30px rgba(0, 0, 0, 0.92);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-offset);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1.6px 1.6px at 11% 16%, rgba(244, 239, 228, 0.55), transparent 62%),
    radial-gradient(1.4px 1.4px at 32% 42%, rgba(244, 239, 228, 0.4), transparent 62%),
    radial-gradient(1.8px 1.8px at 58% 12%, rgba(199, 242, 60, 0.45), transparent 62%),
    radial-gradient(1.3px 1.3px at 79% 30%, rgba(244, 239, 228, 0.35), transparent 62%),
    radial-gradient(1.5px 1.5px at 91% 62%, rgba(47, 191, 168, 0.4), transparent 62%),
    radial-gradient(1.4px 1.4px at 22% 78%, rgba(244, 239, 228, 0.3), transparent 62%),
    radial-gradient(110% 80% at 82% -10%, rgba(47, 191, 168, 0.14), transparent 62%),
    radial-gradient(90% 70% at 6% 4%, rgba(255, 90, 43, 0.11), transparent 60%);
}

p { max-width: 68ch; }

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

strong, b { color: var(--lime); font-weight: 800; }

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

::selection {
  background: var(--lime);
  color: var(--lime-deep);
}

/* ---------- 4. 共享布局与通用组件 ---------- */
.shell {
  width: min(calc(100% - var(--gutter) * 2), 1240px);
  margin-inline: auto;
}

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

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px, 4vw, 44px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--flame));
  clip-path: var(--chamfer-s);
}

.display-xl {
  font-size: clamp(40px, 7vw, 112px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--fg-soft);
}

.mono,
.mono-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 150, 43, 0));
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--scarf);
  background: rgba(47, 191, 168, 0.12);
  border: 1px solid rgba(47, 191, 168, 0.34);
  clip-path: var(--chamfer-s);
}

.tag--lime {
  color: var(--lime);
  background: rgba(199, 242, 60, 0.12);
  border-color: rgba(199, 242, 60, 0.4);
}

.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  background: linear-gradient(160deg, #0E2140, var(--night));
  border: 1px solid var(--line-gold);
  clip-path: var(--chamfer-m);
  color: var(--fg);
}

.panel--milk {
  background: var(--milk);
  color: var(--ink);
  border-color: rgba(6, 16, 31, 0.16);
}

.panel--milk .lede { color: rgba(6, 16, 31, 0.72); }

.panel--board {
  background: linear-gradient(180deg, rgba(6, 16, 31, 0.96), rgba(11, 27, 51, 0.96));
  border-left: 3px solid var(--lime);
  clip-path: var(--chamfer-alt);
}

.panel--night {
  background: var(--ink);
  border-color: var(--line-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  clip-path: var(--chamfer-s);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

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

.btn--flame { background: var(--flame); color: var(--milk); }
.btn--flame:hover { background: var(--lime); color: var(--lime-deep); }

.btn--lime { background: var(--lime); color: var(--lime-deep); }
.btn--lime:hover { background: var(--flame); color: var(--milk); }

.btn--ghost {
  background: transparent;
  color: var(--milk);
  border: 1px solid var(--line-gold);
}

.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.breadcrumb a { color: var(--scarf); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line-gold); }
.breadcrumb li:last-child::after { content: ""; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }

/* 图片容器基础规则（页面阶段放 img 或内联 SVG） */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(70% 60% at 18% 12%, rgba(47, 191, 168, 0.22), transparent 62%),
    radial-gradient(60% 60% at 88% 88%, rgba(255, 90, 43, 0.18), transparent 62%),
    linear-gradient(160deg, #0E2140, var(--ink));
  border: 1px solid var(--line-gold);
  clip-path: var(--chamfer-l);
}

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

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

/* 滚动显现 */
[data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.has-reveal [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 5. 页头：悬浮胶囊导航 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 99;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--lime-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  clip-path: var(--chamfer-s);
  transform: translate(-50%, -200%);
  transition: transform 0.22s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  padding: 14px var(--gutter);
  pointer-events: none;
  transition: padding 0.3s ease;
}

.header-capsule {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.4vw, 20px);
  width: min(100%, 1380px);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  pointer-events: auto;
  transition: padding 0.3s ease;
}

.header-capsule::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(140deg, rgba(201, 150, 43, 0.62), rgba(47, 191, 168, 0.3) 46%, rgba(201, 150, 43, 0.5));
  clip-path: var(--chamfer-m);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55));
  transition: background 0.3s ease;
}

.header-capsule::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    radial-gradient(120% 200% at 6% -50%, rgba(47, 191, 168, 0.22), transparent 56%),
    linear-gradient(100deg, var(--ink), var(--night) 62%, #0A1A30);
  clip-path: var(--chamfer-m);
}

.site-header[data-condensed="true"] { padding-block: 8px; }
.site-header[data-condensed="true"] .header-capsule { padding-block: 6px; }
.site-header[data-condensed="true"] .header-capsule::before {
  background: linear-gradient(140deg, rgba(199, 242, 60, 0.55), rgba(201, 150, 43, 0.35) 60%, rgba(255, 90, 43, 0.35));
}

/* 品牌岛 */
.brand-island { flex: 0 0 auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  background: linear-gradient(135deg, var(--gold), var(--flame));
  clip-path: var(--chamfer-s);
}

.brand-mark::before {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--lime);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(6, 16, 31, 0.5);
  clip-path: var(--chamfer-s);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--milk);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* 栏目岛 */
.nav-island { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.site-nav { min-width: 0; }

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

.nav-link {
  position: relative;
  display: block;
  padding: 9px 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(244, 239, 228, 0.78);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--flame));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover { color: var(--lime); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--lime); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }

/* 行动岛 */
.action-island {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-entry { position: relative; }

.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
  border: 1px solid transparent;
  clip-path: var(--chamfer-s);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.search-toggle:hover { color: var(--lime); border-color: rgba(199, 242, 60, 0.4); }

.search-entry[data-open="true"] .search-toggle {
  color: var(--lime-deep);
  background: var(--lime);
  border-color: var(--lime);
}

.search-glyph {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  flex: none;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-glyph::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-hint {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 6;
  width: min(320px, 76vw);
  padding: 14px 16px 16px;
  background: linear-gradient(160deg, #0E2140, var(--ink));
  border: 1px solid rgba(201, 150, 43, 0.5);
  border-left: 3px solid var(--lime);
  clip-path: var(--chamfer-m);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.6));
}

.search-hint-title {
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: none;
}

.search-hint-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.search-chip {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  background: rgba(199, 242, 60, 0.1);
  border: 1px solid rgba(199, 242, 60, 0.42);
  clip-path: var(--chamfer-s);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--flame);
  color: var(--milk);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  clip-path: var(--chamfer-s);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.cta-button:hover { background: var(--lime); color: var(--lime-deep); }
.cta-button:active { transform: translateY(1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line-gold);
  clip-path: var(--chamfer-s);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--milk);
  transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(199, 242, 60, 0.14);
  border-color: var(--lime);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(44px, 6vw, 76px) 0 26px;
  background:
    radial-gradient(120% 110% at 10% 0%, rgba(47, 191, 168, 0.15), transparent 60%),
    radial-gradient(90% 90% at 92% 6%, rgba(255, 90, 43, 0.13), transparent 62%),
    var(--ink);
  color: var(--milk);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--gold) 38%, var(--flame) 74%, var(--scarf));
  opacity: 0.85;
}

.footer-glow::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 38%;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.footer-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--lime);
  clip-path: var(--chamfer-s);
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-closing {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-faint);
  max-width: none;
}

.footer-contact { display: flex; flex-direction: column; gap: 8px; }

.contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--fg-soft);
  max-width: none;
}

.contact-line .mono-index { min-width: 44px; display: inline-block; }

.contact-address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-faint);
  max-width: 40ch;
  padding-left: 54px;
  border-left: 1px solid var(--line-soft);
}

.copy-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--milk);
  border-bottom: 1px dashed rgba(199, 242, 60, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.copy-mail:hover { color: var(--lime); border-color: var(--lime); }

.copy-flag {
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
  background: rgba(199, 242, 60, 0.14);
  clip-path: var(--chamfer-s);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-mail[data-copied="true"] .copy-flag {
  background: var(--lime);
  color: var(--lime-deep);
}

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

.footer-col { padding-top: 6px; border-top: 1px solid var(--line-gold); }

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--fg-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover { color: var(--lime); transform: translateX(4px); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 18px;
  border-top: 1px dashed var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
}

.footer-copy,
.footer-icp { max-width: none; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 1240px) {
  .nav-link { padding-inline: 9px; font-size: 14px; }
  .search-label { display: none; }
  .search-toggle { padding-inline: 10px; }
}

@media (max-width: 1080px) {
  :root { --header-offset: clamp(76px, 12vw, 92px); }

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

  .nav-island { flex: 0 0 auto; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    background: linear-gradient(180deg, #0E2140, var(--ink));
    border: 1px solid var(--line-gold);
    border-left: 3px solid var(--lime);
    clip-path: var(--chamfer-m);
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.62));
  }

  .site-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    counter-reset: navslot;
  }

  .nav-item {
    border-bottom: 1px dashed var(--line-soft);
    counter-increment: navslot;
  }

  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px;
    font-size: 18px;
  }

  .nav-link::before {
    content: counter(navslot, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--gold);
  }

  .nav-link::after {
    left: 8px;
    right: auto;
    bottom: 6px;
    width: 40px;
  }

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

@media (max-width: 860px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
  .contact-address { padding-left: 0; border-left: 0; max-width: 46ch; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .site-header { padding-inline: 12px; }
  .header-capsule { padding: 7px 10px; gap: 6px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .cta-button { padding: 9px 13px; font-size: 13px; letter-spacing: 0.03em; }
  .search-toggle { padding: 7px 8px; }
  .nav-toggle { width: 38px; height: 36px; padding-inline: 8px; }

  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-col:last-child { grid-column: auto; }
  .contact-line { font-size: 14px; }
  .copy-mail { font-size: 12px; }
}

/* ---------- 8. 动效降级 ---------- */
@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;
  }

  .has-reveal [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .skip-link { transform: translate(-50%, 0); clip-path: none; }
}
