body {
  background: #eee9dd !important;
  color: #202720;
  background-image: none !important;
}

#depth-bg {
  display: none !important;
}

.page-shell {
  max-width: 1480px;
  padding: 0 clamp(24px, 5.5vw, 88px);
}

.site-header {
  height: 94px;
  background: rgba(246, 243, 235, .92) !important;
  border-bottom: 1px solid rgba(77, 78, 65, .18);
  backdrop-filter: blur(14px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: #9b4933;
  color: #9b4933;
  background: rgba(255, 252, 244, .45);
  box-shadow: inset 0 0 0 3px rgba(155, 73, 51, .06);
}

.brand-copy strong {
  color: #202720;
  letter-spacing: .12em;
}

.brand-copy small {
  color: #7c8075;
  letter-spacing: .16em;
}

.main-nav {
  gap: clamp(18px, 2.8vw, 42px);
}

.main-nav > a,
.nav-dropdown > a {
  color: #4f574e;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown > a:hover,
.nav-dropdown > a.active {
  color: #9b4933;
}

.exhibition-cta {
  min-width: 108px;
  padding: 10px 14px !important;
  border: 1px solid rgba(76, 96, 78, .7);
  background: #4d6354 !important;
  box-shadow: 0 8px 20px rgba(45, 61, 48, .16);
}

.exhibition-cta:hover,
.nav-dropdown:focus-within .exhibition-cta {
  background: #384c3e !important;
  box-shadow: 0 12px 26px rgba(45, 61, 48, .24);
}

.hero {
  min-height: 700px !important;
  grid-template-columns: minmax(190px, .4fr) minmax(500px, 2.4fr) !important;
  gap: clamp(28px, 4vw, 60px) !important;
  padding: clamp(48px, 6vw, 84px) 0 clamp(60px, 7vw, 96px) !important;
  background: transparent !important;
}

.hero:before {
  display: none !important;
}

.hero-copy {
  align-self: center;
  padding: 0 !important;
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 26px;
  color: #9b4933;
  letter-spacing: .28em;
}

.hero h1 {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 32px);
  color: #202720;
  font-size: clamp(54px, 6.2vw, 96px) !important;
  line-height: 1;
  letter-spacing: .08em;
  text-shadow: none;
}

.hero h1 .hero-hall-link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.hero-hall-link {
  transition: color .3s ease, transform .3s ease;
}

.hero-hall-link-ink {
  color: #9b4933 !important;
}

.hero-motto {
  margin: 32px 0 38px;
  color: #697267;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: .12em;
}

.hero-copy .text-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 11px;
  color: #9b4933;
  border-color: #9b4933;
}

.hero-gallery-portal {
  height: clamp(560px, 64vw, 680px) !important;
  align-self: center;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

.hero-gallery-portal .home-reel-stage {
  height: 100% !important;
  min-height: 0 !important;
  border: 1px solid rgba(239, 234, 219, .75) !important;
  background: #263129;
  box-shadow: 0 28px 60px rgba(37, 49, 39, .24) !important;
}

.hero-gallery-portal .home-reel-art {
  background: #202a22;
}

.hero-gallery-portal .home-reel-track,
.hero-gallery-portal .home-reel-slide,
.hero-gallery-portal .home-reel-art {
  width: 100%;
  min-width: 100%;
}

.hero-gallery-portal .home-reel-art img {
  object-fit: cover !important;
  object-position: center;
  padding: 0;
  filter: saturate(.86) contrast(1.02) !important;
  transition: transform .8s cubic-bezier(.2,.72,.16,1), filter .45s ease;
}

.hero-gallery-portal .home-reel-art:hover img {
  transform: scale(1.045);
  filter: saturate(.98) contrast(1.04) !important;
}

.hero-gallery-portal .home-reel-caption {
  min-height: 154px !important;
  padding: 22px clamp(22px, 3vw, 40px) !important;
  background: rgba(246, 243, 235, .97) !important;
  box-shadow: 0 -12px 28px rgba(15, 22, 17, .16) !important;
  color: #202720 !important;
}

.hero-gallery-portal .home-reel-details h3 {
  color: #202720 !important;
  font-size: clamp(24px, 2.5vw, 38px) !important;
  text-shadow: none !important;
  letter-spacing: .12em;
}

.hero-gallery-portal .home-reel-details p {
  color: #9b4933 !important;
  text-shadow: none !important;
}

.hero-gallery-portal .home-reel-details span {
  color: #70786d !important;
  text-shadow: none !important;
}

.hero-gallery-portal .home-reel-details blockquote {
  color: #747b70 !important;
  text-shadow: none !important;
}

.hero-gallery-portal .home-reel-count {
  color: #777e73 !important;
  text-shadow: none !important;
}

.hero-gallery-portal .home-reel-hall-links a {
  min-width: 58px;
  padding: 9px 8px;
  color: #4d6354;
  background: rgba(77, 99, 84, .04);
  border-color: rgba(77, 99, 84, .3);
  text-shadow: none;
}

.hero-gallery-portal .home-reel-hall-links a:hover {
  color: #fff;
  background: #9b4933;
  border-color: #9b4933;
}

.hero-gallery-portal .home-reel-controls {
  top: 18px !important;
  right: 18px !important;
}

.hero-gallery-portal .home-reel-controls button {
  width: 40px;
  height: 40px;
  color: #f4f1e9;
  background: rgba(32, 39, 32, .46);
  border-color: rgba(246, 243, 235, .65);
}

.hero-note {
  right: 0;
  bottom: 28px;
  color: #777e73;
}

.works-section,
.timeline-section,
.archive-section,
.collection-section,
.bio-feature,
.practice-section {
  background: #f6f3eb !important;
}

.works-section {
  padding-top: clamp(82px, 10vw, 142px) !important;
  border-top: 1px solid rgba(77, 78, 65, .12);
}

.works-section .section-heading,
.timeline-section .section-heading {
  margin-bottom: 34px !important;
}

.works-section .section-heading h2,
.timeline-section .section-heading h2 {
  color: #202720;
  font-size: clamp(32px, 4.5vw, 58px) !important;
  letter-spacing: .14em;
}

.works-grid {
  gap: clamp(16px, 2vw, 30px) !important;
}

.work-card {
  padding-bottom: 12px;
}

.work-card .painting {
  border: 1px solid rgba(77, 78, 65, .14);
  box-shadow: 0 8px 24px rgba(50, 57, 48, .07);
}

.work-card:hover .painting {
  box-shadow: 0 18px 36px rgba(50, 57, 48, .15);
}

.work-meta {
  padding: 18px 4px 0 !important;
}

.work-meta h3 {
  color: #283028;
  letter-spacing: .1em;
}

.work-meta p {
  color: #7a8177;
}

.timeline-section {
  border-top: 1px solid rgba(77, 78, 65, .12);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 22% 78% !important;
    gap: 26px !important;
  }

  .hero-gallery-portal {
    height: 540px !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 78px;
  }

  .hero {
    display: block !important;
    padding: 62px 0 52px !important;
  }

  .hero-copy {
    padding-bottom: 42px !important;
  }

  .hero h1 {
    display: block;
    font-size: clamp(46px, 14vw, 68px) !important;
    line-height: 1.18;
  }

  .hero h1 .hero-hall-link {
    writing-mode: horizontal-tb;
  }

  .hero h1 .hero-hall-link + .hero-hall-link::before {
    content: '';
    display: block;
  }

  .hero-motto {
    font-size: 13px;
    margin: 24px 0 30px;
  }

  .hero-gallery-portal {
    height: 570px !important;
  }

  .hero-gallery-portal .home-reel-caption {
    min-height: 166px !important;
    display: block;
    padding: 18px 20px !important;
  }

  .hero-gallery-portal .home-reel-details h3 {
    font-size: 27px !important;
  }

  .hero-gallery-portal .home-reel-details blockquote {
    display: none;
  }

  .hero-gallery-portal .home-reel-actions {
    margin-top: 14px;
  }

  .hero-gallery-portal .home-reel-hall-links a {
    min-width: 48px;
    padding: 7px 5px;
    font-size: 11px;
  }

  .hero-note {
    display: none;
  }
}

/* === 作品详情页：默认隐藏卷轴装饰，3D加载前显示简洁占位 === */

/* 默认隐藏卷轴装饰元素（挂绳、天杆、地杆、侧边、印章）*/
/* 只在 .scroll-mode 时才显示 */
.artwork-stage .mounting-string,
.artwork-stage .mounting-top-rod,
.artwork-stage .mounting-top-border,
.artwork-stage .mounting-side-border,
.artwork-stage .mounting-bottom-border,
.artwork-stage .mounting-bottom-rod,
.artwork-stage .mounting-seal {
  display: none;
}
.artwork-stage .mounting-side-wrap {
  display: contents;
}

/* scroll_traditional 模式才恢复卷轴装饰 */
.artwork-stage.scroll-mode .mounting-string,
.artwork-stage.scroll-mode .mounting-top-rod,
.artwork-stage.scroll-mode .mounting-top-border,
.artwork-stage.scroll-mode .mounting-side-border,
.artwork-stage.scroll-mode .mounting-bottom-border,
.artwork-stage.scroll-mode .mounting-bottom-rod,
.artwork-stage.scroll-mode .mounting-seal {
  display: revert;
}
.artwork-stage.scroll-mode .mounting-side-wrap {
  display: flex;
}

/* 加载前占位：干净深色背景 + 居中图片 */
.artwork-stage {
  background: #1a1a1a;
}
.artwork-stage .mounting {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  max-height: none;
}
.artwork-stage .mounting-painting img {
  max-height: min(72vh, calc(100vh - 200px));
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .4s ease;
  cursor: zoom-in !important;
  position: relative;
  z-index: 20;
}
.artwork-stage .mounting-painting img.loaded {
  opacity: 1;
}
/* 画框模式下确保 img 可点击 */
.fr-frame-mat img {
  cursor: zoom-in !important;
  z-index: 20;
  position: relative;
}
.fr-glass {
  pointer-events: none !important;
}

@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .site-header { backdrop-filter: none; }
  .main-nav.mobile-open {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
  }
  .main-nav.mobile-open > a,
  .main-nav.mobile-open .nav-dropdown > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 0;
  }
  .main-nav.mobile-open .nav-dropdown { display: block; }
  .main-nav.mobile-open .nav-submenu {
    position: static;
    display: grid;
    max-height: none;
    margin: 4px 0 8px;
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-color: rgba(102, 88, 61, .22);
    box-shadow: none;
  }
  .main-nav.mobile-open .nav-submenu::before { display: none; }
  .main-nav.mobile-open .nav-submenu a {
    min-height: 44px;
    padding: 12px 20px;
    opacity: 1;
    transform: none;
    font-size: 14px;
  }
  .hero-gallery-portal { height: min(54svh, 440px) !important; }
  .hero-gallery-portal .home-reel-caption { min-height: 132px !important; }
  .hero-gallery-portal .home-reel-controls button,
  .hall-immersive-controls button,
  .artwork-nav-btn { min-width: 44px; min-height: 44px; }
  .home-reel-details p,
  .home-reel-details span,
  .artwork-zoom-toolbar span,
  .brand-copy small { font-size: 12px; }
}
