/* ==========================================================================
   彝·织 LOVE Y · 数字博物馆视觉系统 2026-11-20
   由 T 老师主导重做：门厅 / 六个分馆 / 走秀厅 / 服饰厅 共用
   加载顺序：fonts.css → style.css（旧分馆内容样式）→ fix-titles.css → museum.css
   门厅只加载 fonts.css + museum.css
   ========================================================================== */

:root {
  --ink: #12100e;
  --ink-2: #1a1613;
  --ink-3: #0b0a09;
  --paper: #f4ecdf;
  --paper-2: #e9ddca;
  --paper-3: #fbf7ef;
  --gold: #c9a227;
  --gold-2: #e3cd8f;
  --gold-dim: rgba(201, 162, 39, 0.28);
  --red: #a83a30;
  --indigo: #1e3557;
  --muted: #8b8378;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --yi: "Microsoft Yi Baiti", "Nuosu SIL", "Noto Sans Yi", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
  --pad: clamp(20px, 5.2vw, 88px);
  --maxw: 1320px;
  --seam: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- 版心 / 章节骨架 ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.museum-section { padding-block: clamp(76px, 10vh, 148px); }

.eyebrow,
.kicker {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.86;
}

.section-headline {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.03em;
}
.section-headline em {
  display: block;
  margin-top: 10px;
  font-family: var(--latin);
  font-size: clamp(15px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--red);
}
.section-lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: rgba(244, 236, 223, 0.68);
}
.museum-section--paper .section-lede { color: #6c6459; }
.museum-section--paper {
  background: var(--paper);
  color: var(--ink);
}
.museum-section--paper .eyebrow { color: var(--red); }
.museum-section--paper .section-headline { color: var(--ink); }

/* ---------- 顶部导航（全站统一，固定） ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  color: var(--paper);
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.55), rgba(8, 7, 6, 0));
  transition: height 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled,
.site-head.is-solid {
  height: 62px;
  background: rgba(10, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(201, 162, 39, 0.24);
}
body[data-theme="light"] .site-head { color: var(--ink); background: linear-gradient(180deg, rgba(244, 236, 223, 0.9), rgba(244, 236, 223, 0)); }
body[data-theme="light"] .site-head.is-scrolled,
body[data-theme="light"] .site-head.is-solid {
  background: rgba(244, 236, 223, 0.9);
  border-bottom-color: rgba(18, 16, 14, 0.14);
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.brand-text em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.34em;
  opacity: 0.58;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 34px); font-size: 12px; letter-spacing: 0.16em; }
.nav a { position: relative; padding: 6px 0; opacity: 0.7; transition: opacity 0.3s; white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
body[data-theme="light"] .nav a[aria-current="page"] { color: var(--red); }

.head-right { display: flex; align-items: center; gap: 18px; }
.head-index { font-family: var(--yi); font-size: 13px; letter-spacing: 0.2em; opacity: 0.5; }
.menu-btn { display: none; font-size: 12px; letter-spacing: 0.16em; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 79;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 0 var(--pad);
  background: var(--ink-3);
  color: var(--paper);
  transform: translateY(-101%);
  transition: transform 1.15s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(244, 236, 223, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.mobile-nav:not(.is-open) a { transition-duration: 0.2s; transition-delay: 0s; }
.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.07s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.14s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.21s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.28s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav.is-open a:nth-child(7) { transition-delay: 0.42s; }
.mobile-nav.is-open a:nth-child(8) { transition-delay: 0.49s; }
.mobile-nav.is-open a:nth-child(9) { transition-delay: 0.56s; }
.mobile-nav small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 200;
  transform: translate(-50%, -200%);
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 按钮 / 链接箭头 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 236, 223, 0.34);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { color: var(--paper); }
.btn--ghost:hover { background: rgba(244, 236, 223, 0.08); border-color: rgba(244, 236, 223, 0.6); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  border-bottom: 1px solid rgba(168, 58, 48, 0.4);
  padding-bottom: 5px;
  transition: gap 0.35s var(--ease), border-color 0.35s;
}
.link-arrow:hover { gap: 16px; border-color: var(--red); }

/* ==========================================================================
   门厅
   ========================================================================== */

.foyer { background: var(--ink); }

.foyer-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.foyer-hero__media { position: absolute; inset: 0; z-index: -2; }
.foyer-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.06);
  animation: heroPush 22s var(--ease-soft) forwards;
}
@keyframes heroPush { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.foyer-hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 62% 38%, rgba(0, 0, 0, 0) 24%, rgba(5, 4, 4, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 4, 4, 0.72) 0%, rgba(5, 4, 4, 0.16) 38%, rgba(5, 4, 4, 0.9) 100%);
}
.foyer-hero__veil::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(201, 162, 39, 0.07) 1px, transparent 1px);
  background-size: clamp(80px, 12vw, 180px) 100%;
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.foyer-hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(70px, 12vh, 130px);
}
.foyer-hero .eyebrow { color: var(--gold-2); opacity: 0.9; }
.foyer-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 8.4vw, 124px);
  line-height: 1.02;
  letter-spacing: 0.04em;
}
.foyer-hero h1 span { display: block; }
.foyer-hero h1 .line-gold {
  background: linear-gradient(100deg, #f5e3ae 0%, #c9a227 44%, #f0d99a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.foyer-hero h1 .line-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 236, 223, 0.62);
  text-stroke: 1px rgba(244, 236, 223, 0.62);
}
.foyer-hero__lede {
  max-width: 42ch;
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: rgba(244, 236, 223, 0.76);
}
.foyer-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.foyer-hero__figures {
  position: absolute;
  right: var(--pad);
  bottom: clamp(78px, 13vh, 140px);
  display: grid;
  gap: 22px;
  text-align: right;
}
.foyer-hero__figures div { border-right: 1px solid rgba(201, 162, 39, 0.42); padding-right: 16px; }
.foyer-hero__figures b {
  display: block;
  font-family: var(--latin);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold-2);
}
.foyer-hero__figures span { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: 0.2em; opacity: 0.62; }

.foyer-hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  opacity: 0.5;
}
.foyer-hero__scroll::before {
  content: "";
  display: inline-block;
  width: 46px; height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
  animation: scrollLine 2.4s var(--ease-soft) infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleX(0.4); opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }

.foyer-seal {
  position: absolute;
  right: calc(var(--pad) + 8px);
  top: calc(var(--nav-h) + 34px);
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0;
  opacity: 0.8;
}
.foyer-seal::after {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(201, 162, 39, 0.28);
}

/* 滚动字带 */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.26);
  border-bottom: 1px solid rgba(201, 162, 39, 0.26);
  background: var(--ink-2);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: tickerMove 46s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.28em;
  white-space: nowrap;
  color: rgba(244, 236, 223, 0.72);
}
.ticker__track span i {
  font-family: var(--yi);
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 项目介绍 */
.foyer-intro { position: relative; overflow: hidden; }
.foyer-intro::before {
  content: "彝";
  position: absolute;
  right: -0.06em;
  top: -0.18em;
  font-family: var(--serif);
  font-size: clamp(240px, 36vw, 520px);
  line-height: 1;
  color: rgba(18, 16, 14, 0.045);
  pointer-events: none;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.intro-copy { max-width: 58ch; }
.intro-copy .section-headline { font-size: clamp(30px, 3.6vw, 52px); }
.intro-copy p {
  margin: 0 0 18px;
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 2;
  letter-spacing: 0.02em;
  color: #584f45;
}
.intro-copy p.lead {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.9;
  color: var(--ink);
}
.intro-media { position: relative; min-height: 420px; }
.intro-media .frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -34px rgba(18, 16, 14, 0.45);
}
.intro-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .frame--main { left: 0; top: 0; width: 78%; aspect-ratio: 4 / 5; }
.intro-media .frame--small { right: 0; bottom: 0; width: 46%; aspect-ratio: 1 / 1; border: 8px solid var(--paper); }
.intro-media .frame--small img { object-fit: contain; background: #16120f; }
.intro-media .seal {
  position: absolute;
  right: 34%; top: 8%;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--red);
  color: var(--paper-3);
  font-family: var(--serif);
  font-size: 24px;
  box-shadow: 0 0 0 1px rgba(168, 58, 48, 0.35), 0 12px 24px -12px rgba(168, 58, 48, 0.6);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 7vh, 82px);
  background: rgba(18, 16, 14, 0.16);
  border-block: 1px solid rgba(18, 16, 14, 0.16);
}
.stat-row div { background: var(--paper); padding: 26px clamp(14px, 2vw, 30px) 24px; }
.stat-row b {
  display: block;
  font-family: var(--latin);
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.stat-row b sup { font-size: 0.46em; color: var(--red); vertical-align: super; }
.stat-row span {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #7a7165;
}

/* 六厅入口 */
.foyer-halls { background: var(--ink); }
.halls-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vh, 54px);
}
.halls-head .section-headline { margin-bottom: 0; }
.halls-head .hint { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: rgba(244, 236, 223, 0.44); }

.hall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--seam);
  background: rgba(201, 162, 39, 0.2);
  border: var(--seam) solid rgba(201, 162, 39, 0.2);
}
.hall-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 34vw, 470px);
  background: var(--ink-2);
  overflow: hidden;
  isolation: isolate;
}
.hall-card__media { position: absolute; inset: 0; z-index: -1; }
.hall-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.62);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter 0.9s var(--ease);
}
.hall-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.28) 0%, rgba(8, 7, 6, 0.55) 46%, rgba(8, 7, 6, 0.94) 100%);
  transition: background 0.7s var(--ease);
}
.hall-card:hover .hall-card__media img { transform: scale(1.07); filter: saturate(1) brightness(0.8); }
.hall-card:hover::after { background: linear-gradient(180deg, rgba(8, 7, 6, 0.18) 0%, rgba(8, 7, 6, 0.42) 46%, rgba(8, 7, 6, 0.9) 100%); }
.hall-card__body {
  margin-top: auto;
  padding: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(8px);
  transition: transform 0.6s var(--ease);
}
.hall-card:hover .hall-card__body { transform: translateY(0); }
.hall-card__no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; color: var(--gold-2); opacity: 0.8; }
.hall-card__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.hall-card__en { font-family: var(--latin); font-style: italic; font-size: 13px; letter-spacing: 0.16em; color: rgba(244, 236, 223, 0.5); }
.hall-card__desc { margin: 4px 0 0; font-size: 12.5px; line-height: 1.85; letter-spacing: 0.02em; color: rgba(244, 236, 223, 0.62); }
.hall-card__go {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
  opacity: 0.6;
  transition: opacity 0.35s, letter-spacing 0.5s var(--ease);
}
.hall-card:hover .hall-card__go { opacity: 1; letter-spacing: 0.3em; }

.hall-card--feature { grid-column: span 2; }
.hall-card--feature .hall-card__name { font-size: clamp(28px, 3vw, 42px); }

/* 成果 */
.foyer-results { background: var(--paper); color: var(--ink); }
.result-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.result-item { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.result-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.result-item:hover img { transform: scale(1.035); }
.result-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.72));
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}
.result-item figcaption b { font-family: var(--latin); font-weight: 400; font-size: 18px; letter-spacing: 0.08em; }
.result-item--wide { grid-column: span 7; aspect-ratio: 16 / 10; }
.result-item--tall { grid-column: span 5; aspect-ratio: 4 / 5; }
.result-item--half { grid-column: span 6; aspect-ratio: 16 / 11; }

.results-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6c6459;
}

/* 临展 CTA */
.foyer-cta {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.foyer-cta__media { position: absolute; inset: 0; z-index: -2; }
.foyer-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.foyer-cta::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 8, 7, 0.94) 0%, rgba(10, 8, 7, 0.62) 52%, rgba(10, 8, 7, 0.3) 100%);
}
.foyer-cta__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vh, 100px) var(--pad); }
.foyer-cta h2 {
  max-width: 16ch;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.04em;
}
.foyer-cta p { max-width: 48ch; margin: 0 0 30px; font-size: 14.5px; line-height: 1.95; color: rgba(244, 236, 223, 0.7); }

/* ==========================================================================
   分馆页：面包屑 / 跨馆跳转 / 标题统一
   ========================================================================== */

.hall-page { padding-top: var(--nav-h); }

.hall-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--seam);
  background: rgba(201, 162, 39, 0.22);
  border-top: var(--seam) solid rgba(201, 162, 39, 0.22);
}
.hall-switch a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(28px, 4vw, 48px) var(--pad);
  background: var(--ink);
  transition: background 0.4s var(--ease);
}
.hall-switch a:hover { background: var(--ink-2); }
.hall-switch small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--gold); opacity: 0.8; }
.hall-switch strong { font-family: var(--serif); font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: 0.08em; }
.hall-switch a:last-child { text-align: right; align-items: flex-end; }

/* 旧分馆内容里的章节标题统一为静态排版（取消逐字位移） */
.hall-page .section-head { max-width: none; }
.hall-page .split-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0 0.04em;
  letter-spacing: 0.04em;
}
.hall-page .split-title .ch {
  display: inline-block;
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
.hall-page .section-head h2,
.hall-page .journey-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.05em;
}
.hall-page .section-head .kicker,
.hall-page .journey-head .kicker,
.hall-page .hands-copy .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--red);
}
.hall-page .hands-copy .kicker { color: var(--gold-soft); opacity: 1; }
.hall-page .section-head .head-note {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.95;
}
.hall-page .chapter-rail { display: none; }

/* 旧页面右侧章节导轨曾压住正文，统一隐藏 */
.chapter-rail { display: none !important; }

/* ==========================================================================
   走秀厅
   ========================================================================== */

.runway-page { background: var(--paper); color: var(--ink); }
.runway-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--nav-h);
}
.runway-hero__media { position: absolute; inset: 0; z-index: -2; }
.runway-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; transform: scale(1.05); animation: heroPush 20s var(--ease-soft) forwards; }
.runway-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.55) 0%, rgba(8, 7, 6, 0.12) 34%, rgba(8, 7, 6, 0.88) 100%);
}
.runway-hero__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(52px, 9vh, 96px); }
.runway-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--paper-3);
}
.runway-hero p { margin: 20px 0 0; font-size: 13px; letter-spacing: 0.24em; color: rgba(244, 236, 223, 0.72); }

.runway-body { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(30px, 5vh, 60px) var(--pad) clamp(70px, 10vh, 120px); }
.film-frame { margin: 0 0 clamp(50px, 8vh, 90px); border: 1px solid rgba(18, 16, 14, 0.16); background: #120f0d; }
.film-frame img { width: 100%; height: auto; display: block; }

.look-group { margin-bottom: clamp(48px, 8vh, 104px); scroll-margin-top: 96px; }
.look-group__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18, 16, 14, 0.16);
}
.look-group__mark { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); color: var(--red); letter-spacing: 0.12em; }
.look-group__name { font-size: 15px; letter-spacing: 0.22em; color: #5d534a; }
.look-group__desc { margin-left: auto; font-size: 12px; letter-spacing: 0.16em; color: #7a7165; }
.look-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.look-card { margin: 0; background: var(--paper-2); border: 1px solid rgba(18, 16, 14, 0.14); overflow: hidden; }
.look-card img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; transition: transform 0.9s var(--ease); }
.look-card:hover img { transform: scale(1.035); }
.look-card figcaption { padding: 11px 13px; border-top: 1px solid rgba(18, 16, 14, 0.14); font-size: 12px; letter-spacing: 0.1em; color: #5d534a; }

/* ==========================================================================
   服饰厅（五十套）
   ========================================================================== */

.wardrobe-page { background: var(--paper); color: var(--ink); }
.wardrobe-head {
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 84px)) 0 clamp(18px, 2.6vh, 30px);
  text-align: center;
}
.wardrobe-head .eyebrow { color: var(--red); }
.wardrobe-head h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.wardrobe-head p { max-width: 52ch; margin: 0 auto; font-size: 14px; line-height: 2; color: #5d534a; }
.wardrobe-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 12px; letter-spacing: 0.16em; color: #5d534a; }
.wardrobe-jumps a:hover { color: var(--red); }
.wardrobe-body { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 var(--pad) clamp(60px, 9vh, 110px); }
.series { padding-top: clamp(28px, 5vh, 60px); scroll-margin-top: 92px; }
.series__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(18, 16, 14, 0.16);
}
.series__head .en { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em; color: var(--gold); }
.series__head h2 { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: 0.1em; }
.series__head .count { margin-left: auto; font-size: 12px; letter-spacing: 0.16em; color: #7a7165; }
.wardrobe-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.wardrobe-card { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid rgba(18, 16, 14, 0.14); }
.wardrobe-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease); }
.wardrobe-card:hover img { transform: scale(1.04); }
.wardrobe-card figcaption { padding: 10px 12px; border-top: 1px solid rgba(18, 16, 14, 0.14); }
.wardrobe-card .no { display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; color: var(--red); }
.wardrobe-card .nm { font-size: 12.5px; line-height: 1.5; letter-spacing: 0.04em; }
.wardrobe-note { margin: 26px 0 0; font-size: 12px; line-height: 1.9; color: #7a7165; letter-spacing: 0.04em; }

/* ==========================================================================
   页脚（全站统一）
   ========================================================================== */

.site-foot {
  position: relative;
  background: var(--ink-3);
  color: var(--paper);
  padding: clamp(54px, 8vh, 96px) var(--pad) 28px;
  margin-top: 0;
}
.site-foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55), transparent);
}
.foot-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(30px, 5vh, 56px);
  border-bottom: 1px solid rgba(244, 236, 223, 0.1);
}
.foot-statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.foot-statement span { color: var(--gold-2); }
.foot-brand { text-align: right; }
.foot-brand img { width: clamp(120px, 11vw, 168px); height: auto; margin: 0 0 12px auto; }
.foot-brand p { margin: 0; font-size: 12px; line-height: 1.9; letter-spacing: 0.1em; color: rgba(244, 236, 223, 0.56); }
.foot-refs { max-width: var(--maxw); margin: 0 auto; padding: 28px 0 24px; border-bottom: 1px solid rgba(244, 236, 223, 0.1); }
.foot-refs h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.24em; color: rgba(244, 236, 223, 0.55); }
.foot-refs ol { margin: 0; padding-left: 1.4em; column-count: 2; column-gap: 48px; }
.foot-refs li { margin-bottom: 8px; font-size: 12px; line-height: 1.9; letter-spacing: 0.02em; color: rgba(244, 236, 223, 0.6); break-inside: avoid; }
.foot-refs a { color: var(--gold-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.foot-refs a:hover { color: var(--paper); }
.foot-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 0 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  border-bottom: 1px solid rgba(244, 236, 223, 0.1);
}
.foot-col h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.22em; color: var(--gold); opacity: 0.75; }
.foot-col p { margin: 0 0 7px; font-size: 12.5px; line-height: 1.75; letter-spacing: 0.03em; color: rgba(244, 236, 223, 0.66); }
.foot-yi {
  display: grid;
  place-items: center;
  font-family: var(--yi);
  font-size: clamp(40px, 4.6vw, 64px);
  color: rgba(201, 162, 39, 0.32);
  letter-spacing: 0.08em;
}
.foot-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(244, 236, 223, 0.42);
}
.foot-bottom a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); opacity: 0.8; }
.foot-bottom a:hover { opacity: 1; }
.foot-bottom svg { width: 11px; height: 11px; }

/* ---------- 入场动效（整块，不逐字） ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   响应式断点：1280 / 1024 / 820 / 560
   ========================================================================== */

@media (max-width: 1280px) {
  :root { --pad: clamp(20px, 4.6vw, 64px); }
  .nav { gap: 16px; font-size: 11.5px; }
  .wardrobe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .head-index { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { min-height: 440px; }
  .hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-card--feature { grid-column: span 2; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr; }
  .foot-brand { text-align: left; }
  .foot-brand img { margin-left: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-item--wide, .result-item--tall, .result-item--half { grid-column: span 12; aspect-ratio: 16 / 10; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .foyer-hero__figures { display: none; }
  .foyer-hero h1 { font-size: clamp(40px, 12vw, 72px); }
  .ticker__track { animation-duration: 32s; }
  .hall-grid { grid-template-columns: 1fr; }
  .hall-card--feature { grid-column: span 1; }
  .hall-card { min-height: 360px; }
  .intro-media { min-height: 380px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hall-switch { grid-template-columns: 1fr; }
  .hall-switch a:last-child { text-align: left; align-items: flex-start; }
  .look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wardrobe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-refs ol { column-count: 1; }
}

@media (max-width: 560px) {
  .foyer-hero__inner { padding-bottom: 84px; }
  .foyer-hero__lede { font-size: 14.5px; }
  .brand-text { font-size: 16px; }
  .brand-text em { display: none; }
  .foyer-seal { width: 46px; height: 46px; font-size: 20px; }
  .stat-row { grid-template-columns: 1fr; }
  .intro-media { min-height: 300px; }
  .intro-media .frame--main { width: 82%; }
  .intro-media .frame--small { width: 48%; border-width: 6px; }
  .look-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .look-group__desc { display: none; }
  .wardrobe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-yi { display: none; }
  .halls-head { align-items: flex-start; }
}

/* ==========================================================================
   单页长卷 index.html · 2026-11-20
   主厅厚内容 / 走秀段 / 锚点节奏
   ========================================================================== */

.single main > section { scroll-margin-top: var(--nav-h); }
.single .foyer-hero { padding: 0; }

/* 旧 section 标题统一到博物馆字阶 */
.single .section-head { max-width: none; }
.single .section-head h2,
.single .journey-head h2,
.single .hands-copy h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.05em;
}
.single .section-head .head-note {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.95;
}
.single .section-head .kicker,
.single .journey-head .kicker,
.single .hands-copy .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
}

/* 主厅：四件事 */
.about-block { margin-top: clamp(54px, 8vh, 92px); }
.about-subhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: clamp(20px, 3vh, 30px);
  border-top: 1px solid rgba(18, 16, 14, 0.16);
}
.about-subhead .eyebrow { margin: 0 0 8px; color: var(--red); }
.about-subhead h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.about-subhead__en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #8a8073;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  margin-top: clamp(26px, 4vh, 44px);
}
.pillar { border-top: 1px solid rgba(18, 16, 14, 0.22); padding-top: 18px; }
.pillar__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; color: var(--red); }
.pillar h4 {
  margin: 12px 0 2px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.pillar em {
  font-family: var(--latin);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #8a8073;
}
.pillar p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #584f45;
}

.about-block .result-grid { margin-top: clamp(26px, 4vh, 44px); }

/* 服饰厅：五十套深链 */
.looks-deep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(30px, 4vh, 50px);
  padding: 22px var(--pad) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.24);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 236, 223, 0.55);
}
.looks-deep .link-arrow { color: var(--gold-2); border-bottom-color: rgba(201, 162, 39, 0.4); }
.looks-deep .link-arrow:hover { border-bottom-color: var(--gold-2); }

/* 走秀段 */
.runway-section {
  position: relative;
  background: var(--ink-3);
  color: var(--paper);
  padding-block: clamp(76px, 10vh, 148px);
}
.runway-section .section-head { padding-bottom: clamp(26px, 4vh, 46px); }
.runway-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.runway-film {
  position: relative;
  margin: 0 0 clamp(40px, 6vh, 72px);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.26);
  background: var(--ink-2);
}
.runway-film img { width: 100%; height: auto; }
.runway-film figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(5, 4, 4, 0), rgba(5, 4, 4, 0.78));
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 236, 223, 0.78);
}
.runway-film figcaption b {
  font-family: var(--latin);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--gold-2);
}
.runway-section .look-group__head { border-bottom-color: rgba(201, 162, 39, 0.26); }
.runway-section .look-group__mark { color: var(--gold-2); }
.runway-section .look-group__name { color: rgba(244, 236, 223, 0.66); }
.runway-section .look-group__desc { color: rgba(244, 236, 223, 0.48); }
.runway-section .look-card { background: var(--ink-2); border-color: rgba(201, 162, 39, 0.2); }
.runway-section .look-card figcaption {
  border-top-color: rgba(201, 162, 39, 0.2);
  color: rgba(244, 236, 223, 0.68);
}

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

@media (max-width: 820px) {
  .single .section-head { padding-top: 66px; }
  .runway-film figcaption span { display: none; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .about-subhead__en { display: none; }
  .looks-deep { font-size: 11.5px; }
}

/* ==========================================================================
   2026-11-21 夜间升级：短门厅 / 过门转场 / 可操作的展陈
   ========================================================================== */

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 5px;
}
.museum-section--paper :where(a, button, input, [tabindex]):focus-visible,
.wardrobe-page :where(a, button, input, [tabindex]):focus-visible,
.runway-page :where(a, button, input, [tabindex]):focus-visible { outline-color: var(--red); }
.nav a[aria-current="page"] { opacity: 1; color: var(--gold-2); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.5) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 18% 27%, transparent 0, rgba(255,255,255,.55) .55px, transparent 1px, transparent 4px);
  background-size: 3px 3px, 3px 3px, 7px 7px;
  mix-blend-mode: soft-light;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* 门厅：首屏是海报，第二屏是清晰的展厅地图，不再复制整馆长卷。 */
.foyer-v3 .foyer-hero {
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  background: var(--ink-3);
}
.foyer-v3 .foyer-hero__media img {
  object-position: 50% 42%;
  animation: foyerCamera 18s var(--ease-soft) both;
}
.foyer-v3 .foyer-hero__veil {
  background:
    linear-gradient(90deg, rgba(7,7,7,.94) 0%, rgba(7,7,7,.78) 30%, rgba(7,7,7,.24) 62%, rgba(7,7,7,.2) 100%),
    linear-gradient(0deg, rgba(7,7,7,.88) 0%, transparent 45%, rgba(7,7,7,.32) 100%);
}
.foyer-v3 .foyer-hero__veil::after { opacity: .22; }
.foyer-v3 .foyer-hero__inner { position: relative; z-index: 2; max-width: 840px; }
.foyer-v3 .foyer-hero__inner > * { animation: foyerEnter .85s var(--ease) both; }
.foyer-v3 .foyer-hero__inner > :nth-child(2) { animation-delay: .08s; }
.foyer-v3 .foyer-hero__inner > :nth-child(3) { animation-delay: .16s; }
.foyer-v3 .foyer-hero__inner > :nth-child(4) { animation-delay: .24s; }
.foyer-v3 .foyer-hero h1 { margin: 0 0 28px; }
.foyer-v3 .foyer-hero h1 .line-gold {
  font-size: clamp(86px, 12.5vw, 184px);
  line-height: .96;
  letter-spacing: .06em;
  color: var(--paper-3);
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.foyer-v3 .foyer-hero h1 .line-outline {
  margin-top: 20px;
  font-size: clamp(27px, 3.2vw, 48px);
  line-height: 1.3;
  letter-spacing: .16em;
  color: var(--gold-2);
  -webkit-text-stroke: 0;
}
.foyer-v3 .foyer-hero__lede { max-width: 42ch; color: rgba(251,247,239,.82); }
.foyer-v3 .foyer-hero__actions { align-items: center; }
.foyer-v3 .foyer-hero__actions .btn { min-height: 48px; }
.foyer-v3 .foyer-hero__figures { z-index: 3; }
.foyer-v3 .foyer-hero__figures b { font-size: clamp(30px, 3vw, 46px); }
.foyer-v3 .foyer-seal { z-index: 2; }
.foyer-v3 .foyer-hero__scroll { z-index: 3; font-size: 10px; letter-spacing: .28em; }
.foyer-v3 .foyer-halls { padding-block: clamp(72px, 9vh, 120px); }
.foyer-v3 .halls-head { align-items: flex-end; }
.foyer-v3 .halls-head .section-headline { color: var(--paper-3); }
.foyer-v3 .halls-hint {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .12em;
  color: rgba(244,236,223,.62);
}
.foyer-v3 .hall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.foyer-v3 .hall-card { min-height: clamp(330px, 30vw, 430px); }
.foyer-v3 .hall-card--feature { grid-column: span 2; }
.foyer-v3 .hall-card__body { transform: none; }
.foyer-v3 .hall-card__name { color: var(--paper-3); }
.foyer-v3 .hall-card__desc { max-width: 34ch; color: rgba(244,236,223,.76); font-size: 13px; }
.foyer-v3 .hall-card__en { color: rgba(227,205,143,.82); }
.foyer-v3 .hall-card__go { opacity: .9; }
.foyer-v3 .hall-card:nth-child(2) .hall-card__media {
  background: radial-gradient(ellipse at 50% 78%, #29374b 0%, #11151b 62%, #090a0c 100%);
}
.foyer-v3 .hall-card:nth-child(2) .hall-card__media img { object-fit: contain; object-position: center bottom; padding-top: 20px; }
.foyer-v3 .hall-card:nth-child(2)::after { background: linear-gradient(180deg, transparent 22%, rgba(8,7,6,.3) 48%, rgba(8,7,6,.96) 100%); }
.foyer-v3 .hall-card:hover .hall-card__body,
.foyer-v3 .hall-card:focus-visible .hall-card__body { transform: translateY(-5px); }
.foyer-v3 .hall-card:focus-visible { outline-offset: -5px; z-index: 2; }

.foyer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--pad);
  border-top: 1px solid rgba(201,162,39,.2);
  background: var(--ink-3);
  color: rgba(244,236,223,.64);
  font-size: 12px;
  line-height: 1.8;
}
.foyer-footer > div { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foyer-footer__brand { font-family: var(--serif); font-size: 18px; color: var(--paper); letter-spacing: .12em; }
.foyer-footer__links { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.foyer-footer__links :where(a,button) { min-height: 44px; display: inline-flex; align-items: center; }
.foyer-footer__links :where(a,button):hover { color: var(--gold-2); }

/* 原生对话框：内容说明与互动共用。 */
.museum-dialog {
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: clamp(30px,5vw,64px);
  border: 1px solid rgba(201,162,39,.35);
  background: var(--ink-2);
  color: var(--paper);
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}
.museum-dialog::backdrop { background: rgba(5,4,4,.78); backdrop-filter: blur(10px); }
.museum-dialog[open] { animation: dialogIn .35s var(--ease); }
.museum-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 25px;
  color: var(--gold-2);
}
.museum-dialog h2 { margin: 0 0 24px; font: 500 clamp(25px,4vw,40px)/1.45 var(--serif); letter-spacing: .04em; }
.museum-dialog p:not(.eyebrow) { font-size: 15px; line-height: 1.95; color: rgba(244,236,223,.76); }
.museum-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 跨页“过门”：明确目的厅，支持浏览器返回与减少动态。 */
.museum-gate { position: fixed; inset: 0; z-index: 10000; visibility: hidden; pointer-events: none; }
.museum-gate.is-active,
.museum-gate.is-entering { visibility: visible; pointer-events: auto; }
.museum-gate__panel { position: absolute; left: 0; width: 100%; height: 50.15%; background: #0b0a09; transform: scaleY(0); }
.museum-gate__panel--top { top: 0; transform-origin: top; }
.museum-gate__panel--bottom { bottom: 0; transform-origin: bottom; }
.museum-gate.is-active .museum-gate__panel { transform: scaleY(1); transition: transform .48s var(--ease); }
.museum-gate.is-entering .museum-gate__panel { transform: scaleY(1); }
.museum-gate.is-entering.is-revealing .museum-gate__panel { transform: scaleY(0); transition: transform .68s var(--ease); }
.museum-gate__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  opacity: 0;
  color: var(--paper);
}
.museum-gate.is-active .museum-gate__label { opacity: 1; transition: opacity .2s .2s; }
.museum-gate.is-entering .museum-gate__label { opacity: 1; }
.museum-gate.is-entering.is-revealing .museum-gate__label { opacity: 0; transition: opacity .25s; }
.museum-gate__label small { font: 10px/1.6 var(--mono); letter-spacing: .34em; color: var(--gold-2); }
.museum-gate__label strong { font: 500 clamp(25px,4vw,44px)/1.35 var(--serif); letter-spacing: .12em; }
.museum-gate__label i { width: 80px; height: 1px; margin: 6px auto 0; background: var(--gold); }

.motion-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  font: 10px/1.4 var(--mono);
  letter-spacing: .08em;
  color: inherit;
  opacity: .76;
}
.motion-toggle:hover { opacity: 1; }
.motion-toggle::before { content: "◌"; display: inline-block; margin-right: 4px; font-size: 12px; vertical-align: 1px; }
.motion-toggle[aria-pressed="true"]::before { content: "●"; color: var(--gold-2); }

/* 走秀厅：由静态照片墙变成访客可控制的数字秀场。 */
.runway-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.runway-hero__actions .btn { min-height: 48px; }
.runway-cinema {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #08090b;
  color: var(--paper);
}
.runway-cinema::backdrop { background: #08090b; }
.runway-cinema[open] { animation: cinemaIn .45s var(--ease); }
.runway-cinema__shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.runway-cinema__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px clamp(18px,4vw,56px);
  border-bottom: 1px solid rgba(201,162,39,.22);
}
.runway-cinema__top strong { font: 500 17px/1.5 var(--serif); letter-spacing: .12em; }
.runway-cinema__top small { display: block; font: 9px/1.5 var(--mono); letter-spacing: .22em; color: var(--gold-2); }
.runway-cinema__close { width: 44px; height: 44px; font-size: 26px; }
.runway-cinema__stage { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 100%, #26303b 0%, #0d1117 45%, #08090b 78%); }
.runway-cinema__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 26%, rgba(227,205,143,.06) 43%, transparent 58%);
  pointer-events: none;
}
.runway-cinema__stage img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: opacity .22s, transform .5s var(--ease); }
.runway-cinema__stage img.is-changing { opacity: .12; transform: scale(.985); }
.runway-cinema__caption {
  position: absolute;
  left: clamp(18px,4vw,56px);
  bottom: 24px;
  max-width: min(480px,72vw);
  padding: 14px 18px;
  background: rgba(8,9,11,.74);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}
.runway-cinema__caption strong { display: block; font: 500 clamp(17px,2vw,24px)/1.45 var(--serif); }
.runway-cinema__caption span { display: block; margin-top: 4px; font: 10px/1.6 var(--mono); letter-spacing: .12em; color: var(--gold-2); }
.runway-cinema__controls { padding: 14px clamp(18px,4vw,56px) 18px; border-top: 1px solid rgba(201,162,39,.22); }
.runway-cinema__controlrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.runway-cinema__controlrow button { min-width: 46px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(244,236,223,.22); }
.runway-cinema__controlrow button:hover { border-color: var(--gold-2); color: var(--gold-2); }
.runway-cinema__controlrow .runway-cinema__play { min-width: 112px; background: var(--gold); border-color: var(--gold); color: var(--ink); }
.runway-cinema__count { min-width: 84px; text-align: center; font: 11px/1.5 var(--mono); letter-spacing: .12em; }
.runway-cinema__progress { height: 2px; margin-top: 14px; background: rgba(244,236,223,.14); overflow: hidden; }
.runway-cinema__progress i { display: block; height: 100%; width: 0; background: var(--gold-2); }
.runway-cinema__thumbs { display: flex; gap: 7px; margin-top: 12px; overflow-x: auto; padding: 3px 3px 7px; scrollbar-width: thin; }
.runway-cinema__thumbs button { flex: 0 0 42px; height: 58px; padding: 0; border: 1px solid transparent; opacity: .52; background: #16191e; }
.runway-cinema__thumbs button[aria-selected="true"] { border-color: var(--gold-2); opacity: 1; }
.runway-cinema__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 藏品著录：不只有弹窗，还能放大和拖动查看针脚。 */
.artifact-modal__media { position: relative; overflow: hidden; }
.artifact-modal__media > img { user-select: none; transform-origin: center; will-change: transform; }
.artifact-modal__media > img.is-zoomed { cursor: grab; }
.artifact-modal__media > img.is-dragging { cursor: grabbing; }
.artifact-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  background: rgba(8,7,6,.82);
  border: 1px solid rgba(201,162,39,.36);
  color: var(--paper);
  backdrop-filter: blur(8px);
}
.artifact-zoom button { width: 44px; height: 44px; font-size: 20px; }
.artifact-zoom output { min-width: 54px; text-align: center; font: 10px/1 var(--mono); }

@keyframes foyerEnter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes foyerCamera { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cinemaIn { from { opacity: 0; } to { opacity: 1; } }

html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] .reveal,
html[data-motion="off"] .artifact-card { opacity: 1 !important; transform: none !important; }

/* 阅读正文保持实际合成对比度，不用低透明度制造“精致感”。 */
.section-head .head-note { font-size: 16px; opacity: 1; }

@media (max-width: 1180px) {
  .foyer-v3 .hall-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foyer-v3 .hall-card { min-height: 390px; }
  .foyer-v3 .foyer-hero__figures { display: none; }
}
@media (max-width: 1024px) {
  .foyer-v3 .foyer-hero__inner { max-width: 660px; }
  .foyer-v3 .foyer-hero__media img { object-position: 58% 40%; }
  .motion-toggle { padding-inline: 2px; }
}
@media (max-width: 820px) {
  .foyer-v3 .foyer-hero { min-height: 100svh; }
  .foyer-v3 .foyer-hero__media img { object-position: 64% 40%; }
  .foyer-v3 .foyer-hero__veil { background: linear-gradient(90deg, rgba(7,7,7,.9), rgba(7,7,7,.46)), linear-gradient(0deg, rgba(7,7,7,.9), transparent 60%); }
  .foyer-v3 .foyer-hero h1 .line-gold { font-size: clamp(70px,20vw,126px); }
  .foyer-v3 .foyer-hero h1 .line-outline { font-size: clamp(23px,6vw,36px); }
  .foyer-v3 .foyer-hero__inner { padding-bottom: 74px; }
  .foyer-v3 .foyer-seal { top: auto; bottom: 28px; right: var(--pad); }
  .foyer-v3 .foyer-hero__scroll { display: none; }
  .foyer-v3 .hall-card { min-height: 350px; }
  .foyer-footer { align-items: flex-start; flex-direction: column; }
  .foyer-footer > div { gap: 10px 18px; }
  .runway-cinema__caption { bottom: 16px; }
}
@media (max-width: 560px) {
  .foyer-v3 .foyer-hero__inner { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 58px; }
  .foyer-v3 .foyer-hero__media img { object-position: 61% 40%; }
  .foyer-v3 .foyer-hero__lede br { display: none; }
  .foyer-v3 .foyer-hero__actions { gap: 10px; }
  .foyer-v3 .foyer-hero__actions .btn { padding-inline: 17px; font-size: 10px; }
  .foyer-v3 .hall-grid { grid-template-columns: 1fr; }
  .foyer-v3 .hall-card,
  .foyer-v3 .hall-card--feature { grid-column: span 1; min-height: 360px; }
  .foyer-v3 .halls-hint { font-size: 10px; }
  .foyer-footer { font-size: 11px; }
  .foyer-footer__links { gap: 4px 14px !important; }
  .museum-dialog { padding: 42px 24px 28px; }
  .runway-cinema__top { min-height: 58px; }
  .runway-cinema__top strong { font-size: 14px; }
  .runway-cinema__caption { left: 14px; right: 14px; max-width: none; bottom: 12px; padding: 10px 12px; }
  .runway-cinema__controls { padding: 10px 12px 12px; }
  .runway-cinema__controlrow { gap: 6px; }
  .runway-cinema__controlrow button { padding-inline: 12px; }
  .runway-cinema__thumbs button { flex-basis: 36px; height: 50px; }
  .artifact-zoom { right: 8px; bottom: 8px; }
  .artifact-card,
  .artifact-card:nth-child(odd) { transform: translate3d(0, 16px, 0); }
  .artifact-card.card-in,
  .artifact-card:nth-child(odd).card-in { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .museum-gate { display: none; }
  .runway-cinema__stage img { transform: none !important; }
}

/* ==========================================================================
   展厅地图深化 2026-11-21
   指针光斑 / 入场基线 / 参观记录 —— 只作用于门厅展卡，不改分馆版式
   ========================================================================== */
.hall-card { --mx: 50%; --my: 32%; }

.hall-card__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(30% 34% at var(--mx) var(--my),
      rgba(227, 205, 143, 0.13) 0%,
      rgba(227, 205, 143, 0.04) 46%,
      transparent 70%);
  transition: opacity 0.55s var(--ease);
}

.hall-card:hover .hall-card__glow,
.hall-card:focus-visible .hall-card__glow { opacity: 1; }

.hall-card__body { position: relative; z-index: 1; }

/* 进入基线：悬停/聚焦时从左侧展开一道金线 */
.hall-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(227, 205, 143, 0.18), var(--gold-2) 44%, var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}

.hall-card:hover::before,
.hall-card:focus-visible::before { transform: scaleX(1); }

/* 参观记录：去过的厅在右上角留一枚极轻的确认 */
.hall-card__seen {
  position: absolute;
  top: clamp(14px, 1.4vw, 20px);
  right: clamp(14px, 1.4vw, 20px);
  z-index: 2;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 4px;
  font: 9px/1 var(--mono);
  letter-spacing: 0.18em;
  color: var(--gold-2);
  background: rgba(8, 7, 6, 0.42);
  border: 1px solid rgba(227, 205, 143, 0.26);
  backdrop-filter: blur(4px);
}

.hall-card__seen::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.hall-card[data-visited] .hall-card__seen { display: inline-flex; }

.hall-card[data-visited] .hall-card__media img { filter: saturate(0.82) brightness(0.74); }

/* 键盘聚焦与悬停同等待遇 */
.hall-card:focus-visible::after {
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.18) 0%, rgba(8, 7, 6, 0.42) 46%, rgba(8, 7, 6, 0.9) 100%);
}

.hall-card:focus-visible .hall-card__media img {
  filter: saturate(1) brightness(0.8);
  transform: scale(1.07);
}

.hall-card:focus-visible .hall-card__go { opacity: 1; letter-spacing: 0.3em; }

.hall-card:focus-visible .hall-card__body { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  .hall-card__glow { display: none; }
}

/* ---------- 纹样谱系（纹样厅 · v3 step2） ---------- */
.lineage { padding: 0 var(--pad); margin-top: clamp(18px, 2.6vh, 28px); }
.lineage-row {
  display: grid;
  grid-template-columns: minmax(168px, 216px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3.2vh, 34px) 0;
  border-top: 1px solid rgba(18, 16, 14, 0.14);
}
.lineage-row:last-child { border-bottom: 1px solid rgba(18, 16, 14, 0.14); }
.lineage-key { display: grid; align-content: start; gap: 6px; }
.lineage-en { margin: 0; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--red); }
.lineage-key h4 { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.lineage-count { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: #6f6559; }
.lineage-terms { margin: 4px 0 0; font-size: 11px; line-height: 1.85; color: #6f6559; }
.lineage-track {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.lineage-track::-webkit-scrollbar { height: 4px; }
.lineage-track::-webkit-scrollbar-thumb { background: rgba(18, 16, 14, 0.24); }
.lineage-track::-webkit-scrollbar-track { background: rgba(18, 16, 14, 0.07); }
.lineage-item { flex: 0 0 104px; scroll-snap-align: start; }
.lineage-item button { display: grid; gap: 7px; width: 100%; text-align: left; cursor: pointer; }
.lineage-item__media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: rgba(18, 16, 14, 0.06); }
.lineage-item__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease), filter 0.5s; }
.lineage-item button:hover .lineage-item__media img,
.lineage-item button:focus-visible .lineage-item__media img { transform: scale(1.04); }
.lineage-item__id { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em; color: #8a6728; }
.lineage-item__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; line-height: 1.5; color: #3f382f; }
.lineage-item__pat { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; line-height: 1.5; color: #6f6559; }
.lineage-item button:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) {
  .lineage-row { grid-template-columns: 1fr; gap: 16px; }
  .lineage-terms { max-width: 46ch; }
}
@media (max-width: 560px) {
  .lineage-item { flex-basis: 88px; }
}

/* ---------- 门厅 v4：序厅 / 本馆一览 / 参观动线 ---------- */
.foyer-intro::before { content: none; }
.foyer-intro .intro-grid { align-items: center; }
.foyer-intro .intro-copy .btn { margin-top: 20px; }
.foyer-intro .intro-media .frame--main img { object-position: 50% 38%; }

.foyer-results { border-top: 1px solid rgba(18, 16, 14, 0.12); }
.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vh, 54px);
}
.results-head .section-headline { margin-bottom: 0; }
.results-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #6f6559;
}
.result-item { display: block; color: var(--paper); }
.result-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.88));
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.result-cap b { font-family: var(--latin); font-weight: 400; font-size: 18px; letter-spacing: 0.08em; }
.result-cap b sup { font-size: 0.55em; vertical-align: super; }
.result-item:hover .result-cap { background: linear-gradient(180deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.86)); }
.results-foot a { color: var(--ink); border-bottom: 1px solid rgba(18, 16, 14, 0.3); padding-bottom: 2px; }
.results-foot a:hover { color: var(--red); }

.foyer-route { background: var(--ink); color: var(--paper); padding-bottom: 0; }
.foyer-route .section-headline { color: var(--paper-3); margin-bottom: 0; }
.foyer-route .eyebrow { color: var(--gold-2); }
.route-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vh, 54px);
}
.route-note {
  max-width: 38ch;
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(244, 236, 223, 0.5);
}
.route-note a { color: var(--gold-2); border-bottom: 1px solid rgba(201, 162, 39, 0.45); }
.route {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(244, 236, 223, 0.14);
  border-block: 1px solid rgba(244, 236, 223, 0.14);
}
.route__step { background: var(--ink); }
.route__step a {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  padding: 26px clamp(14px, 1.6vw, 22px) 30px;
  color: var(--paper);
  transition: background 0.5s var(--ease);
}
.route__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--gold-2); }
.route__name { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: 0.06em; }
.route__desc { font-size: 11.5px; line-height: 1.95; color: rgba(244, 236, 223, 0.6); }
.route__go {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  opacity: 0.72;
  transition: letter-spacing 0.5s var(--ease), opacity 0.5s var(--ease);
}
.route__step a:hover { background: rgba(244, 236, 223, 0.05); }
.route__step a:hover .route__go { opacity: 1; letter-spacing: 0.3em; }
.route__step a:focus-visible { outline: 1px solid var(--gold); outline-offset: -4px; }
.motion-toggle { white-space: nowrap; }

@media (max-width: 1100px) {
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .intro-media { min-height: 360px; }
}
@media (max-width: 640px) {
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-head .section-headline { font-size: clamp(26px, 6vw, 34px); }
  .result-cap { padding: 12px 14px; font-size: 10.5px; }
}

/* ---------- 门厅 v4：展厅地图 dialog ---------- */
.hall-map {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: clamp(24px, 3.6vw, 48px);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: #0d0b09;
  color: var(--paper);
  overflow: auto;
}
.hall-map::backdrop { background: rgba(6, 5, 4, 0.74); backdrop-filter: blur(6px); }
.hall-map .museum-dialog__close { color: var(--paper-3); }
.hall-map .eyebrow { margin: 0 0 8px; color: var(--gold-2); }
.hall-map h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); font-weight: 500; line-height: 1.2; color: var(--paper-3); }
.hall-map__note { max-width: 58ch; margin: 0 0 clamp(20px, 3vh, 32px); font-size: 12.5px; line-height: 1.95; color: rgba(244, 236, 223, 0.55); }
.hall-map__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid rgba(244, 236, 223, 0.16);
  background: rgba(244, 236, 223, 0.16);
}
.hall-map__room {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 116px;
  padding: 18px clamp(14px, 1.6vw, 22px) 26px;
  background: #0d0b09;
  color: var(--paper);
  transition: background 0.4s var(--ease);
}
.hall-map__room:hover,
.hall-map__room:focus-visible { background: #181310; }
.hall-map__room:focus-visible { outline: 1px solid var(--gold); outline-offset: -3px; }
.hall-map__room--wide { grid-column: span 7; }
.hall-map__room--tall { grid-column: span 5; }
.hall-map__room--third { grid-column: span 4; }
.hall-map__room--half { grid-column: span 6; }
.hall-map__no { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--gold-2); }
.hall-map__name { font-family: var(--serif); font-size: clamp(21px, 2vw, 28px); letter-spacing: 0.06em; }
.hall-map__en { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; color: rgba(244, 236, 223, 0.38); }
.hall-map__desc { margin-top: 4px; font-size: 11.5px; line-height: 1.8; color: rgba(244, 236, 223, 0.55); }
.hall-map__room::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-2);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hall-map__room:hover::after { opacity: 1; transform: translateX(3px); }
.hall-map__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(18px, 3vh, 28px); }
.hall-map__foot > span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(244, 236, 223, 0.4); }
@media (max-width: 820px) {
  .hall-map { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 22px 18px 26px; }
  .hall-map__room { grid-column: span 12; min-height: 82px; padding: 14px 14px 22px; }
  .hall-map__room::after { bottom: 12px; }
}

/* ============================================================
   v5：门厅走秀、帘幕开场、全站瘦身
   ============================================================ */

/* ---------- 帘幕开场 ---------- */
.curtain-intro {
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
  animation: curtainHide 0s linear 1.12s forwards;
}
@keyframes curtainHide { to { visibility: hidden; } }
.curtain-intro i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.4%;
  background:
    linear-gradient(90deg, #0b0a09 0 72%, #13100c 100%),
    #0b0a09;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  animation: curtainOut 0.86s cubic-bezier(0.76, 0, 0.24, 1) 0.16s forwards;
}
.curtain-intro i:nth-of-type(1) { left: 0; transform-origin: left; animation-name: curtainOutLeft; }
.curtain-intro i:nth-of-type(2) { right: 0; transform-origin: right; animation-name: curtainOutRight; }
@keyframes curtainOutLeft {
  0%, 14% { transform: translateX(0); }
  100% { transform: translateX(-100.5%); }
}
@keyframes curtainOutRight {
  0%, 14% { transform: translateX(0); }
  100% { transform: translateX(100.5%); }
}
.curtain-intro span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.42em;
  color: var(--gold-2);
  animation: curtainWord 0.62s var(--ease) 0.05s forwards;
}
.curtain-intro span em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.36em;
  margin-left: 14px;
  color: rgba(244, 236, 223, 0.5);
}
@keyframes curtainWord {
  0% { opacity: 0; transform: translateY(8px); }
  35% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
html[data-motion="off"] .curtain-intro { display: none; }

/* ---------- 门厅首屏：走秀影像 ---------- */
.foyer-hero--runway .foyer-hero__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 62% 50%;
}
[data-motion="off"] .foyer-hero--runway .foyer-hero__video { animation: none; }
.foyer-hero--runway .foyer-hero__media { background: #080a0d; overflow: hidden; }
.foyer-hero--runway .foyer-hero__media::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("../img/runway-hero.jpg") center / cover no-repeat;
  filter: blur(32px) brightness(0.58) saturate(0.9);
  transform: scale(1.06);
}
.foyer-hero--runway .foyer-hero__video { position: relative; z-index: 1; }
.foyer-hero--runway .foyer-hero__veil {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.86) 0%, rgba(5, 4, 4, 0.5) 42%, rgba(5, 4, 4, 0.08) 78%),
    linear-gradient(180deg, rgba(5, 4, 4, 0.6) 0%, rgba(5, 4, 4, 0.08) 40%, rgba(5, 4, 4, 0.92) 100%);
}
.foyer-hero--runway .foyer-hero__inner { max-width: min(1320px, calc(100vw - 2 * var(--pad))); }
.runway-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: rgba(244, 236, 223, 0.6);
}
.runway-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4543f;
  box-shadow: 0 0 0 5px rgba(212, 84, 63, 0.16);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.runway-look-data { display: none !important; }

/* 数字跳入 */
.count-up { display: inline-block; font: inherit; color: inherit; letter-spacing: inherit; }
.count-up.is-counting { animation: countPop 0.5s var(--ease); }
@keyframes countPop {
  0% { opacity: 0; transform: translateY(10px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.foyer-hero__figures b .count-up { color: inherit; font: inherit; }

/* ---------- 门厅：馆藏四件 ---------- */
.foyer-results .results-head { display: block; margin-bottom: clamp(24px, 4vh, 44px); }
.foyer-results .result-item { position: relative; }
.foyer-results .result-item::before {
  content: attr(data-no);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 26px;
  padding: 5px 6px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(255, 250, 240, 0.92);
  background: rgba(12, 10, 8, 0.52);
  border: 1px solid rgba(255, 250, 240, 0.2);
  backdrop-filter: blur(4px);
}
.foyer-results .result-item--tall img { object-position: 50% 2%; }
.foyer-results .result-cap {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 6, 0.62) 48%, rgba(10, 8, 6, 0.78) 100%);
}
.foyer-results .result-cap span { color: rgba(250, 243, 231, 0.82); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.foyer-results .result-cap b {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.foyer-results .result-cap b sup { font-size: 0.5em; }

/* 七厅：四列排布，最后一枚自然落位 */
.foyer-v3 .hall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.foyer-v3 .hall-card { min-height: clamp(300px, 34vh, 380px); }

/* 尾页（门厅） */
.foyer-footer.foyer-footer--v5 {
  display: block;
  padding: 22px var(--pad) 20px;
}
.foyer-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  flex-wrap: wrap;
}
.foyer-footer--v5 > .foyer-footer__top > div:first-child { display: grid; gap: 4px; }
.foyer-footer__brand { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em; color: var(--gold-2); }
.foyer-footer__sub { font-size: 10.5px; letter-spacing: 0.04em; color: rgba(244, 236, 223, 0.42); }
.foyer-footer__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 11px; }
.foyer-footer__links a,
.foyer-footer__links button { color: rgba(244, 236, 223, 0.62); font-size: 11px; }
.foyer-footer__links a:hover,
.foyer-footer__links button:hover { color: var(--gold-2); }
.foyer-footer__refs {
  display: flex;
  align-items: center;
  gap: 6px 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}
.foyer-footer__refs span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: rgba(244, 236, 223, 0.36); }
.foyer-footer__refs a { color: rgba(244, 236, 223, 0.55); }
.foyer-footer__refs a:hover { color: var(--gold-2); }

/* ---------- 分厅：压顶、删解释小字 ---------- */
body:not(.foyer) .section-head {
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(22px, 4vh, 44px);
  gap: 6px;
}
body:not(.foyer) .section-head .head-note { display: none; }
.looks, .atlas, .journey, .hands, .atelier { padding-top: clamp(24px, 4vh, 44px); }
.looks .section-head { padding-top: clamp(20px, 3.6vh, 40px); padding-bottom: clamp(14px, 2.6vh, 26px); }
.looks-stage { align-items: start; }
.looks .dh-stage { height: min(46vh, 440px); }
.atelier .section-head { padding-top: clamp(20px, 3.6vh, 40px); }
.legacy { padding: clamp(26px, 4.5vh, 54px) var(--pad) clamp(44px, 7vh, 76px); }
.atelier .section-head { padding-top: clamp(20px, 3.6vh, 40px); padding-bottom: clamp(14px, 2.4vh, 24px); }

/* ---------- 声音按钮 ---------- */
.sound-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(243, 235, 221, 0.62);
  border: 1px solid rgba(243, 235, 221, 0.16);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.foyer .sound-toggle { color: #f4ecdd; }
.sound-toggle::before { content: "♪"; margin-right: 3px; font-size: 11px; }
.sound-toggle[aria-pressed="true"] { color: var(--gold-2); border-color: rgba(201, 162, 39, 0.5); }
.sound-toggle[aria-pressed="false"]::before { opacity: 0.45; }
.sound-toggle:hover { color: var(--gold-2); border-color: rgba(201, 162, 39, 0.5); }

/* ---------- 过门：左右帘幕 ---------- */
.museum-gate__panel {
  left: auto;
  top: 0;
  width: 50.2%;
  height: 100%;
  transform: scaleX(0);
}
.museum-gate__panel--left { left: 0; transform-origin: left; }
.museum-gate__panel--right { right: 0; transform-origin: right; }
.museum-gate.is-active .museum-gate__panel { transform: scaleX(1); transition: transform 0.34s var(--ease); }
.museum-gate.is-entering .museum-gate__panel { transform: scaleX(1); }
.museum-gate.is-entering.is-revealing .museum-gate__panel { transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1); }

/* ---------- 尾页：压缩 ---------- */
.site-foot.site-foot--compact { padding: clamp(28px, 4vh, 46px) var(--pad) 24px; }
.site-foot--compact .foot-compact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(22px, 4vw, 56px);
}
.foot-compact__main { display: grid; gap: 18px; }
.foot-compact__brand span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 23px);
  letter-spacing: 0.1em;
  color: var(--paper-3);
}
.foot-compact__brand span em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.28em;
  margin-left: 10px;
  color: var(--gold-2);
}
.foot-compact__brand p { margin: 6px 0 0; font-size: 11px; color: rgba(243, 235, 221, 0.46); }
.foot-compact__credits { display: grid; gap: 5px; }
.foot-compact__credits p { margin: 0; font-size: 10.5px; line-height: 1.7; color: rgba(243, 235, 221, 0.46); }
.foot-compact__credits b { display: inline-block; width: 34px; margin-right: 8px; font-family: var(--mono); font-weight: 400; font-size: 8.5px; letter-spacing: 0.16em; color: rgba(201, 162, 39, 0.7); }
.foot-links__title {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.foot-links__title em { font-style: normal; color: rgba(243, 235, 221, 0.3); margin-left: 6px; }
.foot-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 22px; margin: 0; padding: 0; list-style: none; }
.foot-links a { font-size: 10.5px; line-height: 1.9; color: rgba(243, 235, 221, 0.55); }
.foot-links a:hover { color: var(--gold-2); }
.foot-compact__meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 235, 221, 0.08);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: rgba(243, 235, 221, 0.34);
}
.foot-compact__meta a { color: rgba(243, 235, 221, 0.5); }
.foot-compact__meta a:hover { color: var(--gold-2); }

/* ---------- 工艺厅：步骤条醒目 ---------- */
.journey { padding-top: clamp(26px, 4.5vh, 52px); }
.journey-progress {
  margin: clamp(8px, 1.6vh, 16px) var(--pad) clamp(18px, 3vh, 28px);
  border-top: 0;
  gap: 8px;
}
.journey-progress button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 14px 14px;
  border: 1px solid rgba(18, 16, 14, 0.16);
  background: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #7d7063;
}
.journey-progress button b {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
}
.journey-progress button::before { display: none; }
.journey-progress button:hover { color: var(--ink); border-color: rgba(18, 16, 14, 0.34); }
.journey-progress button.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.journey-progress button.is-active b { color: var(--gold-2); }

/* ---------- 工坊：四道工序 ---------- */
.craft-process { margin-top: clamp(44px, 7vh, 84px); }
.process-list { display: grid; gap: clamp(30px, 5vh, 58px); margin-top: clamp(22px, 3.5vh, 38px); }
.process-step {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(22px, 3.6vw, 56px);
  align-items: center;
  padding-top: clamp(24px, 4vh, 42px);
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}
.process-step:nth-child(even) .process-media { order: 2; }
.process-media { margin: 0; overflow: hidden; background: #0d0b09; }
.process-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.process-step:hover .process-media img { transform: scale(1.03); }
.process-copy { max-width: 54ch; }
.process-no { font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em; color: var(--gold-2); }
.process-copy h4 {
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper-3);
}
.process-lead {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.95;
  color: var(--gold-soft);
}
.process-copy > p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 2.05;
  color: rgba(243, 235, 221, 0.58);
}
.process-key {
  display: grid;
  gap: 5px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(243, 235, 221, 0.12);
  list-style: none;
}
.process-key li { font-size: 11px; line-height: 1.8; color: rgba(243, 235, 221, 0.48); }
.process-key b { display: inline-block; width: 42px; margin-right: 8px; font-family: var(--mono); font-weight: 400; font-size: 8.5px; letter-spacing: 0.16em; color: rgba(201, 162, 39, 0.72); }

/* ---------- 非遗坐标：右侧实践照片 + 名录重排 ---------- */
.legacy-grid { margin-top: clamp(26px, 4vh, 44px); }
.legacy-body {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(30px, 5vw, 72px);
  margin-top: clamp(38px, 6vh, 66px);
  padding-top: clamp(28px, 4.5vh, 46px);
  border-top: 1px solid rgba(18, 16, 14, 0.14);
}
.legacy-tech h3 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 31px); font-weight: 600; letter-spacing: 0.06em; }
.legacy-tech > p { margin: 0 0 20px; font-size: 13px; line-height: 2.1; color: #4d453c; }
.legacy-tech__list { display: grid; gap: 0; margin: 0 0 22px; }
.legacy-tech__list > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(18, 16, 14, 0.1);
}
.legacy-tech__list dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: #8a6728; }
.legacy-tech__list dd { margin: 0; font-size: 12px; line-height: 1.9; color: #4d453c; }
.legacy-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.04em; color: #8a6728; border-bottom: 1px solid rgba(138, 103, 40, 0.35); padding-bottom: 3px; }
.legacy-link:hover { color: var(--ink); }
.legacy-aside { display: grid; align-content: start; gap: clamp(18px, 2.6vh, 28px); }
.legacy-quote {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--red);
  font-family: var(--serif);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.85;
  color: var(--ink);
}
.legacy-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.legacy-photos figure { margin: 0; overflow: hidden; background: #e7e0d4; }
.legacy-photos figure:first-child { grid-column: 1 / -1; }
.legacy-photos figure:last-child { grid-column: 1 / -1; }
.legacy-photos figure:last-child img { aspect-ratio: 16 / 7; object-position: 50% 58%; }
.legacy-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s var(--ease); }
.legacy-photos figure:first-child img { aspect-ratio: 16 / 9; }
.legacy-photos figure:hover img { transform: scale(1.03); }
.legacy-photos figcaption { padding: 8px 10px 9px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: #7b7063; }
.legacy-sources { margin-top: clamp(40px, 6vh, 70px); padding-top: clamp(26px, 4vh, 40px); border-top: 1px solid rgba(18, 16, 14, 0.16); }

/* 非遗坐标：实践记录影像 */
.fieldwork { margin-top: clamp(34px, 5vh, 62px); }
.fieldwork__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.fieldwork__head h3 { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; letter-spacing: 0.06em; }
.fieldwork__head span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; color: #8a6728; }
.fieldwork__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fieldwork__grid figure { margin: 0; overflow: hidden; background: #e7e0d4; }
.fieldwork__grid figure:first-child { grid-column: 1 / -1; }
.fieldwork__grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.fieldwork__grid figure:first-child img { aspect-ratio: 16 / 9; object-position: center 42%; }
.fieldwork__grid figure:hover img { transform: scale(1.03); }
.fieldwork__grid figcaption { padding: 8px 10px 9px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: #7b7063; }
@media (max-width: 820px) {
  .fieldwork__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fieldwork__grid figure:first-child img { aspect-ratio: 16 / 9; }
}
.sources-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.sources-head h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: 0.06em; }
.sources-head p { margin: 0; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; color: #8a6728; }
.sources-list { margin: 0; padding: 0; list-style: none; }
.sources-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(18px, 2.6vh, 24px) 0;
  border-top: 1px solid rgba(18, 16, 14, 0.1);
}
.sources-year { font-family: var(--serif); font-size: 17px; color: var(--red); letter-spacing: 0.04em; }
.sources-list b { display: block; font-family: var(--serif); font-size: 15.5px; font-weight: 600; letter-spacing: 0.02em; }
.sources-list p { margin: 6px 0 0; font-size: 11.5px; line-height: 1.95; color: #6a5f52; max-width: 72ch; }
.sources-list a { display: inline-block; margin-top: 7px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: #8a6728; border-bottom: 1px solid rgba(138, 103, 40, 0.3); }
.sources-list a:hover { color: var(--ink); }
.sources-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(18, 16, 14, 0.1); font-size: 10.5px; line-height: 1.9; color: #7b7063; }

/* ---------- 纹样厅：谱系居中、标题数据 ---------- */
.lineage-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: clamp(26px, 3.6vh, 38px) 0;
}
.lineage-key { justify-items: center; text-align: center; max-width: 62ch; }
.lineage-key h4 { font-size: clamp(21px, 1.9vw, 27px); }
.lineage-terms { max-width: 52ch; }
.lineage-track { width: 100%; padding-bottom: 12px; }
.lineage-item { flex-basis: 112px; }
.atlas-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: clamp(14px, 2.4vh, 22px) 0 clamp(22px, 4vh, 38px);
  padding-inline: var(--pad);
}
.atlas > .head-note { padding-inline: var(--pad); }
.strip-head { padding-inline: var(--pad); }
.strip-head .wall-head { padding-inline: 0; margin-bottom: 0; }
.atlas-figures div { display: flex; align-items: baseline; gap: 10px; }
.atlas-figures b { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 34px); font-weight: 600; line-height: 1; }
.atlas-figures div > span:last-child { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: #7b7063; }

@media (max-width: 1024px) {
  .process-step { grid-template-columns: minmax(0, 1fr); }
  .process-step:nth-child(even) .process-media { order: 0; }
  .legacy-body { grid-template-columns: minmax(0, 1fr); }
  .site-foot--compact .foot-compact { grid-template-columns: minmax(0, 1fr); }
  .hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foyer-v3 .hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .journey-progress { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .journey-progress button { display: grid; gap: 5px; padding: 9px 8px 10px; font-size: 8.5px; }
  .journey-progress button b { font-size: 17px; }
  .foot-links ul { grid-template-columns: minmax(0, 1fr); }
  .legacy-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sources-list li { grid-template-columns: 48px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hall-grid { grid-template-columns: minmax(0, 1fr); }
  .foyer-v3 .hall-grid { grid-template-columns: minmax(0, 1fr); }
  .hall-card { min-height: 300px; }
  .foyer-hero--runway .foyer-hero__video { object-position: 62% 30%; }
  .foyer-footer__links { gap: 12px; }
  .foyer-footer__refs { gap: 6px 14px; }
  .foyer-results .result-cap span { display: none; }
  .curtain-intro span em { display: none; }
}

/* ==========================================================================
   v6 · 门厅即秀场 · 2026-11-21
   ========================================================================== */

/* 帘幕：从中缝向两侧拉开，羽化边缘，避免“方块切开” */
.curtain-intro {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: curtainHide 0s linear 1.02s forwards;
}
.curtain-intro i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.4%;
  background:
    linear-gradient(90deg, #0a0806 0%, #14100c 58%, #221b13 100%);
  will-change: transform;
}
.curtain-intro i:nth-of-type(1) {
  left: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, #070605 0%, #12100c 78%, #251d14 95%, rgba(201, 162, 39, 0.55) 100%);
  -webkit-mask-image: linear-gradient(to right, #000 96%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, #000 96%, rgba(0, 0, 0, 0) 100%);
  animation: curtainOpenLeft 0.94s cubic-bezier(0.68, 0, 0.18, 1) 0.16s forwards;
}
.curtain-intro i:nth-of-type(2) {
  right: 0;
  background: linear-gradient(270deg, #070605 0%, #12100c 78%, #251d14 95%, rgba(201, 162, 39, 0.55) 100%);
  -webkit-mask-image: linear-gradient(to left, #000 96%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, #000 96%, rgba(0, 0, 0, 0) 100%);
  animation: curtainOpenRight 0.94s cubic-bezier(0.68, 0, 0.18, 1) 0.16s forwards;
}
.curtain-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.55), transparent);
  animation: curtainSeam 0.94s ease 0.16s forwards;
}
.curtain-intro span {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.42em;
  color: rgba(244, 236, 223, 0.9);
  animation: curtainWord 0.56s ease 0.18s forwards;
}
.curtain-intro span em {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.44em;
  color: rgba(201, 162, 39, 0.8);
}
@keyframes curtainOpenLeft {
  to { transform: translateX(-101%) scaleY(1.015); }
}
@keyframes curtainOpenRight {
  to { transform: translateX(101%) scaleY(1.015); }
}
@keyframes curtainSeam {
  to { opacity: 0; transform: scaleY(0.6); }
}
@keyframes curtainWord {
  to { opacity: 0; transform: translateY(-8px); }
}

/* 首屏：创意字 + 气势数字 */
.foyer-hero.foyer-hero--runway {
  align-items: center;
  background: #0a0806;
}
.foyer-hero--runway .foyer-hero__inner {
  padding-top: calc(var(--nav-h) + 6vh);
  padding-bottom: clamp(210px, 27vh, 300px);
}
.foyer-hero--runway .foyer-hero__video {
  object-position: 50% 30%;
}
.foyer-hero--runway .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}
.yi-mark {
  padding-left: 14px;
  border-left: 1px solid rgba(201, 162, 39, 0.5);
  font-family: "Noto Sans Yi", "Microsoft Yi Baiti", "Nuosu SIL", "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-2);
}
.yi-mark::before { content: none; }
.hero-yi {
  position: absolute;
  right: clamp(18px, 2.4vw, 38px);
  top: 30%;
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: "Noto Sans Yi", "Microsoft Yi Baiti", serif;
  font-size: 18px;
  letter-spacing: 0.5em;
  color: rgba(201, 162, 39, 0.55);
  pointer-events: none;
}
.head-index { font-family: "Noto Sans Yi", "Microsoft Yi Baiti", "Noto Serif SC", serif; }
.hero-title {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 20px);
  margin-top: clamp(16px, 3vh, 30px);
}
.hero-word-wrap { display: block; line-height: 0; }
.thread-title {
  display: block;
  width: clamp(310px, 50vw, 660px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 12px 26px rgba(6, 20, 34, 0.42));
}
.thread-title text {
  font-family: var(--serif);
  font-size: 190px;
  font-weight: 900;
  letter-spacing: 6px;
}
.tt-shadow { fill: #14324f; opacity: 0.2; }
.tt-fill { fill: url(#threadGrad); }
.tt-stitch {
  fill: none;
  stroke: rgba(127, 178, 221, 0.58);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tt-thread {
  fill: none;
  stroke: #a8cdec;
  stroke-width: 2.2;
  stroke-dasharray: 10 8;
  stroke-linecap: round;
  opacity: 0.9;
  animation: threadDraw 5.4s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
}
.tt-needle { fill: #f2f9ff; stroke: #4c7ea6; stroke-width: 1; }



@keyframes stitchDraw {
  from { stroke-dashoffset: 560; }
  to { stroke-dashoffset: 0; }
}
@keyframes threadDraw {
  from { stroke-dashoffset: 620; }
  to { stroke-dashoffset: 0; }
}
@keyframes threadRun {
  to { stroke-dashoffset: -220; }
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 26px);
  letter-spacing: 0.46em;
  color: rgba(244, 236, 223, 0.72);
}
.foyer-hero--runway .foyer-hero__lede {
  margin-top: clamp(16px, 2.4vh, 26px);
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: 0.14em;
  color: rgba(244, 236, 223, 0.76);
}
.foyer-v3 .foyer-hero__figures {
  left: var(--pad);
  right: auto;
  bottom: clamp(84px, 12vh, 132px);
  display: flex;
  align-items: flex-end;
  gap: clamp(26px, 4.4vw, 76px);
  text-align: left;
}
.foyer-v3 .foyer-hero__figures div {
  padding: 0;
  border: 0;
}
.foyer-v3 .foyer-hero__figures b {
  font-family: var(--serif);
  font-size: clamp(52px, 6.4vw, 112px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.015em;
  color: #f6efe2;
}
.foyer-v3 .foyer-hero__figures div > span:last-child {
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  opacity: 0.5;
}
.foyer-v3 .foyer-hero__figures .count-up {
  margin-top: 0;
  font-size: inherit;
  letter-spacing: inherit;
  opacity: 1;
}
.foyer-v3 .foyer-hero__figures div + div { position: relative; }
.foyer-v3 .foyer-hero__figures div + div::before {
  content: "";
  position: absolute;
  left: clamp(-16px, -2vw, -34px);
  top: 4px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.45), transparent);
}
.foyer-v3 .foyer-hero__scroll {
  left: auto;
  right: var(--pad);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(201, 162, 39, 0.9);
}
.foyer-v3 .foyer-hero__scroll::before { display: none; }
.foyer-v3 .foyer-hero__scroll i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.9), transparent);
  animation: scrollDrop 1.8s var(--ease-soft) infinite;
}
@keyframes scrollDrop {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.3; }
}

/* 走秀长卷 */
.runway-floor {
  position: relative;
  padding: clamp(64px, 9vh, 118px) 0 clamp(44px, 6vh, 76px);
  background: #0a0806;
  color: var(--paper);
  overflow: hidden;
}
.runway-floor__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 0 var(--pad);
  margin-bottom: clamp(26px, 4vh, 46px);
}
.runway-floor__head h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.runway-floor__head h2 span {
  margin-left: 0.16em;
  color: rgba(201, 162, 39, 0.92);
  -webkit-text-stroke: 0;
}
.runway-floor__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(244, 236, 223, 0.5);
  white-space: nowrap;
}
.runway-floor__meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0392b;
  box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.6);
  animation: livePulse 2s ease-out infinite;
}
.runway-marquee { overflow: hidden; }
.runway-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marqueeRun 78s linear infinite;
}
.runway-track:hover { animation-play-state: paused; }
.runway-marquee:hover .runway-track { animation-play-state: paused; }
.runway-track li {
  flex: none;
  width: clamp(216px, 21vw, 328px);
  margin-right: clamp(12px, 1.5vw, 22px);
}
.runway-track figure {
  margin: 0;
  cursor: zoom-in;
}
.runway-track img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 8%;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 0.8s var(--ease-soft), filter 0.8s;
}
.runway-track figure:hover img { transform: scale(1.025); filter: saturate(1.05); }
.runway-track figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 12px 2px 0;
}
.runway-track figcaption b {
  font-family: var(--latin);
  font-size: 11px;
  color: var(--gold-2);
}
.runway-track figcaption span {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(246, 239, 226, 0.9);
}
.runway-track figcaption em {
  flex-basis: 100%;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(246, 239, 226, 0.45);
}
@keyframes marqueeRun { to { transform: translateX(-50%); } }

/* 首页流动绣片 */
.foyer-strip {
  background: #0a0806;
  padding-bottom: clamp(30px, 4vh, 54px);
}
.foyer-strip__marquee {
  overflow: hidden;
  padding: clamp(16px, 2.4vh, 28px) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}
.foyer-strip__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marqueeRun 96s linear infinite;
}
.foyer-strip__marquee:hover .foyer-strip__track { animation-play-state: paused; }
.foyer-strip__track li {
  flex: none;
  width: clamp(196px, 18vw, 292px);
  margin-right: 12px;
}
.foyer-strip__track img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.94);
  transition: filter 0.6s;
}
.foyer-strip__track img:hover { filter: saturate(1.05) brightness(1); }
.foyer-strip__cap {
  margin: 14px var(--pad) 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: rgba(244, 236, 223, 0.38);
}

/* 序厅彝文 */
.intro-yi {
  margin-top: 22px;
  font-family: "Noto Sans Yi", "Microsoft Yi Baiti", "Nuosu SIL", "Noto Serif SC", serif;
  font-size: 15px;
  letter-spacing: 0.34em;
  color: rgba(108, 100, 89, 0.72);
}
.foyer-v3 .stat-row {
  border-top: 1px solid rgba(18, 16, 14, 0.16);
}
.foyer-v3 .stat-row > div {
  padding: clamp(18px, 2.6vh, 30px) 0 clamp(14px, 2vh, 22px);
}
.foyer-v3 .stat-row b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 76px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.foyer-v3 .stat-row .count-up {
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.foyer-v3 .stat-row div > span {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(18, 16, 14, 0.5);
}

/* 动线：去掉说明，只留编号与厅名 */
.foyer-v3 .route.route--slim {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 236, 223, 0.16);
}
.foyer-v3 .route--slim .route__step {
  border: 0;
  border-right: 1px solid rgba(244, 236, 223, 0.12);
}
.foyer-v3 .route--slim .route__step:last-child { border-right: 0; }
.foyer-v3 .route--slim .route__step a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "no go"
    "name go"
    "en go";
  align-items: end;
  gap: 2px 10px;
  padding: clamp(18px, 2.4vh, 30px) clamp(12px, 1.5vw, 24px);
}
.foyer-v3 .route--slim .route__no {
  grid-area: no;
  font-family: var(--latin);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  color: var(--gold-2);
}
.foyer-v3 .route--slim .route__name {
  grid-area: name;
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 21px);
  letter-spacing: 0.04em;
}
.foyer-v3 .route--slim .route__en {
  grid-area: en;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  opacity: 0.42;
}
.foyer-v3 .route--slim .route__go {
  grid-area: go;
  align-self: center;
  font-size: 14px;
  opacity: 0.5;
  transition: transform 0.4s var(--ease-soft), opacity 0.4s;
}
.foyer-v3 .route--slim .route__step a:hover .route__go { transform: translateX(4px); opacity: 1; }

/* 展厅页顶部不再有面包屑黑条 */
body[data-hall-theme="light"] .site-head,
body[data-hall-theme="light"] .site-head.is-scrolled,
body[data-hall-theme="light"] .site-head.is-solid {
  color: var(--paper);
  background: #0c0a08;
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
}
body[data-hall-theme="light"] .nav a[aria-current="page"] { color: var(--gold-2); }

/* 服饰厅：去掉重复裙摆图层，人物完整呈现 */
.looks .dh-skirt { display: none !important; }
.looks .dh-image { object-fit: contain; object-position: 50% 100%; }

/* 工艺厅：图像铺满，步骤更有分量 */
.j-media img { object-fit: cover; object-position: 50% 42%; }
.journey-progress button {
  align-items: flex-start;
  padding-top: 14px;
}
.journey-progress button b {
  font-family: var(--serif);
  font-weight: 500;
}

/* 工坊 AI 标注 */
.ai-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 250, 240, 0.82);
  background: rgba(10, 8, 6, 0.55);
  border: 1px solid rgba(255, 250, 240, 0.22);
  backdrop-filter: blur(4px);
}

/* 页脚创作者信息 */
.foyer-footer__credits {
  margin: 14px var(--pad) 0;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 236, 223, 0.4);
}

@media (max-width: 900px) {
  .foyer-v3 .foyer-hero__figures {
    left: var(--pad);
    right: var(--pad);
    bottom: 82px;
    display: flex;
    gap: clamp(14px, 5vw, 28px);
  }
  .foyer-v3 .foyer-hero__figures b { font-size: clamp(28px, 7.4vw, 42px); }
  .foyer-v3 .foyer-hero__figures span { font-size: 9px; letter-spacing: 0.08em; }
  .foyer-hero--runway .foyer-hero__inner { padding-bottom: 150px; }
  .foyer-v3 .route.route--slim { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foyer-v3 .route--slim .route__step:nth-child(4n) { border-right: 0; }
  .foyer-v3 .route--slim .route__step:nth-child(-n+4) { border-bottom: 1px solid rgba(244, 236, 223, 0.12); }
  .runway-floor__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .foyer-hero--runway .foyer-hero__inner { padding-bottom: 110px; }
  .thread-title { width: min(88vw, 430px); }
  .hero-sub { font-size: 15px; letter-spacing: 0.3em; }
  .runway-track li { width: 62vw; }
  .foyer-v3 .route.route--slim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foyer-v3 .route--slim .route__step:nth-child(4n) { border-right: 1px solid rgba(244, 236, 223, 0.12); }
  .foyer-v3 .route--slim .route__step:nth-child(3n) { border-right: 1px solid rgba(244, 236, 223, 0.12); }
  .foyer-v3 .route--slim .route__step:nth-child(2n) { border-right: 0; }
}
html[data-motion="off"] .curtain-intro { display: none; }
html[data-motion="off"] .runway-track,
html[data-motion="off"] .foyer-strip__track { animation: none; }

/* 纹样厅绣片：自动流动 */
.xp-grid.xp-grid--flow {
  display: block;
  overflow: hidden;
  cursor: default;
}
.xp-grid--flow .marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRun 120s linear infinite;
}
.xp-grid--flow:hover .marquee-track { animation-play-state: paused; }
.xp-grid--flow .xp-card {
  flex: 0 0 clamp(228px, 23vw, 332px);
  margin-right: 14px;
}
html[data-motion="off"] .xp-grid--flow .marquee-track { animation: none; }

/* 工艺厅：大编号水印 + 更有分量的步骤条 */
.journey-track { counter-reset: jstep; }
.j-step {
  counter-increment: jstep;
  position: relative;
  overflow: hidden;
}
.j-step::after {
  content: "0" counter(jstep);
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  top: -0.08em;
  font-family: var(--serif);
  font-size: clamp(110px, 15vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 39, 0.26);
  pointer-events: none;
  z-index: 0;
}
.j-step .j-media, .j-step .j-copy { position: relative; z-index: 1; }
.j-step h3 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  max-width: 15ch;
}
.j-step .step-num { color: var(--red); letter-spacing: 0.26em; }
.journey-progress { border-top: 1px solid rgba(18, 16, 14, 0.18); }
.journey-progress button {
  min-height: 88px;
  border: 0;
  border-right: 1px solid rgba(18, 16, 14, 0.12);
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
  transition: background 0.4s var(--ease-soft), color 0.4s;
}
.journey-progress button:last-child { border-right: 0; }
.journey-progress button b {
  font-size: clamp(22px, 2.2vw, 34px);
  color: rgba(18, 16, 14, 0.36);
  transition: color 0.4s;
}
.journey-progress button span {
  font-size: 11px;
  letter-spacing: 0.24em;
}
.journey-progress button.is-active {
  background: var(--ink);
  color: var(--paper);
}
.journey-progress button.is-active b { color: var(--gold-2); }

/* 工坊：AI 示意角标定位 */
.process-media { position: relative; }

/* 服饰厅：放大人物、弱化舞台装饰 */
.looks .dh-stage { height: min(62vh, 560px); }
.looks .dh-arch { opacity: 0.5; }

/* 过门：改为整屏柔和淡出，不再像两块方板开合 */
.museum-gate__panel {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  opacity: 0;
  background: #0b0a09;
}
.museum-gate__panel--left,
.museum-gate__panel--right { left: 0; right: auto; transform: none; }
.museum-gate.is-active .museum-gate__panel {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease);
}
.museum-gate.is-entering .museum-gate__panel { opacity: 1; }
.museum-gate.is-entering.is-revealing .museum-gate__panel {
  opacity: 0;
  transform: none;
  transition: opacity 0.52s var(--ease);
}


/* ==========================================================================
   Round 3 · 实践厅
   ========================================================================== */
.practice-page { background: var(--paper); }
.hall-page.practice-page { padding-top: 0; background: #0f0d0b; }
.practice-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 9vh) var(--pad) 8vh;
  overflow: hidden;
  background: #0f0d0b;
  color: var(--paper);
}
.practice-hero__bg { position: absolute; inset: 0; }
.practice-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  opacity: 0.46; filter: saturate(0.88) contrast(1.06);
}
.practice-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,6,0.96) 0%, rgba(10,8,6,0.78) 44%, rgba(10,8,6,0.3) 100%),
    linear-gradient(0deg, #0f0d0b 0%, rgba(15,13,11,0) 46%);
}
.practice-hero__inner {
  position: relative; z-index: 1;
  width: min(100%, 1320px); margin: 0 auto;
  display: grid; grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.practice-hero .kicker { color: #e0b96a; margin-bottom: 18px; }
body[data-theme="light"] .practice-hero .kicker,
body[data-theme="dark"] .practice-hero .kicker { color: #e0b96a; }
.practice-title {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(72px, 12vw, 176px);
  line-height: 0.94; font-weight: 900; letter-spacing: 0.06em;
  color: #f6efe2;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.practice-yi {
  margin: 18px 0 0; font-size: 24px; letter-spacing: 0.14em;
  color: #e3c977;
  font-family: "Noto Sans Yi", "Microsoft Yi Baiti", "Noto Sans SC", sans-serif;
}
.practice-yi span { font-size: 12px; letter-spacing: 0.3em; color: rgba(246,239,226,0.78); margin-left: 8px; }
.practice-sub {
  margin: 16px 0 0; font-family: "Noto Serif SC", serif;
  font-size: clamp(21px, 2.1vw, 31px); font-weight: 600; letter-spacing: 0.04em;
  color: #f1e6d3;
}
.practice-lede {
  max-width: 36em; margin: 18px 0 0;
  font-size: 15px; line-height: 2; color: rgba(246,239,226,0.82);
}
.practice-meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin: 30px 0 0; padding: 18px 0 0;
  border-top: 1px solid rgba(246,239,226,0.16); list-style: none;
}
.practice-meta li {
  display: grid;
  gap: 5px;
  padding-left: 12px;
  border-left: 1px dashed rgba(201, 162, 39, 0.55);
}
.practice-meta span { font-size: 10px; letter-spacing: 0.22em; color: rgba(246,239,226,0.62); }
.practice-meta b { font-size: 14px; font-weight: 500; color: #f3ead9; }
.practice-stats {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 2px 18px 2px 18px;
  background: rgba(14,12,10,0.55); backdrop-filter: blur(6px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}
.practice-stats div {
  display: grid; gap: 8px; padding: 24px 22px;
  border-right: 1px solid rgba(246,239,226,0.14);
  border-bottom: 1px solid rgba(246,239,226,0.14);
}
.practice-stats div:nth-child(2n) { border-right: 0; }
.practice-stats div:nth-child(n+3) { border-bottom: 0; }
.practice-stats b { font-family: "Noto Serif SC", serif; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; color: #f6efe2; font-weight: 700; }
.practice-stats b .count-up { font-size: inherit; color: #f6efe2; }
.practice-stats div > span { font-size: 12px; letter-spacing: 0.08em; color: rgba(246,239,226,0.82); }
.practice-stats::before {
  content: "";
  position: absolute; left: 20px; right: 20px; top: 9px; height: 5px;
  background-image: repeating-linear-gradient(90deg, rgba(224,185,106,.55) 0 1px, transparent 1px 9px);
  opacity: .55; pointer-events: none;
}

.practice-head { max-width: 900px; }
.practice-head--row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6vw; max-width: none; align-items: end; }
.practice-head__note, .practice-place__note { margin: 20px 0 0; font-size: 13px; line-height: 1.95; color: #5b5348; }
.practice-head--row .section-headline { margin-bottom: 0; }

.practice-problem .wrap, .practice-place .wrap, .practice-next .wrap { padding-top: clamp(60px, 9vh, 108px); padding-bottom: clamp(60px, 9vh, 108px); }
.practice-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(36px, 5vh, 64px); background: rgba(18,16,14,0.14); }
.practice-problem__grid article { background: var(--paper); padding: 32px 30px 36px; }
.practice-no { display: block; margin-bottom: 26px; font-family: "Noto Serif SC", serif; font-size: 30px; color: var(--red); }
.practice-problem__grid h3 { margin: 0 0 14px; font-family: "Noto Serif SC", serif; font-size: 22px; font-weight: 600; color: #241f19; }
.practice-problem__grid p { margin: 0; font-size: 13.5px; line-height: 2; color: #4e463b; }

.practice-steps { background: #12100e; color: var(--paper); }
.practice-steps .wrap { padding-top: clamp(64px, 9vh, 110px); padding-bottom: clamp(64px, 9vh, 110px); }
.practice-steps .practice-head__note { color: rgba(246,239,226,0.72); }
.practice-flow { list-style: none; margin: clamp(44px, 6vh, 72px) 0 0; padding: 0; display: grid; gap: clamp(36px, 5vh, 64px); }
.practice-step { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 4.5vw, 66px); align-items: center; }
.practice-step:nth-child(even) .practice-step__media { order: 2; }
.practice-step__media { background: #0b0908; border: 1px solid rgba(246,239,226,0.12); }
.practice-step__media img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.practice-step__media span {
  display: block; padding: 12px 18px;
  font-family: "Noto Serif SC", serif; font-size: 21px; letter-spacing: 0.12em;
  color: #d8b45a; border-top: 1px solid rgba(246,239,226,0.12);
}
.practice-step__en { margin: 0 0 12px; font-size: 10px; letter-spacing: 0.28em; color: #d8b45a; }
.practice-step__copy h3 { margin: 0 0 16px; font-family: "Noto Serif SC", serif; font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #f6efe2; }
.practice-step__copy p { margin: 0 0 12px; font-size: 14px; line-height: 2; color: rgba(246,239,226,0.82); }
.practice-step__copy .practice-step__fact { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(246,239,226,0.16); font-size: 12px; letter-spacing: 0.04em; color: #e3c977; }

.practice-place__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.practice-place__tags li { padding: 9px 16px; border: 1px solid rgba(18,16,14,0.22); font-size: 12px; letter-spacing: 0.06em; color: #3d372e; }
.practice-place__strip { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr 0.9fr; gap: 12px; margin-top: 30px; }
.practice-place__strip figure { margin: 0; background: #e7e0d3; }
.practice-place__strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.practice-place__strip figcaption { padding: 9px 10px; font-size: 10px; letter-spacing: 0.05em; color: #4f473c; }

.practice-results { background: #1b1210; color: var(--paper); }
.practice-results .wrap { padding-top: clamp(64px, 9vh, 108px); padding-bottom: clamp(64px, 9vh, 100px); }
.practice-results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(36px, 5vh, 60px); background: rgba(246,239,226,0.14); }
.practice-result { display: grid; gap: 10px; padding: 28px 24px 30px; background: #1b1210; }
.practice-result b { font-family: "Noto Serif SC", serif; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; font-weight: 700; color: #f6efe2; }
.practice-result b span { color: #d8b45a; }
.practice-result b .count-up { color: #f6efe2; }
.practice-result > span { font-size: 11px; letter-spacing: 0.06em; color: rgba(246,239,226,0.72); }
.practice-result--lg b { font-size: clamp(44px, 5.4vw, 76px); }
.practice-results__source { margin: 26px 0 0; font-size: 10.5px; line-height: 1.9; color: rgba(246,239,226,0.6); }

.practice-next__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6vw; align-items: start; }
.practice-next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.practice-next__list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(18,16,14,0.16); }
.practice-next__list li:last-child { border-bottom: 1px solid rgba(18,16,14,0.16); }
.practice-next__list span { font-family: "Noto Serif SC", serif; font-size: 16px; color: var(--red); }
.practice-next__list p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #4a4238; }
.practice-next__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-top: 44px; padding: 22px 26px;
  background: #12100e; color: #f6efe2; text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.practice-next__cta:hover { background: #a83a30; transform: translateY(-2px); }
.practice-next__cta span { font-size: 12px; letter-spacing: 0.12em; color: rgba(246,239,226,0.7); }
.practice-next__cta strong { font-family: "Noto Serif SC", serif; font-size: 19px; font-weight: 600; }

/* 页脚团队与双 LOGO */
.foot-logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-logo--school {
  display: grid; place-items: center; width: 132px; height: 66px;
  border: 1px dashed rgba(246,239,226,0.34); text-align: center;
  font-size: 9.5px; line-height: 1.6; letter-spacing: 0.08em; color: rgba(246,239,226,0.66);
}
.foot-logo--brand img { display: block; width: 118px; height: auto; }

@media (max-width: 1024px) {
  .practice-hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .practice-stats { max-width: 560px; }
  .practice-problem__grid { grid-template-columns: 1fr; }
  .practice-place__strip { grid-template-columns: 1fr 1fr; }
  .practice-results__grid { grid-template-columns: 1fr 1fr; }
  .practice-next__inner { grid-template-columns: 1fr; gap: 36px; }
  .practice-head--row { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 820px) {
  .practice-step, .practice-step:nth-child(even) { grid-template-columns: 1fr; }
  .practice-step:nth-child(even) .practice-step__media { order: 0; }
  .practice-hero { min-height: 0; padding-top: calc(var(--nav-h) + 56px); }
  .practice-hero__bg img { opacity: 0.36; }
}
@media (max-width: 560px) {
  .practice-stats { grid-template-columns: 1fr 1fr; }
  .practice-place__strip { grid-template-columns: 1fr; }
  .practice-results__grid { grid-template-columns: 1fr 1fr; }
  .practice-result { padding: 20px 16px; }
  .practice-next__cta { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Round 3 · 可读性总修
   ========================================================================== */
:root { --red-bright: #e08b80; --gold-bright: #e3c977; }

[data-theme="dark"] .kicker { color: var(--red-bright); }
[data-theme="dark"] .lead,
[data-theme="dark"] .section-head p,
[data-theme="dark"] .wall-head p,
[data-theme="dark"] figcaption,
[data-theme="dark"] .dh-desc,
[data-theme="dark"] .dh-meta,
[data-theme="dark"] .look-detail p { color: rgba(246,239,226,0.82); }

.foyer-strip__cap { color: rgba(246,239,226,0.74); }
.foyer-footer__credits { color: rgba(246,239,226,0.74); }
.foyer-footer__sub { color: rgba(246,239,226,0.7); }
.foyer-footer__refs span:first-child { color: rgba(246,239,226,0.7); }
.foyer-footer__refs a { color: rgba(246,239,226,0.86); }

.runway-floor__meta { color: rgba(246,239,226,0.76); }
.runway-track figcaption em { color: rgba(246,239,226,0.7); }
.dh-count { color: rgba(246,239,226,0.82); }
.look-rail button .n { color: rgba(246,239,226,0.78); }
.spec dt { color: rgba(246,239,226,0.74); }
.spec dd { color: #f4ecdf; }
.look-detail .kicker { color: var(--red-bright); }
.look-nav span { color: rgba(246,239,226,0.74); }

.site-foot .foot-links a, .site-foot .foot-col p, .site-foot .foot-refs ol { color: rgba(246,239,226,0.82); }
.site-foot .foot-links__title em { color: rgba(246,239,226,0.66); }
.site-foot .foot-bottom { color: rgba(246,239,226,0.7); }
.site-foot .foot-yi { color: rgba(201,162,39,0.5); }

.hands-stats span { color: rgba(246,239,226,0.82); }
.hands-stats b { color: #f6efe2; }
.wall-kicker { color: #d9c7a8; }
.process-key li { color: rgba(246,239,226,0.8); }
.process-key b { color: var(--gold-bright); }
.process-copy p { color: rgba(246,239,226,0.84); }

.artifact-grid .artifact-card__id,
.artifact-grid .artifact-card__meta,
.lineage-count, .lineage-terms { color: #51483d; }
.lineage-item__pat { color: #5b5246; }
.wall-note { color: #5f574b; }
.stat-row span { color: #5a5145; }
.intro-yi { color: #5b5348; }
.j-copy p { color: #4e453b; }
.j-copy .tag { color: #5d5347; }
.journey-progress button b { color: rgba(18,16,14,0.62); }
.journey-progress button span { color: #4d4438; }
.journey-progress button.is-active b { color: #12100e; }
.journey-progress button.is-active span { color: #2a241d; }

.legacy-link, .legacy-note, .legacy dl dt { color: #6b4f1c; }
.legacy-stat span, .legacy-source span { color: #59503f; }

.foot-refs ol { color: rgba(246,239,226,0.78); }
.foot-brand p { color: rgba(246,239,226,0.8); }

/* 序厅：图片不再压字 */
.intro-grid { align-items: start; }
.intro-media { min-height: 0; aspect-ratio: 1 / 1.02; max-height: 560px; }
.intro-media .frame--main { width: 72%; }
.intro-media .frame--small { width: 42%; }

@media (max-width: 1024px) {
  .intro-media { aspect-ratio: 1 / 1; max-height: none; }
}
@media (max-width: 560px) {
  .intro-media { aspect-ratio: 1 / 1.06; }
  .intro-media .frame--main { width: 74%; }
  .intro-media .frame--small { width: 44%; }
}

/* 工艺厅步骤大数字不再被图片遮住 */
.j-step:nth-child(even)::after { right: auto; left: clamp(12px, 4vw, 54px); }

/* 门厅影带稍微加快 */
.foyer-strip__track { animation-duration: 80s; }

@media (prefers-reduced-motion: reduce) {
  .practice-results *, .practice-stats * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Round 3 · 工艺厅 / 工坊 / 页脚 / 声音
   ========================================================================== */
.process-ai-note {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(246,239,226,0.86);
}
.process-ai-note::before {
  content: "";
  display: inline-block; width: 18px; height: 1px; margin-right: 9px;
  vertical-align: middle; background: #d8b45a;
}

.j-visual { display: grid; gap: 9px; align-content: start; min-width: 0; }
.j-step:nth-child(even) .j-visual { order: 2; }
.j-step:nth-child(odd) .j-visual { order: 0; }
.j-media img { transition: opacity 0.24s ease, transform 1s var(--ease); }
.j-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.j-thumbs button {
  position: relative; display: block; height: 62px; padding: 0;
  border: 1px solid rgba(18,16,14,0.2); background: #0d0b09;
  opacity: 0.5; overflow: hidden; cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}
.j-thumbs button.is-active { opacity: 1; border-color: #a83a30; }
.j-thumbs button:hover { opacity: 1; }
.j-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 工艺厅顶部步骤条：字亮、字大、间距撑住 */
.journey-progress {
  gap: 10px;
  padding-top: 14px;
  border-top: 2px solid #12100e;
  margin-bottom: clamp(24px, 4vh, 38px);
}
.journey-progress button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
  padding: 16px 16px 17px;
  border: 1px solid rgba(18,16,14,0.2);
  background: #fbf6ec;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #332c24;
}
.journey-progress button b {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 600;
  color: #8d2f26;
}
.journey-progress button span { font-size: 12.5px; letter-spacing: 0.1em; color: #332c24; }
.journey-progress button:hover { color: #12100e; border-color: rgba(18,16,14,0.5); background: #fffaf0; }
.journey-progress button.is-active { background: #12100e; border-color: #12100e; }
.journey-progress button.is-active b { color: #e3c977; }
.journey-progress button.is-active span { color: #f6efe2; }

/* 页脚压缩版：分工、导师、双 LOGO */
.site-foot--compact .foot-compact__brand p { color: rgba(246,239,226,0.78); }
.foot-compact__credits { gap: 8px; }
.foot-compact__credits p { font-size: 11px; line-height: 1.85; color: rgba(246,239,226,0.82); }
.foot-compact__credits b { width: 34px; color: rgba(227,201,119,0.95); }
.foot-compact__credits b:empty { display: inline-block; width: 34px; }
.foot-links__title { color: #e3c977; }
.foot-links__title em { color: rgba(246,239,226,0.62); }
.foot-links a { color: rgba(246,239,226,0.84); }
.foot-compact__meta { color: rgba(246,239,226,0.66); }
.foot-compact__meta a { color: rgba(246,239,226,0.86); }
.foot-compact__brand .foot-logos { margin-top: 16px; }
.foot-logo--school { width: 136px; height: 58px; }
.foot-logo--brand img { width: 112px; }

/* 声音开关：状态看得见 */
.sound-toggle {
  min-width: 74px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(246,239,226,0.88);
  border-color: rgba(246,239,226,0.3);
}
.sound-toggle[aria-pressed="true"] {
  color: #12100e;
  background: #e3c977;
  border-color: #e3c977;
}
.sound-toggle[aria-pressed="true"]::before { opacity: 1; }
.sound-toggle[aria-pressed="false"]::before { opacity: 0.7; }
body[data-theme="light"] .site-head .sound-toggle {
  color: rgba(58, 49, 38, 0.92);
  border-color: rgba(58, 49, 38, 0.36);
}
body[data-theme="light"] .site-head .sound-toggle[aria-pressed="true"] {
  color: #12100e;
  background: #e3c977;
  border-color: #e3c977;
}
body[data-hall-theme="light"] .site-head .sound-toggle {
  color: rgba(246, 239, 226, 0.88);
  border-color: rgba(246, 239, 226, 0.3);
}
body[data-hall-theme="light"] .site-head .sound-toggle[aria-pressed="true"] {
  color: #12100e;
  background: #e3c977;
  border-color: #e3c977;
}

/* 展厅地图英文标签 */
.hall-map__en { color: rgba(246,239,226,0.72); }
.hall-map__room:hover .hall-map__en { color: rgba(246,239,226,0.92); }

/* 非压缩版页脚兜底 */
.site-foot:not(.site-foot--compact) .foot-col p,
.site-foot:not(.site-foot--compact) .foot-refs ol { color: rgba(246,239,226,0.82); }
.site-foot:not(.site-foot--compact) .foot-brand p { color: rgba(246,239,226,0.8); }
.site-foot:not(.site-foot--compact) .foot-logos { margin-top: 6px; }

@media (max-width: 820px) {
  .j-thumbs button { height: 52px; }
  .journey-progress { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
  .journey-progress button { padding: 12px 12px 13px; }
  .journey-progress button b { font-size: 24px; }
  .journey-progress button span { font-size: 11.5px; }
  .foot-compact__main { gap: 14px; }
}

/* 工坊工序标题：说明放在标题下方，不压图 */
.wall-head--stack {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}
.wall-head--stack .wall-kicker { justify-self: start; }
.wall-head--stack .wall-head__center { text-align: center; }
.wall-head--stack .wall-head__center .wall-title { margin: 0; }
.wall-head--stack .process-ai-note {
  margin-top: 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
[data-theme="dark"] .wall-head--stack .process-ai-note { color: #f4ecdd; }

/* 导航未访问项也要看得清 */
.nav a { opacity: 0.88; }
.spec dt { color: rgba(246,239,226,0.9); font-size: 11.5px; }

@media (max-width: 700px) {
  .wall-head--stack { grid-template-columns: 1fr; gap: 10px; }
  .wall-head--stack .wall-kicker { justify-self: center; }
}

/* 页脚压缩版：品牌与分工并排，LOGO 收小 */
.site-foot--compact .foot-compact__main {
  grid-template-columns: minmax(190px, 0.78fr) minmax(300px, 1.22fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.foot-compact__brand .foot-logos { margin-top: 14px; gap: 12px; }
.foot-logo--school { width: 108px; height: 44px; font-size: 8px; line-height: 1.55; }
.foot-logo--brand img { width: 84px; }
.foot-compact__credits p { font-size: 10.5px; line-height: 1.75; }

@media (max-width: 820px) {
  .site-foot--compact .foot-compact__main { grid-template-columns: 1fr; }
}

.foot-logo--school { width: 148px; height: 34px; font-size: 8.5px; letter-spacing: 0.04em; white-space: nowrap; }

/* 第七厅横向补位，避免四列网格留下空格 */
.foyer-v3 .hall-card:last-child { grid-column: span 2; }
@media (max-width: 640px) {
  .foyer-v3 .hall-card:last-child { grid-column: auto; }
}

/* 门厅尾页：团队分工与导师信息 */
.foyer-footer__team {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
}
.foyer-footer__team p {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(246, 239, 226, 0.82);
}
.foyer-footer__team b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(227, 201, 119, 0.95);
  padding-top: 2px;
}
.foyer-footer__top .foot-logos { margin-top: 10px; }

/* 门厅首屏：压在视频上的说明文字统一提亮 */
.foyer-v3 .foyer-hero .eyebrow { color: rgba(232, 210, 164, 0.92); }
.hero-sub { color: rgba(250, 246, 238, 0.92); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.foyer-hero--runway .foyer-hero__lede { color: rgba(250, 246, 238, 0.94); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.foyer-v3 .foyer-hero__figures div > span:last-child { opacity: 0.8; color: #f0e7d6; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.yi-mark { color: #e0c37a; }
.foyer-v3 .foyer-hero__scroll { color: rgba(240, 231, 214, 0.82); }

/* 说明性小字统一提亮 */
.stat-row span { color: #3f3629; font-size: 12px; }
.intro-yi { color: #564e42; }
.foyer-strip__cap { color: rgba(244, 236, 223, 0.68); font-size: 10.5px; }
.halls-head .hint { color: rgba(244, 236, 223, 0.72); }

/* 纹样厅说明文字对比度 */
.atlas-figures div > span:last-child { color: #4a4134; font-size: 10.5px; }
.motif p { color: #4b4236; font-size: 12.5px; }
.motif h3 em { color: #5a4a33; }

/* 校标：使用处理后的透明浅色版，深色页脚不出现白块 */
.foot-logo--school {
  width: auto;
  height: auto;
  border: 0;
  padding: 0;
  background: none;
}
.foot-logo--school img { display: block; height: auto; width: 156px; max-width: 54vw; }
.foot-compact__brand .foot-logo--school img { height: auto; width: 132px; }
@media (max-width: 560px) {
  .foot-logo--school img { height: auto; width: 118px; }
  .foot-compact__brand .foot-logo--school img { height: auto; width: 112px; }
}

/* 终检：深色区文字提亮、浅色区说明加深 */
.looks .kicker, .atelier .kicker { color: #e08b74; }
.atlas .kicker, .legacy .kicker { color: #8f2c24; }
.looks .artifact-card__id { color: #d8b45a; }
.looks .artifact-card__name { color: rgba(246, 239, 226, 0.92); }
.looks .artifact-card__meta { color: rgba(246, 239, 226, 0.74); }
.frame figcaption { color: #4b4236; }
.practice-place__strip figcaption { color: #4b4236; font-size: 11px; }
.lineage__id { color: #4f463a; }
.sources-foot, .foot-refs { color: #51483c; }
.sources-foot a, .foot-refs a { color: #4a3d2c; }
.wardrobe-page .en { color: #7a5a12; }
.wardrobe-page .stat b, .wardrobe-page .count { color: #5a5145; }

/* 终检修正：按实际类名与优先级覆盖 */
.hall-page .looks .section-head .kicker,
.hall-page .atelier .section-head .kicker { color: #e08b74; }
.hall-page .atlas .section-head .kicker,
.hall-page .legacy .section-head .kicker,
.legacy .sources-head .kicker { color: #8f2c24; }
.lineage-item__id { color: #6e5218; }
.lineage-item em { color: #5a4a33; }
.atlas .wall-head p { color: #5b5144; font-size: 10px; }
.legacy figcaption { color: #4b4236; font-size: 10px; }
.legacy .foot-refs a, .legacy .foot-refs p,
.legacy .fieldwork__head span { color: #4a3d2c; }
.wardrobe-page .sound-toggle { color: #3a3126; border-color: rgba(58, 49, 38, 0.4); }
.wardrobe-page .sound-toggle svg { stroke: currentColor; }

/* 终检余项：边角说明再深一档 */
.atlas em { color: #5a4a33; }
.atlas .strip-hint { color: #5e4a1c; }
.legacy .sources-head p, .legacy .sources-list a { color: #4a3d2c; }
.atlas .lineage-key h3 em { color: #5a4a33; }

/* 自有品牌标按高度对齐校标，避免竖版过高 */
.foot-logo--brand img { width: auto; height: 76px; }
.foot-compact__brand .foot-logo--brand img { width: auto; height: 60px; }
@media (max-width: 560px) {
  .foot-logo--brand img { height: 60px; }
  .foot-compact__brand .foot-logo--brand img { height: 52px; }
}

/* ==========================================================================
   声音邀请入口：默认不出声，由访客点开
   ========================================================================== */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 7px 13px 7px 11px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: 999px;
  background: rgba(14, 12, 9, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f4ecdd;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.sound-toggle::before { content: none; }
.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: #f0d98c;
  border-color: rgba(227, 201, 119, 0.85);
  background: rgba(24, 20, 14, 0.72);
}
.sound-toggle:focus-visible {
  outline: 2px solid #f0d98c;
  outline-offset: 3px;
}
.sound-toggle__icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 auto; }
.sound-toggle__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sound-toggle__icon .bell { fill: rgba(244, 236, 221, 0.12); }
.sound-toggle__icon .wave { opacity: 0.35; transition: opacity 0.3s; }
.sound-toggle__text--short { display: none; }

/* 实践厅：地点标签做成绣线签，不用默认方卡 */
.practice-place__tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 9px 13px;
  border: 1px dashed rgba(201, 162, 39, 0.62);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.07);
  color: #4c3a22;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.practice-place__tags li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b8913d;
}
.practice-place__tags li:nth-child(even) { transform: rotate(-0.5deg); }
.practice-place__tags li:nth-child(odd) { transform: rotate(0.4deg); }

/* 实践现场相册 */
/* 工艺厅图组：主图不再重复出现在缩略条里 */
.j-thumbs { grid-template-columns: repeat(2, 1fr); }
.j-thumbs button.is-active { display: none; }

.practice-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.practice-gallery figure { margin: 0; }
.practice-gallery img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.practice-gallery figcaption {
  margin-top: 8px;
  color: #4b3a2a;
  font-size: 11px;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .practice-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .practice-gallery img { height: 190px; }
}
@media (max-width: 560px) {
  .practice-gallery { grid-template-columns: 1fr; }
  .practice-gallery img { height: 220px; }
}

/* 开声：图标与文字一起变，状态一眼可辨 */
.sound-toggle.is-on {
  color: #f6e3a6;
  border-color: #d8b95c;
  background: rgba(201, 162, 39, 0.18);
  box-shadow: 0 0 0 1px rgba(216, 185, 92, 0.22) inset;
}
.sound-toggle.is-on .sound-toggle__icon .bell { fill: rgba(246, 227, 166, 0.35); }
.sound-toggle.is-on .sound-toggle__icon .wave { opacity: 1; }
.sound-toggle.is-on .sound-toggle__text--long { font-weight: 600; }

/* 跨页续播：浏览器拦下时停在待续态，第一次手势从断处继续 */
.sound-toggle.is-pending {
  color: #e6cf8e;
  border-color: rgba(216, 185, 92, 0.62);
}
.wardrobe-page .sound-toggle.is-pending {
  color: #6e5218;
  border-color: #a8842a;
  background: rgba(255, 250, 236, 0.8);
}

/* 首次进入：轻脉动三次即停 */
.sound-toggle.is-invite-first {
  animation: soundInvite 2.4s ease-in-out 3;
}
@keyframes soundInvite {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
  45% { transform: translateY(-1px) scale(1.015); box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12); }
}

/* 浅色页眉（服饰库）：改用深墨色，避免浅字压浅底。
   展厅页即便正文切成浅色，页眉仍是深色，因此只按页面类型适配。 */
.wardrobe-page .sound-toggle {
  color: #3a3126;
  border-color: rgba(58, 49, 38, 0.38);
  background: rgba(255, 252, 244, 0.6);
}
.wardrobe-page .sound-toggle:hover,
.wardrobe-page .sound-toggle:focus-visible {
  color: #6e5218;
  border-color: #a8842a;
  background: rgba(255, 250, 236, 0.92);
}
.wardrobe-page .sound-toggle__icon .bell { fill: rgba(58, 49, 38, 0.08); }
.wardrobe-page .sound-toggle.is-on {
  color: #5a4210;
  border-color: #a8842a;
  background: rgba(201, 162, 39, 0.22);
}
.wardrobe-page .sound-toggle.is-on .sound-toggle__icon .bell { fill: rgba(110, 82, 24, 0.28); }

/* ==========================================================================
   质感层：织纹 / 纸纤维 / 图片托底 / 印章 / 绣线刻度
   ========================================================================== */
:root {
  --frame-line: rgba(201, 162, 39, 0.46);
  --frame-shadow: 0 12px 30px rgba(10, 8, 5, 0.2);
  --frame-radius: 2px;
  --stitch-rule: rgba(201, 162, 39, 0.34);
}

/* 图片统一托底：细金线 + 薄影，像挂在墙上 */
:where(.frame,
  .practice-step__media,
  .practice-place__strip figure,
  .practice-gallery figure,
  .legacy-photos figure,
  .j-media,
  .artifact-card__media,
  .hall-card__media,
  .look-card__media,
  .field-photos figure,
  .motif-img,
  .xp-card,
  .hands-photo,
  .process-media) {
  border-radius: var(--frame-radius);
  box-shadow: 0 0 0 1px var(--frame-line), var(--frame-shadow);
  overflow: hidden;
}

/* 章节起首的印章，不做按钮 */
.hall-seal {
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
  display: inline-grid;
  place-content: center;
  gap: 1px;
  border: 1px solid rgba(154, 59, 47, 0.78);
  box-shadow: inset 0 0 0 3px rgba(154, 59, 47, 0.08);
  border-radius: 2px;
  color: #8a3329;
  font-family: var(--serif);
  line-height: 1;
  text-align: center;
  transform: rotate(var(--seal-tilt, -4deg));
  pointer-events: none;
  user-select: none;
}
.hall-seal b { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.hall-seal em { font-style: normal; font-size: 7.5px; letter-spacing: 0.1em; opacity: 0.82; }
.hall-seal[data-tone="dark"] {
  border-color: rgba(217, 138, 118, 0.86);
  color: #d98a76;
  box-shadow: inset 0 0 0 3px rgba(217, 138, 118, 0.1);
}
@media (max-width: 560px) {
  .hall-seal { width: 38px; height: 38px; margin-bottom: 10px; }
  .hall-seal b { font-size: 16px; }
  .hall-seal em { font-size: 7px; }
}

/* 分隔：绣线虚线带针点 */
.museum-section + .museum-section {
  border-top: 1px dashed var(--stitch-rule);
  background-image: radial-gradient(circle, rgba(201, 162, 39, 0.5) 0 1px, transparent 1.2px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
  background-position: left top;
}
.practice-next__list li,
.practice-next__cta {
  border-top-style: dashed;
}
.practice-next__list li::before {
  content: "· ";
  color: #b8913d;
}

/* 数据区金线刻度，像量布 */
.practice-results__grid,
.stat-row {
  position: relative;
  padding-bottom: 14px;
}
.practice-results__grid::after,
.stat-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, rgba(201, 162, 39, 0.62) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.32);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav a { transition: none; }
}

@media (max-width: 560px) {
  .sound-toggle { gap: 6px; padding: 7px 10px 7px 9px; font-size: 11px; letter-spacing: 0.06em; }
  .sound-toggle__text--long { display: none; }
  .sound-toggle__text--short { display: inline; }
  .sound-toggle__icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sound-toggle.is-invite-first { animation: none; }
}

/* ==========================================================================
   第四轮：门厅横屏舞台 / 序厅加厚 / 厅名彝文 / 小号换厅 / 页脚与返回首页
   ========================================================================== */

/* ---------- 门厅：完整横屏舞台 + 数字区 + 竖幅实况 ---------- */
.foyer-hero.foyer-hero--runway {
  display: block;
  min-height: 0;
  height: auto;
  align-items: stretch;
  background: #080a0d;
}
.foyer-hero--runway .foyer-hero__stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  isolation: isolate;
}
.foyer-hero--runway .foyer-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080a0d;
}
.foyer-hero--runway .foyer-hero__media::before {
  inset: -10%;
  filter: blur(30px) brightness(0.5) saturate(0.85);
  transform: scale(1.08);
}
.foyer-hero--runway .foyer-hero__stage-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 48%;
  transform: none;
  animation: none;
}
.foyer-hero--runway .foyer-hero__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 5, 4, 0.9) 0%, rgba(6, 5, 4, 0.62) 26%, rgba(6, 5, 4, 0.12) 50%, rgba(6, 5, 4, 0) 64%),
    linear-gradient(0deg, rgba(6, 5, 4, 0.94) 0%, rgba(6, 5, 4, 0.3) 24%, rgba(6, 5, 4, 0) 46%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.58) 0%, rgba(6, 5, 4, 0) 20%);
}
.foyer-hero--runway .foyer-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(54px, 8vh, 92px);
}
.foyer-hero--runway .foyer-hero__scroll { z-index: 4; bottom: 20px; }

.foyer-hero--runway .foyer-hero__foot {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(18px, 2.4vh, 28px) var(--pad) clamp(20px, 2.8vh, 32px);
  background: linear-gradient(180deg, #0b0907, #0a0806);
  border-top: 1px solid rgba(201, 162, 39, 0.18);
}
.foyer-hero--runway .foyer-hero__figures {
  position: static;
  right: auto;
  bottom: auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3.2vw, 54px);
  text-align: left;
}
.foyer-hero--runway .foyer-hero__figures div {
  border-right: 0;
  border-left: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0 0 0 16px;
}
.foyer-hero--runway .foyer-hero__figures b { font-size: clamp(24px, 2.6vw, 40px); }
/* ---------- 序厅：缘起 / 做法 / 现在 ---------- */
.intro-copy .lead {
  margin: 22px 0 0;
  max-width: 40ch;
  font-family: var(--serif);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2;
  color: #4d453c;
}
.preface-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 54px);
  margin: clamp(38px, 5.5vh, 64px) 0 0;
  padding: clamp(22px, 3.4vh, 34px) 0 0;
  border-top: 1px solid rgba(18, 16, 14, 0.16);
  list-style: none;
}
.preface-story li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.preface-story li > span {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.preface-story h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.preface-story p { margin: 0; font-size: 13px; line-height: 2.05; letter-spacing: 0.02em; color: #5b5248; }

/* ---------- 厅名彝文标注 ---------- */
.hall-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; }
.hall-title .split-title { margin: 0; }
.hall-yi {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  margin-left: 0.5em;
  font-family: "Microsoft Yi Baiti", "Nuosu SIL", "Noto Sans Yi", serif;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
  vertical-align: baseline;
  white-space: nowrap;
}
.hall-yi small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: currentColor;
  opacity: 0.7;
}
.atlas .hall-yi,
.journey .hall-yi,
.legacy .hall-yi,
.atelier .hall-yi,
.looks-light .hall-yi { color: #6f5310; }

/* ---------- 非遗坐标：图文成对 ---------- */
.legacy-body { display: block; }
.legacy-tech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}
.legacy-tech__text > p {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 2.1;
  color: #4d453c;
}
.legacy-tech__list { margin: 0; }
.legacy-body + .legacy-quote { margin: clamp(30px, 4.4vh, 48px) 0 0; max-width: 34em; }
.legacy-pairs {
  display: grid;
  gap: clamp(24px, 3.8vh, 40px);
  margin-top: clamp(30px, 4.6vh, 50px);
  padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid rgba(18, 16, 14, 0.14);
}
.legacy-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 3.4vw, 52px);
  align-items: center;
}
.legacy-pair:nth-child(even) figure { order: 2; }
.legacy-pair:nth-child(even) .legacy-pair__copy { order: 1; }
.legacy-pair figure { margin: 0; overflow: hidden; background: #e7e0d4; }
.legacy-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.legacy-pair:hover img { transform: scale(1.025); }
.legacy-pair figcaption {
  padding: 8px 10px 9px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: #7b7063;
}
.legacy-pair__copy > span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.legacy-pair__copy h4 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.legacy-pair__copy p {
  margin: 0;
  max-width: 34em;
  font-size: 13px;
  line-height: 2.05;
  color: #4d453c;
}

/* ---------- 换厅入口：小号胶囊，与馆体一致 ---------- */
.hall-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 26px) var(--pad);
  background: var(--ink);
  border-top: 1px solid rgba(201, 162, 39, 0.22);
}
.hall-switch a {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 999px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.hall-switch a:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-1px);
}
.hall-switch small { font-size: 9px; letter-spacing: 0.16em; color: var(--gold); opacity: 0.72; }
.hall-switch strong { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--paper-3); }
.hall-switch a:last-child { flex-direction: row-reverse; text-align: right; align-items: center; }

/* ---------- 页脚团队：一人一行，姓名与分工对齐 ---------- */
.foot-compact__credits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 48px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 162, 39, 0.14);
}
.foot-credits { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px; }
.foot-credits > b {
  padding-top: 3px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(201, 162, 39, 0.72);
}
.foot-credits ul { list-style: none; margin: 0; padding: 0; }
.foot-credits li {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 10px;
  padding: 3px 0;
}
.foot-credits span { font-size: 10.5px; line-height: 1.9; color: rgba(243, 235, 221, 0.82); letter-spacing: 0.06em; }
.foot-credits em { font-style: normal; font-size: 10.5px; line-height: 1.9; color: rgba(243, 235, 221, 0.58); }
.foyer-footer__team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); }
.foot-team > b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(227, 201, 119, 0.95);
}
.foot-team ul { list-style: none; margin: 0; padding: 0; }
.foot-team li {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 10px;
  padding: 3px 0;
}
.foot-team span { font-size: 11px; line-height: 1.85; color: rgba(246, 239, 226, 0.86); letter-spacing: 0.06em; }
.foot-team em { font-style: normal; font-size: 10.5px; line-height: 1.85; color: rgba(246, 239, 226, 0.52); }

/* ---------- 全局：返回首页 ---------- */
.back-home {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 86;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f0e6d2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s;
}
.back-home.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-home:hover { background: rgba(201, 162, 39, 0.18); }
.back-home svg { width: 13px; height: 13px; }

/* ---------- 实践厅：下一针段落松开 ---------- */
.practice-next__head .section-headline { margin: 14px 0 0; }
.practice-next__figure { margin: clamp(24px, 3.6vh, 38px) 0 0; }
.practice-next__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7e0d4;
}
.practice-next__figure figcaption {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: #8a7d6c;
}
.practice-next__list li::before { content: none; }
.practice-next__list li {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3.2vh, 32px) 0;
}
.practice-next__list p {
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 2.25;
  letter-spacing: 0.05em;
  color: #403931;
  text-wrap: pretty;
}

/* ---------- 纹样厅 → 服饰厅承接 ---------- */
.hall-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: clamp(46px, 7vh, 90px);
  padding: clamp(26px, 4vh, 40px) var(--pad) 0;
  border-top: 1px solid rgba(18, 16, 14, 0.2);
  color: inherit;
  text-decoration: none;
}
.hall-bridge__kicker {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.hall-bridge strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hall-bridge p { margin: 10px 0 0; max-width: 46ch; font-size: 13px; line-height: 2; color: #5b5248; }
.hall-bridge__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(18, 16, 14, 0.35);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.hall-bridge__go i { font-style: normal; transition: transform 0.35s var(--ease); }
.hall-bridge:hover .hall-bridge__go { color: var(--red); border-color: var(--red); }
.hall-bridge:hover .hall-bridge__go i { transform: translateX(5px); }

@media (max-width: 880px) {
  .practice-next__inner { grid-template-columns: 1fr; gap: 30px; }
  .practice-next__figure img { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .legacy-tech { grid-template-columns: 1fr; gap: 22px; }
  .legacy-pair { grid-template-columns: 1fr; gap: 14px; }
  .legacy-pair:nth-child(even) figure,
  .legacy-pair:nth-child(even) .legacy-pair__copy { order: 0; }
  .hall-bridge { grid-template-columns: 1fr; gap: 18px; }
  .hall-bridge__go { justify-self: start; }
  .foyer-hero--runway .foyer-hero__stage { height: clamp(380px, 60vh, 540px); }
  .foyer-hero--runway .foyer-hero__foot { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foyer-hero--runway .foyer-hero__figures { gap: 16px; }
  .preface-story { grid-template-columns: 1fr; gap: 22px; }
  .foot-compact__credits { grid-template-columns: 1fr; gap: 14px; }
  .foyer-footer__team { grid-template-columns: 1fr; }
  .hall-yi { font-size: 13px; }
}

@media (max-width: 560px) {
  .foyer-hero--runway .foyer-hero__stage { height: 60vh; min-height: 340px; }
  .foyer-hero--runway .foyer-hero__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .foyer-hero--runway .foyer-hero__figures div { padding-left: 10px; }
  .foyer-hero--runway .foyer-hero__figures span { font-size: 9px; letter-spacing: 0.06em; }
  .hall-switch { gap: 10px; }
  .hall-switch a { padding: 8px 13px; gap: 7px; }
  .hall-switch small { font-size: 8px; letter-spacing: 0.1em; }
  .hall-switch strong { font-size: 11.5px; }
  .foot-credits li { grid-template-columns: 4.2em minmax(0, 1fr); gap: 8px; }
  .back-home { min-height: 40px; padding: 0 13px; font-size: 9px; }
}

/* ---------- 校标：新单色圆徽，透明底、按视觉高度等比对齐 ---------- */
.foot-logo--school img { width: auto; height: 72px; max-width: none; }
.foot-compact__brand .foot-logo--school img { width: auto; height: 56px; }
@media (max-width: 560px) {
  .foot-logo--school img { width: auto; height: 64px; }
  .foot-compact__brand .foot-logo--school img { width: auto; height: 56px; }
}

/* ==========================================================================
   第五轮：声音入口更显眼（首访展开一次，常驻保留图标 + 文字）
   ========================================================================== */
.sound-toggle {
  position: relative;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #f6efe2;
  border-color: rgba(227, 201, 119, 0.55);
  background: rgba(12, 10, 8, 0.72);
}
.sound-toggle__icon { width: 19px; height: 19px; }
.sound-toggle.is-invite-first {
  color: #f8e7ae;
  border-color: rgba(240, 217, 140, 0.92);
  background: rgba(24, 19, 12, 0.9);
  font-weight: 500;
  animation: soundInvite 1.7s ease-in-out 3;
}
.sound-toggle.is-invite-first::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(240, 217, 140, 0.7);
  animation: soundRing 1.7s ease-out 3;
  pointer-events: none;
}
@keyframes soundInvite {
  0%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(227, 201, 119, 0); }
  45% { transform: translateY(-1px) scale(1.02); box-shadow: 0 0 0 7px rgba(227, 201, 119, 0.14); }
}
@keyframes soundRing {
  0% { opacity: 0.85; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.55); }
}
body[data-theme="light"] .site-head .sound-toggle,
.wardrobe-page .sound-toggle {
  color: #3a3126;
  border-color: rgba(58, 49, 38, 0.52);
  background: rgba(255, 252, 244, 0.82);
}
@media (max-width: 560px) {
  .sound-toggle {
    gap: 6px;
    padding: 7px 11px 7px 9px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .sound-toggle__icon { width: 17px; height: 17px; }
  .sound-toggle.is-invite-first {
    padding-inline: 10px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .sound-toggle.is-invite-first .sound-toggle__text--long { display: inline; }
  .sound-toggle.is-invite-first .sound-toggle__text--short { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-toggle.is-invite-first,
  .sound-toggle.is-invite-first::after { animation: none; }
}

/* ==========================================================================
   第五轮：门厅竖幅走秀实况（数字带之后、数字成衣之前）
   ========================================================================== */
.foyer-replay {
  scroll-margin-top: clamp(64px, 9vh, 88px);
  padding: clamp(56px, 8vh, 100px) var(--pad);
  background: #0a0806;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}
.foyer-replay__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.4vw, 68px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.foyer-replay__frame {
  width: min(100%, 410px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: #0d0b09;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.foyer-replay__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}
.foyer-replay__frame figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(244, 236, 223, 0.48);
  text-align: center;
}
.foyer-replay__copy { max-width: 46ch; }
.foyer-replay__copy .eyebrow { color: rgba(201, 162, 39, 0.85); }
.foyer-replay__copy h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.22;
  color: #f4ecdf;
}
.foyer-replay__copy h2 span { display: block; color: #c9a227; }
.foyer-replay__copy p {
  margin: 16px 0 0;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(244, 236, 223, 0.82);
}
.foyer-replay__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #e8d7a8;
}
.foyer-replay__go i { font-style: normal; }

@media (max-width: 900px) {
  .foyer-replay__inner { grid-template-columns: 1fr; gap: clamp(26px, 4vh, 38px); }
  .foyer-replay__frame { width: min(100%, 400px); margin: 0 auto; }
  .foyer-replay__copy { max-width: 100%; }
}
@media (max-width: 560px) {
  .foyer-replay { padding: 46px var(--pad) 54px; }
  .foyer-replay__frame { width: 100%; padding: 7px; }
  .foyer-replay__copy h2 { font-size: 26px; }
  .foyer-replay__copy p { font-size: 14px; max-width: 100%; }
}
