:root {
  --nav-bg: #090909;
  --nav-border: rgba(255, 255, 255, 0.1);
  --paper: #EEE9DF;
  --paper-deep: #E3DDD0;
  --ink: #171613;
  --muted: #8E877B;
  --red: #8D2E25;
  --red-dark: #6E211C;
  --gold: #C39C60;
  --model-bg: #121514;
  --footer-bg: #090909;

  --font-display: "Cinzel", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--nav-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   1. FIXED 45PX TOP NAVBAR (Museo.chat Exact Structure)
   ========================================================================== */
.museo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 45px;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.museo-nav-inner {
  width: 100%;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .museo-nav-inner {
    padding: 0 48px;
  }
}

.museo-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  z-index: 52;
  transition: opacity 0.25s ease;
}

.museo-brand:hover {
  opacity: 0.72;
}

.museo-brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #f5f5f4;
}

.museo-brand-sub {
  font-family: var(--font-serif);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a8a29e;
  margin-top: 2px;
}

.museo-nav-links {
  display: none;
  align-items: center;
  height: 100%;
  gap: 28px;
}

@media (min-width: 900px) {
  .museo-nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-zh {
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #8c8479;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-en {
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: #57534e;
  position: absolute;
  bottom: 2px;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-link:hover .nav-zh {
  color: #e7e5e4;
}

.nav-link:hover .nav-en {
  opacity: 1;
}

/* Dropdown under FEATURES */
.nav-dropdown-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: 136px;
  background-color: #090909;
  border: 1px solid #292524;
  padding: 6px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-item {
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 0.2s ease;
}

.nav-dropdown-item:hover {
  background-color: #1c1917;
}

.dd-zh {
  font-family: var(--font-serif);
  font-size: 11px;
  color: #d6d3d1;
}

.dd-en {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #78716c;
}

/* Right Nav Utility Controls */
.nav-icon-btn {
  padding: 6px;
  border-radius: 9999px;
  color: #78716c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-icon-btn:hover {
  color: #f5f5f4;
  background-color: #292524;
}

.nav-lang-btn span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-pill-btn {
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #292524;
  color: #d6d3d1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.nav-pill-btn:hover {
  color: #ffffff;
  background-color: #292524;
  border-color: #44403c;
}

/* Theme Icon Visibility */
body:not(.is-light-hero) .icon-sun {
  display: block;
}
body:not(.is-light-hero) .icon-moon {
  display: none;
}
body.is-light-hero .icon-sun {
  display: none;
}
body.is-light-hero .icon-moon {
  display: block;
}

/* Mobile Header Actions */
.museo-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 52;
}

@media (min-width: 900px) {
  .museo-mobile-actions {
    display: none;
  }
}

.mobile-icon-btn {
  padding: 6px;
  color: #e7e5e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-lang-btn span {
  font-size: 11px;
  font-weight: 700;
}

/* Mobile Slide Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 48;
  background-color: #090909;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-inner {
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  padding: 88px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.mobile-drawer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-drawer-link strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #f5f5f4;
}

.mobile-drawer-link span {
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: #a8a29e;
}

.mobile-drawer-divider {
  width: 180px;
  height: 1px;
  background-color: #292524;
  margin: 4px 0;
}

.mobile-drawer-action {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #e7e5e4;
}

/* ==========================================================================
   2. FULL-SCREEN HERO + FULL-BLEED GLB STAGE
   ========================================================================== */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 660px;
  padding-top: 45px;
  background: radial-gradient(circle at 60% 44%, #1f2422 0%, var(--model-bg) 56%, #070808 100%);
  color: #f5efe6;
  overflow: hidden;
  transition: background 0.65s ease, color 0.65s ease;
  user-select: none;
}

body.is-light-hero .hero-stage {
  background: radial-gradient(circle at 60% 44%, #f5f1e9 0%, #EEE9DF 58%, #dfd7c8 100%);
  color: #171613;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  cursor: grab;
  touch-action: pan-y;
}

.hero-canvas:active {
  cursor: grabbing;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero-fallback[hidden] {
  display: none;
}

.hero-fallback-emblem {
  max-width: 420px;
}

.fallback-year {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.fallback-title {
  font-family: var(--font-serif);
  font-size: 36px;
  margin: 12px 0 8px;
}

.hero-fallback-emblem small {
  color: var(--muted);
  font-size: 12px;
}

/* Subtle dark/light gradient & grain overlays over GLB for clear readability */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 10, 10, 0.72) 0%, rgba(9, 10, 10, 0.26) 44%, rgba(9, 10, 10, 0.14) 100%),
    radial-gradient(circle at 62% 45%, transparent 25%, rgba(6, 7, 7, 0.56) 100%);
  transition: opacity 0.6s ease;
}

body.is-light-hero .hero-atmosphere {
  background:
    linear-gradient(90deg, rgba(238, 233, 223, 0.76) 0%, rgba(238, 233, 223, 0.18) 46%, rgba(238, 233, 223, 0.05) 100%),
    radial-gradient(circle at 62% 45%, transparent 32%, rgba(215, 206, 190, 0.45) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(9, 9, 9, 0) 26%,
    rgba(9, 9, 9, 0.52) 60%,
    rgba(9, 9, 9, 0.92) 86%,
    rgba(9, 9, 9, 1) 100%
  );
  transition: background 0.65s ease;
}

body.is-light-hero .hero-scrim {
  background: linear-gradient(
    to bottom,
    rgba(238, 233, 223, 0) 42%,
    rgba(238, 233, 223, 0.34) 72%,
    rgba(238, 233, 223, 0.95) 100%
  );
}

/* Hero Top-Right Circular Theme Toggle (Museo.chat signature element) */
.hero-theme-btn {
  position: absolute;
  top: 66px;
  right: 24px;
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

.hero-theme-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

body.is-light-hero .hero-theme-btn {
  border-color: rgba(23, 22, 19, 0.22);
  color: rgba(23, 22, 19, 0.65);
}

body.is-light-hero .hero-theme-btn:hover {
  color: #171613;
  background-color: rgba(23, 22, 19, 0.08);
}

/* Micro Metadata Line */
.hero-meta-bar {
  position: absolute;
  top: 72px;
  left: 24px;
  right: 84px;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(238, 233, 223, 0.65);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-meta-bar {
    left: 48px;
    right: 96px;
  }
}

body.is-light-hero .hero-meta-bar {
  color: rgba(23, 22, 19, 0.58);
}

/* Giant Art-History Editorial Title */
.hero-editorial {
  position: absolute;
  left: 24px;
  bottom: 308px;
  z-index: 15;
  pointer-events: none;
  max-width: min(560px, 86vw);
}

@media (min-width: 768px) {
  .hero-editorial {
    top: 42%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

@media (min-width: 1024px) {
  .hero-editorial {
    left: 48px;
    top: 44%;
  }
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 768px) {
  .hero-eyebrow {
    margin: 0 0 14px;
    font-size: 10px;
    letter-spacing: 0.28em;
  }
}

body.is-light-hero .hero-eyebrow {
  color: var(--red);
}

.hero-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .hero-display {
    font-size: clamp(48px, 6.2vw, 96px);
  }
}

body.is-light-hero .hero-display {
  text-shadow: none;
}

.hero-display-gold {
  color: #D7B478;
}

body.is-light-hero .hero-display-gold {
  color: var(--red);
}

.hero-cn-title {
  margin: 12px 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (min-width: 768px) {
  .hero-cn-title {
    margin: 18px 0 6px;
  }
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(238, 233, 223, 0.78);
}

body.is-light-hero .hero-tagline {
  color: rgba(23, 22, 19, 0.72);
}

/* Right Vertical Curatorial Label */
.hero-vertical-note {
  display: none;
}

@media (min-width: 1024px) {
  .hero-vertical-note {
    display: block;
    position: absolute;
    right: 42px;
    top: 28%;
    z-index: 15;
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 11px;
    letter-spacing: 0.36em;
    color: rgba(238, 233, 223, 0.56);
    pointer-events: none;
  }

  body.is-light-hero .hero-vertical-note {
    color: rgba(23, 22, 19, 0.5);
  }
}

/* Model Status & Minimal HUD */
.hero-model-hud {
  position: absolute;
  left: 24px;
  top: 104px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (min-width: 768px) {
  .hero-model-hud {
    top: auto;
    bottom: 214px;
    gap: 6px;
  }
}

@media (min-width: 1024px) {
  .hero-model-hud {
    left: 48px;
    bottom: 134px;
  }
}

.model-status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(238, 233, 223, 0.82);
  pointer-events: none;
}

body.is-light-hero .model-status-line {
  color: rgba(23, 22, 19, 0.78);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 10px rgba(195, 156, 96, 0.85);
}

.status-dot.is-loading {
  animation: pulseDot 1.3s ease-in-out infinite;
}

.status-dot.is-error {
  background-color: var(--red);
  box-shadow: 0 0 10px rgba(141, 46, 37, 0.85);
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.model-controls-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.control-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(238, 233, 223, 0.52);
  pointer-events: none;
}

body.is-light-hero .control-hint {
  color: rgba(23, 22, 19, 0.5);
}

.zoom-micro-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 12px;
}

body.is-light-hero .zoom-micro-controls {
  border-left-color: rgba(23, 22, 19, 0.18);
}

.zoom-micro-controls button {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(238, 233, 223, 0.68);
  padding: 2px 5px;
  transition: color 0.2s ease;
}

.zoom-micro-controls button:hover {
  color: var(--gold);
}

body.is-light-hero .zoom-micro-controls button {
  color: rgba(23, 22, 19, 0.68);
}

body.is-light-hero .zoom-micro-controls button:hover {
  color: var(--red);
}

/* ==========================================================================
   3. HERO BOTTOM 6-COLUMN CATEGORY BAR (Museo.chat Exact Replica)
   ========================================================================== */
.hero-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  pointer-events: none;
}

.hero-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 18px;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-bottom-inner {
    padding: 0 48px 24px;
  }
}

.hero-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 16px;
}

@media (min-width: 768px) {
  .hero-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 24px;
  }
}

@media (min-width: 1024px) {
  .hero-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 48px;
  }
}

.cat-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
  .cat-entry {
    gap: 10px;
  }
}

.cat-entry:hover,
.cat-entry:focus-visible {
  transform: translateY(-4px);
}

.cat-rule {
  display: block;
  width: 48px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.18);
  transition: width 0.5s ease, background-color 0.5s ease;
}

body.is-light-hero .cat-rule {
  background-color: rgba(23, 22, 19, 0.18);
}

.cat-entry:hover .cat-rule {
  width: 100%;
  background-color: var(--gold);
}

.cat-zh {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.45s ease;
}

@media (min-width: 768px) {
  .cat-zh {
    font-size: 19px;
  }
}

body.is-light-hero .cat-zh {
  color: rgba(23, 22, 19, 0.72);
}

.cat-entry:hover .cat-zh {
  color: var(--gold);
}

body.is-light-hero .cat-entry:hover .cat-zh {
  color: #8B6F2A;
}

.cat-en {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.68;
  transition: opacity 0.45s ease;
}

body.is-light-hero .cat-en {
  color: rgba(23, 22, 19, 0.85);
}

.cat-entry:hover .cat-en {
  opacity: 1;
}

.cat-arrow {
  margin-top: 2px;
  color: var(--gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.is-light-hero .cat-arrow {
  color: #8B6F2A;
}

.cat-entry:hover .cat-arrow,
.cat-entry:focus-visible .cat-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   4. MUSEUM PAPER CONTENT SECTIONS (#EEE9DF, Editorial Typography & Hairlines)
   ========================================================================== */
.museum-section {
  position: relative;
  background-color: var(--paper);
  color: var(--ink);
  padding: 112px 0;
  border-top: 1px solid rgba(23, 22, 19, 0.1);
}

.section-spirit {
  border-top: 0;
}

@media (min-width: 1024px) {
  .museum-section {
    padding: 148px 0;
  }
}

.section-anchor {
  position: relative;
  top: -64px;
}

.section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 48px;
  }
}

.chapter-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chapter-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--red);
}

.chapter-en {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-header-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .section-header-row {
    grid-template-columns: 200px 1fr;
    gap: 48px;
    margin-bottom: 84px;
  }
}

.section-kicker {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading em {
  font-style: normal;
  color: var(--red);
}

/* 01 / 04 Spirit Quote */
.spirit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .spirit-layout {
    grid-template-columns: 200px 1fr;
    gap: 48px;
  }
}

.spirit-quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.spirit-quote em {
  font-style: normal;
  color: var(--red);
}

.spirit-attribution {
  margin: 26px 0 0;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--red-dark);
}

.spirit-bio-grid {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(23, 22, 19, 0.14);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .spirit-bio-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}

.spirit-bio {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 2;
  color: #36322b;
}

.desig-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 16px;
}

.desig-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desig-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 22, 19, 0.1);
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* 02 / 04 Chronology Ledger */
.chronology-ledger {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(23, 22, 19, 0.22);
}

@media (min-width: 900px) {
  .chronology-ledger {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ledger-col {
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 22, 19, 0.12);
}

@media (min-width: 900px) {
  .ledger-col {
    padding: 28px 24px 28px 0;
    border-bottom: 0;
    border-right: 1px solid rgba(23, 22, 19, 0.12);
    min-height: 270px;
    display: flex;
    flex-direction: column;
  }
  .ledger-col:not(:first-child) {
    padding-left: 24px;
  }
  .ledger-col:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.ledger-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
}

.ledger-title {
  margin: 34px 0 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.ledger-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #6b6459;
}

/* 03 / 04 Editorial Place & Archive Catalogue */
.archive-editorial-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  border-top: 1px solid rgba(23, 22, 19, 0.22);
  padding-top: 12px;
}

@media (min-width: 1024px) {
  .archive-editorial-split {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}

.archive-index-list {
  display: flex;
  flex-direction: column;
}

.archive-row {
  width: 100%;
  text-align: left;
  padding: 22px 12px 22px 0;
  border-bottom: 1px solid rgba(23, 22, 19, 0.12);
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 16px;
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.archive-row:hover,
.archive-row.is-active {
  padding-left: 10px;
  border-bottom-color: var(--red);
}

.row-code {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.archive-row.is-active .row-code,
.archive-row:hover .row-code {
  color: var(--red);
}

.row-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.row-titles strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}

.row-titles span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.row-arrow {
  font-size: 16px;
  color: var(--red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.archive-row.is-active .row-arrow,
.archive-row:hover .row-arrow {
  opacity: 1;
  transform: translateX(0);
}

.archive-detail-pane {
  padding: 36px;
  background-color: var(--paper-deep);
  border-left: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.detail-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red);
}

.detail-title {
  margin: 28px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
}

.detail-sub {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.detail-body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.95;
  color: #36322b;
}

.detail-foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 22, 19, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.detail-foot strong {
  font-weight: 500;
  color: var(--ink);
}

/* 04 / 04 Curation Columns */
.curation-columns {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(23, 22, 19, 0.22);
}

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

.curation-col {
  padding: 36px 0;
  border-bottom: 1px solid rgba(23, 22, 19, 0.12);
}

@media (min-width: 900px) {
  .curation-col {
    padding: 36px 36px 24px 0;
    border-bottom: 0;
    border-right: 1px solid rgba(23, 22, 19, 0.12);
  }
  .curation-col:not(:first-child) {
    padding-left: 36px;
  }
  .curation-col:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.cur-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
}

.cur-title {
  margin: 28px 0 6px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
}

.cur-en {
  margin: 0 0 18px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.cur-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #6b6459;
}

/* ==========================================================================
   5. BLACK FOOTER (Museo.chat Exact Structure)
   ========================================================================== */
.museo-footer {
  background-color: var(--footer-bg);
  color: #a8a29e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}

.museo-footer-inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .museo-footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .museo-footer-inner {
    padding: 0 48px;
  }
}

.footer-left {
  max-width: 640px;
}

.footer-brand {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.footer-desc-zh {
  margin: 0;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: #78716c;
}

.footer-desc-en {
  margin: 4px 0 0;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.5;
  color: #57534e;
}

.footer-meta {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #57534e;
}

.footer-right {
  text-align: left;
}

@media (min-width: 768px) {
  .footer-right {
    text-align: right;
  }
}

.footer-contact-heading {
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.75;
  color: #a8a29e;
}

.footer-copy {
  padding-top: 4px;
  font-size: 10px;
  color: #57534e;
}

/* ==========================================================================
   6. MINIMAL MODAL (Guide / Index)
   ========================================================================== */
.museo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.museo-modal[hidden] {
  display: none;
}

.museo-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(4px);
}

.museo-modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  background-color: #090909;
  color: #f5f5f4;
  border: 1px solid #292524;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6);
}

.museo-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #292524;
}

.modal-en {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.modal-title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  color: #a8a29e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #ffffff;
  background-color: #292524;
}

.museo-modal-body {
  padding: 24px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #d6d3d1;
}

.modal-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid #292524;
}

.modal-list li {
  padding: 10px 0;
  border-bottom: 1px solid #1c1917;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.modal-list a {
  color: var(--gold);
  font-size: 12px;
}

.modal-list a:hover {
  text-decoration: underline;
}
