/* ==========================================================================
   九州体育官网 · 共享站点样式 /assets/site.css
   深墨蓝底 + 荧光青绿数据 + 暖橙警示 · 非对称编辑部栅格
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

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

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  /* 色彩 */
  --ink: #07131F;
  --ink-deep: #050D16;
  --ink-soft: #0A1B2A;
  --paper: #F2E9DA;
  --glass: #102A3D;
  --text: #E9F0F4;
  --mint: #35F2B3;
  --mint-soft: rgba(53, 242, 179, .12);
  --amber: #FF9A4D;
  --amber-soft: rgba(255, 154, 77, .12);
  --steel: #8FB3C7;
  --magenta: #FF4D7A;
  --magenta-soft: rgba(255, 77, 122, .12);
  --teal: #0B7F68;
  --line: #25465C;

  /* 字体 */
  --font-display: "Barlow Condensed", "Oswald", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(143, 179, 199, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 179, 199, .055) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  background-position: center top;
  background-attachment: fixed, fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--mint);
  color: #04221A;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--text);
}

h1 { font-size: clamp(40px, 6vw, 92px); line-height: .98; }
h2 { font-size: clamp(27px, 3.4vw, 50px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.18; }
h4 { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.3; letter-spacing: 0; }

p { max-width: 68ch; }

strong { font-weight: 700; color: #FFFFFF; }

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

/* ---------- 4. 布局工具 ---------- */
.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

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

.prose {
  max-width: 36em;
  font-size: 17px;
  line-height: 1.8;
}
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; max-width: 36em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--mint); border-bottom: 1px solid rgba(53, 242, 179, .35); }
.prose a:hover { border-bottom-color: var(--mint); }

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* ---------- 5. 小元件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mint);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.coord {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--steel);
  line-height: 1.5;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1;
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  color: var(--mint);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(16, 42, 61, .7);
  color: var(--steel);
  line-height: 1.4;
}
.tag--mint { color: var(--mint); border-color: rgba(53, 242, 179, .45); background: var(--mint-soft); }
.tag--alert { color: var(--amber); border-color: rgba(255, 154, 77, .5); background: var(--amber-soft); }
.tag--magenta { color: var(--magenta); border-color: rgba(255, 77, 122, .5); background: var(--magenta-soft); }

.stat { display: grid; gap: 5px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--mint);
}
.stat__value--alert { color: var(--amber); }
.stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
}

.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(16px, 2.2vw, 28px);
  color: var(--text);
}
.panel--glass {
  background: rgba(16, 42, 61, .55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 22px 48px -28px rgba(0, 0, 0, .95);
}
.panel--paper {
  background: var(--paper);
  border-color: #D9CCB7;
  color: var(--ink);
}
.panel--paper h2, .panel--paper h3, .panel--paper h4 { color: var(--ink); }
.panel--paper a { color: var(--teal); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--mint);
  color: #04221A;
  border-color: var(--mint);
}
.btn--primary:hover { background: #6BF8CE; border-color: #6BF8CE; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--mint); border-color: var(--mint); }

.btn--alert {
  background: var(--amber);
  color: #2A1200;
  border-color: var(--amber);
}
.btn--alert:hover { background: #FFB274; border-color: #FFB274; }

/* ---------- 7. 面包屑 ---------- */
.breadcrumb { display: block; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--steel);
}
.breadcrumb__item { display: flex; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 9px;
  color: var(--line);
}
.breadcrumb__item[aria-current="page"] { color: var(--text); }
.breadcrumb__link { color: var(--steel); transition: color .2s var(--ease); }
.breadcrumb__link:hover { color: var(--mint); }

/* ---------- 8. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, #0C2334 0%, #07131F 62%),
    var(--ink);
}
.media__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.media--wide .media__img { aspect-ratio: 21 / 9; }
.media--square .media__img { aspect-ratio: 1 / 1; }
.media--tall .media__img { aspect-ratio: 4 / 5; }

.media__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(53, 242, 179, .16) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(143, 179, 199, .10) 0 1px, transparent 1px 58px),
    linear-gradient(180deg, rgba(7, 19, 31, .12) 0%, rgba(7, 19, 31, .68) 100%);
}
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text);
  background: linear-gradient(to top, rgba(5, 13, 22, .94), rgba(5, 13, 22, 0));
}

/* ---------- 9. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--mint);
  color: #04221A;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 2px;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 10. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 19, 31, .9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.4vw, 40px);
  min-height: var(--header-h);
}

/* 品牌：左侧竖规 = 章节刻度 */
.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 0 10px 14px;
  flex: 0 0 auto;
}
.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--mint);
  border-radius: 1px;
}
.brand__mark {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: .01em;
  color: var(--text);
  transition: color .2s var(--ease);
}
.brand__latin {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.2;
}
.brand:hover .brand__mark,
.brand:focus-visible .brand__mark { color: var(--mint); }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  background: rgba(16, 42, 61, .6);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--mint); color: var(--mint); }
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mint);
  transition: background-color .2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--mint);
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 导航：品牌与栏目左右分置 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  flex: 0 1 auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.site-nav__link:hover { color: var(--mint); }
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--mint); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--line);
  transition: color .2s var(--ease);
}
.site-nav__link:hover .site-nav__index,
.site-nav__link:focus-visible .site-nav__index { color: var(--mint); }
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--amber); }

.site-nav__utility {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: clamp(8px, 1.4vw, 20px);
  border-left: 1px solid var(--line);
}
.site-nav__utility-link {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--steel);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.site-nav__utility-link:hover {
  color: #04221A;
  background: var(--mint);
  border-color: var(--mint);
}
.site-nav__utility-link--alert {
  color: var(--amber);
  border-color: rgba(255, 154, 77, .45);
}
.site-nav__utility-link--alert:hover {
  color: #2A1200;
  background: var(--amber);
  border-color: var(--amber);
}

/* 阅读进度线 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  background: rgba(37, 70, 92, .55);
}
.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--amber) 38%, var(--magenta) 72%, var(--line) 100%);
  opacity: .85;
}

/* 固定反馈锚点条 */
.foot-anchor {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: rgba(16, 42, 61, .88);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid var(--line);
}
.foot-anchor__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.foot-anchor__text {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}
.foot-anchor__tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid rgba(255, 154, 77, .45);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--amber);
  white-space: nowrap;
}
.foot-anchor__cta {
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 2px;
  background: var(--mint);
  color: #04221A;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.foot-anchor__cta:hover { background: #6BF8CE; }

/* 页脚主体 */
.footer-main {
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) repeat(3, minmax(110px, .75fr)) minmax(215px, 1.4fr);
  gap: clamp(20px, 2.6vw, 40px);
  padding-block: clamp(36px, 5vw, 64px);
  align-items: start;
}

.footer-brand { display: grid; gap: 0; align-content: start; }
.footer-brand__mark {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text);
  max-width: none;
}
.footer-brand__latin {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--steel);
  max-width: none;
}
.footer-brand__coord {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--steel);
  opacity: .6;
  max-width: none;
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--steel);
}
.footer-col__title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}
.footer-col__list {
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--mint);
  border-bottom-color: rgba(53, 242, 179, .6);
}

.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact__row { display: grid; gap: 3px; }
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-contact__value {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  max-width: 30ch;
  word-break: break-word;
}

/* 页脚底栏 */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--steel);
}
.footer-bottom__copy { max-width: none; }
.footer-bottom__note {
  max-width: 56ch;
  line-height: 1.7;
  color: var(--steel);
  opacity: .82;
}
.footer-bottom__icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--steel);
  max-width: none;
}

/* ---------- 12. 滚动交互状态 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.js-reveal [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

[data-section-link].is-active { color: var(--mint); }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 22px;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 56px -20px rgba(0, 0, 0, .85);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav[data-open="true"] { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .site-nav__item { width: 100%; }
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__link::after { display: none; }
  .site-nav__index { font-size: 11px; letter-spacing: .18em; }

  .site-nav__utility {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px dashed var(--line);
  }
  .site-nav__utility-link {
    flex: 1 1 130px;
    text-align: center;
    padding: 11px 12px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }

  body { font-size: 15.5px; }
  .prose { font-size: 16px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .foot-anchor__inner {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
  }
  .foot-anchor__text { font-size: 12px; gap: 8px; }
  .foot-anchor__text > span:last-child { display: none; }
  .foot-anchor__cta { font-size: 11.5px; padding: 8px 12px; }
}

/* ---------- 14. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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

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

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