/* ===== 万博体育全站 · 共享样式 /assets/site.css ===== */

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

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

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

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

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

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

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

:root {
  --ink: #0B1F1A;
  --ink-panel: #12352C;
  --cyan: #00E5C7;
  --cyan-dark: #00A88F;
  --orange: #FF6A2B;
  --orange-soft: #FFB07A;
  --silver: #C9D1CE;
  --white: #F5F7F6;
  --night: #1A1B2E;
  --yellow: #FFD166;

  --line: rgba(201, 209, 206, 0.18);
  --line-strong: rgba(201, 209, 206, 0.34);
  --gutter: clamp(16px, 4vw, 44px);
  --shell: min(1280px, 100% - (var(--gutter) * 2));
  --header-h: 74px;

  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-editorial: Georgia, "Songti SC", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

body {
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(0, 229, 199, 0.10), transparent 68%),
    radial-gradient(760px 520px at 4% 22%, rgba(255, 106, 43, 0.07), transparent 70%),
    repeating-linear-gradient(122deg, rgba(201, 209, 206, 0.028) 0 1px, transparent 1px 92px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: var(--ink); }

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

/* ---------- 容器 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.shell--narrow { max-width: min(820px, 100% - (var(--gutter) * 2)); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -70px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: top 0.22s ease;
}
.skip-link:focus { top: 10px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(11, 31, 26, 0.97) 0%, rgba(11, 31, 26, 0.88) 100%);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-shell {
  width: var(--shell);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  padding-block: 10px;
}

.header-brand { display: flex; align-items: center; min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: linear-gradient(142deg, var(--cyan) 0%, var(--cyan-dark) 42%, var(--orange) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 3px;
  background: var(--ink);
  transform: skewX(-32deg);
}

.brand-text { display: grid; line-height: 1.18; min-width: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-sub {
  font-family: var(--font-num);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--cyan-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

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

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

.nav-list__item { display: block; }
.nav-list__item--cta { margin-left: 14px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 11px 15px 13px;
  font-size: 0.94rem;
  letter-spacing: 0.05em;
  color: var(--silver);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: color 0.22s ease, background-color 0.22s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease, background-color 0.28s ease;
}
.nav-link:hover {
  color: var(--white);
  background-color: rgba(0, 229, 199, 0.09);
}
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background-color: rgba(0, 229, 199, 0.13);
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

.nav-cta { padding: 11px 20px; }

/* 移动端按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 229, 199, 0.08);
  border: 1px solid var(--cyan-dark);
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-toggle:hover { background: rgba(0, 229, 199, 0.16); }

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 12px;
  display: inline-block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span { content: ""; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; background: var(--orange); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 滚动轨迹 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  overflow: hidden;
}
.scroll-rail__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-dark) 46%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 130px);
  background: linear-gradient(180deg, #0B1F1A 0%, #0E2A23 52%, #0B1F1A 100%);
  border-top: 1px solid var(--line);
  color: var(--silver);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 46%);
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.footer-shell {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.75fr);
  gap: clamp(26px, 4vw, 60px);
}

.footer-lead { display: grid; align-content: start; gap: 14px; }

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.15;
}
.footer-brand::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: skewX(-32deg);
}

.footer-tagline {
  color: var(--silver);
  font-size: 0.94rem;
  max-width: 30ch;
}

.footer-lead .btn { justify-self: start; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

.footer-link {
  display: inline-block;
  color: var(--silver);
  font-size: 0.94rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-link::before {
  content: "/";
  color: var(--cyan-dark);
  margin-right: 8px;
  font-family: var(--font-num);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
  transform: translateX(3px);
}

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

.footer-contact__item { display: grid; gap: 4px; }

.footer-contact__label {
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--cyan-dark);
}

.footer-contact__value {
  color: var(--white);
  font-size: 0.92rem;
  word-break: break-all;
}

.footer-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(201, 209, 206, 0.72);
  max-width: 34ch;
}

.copy-btn {
  justify-self: start;
  margin-top: 4px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--silver);
  font-family: var(--font-num);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.copy-btn:hover,
.copy-btn:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 199, 0.1);
}
.copy-btn[data-copied] {
  color: var(--yellow);
  border-color: var(--yellow);
  background: rgba(255, 209, 102, 0.12);
}

.footer-base { border-top: 1px solid var(--line); }

.footer-base__inner {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-family: var(--font-num);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(201, 209, 206, 0.76);
}

.footer-copy { min-width: 0; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a {
  color: var(--silver);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink-panel);
  border: 1px solid var(--cyan-dark);
  color: var(--cyan);
  font-size: 1.05rem;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--ink); background: var(--cyan); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--white);
  font-family: var(--font-num);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--orange); color: #10201A; }
.btn--primary:hover { background: var(--orange-soft); }

.btn--ghost { border-color: var(--cyan-dark); color: var(--cyan); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(0, 229, 199, 0.12); }

.btn--quiet { border-color: var(--line-strong); color: var(--silver); }
.btn--quiet:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- 章节骨架 ---------- */
.section { padding-block: clamp(44px, 7vw, 100px); }

.section__head {
  display: grid;
  gap: 14px;
  max-width: 74ch;
  margin-bottom: clamp(24px, 3.4vw, 46px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: skewX(-32deg);
}

.section__title {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.22;
  color: var(--white);
}

.section__lead {
  color: var(--silver);
  max-width: 62ch;
  font-size: 1rem;
}

.prose {
  max-width: 68ch;
  color: var(--silver);
  font-size: 1.02rem;
}
.prose p + p { margin-top: 1.05em; }
.prose h2,
.prose h3 {
  font-family: var(--font-editorial);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.prose h3 { font-size: 1.15rem; }
.prose ul { margin-top: 0.9em; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 0.5em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--orange);
}
.prose strong { color: var(--white); }

.divider-slash {
  height: 1px;
  border: 0;
  margin-block: clamp(30px, 5vw, 64px);
  background: linear-gradient(90deg, transparent, var(--cyan-dark) 32%, var(--orange) 68%, transparent);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
}
.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(auto-fit, minmax(200px, 1fr)); }

/* ---------- 切角面板 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(158deg, var(--ink-panel) 0%, rgba(18, 53, 44, 0.55) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.panel--flat { background: var(--night); }
.panel--tilt { transform: rotate(-1.4deg); }
.panel--tilt:hover { transform: rotate(0deg) translateY(-4px); }
.panel:hover { border-color: rgba(0, 229, 199, 0.4); }

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.panel__body { color: var(--silver); }

/* ---------- 数据 ---------- */
.stat { display: grid; gap: 2px; }

.stat__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  color: var(--cyan);
  letter-spacing: -0.01em;
}
.stat__value--orange { color: var(--orange); }

.stat__label {
  font-family: var(--font-num);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.data-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(201, 209, 206, 0.07);
  border: 1px solid var(--line);
  color: var(--silver);
  font-family: var(--font-num);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.tag--cyan { border-color: var(--cyan-dark); color: var(--cyan); background: rgba(0, 229, 199, 0.1); }
.tag--orange { border-color: var(--orange); color: var(--orange-soft); background: rgba(255, 106, 43, 0.1); }
.tag--yellow { border-color: var(--yellow); color: var(--yellow); background: rgba(255, 209, 102, 0.1); }

/* ---------- 图片容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--ink-panel);
  background-image:
    linear-gradient(140deg, rgba(0, 229, 199, 0.14), rgba(255, 106, 43, 0.10)),
    repeating-linear-gradient(134deg, rgba(201, 209, 206, 0.07) 0 2px, transparent 2px 13px);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--fill { aspect-ratio: auto; min-height: 100%; }

.media-frame__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 26, 0.9));
  pointer-events: none;
}

.media-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--font-num);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--silver);
}
.media-caption::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}

/* ---------- 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--cyan-dark) 52%, var(--orange));
}

.timeline__item { position: relative; }

.timeline__mark {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
}

.timeline__time {
  font-family: var(--font-num);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--orange-soft);
}

.timeline__body { color: var(--silver); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--silver);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--cyan-dark); }
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ---------- 标签页 ---------- */
.tabs { display: grid; gap: 24px; }

.tabs__list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.tabs__list::-webkit-scrollbar { height: 4px; }
.tabs__list::-webkit-scrollbar-thumb { background: var(--cyan-dark); }

.tabs__tab {
  flex: 0 0 auto;
  padding: 11px 20px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--silver);
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.tabs__tab:hover { color: var(--white); background: rgba(0, 229, 199, 0.1); }
.tabs__tab[aria-selected="true"] { background: var(--cyan); color: var(--ink); }

.tabs__panel { display: none; }
.tabs__panel[data-active] { display: block; animation: panel-in 0.32s ease both; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-shell { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, #0D2A23 0%, #0B1F1A 100%);
    border-top: 2px solid var(--cyan-dark);
    border-bottom: 1px solid var(--line);
    padding: 16px 0 22px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: var(--shell);
    margin-inline: auto;
  }

  .nav-list__item--cta { margin: 14px 0 0; }

  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-left: 2px solid transparent;
  }
  .nav-link::after { left: 16px; right: auto; width: 34px; bottom: 10px; }
  .nav-link[aria-current="page"] { border-left-color: var(--orange); }

  .nav-cta { width: 100%; }

  .site-footer::before { width: 60%; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

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

  .footer-base__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .panel { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
  .panel--tilt { transform: none; }
}

@media (max-width: 480px) {
  .brand-sub { display: none; }
  .footer-legal { gap: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .panel--tilt { transform: none; }
  .footer-link:hover { transform: none; }
}
