/* ==========================================================================
   完美体育手机 · 共享样式表  /assets/site.css
   堆叠面板 + 对角切角 + 等宽数据字体
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
main { display: block; min-height: 40vh; }
#main-content { outline: none; }
::selection { background: rgba(41, 227, 107, .35); color: #fff; }

/* ---------- 2. Tokens ---------- */
:root {
  --bg: #071A33;
  --bg-deep: #050F20;
  --panel: #0E2A4D;
  --panel-2: #0B2244;
  --green: #29E36B;
  --teal: #17B58A;
  --flare: #FF5A3C;
  --amber: #FFB020;
  --ink: #C9D8E8;
  --ink-dim: #8FA5BE;
  --ink-faint: #6E86A4;
  --white: #FFFFFF;
  --line: #2E4A6B;
  --mint: #D6FFE8;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: var(--font-head);
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 20px;
  --r-lg: 28px;
  --pill: 999px;

  --shell-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --pad-panel: clamp(1.25rem, 3.2vw, 2.6rem);
  --shadow-panel: 0 30px 80px -50px rgba(0, 0, 0, .92);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 620px at 88% -12%, rgba(41, 227, 107, .10), transparent 62%),
    radial-gradient(900px 520px at 4% 4%, rgba(23, 181, 138, .12), transparent 60%),
    linear-gradient(180deg, #071A33 0%, #06162C 100%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--white);
}
h1 { font-size: clamp(2.25rem, 5.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p { max-width: 74ch; }
strong, b { color: var(--white); font-weight: 700; }
small { font-size: .8125rem; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

/* ---------- 4. 布局骨架 ---------- */
.shell { width: min(var(--shell-w), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.25rem); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--green);
  color: #04121F;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 6. 刊头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 26, 51, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.site-header[data-scrolled="true"] { box-shadow: 0 20px 55px -38px rgba(0, 0, 0, .95); }

.masthead { border-bottom: 1px solid rgba(46, 74, 107, .45); }
.masthead__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 2.5rem);
  padding-block: 18px;
  transition: padding .28s ease;
}
.site-header[data-scrolled="true"] .masthead__inner { padding-block: 10px; }

.masthead__tag {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  transition: opacity .25s ease, visibility .25s ease;
}
.masthead__tag::before,
.masthead__tag::after {
  content: "";
  width: clamp(20px, 4vw, 56px);
  height: 1px;
}
.masthead__tag::before { background: linear-gradient(90deg, transparent, var(--line)); }
.masthead__tag::after { background: linear-gradient(90deg, var(--line), transparent); }
.site-header[data-scrolled="true"] .masthead__tag { opacity: 0; visibility: hidden; }

.masthead__meta { justify-self: end; }

/* 品牌组合 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: #04121F;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 14px 34px -18px rgba(41, 227, 107, .9);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.0625rem, 2.1vw, 1.375rem);
  letter-spacing: -.02em;
  line-height: 1.28;
  color: var(--white);
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--ink-faint);
  white-space: nowrap;
}
.brand--footer .brand__mark { width: 42px; height: 42px; border-radius: 14px; font-size: 13px; }
.brand--footer .brand__name { font-size: 1.1875rem; }

/* 客服在线胶囊 */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(41, 227, 107, .35);
  background: rgba(41, 227, 107, .12);
  color: #B6F6D0;
  font-size: 12.5px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: dot-pulse 2.6s ease-in-out infinite;
}
.status-pill__short { display: none; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41, 227, 107, .5); }
  50% { box-shadow: 0 0 0 7px rgba(41, 227, 107, 0); }
}

/* ---------- 7. 导航条 ---------- */
.navbar { background: rgba(5, 15, 32, .38); }
.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
}
.nav-toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(14, 42, 77, .75);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.nav-toggle__text { letter-spacing: .08em; }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: transform .22s ease, opacity .22s ease;
}
.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-nav { grid-column: 2; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px; }
.nav-link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.nav-link:hover { color: var(--white); background-color: rgba(41, 227, 107, .13); }
.nav-link[aria-current="page"] {
  color: #04121F;
  background-color: var(--green);
  font-weight: 700;
}
.navbar__cta { grid-column: 3; justify-self: end; }

.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-rail span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green) 55%, var(--amber));
  transition: width .12s linear;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--green);
  color: #04121F;
  box-shadow: 0 18px 42px -24px rgba(41, 227, 107, .95);
}
.btn--primary:hover { background: #3CF07C; transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--line);
  background: rgba(14, 42, 77, .6);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--flare { background: var(--flare); color: #1A0700; }
.btn--flare:hover { background: #FF7259; transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- 9. 胶囊筛选条 ---------- */
.capsule-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(14, 42, 77, .55);
}
.capsule {
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.capsule:hover { color: var(--white); background: rgba(41, 227, 107, .13); }
.capsule[aria-pressed="true"],
.capsule.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #04121F;
}

/* ---------- 10. 面板与展览标签 ---------- */
.panel {
  position: relative;
  padding: var(--pad-panel);
  border: 1px solid rgba(46, 74, 107, .7);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(14, 42, 77, .96), rgba(11, 34, 68, .92));
  box-shadow: var(--shadow-panel);
}
.panel--deep { background: linear-gradient(160deg, rgba(7, 26, 51, .96), rgba(11, 34, 68, .9)); }
.panel--mint { background: var(--mint); border-color: transparent; color: #071A33; }
.panel--mint h2, .panel--mint h3, .panel--mint h4 { color: #071A33; }
.panel--mint .section-lede { color: #2C4A66; }
.panel--flush { padding: 0; overflow: hidden; }
.offset-up { margin-top: calc(-1 * clamp(1.25rem, 3vw, 2.5rem)); }
.offset-right { margin-right: calc(-1 * clamp(0rem, 2vw, 1.5rem)); }

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(255, 176, 32, .45);
  border-radius: var(--pill);
  background: rgba(255, 176, 32, .12);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.label-chip__no {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--pill);
  background: var(--amber);
  color: #241500;
  font-weight: 700;
}

.section-head { display: grid; gap: 14px; max-width: 78ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
}
.section-lede { color: var(--ink-dim); font-size: 16.5px; }

.divider-diag {
  position: relative;
  height: 1px;
  margin-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--line);
}
.divider-diag::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(80px, 18%, 180px);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal));
}

/* ---------- 11. 数据组件 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.stat {
  padding: 18px 20px;
  border: 1px solid rgba(46, 74, 107, .6);
  border-radius: var(--r-md);
  background: rgba(7, 26, 51, .55);
}
.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--white);
}
.stat__label { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .04em; color: var(--ink-faint); }
.stat--green .stat__value { color: var(--green); }
.stat--flare .stat__value { color: var(--flare); }
.stat--amber .stat__value { color: var(--amber); }

.data-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--white); }
.data-num--green { color: var(--green); }
.data-num--flare { color: var(--flare); }
.num-underline { box-shadow: inset 0 -.42em 0 rgba(41, 227, 107, .28); }

/* ---------- 12. 时间轴 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green), rgba(46, 74, 107, .5));
}
.timeline__item { position: relative; padding-bottom: 24px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.timeline__item.is-current::before {
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(41, 227, 107, .18);
}
.timeline__year {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
}

/* ---------- 13. 数据表 ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(46, 74, 107, .55);
  border-radius: var(--r-md);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table caption {
  padding: 0 0 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid rgba(46, 74, 107, .6); text-align: left; }
.data-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.data-table td { color: var(--ink); }
.data-table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--white); }
.data-table tbody tr:hover { background: rgba(41, 227, 107, .06); }

/* ---------- 14. 面包屑 ---------- */
.breadcrumbs { font-size: 13px; color: var(--ink-faint); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.breadcrumbs a { color: var(--ink-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs [aria-current="page"] { color: var(--white); font-weight: 600; }

/* ---------- 15. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(46, 74, 107, .7);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(14, 42, 77, .96), rgba(7, 26, 51, .96));
  isolation: isolate;
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 15, 32, .88));
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--placeholder {
  background-image:
    linear-gradient(135deg, rgba(14, 42, 77, .92), rgba(7, 26, 51, .92)),
    repeating-linear-gradient(45deg, rgba(46, 74, 107, .5) 0 10px, transparent 10px 20px);
}
.media-frame__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .03em;
  color: var(--ink);
}
.media-frame__tag { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 26, 51, .6) 0%, var(--bg-deep) 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--green), transparent);
  opacity: .7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.footer-col { min-width: 0; }
.footer-col--brand { padding-right: clamp(0px, 2vw, 1.5rem); }
.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer-heading::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--amber); }
.footer-list { display: grid; gap: 9px; }
.footer-list a { color: var(--ink); font-size: 15px; text-decoration: none; transition: color .18s ease; }
.footer-list a:hover { color: var(--green); }
.footer-note { margin-top: 14px; max-width: 36ch; font-size: 14.5px; line-height: 1.7; color: var(--ink-dim); }
.footer-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(41, 227, 107, .3);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: #B6F6D0;
}
.footer-stamp__no { font-weight: 700; color: var(--green); font-size: 14px; }

.contact-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(46, 74, 107, .55);
}
.contact-line__key { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-faint); white-space: nowrap; }
.contact-line__val { font-family: var(--font-mono); font-size: 14px; color: var(--white); overflow-wrap: anywhere; }
.contact-line__val--text { font-family: var(--font-body); font-size: 14px; color: var(--ink); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.copy-btn:hover { border-color: var(--green); color: var(--green); }
.copy-btn[data-copied="true"] { border-color: var(--green); background: rgba(41, 227, 107, .16); color: var(--green); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(46, 74, 107, .55);
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-bottom__item { display: flex; align-items: center; gap: 8px; max-width: none; }
.footer-bottom__item--wide { flex: 1 1 260px; }
.to-top {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 13px;
  transition: color .18s ease, border-color .18s ease;
}
.to-top:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- 17. 通用工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .3, 1); }
.reveal.is-hidden { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .navbar__cta { display: none; }
  .masthead__tag { display: none; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 12px 0 20px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0B2244, #071A33);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }
  .site-header[data-open] .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; padding-inline: var(--gutter); }
  .nav-link { padding: 14px 18px; border: 1px solid transparent; border-radius: var(--r-sm); font-size: 16px; }
  .nav-link:hover { border-color: rgba(41, 227, 107, .3); }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .offset-up { margin-top: 0; }
  .offset-right { margin-right: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  body { background-attachment: scroll; }
  .masthead__inner { padding-block: 12px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 14px; font-size: 13px; }
  .brand__sub { display: none; }
  .status-pill { padding: 7px 13px; font-size: 12px; }
  .status-pill__full { display: none; }
  .status-pill__short { display: inline; }
  .contact-line { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-line__key { grid-column: 1 / -1; }
  .navbar__inner { padding-block: 8px; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .to-top { margin-left: 0; }
}

/* ---------- 19. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-hidden { opacity: 1 !important; transform: none !important; }
  .status-dot { animation: none; }
  .scroll-rail span { transition: none; }
}
