/* ============================================================
   ABG娱乐 · Site Kit 共享样式 (/assets/site.css)
   深空蓝连续画布 + 左侧文字建筑轨道 + 双行悬浮胶囊页脚
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
  /* 品牌色彩 */
  --ink-0: #06111F;        /* 深空蓝 */
  --ink-1: #0B2240;        /* 午夜蓝 */
  --ink-2: #0A1B30;        /* 分区过渡 */
  --ice: #59E1F0;          /* 冰晶青 */
  --mint: #A8F7E7;         /* 晶薄荷 */
  --violet: #8E6BFF;       /* 霓虹紫 */
  --amber: #F2B84B;        /* 琥珀金 */
  --frost: #EDF7FF;        /* 霜白 */
  --steel: #6E89A6;        /* 钢蓝灰 */
  --ok: #2BD9B3;           /* 成功水绿 */
  --warn: #FF7D7D;         /* 提醒珊瑚 */

  /* 布局 */
  --rail-w: 272px;
  --topbar-h: 62px;
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);

  /* 字体 */
  --font-display: "ABG Display", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* 节奏 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;
  --hair: rgba(110, 137, 166, .24);
  --hair-soft: rgba(110, 137, 166, .14);
}

/* ---------- 2. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  background-color: var(--ink-0);
  background-image:
    radial-gradient(1200px 620px at 82% -12%, rgba(142, 107, 255, .13), transparent 62%),
    radial-gradient(900px 540px at 4% 106%, rgba(89, 225, 240, .09), transparent 66%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--ice); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mint); }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

::selection { background: rgba(89, 225, 240, .3); color: var(--frost); }

/* ---------- 3. 中文排版基线 ---------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--frost);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }

strong { font-weight: 700; color: var(--frost); }
code, .mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.prose { max-width: 34em; color: rgba(237, 247, 255, .82); }
.prose p { margin-bottom: 1.15em; }

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 .8rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ice);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  background: var(--ice);
  color: #04212A;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); color: #04212A; }

#main-content { scroll-margin-top: 84px; }

/* ============================================================
   5. 头部 · 左侧文字建筑轨道
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  padding: 1.55rem 1.2rem 1.3rem;
  background: linear-gradient(180deg, #08182B 0%, #06111F 56%, #050E19 100%);
  border-right: 1px solid var(--hair);
  overflow: hidden;
}

/* 轨道内的斜向晶体光切 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 58%, rgba(89, 225, 240, .07) 66%, transparent 74%),
    linear-gradient(76deg, transparent 74%, rgba(142, 107, 255, .08) 82%, transparent 90%);
}

/* --- 品牌块 --- */
.rail-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  flex: none;
  width: 30px;
  height: 30px;
  background: conic-gradient(from 210deg, var(--ice), var(--violet), var(--amber), var(--ice));
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  filter: drop-shadow(0 0 12px rgba(89, 225, 240, .45));
}

.brand-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--frost);
  white-space: nowrap;
}

.brand-line {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

/* --- 移动端开关(桌面隐藏) --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem .45rem .7rem;
  border: 1px solid rgba(89, 225, 240, .34);
  border-radius: 999px;
  background: rgba(11, 34, 64, .78);
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--ice); background: rgba(89, 225, 240, .12); }

.nav-toggle-icon { display: grid; gap: 4px; width: 14px; }

.nav-toggle-bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}

.site-header[data-open] .nav-toggle-bar:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bar:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* --- 主导航轨道 --- */
.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 2.1rem;
  overflow-y: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { width: 0; height: 0; }

.nav-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 0 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--hair-soft);
}

.nav-eyebrow-text {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-eyebrow-mono {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--violet);
}

.nav-list {
  list-style: none;
  counter-reset: nav;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.nav-item { position: relative; }

/* 第二项:缓慢呼吸的冰晶青脉冲 */
.nav-item:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .75rem;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--ice);
  animation: railPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes railPulse {
  0%, 100% { opacity: .38; box-shadow: 0 0 0 0 rgba(89, 225, 240, .5); transform: scale(.82); }
  50%      { opacity: 1;   box-shadow: 0 0 0 7px rgba(89, 225, 240, 0); transform: scale(1); }
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .58rem .7rem .58rem .8rem;
  border-left: 1px solid var(--hair-soft);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  flex: none;
  min-width: 1.5rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .06em;
  color: rgba(110, 137, 166, .72);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--frost);
  border-left-color: var(--ice);
  background: linear-gradient(90deg, rgba(89, 225, 240, .1), transparent 72%);
}
.nav-link:hover::before { color: var(--ice); }

.nav-link[aria-current="page"] {
  color: var(--frost);
  border-left-color: var(--ice);
  background: linear-gradient(90deg, rgba(89, 225, 240, .16), transparent 74%);
}
.nav-link[aria-current="page"]::before { color: var(--ice); }
.nav-link[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice);
}

/* --- 轨道底部 --- */
.rail-foot {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  gap: .55rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair-soft);
}

.rail-status {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .64rem;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--steel);
}

.status-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(43, 217, 179, .85);
}

.rail-version {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
}

.rail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .35rem;
  padding: .68rem 1rem;
  border: 1px solid rgba(242, 184, 75, .55);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--amber), #F8D98C);
  color: #1A1206;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.rail-cta:hover {
  color: #1A1206;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(242, 184, 75, .3);
}

/* --- 滚动进度 --- */
.rail-progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: var(--hair-soft);
  pointer-events: none;
}

.rail-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--ice), var(--violet));
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

/* ============================================================
   6. 页脚 · 双行悬浮胶囊
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding: clamp(2.6rem, 5vw, 4.2rem) var(--gutter) 1.9rem;
  background: linear-gradient(180deg, var(--ink-0) 0%, #081B31 46%, var(--ink-1) 100%);
  border-top: 1px solid var(--hair);
  overflow: hidden;
}

.footer-sheen {
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  pointer-events: none;
  background:
    linear-gradient(104deg, transparent 40%, rgba(89, 225, 240, .07) 50%, transparent 60%),
    linear-gradient(74deg, transparent 64%, rgba(142, 107, 255, .1) 74%, transparent 84%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer-kicker {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--frost);
}

.footer-kicker-mono {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-capsules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.capsule {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.4rem 3.4rem 1.4rem 1.6rem;
  border: 1px solid var(--hair);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(11, 34, 64, .94), rgba(6, 17, 31, .88));
  color: var(--frost);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.capsule:hover {
  color: var(--frost);
  border-color: rgba(89, 225, 240, .5);
  background: linear-gradient(150deg, rgba(14, 44, 79, .98), rgba(6, 17, 31, .92));
  transform: translateY(-2px);
}

.capsule-kicker {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ice);
}

.capsule-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--frost);
}

.capsule-text {
  font-size: .8rem;
  line-height: 1.65;
  color: var(--steel);
}

.capsule-arrow {
  position: absolute;
  top: 1.35rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  color: var(--ice);
  transition: transform var(--dur) var(--ease);
}
.capsule:hover .capsule-arrow { transform: translate(2px, -2px); }

.capsule--amber { border-color: rgba(242, 184, 75, .34); }
.capsule--amber:hover { border-color: rgba(242, 184, 75, .72); }
.capsule--amber .capsule-kicker,
.capsule--amber .capsule-arrow { color: var(--amber); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr .8fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--hair-soft);
}

.brand--footer { align-items: flex-start; }
.brand--footer .brand-name { font-size: 1.05rem; }

.footer-label {
  margin: 0 0 .7rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-contact p { margin: 0 0 .3rem; }

.footer-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.7;
  letter-spacing: .01em;
  color: rgba(237, 247, 255, .72);
  word-break: break-word;
}

.footer-address { font-style: normal; }
.footer-address .footer-mono { font-family: var(--font-body); font-size: .82rem; }

.footer-legal-links { display: flex; flex-direction: column; gap: .18rem; }
.footer-legal-links a {
  align-self: flex-start;
  font-size: .82rem;
  color: rgba(237, 247, 255, .76);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-legal-links a:hover { color: var(--ice); border-bottom-color: rgba(89, 225, 240, .6); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1.6rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--hair-soft);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--steel);
}
.footer-base p { margin: 0; }
.footer-icp { color: rgba(110, 137, 166, .9); }
.footer-note { flex-basis: 100%; color: rgba(110, 137, 166, .7); }

/* ============================================================
   7. 通用页面骨架与基础组件
   ============================================================ */
.page {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 4.4rem) var(--gutter) 0;
}

.section { margin-block: clamp(2.6rem, 6vw, 5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }

.section-title { margin: 0 0 .55rem; }

.section-lede {
  max-width: 34em;
  margin: 0;
  font-size: .96rem;
  color: rgba(237, 247, 255, .72);
}

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 展览标签式信息块 */
.panel {
  position: relative;
  padding: 1.4rem 1.5rem 1.4rem 1.75rem;
  border-left: 2px solid var(--ice);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(120deg, rgba(11, 34, 64, .82), rgba(6, 17, 31, .5));
  box-shadow: inset 0 1px 0 rgba(237, 247, 255, .04);
}

.panel-label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* 胶囊标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .65rem;
  border: 1px solid rgba(89, 225, 240, .4);
  border-radius: 999px;
  background: rgba(89, 225, 240, .08);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ice);
  white-space: nowrap;
}
.tag--violet { border-color: rgba(142, 107, 255, .45); background: rgba(142, 107, 255, .12); color: #C3B2FF; }
.tag--amber  { border-color: rgba(242, 184, 75, .45); background: rgba(242, 184, 75, .12); color: var(--amber); }
.tag--mint   { border-color: rgba(168, 247, 231, .45); background: rgba(168, 247, 231, .1); color: var(--mint); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--ice { background: var(--ice); color: #04212A; }
.btn--ice:hover { color: #04212A; box-shadow: 0 10px 28px rgba(89, 225, 240, .3); }

.btn--amber { background: linear-gradient(120deg, var(--amber), #F8D98C); color: #1A1206; }
.btn--amber:hover { color: #1A1206; box-shadow: 0 10px 28px rgba(242, 184, 75, .3); }

.btn--ghost { background: transparent; border-color: rgba(110, 137, 166, .45); color: var(--frost); }
.btn--ghost:hover { border-color: var(--ice); color: var(--ice); }

/* 面包屑 */
.breadcrumb { margin-bottom: 1.4rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--steel); }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: .35rem; color: rgba(110, 137, 166, .55); }
.breadcrumb-link { color: var(--steel); text-decoration: none; }
.breadcrumb-link:hover { color: var(--ice); }
.breadcrumb-item[aria-current="page"] { color: rgba(237, 247, 255, .72); }

/* 图片容器基础规则(页面阶段放入 <img alt=""> 即可) */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background:
    radial-gradient(60% 80% at 22% 18%, rgba(89, 225, 240, .16), transparent 60%),
    radial-gradient(70% 90% at 82% 78%, rgba(142, 107, 255, .18), transparent 62%),
    linear-gradient(140deg, #0B2240, #06111F 62%, #0A1B30);
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 56%, rgba(89, 225, 240, .12) 64%, transparent 72%);
}

.media--21x9 { aspect-ratio: 21 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1 / 1; }

.media-caption {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  color: var(--steel);
}

/* 可展开内容组 */
.disclosure { border-top: 1px solid var(--hair); }
.disclosure:last-of-type { border-bottom: 1px solid var(--hair); }

.disclosure-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0;
  border: 0;
  background: none;
  color: var(--frost);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.disclosure-trigger:hover { color: var(--ice); }

.disclosure-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(89, 225, 240, .5);
  border-radius: 50%;
}
.disclosure-icon::before,
.disclosure-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ice);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}
.disclosure-icon::before { width: 8px; height: 1.5px; }
.disclosure-icon::after { width: 1.5px; height: 8px; }
.disclosure[data-open] .disclosure-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.disclosure[data-open] .disclosure-panel { grid-template-rows: 1fr; }

.disclosure-inner {
  overflow: hidden;
  font-size: .92rem;
  color: rgba(237, 247, 255, .76);
}
.disclosure-inner > *:first-child { margin-top: 0; padding-top: 0; }
.disclosure-inner > *:last-child { margin-bottom: 1.2rem; }

.divider { height: 1px; border: 0; margin-block: clamp(1.6rem, 3vw, 2.6rem); background: var(--hair-soft); }

/* ============================================================
   8. 响应式
   ============================================================ */
@media (max-width: 1279px) {
  :root { --rail-w: 246px; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  #main-content { scroll-margin-top: 24px; }
}

@media (max-width: 1023px) {
  body { padding-top: var(--topbar-h); }

  .site-header {
    inset: 0 0 auto 0;
    width: 100%;
    max-height: 100dvh;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--hair);
    background: rgba(6, 17, 31, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  }

  .site-header::before { display: none; }

  .rail-head {
    position: sticky;
    top: 0;
    z-index: 2;
    height: var(--topbar-h);
    padding: 0 1rem;
    background: rgba(6, 17, 31, .98);
  }

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

  .site-nav {
    display: none;
    flex: none;
    margin-top: 0;
    padding: .35rem 1rem 1rem;
    overflow: visible;
  }
  .site-header[data-open] .site-nav { display: flex; }

  .nav-eyebrow { margin-top: .4rem; }

  .nav-link { padding-block: .72rem; font-size: .98rem; }

  .rail-foot {
    display: none;
    margin-top: 0;
    padding: 0 1rem 1.35rem;
    border-top: 0;
  }
  .site-header[data-open] .rail-foot { display: grid; }

  .rail-progress { display: none; }

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

@media (max-width: 767px) {
  .footer-capsules { grid-template-columns: 1fr; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .capsule { padding: 1.25rem 3rem 1.25rem 1.3rem; border-radius: 22px; }
  .disclosure-trigger { font-size: .94rem; }
}

@media (max-width: 420px) {
  .brand-line { display: none; }
}

/* ============================================================
   9. 无障碍与动效偏好
   ============================================================ */
@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;
  }
  .nav-item:nth-child(2)::after { animation: none; opacity: .9; }
  .capsule:hover,
  .btn:hover,
  .rail-cta:hover { transform: none; }
}
