/* =========================================================
   大发指南 · /assets/site.css
   共享外壳：reset / 设计变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================= */

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

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

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

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

a { color: inherit; }

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

button { font: inherit; color: inherit; }

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

/* ---------- 2. 设计变量 ---------- */
:root {
  --jade: #0E6F6B;
  --ink: #123B32;
  --ink-deep: #071F1B;
  --cinnabar: #D9481F;
  --paper: #F4EFE6;
  --paper-white: #FBF8F0;
  --jade-soft: #CFE6E1;
  --mist: #D8D2C4;
  --gray: #6D7A72;
  --gold: #C9A227;

  --line: rgba(18, 59, 50, .16);
  --line-strong: rgba(18, 59, 50, .34);
  --line-light: rgba(251, 248, 240, .18);
  --line-pale: rgba(251, 248, 240, .09);

  --font-display: "HarmonyOS Sans SC", "Alibaba PuHuiTi 105", "Source Han Sans SC",
                  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Sans SC", "HarmonyOS Sans SC", "PingFang SC",
               "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --gap: clamp(16px, 2.2vw, 30px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
html, body { min-height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.78;
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 2em;
  font-size: clamp(22px, 2.4vw, 30px);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: clamp(18px, 1.8vw, 21px);
}
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--jade);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { font-weight: 800; }

/* ---------- 4. 工具类 ---------- */
.container,
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.mono {
  font-family: var(--font-mono);
  font-size: .82em;
  letter-spacing: .08em;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink-deep);
  color: var(--paper-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 1px;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 5. 顶部滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: transparent;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--jade) 0%, var(--gold) 55%, var(--cinnabar) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}

.masthead { background: var(--paper); }

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  background: var(--jade);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--paper-white);
  border-radius: 1px;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 11px;
  height: 11px;
  background: var(--cinnabar);
  border: 2px solid var(--paper);
}
.brand__text { display: block; min-width: 0; }
.brand__wordmark {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ink);
}
.brand__tagline {
  display: block;
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .26em;
  color: var(--jade);
}

/* 工具组 */
.masthead__utils {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.util-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.util-link:hover,
.util-link:focus-visible {
  background: var(--paper-white);
  border-color: var(--mist);
  color: var(--jade);
}
.util-link[aria-current="page"] {
  border-color: var(--jade);
  color: var(--jade);
  background: var(--paper-white);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--paper-white);
  border: 1px solid var(--ink);
  border-radius: 1px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.nav-toggle:hover { background: var(--jade); border-color: var(--jade); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background .18s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-header[data-open] .nav-toggle { background: var(--cinnabar); border-color: var(--cinnabar); color: var(--ink-deep); }
.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 下层导航条 */
.navbar {
  background: var(--ink);
  color: var(--paper-white);
  border-top: 1px solid var(--ink-deep);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.primary-nav { min-width: 0; }
.primary-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.primary-nav__item { display: flex; }
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 15px 17px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  color: rgba(251, 248, 240, .86);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.primary-nav__link:hover {
  color: var(--paper-white);
  background: rgba(251, 248, 240, .09);
  border-bottom-color: var(--gold);
}
.primary-nav__link[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  border-bottom-color: var(--cinnabar);
}

.nav-tag {
  display: inline-block;
  padding: 1px 5px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  background: var(--cinnabar);
  color: var(--ink-deep);
  border-radius: 1px;
}
.primary-nav__link[aria-current="page"] .nav-tag {
  background: var(--ink);
  color: var(--paper-white);
}

.navbar__hint {
  display: flex;
  align-items: center;
  gap: .6em;
  flex: none;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(207, 230, 225, .6);
}
.navbar__hint::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

@media (max-width: 1080px) {
  .primary-nav__link { padding: 14px 12px; font-size: 14px; }
  .navbar__hint { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .navbar {
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    transition: max-height .3s var(--ease);
  }
  .site-header[data-open] .navbar {
    max-height: 34rem;
    border-top: 1px solid var(--ink-deep);
  }
  .navbar__inner { display: block; padding-block: 8px 14px; }
  .primary-nav__list { display: block; }
  .primary-nav__item { display: block; }
  .primary-nav__link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(251, 248, 240, .14);
  }
  .primary-nav__link:hover { border-bottom-color: rgba(251, 248, 240, .14); }
  .primary-nav__link[aria-current="page"] {
    background: rgba(251, 248, 240, .07);
    color: var(--paper-white);
    border-left: 3px solid var(--cinnabar);
    border-bottom: 1px solid rgba(251, 248, 240, .14);
    padding-left: 12px;
  }
  .primary-nav__link[aria-current="page"] .nav-tag {
    background: var(--cinnabar);
    color: var(--ink-deep);
  }
}

@media (max-width: 620px) {
  .masthead__inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 11px;
    gap: 12px;
  }
  .brand { flex: 1 1 auto; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__wordmark { font-size: 19px; }
  .brand__tagline { font-size: 10px; letter-spacing: .2em; }
  .masthead__utils {
    flex: 1 1 100%;
    justify-content: space-between;
    padding-top: 9px;
    border-top: 1px dashed var(--line);
  }
  .util-link { font-size: 12.5px; padding: 6px 9px; }
  .nav-toggle { padding: 8px 11px; font-size: 12px; }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--ink-deep);
  color: var(--paper-white);
  border-top: 4px solid var(--jade);
}
.footer__inner {
  padding-block: clamp(40px, 5.5vw, 74px) 26px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line-light);
}

.footer__brand { min-width: 0; }
.footer__mark {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border: 1.5px solid var(--jade);
}
.footer__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid var(--gold);
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .06em;
}
.footer__statement {
  margin-top: 14px;
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(251, 248, 240, .72);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 40px);
}
.footer__col { min-width: 0; }
.footer__col-title {
  margin-bottom: 15px;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  color: var(--gold);
}
.footer__list { display: grid; gap: 9px; }
.footer__link {
  display: inline-block;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(251, 248, 240, .82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer__link:hover,
.footer__link:focus-visible {
  color: var(--paper-white);
  border-bottom-color: var(--cinnabar);
}

.footer__contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px 22px;
  padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line-light);
}
.footer__contact-title {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .2em;
  color: var(--gold);
  white-space: nowrap;
}
.footer__contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
}
.footer__contact-item {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(251, 248, 240, .86);
}
.footer__contact-key {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(207, 230, 225, .55);
}
.footer__contact .footer__note {
  grid-column: 1 / -1;
  max-width: 64ch;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(251, 248, 240, .55);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-top: 22px;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: rgba(251, 248, 240, .5);
}
.footer__icp {
  display: inline;
  margin-left: 12px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer__legal-link {
  padding-bottom: 1px;
  color: rgba(251, 248, 240, .62);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 248, 240, .22);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer__legal-link:hover,
.footer__legal-link:focus-visible {
  color: var(--paper-white);
  border-bottom-color: var(--jade-soft);
}

@media (max-width: 860px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__contact { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .footer__contact-title { line-height: 1.4; }
}
@media (max-width: 560px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .footer__wordmark { font-size: 21px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .footer__icp { margin-left: 0; display: block; margin-top: 4px; }
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.4em;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none;
  background: var(--paper-white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--primary {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--paper-white);
}
.btn--accent {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--ink-deep);
}
.btn--ghost { background: transparent; }
.btn--sm { padding: .55em 1em; font-size: 13.5px; }

/* ---------- 9. 纸片卡片 ---------- */
.paper {
  position: relative;
  background: var(--paper-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 28px);
}
.paper--lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.paper--lift:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(18, 59, 50, .12);
}
.paper--tag::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 42px;
  height: 4px;
  background: var(--cinnabar);
}

/* ---------- 10. 图例标签 / 章节编号 / 路径线 ---------- */
.legend {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--jade-soft);
  border: 1px solid rgba(18, 59, 50, .22);
  border-radius: 1px;
}
.legend--accent {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--ink-deep);
}
.legend--line { background: transparent; }

.section-marker {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--gold);
}

.route-line {
  position: relative;
  height: 1px;
  margin-block: clamp(20px, 3vw, 34px);
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 15px);
}
.route-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb { padding-block: 18px 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .55em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gray);
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--mist);
}
.breadcrumb__link {
  color: var(--gray);
  text-decoration: none;
  transition: color .18s var(--ease);
}
.breadcrumb__link:hover,
.breadcrumb__link:focus-visible { color: var(--jade); }
.breadcrumb__item[aria-current="page"] { color: var(--ink); }

/* ---------- 12. 网格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 13. 图像容器（页面阶段放图） ---------- */
.figure { display: block; margin: 0; }
.figure__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(14, 111, 107, .1) 0 10px, transparent 10px 21px),
    var(--jade-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.figure__frame > img,
.figure__frame > picture,
.figure__frame > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(251, 248, 240, .55);
  pointer-events: none;
}
.figure__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .08em;
  color: var(--gray);
}
.figure--4x3 .figure__frame { aspect-ratio: 4 / 3; }
.figure--1x1 .figure__frame { aspect-ratio: 1 / 1; }
.figure--3x4 .figure__frame { aspect-ratio: 3 / 4; }
.figure--21x9 .figure__frame { aspect-ratio: 21 / 9; }
.figure--plain .figure__frame {
  background: var(--paper-white);
  border-style: dashed;
}
.figure--plain .figure__frame::after { border-color: var(--line); }

/* ---------- 14. 滚动显现（配合 site.js） ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.js-reveal [data-reveal="line"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ease);
}
.js-reveal [data-reveal="line"].is-visible { transform: scaleX(1); }

/* ---------- 15. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal [data-reveal],
  .js-reveal [data-reveal="line"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
