/* ==========================================================================
   明升体育 · 共享站点样式 /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, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --sand: #F7F1E6;
  --sand-2: #EFE2CE;
  --sand-3: #E3D2B7;
  --orange: #D97A3A;
  --orange-deep: #B95A22;
  --ink: #173B32;
  --field: #245B4B;
  --track-red: #C6432E;
  --amber: #E9A93B;
  --glass: rgba(255, 255, 255, 0.72);
  --tick: #CDB99B;
  --charcoal: #201B17;
  --clay: #6E5F4F;
  --white: #FFFDF8;

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

  /* 尺寸 */
  --w-max: 1240px;
  --w-wide: 1440px;
  --pad: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2.4vw, 32px);
  --radius: 2px;
  --radius-lg: 4px;

  /* 运动 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 360ms;
}

/* ---------- 3. 中文排版与页面基底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 768px) {
  body { font-size: 17px; }
}
h1 { font-size: clamp(2.4rem, 5vw, 5.6rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 800; }
small { font-size: 0.8125rem; }

/* ---------- 4. 无障碍与焦点 ---------- */
:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
}
.site-footer :focus-visible { outline-color: var(--amber); }

.skip-link {
  position: fixed;
  top: -140px;
  left: var(--pad);
  z-index: 999;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--sand);
  border: 2px solid var(--amber);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ==========================================================================
   5. 页头
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--sand);
  transition: box-shadow 280ms var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 16px 30px -24px rgba(23, 59, 50, 0.85);
}

/* --- 5.1 上层：玻璃播报条 --- */
.header-upper {
  background:
    linear-gradient(100deg, rgba(239, 226, 206, 0.94) 0%, rgba(255, 255, 255, 0.72) 58%, rgba(233, 169, 59, 0.16) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  backdrop-filter: blur(10px) saturate(125%);
  border-bottom: 1px solid var(--tick);
}
.header-upper__inner {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clay);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-note__tick {
  position: relative;
  flex: none;
  width: 24px;
  height: 1px;
  background: var(--orange);
}
.header-note__tick::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--orange);
}
.header-quick { flex: none; }
.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange-deep);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.quick-link__k { display: inline-block; }
.quick-link__arrow { font-family: var(--font-mono); transition: transform 200ms var(--ease); }
.quick-link:hover, .quick-link:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.quick-link:hover .quick-link__arrow { transform: translateX(3px); }

/* --- 5.2 主栏：品牌 + 导航 --- */
.header-main {
  position: relative;
  background: var(--sand);
  border-bottom: 2px solid var(--ink);
}
.header-main__inner {
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 13px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌：看台台阶标记 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: grid;
  align-content: center;
  gap: 3px;
  width: 30px;
  height: 27px;
  flex: none;
}
.brand__mark span {
  display: block;
  height: 3px;
  transition: width 240ms var(--ease);
}
.brand__mark span:nth-child(1) { width: 100%; background: var(--orange); }
.brand__mark span:nth-child(2) { width: 70%; background: var(--ink); }
.brand__mark span:nth-child(3) { width: 42%; background: var(--amber); }
.brand:hover .brand__mark span:nth-child(3) { width: 100%; }
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.06;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__sub {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.2;
  color: var(--clay);
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--ink);
  color: var(--sand);
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.nav-toggle:hover { background: var(--field); }
.nav-toggle__bars { display: grid; gap: 3px; width: 17px; flex: none; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--sand);
  transition: transform 240ms var(--ease), opacity 160ms var(--ease), width 240ms var(--ease);
}
.nav-toggle__bars span:nth-child(2) { width: 72%; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

/* 主导航 */
.primary-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.7vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { display: block; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 7px 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}
.nav-link__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--clay);
  transition: color 180ms var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease);
}
.nav-link:hover { color: var(--orange-deep); }
.nav-link:hover .nav-link__idx { color: var(--orange); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] .nav-link__idx { color: var(--orange-deep); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--ink);
}

/* ==========================================================================
   6. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(36, 91, 75, 0.62) 0%, rgba(36, 91, 75, 0) 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(217, 122, 58, 0.20) 0%, rgba(217, 122, 58, 0) 60%),
    linear-gradient(180deg, #173B32 0%, #112A24 100%);
  color: rgba(247, 241, 230, 0.84);
  border-top: 6px solid var(--track-red);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 78px;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(247, 241, 230, 0.09) 0 1px, rgba(247, 241, 230, 0) 1px 15px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--pad) 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.65fr);
  gap: clamp(32px, 5vw, 76px);
}

/* 品牌区 */
.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sand);
}
.footer-brand__mark {
  display: grid;
  align-content: center;
  gap: 3px;
  width: 30px;
  height: 27px;
  flex: none;
}
.footer-brand__mark span { display: block; height: 3px; }
.footer-brand__mark span:nth-child(1) { width: 100%; background: var(--orange); }
.footer-brand__mark span:nth-child(2) { width: 70%; background: var(--sand); }
.footer-brand__mark span:nth-child(3) { width: 42%; background: var(--amber); }
.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--sand);
}
.footer-brand__desc {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247, 241, 230, 0.78);
}
.footer-brand__note {
  margin-top: 14px;
  max-width: 42ch;
  padding-left: 14px;
  border-left: 2px solid var(--amber);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: rgba(233, 169, 59, 0.92);
}

/* 导航列 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.footer-col { min-width: 0; }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--amber);
}
.footer-col__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(205, 185, 155, 0.3);
}
.footer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a {
  display: inline-block;
  color: rgba(247, 241, 230, 0.82);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* 联系电话登记牌 */
.footer-contact {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.footer-contact__k {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(205, 185, 155, 0.92);
}
.footer-contact__v {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247, 241, 230, 0.92);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 页脚底条 */
.footer-bottom {
  margin-top: clamp(32px, 5vw, 60px);
  padding-top: 18px;
  border-top: 1px solid rgba(205, 185, 155, 0.26);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-copy,
.footer-icp {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: rgba(247, 241, 230, 0.58);
}
.footer-icp { color: rgba(247, 241, 230, 0.72); }

/* ==========================================================================
   7. 布局容器与基础区块
   ========================================================================== */
.shell {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--wide { max-width: var(--w-wide); }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }
.section--sand { background: var(--sand-2); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink h2,
.section--ink h3 { color: var(--sand); }

.section-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.section-head--row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

/* 章节大编号 */
.section-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  opacity: 0.1;
  user-select: none;
}
.section--ink .section-num { color: var(--sand); opacity: 0.16; }

/* 网格 */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }

/* ==========================================================================
   8. 通用组件
   ========================================================================== */

/* 眉标与注释 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  background: var(--orange);
}
.section--ink .eyebrow { color: var(--amber); }
.section--ink .eyebrow::before { background: var(--amber); }

.mono-note {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--clay);
}
.section--ink .mono-note { color: rgba(247, 241, 230, 0.66); }

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--clay);
}

/* 数字 */
.num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.num--xl { font-size: clamp(2rem, 4vw, 3.4rem); }
.num--amber { color: var(--amber); }
.num--ink { color: var(--ink); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--tick);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.7;
  white-space: nowrap;
}
.tag--round { border-color: var(--field); color: var(--field); }
.tag--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.tag--red { border-color: var(--track-red); color: var(--track-red); }
.section--ink .tag { border-color: rgba(205, 185, 155, 0.5); color: var(--sand); }
.section--ink .tag--amber { border-color: var(--amber); color: var(--ink); }

/* 卡片 */
.card {
  background: var(--white);
  border: 1px solid var(--tick);
  padding: clamp(18px, 2.6vw, 30px);
}
.card--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--sand);
}
.card--ink h3 { color: var(--sand); }
.card--glass {
  background: var(--glass);
  border: 1px solid var(--tick);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 180ms var(--ease);
}
.btn--solid { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); transform: translateY(-2px); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--field); border-color: var(--field); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--sand); }
.btn--quiet { padding: 6px 0; border-color: transparent; background: transparent; color: var(--orange-deep); }
.btn--quiet:hover, .btn--quiet:focus-visible { color: var(--ink); transform: none; }
.section--ink .btn--ghost { border-color: rgba(247, 241, 230, 0.7); color: var(--sand); }
.section--ink .btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }

/* 刻度分隔线 */
.rule-tick {
  position: relative;
  height: 1px;
  margin-block: clamp(24px, 4vw, 44px);
  background: var(--tick);
}
.rule-tick::before,
.rule-tick::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--tick);
}
.rule-tick::before { left: 0; }
.rule-tick::after { right: 0; }
.section--ink .rule-tick,
.section--ink .rule-tick::before,
.section--ink .rule-tick::after { background: rgba(205, 185, 155, 0.42); }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--clay);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a {
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.breadcrumb a:hover, .breadcrumb a:focus-visible {
  color: var(--orange-deep);
  border-bottom-color: var(--orange-deep);
}
.breadcrumb__sep { color: var(--tick); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 800; }

/* 图片容器基础规则 */
.frame-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(140deg, var(--sand-2) 0%, var(--sand-3) 100%);
  border: 1px solid var(--tick);
}
.frame-media img,
.frame-media picture,
.frame-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 4px;
  background: var(--orange);
}
.frame-media--wide { aspect-ratio: 16 / 9; }
.frame-media--tall { aspect-ratio: 3 / 4; }
.frame-media--square { aspect-ratio: 1 / 1; }
.frame-media--ticket { aspect-ratio: 21 / 9; }
.frame-media--inset { outline: 1px solid var(--tick); outline-offset: 8px; }
.media-note {
  margin-top: 10px;
  max-width: 46ch;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--clay);
}
.section--ink .frame-media { border-color: rgba(205, 185, 155, 0.4); }
.section--ink .media-note { color: rgba(247, 241, 230, 0.62); }

/* ==========================================================================
   9. 滚动显现
   ========================================================================== */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
html.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   10. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); }
  .footer-brand__desc,
  .footer-brand__note { max-width: 60ch; }
}

@media (max-width: 900px) {
  /* 移动导航 */
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    z-index: 88;
    background: var(--sand);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 24px 34px -26px rgba(23, 59, 50, 0.7);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav[data-open] { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--pad) 16px;
  }
  .nav-item + .nav-item { border-top: 1px solid var(--tick); }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 2px;
    font-size: 17px;
  }
  .nav-link__idx { font-size: 11px; }
  .nav-link::after {
    left: 0;
    right: auto;
    width: 0;
    bottom: 9px;
    height: 3px;
    transition: width 240ms var(--ease);
    transform: none;
  }
  .nav-link[aria-current="page"]::after { width: 32px; }
  .nav-link[aria-current="page"] { color: var(--orange-deep); }

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .section-head--row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-upper__inner { padding: 7px var(--pad); gap: 10px; }
  .header-note { font-size: 10px; letter-spacing: 0.02em; gap: 7px; }
  .header-note__tick { width: 14px; }
  .quick-link { padding: 5px 10px; font-size: 11px; letter-spacing: 0.08em; gap: 5px; }
  .header-main__inner { padding: 11px var(--pad); gap: 12px; }
  .brand__mark { width: 26px; height: 23px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.2em; }
  .nav-toggle { padding: 9px 12px; font-size: 12px; letter-spacing: 0.12em; gap: 8px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-brand__note { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; padding: 15px 22px; }
  .btn--quiet { width: auto; }
}

@media (max-width: 420px) {
  .header-note { max-width: 46vw; }
  .nav-toggle__label { display: none; }
}

/* 减少动态效果 */
@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;
  }
  html.has-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .nav-link:hover::after,
  .nav-link:focus-visible::after { transform: scaleX(1); }
  .btn:hover { transform: none !important; }
}
