/* ========================================================================
   曦儿（陈冬兰）艺术文献库 — Page-specific styles
   ======================================================================== */

/* Top nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  mix-blend-mode: multiply;
  transition: background 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  padding: 14px clamp(24px, 4vw, 56px);
  background: oklch(0.985 0.008 75 / 0.85);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  mix-blend-mode: normal;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.01em;
  cursor: pointer;
}
[data-lang="zh"] .nav__brand {
  font-family: var(--serif-zh);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 17px;
}
.nav__seal {
  width: 22px; height: 22px;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.nav__seal::after {
  content: "曦";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  font-family: var(--serif-zh);
  font-size: 14px;
  font-weight: 600;
}

.nav__menu {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  justify-content: center;
  flex-wrap: wrap;
}
.nav__menu a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu a.is-active { color: var(--ink); }
.nav__menu a.is-active::after { transform: scaleX(1); }

.nav__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.lang-switch button {
  padding: 6px 8px;
  color: var(--ink-3);
  transition: color 0.3s;
}
.lang-switch button.is-active {
  color: var(--ink);
}
.lang-switch span {
  color: var(--line);
}
.search-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s;
}
.search-btn:hover {
  border-color: var(--ink);
  transform: rotate(15deg);
}

/* Mobile: hamburger + paper drawer */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: var(--paper-2);
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}
.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink-2);
  transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.nav.is-menu-open .nav__toggle {
  border-color: var(--ink);
  background: var(--paper);
}
.nav.is-menu-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-menu-open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: oklch(0.18 0.008 60 / 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 255;
  width: min(100%, 400px);
  height: 100%;
  min-height: 100dvh;
  padding-top: env(safe-area-inset-top, 0);
  background: oklch(0.985 0.008 75 / 0.97);
  border-left: 1px solid var(--line-soft);
  box-shadow: -12px 0 48px oklch(0.25 0.01 65 / 0.12);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nav__drawer.is-open {
  transform: translateX(0);
}
.nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav__drawer-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  transition: color 0.3s, border-color 0.3s;
}
.nav__drawer-close:hover { color: var(--ink); border-color: var(--line); }
.nav__drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 calc(32px + env(safe-area-inset-bottom, 0));
  -webkit-overflow-scrolling: touch;
}
.nav__drawer-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
  position: relative;
}
.nav__drawer-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.nav__drawer-item.is-active,
.nav__drawer-item:hover { color: var(--ink); }
.nav__drawer-item.is-active {
  background: var(--paper-2);
  padding-left: 26px;
}
.nav__drawer-item.is-active::before { transform: scaleY(1); }
.nav__drawer-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.nav__drawer-item.is-active .nav__drawer-num { color: var(--accent); }
.nav__drawer-label {
  font-family: var(--serif-zh);
  font-size: 17px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
[data-lang="en"] .nav__drawer-label {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    mix-blend-mode: normal;
  }
  .nav.is-scrolled { mix-blend-mode: normal; }
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__brand {
    min-width: 0;
    flex: 1;
  }
  .nav__brand > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav__right {
    flex-shrink: 0;
    gap: 10px;
  }
  .lang-switch { gap: 4px; }
  .lang-switch button { padding: 8px 6px; }
  .search-btn {
    width: 40px;
    height: 40px;
  }
  .nav.is-menu-open { z-index: 270; }
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 140px clamp(40px, 6vw, 104px) 80px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  width: min(100%, 1560px);
  margin: 0 auto;
  padding-top: 5vh;
}
.hero__content::before {
  content: "";
  position: absolute;
  top: clamp(18px, 4vh, 52px);
  left: -28px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  opacity: 0.82;
}
.hero .eyebrow::before {
  background: var(--accent);
  opacity: 0.72;
}

.hero__title {
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 200;
  color: var(--ink);
  margin-left: -0.04em;
}
[data-lang="zh"] .hero__title {
  font-family: var(--serif-zh);
  font-style: normal;
  font-weight: 200;
  letter-spacing: 0.04em;
  font-size: clamp(80px, 16vw, 240px);
}
.hero__title .accent {
  color: var(--accent);
  font-style: italic;
}
[data-lang="zh"] .hero__title .accent {
  font-style: normal;
}
/* hero title is always Chinese characters regardless of UI lang */
.hero__title {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.02em;
  font-size: clamp(80px, 16vw, 240px);
  padding-bottom: 0.08em;
}
.hero__title .accent {
  color: inherit;
  font-style: normal;
}
.hero__title .reveal-line {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero__sub {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(360px, 560px) minmax(360px, 420px);
  justify-content: space-between;
  gap: clamp(80px, 12vw, 220px);
  align-items: end;
  width: 100%;
}
@media (max-width: 900px) {
  .hero__sub { grid-template-columns: 1fr; }
  .hero__content::before {
    left: 0;
    top: 0;
  }
}

.hero__sub-text {
  max-width: 520px;
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
[data-lang="zh"] .hero__sub-text { font-family: var(--sans-zh); }

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: end;
  width: min(100%, 380px);
  padding-left: 28px;
  border-left: 1px solid oklch(0.54 0.14 28 / 0.26);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hero__meta-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: clamp(48px, 5vw, 92px);
  align-items: baseline;
}
.hero__meta-row b {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  line-height: 1.45;
}
.hero__meta-accent { color: var(--accent); }

.hero__bottom {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: min(100%, 1560px);
  padding-top: 60px;
  border-top: 1px solid var(--line-soft);
  margin: 60px auto 0;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__scroll-line {
  width: 40px; height: 1px; background: var(--ink-3);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 5;
  padding: 22px 0;
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--paper);
}
.marquee__track {
  display: inline-flex;
  min-width: max-content;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeLoop 28s linear infinite;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
}
[data-lang="zh"] .marquee__track {
  font-family: var(--serif-zh);
  font-style: normal;
  font-size: 18px;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 60px;
}
.marquee__track span::after {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
}
@keyframes marqueeLoop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-33.333%, 0, 0); }
}

/* ============================== SECTION HEAD ============================== */
.section {
  position: relative;
  z-index: 5;
  padding: 140px 0 120px;
}
.section--tight { padding: 90px 0; }

.section__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 72px;
}
.section__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.section__title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
[data-lang="zh"] .section__title {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.04em;
}
.section__title.section__title--long {
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.02em;
}
[data-lang="zh"] .section__title.section__title--long {
  letter-spacing: 0.03em;
}
.section__caption {
  max-width: 280px;
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  text-align: right;
}
[data-lang="zh"] .section__caption { font-family: var(--sans-zh); }
/* 中文图注较长：原 280px 会把「节选。」等不自然拆开 */
[data-lang="zh"] .section__caption { max-width: min(100%, 28em); }

@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .section__caption { text-align: left; max-width: none; }
}

/* 区块 h2 同时带 .reveal-line 时，inline-block 会收窄可排字宽度，易把单字换到下一行 */
.section__head .section__title.reveal-line {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

/* ============================== WORKS CAROUSEL ============================== */
.works {
  position: relative;
}

.works__stage {
  position: relative;
  height: 78vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}

.works__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease-out);
}
.works__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.works__slide-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper-deep);
}
.works__slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateX(-3%) scale(1.12);
  transform-origin: center;
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.works__slide-img .ph {
  position: absolute; inset: 0;
  border: none;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out);
}
.works__slide.is-active .ph {
  transform: scale(1);
}
.works__slide.is-active .works__slide-img img {
  animation: worksImageDrift 24s ease-in-out infinite alternate;
}

@keyframes worksImageDrift {
  from { transform: translateX(-4.5%) translateY(0) scale(1.12); }
  to { transform: translateX(-1.5%) translateY(-1.2%) scale(1.15); }
}

.works__slide-meta {
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 61.8034%;
  width: auto;
  z-index: 2;
  border-left: 1px solid var(--line-soft);
  background: oklch(0.985 0.008 75 / 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.works__slide-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.works__slide-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 12ch;
}
[data-lang="zh"] .works__slide-title {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.03em;
}
.works__slide-title.works__slide-title--long {
  font-size: clamp(26px, 3.1vw, 50px);
  line-height: 1.1;
  max-width: 14ch;
}
.works__slide-year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-top: 24px;
}
.works__slide-desc {
  margin-top: 36px;
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 38ch;
}
[data-lang="zh"] .works__slide-desc { font-family: var(--sans-zh); }

.works__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 24px;
}

.works__pager {
  display: flex;
  gap: 6px;
}
.works__pager button {
  width: 28px; height: 12px;
  position: relative;
  display: flex;
  align-items: center;
}
.works__pager button::after {
  content: "";
  width: 100%; height: 1px;
  background: var(--line);
  transition: background 0.3s, height 0.3s;
}
.works__pager button.is-active::after {
  background: var(--ink);
  height: 2px;
}

.works__arrows {
  display: flex;
  gap: 4px;
}
.works__arrows button {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.works__arrows button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.works__counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  flex: 1;
  text-align: center;
}
.works__counter b { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .works__stage { height: 78vh; min-height: 620px; max-height: none; }
  .works__slide-meta {
    top: auto;
    left: 0;
    width: 100%;
    min-height: 38%;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    background: oklch(0.985 0.008 75 / 0.5);
  }
}

/* ============================== ABOUT ============================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about__portrait {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.about__portrait .ph { position: absolute; inset: 0; border: none; }
.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__body {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about__lead {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}
[data-lang="zh"] .about__lead {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.02em;
}
.about__bio {
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
[data-lang="zh"] .about__bio { font-family: var(--sans-zh); }

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  margin-top: 16px;
}
.fact__num {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}
.fact__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================== INDEX GRID (artworks list) ============================== */
.index-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.index-grid__cell {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  transition: background 0.4s var(--ease-out);
  cursor: pointer;
}
.index-grid__cell:hover {
  background: var(--ink);
  color: var(--paper);
}
.index-grid__cell:hover .cell__num,
.index-grid__cell:hover .cell__year { color: var(--paper); opacity: 0.6; }

/* spans */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }

.cell__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.cell__title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 12px;
  text-wrap: balance;
}
[data-lang="zh"] .cell__title {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.03em;
}
.cell__year {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.cell__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}
.cell__arrow {
  font-size: 18px;
  transition: transform 0.4s var(--ease-out);
}
.index-grid__cell:hover .cell__arrow { transform: translate(4px, -4px); }

@media (max-width: 900px) {
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .span-3, .span-4, .span-5, .span-6, .span-8 { grid-column: span 2; }
}

/* ============================== QUOTES ============================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper);
  padding: clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote__mark {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 90px;
  line-height: 0.6;
  color: var(--accent);
}
.quote__text {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
[data-lang="zh"] .quote__text {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.02em;
  word-break: normal;
  line-break: loose;
}
/* 学者短评允许自然换行，避免右侧长句撑出卡片 */
@media (min-width: 801px) {
  [data-lang="zh"] .quote__text {
    white-space: normal;
    font-size: clamp(16px, 1.15vw, 20px);
  }
}
@media (max-width: 800px) {
  [data-lang="zh"] .quote__text {
    white-space: normal;
    font-size: clamp(20px, 1.7vw, 26px);
  }
}
.quote__attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote__attr::before {
  content: ""; width: 28px; height: 1px; background: var(--ink-3);
}

/* ============================== EXHIBITIONS LIST ============================== */
.ex-list { display: flex; flex-direction: column; }
.ex-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr 0.5fr 60px;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 0.5s var(--ease-out);
  position: relative;
  overflow: visible;
}
.ex-row:last-child { border-bottom: 1px solid var(--line); }
.ex-row:hover { padding-left: 24px; padding-right: 24px; }
.ex-row::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--accent);
  z-index: -1;
  transition: width 0.5s var(--ease-out);
}
.ex-row .ex-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.ex-row .ex-title {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.2;
}
[data-lang="zh"] .ex-row .ex-title {
  font-family: var(--serif-zh);
  font-style: normal;
  word-break: keep-all;
  line-break: strict;
}
.ex-row .ex-title.ex-title--long {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.4;
}
.ex-row .ex-venue {
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 13px;
  color: var(--ink-2);
}
[data-lang="zh"] .ex-row .ex-venue { font-family: var(--sans-zh); }
.ex-row .ex-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ex-row .ex-arrow {
  font-size: 18px;
  text-align: right;
  transition: transform 0.4s var(--ease-out);
}
.ex-row:hover .ex-arrow { transform: translateX(8px); }

@media (max-width: 800px) {
  .ex-row { grid-template-columns: auto 1fr auto; row-gap: 6px; }
  .ex-row .ex-venue, .ex-row .ex-type { grid-column: span 3; }
}

/* ============================== STUDIO ============================== */
.studio {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.studio .ph {
  border: none;
  aspect-ratio: 1/1;
}
.studio__lg { grid-column: span 6; aspect-ratio: 1/1; position: relative; }
.studio__sm { grid-column: span 3; position: relative; }
.studio__lg img,
.studio__sm img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio__txt {
  background: var(--paper);
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.studio__lg.studio__txt, .studio__sm.studio__txt { background: var(--paper); }
[data-lang="zh"] .studio__txt .body-text {
  text-wrap: pretty;
  word-break: keep-all;
  line-break: strict;
}

@media (max-width: 900px) {
  .studio { grid-template-columns: repeat(2, 1fr); }
  .studio__lg, .studio__sm, .studio__txt { grid-column: span 2; }
  .studio__sm { aspect-ratio: 1/1; }
}

/* ============================== FOOTER ============================== */
.footer {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  padding: 100px clamp(24px, 4vw, 72px) calc(40px + env(safe-area-inset-bottom, 0));
}
.footer__big {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-bottom: 80px;
  white-space: nowrap;
  overflow: hidden;
}
[data-lang="zh"] .footer__big {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.04em;
  white-space: normal;
  overflow: visible;
  line-height: 1.04;
  padding-bottom: 0.12em;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 60px;
  border-block: 1px solid oklch(0.4 0.005 60);
}
@media (max-width: 800px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: oklch(0.7 0.005 60);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col li a {
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 14px;
  color: oklch(0.85 0.008 70);
  transition: color 0.3s;
}
[data-lang="zh"] .footer__col li a { font-family: var(--sans-zh); }
.footer__col li a:hover { color: var(--paper); }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: oklch(0.6 0.005 60);
}
[data-lang="zh"] .footer__bottom {
  font-family: var(--sans-zh);
  text-transform: none;
  letter-spacing: 0.06em;
  line-height: 1.65;
  font-size: 11px;
}
.footer__bottom a { grid-column: 2; }
.footer__bottom a {
  color: inherit;
  transition: color 0.3s;
}
.footer__bottom a:hover { color: var(--paper); }

/* ============================== SUB-PAGE ============================== */
.subpage {
  padding-top: 120px;
}
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.6; }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.detail-hero h1 {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
[data-lang="zh"] .detail-hero h1 {
  font-family: var(--serif-zh);
  font-style: normal;
  letter-spacing: 0.04em;
}
.detail-hero h1.detail-hero__title--long {
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.02em;
}
[data-lang="zh"] .detail-hero h1.detail-hero__title--long {
  letter-spacing: 0.03em;
}
.detail-hero__meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.detail-hero__meta div {
  display: flex; flex-direction: column; gap: 4px;
}
.detail-hero__meta dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.detail-hero__meta dd {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
}
[data-lang="zh"] .detail-hero__meta dd {
  font-family: var(--serif-zh);
  font-style: normal;
}

.detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding-block: 72px;
}
@media (max-width: 900px) { .detail-body { grid-template-columns: 1fr; gap: 40px; } }

.detail-figure {
  margin-bottom: 32px;
}
.detail-figure .ph {
  aspect-ratio: 4/3;
  border: 1px solid var(--line-soft);
}
.detail-figure figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.detail-side {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.detail-side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 8px;
}
.detail-side p {
  font-family: var(--sans-en), var(--sans-zh);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
[data-lang="zh"] .detail-side p { font-family: var(--sans-zh); }

/* PDF embed surrogate */
.pdf-embed {
  position: relative;
  aspect-ratio: 16/11;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.pdf-embed::before {
  content: "PDF · READ ONLINE · DOWNLOAD DISABLED";
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.pdf-embed__icon {
  width: 44px; height: 60px;
  border: 1px solid var(--ink);
  position: relative;
}
.pdf-embed__icon::after {
  content: "";
  position: absolute;
  top: 6px; right: 6px; bottom: 6px; left: 6px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.pdf-embed__title {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
}
[data-lang="zh"] .pdf-embed__title { font-family: var(--serif-zh); font-style: normal; }
.pdf-embed__hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery .ph { border: 1px solid var(--line-soft); aspect-ratio: 4/3; }
.gallery .g-1 { grid-column: span 8; aspect-ratio: 16/9; }
.gallery .g-2 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery .g-3 { grid-column: span 6; }
.gallery .g-4 { grid-column: span 4; }
.gallery .g-5 { grid-column: span 8; }
@media (max-width: 800px) {
  .gallery > * { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* ========================================================================
   Archive map (sitemap) — home + standalone
   ======================================================================== */
.archive-map {
  background: var(--paper);
  position: relative;
}
.archive-map.subpage { padding-top: 140px; }

.archive-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.archive-rail {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-soft);
}
.archive-rail__item {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  margin-left: -1px;
  padding: 18px 20px 18px 22px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  transition: all 240ms ease;
  color: var(--ink);
}
.archive-rail__item:hover {
  background: var(--paper-2);
}
.archive-rail__item.is-active {
  border-left-color: var(--accent);
  background: var(--paper);
}
.archive-rail__num {
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  align-self: center;
  width: 28px;
}
.archive-rail__item.is-active .archive-rail__num { color: var(--accent); }
.archive-rail__title {
  font-family: var(--serif-zh);
  font-size: 17px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
[data-lang="en"] .archive-rail__title {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: 0;
}
.archive-rail__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 4px;
  text-transform: uppercase;
}

.archive-pane {
  min-width: 0;
  animation: panefade 480ms ease;
}
@keyframes panefade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.archive-pane__head {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.archive-pane__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}
.archive-pane__title {
  font-family: var(--serif-zh);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  margin-top: 16px;
  letter-spacing: 0.04em;
}
[data-lang="en"] .archive-pane__title {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: -0.02em;
}
.archive-pane__desc {
  font-family: var(--serif-zh);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 56ch;
}
[data-lang="en"] .archive-pane__desc {
  font-family: var(--serif-en);
}

.archive-pane__groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.archive-group__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}
.archive-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archive-group__list li {
  border-bottom: 1px solid var(--line-soft);
}
.archive-group__list a {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: padding 280ms cubic-bezier(.4,0,.2,1), color 240ms;
}
.archive-group__list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 480ms cubic-bezier(.4,0,.2,1);
}
.archive-group__list a:hover {
  padding-left: 16px;
  color: var(--accent);
}
.archive-group__list a:hover::before { width: 100%; }
.archive-item__title {
  font-family: var(--serif-zh);
  font-size: 17px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
[data-lang="en"] .archive-item__title {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: 0;
}
.archive-item__year {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.archive-group__list a:hover .archive-item__year { color: var(--accent); }
.archive-item__arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
  transform: translateX(0);
  transition: transform 320ms ease;
}
.archive-group__list a:hover .archive-item__arrow {
  color: var(--accent);
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .archive-shell { grid-template-columns: 1fr; gap: 32px; }
  .archive-rail {
    position: relative;
    top: 0;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    border-left: 0;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 4px;
  }
  .archive-rail__item {
    border-left: 0;
    border-bottom: 2px solid transparent;
    min-width: 180px;
    scroll-snap-align: start;
    flex: 0 0 auto;
    padding: 20px 18px;
  }
  .archive-rail__item.is-active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .archive-group__list a {
    padding: 22px 0;
    min-height: 48px;
    align-items: center;
  }
  .subpage { padding-top: 96px; }
  .archive-map.subpage { padding-top: 110px; }
}

/* Entry detail page */
.entry-page .detail-hero__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  margin-top: 18px;
}
.entry-page .detail-hero__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.entry-title.is-long {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.02;
}
.entry-title.is-compact {
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}
.entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}
.entry-main__img { aspect-ratio: 4/3; }
.entry-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.entry-thumb { aspect-ratio: 1/1; }
.entry-doc-stack {
  display: grid;
  gap: 28px;
}
.entry-asset-stack {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}
.entry-asset-stack .asset-card {
  width: 100%;
}
.entry-asset-stack .asset-card--video {
  aspect-ratio: 16 / 9;
}
.entry-asset-stack .asset-card--pdf {
  min-height: 72vh;
}
.entry-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.meta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 22px 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.meta-row dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.meta-row dd {
  font-family: var(--serif-zh);
  font-size: 14px;
  color: var(--ink);
}
[data-lang="en"] .meta-row dd { font-family: var(--serif-en); }
.entry-meta__body { margin-top: 28px; font-size: 15px; }
.entry-children {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.entry-children h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.entry-children a {
  font-family: var(--serif-zh);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}
[data-lang="en"] .entry-children a { font-family: var(--serif-en); font-style: italic; }
.entry-children a:hover {
  color: var(--accent);
  padding-left: 10px;
}
@media (max-width: 800px) {
  .entry-grid { grid-template-columns: 1fr; }
  .entry-meta { grid-template-columns: 1fr; }
}

/* Archive section pages */
.archive-section-hero__desc {
  max-width: 68ch;
  margin-top: 8px;
}
.archive-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 72px;
  padding-block: 72px;
}
.archive-section-layout--single {
  display: block;
}
.archive-section-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.archive-module {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.archive-module__head {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}
.archive-module__num,
.node-list__index,
.archive-module__year {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.archive-module h2 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-wrap: balance;
}
[data-lang="en"] .archive-module h2 {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: -0.01em;
}
.archive-module__year {
  color: var(--accent);
  margin-top: 12px;
}
.module-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  margin: 28px 0;
}
.module-feature__main {
  min-width: 0;
}
.module-feature__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 18px;
}
.module-feature__thumbs .asset-card figcaption {
  display: none;
}
.node-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}
.node-list--level-1 {
  margin-left: 52px;
  border-top: 0;
}
.node-list__item {
  border-bottom: 1px solid var(--line-soft);
}
.node-list__item a {
  display: grid;
  grid-template-columns: 52px 1fr auto 24px;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  transition: padding-left 0.32s var(--ease-out), color 0.24s;
}
.node-list__item a:hover {
  padding-left: 14px;
  color: var(--accent);
}
.node-list__title {
  font-family: var(--serif-zh);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0.03em;
}
[data-lang="en"] .node-list__title {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: 0;
}
.node-list__year {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  white-space: nowrap;
}
.node-list__arrow {
  font-family: var(--mono);
  color: var(--ink-3);
  transition: transform 0.32s var(--ease-out), color 0.24s;
}
.node-list__item a:hover .node-list__arrow {
  color: var(--accent);
  transform: translateX(6px);
}
.archive-module__empty {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.archive-section-side {
  top: 110px;
}
.asset-card {
  position: relative;
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.asset-card img {
  width: 100%;
  height: auto;
  display: block;
}
.asset-card video,
.asset-card iframe {
  width: 100%;
  display: block;
  border: 0;
}
.asset-card--video {
  aspect-ratio: 4 / 3;
}
.asset-card--video video {
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}
.asset-card--pdf {
  background: var(--paper);
}
.pdf-canvas-viewer {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 32px);
  background: var(--paper-2);
  user-select: none;
  -webkit-user-select: none;
}
.pdf-canvas-viewer canvas {
  width: 100%;
  height: auto;
  display: block;
  background: white;
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 40px oklch(0.25 0.01 65 / 0.08);
}
.asset-card figcaption {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
}
.archive-fallback {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, transparent 0, transparent 48%, var(--line-soft) 48%, var(--line-soft) 52%, transparent 52%),
    var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}
.archive-fallback span {
  max-width: 24ch;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink-3);
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.asset-grid .asset-card {
  grid-column: span 4;
  align-self: start;
}
.asset-grid .asset-card:nth-child(1),
.asset-grid .asset-card:nth-child(6n) {
  grid-column: span 8;
}
.archive-text-block {
  margin: 28px 0;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.archive-text-block__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.archive-text-block__title {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
[data-lang="en"] .archive-text-block__title {
  font-family: var(--serif-en);
  font-style: italic;
  letter-spacing: -0.01em;
}
.archive-text-block__subh {
  font-family: var(--sans-zh);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 1.75rem 0 0.75rem;
}
[data-lang="en"] .archive-text-block__subh {
  font-family: var(--sans-en);
  letter-spacing: 0.08em;
}
.archive-text-block__p + .archive-text-block__p,
.archive-text-block__p + .archive-text-block__list,
.archive-text-block__list + .archive-text-block__p,
.archive-text-block__subh + .archive-text-block__p {
  margin-top: 0.85em;
}
.archive-text-block__list {
  margin: 0.35em 0 0.5em 1.15rem;
  padding: 0;
  list-style: disc;
}
.archive-text-block__list li {
  margin: 0.4em 0;
  padding-left: 0.15em;
}
.archive-text-block__list li::marker {
  color: var(--accent);
}
.archive-text-block p + p {
  margin-top: 1em;
}
.entry-main > .asset-card:first-child {
  margin-bottom: 28px;
}

/* Curated manual module pages */
.manual-page {
  background:
    radial-gradient(circle at 10% 10%, oklch(0.82 0.05 52 / 0.18), transparent 34vw),
    var(--paper);
}
.manual-hero,
.manual-section {
  border-top: 1px solid var(--line);
}
.manual-hero {
  padding: clamp(64px, 10vw, 132px) 0 clamp(56px, 8vw, 96px);
}
.manual-hero__eyebrow,
.manual-section__num,
.curated-card__kicker,
.manual-doc-row__num,
.avatar-points span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.manual-hero h1 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(54px, 9vw, 138px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-top: 18px;
}
[data-lang="en"] .manual-hero h1 {
  font-family: var(--serif-en);
  font-style: italic;
}
.manual-hero__caption {
  max-width: 70ch;
  margin-top: 28px;
}
.manual-section {
  padding: clamp(48px, 7vw, 96px) 0;
}
.manual-section__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.95fr) minmax(240px, 0.65fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 58px);
}
.manual-section__head h2 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
[data-lang="en"] .manual-section__head h2 {
  font-family: var(--serif-en);
  font-style: italic;
}
.manual-note {
  margin-top: 14px;
}
.series-card-grid,
.project-card-grid,
.publication-grid,
.manual-two-grid,
.manual-three-grid,
.issue-wall,
.ai-work-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.curated-card {
  grid-column: span 4;
  display: grid;
  align-content: start;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  min-height: 100%;
}
.series-card-grid .curated-card {
  grid-column: span 6;
}
.curated-card--wide,
.series-card-grid .curated-card--wide,
.music-feature > .curated-card {
  grid-column: span 12;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}
.curated-card__media .asset-card {
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}
.curated-card--wide .curated-card__media .asset-card {
  border-bottom: 0;
  border-right: 1px solid var(--line-soft);
}
.curated-card__media figcaption {
  display: none;
}
.curated-card__body {
  padding: clamp(22px, 3vw, 36px);
}
.curated-card h3,
.manual-doc-row h3,
.avatar-points h3 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
[data-lang="en"] .curated-card h3,
[data-lang="en"] .manual-doc-row h3,
[data-lang="en"] .avatar-points h3 {
  font-family: var(--serif-en);
  font-style: italic;
}
.curated-card__link {
  margin-top: 24px;
}
.book-feature,
.artist-hero,
.studio-hero,
.avatar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.book-feature__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.book-feature__body h3,
.artist-hero h1,
.studio-hero h1,
.avatar-hero h1 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 92px);
  line-height: 1;
  margin: 16px 0 20px;
}
.artist-hero__names {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
.about-contact .archive-text-block {
  min-width: 0;
}
.about-contact .asset-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .about-contact { grid-template-columns: 1fr; }
  .about-contact .asset-card { max-width: 220px; }
}
.concept-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.concept-block blockquote {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  color: var(--accent);
}
.keyword-row,
.year-index,
.manual-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.keyword-row span,
.year-index span {
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bio-timeline,
.music-feature {
  display: grid;
  gap: 24px;
}
.manual-two-grid .curated-card {
  grid-column: span 6;
}
.text-only-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.text-only-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.text-only-card h3 {
  font-family: var(--serif-zh);
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.text-only-card__body p + p {
  margin-top: 0.8em;
}
.manual-three-grid .curated-card,
.issue-wall .curated-card,
.publication-grid .curated-card,
.project-card-grid .curated-card,
.ai-work-strip .curated-card {
  grid-column: span 4;
}
.exhibition-feature-list {
  display: grid;
  gap: 18px;
}
.exhibition-feature-list .curated-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
}
.poster-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.manual-doc-list {
  border-top: 1px solid var(--line);
}
.manual-doc-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.essay-focus {
  max-width: 980px;
}
.studio-mosaic,
.visit-strip,
.video-archive-grid,
.music-studio-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.studio-mosaic .asset-card {
  grid-column: span 4;
}
.studio-mosaic .asset-card:nth-child(1),
.studio-mosaic .asset-card:nth-child(6),
.visit-strip .asset-card:nth-child(1) {
  grid-column: span 8;
}
.visit-strip .asset-card {
  grid-column: span 6;
}
.video-archive-grid .asset-card {
  grid-column: span 6;
}
.music-studio-block .asset-card {
  grid-column: span 4;
}
.music-studio-block .asset-card:first-child {
  grid-column: span 8;
}
.avatar-hero {
  padding: clamp(48px, 8vw, 104px) 0;
}
.avatar-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.avatar-points article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 1000px) {
  .archive-section-layout { grid-template-columns: 1fr; gap: 40px; }
  .archive-section-side { position: static; }
  .manual-section__head,
  .book-feature,
  .artist-hero,
  .studio-hero,
  .avatar-hero,
  .concept-block,
  .exhibition-feature-list .curated-card,
  .curated-card--wide,
  .series-card-grid .curated-card--wide,
  .music-feature > .curated-card {
    grid-template-columns: 1fr;
  }
  .avatar-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .archive-module__head { grid-template-columns: 1fr; gap: 14px; }
  .archive-module__link { justify-self: start; }
  .module-feature { grid-template-columns: 1fr; }
  .module-feature__thumbs { grid-template-columns: 1fr; }
  .node-list--level-1 { margin-left: 18px; }
  .node-list__item a { grid-template-columns: 42px 1fr 20px; }
  .node-list__year { grid-column: 2 / span 2; }
  .asset-grid .asset-card,
  .asset-grid .asset-card:nth-child(1),
  .asset-grid .asset-card:nth-child(6n) {
    grid-column: span 12;
  }
  .series-card-grid .curated-card,
  .project-card-grid .curated-card,
  .publication-grid .curated-card,
  .manual-two-grid .curated-card,
  .manual-three-grid .curated-card,
  .issue-wall .curated-card,
  .ai-work-strip .curated-card,
  .studio-mosaic .asset-card,
  .studio-mosaic .asset-card:nth-child(1),
  .studio-mosaic .asset-card:nth-child(6),
  .visit-strip .asset-card,
  .visit-strip .asset-card:nth-child(1),
  .video-archive-grid .asset-card,
  .music-studio-block .asset-card,
  .music-studio-block .asset-card:first-child {
    grid-column: span 12;
  }
  .poster-pair,
  .book-feature__images,
  .text-only-grid,
  .avatar-points {
    grid-template-columns: 1fr;
  }
  .manual-doc-row {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------------
   Mobile phones — narrow viewports (design system: keep tokens, calmer rhythm)
   ------------------------------------------------------------------------ */
@media (max-width: 600px) {
  .subpage { padding-top: 88px; }
  .archive-map.subpage { padding-top: 100px; }

  .hero {
    padding: 96px clamp(16px, 5vw, 28px) 40px;
    min-height: 100dvh;
    min-height: 100svh;
  }
  .hero__content { padding-top: 2vh; }
  .hero__title {
    font-size: clamp(52px, 15vw, 120px) !important;
    margin-left: 0;
  }
  .hero__sub { margin-top: 28px; gap: 28px; }
  .hero__meta {
    justify-self: start;
    width: 100%;
    padding-left: 16px;
  }
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
  }
  .hero__meta-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }
  .hero__meta-row b {
    text-align: left;
  }
  .marquee { padding: 16px 0; }
  .marquee__track { font-size: 18px; gap: 40px; }
  [data-lang="zh"] .marquee__track { font-size: 16px; }

  .section { padding: 64px 0 56px; }
  .section--tight { padding: 48px 0; }
  .section__head {
    margin-bottom: 36px;
    padding-bottom: 24px;
  }
  .section__title { font-size: clamp(32px, 9vw, 64px); }
  .section__title.section__title--long { font-size: clamp(26px, 6.5vw, 48px); }

  .works__stage { min-height: 0; }
  .works__slide-img { min-height: 44vh; max-height: 64vh; }
  .works__slide-meta { padding: 24px 20px 28px; }
  .works__nav { flex-wrap: wrap; gap: 16px; }
  .works__counter { order: 3; flex-basis: 100%; text-align: left; }
  .works__arrows button { width: 48px; height: 48px; }

  .about__body { position: static; }
  .about__facts { grid-template-columns: 1fr; gap: 16px; }

  .index-grid { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-8 { grid-column: span 1; }
  .index-grid__cell {
    min-height: 0;
    padding: 22px 20px;
  }

  .ex-row { padding: 20px 0; gap: 12px; }
  .ex-row:hover { padding-left: 0; padding-right: 0; }
  .footer { padding: 48px clamp(16px, 5vw, 28px) calc(32px + env(safe-area-inset-bottom, 0)); }
  .footer__big { font-size: clamp(40px, 11vw, 100px); margin-bottom: 40px; }
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }
  .footer__bottom { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .footer__bottom a { grid-column: 1; }

  .detail-hero h1 { font-size: clamp(32px, 9vw, 64px); }
  .detail-hero h1.detail-hero__title--long { font-size: clamp(26px, 6.5vw, 48px); }
  .detail-hero__meta { gap: 20px; }
  .detail-body { padding-block: 48px; }
  .detail-side {
    position: static;
    top: auto;
  }

  .entry-title.is-long { font-size: clamp(28px, 7.5vw, 52px); }
  .entry-title.is-compact { font-size: clamp(24px, 6.5vw, 44px); }
  .entry-thumbs { grid-template-columns: repeat(2, 1fr); }
  .entry-asset-stack .asset-card--pdf { min-height: 0; }
  .meta-row { padding-right: 0; }
  .archive-text-block { padding: 22px 20px; }
  .asset-card figcaption { flex-wrap: wrap; }

  .pdf-canvas-viewer { padding: 12px; gap: 12px; }
  .pdf-canvas-viewer canvas { box-shadow: 0 8px 24px oklch(0.25 0.01 65 / 0.08); }

  .node-list__item a {
    padding: 20px 0;
    min-height: 48px;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .detail-side {
    position: static;
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
}

@media (max-width: 600px) and (hover: none) {
  .index-grid__cell:active {
    background: var(--ink);
    color: var(--paper);
  }
  .index-grid__cell:active .cell__num,
  .index-grid__cell:active .cell__year { color: var(--paper); opacity: 0.6; }
}
