:root {
  --paper: #f2f0ec;
  --surface: #f8f7f4;
  --ink: #151412;
  --muted: #68645f;
  --line: rgba(21, 20, 18, 0.24);
  --red: #9f1d17;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.brand span {
  font-size: 18px;
}

.brand small,
.eyebrow,
.section-label {
  font-size: 11px;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--red);
}

.language-switch select {
  min-width: 126px;
  height: 30px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.language-switch select:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

main {
  width: 100%;
}

.breadcrumb,
.artist-hero,
.artist-body,
.related,
.index-hero,
.index-grid,
.index-count {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  padding: 22px 0;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
}

h1,
h2 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.artist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 64px;
  padding: 58px 0 56px;
  border-bottom: 1px solid var(--ink);
}

.artist-hero h1,
.index-hero h1 {
  max-width: 980px;
  margin: 8px 0 12px;
  font-size: clamp(56px, 7.2vw, 116px);
  line-height: 0.98;
}

.hero-copy .intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-meta {
  margin: 0;
}

.hero-meta div,
.detail-list div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.hero-meta div:first-child,
.detail-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 13px;
}

.artist-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  padding: 34px 0 72px;
}

.featured-work {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  gap: 32px;
  padding: 34px 0 56px;
  border-bottom: 1px solid var(--line);
}

.featured-work-image {
  min-width: 0;
  background: var(--surface);
}

.featured-work-image img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-work-copy {
  min-width: 0;
  align-self: end;
}

.featured-work-year {
  margin: 8px 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.featured-work h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.03;
}

.featured-work-description {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.featured-work a {
  display: inline-block;
  margin-top: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.featured-work a:hover {
  text-decoration: underline;
}

.panel {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background: rgba(248, 247, 244, 0.78);
}

.body-text {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.78;
}

.note-box {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--red);
  background: rgba(159, 29, 23, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.tags,
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span,
.keyword-cloud span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.source {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.source span,
.source-links a,
.detail-list a {
  font-size: 12px;
}

.source > span {
  color: var(--muted);
  text-transform: uppercase;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.source-links a,
.detail-list a {
  text-decoration: none;
}

.source-links a:hover,
.detail-list a:hover {
  color: var(--red);
}

.detail-list {
  display: grid;
  margin: 0;
}

.detail-list span {
  color: var(--muted);
}

.media-section,
.related {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.media-section {
  padding: 18px 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: 48px;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.image-status {
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.image-grid figure {
  margin: 0;
  background: var(--surface);
}

.image-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dedbd5;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.image-link:hover img {
  transform: scale(1.025);
}

figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  font-size: 10px;
}

figcaption strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

figcaption span {
  color: var(--muted);
}

figcaption .image-type {
  display: inline-flex;
  width: max-content;
  margin-bottom: 2px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.related {
  padding: 62px 0 110px;
  border-top: 1px solid var(--ink);
}

.related-grid,
.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.related-grid a,
.index-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.related-grid span,
.related-grid small,
.index-card span,
.index-card small {
  color: var(--muted);
  font-size: 10px;
}

.related-grid strong,
.index-card strong {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.related-grid a:hover,
.index-card:hover {
  color: var(--red);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 55px max(24px, calc((100vw - 1320px) / 2));
  color: #eeeae4;
  background: #171614;
  font-size: 12px;
}

.index-hero {
  padding: 90px 0 45px;
}

.index-hero > p {
  color: var(--muted);
}

.index-hero label {
  display: block;
  margin-top: 50px;
  color: var(--muted);
  font-size: 11px;
}

.index-hero input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: 24px "Songti SC", "STSong", Georgia, serif;
  outline: none;
}

.index-count {
  padding: 18px 0;
  font-size: 12px;
}

.index-grid {
  padding-bottom: 100px;
}

.index-card[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .artist-hero,
  .artist-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .image-grid,
  .related-grid,
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-header nav a:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .artist-hero,
  .artist-body,
  .related,
  .index-hero,
  .index-grid,
  .index-count,
  .media-section {
    width: calc(100% - 32px);
  }

  .artist-hero h1,
  .index-hero h1 {
    font-size: 44px;
  }

  .image-grid,
  .related-grid,
  .index-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand small {
    display: none;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .artist-body {
    padding-top: 24px;
  }

  footer {
    gap: 20px;
    flex-direction: column;
  }
}

/* Apple 中文官网风格：系统字体、紧凑排版、清晰字重层级 */
:root {
  --paper: #ffffff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.12);
  --red: #06c;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}

button,
input,
select { font-family: inherit; }

.site-header {
  min-height: 48px;
  padding: 8px max(22px, calc((100vw - 1120px) / 2));
  background: rgba(250, 250, 252, .82);
  border-bottom-color: rgba(0, 0, 0, .08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand { gap: 9px; }
.brand span { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.brand small { font-size: 9px; font-weight: 500; letter-spacing: .02em; }
.site-header nav { gap: 26px; }
.site-header nav a { font-size: 12px; }
.language-switch select {
  min-width: 112px;
  height: 27px;
  border-radius: 6px;
  font-size: 10px;
}

.breadcrumb,
.artist-hero,
.artist-body,
.related,
.index-hero,
.index-grid,
.index-count,
.media-section {
  width: min(1120px, calc(100% - 48px));
}

.breadcrumb { padding: 16px 0; font-size: 11px; }

h1,
h2,
.related-grid strong,
.index-card strong,
.index-hero input {
  font-family: inherit;
  letter-spacing: -.03em;
}

.brand span,
h1,
h2,
.related-grid strong,
.index-card strong { text-wrap: balance; }

.eyebrow,
.section-label,
dt {
  font-weight: 600;
  letter-spacing: .035em;
}

.artist-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 48px;
  padding: 42px 0 40px;
  border-bottom-color: var(--line);
}

.artist-hero h1,
.index-hero h1 {
  margin-top: 5px;
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 700;
  line-height: .98;
}

.hero-copy .intro {
  max-width: 760px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.62;
}

.hero-meta div,
.detail-list div {
  gap: 15px;
  padding: 9px 0;
}

dt { font-size: 10px; }
dd { font-size: 13px; line-height: 1.45; }

.artist-body {
  gap: 14px;
  padding: 24px 0 56px;
}

.panel {
  padding: 18px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
}

.body-text { font-size: 14px; line-height: 1.65; }
.note-box {
  margin-top: 13px;
  padding: 12px 14px;
  border-left: 0;
  border-radius: 10px;
  background: #eaf3ff;
  color: #345;
  font-size: 12px;
  line-height: 1.58;
}

.tags,
.keyword-cloud { gap: 6px; margin-top: 14px; }
.tags span,
.keyword-cloud span {
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 500;
}

.source { margin-top: 17px; padding-top: 12px; }
.source-links a,
.detail-list a { color: var(--red); font-weight: 500; }

.media-section { padding-top: 8px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(34px, 3.8vw, 46px); font-weight: 700; line-height: 1.05; }
.section-heading > p { line-height: 1.5; }
.image-status { margin-bottom: 16px; padding: 10px 0; }
.image-grid { gap: 12px; }
.image-grid figure { border-radius: 14px; overflow: hidden; }
.image-link { background: #e8e8ed; }
figcaption { padding: 10px 12px 12px; }

.related {
  padding: 48px 0 72px;
  border-top-color: var(--line);
}

.related-grid,
.index-grid {
  gap: 12px;
  border: 0;
}

.related-grid a,
.index-card {
  min-height: 132px;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  transition: transform .2s ease, background-color .2s ease;
}

.related-grid strong,
.index-card strong { font-size: 20px; font-weight: 600; line-height: 1.1; }
.related-grid a:hover,
.index-card:hover { color: var(--red); background: #f0f0f2; transform: translateY(-1px); }

footer {
  padding: 38px max(24px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  background: var(--surface);
}
footer a { color: var(--ink); font-weight: 500; text-decoration: none; }

.index-hero { padding: 58px 0 30px; }
.index-hero > p { max-width: 720px; line-height: 1.55; }
.index-hero label { margin-top: 32px; font-weight: 600; }
.index-hero input {
  margin-top: 4px;
  padding: 11px 0;
  border-bottom-color: var(--line);
  font-size: 22px;
  font-weight: 500;
}
.index-count { padding: 12px 0; }
.index-grid { padding-bottom: 68px; }

@media (max-width: 820px) {
  .site-header { min-height: 48px; padding: 8px 16px; }
  .artist-hero { gap: 26px; padding: 32px 0; }
  .artist-body { gap: 12px; }
  .related { padding: 38px 0 56px; }
}

@media (max-width: 480px) {
  .breadcrumb,
  .artist-hero,
  .artist-body,
  .related,
  .index-hero,
  .index-grid,
  .index-count,
  .media-section { width: calc(100% - 32px); }
  .artist-hero h1,
  .index-hero h1 { font-size: 42px; }
  .panel,
  .related-grid a,
  .index-card { border-radius: 12px; }
  .section-heading h2 { font-size: 34px; }
  .index-hero { padding-top: 42px; }
}

/* 紧凑语言入口：图标承载视觉，原生 select 继续负责交互与无障碍。 */
.language-switch {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 30px;
}

.language-switch::before {
  content: "";
  position: absolute;
  inset: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(90deg, currentColor, currentColor) center / 1px 100% no-repeat;
  pointer-events: none;
}

.language-switch::after {
  content: "";
  position: absolute;
  inset: 6px 13px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
}

.language-switch select {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.language-switch:focus-within {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.artist-hero > *,
.artist-body > *,
.panel,
.hero-copy,
.hero-meta,
.detail-list,
.detail-list dd {
  min-width: 0;
}

.hero-copy .intro,
.body-text,
.note-box,
.detail-list dd,
.source-links,
figcaption {
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

@media (max-width: 820px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr 34px;
    gap: 14px;
  }

  .brand {
    min-width: 0;
    white-space: nowrap;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small { display: none; }
  .site-header nav { justify-self: center; min-width: 0; }
  .site-header nav a { white-space: nowrap; }

  .artist-hero,
  .artist-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .featured-work {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0 42px;
  }

  .featured-work-copy {
    align-self: start;
  }

  .hero-meta div,
  .detail-list div {
    grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr);
  }

  .breadcrumb {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: minmax(0, auto) minmax(72px, 1fr) 34px;
    padding: 8px 16px;
  }

  .brand span { font-size: 15px; }
  .site-header nav { gap: 0; }
  .site-header nav a { font-size: 12px; }
  .site-header nav a:last-child { display: none; }

  .breadcrumb,
  .artist-hero,
  .artist-body,
  .featured-work,
  .related,
  .index-hero,
  .index-grid,
  .index-count,
  .media-section {
    width: calc(100% - 32px);
  }

  .breadcrumb { padding: 14px 0 8px; font-size: 11px; }
  .artist-hero { padding: 24px 0 28px; }
  .artist-hero h1,
  .index-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 42px);
    overflow-wrap: anywhere;
  }

  .hero-copy .intro { font-size: 14px; line-height: 1.62; }
  .artist-body { display: block; padding: 18px 0 44px; }
  .artist-body > .panel + .panel { margin-top: 12px; }
  .panel { width: 100%; overflow: hidden; }
  .hero-meta div,
  .detail-list div { gap: 12px; }
  .section-heading { gap: 12px; }
  .section-heading > p { max-width: 100%; }
  .image-grid,
  .related-grid,
  .index-grid { grid-template-columns: minmax(0, 1fr); }
}

.index-card.entity-organization,
.related-grid a.entity-organization {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(24, 22, 19, 0.1) 0,
    rgba(24, 22, 19, 0.1) 1px,
    transparent 1px,
    transparent 10px
  );
}
