/* =========================================================
   新葡萄8883特色 · 共享外骨骼
   /assets/site.css
   01 Reset  02 Tokens  03 Base  04 Layout  05 Components
   06 Header 07 Footer 08 Motion 09 Responsive
   ========================================================= */

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

html, body { margin: 0; padding: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 02 Tokens ---------- */
:root {
  /* 珠宝色分区 */
  --grape: #6B2D8B;
  --grape-deep: #43225C;
  --grape-night: #2A1538;
  --gold: #D4A017;
  --gold-lt: #F0C75E;
  --celadon: #7FB5B5;
  --celadon-lt: #DCE9E9;
  --red: #C1440E;
  --sand: #F7F3EC;
  --ink: #1B1726;
  --gray: #55505C;
  --paper: #FFFFFF;

  /* 结构尺寸 */
  --rail-w: 96px;
  --util-h: 36px;
  --dock-h: 0px;
  --edge: 24px;
  --maxw: 1280px;
  --col-gap: 24px;
  --baseline: 8px;

  /* 线条 */
  --line: rgba(107, 45, 139, .30);
  --line-soft: rgba(127, 181, 181, .45);
  --line-gold: rgba(212, 160, 23, .55);

  /* 字体 */
  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 03 Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray);
  background-color: var(--sand);
  background-image:
    linear-gradient(to right, rgba(127, 181, 181, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 181, 181, .18) 1px, transparent 1px),
    linear-gradient(to right, rgba(107, 45, 139, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(107, 45, 139, .10) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 96px 96px, 96px 96px;
  padding-left: var(--rail-w);
  padding-top: var(--util-h);
  padding-bottom: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 38em; }

a {
  color: var(--grape);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

strong { color: var(--ink); font-weight: 700; }

em {
  font-style: normal;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  color: var(--ink);
}

code, kbd, samp, .mono {
  font-family: var(--font-data);
  font-size: .92em;
  letter-spacing: .02em;
}

code {
  background: var(--celadon-lt);
  color: var(--grape-deep);
  padding: 2px 6px;
  border: 1px solid rgba(107, 45, 139, .18);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

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

::selection { background: var(--gold-lt); color: var(--ink); }

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--gold-lt);
  border: 1px solid var(--gold);
  padding: 10px 18px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .08em;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 04 Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.container--narrow { max-width: 880px; }
.container--wide { max-width: 1440px; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
}
.grid > * { min-width: 0; }

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

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section--dark {
  background: var(--ink);
  color: rgba(220, 233, 233, .8);
  border-top-color: var(--grape-deep);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

.section--grape {
  background: var(--grape-deep);
  color: rgba(220, 233, 233, .82);
  border-top-color: var(--grape-night);
}
.section--grape h1,
.section--grape h2,
.section--grape h3 { color: #fff; }

.section--celadon {
  background: var(--celadon-lt);
  border-top-color: var(--celadon);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(107, 45, 139, .22);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.section__index {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
  white-space: nowrap;
}
.section--dark .section__index,
.section--grape .section__index { color: var(--gold-lt); }

.lead {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 34em;
}

.rule-gold {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 160, 23, 0));
  border: 0;
  margin: 28px 0;
}

/* ---------- 05 Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .24s var(--ease),
              color .24s var(--ease),
              border-color .24s var(--ease),
              transform .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grape);
  color: #fff;
  border-color: var(--grape-deep);
}
.btn--primary:hover { background: var(--grape-deep); border-color: var(--gold); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--grape);
  border-color: rgba(107, 45, 139, .5);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(212, 160, 23, .1); }

.btn--onDark {
  background: transparent;
  color: var(--celadon-lt);
  border-color: rgba(220, 233, 233, .45);
}
.btn--onDark:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

.btn--block { width: 100%; justify-content: center; }

.tag {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--celadon);
  background: var(--celadon-lt);
  color: var(--grape-deep);
}
.tag--gold {
  border-color: var(--gold);
  background: rgba(212, 160, 23, .14);
  color: #7a5a00;
}
.tag--grape {
  border-color: var(--grape);
  background: rgba(107, 45, 139, .1);
  color: var(--grape);
}

/* 展签卡片 */
.exhibit {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 22px 24px;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.exhibit:hover { border-color: var(--grape); box-shadow: 6px 6px 0 rgba(107, 45, 139, .1); }

.exhibit__tag {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grape);
  margin-bottom: 10px;
}

.exhibit__id {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gold);
}

.exhibit__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}

.exhibit__text { font-size: 15px; margin: 0 0 14px; }

/* 四角直角标记 */
.corners {
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
}

/* 图片容器 */
.figure {
  position: relative;
  margin: 0;
  background: linear-gradient(140deg, var(--grape-deep), var(--grape-night) 60%, var(--celadon) 160%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.figure__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.figure__img--wide { aspect-ratio: 21 / 9; }
.figure__img--tall { aspect-ratio: 3 / 4; }
.figure__img--square { aspect-ratio: 1 / 1; }

.figure__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(220, 233, 233, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(220, 233, 233, .16) 1px, transparent 1px);
  background-size: 32px 32px;
}

.figure__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(0deg, rgba(27, 23, 38, .88), transparent);
  color: var(--celadon-lt);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .05em;
}

.figure--ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(220, 233, 233, .7);
}

/* 面包屑 */
.breadcrumb {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gray);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--celadon);
}
.breadcrumb a { color: var(--grape); }
.breadcrumb [aria-current="page"] { color: var(--gray); }

/* 索引列表 */
.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.index-list > li {
  border-bottom: 1px solid var(--line-soft);
}
.index-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  color: var(--ink);
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.index-list a:hover {
  text-decoration: none;
  background: rgba(212, 160, 23, .1);
  padding-left: 12px;
}
.index-list__idx {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
  flex: none;
}
.index-list__meta {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--gray);
}

/* 数据条 */
.data-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
}
.data-strip__cell {
  flex: 1 1 140px;
  background: var(--paper);
  padding: 16px 18px;
}
.data-strip__num {
  display: block;
  font-family: var(--font-data);
  font-size: 26px;
  font-weight: 500;
  color: var(--grape);
  letter-spacing: .01em;
  line-height: 1.2;
}
.data-strip__label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}

/* ---------- 06 Header ---------- */
.site-header { position: relative; }

/* 顶部坐标带 */
.util-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--util-h);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--celadon-lt);
  border-bottom: 1px solid var(--line-gold);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .06em;
  transition: background-color .24s var(--ease);
}
.util-bar[data-compact="true"] { background: var(--grape-night); }

.util-bar__group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.util-bar__group--end { margin-left: auto; }

.util-bar__ver { color: var(--gold-lt); font-weight: 500; white-space: nowrap; }

.util-bar__rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.util-bar__sig {
  color: var(--celadon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity .24s var(--ease), max-width .24s var(--ease);
  max-width: 320px;
}
.util-bar[data-compact="true"] .util-bar__sig {
  opacity: 0;
  max-width: 0;
}
.util-bar[data-compact="true"] .util-bar__rule { background: rgba(212, 160, 23, .45); }

.util-bar__icp {
  color: rgba(220, 233, 233, .66);
  white-space: nowrap;
}

.util-bar__progress {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold) 55%, var(--red));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

/* 侧边轨道 */
.site-rail {
  position: fixed;
  top: var(--util-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--grape) 0%, var(--grape-deep) 100%);
  border-right: 1px solid var(--line-gold);
  color: var(--celadon-lt);
  box-shadow: 8px 0 24px rgba(27, 23, 38, .08);
}
.site-rail::after {
  content: "";
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-lt), rgba(212, 160, 23, .15) 55%, var(--gold-lt));
  pointer-events: none;
}

.rail-brand {
  padding: 20px 10px 16px;
  border-bottom: 1px solid rgba(240, 199, 94, .28);
}
.rail-brand__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--celadon-lt);
  text-decoration: none;
}
.rail-brand__link:hover { text-decoration: none; }
.rail-brand__mark { width: 36px; height: 36px; flex: none; display: block; }
.rail-brand__text { display: block; text-align: center; }
.rail-brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
  word-break: break-word;
}
.rail-brand__sub {
  display: block;
  margin-top: 5px;
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--gold-lt);
}

.rail-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(240, 199, 94, .6);
  color: var(--gold-lt);
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .12em;
  flex: none;
}
.rail-toggle__bars { display: flex; flex-direction: column; gap: 3px; }
.rail-toggle__bars i {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .2s var(--ease);
}

.rail-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 0 10px;
}
.rail-nav__caption {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--celadon);
  text-align: center;
  margin: 0 0 10px;
}
.rail-nav__list { list-style: none; margin: 0; padding: 0; }
.rail-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  color: rgba(220, 233, 233, .84);
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.rail-nav__link:hover {
  text-decoration: none;
  background: rgba(27, 23, 38, .35);
  color: #fff;
}
.rail-nav__idx {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gold-lt);
  opacity: .85;
}
.rail-nav__label { font-size: 13px; letter-spacing: .04em; }

.rail-nav__link[aria-current="page"] {
  background: rgba(27, 23, 38, .5);
  border-left-color: var(--red);
  color: #fff;
}
.rail-nav__link[aria-current="page"] .rail-nav__label { color: var(--gold-lt); }

.rail-meta {
  padding: 12px 8px 16px;
  border-top: 1px solid rgba(240, 199, 94, .28);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.rail-meta__ver {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gold-lt);
}
.rail-meta__icp {
  font-size: 10px;
  line-height: 1.4;
  color: rgba(220, 233, 233, .58);
}

/* 移动端底部坞 */
.site-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 75;
  display: none;
  background: var(--ink);
  border-top: 1px solid var(--line-gold);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px;
  color: rgba(220, 233, 233, .78);
  font-size: 12px;
  text-decoration: none;
  border-right: 1px solid rgba(220, 233, 233, .12);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.dock-link:last-child { border-right: 0; }
.dock-link:hover { text-decoration: none; color: #fff; background: rgba(107, 45, 139, .45); }
.dock-link__idx {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gold-lt);
}
.dock-link__label { letter-spacing: .02em; }
.dock-link[aria-current="page"] {
  background: rgba(107, 45, 139, .6);
  color: #fff;
  box-shadow: inset 0 2px 0 var(--red);
}

/* ---------- 07 Footer ---------- */
.site-foot {
  position: relative;
  margin-top: 0;
  background: var(--ink);
  color: rgba(220, 233, 233, .78);
  border-top: 2px solid var(--gold);
  overflow: hidden;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(127, 181, 181, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 181, 181, .10) 1px, transparent 1px);
  background-size: 48px 48px;
}

.foot-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--edge) 28px;
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(127, 181, 181, .25);
}

.foot-brand__link { display: block; text-decoration: none; }
.foot-brand__link:hover { text-decoration: none; }
.foot-brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  line-height: 1.3;
}
.foot-brand__sub {
  display: block;
  margin-top: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--celadon);
}
.foot-brand__sig {
  margin: 16px 0 20px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(220, 233, 233, .6);
  font-family: var(--font-data);
  letter-spacing: .02em;
  max-width: none;
}
.foot-brand__cta { font-size: 14px; padding: 11px 18px; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.foot-col__title {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--gold-lt);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 160, 23, .35);
}
.foot-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-col__list a {
  color: rgba(220, 233, 233, .82);
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.foot-col__list a:hover {
  text-decoration: none;
  color: var(--gold-lt);
  border-bottom-color: var(--gold);
}

.foot-service {
  margin: 26px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--gold);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(220, 233, 233, .7);
  max-width: 62em;
}

.foot-meta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 181, 181, .25);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: flex-end;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .04em;
}
.foot-meta__line {
  margin: 0;
  color: rgba(220, 233, 233, .68);
  max-width: none;
}
.foot-meta__legal {
  margin: 0;
  color: var(--celadon);
  max-width: none;
}

/* ---------- 08 Motion ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  will-change: opacity, transform;
}
.has-js [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .has-js [data-reveal],
  .has-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: opacity .2s linear;
    transition-delay: 0ms !important;
  }

  .btn,
  .rail-nav__link,
  .dock-link,
  .exhibit,
  .foot-col__list a {
    transition-duration: .01ms !important;
  }

  .btn:hover { transform: none; }
  .util-bar__progress { transition: none; }
}

/* ---------- 09 Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4 { grid-column: span 3; }
  .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 6; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 899px) {
  :root {
    --rail-w: 0px;
    --dock-h: 76px;
    --edge: 18px;
  }

  body {
    padding-left: 0;
    padding-top: calc(var(--util-h) + 56px);
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  }

  .util-bar { padding: 0 12px; font-size: 11px; }
  .util-bar__sig { display: none; }
  .util-bar__icp { font-size: 10px; }

  .site-rail {
    top: var(--util-h);
    left: 0; right: 0; bottom: auto;
    width: auto;
    height: 56px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    box-shadow: 0 6px 18px rgba(27, 23, 38, .18);
  }
  .site-rail::after { display: none; }

  .rail-brand {
    padding: 0;
    border-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .rail-brand__link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .rail-brand__mark { width: 26px; height: 26px; }
  .rail-brand__text { text-align: left; }
  .rail-brand__name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rail-brand__sub { display: none; }

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

  .site-header[data-open="true"] .rail-toggle__bars i:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .site-header[data-open="true"] .rail-toggle__bars i:nth-child(2) { opacity: 0; }
  .site-header[data-open="true"] .rail-toggle__bars i:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .rail-nav {
    position: fixed;
    top: calc(var(--util-h) + 56px);
    left: 0; right: 0;
    bottom: var(--dock-h);
    z-index: 69;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
    padding: 18px var(--edge) 24px;
    background: var(--grape-deep);
    border-top: 1px solid var(--line-gold);
    overflow-y: auto;
    transform: translateX(-102%);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s var(--ease), opacity .2s var(--ease), visibility .28s linear;
  }
  .site-header[data-open="true"] .rail-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .rail-nav__caption {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 11px;
    letter-spacing: .22em;
    margin: 0 0 4px;
  }
  .rail-nav__list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .rail-nav__link {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid rgba(240, 199, 94, .35);
    border-left-width: 1px;
    background: rgba(27, 23, 38, .32);
  }
  .rail-nav__link[aria-current="page"] {
    border-color: var(--red);
    border-left: 1px solid var(--red);
    background: rgba(193, 68, 14, .2);
  }
  .rail-nav__label { font-size: 14px; }

  .rail-meta { display: none; }

  .site-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: var(--dock-h);
  }

  .section { padding: 42px 0; }
  .section__head { flex-wrap: wrap; gap: 6px; }

  .foot-inner { padding: 36px var(--edge) 24px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .foot-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-brand__name { font-size: 21px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .foot-cols { grid-template-columns: 1fr; }
  .data-strip__cell { flex: 1 1 100%; }
  .rail-nav { grid-template-columns: 1fr; }
  .rail-nav__list { grid-template-columns: 1fr; }
  .btn { padding: 12px 18px; }
}
