/* ==========================================================================
   拳码小哥徐宝林 · 全站样式（自写 CSS + 设计令牌）
   气质：商务稳重 × 武术质感（水墨黑 / 宣纸白 / 朱砂红）
   栅格约定：含表格 / 长内容的栅格一律 minmax(0, 1fr)，避免 min-content 撑破窄屏
   ========================================================================== */

:root {
  --ink-900: #141414;
  --ink-800: #1d1c1a;
  --ink-700: #2a2724;
  --ink-600: #3d3934;
  --paper: #f7f4ef;
  --paper-2: #efeae1;
  --paper-3: #e6e0d5;
  --cinnabar: #b3271e;
  --cinnabar-d: #8f1f18;
  --cinnabar-l: #d9534a;
  --slate: #6b7280;
  --line: #ded8cd;
  --gold: #b08a3e;
  --f-title: "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Georgia", "Times New Roman", serif;
  --wrap: 1220px;
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --pad: clamp(20px, 5vw, 40px);
  --sec-y: clamp(56px, 8vw, 108px);
  --sh-1: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 26px -18px rgba(20, 20, 20, .28);
  --sh-2: 0 24px 60px -28px rgba(20, 20, 20, .42);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-700);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(20,20,20,.016) 0 1px, transparent 1px 4px),
    radial-gradient(1200px 620px at 92% -8%, rgba(179,39,30,.07), transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cinnabar); text-decoration: none; }
a:hover { color: var(--cinnabar-d); }
h1, h2, h3, h4 { font-family: var(--f-title); color: var(--ink-900); line-height: 1.28; margin: 0 0 .5em; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 5.2vw, 54px); }
h2 { font-size: clamp(24px, 3.3vw, 36px); }
h3 { font-size: clamp(19px, 2.1vw, 23px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .3em 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--paper-2); padding: 1px 6px; border-radius: var(--r-s); word-break: break-all; }
:focus-visible { outline: 3px solid rgba(179,39,30,.42); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink-900); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.2; padding: 14px 26px; border-radius: var(--r-m); border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease); text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cinnabar); color: #fff; box-shadow: 0 10px 24px -14px rgba(179,39,30,.85); }
.btn-primary:hover { background: var(--cinnabar-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn-ghost:hover { background: var(--ink-900); color: var(--paper); }
.btn-light { background: #fff; color: var(--ink-900); border-color: rgba(255,255,255,.6); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.arrow { font-family: var(--f-num); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(247,244,239,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: var(--sh-1); }
.hdr-inner { display: flex; align-items: center; gap: 14px; min-height: 74px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; flex: 0 1 auto; min-width: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink-900); color: #fff; font-family: var(--f-title); font-size: 16px; font-weight: 700; border-radius: var(--r-s); letter-spacing: -1px; box-shadow: inset 0 0 0 2px rgba(179,39,30,.9); flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-txt strong { font-family: var(--f-title); font-size: 18px; color: var(--ink-900); letter-spacing: .02em; white-space: nowrap; }
.brand-txt em { font-style: normal; font-size: 11.5px; color: var(--slate); letter-spacing: .06em; white-space: nowrap; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 3px; padding: 10px 9px; font-size: 15px; color: var(--ink-800); font-weight: 500; border-radius: var(--r-s); white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--cinnabar); background: rgba(179,39,30,.05); }
.sub-caret { display: inline-flex; align-items: center; border: 0; background: none; cursor: pointer; padding: 0 2px; color: var(--slate); font-size: 10px; line-height: 1; transition: transform .2s var(--ease); font-family: var(--f-body); }
.nav-item.open .sub-caret { transform: rotate(180deg); }
.sub-panel { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 232px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.sub-panel a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-s); color: var(--ink-800); font-size: 15px; white-space: normal; }
.sub-panel a small { color: var(--slate); font-size: 12.5px; }
.sub-panel a:hover { background: var(--paper); color: var(--cinnabar); }
@media (hover: hover) {
  .nav-item.has-sub:hover > .sub-panel, .nav-item.has-sub:focus-within > .sub-panel { opacity: 1; visibility: visible; transform: none; }
}
.nav-item.open > .sub-panel { opacity: 1; visibility: visible; transform: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; flex: 0 0 auto; }
.lang-switch span, .lang-switch a { padding: 5px 10px; font-size: 13px; color: var(--slate); white-space: nowrap; }
.lang-switch .cur { background: var(--ink-900); color: #fff; }
.nav-toggle { display: none; border: 1px solid var(--ink-900); background: #fff; color: var(--ink-900); font-size: 14px; padding: 9px 14px; border-radius: var(--r-m); cursor: pointer; font-family: var(--f-body); white-space: nowrap; }

/* ---------- hero (homepage) ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(72px, 9vw, 120px); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .1em; color: var(--cinnabar); font-weight: 600; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--cinnabar); }
.hero-slogan { margin-bottom: 14px; }
.hero-slogan .sub { display: block; font-size: clamp(17px, 2.1vw, 23px); color: var(--slate); font-family: var(--f-body); font-weight: 400; letter-spacing: .16em; margin-top: 10px; }
.hero-def { font-size: 17px; color: var(--ink-600); max-width: 46ch; }
.hero-def b { color: var(--ink-900); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--slate); }
.hero-facts li { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.hero-facts b { font-family: var(--f-num); font-size: 19px; color: var(--ink-900); }
.hero-media { position: relative; margin: 0; min-width: 0; }
.hero-media img { width: 100%; border-radius: var(--r-l); box-shadow: var(--sh-2); background: var(--ink-800); }
.hero-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: var(--r-l); z-index: -1; }
.media-tag { font-size: 12px; color: var(--slate); margin-top: 10px; letter-spacing: .04em; }
.hero-badge { position: absolute; left: -12px; top: 22px; background: var(--ink-900); color: #fff; font-size: 13px; padding: 8px 14px; border-radius: var(--r-s); box-shadow: var(--sh-1); z-index: 2; }
.qr-card { position: absolute; right: -10px; bottom: -80px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); padding: 14px 16px; display: flex; gap: 12px; align-items: center; max-width: 330px; z-index: 3; }
.qr-box { width: 96px; height: 96px; flex: 0 0 auto; border: 1px dashed var(--cinnabar); border-radius: var(--r-s); background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.qr-box svg { width: 100%; height: 100%; }
.qr-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-600); }
.qr-card .t { font-weight: 700; color: var(--ink-900); font-size: 14px; margin-bottom: 3px; }
.qr-id { display: flex; align-items: center; gap: 6px; margin-top: 5px !important; flex-wrap: wrap; }
.copy-btn { border: 1px solid var(--line); background: var(--paper); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; cursor: pointer; color: var(--slate); font-family: var(--f-body); }
.copy-btn:hover { border-color: var(--cinnabar); color: var(--cinnabar); }

/* ---------- section shell ---------- */
.section { padding: var(--sec-y) 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--paper) 100%); border-block: 1px solid var(--line); }
.section.ink { background: var(--ink-900); color: #d9d5cf; border-bottom: 1px solid var(--ink-700); }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.tight { padding: clamp(34px, 5vw, 62px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 42px); flex-wrap: wrap; }
.sec-head .kicker { font-size: 13px; letter-spacing: .18em; color: var(--cinnabar); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.section.ink .kicker { color: var(--cinnabar-l); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 10px 0 0; max-width: 62ch; color: var(--slate); font-size: 16px; }
.section.ink .sec-head p { color: #b9b4ac; }
.sec-more { flex: 0 0 auto; font-size: 15px; font-weight: 600; white-space: nowrap; }

/* ---------- inner page shell ---------- */
.page-head { padding: clamp(22px, 3.4vw, 38px) 0 clamp(28px, 4.4vw, 46px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); }
.head-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
.page-head h1 { font-size: clamp(28px, 4.4vw, 46px); margin-bottom: .35em; }
.page-head .lead { font-size: 17px; color: var(--ink-600); max-width: 66ch; }
.head-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; font-size: 14.5px; color: var(--ink-600); }
.mini-card h2, .mini-card h3 { font-size: 16px; margin: 0 0 8px; }
.mini-card ul { margin: 0; padding-left: 1.1em; }
.mini-card .btn { margin-top: 10px; }
.crumbs { font-size: 13.5px; color: var(--slate); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li::after { content: "/"; margin-left: 6px; color: var(--paper-3); }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--slate); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 4vw, 44px); align-items: start; }
.two-col > * { min-width: 0; }
.prose { max-width: 76ch; min-width: 0; }
.prose h2 { margin: 1.5em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose img { border-radius: var(--r-m); margin: 18px 0 8px; }
.prose figcaption { font-size: 12.5px; color: var(--slate); margin: -4px 0 18px; }
.def-box { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cinnabar); padding: 18px 22px; border-radius: var(--r-m); margin: 0 0 24px; font-size: 16px; }
.def-box b, .def-box strong { color: var(--cinnabar); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; position: sticky; top: 88px; }
.toc h2 { font-size: 14px; letter-spacing: .08em; color: var(--slate); margin: 0 0 10px; font-family: var(--f-body); text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.25em; font-size: 14.5px; line-height: 1.7; }
.toc a { color: var(--ink-700); }
.toc a:hover { color: var(--cinnabar); }
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 24px; }
.steps li { position: relative; padding: 14px 18px 14px 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 10px; font-size: 15.5px; }
.steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font-family: var(--f-num); color: var(--gold); font-size: 15px; }
.steps li b { color: var(--ink-900); }
.notice { background: rgba(179,39,30,.05); border: 1px solid rgba(179,39,30,.28); border-radius: var(--r-m); padding: 14px 18px; font-size: 14.5px; color: var(--ink-600); margin: 0 0 24px; }
.notice b { color: var(--cinnabar-d); }
.timeline { list-style: none; padding: 0; margin: 0 0 8px; }
.timeline li { position: relative; padding: 0 0 24px 26px; border-left: 1px solid var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--cinnabar); }
.timeline .yr { font-family: var(--f-num); color: var(--gold); font-size: 14px; letter-spacing: .08em; margin-bottom: 0; }
.timeline h3 { font-size: 18px; margin: .25em 0 .35em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 13px; font-size: 13.5px; color: var(--ink-600); }
.cmp tbody th { background: var(--paper); font-weight: 600; color: var(--ink-900); }
.cta-band { background: var(--ink-900); color: #d9d5cf; padding: clamp(34px, 5vw, 58px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9b4ac; max-width: 58ch; margin-inline: auto; }
.cta-band .btn-light { border-color: #4a4640; background: #232120; color: #e7e3dd; }
.cta-band .btn-light:hover { background: #2e2b29; color: #fff; }

/* ---------- article (notes) ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--slate); margin: 0 0 18px; padding: 0; list-style: none; }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.pager a { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 18px; font-size: 15.5px; color: var(--ink-900); font-weight: 600; }
.pager a:hover { border-color: var(--cinnabar); color: var(--cinnabar); }
.pager span { font-size: 12.5px; color: var(--slate); font-weight: 400; letter-spacing: .06em; }
.pull { font-family: var(--f-title); font-size: clamp(19px, 2.4vw, 24px); color: var(--ink-900); border-left: 3px solid var(--cinnabar); padding: 6px 0 6px 18px; margin: 0 0 24px; }

/* ---------- gallery (media) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--r-m); background: var(--ink-800); }
.gallery figcaption { font-size: 12.5px; color: var(--slate); margin-top: 6px; line-height: 1.5; }
.video-slot { border: 1px dashed var(--line); border-radius: var(--r-m); background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.video-slot h3 { margin: 0; font-size: 18px; }

/* ---------- case cards (students) ---------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px 24px; display: flex; flex-direction: column; }
.case .kv { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 6px 12px; font-size: 14.5px; margin: 0 0 14px; }
.case .kv dt { color: var(--slate); }
.case .kv dd { margin: 0; color: var(--ink-700); }
.case .said { font-family: var(--f-title); font-size: 17px; color: var(--ink-900); margin: 0 0 12px; }

/* ---------- form (contact) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sh-1); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink-900); font-weight: 600; }
.field label .req { color: var(--cinnabar); }
.field input, .field textarea, .field select { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; color: var(--ink-700); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cinnabar); outline: none; box-shadow: 0 0 0 3px rgba(179,39,30,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--slate); margin: 12px 0 0; }
.form-ok { background: rgba(179,39,30,.06); border: 1px solid rgba(179,39,30,.3); border-radius: var(--r-m); padding: 14px 18px; font-size: 14.5px; margin-top: 14px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0; transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease); }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: #cfc7b8; }
.card .num { font-family: var(--f-num); font-size: 13px; color: var(--gold); letter-spacing: .16em; margin-bottom: 10px; }
.card h2, .card h3 { margin-bottom: 8px; }
.card .def { font-size: 15px; color: var(--ink-600); margin-bottom: 12px; }
.card .def b { color: var(--cinnabar); }
.card ul.ticks { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14.5px; color: var(--ink-600); }
.card ul.ticks li { padding-left: 20px; position: relative; margin: .35em 0; }
.card ul.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--cinnabar); }
.card .card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14.5px; font-weight: 600; }
.card .thumb { margin: calc(clamp(18px, 2.4vw, 26px) * -1) calc(clamp(18px, 2.4vw, 26px) * -1) 16px; }
.card .thumb img { width: 100%; height: 172px; object-fit: cover; border-radius: 0; background: var(--ink-800); }
.stamp { position: absolute; right: 14px; top: 14px; font-family: var(--f-title); font-size: 12px; color: var(--cinnabar); border: 1px solid var(--cinnabar); border-radius: 3px; padding: 2px 6px; opacity: .9; letter-spacing: .06em; z-index: 2; background: rgba(255,255,255,.9); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 62px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cinnabar); border-radius: var(--r-m); padding: 18px 22px; }
.bar .bnum { font-family: var(--f-num); font-size: 26px; color: var(--paper-3); line-height: 1; }
.bar h3 { margin: 0; font-size: 19px; }
.bar .who { font-size: 13px; color: var(--slate); margin-top: 2px; }
.bar p { margin: 0; font-size: 15px; color: var(--ink-600); }
.bar a { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.spec { width: 100%; font-size: 14.5px; margin-bottom: 14px; }
.spec th, .spec td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--slate); font-weight: 500; width: 30%; }
.spec td { color: var(--ink-700); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; max-width: 100%; min-width: 0; }
.table-scroll table { min-width: 760px; }
.table-scroll th, .table-scroll td { padding: 12px 14px; }
.table-scroll thead th { background: var(--ink-900); color: #fff; font-weight: 500; font-size: 14px; }
.note-card { padding: 0; overflow: hidden; }
.note-card .body { padding: clamp(16px, 2.2vw, 22px); display: flex; flex-direction: column; flex: 1; }
.cluster { display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--cinnabar); border: 1px solid rgba(179,39,30,.35); border-radius: 999px; padding: 1px 10px; margin-bottom: 10px; align-self: flex-start; white-space: nowrap; }
.note-card h3 { font-size: 18px; }
.note-card .ans { font-size: 14.5px; color: var(--ink-600); margin-bottom: 12px; }
.note-meta { margin-top: auto; display: flex; gap: 10px; font-size: 12.5px; color: var(--slate); }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px 24px; position: relative; margin: 0; min-width: 0; }
.quote::before { content: "“"; position: absolute; right: 16px; top: 4px; font-family: var(--f-title); font-size: 62px; color: var(--paper-3); line-height: 1; }
.quote blockquote { margin: 0 0 12px; font-size: 15.5px; color: var(--ink-700); }
.quote figcaption { font-size: 13.5px; color: var(--slate); }
.quote figcaption b { color: var(--ink-900); display: block; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--f-num); font-size: clamp(30px, 4.6vw, 46px); color: #fff; line-height: 1.1; }
.stat b i { font-style: normal; font-size: .5em; color: var(--cinnabar-l); }
.stat span { font-size: 14px; color: #b9b4ac; letter-spacing: .05em; }
.stats-note { text-align: center; font-size: 12.5px; color: #8d8881; margin-top: 22px; }
.coop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); }
.coop .panel { border-radius: var(--r-m); padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); min-width: 0; }
.coop .panel.dark { background: var(--ink-900); color: #d9d5cf; border-color: var(--ink-700); }
.coop .panel.dark h3 { color: #fff; }
.coop .panel ul { padding-left: 1.1em; font-size: 15px; }
.coop .panel li::marker { color: var(--cinnabar); }
.faq-list { max-width: 900px; margin-inline: auto; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 10px; overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 46px 18px 50px; font-family: var(--f-title); font-size: 17.5px; color: var(--ink-900); font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 18px; top: 18px; font-family: var(--f-num); font-size: 12px; color: var(--cinnabar); border: 1px solid var(--cinnabar); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 16px; font-size: 20px; color: var(--slate); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .a { padding: 0 22px 20px 50px; font-size: 15.5px; color: var(--ink-600); }
.cta-final { background: var(--ink-900); color: #e7e3dd; text-align: center; padding: clamp(52px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.cta-final::before { content: "拳"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--f-title); font-size: 460px; color: rgba(255,255,255,.028); line-height: 1; pointer-events: none; }
.cta-final h2 { color: #fff; position: relative; z-index: 1; }
.cta-final p { max-width: 60ch; margin-inline: auto; color: #b9b4ac; position: relative; z-index: 1; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }
.site-footer { background: #101010; color: #9a958e; font-size: 14.5px; padding: clamp(38px, 5vw, 56px) 0 22px; border-top: 3px solid var(--cinnabar); }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; letter-spacing: .04em; font-family: var(--f-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .45em 0; }
.site-footer a { color: #9a958e; word-break: break-all; }
.site-footer a:hover { color: #fff; }
.site-footer code { background: #232323; color: #d9d5cf; }
.f-brand strong { display: block; font-family: var(--f-title); font-size: 20px; color: #fff; margin-bottom: 8px; }
.f-brand .slogan { color: #c9c3ba; letter-spacing: .1em; font-size: 13.5px; }
.f-contact li { padding-left: 16px; position: relative; }
.f-contact li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--cinnabar); }
.f-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 13px; color: #77726c; }
.f-bottom a { color: #77726c; }
.wx-float { position: fixed; right: 18px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; background: var(--cinnabar); color: #fff; border: 0; border-radius: 999px; padding: 13px 20px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(179,39,30,.9); font-family: var(--f-body); }
.wx-float:hover { background: var(--cinnabar-d); color: #fff; }
.wx-float svg { width: 20px; height: 20px; fill: #fff; flex: 0 0 auto; }
.to-top { position: fixed; right: 22px; bottom: 82px; z-index: 69; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-700); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); font-size: 16px; }
.to-top.show { opacity: 1; pointer-events: auto; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal .veil { position: absolute; inset: 0; background: rgba(16,16,16,.62); backdrop-filter: blur(2px); border: 0; cursor: pointer; }
.modal .box { position: relative; background: #fff; border-radius: var(--r-l); padding: clamp(22px, 4vw, 34px); max-width: 420px; width: 100%; box-shadow: var(--sh-2); text-align: center; }
.modal .box h2, .modal .box h3 { font-size: 21px; }
.modal .box p { font-size: 14.5px; color: var(--slate); }
.modal .qr-box { width: 190px; height: 190px; margin: 0 auto 14px; }
.modal .close { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--slate); cursor: pointer; }
.modal .m-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.ph { border: 1px dashed var(--cinnabar); background: rgba(179,39,30,.045); color: var(--cinnabar-d); font-size: 12.5px; border-radius: var(--r-s); padding: 8px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hdr-inner { min-height: 66px; gap: 10px; }
  .brand-txt em { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 66px 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); max-height: calc(100dvh - 66px); overflow-y: auto; padding: 10px var(--pad) 24px; transform: translateY(-115%); transition: transform .3s var(--ease); margin-left: 0; width: 100%; }
  body.nav-open .main-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 14px 4px; font-size: 16px; width: 100%; }
  .nav-item.has-sub { display: block; }
  .sub-panel { position: static; opacity: 1; visibility: hidden; display: none; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 10px 12px; transform: none; min-width: 0; width: 100%; }
  .nav-item.open > .sub-panel { display: block; visibility: visible; }
  .sub-panel a { padding: 10px 6px; border-bottom: 1px dashed var(--line); }
  .sub-panel a:last-child { border-bottom: 0; }
}
@media (max-width: 1180px) { .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
  .qr-card { position: static; margin-top: 14px; max-width: none; bottom: auto; right: auto; }
  .hero-badge { left: 8px; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coop { grid-template-columns: minmax(0, 1fr); }
  .bar { grid-template-columns: 44px minmax(0, 1fr); row-gap: 6px; }
  .bar p { grid-column: 2; }
  .bar a { grid-column: 2; justify-self: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .head-grid { grid-template-columns: minmax(0, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .qr-card { flex-direction: column; text-align: center; }
  .qr-id { justify-content: center; }
  .wx-float { right: 12px; bottom: 12px; padding: 12px 16px; font-size: 14px; }
  .to-top { bottom: 70px; right: 12px; }
  .faq-list summary { padding-left: 44px; font-size: 16px; }
  .faq-list .a { padding-left: 44px; }
  .faq-list summary::before { left: 14px; }
  .hero-media::before { display: none; }
  .bar { padding: 16px; }
  .hdr-actions { gap: 6px; }
  .lang-switch span, .lang-switch a { padding: 5px 8px; }
  .brand-txt strong { font-size: 16px; }
  .steps li { padding: 14px 16px 14px 52px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery img { height: 200px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .case .kv { grid-template-columns: 80px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hdr-actions > .btn { display: none; }
  .container { padding-inline: 18px; }
  .hero-badge { font-size: 12px; padding: 6px 10px; }
  .bar { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .bar .bnum { font-size: 20px; }
}
@media (max-width: 400px) {
  .wx-float { font-size: 13px; padding: 11px 13px; }
  .btn { font-size: 15px; padding: 12px 18px; }
  .brand-txt strong { font-size: 15px; }
  .nav-toggle { padding: 8px 11px; font-size: 13px; }
  .quote { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
