/* Animamix — official site styles
   Gray-white UI; brand red #d63c2f is reserved for hairline accents. */
:root {
  --paper: #f3f3f3;
  --paper-2: #ebebeb;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --mute: #737373;
  --line: #e2e2e2;
  --line-strong: #c8c8c8;
  --accent: #d63c2f;
  --accent-ink: #8c1f16;
  --white: #fafafa;
  --max: 1120px;
  --gutter: 24px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 20; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--white) 88%, var(--paper));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent);
}
.site-header .bar {
  display: flex; align-items: center;
  gap: 16px 20px; min-height: 64px;
}
.wordmark {
  display: flex; align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
}
.wordmark picture, .wordmark img {
  display: block;
}
.wordmark img {
  height: auto;
  width: auto;
  max-height: 28px;
  max-width: 100%;
}
.header-end {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 10px 14px;
  margin-left: auto;
  flex: 0 0 auto;
}
.nav-toggle {
  display: none;
}
.nav { display: flex; flex-wrap: nowrap; gap: 4px 18px; }
@media (min-width: 961px) {
  .site-header .bar { min-height: 96px; }
  .wordmark { order: 1; margin-right: 0; }
  .wordmark img { height: 52px; max-height: none; max-width: 380px; }
  .nav { order: 2; margin-left: auto; }
  .header-end { order: 3; margin-left: 0; }
}
.footer-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}
.footer-logo img {
  display: block;
  height: 24px;
  width: auto;
}
.nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 14px; letter-spacing: 0.06em;
}
.nav a:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--accent); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--accent); }
.lang-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  white-space: nowrap;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mute);
  cursor: pointer;
  line-height: 1.2;
}
.lang-switch button:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--accent); }
.lang-switch .lang-sep {
  color: var(--line-strong);
  font-size: 12px;
  user-select: none;
}
html:not([data-lang="en"]) .lang-switch [data-set-lang="zh"],
html[data-lang="en"] .lang-switch [data-set-lang="en"] {
  color: var(--ink);
  font-weight: 600;
}
html[data-lang="en"] .i18n-zh { display: none; }
html:not([data-lang="en"]) .i18n-en { display: none; }
.amx-doc-title { display: none !important; }
.iv-lang-note {
  font-size: 14px;
  color: var(--mute);
  border-left: 2px solid var(--line-strong);
  padding: 2px 0 2px 12px;
  margin: 0 0 1.2em;
}
.hero { padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.hero .kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0 0 20px;
}
.hero .subbrands {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 28px;
}
.hero .lead { max-width: 40em; font-size: 18px; color: var(--ink-soft); }
.hero .lead p:last-child { margin-bottom: 0; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 40px; margin-bottom: 20px;
}
.section-head .label {
  flex: 1 0 100%;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.section-head h2 {
  flex: 0 0 auto;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.section-head .desc { flex: 1 1 280px; color: var(--ink-soft); max-width: 42em; margin: 0; font-size: 15px; }
.year-rail { display: flex; flex-direction: column; }
.year-block {
  display: block;
  border-top: 1px solid var(--line);
  padding: 0;
}
.year-block .year {
  font-family: var(--serif);
  font-size: 28px; line-height: 1.1;
  color: var(--ink);
}
.year-block.empty .year { color: var(--mute); }
.year-block.empty { opacity: 1; }
.year-note { font-size: 13px; color: var(--mute); margin: 4px 0 0; }
.event-card {
  display: grid; grid-template-columns: 1fr;
  gap: 12px 20px;
  padding: 0 0 18px;
  text-decoration: none; color: inherit;
}
.event-card + .event-card { border-top: 1px dashed var(--line); padding-top: 18px; }
@media (min-width: 720px) {
  .event-card.has-img { grid-template-columns: 200px 1fr; }
}
.event-card img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  background: var(--paper-2);
}
.event-card .kind {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}
.event-card.brand-class .kind { color: var(--mute); }
.event-card h3 { font-size: 20px; margin: 0 0 4px; }
.event-card .en { font-size: 13px; color: var(--mute); font-style: italic; margin-bottom: 8px; }
.event-card .meta { font-size: 13px; color: var(--ink-soft); margin: 0; }
.event-card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.pool-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute); margin: 8px 0 16px;
  padding-top: 8px; border-top: 1px solid var(--line);
}
.people-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .people-grid { grid-template-columns: repeat(5, 1fr); } }
.person {
  display: block; color: inherit; text-decoration: none;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 100%;
}
.person img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top;
  background: var(--paper-2);
}
.person .pad { padding: 14px 14px 18px; }
.person .n {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--mute);
}
.person h3 { font-size: 18px; margin: 4px 0 2px; }
.person .en { font-size: 12px; color: var(--mute); margin-bottom: 8px; }
.person .role { font-size: 12px; color: var(--ink-soft); margin: 0; }
.person:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.early-note {
  margin-top: 28px; padding: 18px 20px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--ink-soft);
}
.early-note h3 { font-size: 16px; }
.early-note ul { margin: 0; padding-left: 1.2em; }
.page-hero { padding: 36px 0 24px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 6vw, 56px); letter-spacing: 0.04em; }
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.article { padding: 40px 0 72px; }
.article-grid { display: grid; gap: 40px; }
@media (min-width: 880px) { .article-grid { grid-template-columns: 1fr 280px; } }
.prose { max-width: 42em; }
.prose p, .prose li { font-size: 16px; color: var(--ink-soft); }
.prose h2 { margin-top: 1.6em; font-size: 22px; }
.prose blockquote {
  margin: 1.4em 0; padding: 0 0 0 18px;
  border-left: 1px solid var(--accent);
  color: var(--ink);
  font-family: var(--serif); font-size: 18px;
}
.prose .src { font-size: 13px; color: var(--mute); }
.cover { margin: 0 0 28px; }
.cover img { width: 100%; max-height: 480px; object-fit: cover; }
.cover figcaption, .gallery figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px; margin: 24px 0;
}
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.side { font-size: 13px; color: var(--ink-soft); }
.side h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); color: var(--mute); }
.side dl { margin: 0 0 24px; }
.side dt { color: var(--mute); margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; }
.side dd { margin: 0; }
.side ul { margin: 0; padding-left: 1.1em; }
.interview-title .en { font-size: 16px; color: var(--mute); font-weight: 400; font-style: italic; margin-top: 8px; }
.portrait-wide { margin: 0 0 32px; }
.portrait-wide img { width: 100%; max-height: 520px; object-fit: cover; object-position: center top; }
.iv h2 {
  font-size: 20px; margin-top: 2em;
  padding-top: 1em; border-top: 1px solid var(--line);
}
.iv h2 .zh { display: block; }
.iv h2 .en { display: block; font-size: 14px; font-weight: 400; font-style: italic; color: var(--mute); margin-top: 4px; }
.iv .profile, .iv .note {
  background: var(--white); border: 1px solid var(--line);
  padding: 16px 18px; margin: 1.4em 0; font-size: 15px;
}
.iv .note { border-left: 1px solid var(--accent); }
.gap-box {
  background: var(--white); border: 1px solid var(--line);
  padding: 16px 18px; margin: 1em 0 1.4em; font-size: 14px; color: var(--ink-soft);
}
.gap-box h3 { font-size: 15px; margin-bottom: 8px; }
.site-footer { padding: 36px 0 48px; color: var(--mute); font-size: 13px; border-top: 1px solid var(--accent); background: var(--white); }
.site-footer .grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .site-footer .grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer a { color: var(--ink-soft); }
.site-footer .brand, .site-footer .zh { font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: 0.04em; }
.pub { font-size: 11px; letter-spacing: 0.04em; color: var(--mute); }
table.plain { width: 100%; border-collapse: collapse; font-size: 14px; }
table.plain th, table.plain td {
  text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); padding: 10px 8px 10px 0;
}
table.plain th { font-size: 12px; color: var(--mute); font-weight: 600; }
@media (max-width: 640px) {
  .year-block { display: block; }
  .hero { padding-top: 36px; }
}

.hero-feature {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 1px solid var(--accent);
}
@media (min-width: 880px) {
  .hero-feature { grid-template-columns: 1.4fr 1fr; }
}
.hero-feature .cover { display: block; background: var(--paper-2); }
.hero-feature .cover img { width: 100%; height: auto; display: block; }
.hero-feature .copy {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-feature .label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 10px;
}
.hero-feature h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 0 0 10px;
}
.hero-feature .tagline { font-size: 16px; color: var(--ink-soft); margin: 0 0 12px; }
.hero-feature .meta { font-size: 13px; color: var(--mute); margin: 0; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px;
  font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}
.btn-solid { background: transparent; color: var(--ink); border-color: var(--accent); }
.btn-solid:hover { background: var(--white); color: var(--ink); border-color: var(--accent); }
.btn-ghost { border-color: transparent; border-bottom-color: var(--accent); color: var(--ink); background: transparent; padding-left: 2px; padding-right: 2px; }
.btn-ghost:hover { border-color: transparent; border-bottom-color: var(--accent); color: var(--ink); }
.page-hero .tagline { font-size: 18px; color: var(--ink-soft); }

/* White paper landing: content-spine guide */
.wp-top { padding: 36px 0 32px; }
.wp-top h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  letter-spacing: 0.02em;
  max-width: 18em;
}
.wp-top-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
@media (min-width: 840px) {
  .wp-top-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; }
}
.wp-cover { margin: 0; }
.wp-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}
.wp-cover figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; }
.wp-lead {
  margin: 0 0 18px;
  padding: 0 0 0 16px;
  border: 0;
  border-left: 1px solid var(--accent);
  background: none;
}
.wp-lead .q-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 600;
}
.wp-lead .q-body {
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.wp-file-meta { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; }
.wp-top .feature-actions { margin-top: 16px; }
.wp-body { padding: 8px 0 80px; }
.wp-measure { max-width: 820px; }
.wp-body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 2.4em 0 0.7em;
}
.wp-body .lead-line {
  font-size: 17px;
  color: var(--ink);
}
.wp-body .quote p,
.wp-body p { color: var(--ink-soft); }
.wp-kinds {
  display: grid;
  gap: 12px;
  margin: 1.1em 0 1.2em;
}
@media (min-width: 700px) {
  .wp-kinds { grid-template-columns: 1fr 1fr 1fr; }
}
.wp-kinds div, .wp-audience div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.wp-kinds .k, .wp-audience .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin: 0 0 6px;
}
.wp-kinds p, .wp-audience p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.wp-audience {
  display: grid;
  gap: 12px;
  margin: 1.1em 0;
}
@media (min-width: 700px) {
  .wp-audience { grid-template-columns: 1fr 1fr; }
}
.wp-bound {
  margin: 2.2em 0 0;
  padding: 22px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--line-strong);
}
.wp-bound h2 { margin: 0 0 0.6em; font-size: 20px; }
.wp-bound p:last-child { margin-bottom: 0; }
.wp-toc {
  display: grid;
  gap: 8px 28px;
  margin: 1.2em 0 2em;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .wp-toc { grid-template-columns: 1fr 1fr; }
}
.wp-toc a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.wp-toc a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.wp-toc .toc-k {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 2px;
}
.wp-part {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.wp-part .part-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
  margin: 0 0 8px;
}
.wp-part h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 12px;
}
.wp-part .part-lead {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 16px;
}
.wp-blurbs {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}
@media (min-width: 700px) {
  .wp-blurbs { grid-template-columns: 1fr 1fr; }
}
.wp-blurbs h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  color: var(--ink);
}
.wp-blurbs p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.chapters, .wp-people ul, .wp-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.chapters li, .wp-people li, .wp-methods li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.chapters li {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 10px;
  align-items: start;
}
.chapters .n {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 13px;
  padding-top: 2px;
}
.chapters .name, .wp-people .name, .wp-methods .name { font-weight: 600; color: var(--ink); }
.chapters .sub, .wp-people .sub, .wp-methods .sub {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 2px;
}
.wp-subh {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 22px 0 8px;
  color: var(--ink);
}
.wp-close {
  margin-top: 40px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.wp-close .close-k {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--ink);
}
.wp-close .close-q {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.45;
  margin: 0 0 22px;
  color: var(--ink);
}
html:not([data-lang="en"]) .en-note { display: none; }
html[data-lang="en"] .en-note { display: block; }
@media (max-width: 640px) {
  .wp-part { padding: 22px 18px 16px; }
  .chapters li { grid-template-columns: 2em 1fr; }
}

/* Interviews index: modest title below a full, typography-free cover */
.iv-index-page { padding-top: 24px; }
.iv-index-page .crumbs { margin-bottom: 18px; }
figure.cover.iv-cover { margin: 0 0 28px; }
figure.cover.iv-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #1a1613;
}
.iv-intro .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin: 0 0 10px;
}
.iv-intro h1 {
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.iv-intro .en {
  font-size: 15px;
  color: var(--mute);
  font-style: italic;
  margin: 0 0 1.2em;
}


/* Footer friendship links */
.site-footer .friends {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.site-footer .friends-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.friend-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  color: inherit;
}
.friend-link:hover { opacity: 0.8; }
.friend-link picture, .friend-link img {
  display: block;
}
.friend-link img {
  height: 21px;
  width: auto;
}


/* Foldable rows — compact default, click to expand */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.fold {
  border-top: 1px solid var(--line);
  background: transparent;
}
.year-rail .fold { border-top: 1px solid var(--line); }
.fold-summary {
  display: flex;
  align-items: baseline;
  gap: 14px 20px;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
  padding: 12px 28px 12px 12px;
  margin: 0;
  border-left: 1px solid var(--accent);
  position: relative;
  color: var(--ink);
}
.fold-summary::-webkit-details-marker { display: none; }
.fold-summary::marker { content: none; font-size: 0; }
.fold-summary:hover { background: color-mix(in srgb, var(--white) 70%, var(--paper)); }
.fold-summary:focus { outline: none; }
.fold-summary:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}
.fold-summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
details.fold[open] > .fold-summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.fold-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  flex: 0 0 auto;
}
.fold-title .year {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  display: inline;
}
.fold.empty .fold-title .year,
.fold.empty .year { color: var(--mute); }
.fold-peek {
  flex: 1 1 200px;
  min-width: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--mute);
  line-height: 1.45;
}
.peek-sep { color: var(--line-strong); }
.fold-body {
  padding: 4px 0 18px 12px;
  border-left: 1px solid var(--accent);
  margin: 0;
}
details.fold[open] > .fold-summary {
  border-left-color: var(--accent);
}
.year-block {
  display: block;
  grid-template-columns: none;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 0;
}
.year-block.empty { opacity: 1; }
.year-block .year-body .event-card,
.year-block .fold-body .event-card { padding-bottom: 14px; }
.lead-fold { margin: 8px 0 0; border-top: 1px solid var(--line); }
.people-fold, .early-fold, .table-fold, .empty-years-fold, .intro-fold, .about-fold, .wp-fold {
  margin: 0;
}
.about-fold + .about-fold,
.wp-fold + .wp-fold { }
.prose .about-fold .fold-title { font-size: 18px; }
.wp-body .wp-fold { margin: 0; }
.wp-body h2:not(.visually-hidden) {
  margin-top: 2em;
}
.wp-part .fold-title .part-kicker,
.fold-title .part-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--mute);
  margin-right: 8px;
}
.wp-part .fold-body .part-kicker,
.wp-part .fold-body > h3 { display: none; }
.wp-part .fold-body {
  padding: 8px 0 22px 12px;
}
.table-fold .fold-body { overflow-x: auto; }
.people-fold .fold-body { padding-top: 10px; }
.hero { padding: 24px 0 32px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(28px, 4.4vw, 44px);
}
.page-hero h1 { font-size: clamp(26px, 4.5vw, 40px); letter-spacing: 0.03em; }

@media (max-width: 640px) {
  .year-block { grid-template-columns: none; gap: 0; }
  .fold-summary { padding-right: 26px; }
  .fold-title, .fold-title .year { font-size: 17px; }
}


/* Mobile / narrow header: logo left, language + menu button right, panel below */
@media (max-width: 960px) {
  .site-header .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .wordmark {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
  }
  .wordmark picture {
    display: block;
    max-width: 100%;
    line-height: 0;
  }
  .wordmark img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }
  .header-end {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    gap: 10px 12px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    appearance: none;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-bottom-color: var(--accent);
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.06em;
    line-height: 1.2;
    cursor: pointer;
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    border-color: var(--accent);
    outline: none;
  }
  .nav-toggle-icon {
    display: block;
    width: 14px;
    height: 10px;
    position: relative;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon {
    box-sizing: border-box;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid var(--ink);
  }
  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon::after { bottom: 0; }
  .nav-toggle-icon {
    border-top: 1px solid var(--ink);
    border-bottom: 0;
    background:
      linear-gradient(var(--ink), var(--ink)) center / 14px 1px no-repeat;
  }
  .site-header.is-nav-open .nav-toggle-icon {
    border-top-color: transparent;
    background: none;
  }
  .site-header.is-nav-open .nav-toggle-icon::before {
    top: 4px;
    transform: rotate(45deg);
  }
  .site-header.is-nav-open .nav-toggle-icon::after {
    bottom: 5px;
    transform: rotate(-45deg);
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin: 8px 0 0;
    padding: 4px 0 6px;
    border-top: 1px solid var(--accent);
  }
  .site-header.is-nav-open .nav {
    display: flex;
  }
  .nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--ink);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover,
  .nav a[aria-current="page"] {
    box-shadow: none;
    color: var(--ink);
    box-shadow: inset 1px 0 0 var(--accent);
    padding-left: 10px;
  }
}
