/* ============================================================
   /assets/site.css — 欧博娱乐 共享外壳与通用组件
   配色：深蓝底盘 / 电光青路径 / 暖橙操作点 / 奶油纸白出版页
   ============================================================ */

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

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

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%; height: auto; }

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --abg-navy: #081C33;
  --abg-navy-2: #12345A;
  --abg-cyan: #2DE2FF;
  --abg-orange: #FF8B3D;
  --abg-graphite: #242A32;
  --abg-paper: #F3EBDD;
  --abg-ink: #1B1411;
  --abg-mist: #8FA6B8;
  --abg-green: #38D39F;
  --abg-red: #E45757;

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --cut: 20px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  font-weight: 400;
  line-height: 1.75;
  color: #DCE9F2;
  background-color: var(--abg-navy);
  background-image:
    linear-gradient(rgba(45, 226, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { max-width: 72ch; }

strong { font-weight: 700; }

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

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--abg-cyan);
  color: #04121f;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

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

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.section--paper {
  background: var(--abg-paper);
  color: var(--abg-ink);
}

.section--graphite {
  background: var(--abg-graphite);
  color: #E7EEF4;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.hairline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(45, 226, 255, 0.5), rgba(143, 166, 184, 0.12) 60%, transparent);
}

.section--paper .hairline {
  background: linear-gradient(90deg, rgba(27, 20, 17, 0.5), rgba(27, 20, 17, 0.08) 60%, transparent);
}

/* ---------- 5. 面板与文字组件 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(18, 52, 90, 0.96), rgba(11, 30, 52, 0.96));
  border: 1px solid rgba(45, 226, 255, 0.18);
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
}

.panel--paper {
  background: var(--abg-paper);
  color: var(--abg-ink);
  border-color: rgba(27, 20, 17, 0.16);
}

.panel--ghost {
  background: transparent;
  border-style: dashed;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--abg-cyan);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--abg-orange);
}

.section--paper .eyebrow { color: #0B5E75; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.chapter-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--abg-orange);
}

.section--paper .chapter-num { color: #D2601A; }

.title-xl {
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: #B9CEDD;
}

.section--paper .lede { color: #4A3C33; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--abg-orange);
  color: #1B1411;
  box-shadow: 0 8px 22px rgba(255, 139, 61, 0.28);
}

.btn--primary:hover {
  background: #FFA262;
  box-shadow: 0 10px 28px rgba(255, 139, 61, 0.38);
}

.btn--ghost {
  background: transparent;
  color: var(--abg-cyan);
  border-color: rgba(45, 226, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(45, 226, 255, 0.12);
  border-color: var(--abg-cyan);
}

/* ---------- 7. 标签 / 状态灯 / 筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(45, 226, 255, 0.3);
  border-radius: 6px;
  background: rgba(45, 226, 255, 0.1);
  color: var(--abg-cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.tag--ok {
  background: rgba(56, 211, 159, 0.12);
  border-color: rgba(56, 211, 159, 0.4);
  color: var(--abg-green);
}

.tag--warn {
  background: rgba(228, 87, 87, 0.12);
  border-color: rgba(228, 87, 87, 0.4);
  color: #F08C8C;
}

.section--paper .tag {
  background: rgba(11, 94, 117, 0.08);
  border-color: rgba(11, 94, 117, 0.32);
  color: #0B5E75;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--abg-green);
  box-shadow: 0 0 0 4px rgba(56, 211, 159, 0.16);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(143, 166, 184, 0.3);
  border-radius: 999px;
  background: rgba(36, 42, 50, 0.9);
  color: #BFD4E2;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.filter-btn:hover {
  color: #EAFBFF;
  border-color: rgba(45, 226, 255, 0.6);
}

.filter-btn[aria-pressed="true"] {
  background: rgba(45, 226, 255, 0.16);
  border-color: var(--abg-cyan);
  color: #EAFBFF;
  box-shadow: inset 0 0 0 1px rgba(45, 226, 255, 0.35);
}

.section--paper .filter-btn {
  background: rgba(27, 20, 17, 0.05);
  border-color: rgba(27, 20, 17, 0.22);
  color: #3A2E27;
}

.section--paper .filter-btn[aria-pressed="true"] {
  background: #0B5E75;
  border-color: #0B5E75;
  color: var(--abg-paper);
}

/* ---------- 8. 面包屑 / 锚点导航 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--abg-mist);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb__list li + li::before {
  content: "/";
  color: rgba(143, 166, 184, 0.55);
}

.breadcrumb__link:hover {
  color: var(--abg-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__current { color: var(--abg-paper); }

.section--paper .breadcrumb { color: #6B5A4D; }
.section--paper .breadcrumb__current { color: var(--abg-ink); }

.anchor-nav {
  position: sticky;
  top: 104px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.anchor-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid rgba(143, 166, 184, 0.3);
}

.anchor-nav__link {
  display: block;
  margin-left: -1px;
  padding: 7px 12px;
  border-left: 2px solid transparent;
  color: var(--abg-mist);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.anchor-nav__link:hover {
  color: #EAFBFF;
  border-color: rgba(45, 226, 255, 0.65);
}

/* ---------- 9. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #0D2540, #050F1C);
  border: 1px solid rgba(45, 226, 255, 0.2);
  border-radius: 2px;
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    16px 100%,
    0 calc(100% - 16px)
  );
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 226, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.media-frame__inner {
  position: absolute;
  inset: 0;
}

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

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

.media-frame__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--abg-mist);
}

.section--paper .media-frame__caption { color: #6B5A4D; }

/* ---------- 10. 显现 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ============================================================
   11. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter);
  background: linear-gradient(
    180deg,
    rgba(8, 28, 51, 0.96) 0%,
    rgba(8, 28, 51, 0.78) 58%,
    rgba(8, 28, 51, 0) 100%
  );
  transition: background-color 0.25s var(--ease);
}

.site-header[data-scrolled="true"] {
  background: linear-gradient(
    180deg,
    rgba(6, 22, 41, 0.99) 0%,
    rgba(6, 22, 41, 0.9) 62%,
    rgba(6, 22, 41, 0.42) 100%
  );
}

.header-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  max-width: 1440px;
  margin-inline: auto;
}

/* 浮岛 1：品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 9px;
  border: 1px solid rgba(45, 226, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 52, 90, 0.72);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  justify-self: start;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.brand:hover {
  border-color: rgba(45, 226, 255, 0.5);
  background: rgba(18, 52, 90, 0.9);
}

.brand-mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  background: linear-gradient(150deg, var(--abg-cyan) 0%, #0F6F9B 58%, var(--abg-orange) 100%);
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--abg-navy);
  clip-path: polygon(
    0 0,
    calc(100% - 4px) 0,
    100% 4px,
    100% 100%,
    4px 100%,
    0 calc(100% - 4px)
  );
}

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

.brand-text__name {
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.brand-text__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--abg-mist);
}

/* 浮岛 2：导航胶囊 */
.primary-nav {
  justify-self: center;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(45, 226, 255, 0.18);
  border-radius: 999px;
  background: rgba(18, 52, 90, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

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

.nav-link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  color: #CBDFEE;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(45, 226, 255, 0.12);
}

.nav-link[aria-current="page"] {
  color: #EAFBFF;
  background: rgba(45, 226, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(45, 226, 255, 0.45);
}

/* 浮岛 3：工具与 CTA */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.util-link {
  padding: 6px 12px;
  border: 1px solid rgba(143, 166, 184, 0.26);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--abg-mist);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.util-link:hover {
  color: var(--abg-cyan);
  border-color: rgba(45, 226, 255, 0.55);
}

.header-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(45, 226, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 52, 90, 0.85);
  color: var(--abg-paper);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(45, 226, 255, 0.16);
  border-color: rgba(45, 226, 255, 0.6);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(143, 166, 184, 0.16);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--abg-cyan), var(--abg-orange));
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 28px;
  background: linear-gradient(180deg, var(--abg-navy) 0%, #050F1C 100%);
  border-top: 1px solid rgba(45, 226, 255, 0.18);
  color: #C6D9E6;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(
    115deg,
    rgba(45, 226, 255, 0.18) 0 2px,
    transparent 2px 14px
  );
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}

.footer-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  max-width: var(--shell);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand__line {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #F3EBDD;
}

.footer-brand__tag {
  max-width: 28em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--abg-mist);
}

.footer-cta {
  margin-top: 4px;
  padding: 10px 18px;
  font-size: 13.5px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--abg-cyan);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 14.5px;
  color: #C6D9E6;
  transition: color 0.18s var(--ease);
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--abg-orange);
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 28px;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px dashed rgba(143, 166, 184, 0.28);
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--abg-cyan);
}

.footer-contact__value {
  font-size: 14.5px;
  line-height: 1.65;
  color: #E7F4FB;
  overflow-wrap: anywhere;
}

.footer-contact__note {
  grid-column: 1 / -1;
  max-width: 76em;
  font-size: 13px;
  line-height: 1.75;
  color: var(--abg-mist);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(143, 166, 184, 0.2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--abg-mist);
}

.footer-legal,
.footer-meta { line-height: 1.6; }

/* ============================================================
   13. 响应式
   ============================================================ */
@media (max-width: 1400px) {
  .header-tools .util-link { display: none; }
}

@media (max-width: 1080px) {
  html { scroll-padding-top: 96px; }

  .header-frame {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 22px;
    background: rgba(9, 27, 48, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s var(--ease);
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

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

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

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    background: rgba(45, 226, 255, 0.14);
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .grid--split,
  .grid--wide { grid-template-columns: minmax(0, 1fr); }

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

  .anchor-nav {
    position: static;
    margin-bottom: 18px;
  }

  .anchor-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
    border-bottom: 1px solid rgba(143, 166, 184, 0.3);
    padding-bottom: 8px;
  }

  .anchor-nav__link {
    border-left: 0;
    border-bottom: 2px solid transparent;
    margin-left: 0;
    border-radius: 8px;
  }

  .anchor-nav__link:hover { border-bottom-color: rgba(45, 226, 255, 0.65); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-bottom { flex-direction: column; }

  .media-frame--wide { aspect-ratio: 16 / 9; }
}

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

  .brand { padding: 7px 14px 7px 8px; }

  .brand-text__name { font-size: 14.5px; letter-spacing: 0.06em; }

  .header-cta { padding: 9px 14px; font-size: 13px; }

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

  .nav-toggle__label { font-size: 12.5px; }

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

/* ---------- 14. 减动效 ---------- */
@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;
  }

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

  .scroll-progress__bar { transition: none; }
}
