/* ============================================================
   荣一娱乐会馆 · 共享样式 /assets/site.css
   深巷靛夜色底 + 纸张叠层 + 转角折线 + 门牌索引
   ============================================================ */

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

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

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

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

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

a { color: inherit; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brick);
  color: #180A03;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink-deep: #0B1026;
  --ink-navy: #16204A;
  --brick: #F0743A;
  --neon-purple: #C64BE0;
  --neon-pink: #FF5D8F;
  --sign-cream: #F4EDE2;
  --index-blue: #8FA0C8;
  --cyan: #46E0C8;
  --deep-brick: #4A2418;
  --amber: #FFC24B;

  --deep-brick-soft: rgba(74, 36, 24, 0.55);
  --fg: #E8EDFA;
  --fg-soft: #8FA0C8;
  --line: rgba(143, 160, 200, 0.22);
  --line-strong: rgba(143, 160, 200, 0.42);

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-label: "LXGW WenKai", "Yuanti SC", "Kaiti SC", "PingFang SC", cursive;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow-stack: 0 18px 40px rgba(0, 0, 0, 0.45);
  --header-top-h: 44px;
  --header-main-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --step-0: 1.0625rem;
  --step-1: 1.15rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.85rem, 3.4vw, 2.6rem);
  --display: clamp(2.6rem, 7.5vw, 6.5rem);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(120% 78% at 84% -12%, rgba(198, 75, 224, 0.16), transparent 60%),
    radial-gradient(88% 62% at 4% 6%, rgba(240, 116, 58, 0.14), transparent 64%),
    linear-gradient(180deg, #0B1026 0%, #0E1533 52%, #0B1026 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@supports (text-wrap: pretty) {
  body { text-wrap: pretty; }
}

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

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

.section { padding: clamp(52px, 8vw, 104px) 0; }
.section--tight { padding: clamp(32px, 5vw, 60px) 0; }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
  .col-12 { grid-column: span 12; }
  .offset-up { margin-top: -24px; }
  .offset-down { margin-top: 24px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 字体角色 ---------- */
.t-street {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--display);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.t-street__accent { color: var(--brick); }

.t-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-3);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.t-index {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.t-label {
  font-family: var(--font-label);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--amber);
}

/* ---------- 6. 章节头 ---------- */
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-head__index {
  display: block;
  margin-bottom: 0.9em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brick);
}

.section-head__title {
  margin-bottom: 0.5em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--step-3);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.section-head__note {
  color: var(--fg-soft);
  font-size: 1rem;
}

/* ---------- 7. 堆叠面板 / 门牌 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  background: linear-gradient(180deg, rgba(22, 32, 74, 0.94), rgba(11, 16, 38, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-stack);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brick), var(--neon-purple));
  opacity: 0.9;
}

.panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: var(--brick);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.55;
}

.panel--paper {
  background: var(--sign-cream);
  border-color: rgba(26, 20, 8, 0.16);
  color: #1A1408;
}

.panel--paper .t-title,
.panel--paper .section-head__title { color: #1A1408; }

.panel--paper .section-head__note,
.panel--paper .t-index { color: #6B5B44; }

.panel--paper .panel__note { color: #6B5B44; }

.panel--live::before { background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple)); }

.panel__note {
  margin-top: 0.9em;
  color: var(--fg-soft);
  font-size: 0.92rem;
}

.door-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  padding: 0.28em 0.62em;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--sign-cream);
  border-left: 3px solid var(--brick);
  border-radius: var(--radius);
}

.door-tag strong {
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #7A2F0F;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  min-height: 26px;
  padding: 0.2em 0.66em;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-purple);
  background: rgba(198, 75, 224, 0.12);
  border: 1px solid rgba(198, 75, 224, 0.46);
  border-radius: 999px;
}

.tag--live {
  color: var(--cyan);
  background: rgba(70, 224, 200, 0.12);
  border-color: rgba(70, 224, 200, 0.46);
}

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.tag--warn {
  color: var(--amber);
  background: rgba(255, 194, 75, 0.12);
  border-color: rgba(255, 194, 75, 0.46);
}

/* ---------- 8. 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.62em 1.12em;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s linear,
              color 0.18s linear, border-color 0.18s linear, box-shadow 0.18s linear;
}

.btn--knock {
  background: var(--brick);
  border-color: var(--brick);
  color: #180A03;
  box-shadow: 0 8px 20px rgba(240, 116, 58, 0.24);
}

.btn--knock:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn--line:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--sign-cream);
  border-color: var(--sign-cream);
  color: var(--ink-deep);
}

.btn--ghost:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  color: var(--sign-cream);
  border-bottom: 1px solid rgba(244, 237, 226, 0.3);
  transition: color 0.18s linear, border-color 0.18s linear;
}

.link-more::after {
  content: "↗";
  color: var(--brick);
  transition: transform 0.18s var(--ease);
}

.link-more:hover {
  color: var(--neon-pink);
  border-bottom-color: var(--neon-pink);
}

.link-more:hover::after { transform: translate(2px, -2px); }

/* ---------- 9. 面包屑 ---------- */
.crumb {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.crumb a {
  text-decoration: none;
  transition: color 0.18s linear;
}

.crumb a:hover { color: var(--neon-pink); }

.crumb__sep {
  margin: 0 0.55em;
  opacity: 0.55;
}

.crumb [aria-current="page"] { color: var(--sign-cream); }

/* ---------- 10. 正文容器 ---------- */
.prose {
  max-width: 74ch;
}

.prose > p,
.prose > ul,
.prose > ol,
.prose > blockquote { max-width: 36em; }

.prose p { margin-bottom: 1.15em; }

.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 2em 0 0.7em;
}

.prose h2 { font-size: var(--step-2); }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.08rem; }

.prose > :first-child { margin-top: 0; }

.prose ul,
.prose ol {
  margin-bottom: 1.15em;
  padding-left: 1.35em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.45em; }

.prose blockquote {
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid var(--neon-purple);
  color: var(--fg-soft);
}

.prose a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 194, 75, 0.5);
}

.prose a:hover {
  color: var(--neon-pink);
  border-bottom-color: var(--neon-pink);
}

.prose code {
  padding: 0.1em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: rgba(143, 160, 200, 0.16);
  border-radius: var(--radius);
}

/* ---------- 11. 图片容器基础规则 ---------- */
.figure-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brick), var(--neon-purple));
  opacity: 0.7;
}

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

.figure-frame--21-9 { aspect-ratio: 21 / 9; }
.figure-frame--16-9 { aspect-ratio: 16 / 9; }
.figure-frame--4-3 { aspect-ratio: 4 / 3; }
.figure-frame--3-4 { aspect-ratio: 3 / 4; }
.figure-frame--1-1 { aspect-ratio: 1 / 1; }

.figure-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.3em 0.7em;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-deep);
  background: var(--sign-cream);
}

.figure-frame__cap {
  margin-top: 0.7em;
  font-size: 0.86rem;
  color: var(--fg-soft);
}

/* ---------- 12. 显现动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

[data-section].is-live {
  /* 章节点亮：只改折线与索引色，不做位移 */
  border-color: rgba(240, 116, 58, 0.4);
}

/* ---------- 13. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 0.65em 1em;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-deep);
  background: var(--sign-cream);
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- 14. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 16, 38, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-top {
  height: var(--header-top-h);
  overflow: hidden;
  background: var(--ink-navy);
  border-bottom: 1px solid var(--line);
  opacity: 1;
  transition: height 0.3s var(--ease), opacity 0.24s linear, border-color 0.24s linear;
}

.site-header.is-condensed .header-top {
  height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-top-h);
}

.header-brandline {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
}

.header-brandline__mark {
  font-weight: 700;
  color: var(--sign-cream);
}

.header-brandline__sep { color: var(--brick); }

.header-brandline__sub { font-family: var(--font-label); }

.header-here {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.header-here__value {
  padding: 0.12em 0.5em;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  background: var(--amber);
  border-radius: var(--radius);
}

.header-main {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 32, 74, 0.94), rgba(11, 16, 38, 0.96));
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-main-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  color: var(--fg);
}

.brand__plate {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 900;
  color: #180A03;
  background: var(--brick);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(240, 116, 58, 0.28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__index {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.nav { position: relative; z-index: 2; }

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

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  padding: 0.4em 0.6em;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: #C9D4EE;
  border-bottom: 2px solid transparent;
  transition: color 0.18s linear, background-color 0.18s linear, border-color 0.18s linear;
}

.nav__link:hover {
  color: var(--sign-cream);
  background: rgba(255, 255, 255, 0.05);
}

.nav__door {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--index-blue);
}

.nav__link[aria-current="page"] {
  color: var(--sign-cream);
}

.nav__link[aria-current="page"] .nav__door { color: var(--amber); }

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 2px;
  background: var(--brick);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.4em 0.72em;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s linear, color 0.18s linear;
}

.nav-toggle:hover {
  border-color: var(--brick);
  color: var(--sign-cream);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brick);
  transition: transform 0.24s var(--ease), opacity 0.18s linear;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(143, 160, 200, 0.18);
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brick), var(--neon-purple), var(--neon-pink));
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  color: #F0E4D6;
  background-image:
    radial-gradient(120% 120% at 10% 0%, rgba(240, 116, 58, 0.18), transparent 58%),
    linear-gradient(180deg, #1A0F0B 0%, var(--deep-brick-soft) 42%, #0B1026 100%);
  background-color: #140D0A;
  border-top: 3px solid var(--brick);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: clamp(38px, 6vw, 68px);
  padding-bottom: clamp(30px, 5vw, 56px);
}

@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 32px;
  }
}

.footer__plate {
  margin-bottom: 0.4em;
  padding-left: 0.55em;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--sign-cream);
  border-left: 4px solid var(--brick);
}

.footer__line {
  max-width: 30ch;
  margin-bottom: 1em;
  font-family: var(--font-label);
  font-size: 0.95rem;
  color: #D8C3B0;
}

.footer__icp {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #A88F7E;
}

.footer__title {
  margin-bottom: 0.85em;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer__list {
  display: grid;
  gap: 0.5em;
}

.footer__list a {
  font-size: 0.94rem;
  text-decoration: none;
  color: #EADFD3;
  border-bottom: 1px solid transparent;
  transition: color 0.18s linear, border-color 0.18s linear;
}

.footer__list a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.footer__addr {
  max-width: 34ch;
  margin-top: 0.9em;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #B29A8A;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 30px;
  font-size: 0.78rem;
  color: #A88F7E;
  border-top: 1px solid rgba(244, 237, 226, 0.14);
}

.footer__copy,
.footer__note { margin: 0; }

.footer__note { max-width: 46ch; }

/* ---------- 16. 平板与手机 ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 18px;
    background: rgba(11, 16, 38, 0.985);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s linear;
  }

  .nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

  .nav__link {
    padding: 0.75em 0.8em;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .nav__link[aria-current="page"] {
    background: rgba(240, 116, 58, 0.12);
    border-left-color: var(--brick);
  }

  .nav__link[aria-current="page"]::after { display: none; }
}

@media (max-width: 640px) {
  :root { --header-main-h: 60px; }

  .brand__plate {
    width: 34px;
    height: 34px;
    font-size: 0.84rem;
  }

  .brand__name { font-size: 0.98rem; }

  .header-brandline__sub { display: none; }

  .nav-toggle__text { display: none; }

  .header-actions .btn--knock {
    padding-inline: 0.85em;
    font-size: 0.88rem;
  }
}

@media (max-width: 400px) {
  .brand__index { display: none; }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .btn--knock:hover,
  .btn--line:hover,
  .btn--ghost:hover { transform: none; }

  .link-more:hover::after { transform: none; }
}
