/* =========================================================
   /assets/site.css — 亚慱体育 共享外壳
   竞技数据指挥台 / 战术面板视觉系统
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

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

ul, ol { list-style: none; }

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

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

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink: #061412;
  --ink-2: #0B1626;
  --panel: #122A2C;
  --cyan: #3FF2D6;
  --cyan-dim: #2ED0B8;
  --gold: #F2B84B;
  --rose: #F2547D;
  --text: #D7E6E3;
  --muted: #7F9C9A;
  --line: #23423F;
  --white: #FFFFFF;

  /* 字体 */
  --font-head: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  /* 度量 */
  --shell-max: 1320px;
  --gutter: clamp(18px, 4vw, 72px);
  --cut: 16px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --focus-ring: var(--cyan);
}

/* ---------- 3. 基础排版与底色 ---------- */
body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(35, 66, 63, .60) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 66, 63, .60) 1px, transparent 1px),
    radial-gradient(1100px 520px at 82% -8%, rgba(63, 242, 214, .085), transparent 62%),
    radial-gradient(880px 460px at 6% 4%, rgba(242, 184, 75, .05), transparent 60%),
    linear-gradient(180deg, #061412 0%, #071917 46%, #061412 100%);
  background-size: 96px 96px, 96px 96px, auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 17px; }

p { max-width: 72ch; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

strong, b { color: var(--white); font-weight: 700; }

::selection {
  background: rgba(63, 242, 214, .28);
  color: var(--white);
}

/* ---------- 4. 焦点与可达性 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: var(--cyan);
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ---------- 5. 工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 88px); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.btn > span { position: relative; z-index: 1; }

.btn--cta {
  isolation: isolate;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
}

.btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #63F8E2 0%, #2ED0B8 100%);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  transition: filter .18s var(--ease);
}

.btn--cta:hover::before { filter: brightness(1.08) saturate(1.15); }
.btn--cta:active { transform: translateY(1px); }

.btn--ghost {
  color: var(--cyan);
  border-color: rgba(63, 242, 214, .42);
  background: rgba(63, 242, 214, .06);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: var(--cyan);
  background: rgba(63, 242, 214, .14);
}

/* ---------- 7. 面板 / 标签 / 媒体框 / 网格 / 面包屑 ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 42, 44, .92), rgba(11, 22, 38, .94));
  border: 1px solid var(--line);
  clip-path: polygon(0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)));
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.panel--hover:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 242, 214, .55);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(18, 42, 44, .72);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.tag--cyan { color: var(--cyan); border-color: rgba(63, 242, 214, .5); background: rgba(63, 242, 214, .08); }
.tag--gold { color: var(--gold); border-color: rgba(242, 184, 75, .5); background: rgba(242, 184, 75, .08); }
.tag--rose { color: var(--rose); border-color: rgba(242, 84, 125, .5); background: rgba(242, 84, 125, .08); }

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(63, 242, 214, .18), transparent 62%),
    linear-gradient(140deg, #0B1626 0%, #122A2C 58%, #061412 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(63, 242, 214, .07) 0 1px, transparent 1px 34px);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

/* =========================================================
   8. 页头
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 20, 18, .985) 0%, rgba(6, 20, 18, .94) 100%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* --- 联赛专题悬浮标签条 --- */
.league-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 22, 38, .96), rgba(6, 20, 18, .90));
  border-bottom: 1px solid rgba(35, 66, 63, .85);
}

.league-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(63, 242, 214, .5) 0 1px, transparent 1px 10px);
  opacity: .5;
  pointer-events: none;
}

.league-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding-block: 6px;
}

.league-bar__label {
  flex: none;
  padding-right: 14px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border-right: 1px solid var(--line);
}

.league-list {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.league-list::-webkit-scrollbar { display: none; }

.league-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  background: rgba(18, 42, 44, .55);
  border: 1px solid rgba(35, 66, 63, .95);
  border-radius: 2px;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}

.league-chip__dot {
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  transform: skewX(-18deg);
  transition: background-color .18s var(--ease);
}

.league-list li:nth-child(even) .league-chip__dot { background: var(--gold); }

.league-chip:hover {
  color: var(--white);
  background: rgba(63, 242, 214, .10);
  border-color: rgba(63, 242, 214, .55);
}

.league-chip:hover .league-chip__dot { background: var(--cyan); }

.league-bar__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(127, 156, 154, .55);
}

/* --- 品牌 + 主导航 --- */
.header-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding-block: 12px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  flex: none;
  width: 42px;
  height: 42px;
  background: linear-gradient(140deg, #5FF7E0 0%, #23A996 100%);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
  transition: filter .18s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 58% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--white);
  transition: color .18s var(--ease);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: .18em;
  color: var(--muted);
}

.brand:hover .brand-mark { filter: brightness(1.12); }
.brand:hover .brand-name { color: var(--cyan); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  background: rgba(63, 242, 214, .04);
  border: 1px solid rgba(63, 242, 214, .4);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle:hover {
  background: rgba(63, 242, 214, .12);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle__text { line-height: 1; }

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

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .2s var(--ease);
}

.nav-list a:hover {
  color: var(--white);
  background: rgba(63, 242, 214, .08);
}

.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] {
  color: var(--cyan);
  background: rgba(63, 242, 214, .09);
  border-color: rgba(63, 242, 214, .4);
}

.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  flex: none;
  font-size: 13.5px;
  padding: 0 20px;
}

/* --- 阅读进度轨 --- */
.progress-rail {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(35, 66, 63, .85);
}

.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--gold) 100%);
}

/* =========================================================
   9. 页脚
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, rgba(11, 22, 38, .97) 0%, rgba(6, 20, 18, .99) 62%, #061412 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, rgba(63, 242, 214, .42) 0 1px, transparent 1px 12px);
  opacity: .55;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr);
  gap: 44px 40px;
  padding-block: clamp(44px, 6vw, 72px) clamp(32px, 4vw, 52px);
}

.footer-brand__name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}

.footer-brand__tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.7;
  color: var(--cyan);
  max-width: 34ch;
}

.footer-brand__desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38ch;
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}

.footer-brand__mark i {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line);
  transform: skewX(-18deg);
}

.footer-brand__mark i:nth-child(2) { background: var(--cyan); border-color: var(--cyan); }
.footer-brand__mark i:nth-child(3) { background: var(--gold); border-color: var(--gold); }
.footer-brand__mark i:nth-child(4) { background: var(--rose); border-color: var(--rose); }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col__title::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--cyan);
}

.footer-col li + li { margin-top: 2px; }

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.footer-col a::before {
  content: "";
  flex: none;
  display: block;
  width: 12px;
  height: 1px;
  background: var(--line);
  transition: width .18s var(--ease), background-color .18s var(--ease);
}

.footer-col a:hover { color: var(--cyan); }
.footer-col a:hover::before { width: 22px; background: var(--cyan); }

.footer-contact .footer-col__title { margin-bottom: 14px; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.65;
}

.contact-list__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list__row dd {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 22px 34px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.footer-legal__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.footer-legal__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer-legal__nav a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(63, 242, 214, .6);
}

.footer-legal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: none;
}

.footer-legal__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
}

/* =========================================================
   10. 渐显（页面阶段使用 data-reveal）
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* =========================================================
   11. 响应式
   ========================================================= */
@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 18px var(--gutter) 26px;
    background: linear-gradient(180deg, rgba(8, 26, 24, .995), rgba(11, 22, 38, .995));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(0, 0, 0, .45);
  }

  .primary-nav[data-open] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list a {
    min-height: 48px;
    padding: 0 14px;
    font-size: 15.5px;
  }

  .nav-list a::after {
    left: 14px;
    right: auto;
    width: 18px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-brand,
  .footer-contact { grid-column: 1 / -1; }

  .footer-brand__desc,
  .footer-contact__note { max-width: none; }
}

@media (max-width: 720px) {
  .league-bar__inner { gap: 12px; }
  .league-bar__label { font-size: 10px; letter-spacing: .18em; }
  .league-bar__tag { display: none; }
  .header-main { min-height: 68px; gap: 16px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand__name { font-size: 22px; }
  .contact-list__row { grid-template-columns: 44px minmax(0, 1fr); }
}

/* =========================================================
   12. 减少动态效果
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .panel--hover:hover { transform: none; }
  .btn--cta:active { transform: none; }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .skip-link { transform: none; clip-path: inset(50%); }
  .skip-link:focus { clip-path: none; }
}
