@font-face {
  font-family: "Minimal Zhi Mang Xing";
  src: url("/static/0874734d268a7a33-ZhiMangXing-Evaluation.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Minimal Satisfy";
  src: url("/static/6c01e1b5171927f0-Satisfy-Evaluation.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Minimal LXGW WenKai";
  src: url("/static/fd6f6ca189608460-LXGWWenKai-Evaluation.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Minimal Alegreya";
  src: url("/static/d723a888628ac647-Alegreya-Evaluation.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #f3f3ed;
  --ink: #191a17;
  --muted: #696b64;
  --rule: rgba(25, 26, 23, 0.2);
  --display-zh: "Minimal Zhi Mang Xing", "STKaiti", cursive;
  --display-en: "Minimal Satisfy", "Apple Chancery", cursive;
  --body-zh: "Minimal LXGW WenKai", "Kaiti SC", serif;
  --body-en: "Minimal Alegreya", Georgia, serif;
  --site-width: 1080px;
  --reading-width: 700px;
  --page-pad: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--paper); }
body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body-zh);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--body-en); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
::selection { background-color: var(--ink); color: var(--paper); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.55rem 0.75rem;
  transform: translateY(-180%);
  background-color: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2 * var(--page-pad)), var(--site-width));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 2rem 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.site-name {
  font-family: var(--display-en);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}
.language-switch {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.language-switch span:first-child { color: var(--ink); }

.font-status {
  width: min(calc(100% - 2 * var(--page-pad)), var(--site-width));
  margin: 0 auto;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}
.font-status[hidden] { display: none; }

.view { display: none; min-height: calc(100svh - 10rem); }
.view-home { display: block; }
.view:target { display: block; }
body:has(.view:target:not(#home)) .view-home { display: none; }

.home-intro { padding: clamp(2.8rem, 6vw, 4.8rem) 0 clamp(3rem, 6vw, 4.6rem); }
.kicker {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}
.home-intro h1 {
  max-width: 44rem;
  margin: 0;
  font-family: var(--body-zh);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 400;
  line-height: 1.55;
}
.home-intro h1 .intro-clause { white-space: nowrap; }
html[lang="en"] .home-intro h1 { font-family: var(--body-en); line-height: 1.25; }

.identity-gallery {
  position: relative;
  left: 50%;
  width: min(116%, 1240px);
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}
.identity-figure {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z, 1);
  width: var(--w);
  margin: 0;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transform-origin: center;
}
.identity-figure img { display: block; width: 100%; height: auto; }
.identity-ai { --x: 12%; --y: 63%; --w: 26%; --r: -4deg; --z: 4; }
.identity-football { --x: 30%; --y: 29%; --w: 13%; --r: 5deg; --z: 6; }
.identity-kop { --x: 43%; --y: 67%; --w: 18%; --r: -2deg; --z: 3; }
.identity-student { --x: 62%; --y: 34%; --w: 25%; --r: 3deg; --z: 4; }
.identity-tennis { --x: 80%; --y: 70%; --w: 13%; --r: -5deg; --z: 6; }
.identity-rapper { --x: 92%; --y: 35%; --w: 24%; --r: 4deg; --z: 3; }

.directory { border-top: 1px solid var(--rule); }
.directory-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: clamp(7.5rem, 13vw, 10rem);
  border-bottom: 1px solid var(--rule);
  transition: border-color 140ms ease;
}
.directory-row strong {
  font-family: var(--display-zh);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.8;
  transition: transform 140ms ease;
}
html[lang="en"] .directory-row strong {
  font-family: var(--display-en);
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 1;
}
.directory-row span { color: var(--muted); font-size: clamp(0.95rem, 1.4vw, 1.1rem); }
.directory-row i { font-style: normal; font-size: 1.2rem; transition: transform 140ms ease; }
.directory-row:hover strong,
.directory-row:focus-visible strong { transform: translateX(0.4rem); }
.directory-row:hover i,
.directory-row:focus-visible i { transform: translateX(0.3rem); }
.directory-row:hover,
.directory-row:focus-visible { border-color: var(--ink); }

.view-magazine { padding-block: clamp(4rem, 9vw, 8rem); }
.back-link { display: inline-block; margin-bottom: clamp(4rem, 9vw, 7rem); color: var(--muted); }
.view-heading { width: min(100%, var(--reading-width)); margin-inline: auto; padding-bottom: 3rem; border-bottom: 1px solid var(--rule); }
.view-heading h1 {
  margin: 0;
  font-family: var(--display-zh);
  font-size: clamp(5.5rem, 12vw, 10rem);
  font-weight: 400;
  line-height: 0.85;
}
html[lang="en"] .view-heading h1 { font-family: var(--display-en); font-size: clamp(4.8rem, 10vw, 8rem); line-height: 1; }
.view-heading > p:last-child { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.reading-column { width: min(100%, var(--reading-width)); margin-inline: auto; }
.prose { padding-block: 3.5rem; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.9; }
.prose > p { margin: 0 0 1.5rem; }
.facts { margin: 4rem 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 7rem 1fr; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.entry { position: relative; padding: 2.5rem 0; border-bottom: 1px solid var(--rule); }
.entry time, .sample, .entry-meta { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; }
.entry-meta { display: flex; justify-content: space-between; gap: 1rem; }
.entry h2 { margin: 0.8rem 0 0.65rem; font: 400 clamp(1.6rem, 3vw, 2.35rem)/1.15 var(--body-zh); }
html[lang="en"] .entry h2 { font-family: var(--body-en); }
.entry p { max-width: 36rem; margin: 0 0 1rem; color: var(--muted); line-height: 1.65; }
.photo-list figure { margin: 0; padding: 3.5rem 0; border-bottom: 1px solid var(--rule); }
.photo-placeholder { width: 100%; background-color: #e5e4dd; }
.photo-placeholder--landscape { aspect-ratio: 3 / 2; }
.photo-placeholder--portrait { width: min(72%, 30rem); aspect-ratio: 4 / 5; margin-left: auto; }
.photo-list figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; color: var(--muted); font-size: 0.8rem; }
.photo-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem 2.2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
}
.site-footer p { margin: 0; }

@media (max-width: 720px) {
  .identity-gallery {
    left: auto;
    width: 100%;
    height: clamp(360px, 50svh, 440px);
    aspect-ratio: auto;
    transform: none;
  }
  .identity-ai { --x: 50%; --y: 47%; --w: 37%; --r: -3deg; --z: 5; }
  .identity-football { --x: 78%; --y: 18%; --w: 18%; --r: 6deg; --z: 6; }
  .identity-kop { --x: 80%; --y: 53%; --w: 24%; --r: -2deg; --z: 3; }
  .identity-student { --x: 22%; --y: 23%; --w: 27%; --r: 3deg; --z: 4; }
  .identity-tennis { --x: 22%; --y: 75%; --w: 18%; --r: -6deg; --z: 6; }
  .identity-rapper { --x: 67%; --y: 79%; --w: 29%; --r: 4deg; --z: 3; }
}

@media (max-width: 640px) {
  .site-header { padding-block: 1.4rem 1rem; }
  .home-intro { padding-block: 2.4rem 3.2rem; }
  .home-intro h1 .intro-clause { display: block; }
  .directory-row { grid-template-columns: 1fr auto; gap: 0.8rem 1rem; padding: 1.6rem 0; }
  .directory-row strong { grid-column: 1; font-size: clamp(4.2rem, 23vw, 6.3rem); }
  html[lang="en"] .directory-row strong { font-size: clamp(2.5rem, 12.75vw, 4rem); }
  .directory-row span { grid-column: 1; grid-row: 2; }
  .directory-row i { grid-column: 2; grid-row: 1 / 3; }
  .view-magazine { padding-block: 3.5rem; }
  .back-link { margin-bottom: 4rem; }
  .view-heading h1 { font-size: clamp(5rem, 28vw, 7.4rem); }
  html[lang="en"] .view-heading h1 { font-size: clamp(3rem, 15.5vw, 4.8rem); }
  .facts div { grid-template-columns: 5rem 1fr; }
  .photo-placeholder--portrait { width: 84%; }
  .site-footer { align-items: flex-end; font-size: 0.64rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@font-face { font-family: "Hermes WenKai"; src: url("/static/4b8365b7d9d90ec9-WenKai.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Hermes Alegreya"; src: url("/static/6c13b0f79b269212-Alegreya.woff2") format("woff2"); font-display: swap; }
.hermes-entry { font-family: "Hermes WenKai", var(--body-zh); }
.hermes-entry h2 { font-family: "Hermes WenKai", var(--body-zh); }
html[lang="en"] .hermes-entry, html[lang="en"] .hermes-entry h2 { font-family: "Hermes Alegreya", var(--body-en); }

:root { --body-zh: "Hermes WenKai", "Kaiti SC", serif; --body-en: "Hermes Alegreya", Georgia, serif; }
html[lang="zh-CN"] [data-language="en"], html[lang="en"] [data-language="zh"], html[lang="zh-CN"] .ui-en, html[lang="en"] .ui-zh { display: none; }
.header-links { display: flex; align-items: center; gap: 2rem; font-size: .85rem; }
.header-links > a { color: var(--muted); }
#language { min-height: 44px; }
.article-heading, .article-toc, .article-body { max-width: var(--reading-width); margin-inline: auto; }
.article-heading { padding-bottom:1.5rem; padding-top: clamp(4rem, 8vw, 7rem); }
.article-heading h1 { margin: 1.5rem 0; font: 400 clamp(2.05rem,4.3vw,3.55rem)/1.3 var(--body-zh); letter-spacing: -.035em; text-wrap: balance; }
html[lang="en"] .article-heading h1 { font-family: var(--body-en); line-height: 1.12; }
.article-toc { border-block: 1px solid var(--rule); padding:1.5rem 0; }
.article-toc .kicker { margin-bottom:1rem; }
.article-toc > div { display:grid; grid-template-columns:1fr 1fr; gap:.85rem 1.5rem; }
.article-toc a { font-size: .92rem; line-height: 1.5; }
.article-toc a span { display:inline-block; width:2rem; color:var(--muted); font-size:.7rem; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
.article-body { padding-block: 1.5rem 4rem; font-size:clamp(1.04rem,1.55vw,1.17rem); line-height:1.95; overflow-wrap:break-word; }
.article-body > h2 { font-size:clamp(1.6rem,2.65vw,2rem); font-weight:400; line-height:1.45; margin:4rem 0 1.7rem; }
.article-body > h3 { font-size:1.35rem; line-height:1.5; font-weight:400; margin:2.8rem 0 1.15rem; }
.article-body > h4 { font-size:1.1rem; line-height:1.65; margin:2.1rem 0 1rem; }
.article-body > p { margin:0 0 1.4rem; }
.article-body strong { font-weight:700; }
.article-body ul { padding-left:1.35rem; }
.article-body li { padding-left:.15rem; margin:.5rem 0; }
.article-body blockquote { border-left:2px solid var(--ink); margin:2rem 0; padding:.2rem 0 .2rem 1.5rem; }
.article-body blockquote p { margin:.4rem 0; }
.article-body hr { border:0; border-top:1px solid var(--rule); margin:3.5rem 0 0; }
.article-body code { font-family:ui-monospace, SFMono-Regular, Consolas, var(--body-zh); font-size:.82em; overflow-wrap:anywhere; }
.article-body table { border-collapse:collapse; width:100%; font-size:.92em; line-height:1.7; margin:2rem 0; }
.article-body td, .article-body th { border-bottom:1px solid var(--rule); padding:.8rem .9rem; vertical-align:top; text-align:left; }
.article-body th { border-top:1px solid var(--ink); }
.article-body td:first-child, .article-body th:first-child { width:5rem; padding-left:0; }
html[lang="en"] .article-body td:first-child, html[lang="en"] .article-body th:first-child { width:7rem; }
.article-body td p, .article-body th p { margin:0; }
[id] { scroll-margin-top:2rem; }
/* A typographic diagram: real text, responsive groups, explicit directional links. */
.mechanism { width:min(1080px,calc(100vw - 2 * var(--page-pad))); position:relative; left:50%; transform:translateX(-50%); margin:2rem 0 3rem; padding:clamp(1.1rem,3vw,2.5rem); border:1px solid var(--rule); font-size:.88rem; line-height:1.7; }
.mechanism h3, .mechanism h4, .mechanism p { margin:0; }
.mechanism h4 { font-size:1.12rem; font-weight:400; line-height:1.45; margin-bottom:.7rem; }
.mechanism p { overflow-wrap:anywhere; }
.diagram-heading { padding-bottom:1.75rem; border-bottom:1px solid var(--rule); margin-bottom:2rem; }
.diagram-heading h3 { font-weight:400; font-size:clamp(1.45rem,2.5vw,1.85rem); line-height:1.4; margin:.6rem 0; }
.diagram-heading > p:last-child { color:var(--muted); max-width:45rem; }
.mechanism .diagram-label { color:var(--muted); letter-spacing:.09em; font-size:.67rem; margin-bottom:.9rem; }
.task-node { padding:1.3rem; border:1px solid var(--ink); max-width:34rem; margin-inline:auto; text-align:center; }
.flow-arrow { height:2.5rem; display:grid; place-items:center; color:var(--muted); font-size:1.3rem; }
.path-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; }
.path-node { position:relative; border:1px solid var(--rule); padding:1.15rem; }
.path-type { display:block; color:var(--muted); font-size:.7rem; margin-bottom:.7rem; }
.branch-join { height:1rem; margin-inline:12.5%; border:1px solid var(--rule); border-top:0; }
.write-stage, .library-stage { border:1px solid var(--rule); padding:1.4rem; }
.write-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.2rem; list-style:none; padding:1.5rem 0 0; margin:1.2rem 0 0; border-top:1px solid var(--rule); counter-reset:write; }
.mechanism .write-steps li { counter-increment:write; margin:0; padding:0; }
.write-steps li::before { content:counter(write,decimal-leading-zero); display:block; color:var(--muted); font-size:.67rem; margin-bottom:.4rem; }
.library-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:1.5rem; border-top:1px solid var(--rule); padding-top:1.4rem; }
.library-layer { padding:0 1.2rem; border-left:1px solid var(--rule); }
.library-layer:first-child { padding-left:0; border:0; }
.library-layer:last-child { padding-right:0; }
.library-layer span { color:var(--muted); font-size:.75rem; display:block; margin-bottom:.8rem; }
.loop-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.reuse-stage, .govern-stage { border:1px dashed var(--rule); padding:1.4rem; display:flex; flex-direction:column; }
.mechanism .loop-steps, .mechanism .govern-stage ul { padding-left:1.2rem; margin:0 0 1.2rem; }
.mechanism .loop-steps li, .mechanism .govern-stage li { margin:.6rem 0; }
.loop-return { margin-top:auto; border-top:1px dashed var(--rule); padding-top:1rem; color:var(--muted); font-size:.8rem; }
@media (max-width:900px) {
 .path-grid, .write-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .branch-join { margin-inline:25%; }
}
@media (max-width:600px) {
 .header-links { gap:1rem; font-size:.75rem; }
 .site-name { font-size:1.6rem; }
 .article-toc > div { grid-template-columns:1fr; gap:.75rem; }
 .article-heading { padding-top:3.5rem; }
 .article-heading h1 { font-size:2rem; letter-spacing:-.02em; }
 .article-body > h2 { margin-top:3rem; }
 .path-grid, .write-steps, .library-grid, .loop-grid { grid-template-columns:1fr; }
 .path-node { padding:1rem; }
 .branch-join { margin-inline:50%; border-right:0; }
 .write-stage, .library-stage, .reuse-stage, .govern-stage { padding:1rem; }
 .write-steps { gap:.8rem; }
 .write-steps li { display:grid; grid-template-columns:1.5rem 1fr; gap:.5rem; }
 .write-steps li::before { margin-top:.25rem; }
 .library-layer { border:0; border-top:1px solid var(--rule); padding:1rem 0; }
 .library-layer:first-child { padding-top:0; }
 .library-layer:last-child { padding-bottom:0; }
 .article-body td, .article-body th { padding:.7rem .5rem; }
 html[lang="en"] .article-body td:first-child, html[lang="en"] .article-body th:first-child { width:5.2rem; }
}
@media print {
 .header-links, .article-toc, .site-footer, .skip-link { display:none; }
 .mechanism { width:100%; left:auto; transform:none; }
 .article-heading { padding-top:1rem; }
 .article-body { font-size:11pt; }
 .path-grid, .write-steps { grid-template-columns:1fr 1fr; }
 .task-node, .path-node, .library-layer { break-inside:avoid; }
}

@media (min-width:901px) { .path-node::after { content:""; position:absolute; top:100%; left:50%; height:1rem; border-left:1px solid var(--rule); } }

@media (min-width: 768px) { html[lang="zh-CN"] .article-heading h1 { font-size:clamp(2rem,3.3vw,2.75rem); white-space:nowrap; text-wrap:nowrap; } }
