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

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

body,
h1, h2, h3, h4, h5, h6,
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%; }

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

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

/* ===== 02. 变量 ===== */
:root {
  --ink-900: #0E0B1F;
  --ink-800: #141B3A;
  --violet: #8B5CF6;
  --violet-soft: #C4B5FD;
  --gold: #D4A63A;
  --gold-light: #F2D27A;
  --jade: #16A085;
  --orange: #FF8A3D;
  --paper: #F8F5EE;
  --slate: #4B5563;
  --glass: rgba(255, 255, 255, 0.10);
  --glass-line: rgba(255, 255, 255, 0.16);

  --font-head: "Noto Serif SC", "Songti SC", STSong, serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --rail-w: 240px;
  --bar-h: 64px;
  --shell-max: 1120px;
  --radius-glass: 22px;
  --radius-solid: 10px;
  --dur: 0.24s;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== 03. 中文排版与页面基底 ===== */
html, body { min-height: 100%; }

body {
  padding-left: var(--rail-w);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(70% 50% at 86% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(52% 42% at 4% 96%, rgba(22, 160, 133, 0.14), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(34px, 4.4vw, 64px); }
h2 { font-size: clamp(26px, 3vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

p { max-width: 66ch; }

::selection {
  background: rgba(212, 166, 58, 0.42);
  color: #fff;
}

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

#main-content {
  display: block;
  min-height: 52vh;
  outline: none;
  scroll-margin-top: 16px;
}

/* ===== 04. 跳转链接 ===== */
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #1A1730;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

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

/* ===== 05. 侧边轨道导航 ===== */
.stage-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
  padding: 26px 18px 18px 20px;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(180deg, rgba(20, 27, 58, 0.98) 0%, rgba(16, 20, 44, 0.98) 55%, rgba(14, 11, 31, 0.98) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px);
  border-right: 1px solid rgba(196, 181, 253, 0.18);
  box-shadow: 18px 0 48px -34px rgba(139, 92, 246, 0.9);
}

.rail-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--violet) 0%, var(--gold) 44%, var(--jade) 76%, var(--orange) 100%);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.85), 0 0 36px rgba(212, 166, 58, 0.35);
  animation: beam-breathe 6.5s ease-in-out infinite;
}

@keyframes beam-breathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.rail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, var(--gold-light), var(--gold) 62%, #8a6a1f 100%);
  box-shadow: 0 0 0 1px rgba(242, 210, 122, 0.6), 0 0 20px rgba(212, 166, 58, 0.45);
  color: #241c05;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand__type {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-soft);
  white-space: nowrap;
}

.rail-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.rail-toggle:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(242, 210, 122, 0.6);
}

.rail-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  box-shadow: 0 -6px 0 var(--gold-light), 0 6px 0 var(--gold-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.stage-rail[data-open="true"] .rail-toggle__bars {
  transform: rotate(45deg);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);
}

.rail-toggle__text { line-height: 1; }

.rail-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  margin-top: 32px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.rail-nav__cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.7);
  max-width: none;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px 0 8px;
  border-left: 2px solid transparent;
  border-radius: 0 10px 10px 0;
  color: rgba(248, 245, 238, 0.72);
  font-size: 15px;
  font-weight: 600;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.rail-link__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(196, 181, 253, 0.62);
  transition: color var(--dur) var(--ease);
}

.rail-link__tx { display: inline-block; letter-spacing: 0.02em; }

.rail-link:hover {
  color: var(--paper);
  background: rgba(139, 92, 246, 0.16);
  border-left-color: var(--orange);
  transform: translateX(3px);
}

.rail-link:hover .rail-link__idx { color: var(--violet-soft); }

.rail-link[aria-current="page"] {
  color: var(--gold-light);
  background: linear-gradient(90deg, rgba(212, 166, 58, 0.22), rgba(139, 92, 246, 0.10));
  border-left-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(242, 210, 122, 0.22);
}

.rail-link[aria-current="page"] .rail-link__idx { color: var(--gold); }

.rail-utility {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--glass-line);
}

.rail-utility__cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.7);
  max-width: none;
}

.rail-utility__mail {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(248, 245, 238, 0.7);
  word-break: break-all;
  max-width: none;
}

.rail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 16px;
  border: 1px solid rgba(255, 138, 61, 0.6);
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.10);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.rail-cta:hover {
  background: rgba(255, 138, 61, 0.22);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.rail-progress {
  position: relative;
  flex: 0 0 auto;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.rail-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  transition: width 0.12s linear;
}

.rail-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  color: rgba(248, 245, 238, 0.82);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.rail-top-btn:hover {
  color: var(--gold-light);
  border-color: rgba(242, 210, 122, 0.55);
  background: rgba(212, 166, 58, 0.14);
}

.rail-top-btn[hidden] { display: none; }

.rail-scrim {
  display: none;
  position: fixed;
  top: var(--bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  background: rgba(8, 6, 18, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

/* ===== 06. 页脚 ===== */
.stage-foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px) 28px;
  background-image: linear-gradient(180deg, #12172F 0%, #0E0B1F 64%);
  border-top: 1px solid rgba(196, 181, 253, 0.2);
  color: rgba(248, 245, 238, 0.78);
}

.stage-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--gold) 42%, var(--jade) 72%, rgba(255, 138, 61, 0.9) 100%);
}

.foot-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
}

.foot-brand { min-width: 0; }

.foot-brand__mark {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
  max-width: none;
}

.foot-brand__sum {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(248, 245, 238, 0.66);
}

.foot-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.foot-col__cap {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: none;
}

.foot-links li + li { margin-top: 4px; }

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  color: rgba(248, 245, 238, 0.78);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.foot-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.foot-col--contact { gap: 4px; }

.foot-contact li {
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(248, 245, 238, 0.7);
  max-width: 34ch;
}

.foot-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 22px;
  border-radius: 999px;
  background-image: linear-gradient(100deg, var(--violet), #6D3FDD);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.42), 0 18px 40px -26px rgba(139, 92, 246, 0.95);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.foot-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--gold-light), 0 20px 44px -24px rgba(242, 210, 122, 0.7);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  max-width: var(--shell-max);
  margin: clamp(30px, 4vw, 48px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-copy {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(248, 245, 238, 0.58);
  max-width: none;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.foot-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 13px;
  color: rgba(248, 245, 238, 0.7);
  transition: color var(--dur) var(--ease);
}

.foot-legal a:hover { color: var(--gold-light); }

.foot-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(196, 181, 253, 0.62);
  max-width: none;
}

/* ===== 07. 通用容器与网格 ===== */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.shell--tight { max-width: 760px; }

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

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

/* ===== 08. 基础组件 ===== */
.glass-panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-glass);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.paper-panel {
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius-solid);
  background: var(--paper);
  color: #1A1730;
  box-shadow: 0 26px 62px -46px rgba(0, 0, 0, 0.95);
}

.paper-panel h2,
.paper-panel h3 { color: #1A1730; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.btn--gold {
  background-image: linear-gradient(100deg, var(--gold-light), var(--gold));
  border-color: rgba(242, 210, 122, 0.7);
  color: #241C05;
  box-shadow: 0 18px 44px -30px rgba(212, 166, 58, 0.95);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(196, 181, 253, 0.45);
  color: var(--paper);
}

.btn--ghost:hover { border-color: var(--orange); }

.btn--jade {
  background: rgba(22, 160, 133, 0.18);
  border-color: rgba(22, 160, 133, 0.62);
  color: #b7f2e4;
}

.btn--jade:hover { background: rgba(22, 160, 133, 0.3); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(248, 245, 238, 0.58);
}

.crumbs a { color: rgba(196, 181, 253, 0.85); }
.crumbs a:hover { color: var(--gold-light); }

.crumbs__sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.crumbs [aria-current="page"] { color: var(--paper); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: none;
}

.lede {
  max-width: 64ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(248, 245, 238, 0.78);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0.01em;
  color: var(--gold-light);
}

/* ===== 09. 图片容器基础规则 ===== */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-glass);
  background-image: linear-gradient(140deg, rgba(139, 92, 246, 0.3) 0%, rgba(20, 27, 58, 0.92) 55%, rgba(22, 160, 133, 0.24) 100%);
}

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

.media-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__img--contain { object-fit: contain; }

/* ===== 10. 进入显现 ===== */
[data-reveal] { opacity: 1; }

html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* ===== 11. 响应式：平板 ===== */
@media (min-width: 961px) and (max-width: 1200px) {
  :root { --rail-w: 208px; }

  .stage-rail { padding: 22px 14px 16px 16px; }
  .brand__name { font-size: 15px; }
  .brand__tag { font-size: 9px; letter-spacing: 0.12em; }
  .rail-link { font-size: 14px; }
  .rail-utility__mail { font-size: 10.5px; }
}

/* ===== 12. 响应式：移动端抽屉 ===== */
@media (max-width: 960px) {
  body {
    padding-left: 0;
    padding-top: var(--bar-h);
    font-size: 16px;
  }

  body.nav-open { overflow: hidden; }

  #main-content { scroll-margin-top: calc(var(--bar-h) + 12px); }

  .stage-rail {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(196, 181, 253, 0.22);
    background-image: linear-gradient(100deg, #141B3A 0%, #0E0B1F 100%);
    box-shadow: 0 12px 34px -24px rgba(0, 0, 0, 0.95);
  }

  .rail-beam {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--gold) 40%, var(--jade) 72%, var(--orange));
  }

  .rail-top { width: 100%; }

  .rail-toggle { display: inline-flex; }

  .rail-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 45;
    width: min(86vw, 342px);
    margin-top: 0;
    padding: calc(var(--bar-h) + 20px) 22px 28px;
    background-image: linear-gradient(180deg, #141B3A 0%, #0E0B1F 100%);
    border-left: 1px solid rgba(196, 181, 253, 0.24);
    box-shadow: -26px 0 66px -32px rgba(0, 0, 0, 0.95);
    transform: translateX(104%);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
  }

  .stage-rail[data-open="true"] .rail-nav { transform: translateX(0); }

  .rail-list { gap: 4px; }

  .rail-link {
    min-height: 52px;
    font-size: 17px;
    border-radius: 0 12px 12px 0;
  }

  .rail-utility { margin-top: 28px; }

  .rail-scrim {
    display: block;
    pointer-events: none;
  }

  .stage-rail[data-open="true"] .rail-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .rail-progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    margin: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
  }

  .rail-top-btn { display: none; }

  .stage-foot { margin-top: 56px; }

  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }

  .skip-link { top: 8px; left: 8px; }
}

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

@media (max-width: 640px) {
  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-contact li { max-width: none; }
}

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

  .media-frame { aspect-ratio: 4 / 3; }
  .media-frame--wide { aspect-ratio: 16 / 10; }

  .btn { width: 100%; }
}

/* ===== 13. 降低动效 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .rail-beam { animation: none; opacity: 0.9; }

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

  html[data-js="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
