/* ===========================================================
   龙8手机官方 简体中文站 · 共享样式 /assets/site.css
   东方赛博 × 龙鳞质感 · 极简文字建筑
   =========================================================== */

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

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

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

ul, ol { list-style: none; }

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;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0A1A21;
  --ink-deep: #050D12;
  --celadon: #1E3138;
  --cyan: #2FD6C4;
  --night: #101B33;
  --gold: #C9A227;
  --gold-light: #F0D27A;
  --clay: #C1502E;
  --paper: #F3EFE6;
  --mist: #8A9AA0;

  --line-cyan: rgba(47, 214, 196, 0.18);
  --line-mute: rgba(138, 154, 160, 0.22);
  --line-gold: rgba(201, 162, 39, 0.55);

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --shell-wide: 1460px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(118deg, rgba(47, 214, 196, 0.035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-64deg, rgba(201, 162, 39, 0.028) 0 1px, transparent 1px 68px),
    radial-gradient(120% 80% at 10% -12%, rgba(16, 27, 51, 0.92) 0%, transparent 62%),
    radial-gradient(90% 70% at 100% 0%, rgba(193, 80, 46, 0.16) 0%, transparent 58%);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

a:hover { color: var(--cyan); }

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

/* ---------- 4. 跳到正文 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink-deep);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.24s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--ink-deep);
}

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 26, 33, 0.94);
  border-bottom: 1px solid var(--line-cyan);
  color: var(--paper);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  max-width: var(--shell);
  min-height: 72px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  transition: min-height 0.3s var(--ease), padding 0.3s var(--ease);
}

.brand-lockup { margin-right: auto; min-width: 0; }

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.25;
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  padding: 3px 7px;
  border: 1px solid rgba(47, 214, 196, 0.35);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

/* 滚动后品牌收缩为等宽缩写徽标 */
.site-header[data-compact] .header-shell {
  min-height: 58px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header[data-compact] .brand-name,
.site-header[data-compact] .brand-sub { display: none; }

.site-header[data-compact] .brand-mono {
  font-size: 0.75rem;
  color: var(--gold-light);
  border-color: var(--line-gold);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: rgba(243, 239, 230, 0.82);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { width: 100%; }

.nav-link[aria-current="page"] { color: var(--gold-light); }
.nav-link[aria-current="page"]::after { width: 22px; background: var(--gold); }

.nav-utility {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--line-mute);
}

.utility-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  transition: color 0.24s var(--ease);
}

.utility-link:hover { color: var(--cyan); }

.nav-cta { margin-left: 4px; }

/* 移动导航开关 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(47, 214, 196, 0.32);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 55%, var(--clay));
  transition: transform 0.12s linear;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-outline {
  border-color: var(--line-gold);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.06);
}

.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
}

.btn-solid {
  background: var(--gold);
  color: var(--ink-deep);
}

.btn-solid:hover { background: var(--gold-light); color: var(--ink-deep); }

.btn-quiet {
  border-color: rgba(47, 214, 196, 0.45);
  color: var(--cyan);
  background: rgba(47, 214, 196, 0.06);
}

.btn-quiet:hover { background: var(--cyan); color: var(--ink-deep); }

.btn-sm { padding: 8px 14px; font-size: 0.75rem; letter-spacing: 0.12em; }

/* ---------- 7. 容器与章节 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shell-wide { max-width: var(--shell-wide); }

.page-main { display: block; padding-top: clamp(28px, 5vw, 64px); }

.section { padding: clamp(44px, 6vw, 88px) 0; }

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

.section-paper .section-title { color: var(--ink); }
.section-paper .lede,
.section-paper .prose { color: rgba(10, 26, 33, 0.82); }
.section-paper .section-num { color: rgba(193, 80, 46, 0.22); -webkit-text-stroke: 1px var(--clay); }
.section-paper .section-kicker { color: #8A6A12; }
.section-paper .list-rows { border-top-color: rgba(10, 26, 33, 0.2); }
.section-paper .row { border-bottom-color: rgba(10, 26, 33, 0.16); }
.section-paper .row:hover { background: rgba(193, 80, 46, 0.05); }
.section-paper .row-title { color: var(--ink); }
.section-paper .row-num { color: var(--clay); }
.section-paper .row-meta { color: rgba(10, 26, 33, 0.6); }

.section-night { background: var(--night); }
.section-deep { background: var(--ink-deep); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  margin-bottom: clamp(26px, 4vw, 52px);
}

.section-num {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(201, 162, 39, 0.3);
  -webkit-text-stroke: 1px var(--gold);
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(243, 239, 230, 0.86);
}

.prose {
  max-width: 68ch;
  color: rgba(243, 239, 230, 0.86);
}

.prose p + p { margin-top: 1em; }
.prose h3 {
  margin: 1.6em 0 0.6em;
  font-size: 1.25rem;
  color: var(--paper);
}

.slash-divider {
  position: relative;
  height: 1px;
  margin: clamp(30px, 5vw, 60px) 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}

.slash-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 76px;
  height: 9px;
  background: linear-gradient(90deg, var(--clay), rgba(193, 80, 46, 0));
  transform: skewX(-30deg);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: rgba(138, 154, 160, 0.6);
}

.breadcrumb-link { color: var(--mist); transition: color 0.22s var(--ease); }
.breadcrumb-link:hover { color: var(--cyan); }
.breadcrumb-current { color: var(--paper); }

/* ---------- 9. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}

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

@media (max-width: 900px) {
  .grid-5-7, .grid-7-5, .grid-4-8, .grid-8-4, .grid-3, .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 10. 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--celadon);
  border: 1px solid rgba(47, 214, 196, 0.16);
}

.panel-cut {
  border: 0;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.panel-deep { background: var(--ink-deep); }
.panel-paper { background: var(--paper); color: var(--ink); }

.card {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  background: var(--celadon);
  border-top: 2px solid rgba(47, 214, 196, 0.4);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: rgba(201, 162, 39, 0.7);
}

.card-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.card-text {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: rgba(243, 239, 230, 0.78);
}

/* ---------- 11. 徽标 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
}

.badge-gold { color: var(--gold-light); background: rgba(201, 162, 39, 0.1); }
.badge-cyan { color: var(--cyan); background: rgba(47, 214, 196, 0.08); }
.badge-clay { color: #F0A98C; background: rgba(193, 80, 46, 0.18); border-color: rgba(193, 80, 46, 0.6); }
.badge-mute { color: var(--mist); background: rgba(138, 154, 160, 0.1); }

/* ---------- 12. 条目列表 ---------- */
.list-rows { border-top: 1px solid var(--line-mute); }

.row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: clamp(12px, 2.4vw, 28px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-mute);
  transition: background-color 0.25s var(--ease);
}

.row:hover { background: rgba(47, 214, 196, 0.05); }

.row-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.row-title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--paper);
}

.row-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mist);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .row { grid-template-columns: auto minmax(0, 1fr); }
  .row-meta { grid-column: 2; white-space: normal; }
}

/* ---------- 13. 时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 214, 196, 0.06));
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-node {
  position: absolute;
  left: -28px;
  top: 9px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.timeline-item[data-current] .timeline-node {
  background: var(--gold);
  border-color: var(--gold);
  animation: nodePulse 2.4s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
  50% { box-shadow: 0 0 0 9px rgba(201, 162, 39, 0); }
}

.timeline-date {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 14. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.filter-btn {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  border: 1px solid rgba(138, 154, 160, 0.35);
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.filter-btn:hover { color: var(--cyan); border-color: rgba(47, 214, 196, 0.55); }

.filter-btn[aria-pressed="true"] {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

[data-filter-item][hidden] { display: none; }

/* ---------- 15. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(16, 27, 51, 0.9), rgba(5, 13, 18, 0.95)),
    repeating-linear-gradient(58deg, rgba(47, 214, 196, 0.06) 0 1px, transparent 1px 26px);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-1x1 { aspect-ratio: 1 / 1; }
.media-3x4 { aspect-ratio: 3 / 4; }
.media-tall { aspect-ratio: 9 / 16; }

.media-cut {
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.media-frame { border: 1px solid rgba(47, 214, 196, 0.2); }

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 16. 显现动效 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
}

.js .section-num[data-reveal].is-visible { transition-delay: 0s; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--ink-deep);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--mist);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 40px);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.footer-mono {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-note {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: rgba(138, 154, 160, 0.95);
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.72);
}

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

.footer-list a {
  font-size: 0.9375rem;
  color: rgba(243, 239, 230, 0.8);
  transition: color 0.24s var(--ease);
}

.footer-list a:hover { color: var(--cyan); }

.footer-service {
  margin-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.95;
  color: rgba(138, 154, 160, 0.95);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 34px;
  border-top: 1px solid rgba(138, 154, 160, 0.18);
}

.legal-line {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.legal-dash {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--gold);
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: 14px; }
  .nav-utility { padding-left: 14px; gap: 10px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 6px var(--gutter) 26px;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line-cyan);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

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

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

  .nav-item { border-bottom: 1px solid rgba(138, 154, 160, 0.16); }

  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.0625rem;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--gold-light);
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 12px;
  }

  .nav-utility {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 0 0;
    border-left: 0;
  }

  .nav-cta {
    width: 100%;
    margin: 18px 0 0;
  }

  body[data-nav-open] { overflow: hidden; }

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

@media (max-width: 560px) {
  .header-shell { min-height: 64px; gap: 12px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { letter-spacing: 0.08em; }
  .section-head { gap: 12px; }
  .filter-count { margin-left: 0; width: 100%; }
}

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

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

  .timeline-item[data-current] .timeline-node { animation: none; }
  .header-progress { transition: none; }
}
