:root {
  --paper: #f2f0ec;
  --surface: #f8f7f4;
  --ink: #151412;
  --muted: #68645f;
  --line: rgba(21, 20, 18, 0.24);
  --red: #9f1d17;
  --period-early: #e8e4dc;
  --period-early-ink: #4f4941;
  --period-algorithm: #e0e5e6;
  --period-algorithm-ink: #414b4e;
  --period-contemporary: #ddb0a1;
  --period-contemporary-ink: #713d31;
}

[data-period="early"] { --period-color: var(--period-early); --period-accent: var(--period-early-ink); }
[data-period="algorithm"] { --period-color: var(--period-algorithm); --period-accent: var(--period-algorithm-ink); }
[data-period="contemporary"] { --period-color: var(--period-contemporary); --period-accent: var(--period-contemporary-ink); }

* { 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;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

a { color: inherit; }
button, input, select { font: inherit; letter-spacing: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 12px 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 14, 13, 0.28);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-size: 18px; }
.brand small { font-size: 11px; text-transform: uppercase; }

.brand-mark {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  background:
    linear-gradient(90deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
    linear-gradient(transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.brand-mark::before { inset: 4px auto 4px 4px; width: 3px; }
.brand-mark::after { right: 4px; bottom: 4px; width: 5px; height: 5px; }
.brand-mark i { position: absolute; top: 3px; right: 3px; width: 3px; height: 3px; border: 1px solid currentColor; }

nav { display: flex; gap: 24px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { opacity: 0.62; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

.header-actions { display: flex; align-items: center; gap: 24px; }
.language-switch { display: flex; border-left: 1px solid rgba(255, 255, 255, 0.42); }
.language-switch select {
  height: 28px;
  min-width: 126px;
  padding: 0 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
}
.language-switch button {
  width: 34px;
  height: 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}
.language-switch button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.language-switch button:focus-visible { outline: 1px solid #fff; outline-offset: -2px; }
.language-switch select:focus-visible { outline: 1px solid #fff; outline-offset: -2px; }

main { width: 100%; }

.hero {
  position: relative;
  min-height: 600px;
  height: clamp(600px, 72vh, 720px);
  overflow: hidden;
  color: #fff;
  background: #161513;
}

.hero-media,
.hero-slide,
.hero-image,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-image { object-fit: cover; transform: scale(1.02); }
.crop-left { object-position: 18% center; }
.crop-center { object-position: 52% center; transform: scale(1.22); }
.crop-right { object-position: 86% center; transform: scale(1.18); }

.hero-slide figcaption {
  position: absolute;
  right: 24px;
  top: 86px;
  z-index: 2;
  padding-left: 10px;
  border-left: 1px solid currentColor;
  font-size: 11px;
  text-transform: uppercase;
}

.hero-shade {
  z-index: 2;
  background: rgba(8, 7, 6, 0.31);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 6vw, 92px);
  right: clamp(24px, 6vw, 92px);
  bottom: 92px;
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(380px, .95fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(60px, 7.4vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

html[lang="en"] .hero h1 { font-size: clamp(50px, 6.2vw, 88px); line-height: 1; }

.hero-prologue {
  max-width: 620px;
  padding-bottom: 4px;
}

.hero-prologue .chapter-number {
  margin: 0 0 16px;
  color: #fff;
}

.hero-prologue h2 {
  margin: 0 0 20px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.25;
}

.hero-prologue > p:not(.chapter-number) {
  margin: 9px 0 0;
  max-width: 570px;
  font-size: 13px;
  line-height: 1.7;
}

.hero-caption,
.enter-link,
.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  bottom: 28px;
}

.hero-caption { left: 24px; margin: 0; font-size: 11px; }
.enter-link { right: 24px; text-decoration: none; font-size: 14px; }
.enter-link span { padding-left: 8px; }

.hero-carousel-controls {
  left: 50%;
  display: flex;
  transform: translateX(-50%);
}

.slide-button {
  width: 42px;
  height: 30px;
  padding: 0;
  color: rgba(255,255,255,.58);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.slide-button.is-active { color: #fff; border-bottom-color: #fff; }

.controls {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(160px, .72fr) minmax(160px, .72fr) minmax(230px, 1.3fr) minmax(160px, .72fr) 120px;
  background: rgba(242, 240, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.artist-preview {
  display: grid;
  grid-template-columns: 150px repeat(5, minmax(145px, 1fr));
  min-height: 108px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.period-legend {
  display: grid;
  grid-template-columns: 190px repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.period-legend-label,
.period-key {
  min-width: 0;
  min-height: 82px;
  padding: 13px 18px;
  border-right: 1px solid var(--line);
}

.period-legend-label { display: flex; flex-direction: column; justify-content: center; }
.period-legend-label strong { font-size: 14px; line-height: 1.25; }
.period-legend-label p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.period-key { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 2px 14px; background: var(--period-color); }
.period-key span { grid-row: 1 / 3; color: var(--period-accent); font-size: 11px; font-weight: 600; }
.period-key strong { font-size: 15px; line-height: 1.25; }
.period-key small { color: var(--period-accent); font-size: 10px; line-height: 1.35; }

.artist-directory { padding-top: 48px; }

.initial-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.initial-chip {
  flex: 0 0 auto;
  min-width: 40px;
  padding: 7px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0;
}

.initial-chip.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.initial-chip:focus-visible,
.directory-card:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

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

.directory-card {
  min-width: 0;
  padding: 14px 15px 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--period-color, rgba(248, 247, 244, 0.72));
  display: grid;
  gap: 6px;
  align-content: start;
}

.directory-card:hover { border-color: var(--period-accent, var(--ink)); color: var(--period-accent, var(--red)); }
.directory-year { color: var(--muted); font-size: 11px; }
.directory-card strong { display: block; font-size: 15px; line-height: 1.35; }
.directory-aliases,
.directory-meta { color: var(--muted); font-size: 11px; line-height: 1.45; }
.directory-empty { grid-column: 1 / -1; }

.artist-preview-label,
.artist-preview > a {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.artist-preview-label h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.artist-preview-label .eyebrow { margin-bottom: 6px; color: var(--muted); }
.artist-preview > a { display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font-size: 15px; }
.artist-preview > a[data-period] { background: var(--period-color); }
.artist-preview > a:hover { color: var(--period-accent, var(--red)); }
.artist-preview > a span { color: var(--muted); font-size: 10px; }

.control,
.controls > button {
  min-width: 0;
  min-height: 76px;
  padding: 13px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.control label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.control select,
.control input { width: 100%; min-height: 34px; padding: 0; color: var(--ink); border: 0; border-radius: 0; outline: 0; background: transparent; }
.controls > button { cursor: pointer; text-align: left; }
.controls > button:hover { color: var(--red); }
.control select:focus-visible,
.control input:focus-visible,
.controls > button:focus-visible,
.slide-button:focus-visible { outline: 1px solid currentColor; outline-offset: -2px; }

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

.chapter-number { margin: 0; color: var(--red); font-size: 11px; text-transform: uppercase; }

.row-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.row-head h2 { margin: 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: 1.1; }
.result-count { margin: 0; color: var(--muted); font-size: 12px; }

.timeline-list { border-top: 1px solid var(--ink); }
.chapter-break {
  display: grid;
  grid-template-columns: 150px minmax(250px, .8fr) minmax(280px, 1.2fr);
  gap: 32px;
  padding: 58px 0 36px;
  border-bottom: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--period-color) 0%, transparent 78%);
}
.chapter-break p { margin: 7px 0 0; color: var(--red); font-size: 10px; text-transform: uppercase; }
.chapter-break h3 { margin: 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(32px, 4vw, 54px); font-weight: 400; line-height: 1.15; }
.chapter-break div { max-width: 600px; color: var(--muted); font-size: 15px; line-height: 1.75; }

.timeline-card {
  display: grid;
  grid-template-columns: 150px minmax(280px, 1fr) minmax(320px, .92fr);
  gap: 32px;
  padding: 42px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--period-color) 0%, transparent 72%);
}
.year { font-family: Georgia, serif; font-size: 28px; line-height: 1.1; }
.year span { display: block; margin-bottom: 18px; color: var(--muted); font-family: Inter, Arial, sans-serif; font-size: 9px; }
.event-main h3 { margin: 0 0 8px; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(30px, 3.2vw, 48px); font-weight: 400; line-height: 1.12; }
.artist-link { text-decoration: none; }
.artist-link:hover { color: var(--red); }
.event-main h3 a:hover { color: var(--red); }
.event-main p { max-width: 660px; margin: 22px 0 0; font-size: 15px; line-height: 1.75; }
.event-main .aliases { margin: 0; color: var(--muted); font-size: 11px; }
.event-meta { padding-top: 2px; }
.event-meta p { margin: 0; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.55; }
.event-meta span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.empty { margin: 0; padding: 56px 0; border-bottom: 1px solid var(--line); }

.footer { padding: 76px max(24px, calc((100vw - 1320px) / 2)); color: #eeeae4; background: #171614; }
.footer > p:not(.eyebrow):not(.footer-mark) { max-width: 780px; color: #b9b4ae; font-size: 13px; line-height: 1.75; }
.footer-mark { margin: 76px 0 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(32px, 5vw, 62px); }

.detail-page {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 126px 0 96px;
}

.detail-hero {
  max-width: 860px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line);
}

.detail-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(54px, 6.4vw, 92px);
  font-weight: 400;
  line-height: 1;
}

.detail-aliases,
.detail-intro { max-width: 760px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 16px;
  padding-top: 28px;
}

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

.detail-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 11px;
  text-transform: uppercase;
}

.detail-meta {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-meta div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.detail-meta div:first-child { padding-top: 0; border-top: 0; }
.detail-meta dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.detail-meta dd { margin: 0; font-size: 14px; line-height: 1.6; }

.detail-body { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  text-decoration: none;
  color: var(--ink);
}
.detail-back:hover { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}

@media (max-width: 820px) {
  .site-header { position: absolute; min-height: 58px; padding: 10px 16px; }
  .brand small, nav a:first-child, nav a:last-child { display: none; }
  .header-actions { gap: 10px; }
  nav { gap: 14px; }
  .language-switch select { min-width: 108px; }
  .hero { height: 620px; min-height: 620px; }
  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 86px;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .hero h1 { font-size: clamp(58px, 17vw, 86px); }
  .hero-prologue { max-width: 600px; }
  .hero-prologue .chapter-number { margin-bottom: 8px; }
  .hero-prologue h2 { margin-bottom: 12px; font-size: 26px; }
  .hero-prologue > p:not(.chapter-number) { margin-top: 6px; font-size: 12px; line-height: 1.55; }
  .hero-slide figcaption { top: 76px; right: 16px; }
  .hero-caption { left: 16px; bottom: 18px; max-width: 150px; }
  .enter-link { right: 16px; bottom: 18px; }
  .hero-carousel-controls { bottom: 56px; }
  .controls { position: relative; display: flex; overflow-x: auto; scrollbar-width: thin; }
  .control { flex: 0 0 180px; }
  .controls > button { flex: 0 0 120px; }
  .control, .controls > button { min-height: 64px; padding: 8px 12px; }
  .artist-preview { display: flex; min-height: 94px; overflow-x: auto; }
  .artist-preview-label { flex: 0 0 122px; }
  .artist-preview > a { flex: 0 0 158px; }
  .artist-preview-label, .artist-preview > a { padding: 13px 14px; }
  .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { width: calc(100% - 32px); padding: 58px 0 82px; }
  .row-head { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .chapter-break { grid-template-columns: 1fr; gap: 18px; padding-top: 72px; }
  .timeline-card { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 32px 0 42px; }
  .event-meta { grid-column: 2; }
  .year { font-size: 21px; }
  .event-main h3 { font-size: 34px; }
  .detail-page { width: calc(100% - 32px); padding: 108px 0 72px; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .site-header { gap: 8px; }
  .brand-name { max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { height: 600px; min-height: 600px; }
  .hero-shade { background: rgba(9, 8, 7, 0.38); }
  .crop-left { object-position: 23% center; }
  .crop-center { object-position: 56% center; }
  .crop-right { object-position: 78% center; }
  .hero h1 { font-size: 52px; }
  html[lang="en"] .hero h1 { font-size: 38px; line-height: 1.04; }
  .hero-prologue h2 { font-size: 23px; }
  .hero-prologue > p:not(.chapter-number) { font-size: 11px; }
  .directory-list { grid-template-columns: 1fr; }
  .timeline-card { grid-template-columns: 1fr; gap: 20px; }
  .year { display: flex; align-items: baseline; gap: 12px; }
  .year span { margin: 0; }
  .event-meta { grid-column: 1; }
  .detail-hero h1 { font-size: 42px; }
}

/* 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));
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: rgba(22, 22, 23, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand { gap: 9px; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.brand small { font-size: 9px; font-weight: 500; letter-spacing: 0.02em; }
nav { gap: 26px; font-size: 12px; }
.header-actions { gap: 26px; }

.language-switch select {
  height: 26px;
  min-width: 112px;
  border-radius: 6px;
  font-size: 10px;
}

.hero {
  min-height: 360px;
  height: 360px;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .18) 68%, rgba(0, 0, 0, .25));
}

.hero-copy {
  left: max(24px, calc((100vw - 1120px) / 2));
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 54px;
  grid-template-columns: minmax(320px, .92fr) minmax(390px, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
}

.home-channel #timeline { display: none; }
.timeline-channel .hero,
.timeline-channel .period-legend,
.timeline-channel .artist-preview,
.timeline-channel .artist-directory { display: none; }
.timeline-channel main { padding-top: 48px; }
.timeline-channel .controls { top: 48px; }
.timeline-channel #timeline { padding-top: 54px; }

.eyebrow,
.chapter-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1,
.hero-prologue h2,
.artist-preview-label h2,
.row-head h2,
.chapter-break h3,
.event-main h3,
.footer-mark,
.detail-hero h1 {
  font-family: inherit;
  letter-spacing: -0.035em;
}

.hero h1 {
  font-size: clamp(54px, 6.5vw, 92px);
  font-weight: 700;
  line-height: .98;
}

.hero-prologue h2 {
  margin-bottom: 13px;
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 600;
  line-height: 1.18;
}

.hero-prologue > p:not(.chapter-number) {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.hero-caption,
.enter-link { bottom: 19px; }
.hero-caption { font-size: 10px; }
.enter-link { color: #2997ff; font-size: 13px; font-weight: 500; }

.controls {
  grid-template-columns: minmax(150px, .7fr) minmax(150px, .7fr) minmax(220px, 1.25fr) minmax(150px, .7fr) 110px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.control,
.controls > button {
  min-height: 62px;
  padding: 9px 16px;
}

.control label { margin-bottom: 0; font-weight: 600; }
.control select,
.control input { min-height: 30px; font-size: 13px; }
.controls > button { color: var(--red); font-size: 13px; font-weight: 500; }

.artist-preview {
  grid-template-columns: 220px repeat(5, minmax(140px, 1fr));
  min-height: 92px;
  background: var(--surface);
}

.artist-preview-label,
.artist-preview > a { padding: 13px 16px; }
.artist-preview-label h2 { white-space: nowrap; font-size: 21px; font-weight: 600; }
.artist-preview > a {
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, opacity .18s ease;
}
.artist-preview > a.is-updating { opacity: .25; }

.section.artist-directory { padding-top: 22px; }
.artist-directory .row-head { justify-content: flex-end; margin-bottom: 12px; }
.section { width: min(1120px, calc(100% - 48px)); padding: 62px 0 86px; }
.row-head { margin-bottom: 30px; }
.row-head h2 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 700; line-height: 1.05; }

.initial-bar { margin-bottom: 18px; padding-bottom: 8px; row-gap: 8px; }
.initial-chip {
  min-width: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 500;
}

.initial-chip.is-active { background: var(--ink); }
.directory-list { gap: 12px; }
.directory-card {
  padding: 14px 15px;
  border: 0;
  border-radius: 14px;
  background: var(--period-color, var(--surface));
  transition: transform .2s ease, background-color .2s ease;
}
.directory-card:hover {
  color: var(--period-accent, var(--red));
  background: var(--period-color, #f0f0f2);
  filter: brightness(.97);
  transform: translateY(-1px);
}
.directory-card strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.timeline-list { border-top-color: var(--ink); }
.chapter-break {
  grid-template-columns: 130px minmax(240px, .8fr) minmax(280px, 1.2fr);
  gap: 28px;
  padding: 42px 0 28px;
}
.chapter-break h3 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.08; }
.chapter-break div { font-size: 14px; line-height: 1.58; }

.timeline-card {
  grid-template-columns: 130px minmax(280px, 1fr) minmax(300px, .88fr);
  gap: 28px;
  padding: 30px 0 38px;
}
.year { font-family: inherit; font-size: 25px; font-weight: 600; letter-spacing: -0.025em; }
.year span { font-family: inherit; font-weight: 600; }
.event-main h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.08; }
.event-main p { margin-top: 15px; font-size: 14px; line-height: 1.6; }
.event-meta p { padding: 10px 0; line-height: 1.45; }
.event-meta span { font-weight: 600; }

.footer {
  padding: 58px max(24px, calc((100vw - 1120px) / 2));
  background: #f5f5f7;
  color: var(--ink);
}
.footer > p:not(.eyebrow):not(.footer-mark) { color: var(--muted); line-height: 1.55; }
.footer-mark { margin-top: 44px; font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; }

.detail-page { width: min(1120px, calc(100% - 48px)); padding-top: 104px; }
.detail-hero h1 { font-weight: 700; }
.detail-panel { border: 0; border-radius: 16px; background: var(--surface); }

@media (max-width: 820px) {
  .site-header { min-height: 48px; padding: 8px 16px; }
  .brand small { display: none; }
  .brand-mark { flex-basis: 20px; width: 20px; height: 20px; }
  .hero { height: 360px; min-height: 360px; }
  .hero-copy {
    bottom: 54px;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: end;
  }
  .hero h1 { font-size: clamp(44px, 10vw, 64px); }
  .hero-prologue h2 { font-size: 24px; }
  .hero-prologue > p:not(.chapter-number) { display: none; }
  .section { padding: 48px 0 68px; }
  .section.artist-directory { padding-top: 16px; }
  .period-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .period-legend-label { grid-column: 1 / -1; min-height: 62px; }
  .period-key { min-height: 76px; }
  .artist-preview-label { flex: 0 0 210px; }
  .chapter-break { padding-top: 50px; }
}

@media (max-width: 460px) {
  nav { display: flex; }
  nav a:first-child,
  nav a:last-child { display: none; }
  .hero { height: 342px; min-height: 342px; }
  .hero-copy { grid-template-columns: .75fr 1.25fr; gap: 14px; }
  .hero h1 { font-size: 40px; }
  .hero-prologue h2 { font-size: 18px; }
  .row-head h2 { font-size: 36px; }
  .directory-card { border-radius: 12px; }
  .event-main h3 { font-size: 30px; }
}

/* 紧凑语言入口：保留原生 select 的键盘与读屏能力，以机械地球图标呈现。 */
.language-switch {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 30px;
  border-left: 0;
}

.language-switch::before {
  content: "";
  position: absolute;
  inset: 6px 7px;
  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 12px;
  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 currentColor;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  html,
  body { max-width: 100%; overflow-x: hidden; }
  .site-header { gap: 10px; }
  .brand-name { max-width: none; }
  .header-actions { gap: 14px; }
}

.directory-card.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
  );
}
