/* ===================================================================
   波音真人会馆 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   =================================================================== */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video, picture { display: block; max-width: 100%; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design tokens ---------- */
:root {
  /* 核心色 */
  --ink: #071A2B;
  --ink-2: #0E2A42;
  --ink-3: #05141F;
  --cream: #F2E8D5;
  --paper: #FFF8EA;
  --brown: #1B1512;
  --cyan: #27E6D2;
  --violet: #8A5CFF;
  --gold: #E7B45A;
  --orange: #F06A3A;
  --mist: #8FA6B8;

  /* 派生 */
  --line: rgba(143, 166, 184, 0.22);
  --line-soft: rgba(143, 166, 184, 0.13);
  --line-cyan: rgba(39, 230, 210, 0.38);
  --paper-soft: rgba(255, 248, 234, 0.82);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", "IBM Plex Mono",
    Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 中文排版与页面基底 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 10% -12%, rgba(138, 92, 255, 0.13), transparent 62%),
    radial-gradient(920px 540px at 96% 2%, rgba(39, 230, 210, 0.09), transparent 60%),
    radial-gradient(760px 620px at 40% 118%, rgba(231, 180, 90, 0.06), transparent 65%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.09em;
  color: var(--paper);
}

h1, .h1 { font-size: clamp(1.95rem, 4.4vw, 3.3rem); letter-spacing: 0.1em; }
h2, .h2 { font-size: clamp(1.45rem, 2.7vw, 2.05rem); }
h3, .h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: 0.08em; }

p { max-width: 68ch; }
strong { color: var(--gold); font-weight: 700; }
code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-size: 0.82em;
  letter-spacing: 0.06em;
  color: var(--gold);
}

::selection { background: rgba(39, 230, 210, 0.32); color: var(--paper); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  left: 18px;
  top: -90px;
  z-index: 999;
  padding: 11px 20px;
  background: var(--cyan);
  color: #06202f;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ===================================================================
   头部 · 馆藏命令栏
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: linear-gradient(180deg, rgba(7, 26, 43, 0.97), rgba(7, 26, 43, 0.9));
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(39, 230, 210, 0.55) 20%,
    rgba(138, 92, 255, 0.45) 52%,
    rgba(231, 180, 90, 0.5) 84%,
    transparent 100%
  );
  opacity: 0.65;
  pointer-events: none;
}

.header-bar {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

/* --- 品牌索引块 --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 6px 0;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 26px;
  flex: none;
}
.brand-mark-line {
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.brand-mark-line:nth-child(1) { width: 100%; background: var(--gold); }
.brand-mark-line:nth-child(2) { width: 66%; background: var(--cyan); }
.brand-mark-line:nth-child(3) { width: 38%; background: var(--violet); }

.brand:hover .brand-mark-line:nth-child(1) { width: 66%; }
.brand:hover .brand-mark-line:nth-child(2) { width: 100%; }
.brand:hover .brand-mark-line:nth-child(3) { width: 66%; }

.brand-text { display: block; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--paper);
}
.brand-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.8;
}

/* --- 版本胶囊 --- */
.version-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(231, 180, 90, 0.42);
  border-radius: 2px;
  background: rgba(231, 180, 90, 0.07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}
.version-chip-label { opacity: 0.62; font-size: 9.5px; letter-spacing: 0.2em; }
.version-chip-num { font-weight: 700; }

/* --- 导航 --- */
.site-nav { margin-left: auto; }

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 2px;
  transition: background 0.22s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gold);
  opacity: 0.55;
  transition: opacity 0.22s var(--ease), color 0.22s var(--ease);
}

.nav-label {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.07em;
  color: var(--paper-soft);
  transition: color 0.22s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { background: rgba(39, 230, 210, 0.06); }
.nav-link:hover .nav-label { color: var(--paper); }
.nav-link:hover .nav-index { opacity: 1; color: var(--cyan); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { background: rgba(39, 230, 210, 0.09); }
.nav-link[aria-current="page"] .nav-label { color: var(--cyan); }
.nav-link[aria-current="page"] .nav-index { opacity: 1; color: var(--gold); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
}

/* --- 移动导航按钮 --- */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line-cyan);
  border-radius: 2px;
  background: rgba(39, 230, 210, 0.05);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.nav-toggle:hover { background: rgba(39, 230, 210, 0.13); border-color: var(--cyan); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
  flex: none;
}
.nav-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.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(-5.5px) rotate(-45deg);
}

/* --- 滚动进度 --- */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--gold));
  pointer-events: none;
  z-index: 4;
}

/* ===================================================================
   页脚 · 闭馆记录层
   =================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 132px);
  background: var(--ink-3);
  background-image:
    radial-gradient(900px 420px at 88% 0%, rgba(138, 92, 255, 0.1), transparent 68%),
    radial-gradient(700px 380px at 4% 100%, rgba(39, 230, 210, 0.06), transparent 70%);
  background-repeat: no-repeat;
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 230, 210, 0.5) 22%,
    rgba(138, 92, 255, 0.4) 58%,
    transparent
  );
  pointer-events: none;
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(210px, 1.25fr);
  gap: clamp(26px, 4vw, 58px);
  padding-bottom: clamp(30px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  letter-spacing: 0.16em;
  color: var(--paper);
  line-height: 1.3;
}

.footer-brand-note {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 30ch;
}

.footer-version {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(231, 180, 90, 0.34);
  border-radius: 2px;
  background: rgba(231, 180, 90, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.footer-version-key { color: var(--mist); letter-spacing: 0.16em; }
.footer-version-num { color: var(--gold); font-weight: 700; }

.footer-nav-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.86;
}
.footer-nav-title::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  margin-top: 9px;
  background: currentColor;
  opacity: 0.45;
}

.footer-links { display: grid; gap: 2px; }
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--paper-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(39, 230, 210, 0.45);
}

.footer-contact-list { display: grid; gap: 12px; }
.footer-contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: baseline;
}
.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(143, 166, 184, 0.7);
}
.footer-contact-val {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--paper-soft);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(143, 166, 184, 0.72);
}
.footer-copy { color: rgba(143, 166, 184, 0.72); }
.footer-icp { color: rgba(143, 166, 184, 0.6); }

/* ===================================================================
   通用容器 / 章节 / 基础组件
   =================================================================== */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 7vw, 92px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(24px, 4vw, 44px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

/* --- 按钮 --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--line-cyan);
  border-radius: 2px;
  background: rgba(39, 230, 210, 0.07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease),
    color 0.24s var(--ease), transform 0.24s var(--ease);
}
.btn:hover {
  background: rgba(39, 230, 210, 0.16);
  border-color: var(--cyan);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #06202f;
}
.btn-primary:hover {
  background: #6ff2e4;
  border-color: #6ff2e4;
  color: #06202f;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 248, 234, 0.28);
  color: var(--paper);
}
.btn-ghost:hover {
  background: rgba(255, 248, 234, 0.08);
  border-color: rgba(255, 248, 234, 0.6);
}

.btn-violet {
  background: rgba(138, 92, 255, 0.12);
  border-color: rgba(138, 92, 255, 0.5);
  color: #c3aaff;
}
.btn-violet:hover {
  background: rgba(138, 92, 255, 0.24);
  border-color: var(--violet);
}

/* --- 面包屑 --- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(143, 166, 184, 0.8);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  color: rgba(143, 166, 184, 0.35);
}
.breadcrumb a {
  color: var(--mist);
  transition: color 0.2s var(--ease);
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--gold); }

/* --- 网格 --- */
.grid { display: grid; gap: clamp(18px, 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(4, minmax(0, 1fr)); }

/* --- 图片容器基座（页面阶段放 <img> 或 .media-placeholder） --- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(140deg, rgba(14, 42, 66, 0.95), rgba(5, 20, 31, 0.98)),
    repeating-linear-gradient(45deg, rgba(39, 230, 210, 0.05) 0 1px, transparent 1px 12px);
  background-repeat: no-repeat, repeat;
}
.media-frame[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media-frame[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.media-frame[data-ratio="1x1"] { aspect-ratio: 1 / 1; }
.media-frame[data-ratio="3x4"] { aspect-ratio: 3 / 4; }
.media-frame[data-ratio="21x9"] { aspect-ratio: 21 / 9; }

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(39, 230, 210, 0.15);
  border-radius: 1px;
  pointer-events: none;
  z-index: 2;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(143, 166, 184, 0.6);
}

/* --- 奶油纸面板 / 标签 --- */
.paper-panel {
  background: var(--cream);
  color: var(--brown);
  border: 1px solid rgba(27, 21, 18, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: clamp(22px, 3.4vw, 44px);
}
.paper-panel h2,
.paper-panel h3 { color: var(--brown); }
.paper-panel strong { color: #A9461F; }
.paper-panel code { color: #6B3FA0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tag-gold { color: var(--gold); border-color: rgba(231, 180, 90, 0.4); }
.tag-cyan { color: var(--cyan); border-color: var(--line-cyan); }
.tag-violet { color: #B79BFF; border-color: rgba(138, 92, 255, 0.45); }
.tag-orange { color: var(--orange); border-color: rgba(240, 106, 58, 0.45); }

/* --- 滚动显现协议 --- */
[data-reveal] { transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
html.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ===================================================================
   响应式
   =================================================================== */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .version-chip { margin-left: 0; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    display: none;
    padding: 8px var(--gutter) 24px;
    background: #081f34;
    background-image: radial-gradient(
      700px 320px at 100% 0%,
      rgba(138, 92, 255, 0.14),
      transparent 70%
    );
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--line-cyan);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.58);
  }

  .site-nav[data-open] {
    display: block;
    animation: navDrop 0.3s var(--ease) both;
  }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  .nav-link {
    justify-content: flex-start;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav-link::after { display: none; }
  .nav-link:hover { background: rgba(39, 230, 210, 0.05); }
  .nav-link[aria-current="page"] {
    background: rgba(39, 230, 210, 0.08);
    border-bottom-color: rgba(231, 180, 90, 0.45);
  }

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

@media (max-width: 860px) {
  body { font-size: 16px; line-height: 1.85; }

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

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .header-bar {
    min-height: 68px;
    gap: 10px;
  }

  .brand-name { font-size: 15px; letter-spacing: 0.1em; }
  .brand-meta { font-size: 8.5px; letter-spacing: 0.18em; }
  .brand-mark { width: 22px; }
  .brand { gap: 9px; }

  .version-chip { padding: 4px 8px; font-size: 10px; }
  .version-chip-label { display: none; }

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

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

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   动效降级
   =================================================================== */
@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;
    transition-delay: 0ms !important;
  }

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

  .scroll-progress { display: none; }
}
