/* ============================================================
   皇家国际中心 · 共享站点样式 /assets/site.css
   夜间展厅配色体系 · 页头 / 页脚 / 通用组件
   ============================================================ */

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

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

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

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

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

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

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

input,
textarea,
select {
  font: inherit;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --navy: #08111f;
  --navy-soft: #101d33;
  --gold: #c9a45c;
  --gold-bright: #e7ce97;
  --paper: #f4efe6;
  --purple: #6c4d8e;
  --jade: #2f8f86;
  --line: #8d7547;
  --muted: #8d9aad;
  --ink: #04070d;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-cond: "Barlow Condensed", "Oswald", "Arial Narrow", "PingFang SC", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;

  /* 尺寸 */
  --shell: 1180px;
  --gutter: clamp(18px, 5vw, 56px);
  --radius: 18px;
  --radius-sm: 10px;
  --base-size: 15px;

  /* 其他 */
  --shadow-soft: 0 24px 64px -34px rgba(4, 7, 13, 0.92);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 960px) {
  :root {
    --base-size: 16px;
  }
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--base-size);
  font-weight: 400;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--navy);
  background-image:
    radial-gradient(1100px 620px at 84% -10%, rgba(201, 164, 92, 0.13), transparent 62%),
    radial-gradient(860px 540px at -8% 12%, rgba(108, 77, 142, 0.17), transparent 66%),
    radial-gradient(720px 460px at 50% 108%, rgba(47, 143, 134, 0.1), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--paper);
}

h1 {
  font-size: clamp(28px, 5.2vw, 44px);
}
h2 {
  font-size: clamp(23px, 3.4vw, 32px);
}
h3 {
  font-size: clamp(18px, 2.2vw, 22px);
}
h4 {
  font-size: 17px;
}

p {
  line-height: 1.85;
}

strong {
  font-weight: 600;
  color: var(--gold-bright);
}

::selection {
  background: rgba(201, 164, 92, 0.34);
  color: var(--paper);
}

#main-content {
  display: block;
  scroll-margin-top: 96px;
}

/* ---------- 4. 聚焦态 ---------- */
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

a:focus-visible,
button:focus-visible {
  outline-offset: 3px;
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #14100a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(-180%);
  transition: transform 0.24s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- 6. 容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 7. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(141, 117, 71, 0.26);
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.86), rgba(8, 17, 31, 0.34));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(8, 17, 31, 0.96);
  border-bottom-color: rgba(201, 164, 92, 0.42);
  box-shadow: 0 20px 38px -30px rgba(0, 0, 0, 0.98);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  position: relative;
}

@media (min-width: 960px) {
  .site-header__inner {
    min-height: 82px;
    gap: 28px;
    flex-wrap: nowrap;
  }
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 4px 2px;
  border-radius: 12px;
}

.brand__crest {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 164, 92, 0.58);
  border-radius: 9px;
  background:
    linear-gradient(150deg, rgba(201, 164, 92, 0.28), rgba(108, 77, 142, 0.24));
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 18px -8px rgba(231, 206, 151, 0.7);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__latin {
  font-family: var(--font-cond);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

@media (min-width: 960px) {
  .brand__crest {
    width: 42px;
    height: 42px;
    font-size: 19px;
    border-radius: 11px;
  }
  .brand__name {
    font-size: 18px;
  }
  .brand__latin {
    font-size: 10.5px;
    max-width: 210px;
  }
}

/* 汉堡按钮 */
.nav-toggle {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(141, 117, 71, 0.5);
  border-radius: 12px;
  background: rgba(16, 29, 51, 0.72);
  color: var(--paper);
  transition: border-color 0.22s ease, background 0.22s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.12);
}

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

.nav-toggle__bars > span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold-bright);
  transition: transform 0.26s var(--ease), opacity 0.18s ease;
}

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.18);
}

.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(2) {
  opacity: 0;
}

.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

/* 导航 */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__item {
  display: block;
}

.site-nav__link {
  display: block;
  position: relative;
  padding: 13px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 9px 9px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 230, 0.82);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--gold-bright);
  background: rgba(201, 164, 92, 0.08);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-bright);
  border-left-color: var(--gold);
  background: rgba(201, 164, 92, 0.12);
}

.site-header__cta {
  width: 100%;
  min-height: 46px;
}

/* 移动端抽屉 */
@media (max-width: 959px) {
  .js .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 16px var(--gutter) 26px;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.985), rgba(4, 7, 13, 0.995));
    border-bottom: 1px solid rgba(201, 164, 92, 0.4);
    box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s ease, transform 0.26s var(--ease), visibility 0.26s;
  }

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

/* 桌面端横排 */
@media (min-width: 960px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.2vw, 32px);
    width: auto;
    flex: 1 1 auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(12px, 1.8vw, 26px);
  }

  .site-nav__link {
    padding: 10px 2px;
    border-left: 0;
    border-radius: 0;
    font-size: 14.5px;
  }

  .site-nav__link:hover {
    background: none;
  }

  .site-nav__link[aria-current="page"] {
    background: none;
    border-left-color: transparent;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s var(--ease);
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-header__cta {
    width: auto;
    min-height: 40px;
    padding: 9px 18px;
    font-size: 13.5px;
  }
}

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--jade));
  pointer-events: none;
  will-change: transform;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 9vw, 112px);
  border-top: 1px solid rgba(141, 117, 71, 0.32);
  background:
    radial-gradient(780px 400px at 20% -26%, rgba(201, 164, 92, 0.16), transparent 68%),
    radial-gradient(640px 360px at 88% 2%, rgba(108, 77, 142, 0.22), transparent 72%),
    linear-gradient(180deg, #071021 0%, #04070d 74%);
  color: rgba(244, 239, 230, 0.78);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(38px, 6vw, 70px) clamp(22px, 3.4vw, 32px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 40px);
}

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

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
    gap: clamp(30px, 3.6vw, 48px);
  }
}

.footer-brand__crest {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 164, 92, 0.55);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(201, 164, 92, 0.26), rgba(108, 77, 142, 0.3));
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 22px -10px rgba(231, 206, 151, 0.8);
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1.4;
}

.footer-brand__line {
  margin-top: 9px;
  max-width: 26ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-cond);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}

.footer-col__list {
  display: grid;
  gap: 1px;
}

.footer-link {
  display: inline-block;
  padding: 7px 0;
  font-size: 14px;
  color: rgba(244, 239, 230, 0.76);
  transition: color 0.2s ease, transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--gold-bright);
  transform: translateX(2px);
}

.footer-contact__row {
  display: grid;
  gap: 3px;
  padding-block: 9px;
  border-bottom: 1px dashed rgba(141, 117, 71, 0.24);
}

.footer-contact__row:last-of-type {
  border-bottom: 0;
}

.footer-contact__label {
  font-family: var(--font-cond);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 26px;
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: 18px;
  border-top: 1px solid rgba(141, 117, 71, 0.24);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--muted);
}

.footer-meta__copy,
.footer-meta__addr {
  margin: 0;
}

/* ---------- 9. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  transition: transform 0.2s var(--ease), background 0.24s ease,
    border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #b58c41);
  color: #14100a;
  box-shadow: 0 14px 28px -18px rgba(201, 164, 92, 0.95);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 18px 32px -16px rgba(231, 206, 151, 0.72);
}

.btn--ghost {
  border-color: rgba(201, 164, 92, 0.52);
  background: rgba(201, 164, 92, 0.07);
  color: var(--gold-bright);
}

.btn--ghost:hover {
  border-color: var(--gold-bright);
  background: rgba(201, 164, 92, 0.16);
}

.btn--quiet {
  border-color: rgba(141, 154, 173, 0.36);
  background: rgba(16, 29, 51, 0.66);
  color: var(--paper);
}

.btn--quiet:hover {
  border-color: rgba(47, 143, 134, 0.72);
  background: rgba(47, 143, 134, 0.2);
  color: #d9f2ee;
}

.btn--block {
  width: 100%;
}

/* ---------- 10. 文本工具 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--gold), rgba(201, 164, 92, 0));
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- 11. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(141, 117, 71, 0.5);
  border-radius: 999px;
  background: rgba(201, 164, 92, 0.08);
  font-family: var(--font-cond);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--gold-bright);
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.tag--purple {
  border-color: rgba(108, 77, 142, 0.66);
  background: rgba(108, 77, 142, 0.22);
  color: #cbb6e4;
}

.tag--jade {
  border-color: rgba(47, 143, 134, 0.6);
  background: rgba(47, 143, 134, 0.18);
  color: #96ded6;
}

.tag--muted {
  border-color: rgba(141, 154, 173, 0.34);
  background: rgba(141, 154, 173, 0.08);
  color: var(--muted);
}

/* ---------- 12. 分隔线 ---------- */
.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(20px, 3vw, 34px);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.72), rgba(201, 164, 92, 0));
}

/* ---------- 13. 面包屑 ---------- */
.breadcrumb {
  padding-block: 16px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(141, 117, 71, 0.7);
}

.breadcrumb__link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--gold-bright);
}

.breadcrumb__current {
  color: var(--gold);
}

/* ---------- 14. 段落与网格 ---------- */
.section {
  padding-block: clamp(34px, 5.6vw, 72px);
}

.section__head {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section__title {
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.3;
}

.section__lede {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.stack > * + * {
  margin-top: var(--stack-gap, 14px);
}

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

.grid--2,
.grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 15. Bento 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(141, 117, 71, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(16, 29, 51, 0.94), rgba(8, 17, 31, 0.94));
  box-shadow: var(--shadow-soft);
}

/* ---------- 16. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(141, 117, 71, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 92% at 18% 0%, rgba(108, 77, 142, 0.36), transparent 60%),
    radial-gradient(100% 82% at 92% 100%, rgba(201, 164, 92, 0.22), transparent 58%),
    linear-gradient(160deg, #16233a, #0a1424);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(141, 154, 173, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 154, 173, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.55;
  pointer-events: none;
}

.media > img,
.media > picture,
.media > video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.52);
}

.media__frame {
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(201, 164, 92, 0.24);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

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

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media__caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 17. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s var(--ease) var(--reveal-delay, 0ms),
    transform 0.65s var(--ease) var(--reveal-delay, 0ms);
}

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

/* ---------- 18. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .footer-link:hover {
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}
