@charset "UTF-8";

:root {
  --paper: #f7f6f2;
  --paper-raised: #fcfbf8;
  --ink: #222923;
  --muted: #626b60;
  --forest: #2c5841;
  --forest-dark: #214332;
  --sage: #e5eadd;
  --line: #d7dbd0;
  --line-strong: #7b8875;
  --code-bg: #edf0e8;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
::selection { background: #d5e1c9; color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { height: auto; }
figure { margin: 2em 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: -.045em; }
ul, ol { padding-inline-start: 1.4em; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, pre:focus-visible, table:focus-visible { outline: 3px solid var(--forest); outline-offset: 5px; border-radius: 2px; }
[hidden] { display: none !important; }
.container { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 16px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); border-radius: 3px; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 32px; width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--serif); font-size: 29px; font-weight: 600; letter-spacing: -.05em; text-decoration: none; line-height: 1; }
.brand::before { content: ""; width: 15px; height: 15px; background: var(--forest); border-radius: 50% 50% 2px 50%; transform: rotate(-15deg); }
.brand-mark, .brand-dot { display: none; }
.site-footer .brand > span { display: none; }
.brand small { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; position: relative; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 2px; background: var(--forest); }
.site-nav .nav-search { gap: 9px; font-size: 12px; }
.site-nav .search-hint { position: static; font-size: 10px; line-height: 1.7; padding-inline: 5px; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 13px; }

.eyebrow, .section-kicker, .source-label { display: block; margin-bottom: 20px; color: var(--forest); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; margin-bottom: 1px; border-radius: 50%; background: var(--forest); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; min-height: 570px; padding-block: 90px 100px; }
.hero-title { max-width: 650px; margin-bottom: 28px; font-size: clamp(38px, 4.2vw, 61px); line-height: 1.3; font-weight: 550; letter-spacing: -.065em; }
.hero-title em, .hero-title .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero-description { max-width: 500px; margin-bottom: 32px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-footnote { margin-top: 30px; margin-bottom: 0; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .02em; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 16px; padding: 10px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background 150ms, border-color 150ms; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-dark); }
.button-secondary { border-color: var(--line-strong); background: transparent; }
.button-secondary:hover { background: var(--sage); }
.hero-aside { align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; }
.lab-diagram { min-height: 322px; padding: 34px; position: relative; display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 18px; border: 1px solid #cbd3c1; border-radius: 50% 50% 5px 5px; background-color: #edf0e5; background-image: radial-gradient(#aeb9a2 0.65px, transparent 0.65px); background-size: 16px 16px; }
.lab-diagram::before { content: "FIELD NOTES / 01"; position: absolute; top: 35px; left: 0; right: 0; text-align: center; color: var(--forest); font-family: var(--mono); font-size: 10px; letter-spacing: .13em; }
.lab-diagram::after { content: "INPUT → THINK → BUILD"; position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #58664f; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.diagram-node { display: inline-flex; align-items: center; justify-content: center; min-height: 66px; padding: 15px 18px; border: 1px solid #a6b49a; border-radius: 4px; background: #f9faf5; box-shadow: 3px 3px 0 #d5dec9; color: var(--forest-dark); font-family: var(--mono); font-size: 12px; }
.diagram-node:nth-child(2) { transform: translateY(18px); }
.diagram-node:nth-child(3) { transform: translateY(-9px); }
.diagram-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .03em; }

.lab-diagram:has(.diagram-coordinate)::before, .lab-diagram:has(.diagram-coordinate)::after { content: none; }
.diagram-coordinate { position: absolute; top: 34px; left: 0; right: 0; text-align: center; color: var(--forest); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.diagram-orbit { position: absolute; width: 220px; height: 130px; left: calc(50% - 110px); top: calc(50% - 65px); border: 1px solid #a4b497; border-radius: 50%; transform: rotate(-34deg); }
.orbit-two { transform: rotate(34deg); }
.lab-diagram .node-model, .lab-diagram .node-system, .lab-diagram .node-product { position: absolute; z-index: 1; min-height: 43px; padding: 9px 16px; font-size: 11px; }
.lab-diagram .node-model { left: 13%; top: 33%; transform: rotate(-4deg); }
.lab-diagram .node-system { right: 10%; top: 41%; transform: rotate(4deg); }
.lab-diagram .node-product { left: 30%; bottom: 20%; transform: rotate(-3deg); }
.diagram-center { position: absolute; left: calc(50% - 24px); top: calc(50% - 28px); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #a9b99b; border-radius: 50%; background: var(--forest); color: #f0f3e6; font-family: var(--serif); font-size: 35px; line-height: 1; }
.diagram-center span { position: absolute; top: -13px; right: -13px; color: var(--forest); font-family: var(--mono); font-size: 17px; }
.diagram-axis { position: absolute; bottom: 26px; left: 0; right: 0; color: #58664f; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.section { padding-block: 70px 20px; }
.section + .section { padding-top: 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-kicker { margin-bottom: 10px; }
.section-title { margin-bottom: 0; font-size: 31px; font-weight: 550; }
.section-description { max-width: 650px; margin-top: 16px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--forest); font-size: 13px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 31px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper-raised); transition: border-color 150ms, background 150ms; }
.project-card:hover { border-color: #a5b59b; background: #fafbf6; }
.project-card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; text-decoration: none; }
.project-card-link:hover .project-title { color: var(--forest); }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 39px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; }
.project-number { color: var(--forest); font-family: var(--mono); font-size: 12px; }
.project-title { margin-bottom: 14px; font-size: 25px; font-weight: 550; letter-spacing: -.035em; }
.project-title a { text-decoration: none; }
.project-title a::after { content: "↗"; display: inline-block; margin-left: 12px; color: var(--forest); font-size: 20px; font-weight: 400; }
.project-description { max-width: 510px; margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 2px; background: var(--sage); color: #45583c; font-family: var(--mono); font-size: 10px; line-height: 1.6; text-decoration: none; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-card { position: relative; min-width: 0; padding: 29px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background 150ms; }
.topic-card:hover { background: var(--sage); }
.topic-number { display: block; margin-bottom: 20px; color: var(--forest); font-family: var(--mono); font-size: 11px; }
.topic-card h2, .topic-card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 550; }
.topic-card p { margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.topic-card small { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.topic-card .text-link { margin-top: 2px; }
.post-list { border-top: 1px solid var(--line); }
.post-row { position: relative; display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 26px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.post-row-content { min-width: 0; padding-right: 22px; }
.post-arrow { position: absolute; right: 0; top: 29px; color: var(--forest); font-size: 17px; }
.post-meta { display: flex; flex-wrap: wrap; align-content: start; gap: 5px 10px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.post-meta time { display: block; flex-basis: 100%; }
.post-title { margin-bottom: 7px; font-size: 19px; font-weight: 550; line-height: 1.65; letter-spacing: -.025em; }
.post-title a { text-decoration: none; }
.post-title a:hover { color: var(--forest); text-decoration: underline; }
.post-excerpt { max-width: 860px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.post-row .tag-list { margin-block: 12px 0; }

.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; margin-top: 80px; padding: 40px; border: 1px solid #ccd5bf; border-radius: 4px; background: var(--sage); }
.home-about .section-kicker { grid-column: 1 / -1; margin-bottom: 2px; }
.home-about-copy { grid-row: span 2; margin-bottom: 0; font-size: 30px; font-weight: 500; line-height: 1.65; letter-spacing: -.05em; }
.home-about .section-description { margin-top: 0; }
.home-about .text-link { align-self: start; justify-self: start; }

.page-header { max-width: 840px; padding-block: 76px 46px; }
.page-title { margin-bottom: 20px; font-size: clamp(35px, 4vw, 52px); font-weight: 550; letter-spacing: -.055em; }
.page-title em { font-family: var(--serif); font-weight: 400; }
.page-description { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.writing-toolbar { padding-bottom: 26px; }
.search-field { position: relative; display: flex; max-width: 620px; margin-bottom: 22px; }
.search-field label { display: block; width: 100%; }
.search-field > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-field input { width: 100%; min-height: 53px; padding: 13px 72px 13px 18px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper-raised); color: var(--ink); font-size: 14px; -webkit-appearance: none; }
.search-field input::placeholder { color: var(--muted); }
.search-hint { position: absolute; right: 16px; top: 15px; padding: 0 6px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--muted); font-size: 12px; line-height: 1.5; transition: background 150ms; }
.filter-button:hover { background: var(--sage); }
.filter-button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: white; }
.results-status { min-height: 22px; margin-block: 19px 0; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.empty-state { padding: 64px 20px; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.empty-state h2 { color: var(--ink); font-size: 22px; font-weight: 550; }

.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(170px, 1fr); gap: 80px; align-items: start; max-width: 1080px; padding-top: 56px; margin-inline: auto; }
.article-layout > article { min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 26px; color: var(--muted); font-size: 12px; text-decoration: none; }
.back-link:hover { color: var(--forest); }
.article-header { padding-bottom: 32px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.container > .article-header { max-width: 720px; padding-top: 48px; margin-bottom: 0; }
.container > .article-header + .article-layout { padding-top: 40px; }
.article-title { margin-bottom: 20px; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.5; font-weight: 550; letter-spacing: -.05em; }
.article-lede { margin-bottom: 24px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.article-meta .tag { font-size: 10px; }
.article-body, .prose { min-width: 0; font-size: 17px; line-height: 1.95; }
.article-body p, .prose p { margin-block: 0 1.5em; }
.article-body h2, .prose h2 { margin-block: 2.5em .9em; font-size: 25px; font-weight: 600; line-height: 1.6; }
.article-body h3, .prose h3 { margin-block: 2em .8em; font-size: 20px; font-weight: 600; line-height: 1.65; }
.article-body h4 { margin-block: 1.8em .7em; font-size: 18px; font-weight: 600; }
.article-body h2:first-child, .prose h2:first-child { margin-top: 0; }
.article-body a, .prose a { color: var(--forest); }
.article-body li, .prose li { margin-block: .45em; }
.article-body li > p { margin-bottom: .5em; }
.article-body blockquote, .prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid #9dad8e; color: var(--muted); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code, .prose code { padding: 2px 5px; border-radius: 3px; background: var(--code-bg); font-family: var(--mono); font-size: .82em; word-break: break-word; overflow-wrap: anywhere; }
.article-body pre, .prose pre { position: relative; max-width: 100%; margin-block: 1.8em; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--code-bg); overflow-x: auto; color: #263c2a; font-family: var(--mono); font-size: 13px; line-height: 1.8; tab-size: 4; word-break: normal; overflow-wrap: normal; }
.article-body pre:has(.copy-code), .prose pre:has(.copy-code) { padding-top: 42px; }
.article-body pre code, .prose pre code { display: block; padding: 0; background: none; font-size: inherit; word-break: normal; overflow-wrap: normal; }
.copy-code { position: absolute; top: 7px; right: 8px; min-height: 30px; padding: 4px 9px; border: 1px solid #c8d0bf; border-radius: 3px; background: #f5f7f0; color: #42543d; font-family: var(--sans); font-size: 10px; line-height: 1.4; }
.copy-code:hover { border-color: var(--forest); }
.article-body table, .prose table { display: block; width: 100%; max-width: 100%; margin-block: 2em; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.article-body th, .article-body td, .prose th, .prose td { min-width: 90px; padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th, .prose th { background: var(--sage); font-weight: 600; }
.article-body img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 3px; }
.article-body figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; }
.article-body hr, .prose hr { height: 1px; margin-block: 2.8em; border: 0; background: var(--line); }
.article-body details { margin-block: 1.5em; padding: 16px 20px; border: 1px solid var(--line); border-radius: 3px; }
.article-body summary { cursor: pointer; font-size: 14px; }
.article-body details[open] summary { margin-bottom: 20px; }
.article-body .math, .article-body .math-display { max-width: 100%; overflow-x: auto; font-family: var(--serif); }
.article-toc { position: sticky; top: 36px; padding-top: 16px; font-size: 12px; }
.article-toc h2, .article-toc h3 { margin-bottom: 18px; color: var(--forest); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .07em; }
.article-toc > p { margin-bottom: 14px; color: var(--forest); font-family: var(--mono); font-size: 11px; }
.article-toc ol, .article-toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.article-toc li { margin: 0; }
.article-toc a { display: block; padding: 6px 0 6px 17px; color: var(--muted); line-height: 1.8; text-decoration: none; }
.article-toc a:hover { color: var(--forest); }
.article-toc .toc-h3 { padding-left: 30px; font-size: 11px; }
.article-toc .toc-level-3 a, .article-toc .toc-level-4 a { padding-left: 28px; font-size: 11px; }
.source-note { margin-block: 38px 30px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 3px; background: #f0f2ea; color: var(--muted); font-size: 12px; line-height: 1.9; }
.source-note p { margin-bottom: 8px; }
.source-note p:last-child { margin-bottom: 0; }
.source-note a { color: var(--forest); }
.source-note .source-label { margin-bottom: 8px; font-size: 9px; }
.article-footer { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-posts { margin-top: 48px; }
.related-posts h2 { font-size: 21px; font-weight: 550; }
.related-posts .post-row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
.related-posts .post-meta { order: 2; }
.related-posts .post-meta time { flex-basis: auto; }
.related-posts .post-title { font-size: 16px; }
.related-posts .post-excerpt { display: none; }

.project-hero { max-width: 840px; padding-block: 58px 36px; }
.project-hero .article-title { font-size: clamp(34px, 4.8vw, 57px); }
.project-hero .project-meta { margin-bottom: 22px; }
.project-hero .tag-list { margin-top: 24px; }
.project-content { display: grid; grid-template-columns: minmax(0, 720px) minmax(180px, 1fr); gap: 80px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.project-content.prose { display: block; max-width: 820px; }
.project-content.prose > .detail-block { margin-block: 0 36px; padding-top: 0; border-top: 0; }
.project-content.prose > .detail-block h2 { margin-block: 0 14px; color: var(--ink); font-family: var(--sans); font-size: 23px; font-weight: 550; letter-spacing: -.04em; }
.project-content.prose > .detail-block p { font-size: 17px; line-height: 1.95; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; margin-block: 30px 44px; }
.detail-block { min-width: 0; padding-top: 17px; border-top: 1px solid var(--line); }
.detail-block h2, .detail-block h3 { margin-bottom: 10px; color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.detail-block p { margin-bottom: 0; font-size: 14px; line-height: 1.9; }
.fact-list { margin: 0; font-size: 13px; }
.project-hero .fact-list { display: flex; flex-wrap: wrap; gap: 12px 60px; margin-top: 22px; }
.fact-list dt { margin-top: 20px; margin-bottom: 5px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.fact-list dd { margin-left: 0; }
.reading-path { padding: 28px 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--sage); }
.reading-path h2, .reading-path h3 { font-size: 18px; font-weight: 550; }
.reading-path p { color: #52604a; font-size: 14px; }
.reading-path ol { margin-bottom: 0; }
.reading-path li { margin-block: 12px; padding-left: 5px; font-size: 14px; }
.reading-path a { color: var(--forest); }
.about-grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(160px, 240px); gap: 96px; align-items: start; }
.portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 4px; filter: saturate(.65); }
.about-grid figure.portrait { margin: 0; overflow: hidden; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-grid .portrait + p { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.timeline { margin-top: 24px; border-top: 1px solid var(--line); }
ul.timeline { padding-left: 0; list-style: none; }
.timeline > .timeline-item { display: block; }
.timeline > .timeline-item .source-label { margin-block: 8px 0; }
.timeline-item { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.timeline-item time, .timeline-item .period { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.timeline-item h3 { margin-bottom: 7px; font-size: 17px; font-weight: 550; }
.timeline-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.timeline-item ul { color: var(--muted); font-size: 14px; }

.site-footer { margin-top: 104px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 24px; width: min(var(--width), calc(100% - 80px)); margin-inline: auto; padding-block: 34px 42px; }
.site-footer .brand { font-size: 23px; }
.site-footer .brand::before { width: 11px; height: 11px; }
.site-footer .brand + .footer-note { margin-top: 12px; }
.footer-note { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.footer-note strong { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-family: var(--mono); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: var(--forest); text-decoration: underline; }

@media (min-width: 1200px) {
  .hero { gap: 110px; }
  .hero-aside { padding: 12px 0 0 12px; }
}
@media (max-width: 1000px) {
  .container, .header-inner, .footer-inner { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.25fr 1fr; gap: 40px; min-height: 510px; padding-block: 70px 80px; }
  .lab-diagram { min-height: 295px; padding-inline: 20px; gap: 12px; }
  .diagram-node { min-height: 52px; padding: 12px; font-size: 10px; }
  .article-layout, .project-content { gap: 40px; grid-template-columns: minmax(0, 1fr) 170px; }
  .about-grid { gap: 50px; }
  .project-card { padding: 26px; }
}
@media (max-width: 759px) {
  html { scroll-padding-top: 32px; }
  .container, .header-inner, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; flex-wrap: wrap; column-gap: 20px; row-gap: 0; }
  .brand { font-size: 26px; }
  .brand::before { width: 13px; height: 13px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 13px; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .site-nav { display: none; flex-basis: 100%; padding-block: 8px 18px; justify-content: space-between; }
  .js .site-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-block: 58px 18px; }
  .hero-title { max-width: 540px; font-size: clamp(36px, 7.5vw, 49px); line-height: 1.38; margin-bottom: 22px; }
  .hero-description { max-width: 510px; font-size: 16px; }
  .hero-aside { width: min(100%, 460px); margin-inline: auto; }
  .lab-diagram { min-height: 270px; border-radius: 140px 140px 4px 4px; }
  .diagram-node { min-height: 60px; padding: 15px; font-size: 11px; }
  .section, .section + .section { padding-top: 62px; }
  .section-heading { gap: 20px; margin-bottom: 24px; }
  .section-title { font-size: 26px; }
  .section-description { font-size: 14px; }
  .section-heading .text-link { flex-shrink: 0; gap: 7px; font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 25px; }
  .project-meta { margin-bottom: 30px; }
  .project-title { font-size: 23px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { padding: 24px 20px; }
  .topic-card h2, .topic-card h3 { font-size: 17px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; padding-block: 23px; }
  .post-meta { flex-wrap: wrap; gap: 10px; }
  .post-meta time { display: inline; flex-basis: auto; }
  .post-title { font-size: 17px; }
  .post-excerpt { font-size: 13px; }
  .post-arrow { top: 23px; }
  .home-about { display: block; padding: 28px; margin-top: 60px; }
  .home-about-copy { margin-top: 16px; margin-bottom: 18px; font-size: 27px; }
  .home-about .text-link { margin-top: 16px; }
  .page-header { padding-block: 54px 34px; }
  .page-title { font-size: 39px; }
  .page-description { font-size: 16px; }
  .filter-button { min-height: 44px; padding-inline: 12px; }
  .article-layout { display: flex; flex-direction: column; gap: 34px; padding-top: 30px; }
  .article-layout > article { width: 100%; }
  .article-toc { position: static; order: -1; width: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 3px; }
  .article-toc h2, .article-toc h3 { margin-bottom: 10px; }
  .article-toc ol, .article-toc ul { display: flex; flex-wrap: wrap; gap: 2px 18px; border-left: 0; }
  .article-toc a { padding: 3px 0; }
  .article-toc .toc-level-3 a, .article-toc .toc-level-4 a { padding-left: 0; }
  .article-header { padding-bottom: 24px; margin-bottom: 30px; }
  .container > .article-header { padding-top: 28px; }
  .article-title { font-size: 30px; line-height: 1.55; }
  .article-lede { font-size: 16px; }
  .article-body, .prose { font-size: 16px; line-height: 1.95; }
  .article-body h2, .prose h2 { font-size: 23px; }
  .article-body h3, .prose h3 { font-size: 19px; }
  .article-body pre, .prose pre { padding: 18px; font-size: 12px; }
  .article-body th, .article-body td, .prose th, .prose td { padding: 10px 12px; font-size: 12px; }
  .article-body blockquote { padding-left: 18px; }
  .source-note { padding: 18px; }
  .project-hero { padding-top: 30px; }
  .project-hero .article-title { font-size: 36px; }
  .project-content { grid-template-columns: 1fr; gap: 32px; }
  .project-content > aside { padding-top: 0; }
  .details-grid { gap: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid > aside { max-width: 190px; order: -1; }
  .portrait { max-width: 190px; aspect-ratio: 1; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .site-footer { margin-top: 72px; }
  .footer-inner { padding-block: 28px 32px; gap: 12px; }
  .footer-links { gap: 22px; }
}
@media (max-width: 400px) {
  .container, .header-inner, .footer-inner { width: calc(100% - 36px); }
  .hero-title { font-size: 34px; }
  .hero-actions { gap: 10px; }
  .button { padding-inline: 16px; font-size: 13px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { padding: 22px; }
  .topic-number { margin-bottom: 12px; }
  .project-card { padding: 22px; }
  .details-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 27px; }
  .section-heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .container { width: 100%; }
  .site-header, .site-footer, .article-toc, .copy-code, .hero-aside, .writing-toolbar, .back-link { display: none !important; }
  .article-layout, .project-content { display: block; padding-top: 0; }
  .article-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
  .article-body pre, .article-body table { white-space: pre-wrap; overflow-wrap: anywhere; break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .project-card { break-inside: avoid; }
}
