/* ==========================================================================
   光之美术馆 · 成品官网基础完善层样式（site-finish.css）
   严格叠加在 core.css + gallery.css + hero-corridor.css 之上，零破坏历史归档：
   1. 顶部 2px 二向色阅读进度细线 + 无障碍跳至正文快捷键
   2. 成品级灵动岛站内导航 + 音频静音按钮状态
   3. 暖石膏开场 -> 主展厅洁白空间的柔和色温过渡衔接
   4. Hall 00 策展人名片 / 关于序厅 + 全馆克制建筑编号（00 — 05）
   5. 美术馆建筑级收尾页脚（Colophon）+ 全局轻提示 Toast
   6. 移动端窄屏细节修复 + prefers-reduced-motion 无障碍支持
   ========================================================================== */

/* ---------- 1. 顶部光谱阅读进度细线 & 无障碍跳转 ---------- */
.site-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 9400;
  pointer-events: none;
  background: transparent;
}

.site-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0044ff 0%, #0ea5e9 34%, #f59e0b 68%, #be0067 100%);
  transform-origin: left center;
  transition: width 0.08s linear;
}

.site-skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9800;
  padding: 10px 18px;
  border-radius: 6px;
  background: #0d1118;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.18s ease;
}

.site-skip-link:focus {
  top: 14px;
}

/* ---------- 2. 成品灵动岛站内导航与声音开关 ---------- */
.c-island-Dock.site-dock {
  padding: 6px 14px;
  gap: 8px;
}

.site-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(248, 250, 252, 0.88);
  background: transparent;
  border: none;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-audio-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.site-audio-btn.is-muted {
  color: rgba(248, 250, 252, 0.52);
}

.site-audio-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- 3. 暖石膏开场 -> 主展厅自然色温衔接带 ---------- */
.site-gallery-main {
  background: linear-gradient(
    180deg,
    #f1eae0 0px,
    #f6f4ef 130px,
    #f7f8fc 300px,
    #f7f8fc 100%
  );
}

/* 展区统一克制建筑编号（00 ABOUT — 05 CONTACT） */
.site-hall-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--c-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}

.site-hall-code-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0e6f8c;
}

/* ---------- 4. Hall 00：策展人名片 / 关于序厅 ---------- */
.site-about-hall {
  padding-top: 96px;
  padding-bottom: 88px;
}

.site-about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 44px;
  align-items: start;
}

.site-about-lead {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-about-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--c-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.site-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

.site-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
}

.site-about-owner {
  font-family: var(--c-font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #0c1220;
}

.site-about-role {
  font-size: 16px;
  font-weight: 600;
  color: #0e6f8c;
  margin-top: -8px;
}

.site-about-statement {
  font-size: 16px;
  line-height: 1.78;
  color: #334155;
  max-width: 58ch;
}

.site-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.site-about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-pillar-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 18, 32, 0.1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.site-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 111, 140, 0.34);
}

.site-pillar-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.site-pillar-num {
  font-family: var(--c-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #0e6f8c;
}

.site-pillar-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0c1220;
}

.site-pillar-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
}

/* ---------- 5. 美术馆建筑级收尾页脚（Colophon Footer） ---------- */
.site-footer {
  position: relative;
  z-index: 10;
  background: #f2ece3;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
  color: #1e293b;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 68px 36px 42px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.95fr;
  gap: 42px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.site-footer-brand {
  font-family: var(--c-font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0d1118;
  margin-bottom: 12px;
}

.site-footer-note {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  max-width: 46ch;
}

.site-footer-col-title {
  font-family: var(--c-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 14px;
}

.site-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.18s ease;
}

.site-footer-links a:hover {
  color: #0044ff;
}

.site-footer-handle {
  font-family: var(--c-font-mono);
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-family: var(--c-font-mono);
  font-size: 12px;
  color: #475569;
}

.site-footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 3px;
  border: 1px solid #0d1118;
  background: #0d1118;
  color: #ffffff;
  font-family: var(--c-font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer-top-btn:hover {
  background: #0a6e82;
  border-color: #0a6e82;
  transform: translateY(-1px);
}

.site-footer-top-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- 6. 全局轻提示 Toast ---------- */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 9700;
  padding: 11px 20px;
  border-radius: 999px;
  background: #0d1118;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 16px 36px -10px rgba(13, 17, 24, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 7. 移动端与无障碍减动效完善 ---------- */
@media (max-width: 960px) {
  .site-about-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer-inner {
    padding: 52px 20px 32px;
  }

  /* 移动端精简顶部灵动岛，保持核心 4 项直达不拥挤换行 */
  .c-island-links a[data-nav-compact="hide"] {
    display: none;
  }

  .site-audio-text {
    display: none;
  }

  .w1-work-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
