/* ===== 爱博国娱乐 · 共享样式 /assets/site.css ===== */

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

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

body { margin: 0; }

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

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }

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

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

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

/* --- 变量 --- */
:root {
  --abyss: #05121F;
  --trench: #0B2A45;
  --indigo: #1E2A6B;
  --deep-teal: #08333A;
  --wine: #4A1030;
  --cyan: #35E6E0;
  --gold: #F2B84B;
  --mist: #EAF2F7;
  --fog: #9FB6C6;
  --glass: rgba(234, 242, 247, 0.08);
  --glass-line: rgba(53, 230, 224, 0.25);
  --line: rgba(159, 182, 198, 0.18);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shadow-soft: 0 26px 60px -34px rgba(0, 0, 0, 0.9);
  --glow-cyan: 0 0 18px rgba(53, 230, 224, 0.35);
  --glow-gold: 0 0 18px rgba(242, 184, 75, 0.3);
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --shell: 1320px;
  --header-h: 74px;
  --progress: 0;
}

/* --- 基础 --- */
body {
  background-color: var(--abyss);
  background-image:
    radial-gradient(900px 540px at 10% -10%, rgba(53, 230, 224, 0.12), transparent 62%),
    radial-gradient(760px 480px at 94% 2%, rgba(242, 184, 75, 0.09), transparent 64%),
    radial-gradient(1080px 700px at 50% 118%, rgba(30, 42, 107, 0.5), transparent 68%),
    linear-gradient(180deg, #05121F 0%, #071A2C 44%, #05121F 100%);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

p { max-width: 38em; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: var(--mist);
}

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

::selection { background: rgba(53, 230, 224, 0.32); color: #ffffff; }

/* --- 容器与网格 --- */
.shell {
  width: min(var(--shell), 92vw);
  margin-inline: auto;
}

.prose { max-width: 34em; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 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; }
.span-12 { grid-column: span 12; }

/* --- 排版件 --- */
.display-1 {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(53, 230, 224, 0.35);
}

.display-2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
}

.section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 1.05em;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fog);
  line-height: 1.8;
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.num {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-fog { color: var(--fog); }

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--cyan);
  color: #03222A;
  box-shadow: 0 0 0 1px rgba(53, 230, 224, 0.5), 0 16px 36px -20px rgba(53, 230, 224, 0.9);
}

.btn-gold {
  background: linear-gradient(135deg, #F2B84B, #DE9420);
  color: #241703;
  box-shadow: 0 16px 36px -22px rgba(242, 184, 75, 0.95);
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--mist);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-ghost:hover { background: rgba(234, 242, 247, 0.14); }

/* --- 分区底色 --- */
.zone-trench { background: linear-gradient(180deg, rgba(11, 42, 69, 0.72), rgba(11, 42, 69, 0.22)); }
.zone-teal { background: linear-gradient(180deg, rgba(8, 51, 58, 0.86), rgba(8, 51, 58, 0.28)); }
.zone-indigo { background: linear-gradient(180deg, rgba(30, 42, 107, 0.82), rgba(30, 42, 107, 0.26)); }
.zone-wine { background: linear-gradient(180deg, rgba(74, 16, 48, 0.86), rgba(74, 16, 48, 0.26)); }

/* --- 框景 --- */
.frame {
  position: relative;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(234, 242, 247, 0.06), rgba(234, 242, 247, 0.015));
  padding: clamp(22px, 3vw, 40px);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  opacity: 0.75;
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-top: 0;
  border-left: 0;
  border-bottom-right-radius: var(--radius-lg);
}

.frame-label {
  position: absolute;
  top: -13px;
  left: clamp(22px, 3vw, 40px);
  padding: 3px 12px;
  border-radius: 999px;
  background: #061626;
  border: 1px solid var(--glass-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* --- 卡片 --- */
.panel-solid {
  background: rgba(9, 29, 48, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.panel-glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-indigo { background: linear-gradient(180deg, rgba(30, 42, 107, 0.9), rgba(14, 22, 58, 0.9)); border: 1px solid rgba(53, 230, 224, 0.2); border-radius: var(--radius-md); }
.panel-teal { background: linear-gradient(180deg, rgba(8, 51, 58, 0.92), rgba(5, 28, 33, 0.92)); border: 1px solid rgba(53, 230, 224, 0.2); border-radius: var(--radius-md); }
.panel-wine { background: linear-gradient(180deg, rgba(74, 16, 48, 0.9), rgba(35, 8, 24, 0.92)); border: 1px solid rgba(242, 184, 75, 0.22); border-radius: var(--radius-md); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.26s var(--ease), background-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}

.card-head { padding: 20px 22px 0; }
.card-body { padding: 12px 22px 18px; }
.card-foot { padding: 0 22px 22px; margin-top: auto; }

.card-glyph {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), rgba(53, 230, 224, 0));
}

.card-glyph--gold { background: linear-gradient(90deg, var(--gold), rgba(242, 184, 75, 0)); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  color: var(--fog);
  background: rgba(234, 242, 247, 0.05);
}

.tag-cyan { border-color: var(--glass-line); color: var(--cyan); background: rgba(53, 230, 224, 0.1); }
.tag-gold { border-color: rgba(242, 184, 75, 0.35); color: var(--gold); background: rgba(242, 184, 75, 0.1); }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.stat-label { font-size: 13px; color: var(--fog); letter-spacing: 0.06em; }

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fog);
  padding: 18px 0 0;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(159, 182, 198, 0.5); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* --- 图片容器 --- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(53, 230, 224, 0.2);
  background: linear-gradient(135deg, #0B2A45 0%, #08131F 72%);
}

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

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

.media-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(53, 230, 224, 0.22), transparent 58%),
    radial-gradient(90% 80% at 88% 96%, rgba(242, 184, 75, 0.18), transparent 60%);
}

/* --- 头部 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.94), rgba(5, 18, 31, 0.62));
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(53, 230, 224, 0.16);
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.site-header.is-condensed {
  background: linear-gradient(180deg, rgba(4, 14, 24, 0.98), rgba(4, 14, 24, 0.82));
  border-bottom-color: rgba(53, 230, 224, 0.3);
}

.skip-link {
  position: absolute;
  left: clamp(12px, 3vw, 28px);
  top: 8px;
  z-index: 120;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #03222A;
  font-weight: 700;
  font-size: 15px;
  transform: translateY(-180%);
  transition: transform 0.24s var(--ease);
}

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

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  width: min(var(--shell), 94vw);
  margin-inline: auto;
  padding: 10px 0;
  min-height: var(--header-h);
  position: relative;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  margin-right: auto;
  padding: 4px 6px 4px 2px;
  border-radius: 14px;
  transition: opacity 0.22s var(--ease);
}

.brand-lockup:hover { opacity: 0.86; }

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, #35E6E0, #1E2A6B 42%, #F2B84B 78%, #35E6E0);
  box-shadow: 0 0 0 1px rgba(53, 230, 224, 0.45), 0 0 22px -4px rgba(53, 230, 224, 0.7);
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 4px;
  background: var(--abyss);
  transform: rotate(45deg);
}

.brand-type { display: flex; flex-direction: column; line-height: 1.16; }

.brand-name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog);
}

.nav-capsule {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px 7px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: padding 0.28s var(--ease), background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.site-header.is-condensed .nav-capsule {
  padding: 3px 6px 5px;
  background: rgba(234, 242, 247, 0.12);
  box-shadow: 0 14px 30px -26px rgba(53, 230, 224, 0.9);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}

.nav-item { flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: block;
  padding: 9px clamp(9px, 1vw, 15px);
  border-radius: 999px;
  font-size: clamp(13.5px, 1.02vw, 15px);
  font-weight: 600;
  color: var(--fog);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: rgba(53, 230, 224, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--mist);
  background: rgba(53, 230, 224, 0.12);
  box-shadow: inset 0 0 0 1px rgba(53, 230, 224, 0.55);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.nav-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(53, 230, 224, 0.14);
  pointer-events: none;
}

.nav-progress::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 0.12s linear;
}

.cta-direct {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #241703;
  background: linear-gradient(135deg, #F2B84B, #DE9420);
  box-shadow: 0 16px 34px -22px rgba(242, 184, 75, 0.95), inset 0 0 0 1px rgba(255, 231, 178, 0.4);
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.cta-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(242, 184, 75, 1), inset 0 0 0 1px rgba(255, 231, 178, 0.7);
}

.cta-key { letter-spacing: 0.02em; }
.cta-more { font-weight: 600; font-size: 13px; opacity: 0.78; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  color: var(--mist);
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 auto;
  transition: background-color 0.22s var(--ease);
}

.nav-toggle:hover { background: rgba(234, 242, 247, 0.14); }

.nav-toggle-text { letter-spacing: 0.04em; }

.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: var(--cyan); }
.nav-toggle-bars i:nth-child(2) { width: 70%; }
.nav-toggle-bars i:nth-child(3) { width: 45%; }

/* --- 页脚 --- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: linear-gradient(180deg, #071A2C 0%, #04101B 100%);
  border-top: 1px solid var(--glass-line);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 230, 224, 0.75), rgba(242, 184, 75, 0.55), transparent);
}

.footer-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 320px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 12% 0%, rgba(53, 230, 224, 0.16), transparent 70%),
    radial-gradient(50% 100% at 88% 0%, rgba(30, 42, 107, 0.5), transparent 72%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.7fr);
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(44px, 6vw, 78px) 0 clamp(30px, 4vw, 50px);
}

.footer-ident { display: flex; flex-direction: column; gap: 14px; }

.footer-brand {
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--mist);
  max-width: none;
}

.footer-brand::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(242, 184, 75, 0.85));
  box-shadow: var(--glow-cyan);
}

.footer-note { font-size: 15px; color: var(--fog); max-width: 30em; }

.footer-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-pills li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(234, 242, 247, 0.05);
  font-size: 13px;
  color: var(--fog);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-bottom: 16px;
}

.footer-col-title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  font-size: 15px;
  color: var(--fog);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: rgba(159, 182, 198, 0.55);
  transition: width 0.2s var(--ease), background-color 0.2s var(--ease);
}

.footer-links a:hover { color: var(--mist); transform: translateX(3px); }
.footer-links a:hover::before { width: 10px; background: var(--gold); }

.footer-base { border-top: 1px solid var(--line); background: rgba(3, 11, 20, 0.6); }

.footer-base-inner {
  display: grid;
  gap: 6px;
  padding: 24px 0 32px;
}

.footer-contact {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--gold);
  max-width: none;
}

.footer-address { font-size: 14px; color: var(--fog); max-width: 40em; }

.footer-small { font-size: 13px; color: rgba(159, 182, 198, 0.82); max-width: 42em; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed rgba(159, 182, 198, 0.18);
  font-size: 13px;
  color: var(--fog);
}

.to-top {
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 184, 75, 0.4);
  background: rgba(242, 184, 75, 0.1);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.to-top:hover { background: rgba(242, 184, 75, 0.2); transform: translateY(-2px); }

/* --- 滚动显现 --- */
[data-reveal] { opacity: 1; transform: none; }

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- 响应式 --- */
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }

  .nav-capsule {
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(12px, 3vw, 26px);
    right: clamp(12px, 3vw, 26px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    border-radius: 22px;
    background: rgba(6, 20, 34, 0.94);
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
  }

  .nav-capsule[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-item { width: 100%; }

  .nav-link {
    padding: 12px 15px;
    border-radius: 14px;
    font-size: 16px;
    white-space: normal;
  }

  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 16px;
    bottom: 50%;
    width: 18px;
    transform: translateY(50%);
  }

  .nav-progress { display: none; }

  .footer-top { grid-template-columns: 1fr; }
}

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

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 6; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-sub { display: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }

  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .brand-mark::after { inset: 10px; }
  .brand-name { font-size: 15px; }

  .cta-direct { padding: 10px 15px; font-size: 14px; }
  .cta-more { display: none; }

  .nav-toggle { padding: 9px 12px; }
  .nav-toggle-text { display: none; }

  .grid { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: 1 / -1; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .to-top { margin-left: 0; }

  .frame { padding: 20px 18px; }
}

/* --- 动效降级 --- */
@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;
  }

  .has-js [data-reveal] { opacity: 1; transform: none; }
  .card:hover { transform: none; }
  .btn:hover, .cta-direct:hover, .to-top:hover { transform: none; }
}
