/* ============================================================
   火狐体育赛事 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 基础组件
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --fx-orange: #FF5A1F;
  --fx-orange-soft: #FF7A45;
  --fx-ember: #8A2E0B;
  --fx-bg: #0D1015;
  --fx-layer: #171D26;
  --fx-line: #2B323D;
  --fx-muted: #8B97A8;
  --fx-ink: #E9EDF3;
  --fx-text-soft: #C9D2DE;
  --fx-mint: #26F5C2;
  --fx-mint-deep: #0F9E7C;
  --fx-glass: rgba(23, 29, 38, .72);
  --fx-radius: 14px;
  --fx-radius-sm: 8px;
  --fx-maxw: 1240px;
  --fx-gutter: clamp(16px, 4vw, 40px);
  --fx-gap: clamp(14px, 2vw, 24px);
  --fx-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
  --fx-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --fx-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --fx-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Courier New", monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fx-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--fx-ink);
  background-color: var(--fx-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 82% -8%, rgba(255, 90, 31, .16), transparent 70%),
    radial-gradient(620px 320px at 6% 4%, rgba(38, 245, 194, .07), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(90deg, rgba(43, 50, 61, .3) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(43, 50, 61, .18) 0 1px, transparent 1px 84px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .92), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .92), transparent 78%);
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--fx-orange-soft); text-decoration: none; }
a:hover { color: var(--fx-orange); }
button { font: inherit; color: inherit; }
::selection { background: var(--fx-orange); color: #140704; }

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

[hidden] { display: none !important; }

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

.wrap {
  width: 100%;
  max-width: var(--fx-maxw);
  margin-inline: auto;
  padding-inline: var(--fx-gutter);
}

#main-content {
  position: relative;
  z-index: 1;
  display: block;
  scroll-margin-top: clamp(96px, 14vh, 170px);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 0 0 10px 10px;
  background: var(--fx-mint);
  color: #06231B;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #06231B; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(13, 16, 21, .97), rgba(13, 16, 21, .86));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fx-line);
}

.site-header__inner {
  display: grid;
  align-items: center;
  column-gap: clamp(12px, 2vw, 32px);
  row-gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand status"
    "nav   cta";
  padding-block: 10px 8px;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
  color: var(--fx-ink);
}
.brand:hover { color: var(--fx-ink); }
.brand:hover .brand__name { color: var(--fx-orange-soft); }

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--fx-orange), var(--fx-ember) 74%);
  box-shadow: inset 0 0 0 1px rgba(233, 237, 243, .16), 0 8px 20px -12px rgba(255, 90, 31, .95);
}
.brand__mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 14px;
  height: 18px;
  background: var(--fx-bg);
  clip-path: polygon(50% 0, 100% 46%, 74% 100%, 26% 100%, 0 46%);
  opacity: .92;
}

.brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand__name {
  font-family: var(--fx-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  transition: color .18s ease;
}
.brand__tagline {
  font-size: 11.5px;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--fx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-status {
  grid-area: status;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: var(--fx-glass);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--fx-text-soft);
  white-space: nowrap;
}
.live-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-mint);
  box-shadow: 0 0 0 4px rgba(38, 245, 194, .14);
  animation: fx-pulse 2.6s ease-in-out infinite;
}
.live-status__text { white-space: nowrap; }
@keyframes fx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-width: 0;
}
.site-nav__hint {
  padding-right: 12px;
  border-right: 1px solid var(--fx-line);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fx-muted);
  white-space: nowrap;
}
.site-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(2px, .6vw, 10px);
  min-width: 0;
}
.site-nav__item { display: block; min-width: 0; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--fx-text-soft);
  transition: color .18s ease, background-color .18s ease;
}
.site-nav__link:hover { color: var(--fx-ink); background: rgba(43, 50, 61, .5); }
.site-nav__link[aria-current="page"] { color: var(--fx-ink); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-mint));
}
.site-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--fx-mint);
}

.header-cta { grid-area: cta; justify-self: end; white-space: nowrap; }

.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: rgba(23, 29, 38, .82);
  color: var(--fx-ink);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.nav-toggle:hover { border-color: var(--fx-orange); color: var(--fx-orange-soft); }
.nav-toggle__label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--fx-orange);
  transition: transform .2s ease, opacity .2s ease;
}
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(43, 50, 61, .45);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--fx-mint), var(--fx-orange));
  transition: width .08s linear;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--fx-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--fx-orange);
  color: #140704;
  box-shadow: 0 14px 28px -18px rgba(255, 90, 31, .95);
}
.btn--primary:hover { background: var(--fx-orange-soft); color: #140704; }
.btn--ghost {
  background: rgba(23, 29, 38, .66);
  border-color: var(--fx-line);
  color: var(--fx-ink);
}
.btn--ghost:hover { border-color: var(--fx-orange); color: var(--fx-orange-soft); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, #111621, var(--fx-bg) 72%);
  border-top: 1px solid var(--fx-line);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(420px, 44%);
  height: 2px;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-ember), transparent);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.4vw, 52px);
  padding-block: clamp(40px, 5.5vw, 72px);
}

.site-footer__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.site-footer__brand {
  font-family: var(--fx-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--fx-muted);
}
.site-footer__slogan {
  font-family: var(--fx-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fx-ink);
}
.site-footer__slogan::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-mint));
}
.site-footer__desc {
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fx-muted);
}
.site-footer__cta { margin-top: 4px; }

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.footer-group { min-width: 0; }
.footer-group__title {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fx-orange-soft);
}
.footer-group__list { display: grid; gap: 0; }
.footer-group__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--fx-text-soft);
  transition: color .18s ease, padding-left .18s ease;
}
.footer-group__list a:hover { color: var(--fx-mint); padding-left: 6px; }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.contact-list { display: grid; gap: 12px; }
.contact-list__item { display: grid; gap: 3px; }
.contact-list__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-muted);
}
.contact-list__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fx-text-soft);
  overflow-wrap: anywhere;
}
.contact-list__value--mono {
  font-family: var(--fx-mono);
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--fx-ink);
}
.site-footer__note {
  padding-left: 10px;
  border-left: 2px solid var(--fx-ember);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fx-muted);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--fx-line);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--fx-muted);
}
.footer-meta__copy,
.footer-meta__icp { margin: 0; }
.footer-meta__icp { font-family: var(--fx-mono); }

/* ---------- 章节与正文 ---------- */
.section { position: relative; padding-block: clamp(44px, 6vw, 88px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.section__head { display: grid; gap: 12px; max-width: 70ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fx-orange-soft);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--fx-orange), var(--fx-ember));
}
.section__title {
  font-family: var(--fx-serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--fx-ink);
}
.lead {
  max-width: 68ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--fx-muted);
}
.prose { max-width: 68ch; }
.prose p {
  margin: 0 0 1.1em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fx-text-soft);
}
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  margin: 1.6em 0 .5em;
  font-family: var(--fx-serif);
  font-size: 20px;
}
.prose ul { list-style: disc; padding-left: 1.2em; color: var(--fx-text-soft); }
.prose li { margin-bottom: .4em; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: var(--fx-gap); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--offset { align-items: start; }
.grid--offset > *:nth-child(even) { transform: translateY(clamp(16px, 3vw, 38px)); }
.grid__item { min-width: 0; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: var(--fx-layer);
  box-shadow: var(--fx-shadow);
  min-width: 0;
}
.card--glass {
  background: var(--fx-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.card--accent { border-left: 3px solid var(--fx-orange); }
.card__title {
  font-family: var(--fx-serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--fx-ink);
}
.card__meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-muted);
}
.card__body {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fx-text-soft);
}

/* ---------- 指标 ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--fx-mono);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--fx-ink);
}
.stat__value--mint { color: var(--fx-mint); }
.stat__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fx-muted);
}
.num {
  font-family: var(--fx-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: rgba(43, 50, 61, .4);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fx-muted);
}
.tag--orange { color: var(--fx-orange-soft); border-color: rgba(255, 90, 31, .42); background: rgba(255, 90, 31, .12); }
.tag--mint { color: var(--fx-mint); border-color: rgba(38, 245, 194, .4); background: rgba(38, 245, 194, .1); }

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  background: rgba(23, 29, 38, .7);
  color: var(--fx-muted);
  font-family: var(--fx-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.filter-btn:hover { color: var(--fx-ink); border-color: var(--fx-orange-soft); }
.filter-btn.is-active {
  color: var(--fx-mint);
  border-color: var(--fx-mint);
  background: rgba(38, 245, 194, .12);
}
.filter-status {
  font-family: var(--fx-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--fx-muted);
}

/* ---------- 数据带 ---------- */
.data-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: var(--fx-gap);
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.data-strip > * { scroll-snap-align: start; }
.data-strip__item {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: var(--fx-layer);
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--fx-muted);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs__item::after { content: "/"; color: var(--fx-line); }
.breadcrumbs__item:last-child::after { display: none; }
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--fx-muted);
  transition: color .18s ease;
}
.breadcrumbs a:hover { color: var(--fx-orange-soft); }
.breadcrumbs [aria-current="page"] { color: var(--fx-ink); }

/* ---------- 媒体容器（供页面阶段放图） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: linear-gradient(150deg, #1B2230, var(--fx-bg) 74%);
}
.media-frame img,
.media-frame svg,
.media-frame picture > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image: repeating-linear-gradient(90deg, rgba(233, 237, 243, .05) 0 1px, transparent 1px 28px);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  border-radius: 0;
  border-color: transparent;
}
.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(13, 16, 21, .94), rgba(13, 16, 21, 0));
  font-size: 13px;
  line-height: 1.5;
  color: var(--fx-ink);
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  padding-left: 26px;
  border-left: 1px solid var(--fx-line);
}
.timeline__node { position: relative; padding-block: 14px; }
.timeline__node::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 22px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--fx-mint);
  border-radius: 50%;
  background: var(--fx-bg);
}
.timeline__time {
  font-family: var(--fx-mono);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--fx-mint);
}

/* ---------- 工具类与动效 ---------- */
.stack { display: flex; flex-direction: column; gap: var(--fx-gap); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

[data-filter-item] { transition: transform .2s ease, opacity .2s ease; }
[data-filter-item].is-hit { transform: translateY(-4px); }

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .site-footer__contact { grid-column: 1 / -1; }
  .grid--split,
  .grid--split-rev { grid-template-columns: minmax(0, 1fr); }
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 移动导航折叠 ---------- */
@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand  toggle"
      "status status"
      "nav    nav"
      "cta    cta";
    row-gap: 10px;
    padding-block: 10px 12px;
  }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .brand__tagline { display: none; }
  .live-status { justify-self: start; padding: 6px 12px; font-size: 12px; }
  .site-nav { display: none; }
  .header-cta { display: none; }

  .site-header[data-open] .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius);
    background: var(--fx-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .site-header[data-open] .header-cta {
    display: inline-flex;
    width: 100%;
    justify-self: stretch;
  }
  .site-header[data-open] .site-nav__hint {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--fx-line);
  }
  .site-nav__list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .site-nav__link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(43, 50, 61, .7);
    border-radius: 0;
  }
  .site-nav__item:last-child .site-nav__link { border-bottom: 0; }
  .site-nav__link[aria-current="page"] { background: rgba(255, 90, 31, .12); color: var(--fx-orange-soft); }
  .site-nav__link[aria-current="page"]::before { display: none; }
  .site-nav__link[aria-current="page"]::after { left: 8px; right: auto; width: 24px; bottom: 8px; }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__contact { grid-column: auto; }
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--offset > *:nth-child(even) { transform: none; }
  .data-strip { grid-auto-columns: minmax(78%, 1fr); }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .live-status__dot { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .grid--offset > *:nth-child(even) { transform: none; }
  [data-filter-item].is-hit { transform: none; }
}
