/* ============================================================
   三亿赛场 · /assets/site.css
   共享外壳：reset / 设计变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

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

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

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

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

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

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

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

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

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

/* ---------- 2. tokens ---------- */
:root {
  /* 颜色 */
  --ink: #14181A;
  --ink-soft: #3A4245;
  --ink-line: #262E31;
  --paper: #F6F3EA;
  --concrete: #6E7477;
  --concrete-line: #D8D6CF;
  --ash: #E7E6E1;
  --white: #FFFFFF;
  --lime: #C6FF3D;
  --lime-hi: #D9FF77;
  --lime-soft: #EAF7C9;
  --orange: #FF6A2B;
  --bluegray: #8C9BA8;
  --archive: #4A5A66;
  --red: #B23A2E;

  /* 字体 */
  --font-sans: "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, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas,
    "Courier New", monospace;

  /* 尺度 */
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --nav-h: 66px;
  --tape-h: 38px;

  /* 动效 */
  --dur: .18s;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-lift: 0 14px 34px -20px rgba(20, 24, 26, .55);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: .005em;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 900;
}

.is-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.u-narrow {
  display: inline-block;
  transform: scaleX(.94);
  transform-origin: left center;
}

.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

html.nav-open { overflow: hidden; }

/* ---------- 4. 容器与栅格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid { display: grid; gap: clamp(20px, 3vw, 38px); }

.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--aside { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

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

.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hi); border-color: var(--lime-hi); }

.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.btn--ink:hover { background: var(--ink-line); border-color: var(--ink-line); }

.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--line { background: transparent; border-color: rgba(198, 255, 61, .55); color: var(--lime); }
.btn--line:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.btn--sm { font-size: 13px; padding: 9px 15px; }
.btn--xs { font-size: 11.5px; padding: 6px 11px; letter-spacing: .06em; }
.btn--block { display: flex; width: 100%; }

/* ---------- 6. 头部 · 上层信息带 ---------- */
.site-header { position: relative; z-index: 90; }

.skip-link {
  position: fixed;
  top: -80px;
  left: var(--gutter);
  z-index: 400;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  border-radius: 2px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 10px; }

.tape-bar {
  background: var(--ink);
  color: #9BA3A5;
  border-bottom: 1px solid var(--ink-line);
}

.tape-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: var(--tape-h);
  padding-block: 5px;
}

.tape-bar__brand {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: #C9CFD0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tape-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.tape-meta__cell {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.tape-meta__cell dt {
  font-size: 11px;
  letter-spacing: .12em;
  color: #7E8688;
}

.tape-meta__cell dd {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lime);
}

.tape-bar__side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.tape-bar__mail {
  font-size: 11.5px;
  color: #8F9799;
  letter-spacing: .02em;
}

/* ---------- 7. 头部 · 粘性导航条 ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 234, .95);
  border-bottom: 1px solid var(--concrete-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header[data-condensed] .nav-bar {
  box-shadow: 0 10px 26px -24px rgba(20, 24, 26, .8);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  min-height: var(--nav-h);
  transition: min-height var(--dur) var(--ease);
}

.site-header[data-condensed] .nav-bar__inner { min-height: 54px; }

/* 品牌 */
.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-block: 6px;
}

.brand__mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.brand__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--ink);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 50%;
  height: 2px;
  background: var(--ink);
  transform: translateY(-1px) rotate(-26deg);
  transition: background-color var(--dur) var(--ease);
}

.brand__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.brand__tag {
  padding-left: 10px;
  border-left: 1px solid var(--concrete-line);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--concrete);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* 移动按钮 */
.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 13px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--lime);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
}

.nav-toggle__box {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__box span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

/* 主导航 */
.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, .5vw, 8px);
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 10px 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: 2px;
  transition: color var(--dur) var(--ease);
}

.nav-link__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--concrete);
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

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

.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] .nav-link__idx { color: var(--orange); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-aside { display: none; }

/* 阅读进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(20, 24, 26, .07);
  overflow: hidden;
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width .1s linear;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  padding-block: clamp(42px, 6vw, 76px) 26px;
  background: var(--ink);
  color: #8F9799;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(198, 255, 61, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 61, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 72%);
}

.site-footer .shell { position: relative; z-index: 1; }

.site-footer :focus-visible { outline-color: var(--lime); }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(246, 243, 234, .16);
}

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

.footer-brand__mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 2px solid var(--lime);
  border-radius: 50%;
}

.footer-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--lime);
}

.footer-brand__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--paper);
}

.footer-brand__line {
  font-size: 13px;
  letter-spacing: .02em;
  color: #7E8688;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(28px, 4vw, 46px);
}

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

.footer-list li + li { margin-top: 10px; }

.footer-list a {
  position: relative;
  font-size: 14.5px;
  color: #C9CFD0;
  transition: color var(--dur) var(--ease);
}

.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.footer-list a:hover { color: var(--lime); }
.footer-list a:hover::after { transform: scaleX(1); }

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

.footer-contact__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  color: #C9CFD0;
}

.footer-contact__key {
  flex: 0 0 auto;
  min-width: 42px;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: #6E7477;
}

.footer-contact__note {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7E8688;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 243, 234, .16);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #6E7477;
}

.footer-legal__text { font-size: 11.5px; }

/* ---------- 9. 区块与标题 ---------- */
.section { padding-block: clamp(44px, 7vw, 96px); }

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

.section--ink .section-title { color: var(--paper); }
.section--ink .lede { color: #C9CFD0; }
.section--ink :focus-visible { outline-color: var(--lime); }

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

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.lede {
  max-width: 62ch;
  margin-top: 14px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- 10. 卡片 / 标签 / 图片容器 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--white);
  border: 1px solid var(--ash);
  border-radius: 2px;
}

.panel--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.panel--archive {
  background: #EDEFF1;
  border-color: var(--bluegray);
  color: var(--archive);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--ash);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}

.tag--lime { background: var(--lime); color: var(--ink); }
.tag--orange { background: var(--orange); color: var(--ink); }
.tag--archive { background: #DCE2E7; color: var(--archive); }
.tag--flat { transform: none; }

.figure { display: grid; gap: 10px; margin: 0; }

.figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(148deg, #DEDCD3 0%, #EFEEE7 60%, #E4E3DB 100%);
  border: 1px solid var(--ash);
  border-radius: 2px;
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--cut .figure__media {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%);
}

.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 4 / 5; }

.figure__caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--concrete);
}

.figure__idx {
  color: var(--orange);
  font-weight: 700;
}

/* ---------- 11. 面包屑 / 正文 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--concrete);
}

.crumbs a { color: var(--concrete); transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { color: var(--concrete-line); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 1.8em;
  margin-bottom: .6em;
  font-size: clamp(21px, 2.2vw, 26px);
  color: var(--ink);
}

.prose h3 {
  margin-top: 1.5em;
  margin-bottom: .5em;
  font-size: 18px;
  color: var(--ink);
}

.prose p + p { margin-top: 1em; }

.prose ul, .prose ol { margin-top: .8em; }

.prose li {
  position: relative;
  padding-left: 20px;
  margin-top: .5em;
}

.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.prose strong { color: var(--ink); font-weight: 800; }

/* ---------- 12. 分段切换（页面阶段复用） ---------- */
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--concrete-line);
  scrollbar-width: thin;
}

.tab {
  position: relative;
  flex: 0 0 auto;
  padding: 12px 15px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--concrete);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.tab::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

[data-tab-panel][hidden] { display: none; }

/* ---------- 13. 纹理 / 入场 / 复制态 ---------- */
.court-grid {
  background-image:
    linear-gradient(rgba(20, 24, 26, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 26, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.is-copied {
  background: var(--lime) !important;
  border-color: var(--lime) !important;
  color: var(--ink) !important;
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .brand__tag { display: none; }
}

@media (max-width: 960px) {
  .tape-bar__mail { display: none; }

  .nav-bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }

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

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: calc(var(--nav-h) + 26px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease),
      visibility var(--dur) var(--ease);
  }

  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }

  .nav-list__item { border-bottom: 1px solid rgba(246, 243, 234, .14); }

  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
    font-size: 23px;
    font-weight: 900;
    color: var(--paper);
  }

  .nav-link__idx { font-size: 12px; color: var(--lime); }
  .nav-link::after { display: none; }
  .nav-link:hover { color: var(--lime); }
  .nav-link:hover .nav-link__idx { color: var(--lime); }
  .nav-link[aria-current="page"] { color: var(--lime); }
  .nav-link[aria-current="page"] .nav-link__idx { color: var(--paper); }

  .nav-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    padding-top: 30px;
  }

  .nav-aside__note {
    font-size: 12.5px;
    letter-spacing: .02em;
    color: #7E8688;
  }

  .site-header[data-open] .brand__name { color: var(--paper); }
  .site-header[data-open] .brand__mark {
    border-color: var(--lime);
    background: transparent;
  }
  .site-header[data-open] .brand__mark::before { background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
  .site-header[data-open] .brand__mark::after { background: var(--lime); }
}

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

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-top { align-items: flex-start; }
}

@media (max-width: 720px) {
  .tape-bar__brand { display: none; }
  .tape-meta { margin-left: 0; }
  .tape-bar__side { margin-left: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact__item { align-items: flex-start; }
  .footer-brand__line { font-size: 12px; }
  .footer-legal { font-size: 11px; }
  .nav-link { font-size: 21px; }
  .figure--cut .figure__media {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
  }
}

@media (max-width: 400px) {
  .tape-meta__cell:nth-child(2) { display: none; }
}

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

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

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

  .header-progress__bar { transition: none !important; }
}
