/* ============================================================
   28圈中心 · 夜航导航台 / 共享样式
   ============================================================ */

:root {
  --ink-900: #07111F;
  --ink-800: #0D1B2E;
  --ink-700: #102338;
  --line: #2D4057;
  --line-soft: rgba(45, 64, 87, 0.7);
  --cyan: #26E0D6;
  --orange: #FF8A3D;
  --paper: #F4E9D6;
  --paper-ink: #2A1B16;
  --violet: #6E6A86;
  --mist: #A8D8D3;
  --wine: #C4472F;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --cut: 22px;

  --shadow-deep: 0 30px 70px -38px rgba(0, 0, 0, 0.95);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink-900);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.35vw + 14px, 17px);
  font-weight: 450;
  line-height: 1.78;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58vw 58vw at 10% 4%, rgba(38, 224, 214, 0.11), transparent 62%),
    radial-gradient(46vw 46vw at 88% 2%, rgba(255, 138, 61, 0.09), transparent 60%),
    radial-gradient(72vw 72vw at 68% 96%, rgba(110, 106, 134, 0.16), transparent 66%);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--paper);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.32rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cyan);
  text-decoration-color: rgba(38, 224, 214, 0.45);
  text-underline-offset: 3px;
}

a:hover { color: #6ff4ec; }

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

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

/* ---------- 布局基元 ---------- */

.container {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 6vw, 96px);
}

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.lead {
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.75;
  color: var(--mist);
  max-width: 62ch;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(28px, 4vw, 48px) 0;
}

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

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

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

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

@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr); }
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.68rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(38, 224, 214, 0.3);
  background: rgba(38, 224, 214, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ---------- 面板 ---------- */

.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, var(--ink-800), #0A1626 90%);
  color: var(--mist);
}

.panel--cut {
  border: 0;
  border-radius: 0;
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut))
  );
  background:
    linear-gradient(150deg, rgba(38, 224, 214, 0.08), transparent 46%),
    linear-gradient(170deg, var(--ink-700), var(--ink-800));
}

.panel--paper {
  background: var(--paper);
  border-color: rgba(42, 27, 22, 0.18);
  color: var(--paper-ink);
}

.panel--paper h1,
.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: var(--paper-ink); }

.panel--paper a { color: #A33B22; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.74rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--orange), #FF6A2A);
  color: #1A0E08;
  box-shadow: 0 14px 32px -16px rgba(255, 138, 61, 0.9);
}

.btn--primary:hover {
  color: #1A0E08;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -16px rgba(255, 138, 61, 0.95);
}

.btn--ghost {
  background: rgba(38, 224, 214, 0.06);
  border-color: rgba(38, 224, 214, 0.42);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(38, 224, 214, 0.14);
  color: #9FFBF4;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
}

/* ---------- 面包屑 ---------- */

.breadcrumb { padding-block: 18px 0; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--violet);
}

.breadcrumb-item { display: inline-flex; align-items: center; }

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.breadcrumb-item a {
  color: var(--mist);
  text-decoration: none;
}

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

/* ---------- 图片容器基础规则 ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 120% at 18% 8%, rgba(38, 224, 214, 0.16), transparent 58%),
    radial-gradient(90% 90% at 88% 92%, rgba(255, 138, 61, 0.12), transparent 62%),
    linear-gradient(160deg, var(--ink-800), var(--ink-900));
}

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

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media-frame {
  padding: 10px;
  border: 1px dashed rgba(45, 64, 87, 0.95);
  border-radius: var(--radius-lg);
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 200;
  padding: 0.62rem 1.15rem;
  border-radius: 0 0 14px 14px;
  background: var(--cyan);
  color: #04121A;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #04121A;
}

/* ============================================================
   头部：悬浮胶囊浮岛
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 12px clamp(12px, 3vw, 28px) 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% + 8px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, 0.94) 0%,
    rgba(7, 17, 31, 0.74) 62%,
    rgba(7, 17, 31, 0) 100%
  );
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.96), rgba(9, 20, 35, 0.88));
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(168, 216, 211, 0.09);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

/* 品牌标记 */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 32% 28%, rgba(38, 224, 214, 0.34), transparent 72%);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(38, 224, 214, 0.45);
}

.brand-mark-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.85);
}

.brand-text {
  display: block;
}

.brand-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--paper);
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--violet);
}

/* 移动目录按钮 */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(45, 64, 87, 0.95);
  border-radius: var(--radius-pill);
  background: rgba(38, 224, 214, 0.07);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover {
  color: var(--cyan);
  border-color: rgba(38, 224, 214, 0.5);
  background: rgba(38, 224, 214, 0.12);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 11px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { bottom: 0; }

.site-header[data-open] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(4.75px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bars span:nth-child(2) {
  transform: translateY(-4.75px) rotate(-45deg);
}

.nav-toggle-label { line-height: 1; }

/* 导航 */

.primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 27, 46, 0.99), rgba(7, 17, 31, 0.99));
  box-shadow: 0 34px 64px -32px #000;
}

.site-header[data-open] .primary-nav {
  display: flex;
  animation: navDrop 0.22s ease both;
}

.primary-nav[data-open] {
  display: flex;
}

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

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(38, 224, 214, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(38, 224, 214, 0.12);
  box-shadow: inset 0 0 0 1px rgba(38, 224, 214, 0.38);
}

.nav-link[aria-current="page"]::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.nav-cta {
  width: 100%;
  margin-top: 4px;
}

/* 阅读进度 */

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 68%, var(--wine) 100%);
  box-shadow: 0 0 14px rgba(38, 224, 214, 0.55);
}

/* ---------- 桌面导航 ---------- */

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

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 0;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }

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

  .nav-link {
    width: auto;
    padding: 0.55rem 0.72rem;
    font-size: clamp(0.8rem, 0.42vw + 0.62rem, 0.9rem);
    white-space: nowrap;
  }

  .nav-cta {
    width: auto;
    margin-top: 0;
    margin-left: 10px;
    white-space: nowrap;
  }
}

/* ============================================================
   页脚：控制台接线图
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0A1626 0%, var(--ink-900) 58%);
}

.footer-orbit {
  position: absolute;
  right: -130px;
  top: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 1px solid rgba(45, 64, 87, 0.75);
  pointer-events: none;
}

.footer-orbit::before {
  content: "";
  position: absolute;
  inset: 58px;
  border-radius: 50%;
  border: 1px dashed rgba(38, 224, 214, 0.22);
}

.footer-orbit::after {
  content: "";
  position: absolute;
  inset: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.2), transparent 70%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(44px, 5.5vw, 80px) clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
    gap: clamp(32px, 5vw, 80px);
  }
}

.footer-brand-mark {
  display: inline-block;
  font-size: clamp(1.32rem, 2vw, 1.62rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--paper);
  text-decoration: none;
}

.footer-brand-mark:hover { color: var(--cyan); }

.footer-brand-sub {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.footer-intro {
  margin: 0 0 1.4rem;
  max-width: 36ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--mist);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

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

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

.footer-col-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}

.footer-col-label::before {
  content: attr(data-num);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.footer-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  color: var(--mist);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-link:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.footer-link[aria-current="page"] { color: var(--cyan); }

.footer-link[aria-current="page"]::before {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* 联系区 */

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "list"
    "note";
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(34px, 4.5vw, 58px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px dashed rgba(45, 64, 87, 0.9);
}

.footer-contact .footer-col-label {
  grid-area: label;
  margin: 0;
}

.contact-list {
  grid-area: list;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
  margin: 0;
  padding: 0;
}

.contact-item { min-width: 0; }

.contact-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.contact-value {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  grid-area: note;
  margin: 0;
  max-width: 68ch;
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--violet);
}

@media (min-width: 860px) {
  .footer-contact {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      "label list"
      ".     note";
    align-items: start;
  }
}

/* 底部条 */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(28px, 3.6vw, 44px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid rgba(45, 64, 87, 0.7);
}

.footer-fine {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--violet);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-mini {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease;
}

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

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.to-top::before {
  content: "↑";
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1;
  color: var(--orange);
}

.to-top:hover {
  color: var(--cyan);
  border-color: rgba(38, 224, 214, 0.5);
  background: rgba(38, 224, 214, 0.08);
  box-shadow: 0 0 0 4px rgba(38, 224, 214, 0.07);
}

/* ============================================================
   滚动显现协议
   ============================================================ */

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ============================================================
   动效降级
   ============================================================ */

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

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

  .scroll-progress { box-shadow: none; }
}
