/* =========================================================
   /assets/site.css — 九博国际CN 共享外壳与基础组件
   夜间港湾 · 堆叠档案画板
   ========================================================= */

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

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

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

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

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

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

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

table { border-collapse: collapse; }

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

/* ---------- 2. tokens ---------- */
:root {
  --ink: #071A2B;
  --harbor: #0F3048;
  --shallow: #174A66;
  --mist: #F4F7F6;
  --steel: #A9B8C6;
  --amber: #F2B544;
  --coral: #FF6B4A;
  --celadon: #55C7B0;
  --electric: #39D7E8;
  --violet: #6D5BD0;
  --paper: #EDF2F2;
  --paper-ink: #0B2233;

  --line: rgba(169, 184, 198, .20);
  --line-soft: rgba(169, 184, 198, .12);
  --line-lit: rgba(57, 215, 232, .40);

  --gutter: clamp(16px, 4vw, 44px);
  --shell: 1240px;
  --notch: 20px;

  --font-cn: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
             "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Barlow Condensed", "IBM Plex Sans Condensed", "Arial Narrow",
              "HarmonyOS Sans Condensed", var(--font-cn);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-cn);
  font-size: clamp(15px, .35vw + 14px, 17px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--mist);
  background:
    radial-gradient(85% 55% at 84% -8%, rgba(109, 91, 208, .20), transparent 62%),
    radial-gradient(70% 46% at 2% 2%, rgba(57, 215, 232, .10), transparent 58%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(34px, 6vw, 76px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(18px, 1.6vw, 24px); }

p { max-width: 74ch; }

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

::selection { background: rgba(242, 181, 68, .35); color: #fff; }

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

/* ---------- 5. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
  border-radius: 0 0 2px 2px;
  transform: translateY(-130%);
  transition: transform .2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 0;
}

/* =========================================================
   6. HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 26, 43, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* 6.1 阅读进度轨 */
.header-rail {
  height: 3px;
  background: rgba(169, 184, 198, .14);
}

.rail-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber), var(--celadon) 55%, var(--electric));
}

/* 6.2 上层：品牌信标 */
.topbar {
  background:
    linear-gradient(90deg, rgba(15, 48, 72, .92), rgba(7, 26, 43, .92) 62%, rgba(23, 74, 102, .70));
  border-bottom: 1px dashed var(--line-soft);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding-block: 11px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-beacon {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 181, 68, .16), 0 0 16px rgba(242, 181, 68, .55);
  flex: none;
}

.brand-beacon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(242, 181, 68, .38);
  border-radius: 50%;
  animation: beacon-pulse 3.6s ease-out infinite;
}

@keyframes beacon-pulse {
  0%   { transform: scale(.6); opacity: .9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-cn {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--mist);
}

.brand-en {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}

.topbar-note {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--steel);
  max-width: none;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* 6.3 下层：栏目导航 */
.nav-deck {
  background: linear-gradient(180deg, var(--harbor), #0B2436);
  border-top: 1px solid rgba(57, 215, 232, .10);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 2vw, 22px);
}

.site-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-item { flex: none; }

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 14px 15px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: #C6D3DE;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(242, 181, 68, .25));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--mist);
  background: rgba(57, 215, 232, .07);
}

.nav-link:hover::after { transform: scaleX(.55); }

.nav-num {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: rgba(242, 181, 68, .55);
  transition: color .2s ease;
}

.nav-link[aria-current="page"] {
  color: var(--mist);
  font-weight: 700;
  background: rgba(242, 181, 68, .10);
}

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

.nav-link[aria-current="page"] .nav-num { color: var(--amber); }

.nav-tick-rule {
  flex: 1 1 auto;
  align-self: center;
  height: 10px;
  min-width: 40px;
  background: repeating-linear-gradient(90deg,
    rgba(169, 184, 198, .45) 0 1px,
    transparent 1px 11px);
  opacity: .5;
}

/* 6.4 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mist);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 22px;
  height: 16px;
  flex: none;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: var(--amber);
  transition: transform .25s ease, opacity .2s ease, width .25s ease;
}

.nav-toggle-bars i:nth-child(2) { width: 70%; }

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

.nav-toggle-label { margin-left: auto; color: var(--steel); }

/* =========================================================
   7. FOOTER — 档案条
   ========================================================= */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, #0B2436 0%, #071A2B 55%, #050F19 100%);
  border-top: 1px solid var(--line);
}

.footer-strip {
  background:
    linear-gradient(90deg, rgba(242, 181, 68, .12), rgba(57, 215, 232, .08) 45%, rgba(85, 199, 176, .10));
  border-bottom: 1px solid var(--line-soft);
}

.footer-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 10px;
}

.strip-mark {
  width: 22px;
  height: 3px;
  flex: none;
  background: linear-gradient(90deg, var(--amber), var(--coral));
}

.strip-ledger {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  max-width: none;
}

.footer-strip-rule {
  height: 10px;
  flex: 1 1 auto;
  background: repeating-linear-gradient(90deg,
    rgba(169, 184, 198, .34) 0 1px,
    transparent 1px 12px);
}

.footer-main { padding-block: clamp(30px, 5vw, 58px); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
}

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

.footer-col-wide .brandmark { margin-bottom: 14px; }

.footer-lede {
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
  max-width: 34ch;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: #C6D3DE;
  transition: color .2s ease, transform .2s ease;
}

.footer-link::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--celadon);
  opacity: .55;
  transition: width .2s ease, background-color .2s ease;
}

.footer-link:hover { color: var(--mist); transform: translateX(2px); }
.footer-link:hover::before { width: 18px; background: var(--electric); opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 11px; }

.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.contact-key {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--amber);
  flex: none;
  min-width: 40px;
}

.contact-value {
  font-size: 13.5px;
  line-height: 1.6;
  color: #DCE6ED;
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--electric);
  border: 1px solid rgba(57, 215, 232, .35);
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.copy-btn:hover { background: rgba(57, 215, 232, .14); }

.copy-btn[data-copy-state="done"] {
  color: var(--celadon);
  border-color: rgba(85, 199, 176, .65);
  background: rgba(85, 199, 176, .12);
}

.copy-label { font-size: 12px; }

.footer-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(169, 184, 198, .82);
  max-width: 36ch;
}

.footer-base {
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 15, 25, .6);
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-block: 16px;
  font-size: 12.5px;
  color: var(--steel);
}

.footer-copy { max-width: none; }

.footer-icp {
  font-family: var(--font-num);
  letter-spacing: .1em;
  color: rgba(169, 184, 198, .9);
  max-width: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-left: auto;
}

.footer-legal-link {
  font-size: 12.5px;
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-legal-link:hover {
  color: var(--amber);
  border-color: rgba(242, 181, 68, .6);
}

/* =========================================================
   8. 通用按钮
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-primary {
  color: var(--ink);
  background: var(--coral);
  border-color: var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.btn-primary:hover { background: #FF8A6E; border-color: #FF8A6E; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  color: var(--amber);
  background: transparent;
  border-color: rgba(242, 181, 68, .55);
}

.btn-ghost:hover { background: rgba(242, 181, 68, .14); color: #FFD27D; }

.topbar-cta {
  flex: none;
  min-height: 34px;
  padding: 7px 14px;
  font-size: 13px;
  white-space: nowrap;
}

/* =========================================================
   9. 页面基础组件
   ========================================================= */

/* 9.1 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-block: 14px;
  font-size: 12.5px;
  color: var(--steel);
}

.crumbs a { color: var(--steel); transition: color .2s ease; }
.crumbs a:hover { color: var(--electric); }
.crumbs [aria-current="page"] { color: var(--mist); }

.crumb-sep {
  font-family: var(--font-num);
  color: rgba(242, 181, 68, .7);
  letter-spacing: .1em;
}

/* 9.2 面板与切角面板 */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(165deg, rgba(23, 74, 102, .55), rgba(15, 48, 72, .92) 60%);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.cut-panel {
  position: relative;
  padding: clamp(20px, 3vw, 38px);
  background:
    linear-gradient(150deg, rgba(57, 215, 232, .10), transparent 52%),
    linear-gradient(320deg, rgba(242, 181, 68, .10), transparent 46%),
    var(--harbor);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch)) 0,
    100% var(--notch),
    100% 100%,
    var(--notch) 100%,
    0 calc(100% - var(--notch))
  );
}

.cut-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.panel-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-num {
  font-family: var(--font-num);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  letter-spacing: .06em;
  color: var(--amber);
  flex: none;
}

.eyebrow {
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
}

/* 9.3 文字 */
.lede {
  font-size: clamp(16px, .9vw + 13px, 19px);
  line-height: 1.7;
  color: #D3DFE7;
  max-width: 62ch;
}

.rotate-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(169, 184, 198, .75);
  padding-block: 8px;
}

/* 9.4 装饰刻度与注释带 */
.tick-rule {
  display: block;
  height: 12px;
  background: repeating-linear-gradient(90deg,
    rgba(242, 181, 68, .70) 0 1px,
    transparent 1px 12px);
  opacity: .62;
}

.note-band {
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
  background: rgba(242, 181, 68, .07);
  border-left: 2px solid var(--amber);
  border-radius: 0 2px 2px 0;
}

.note-band p { max-width: 78ch; }

/* 9.5 标签流 */
.tag-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #B7EFE4;
  background: rgba(85, 199, 176, .14);
  border: 1px solid rgba(85, 199, 176, .42);
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.tag-chip:hover {
  color: #E8FFFA;
  background: rgba(85, 199, 176, .26);
  border-color: var(--electric);
}

/* 9.6 档案卡 */
.archive-card {
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(242, 181, 68, .10), rgba(15, 48, 72, .55) 42%, rgba(15, 48, 72, .25));
  border-left: 2px solid var(--amber);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.archive-card h3 { font-size: clamp(16px, 1.1vw + 13px, 19px); margin-bottom: 6px; }

.archive-card p { font-size: 14px; color: #C6D3DE; max-width: 60ch; }

/* 9.7 图片容器（页面阶段放置 img） */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 110% at 18% 0%, rgba(57, 215, 232, .26), transparent 62%),
    linear-gradient(160deg, var(--shallow), var(--ink) 72%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(7, 26, 43, .5);
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch)) 0,
    100% var(--notch),
    100% 100%,
    var(--notch) 100%,
    0 calc(100% - var(--notch))
  );
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  background: linear-gradient(102deg, transparent 42%, rgba(57, 215, 232, .30) 50%, transparent 58%);
  pointer-events: none;
}

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

.media-frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244, 247, 246, .85);
}

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

/* 9.8 折叠内容组 */
.fold { border-top: 1px solid var(--line); }
.fold:last-child { border-bottom: 1px solid var(--line); }

.fold-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 4px;
  font-size: clamp(15px, .8vw + 13px, 18px);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--mist);
  transition: color .2s ease;
}

.fold-btn:hover { color: var(--amber); }

.fold-btn::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .28s ease;
}

.fold-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }

.fold-body {
  padding: 0 4px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: #C9D6E0;
  animation: fold-in .3s ease both;
}

.fold-body[hidden] { display: none; }

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

/* 9.9 进入显现 */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-lit {
  opacity: 1;
  transform: none;
}

/* =========================================================
   10. 响应式
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-col-wide { grid-column: 1 / -1; }
  .topbar-note { display: none; }
  .topbar-cta { margin-left: auto; }
}

@media (max-width: 900px) {
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: 1 / -1; }

  .nav-inner { display: block; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s ease;
  }

  .site-header[data-open="true"] .site-nav {
    max-height: 68vh;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(7, 26, 43, .6);
  }

  .nav-list { flex-direction: column; gap: 0; overflow: visible; }

  .nav-item { border-bottom: 1px solid var(--line-soft); }

  .nav-link {
    padding: 14px 6px 14px 14px;
    font-size: 15px;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: 50% 0;
  }

  .nav-link:hover::after { transform: scaleY(.6); }
  .nav-link[aria-current="page"]::after { transform: scaleY(1); }

  .nav-tick-rule { display: none; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer-col-wide { grid-column: 1 / -1; }
  .footer-legal { margin-left: 0; }

  .rotate-note { writing-mode: horizontal-tb; letter-spacing: .22em; padding: 0; }
}

@media (max-width: 620px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 8px; }
  .topbar-cta { order: 3; width: 100%; margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-strip-rule { display: none; }
  .panel-head { flex-wrap: wrap; row-gap: 6px; }
}

/* =========================================================
   11. 可访问性：减少动态
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal { opacity: 1; transform: none; }
  .brand-beacon::after { display: none; }
  .rail-fill { transition: none; }
  .fold-body { animation: none; }
}
