:root {
  color-scheme: light;
  --paper: #faf7f0;
  --ink: #17140e;
  --muted: #655f52;
  --rule: #cfcabc;
  --green: #b6f04a;
  --mono: "JetBrains Mono", Consolas, monospace;
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible { outline: 3px solid #52682b; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; padding: 12px; background: white; z-index: 1; }
.skip:focus { top: 8px; }
.top { border-bottom: 1px solid var(--ink); }
.bar, .bar nav, .meta, .byline, .section-head, .colophon { display: flex; align-items: center; }
.bar { justify-content: space-between; min-height: 77px; }
.bar nav { gap: 32px; }
.bar a, .back, .colophon a { text-decoration: none; }
.bar nav a, .back, .read { font-size: .92rem; font-weight: 650; }
.bar nav a:hover, .back:hover, .colophon a:hover { text-decoration: underline; }
.brand img { height: auto; }
.cover { display: grid; grid-template-columns: .87fr 1.13fr; gap: 5%; align-items: center; padding-block: 42px; }
.cover-copy { padding-block: 12px; }
.kicker { display: inline-flex; align-items: center; gap: 11px; font: 600 .8rem/1.5 var(--mono); letter-spacing: .11em; }
.kicker i { width: 22px; height: 8px; background: var(--green); transform: skew(-15deg); }
.cover h1 { font: 500 clamp(5.1rem, 8.6vw, 8.3rem)/.81 Georgia, "Times New Roman", serif; letter-spacing: -.074em; margin: 28px 0; }
.cover h1 em { font-weight: 400; }
.cover-copy p { color: #484437; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.66; word-break: keep-all; }
.cover-photo { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; border: 1px solid var(--ink); }
.listing { padding-bottom: clamp(52px, 7vw, 94px); scroll-margin-top: 16px; }
.section-head { gap: 12px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 20px 0 17px; }
.section-head h2, .about h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.25; letter-spacing: -.065em; }
.section-head span { font: .85rem var(--mono); color: var(--muted); }
.entry-link { display: grid; grid-template-columns: minmax(220px, .47fr) 1fr; gap: clamp(28px, 4vw, 65px); align-items: center; padding-block: 25px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.thumb { overflow: hidden; display: grid; place-items: center; height: clamp(155px, 13vw, 190px); background-color: #e6e9dc; background-image: radial-gradient(#b9bfac 1px, transparent 1px); background-size: 8px 8px; }
.mini-chart { width: 65%; height: 76%; position: relative; background: #faf9ed; border: 1px solid #373d2d; box-shadow: 4px 4px 0 #97a084; transform: rotate(-5deg); }
.mini-chart b { position: absolute; top: 7%; left: 7%; font: italic 1.05rem Georgia, serif; }
.mini-chart::before, .mini-chart::after { content: ""; position: absolute; background: #737969; }
.mini-chart::before { width: 85%; height: 1px; top: 58%; left: 7%; }
.mini-chart::after { height: 65%; width: 1px; left: 50%; top: 27%; }
.mini-chart i { position: absolute; border: 1px solid var(--ink); border-radius: 50%; width: 12px; height: 12px; background: #282d22; }
.mini-chart i:nth-of-type(1) { left: 29%; top: 35%; width: 19px; height: 19px; background: var(--green); }
.mini-chart i:nth-of-type(2) { left: 72%; top: 41%; }
.mini-chart i:nth-of-type(3) { left: 20%; top: 74%; }
.meta { flex-wrap: wrap; gap: 10px; font: .82rem/1.5 var(--mono); }
.tag { color: var(--ink); padding: 2px 8px; border: 1px solid #797969; font-size: .78rem; font-weight: 600; }
.entry-copy h3 { font-size: clamp(1.55rem, 2.45vw, 2.2rem); line-height: 1.4; letter-spacing: -.06em; margin: 12px 0 6px; word-break: keep-all; }
.entry-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.entry-copy p, .about p { color: var(--muted); font-size: 1rem; line-height: 1.75; word-break: keep-all; }
.read { display: inline-block; border-bottom: 1px solid; margin-top: 16px; }
.empty { padding-block: 32px; }
footer { border-top: 1px solid var(--rule); background: #f0eee5; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 42px; align-items: center; }
.about h2 { margin-top: 6px; }
.colophon { padding-block: 16px; border-top: 1px solid var(--rule); justify-content: space-between; font-size: .82rem; color: var(--muted); }
.story { max-width: 780px; padding-block: 34px 56px; }
.story-head { border-bottom: 1px solid var(--rule); padding: 35px 0 20px; }
.story-head h1 { font-size: clamp(2.1rem, 4.75vw, 3.65rem); line-height: 1.18; letter-spacing: -.075em; word-break: keep-all; margin: 18px 0; }
.dek { font-size: 1.12rem; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.byline { gap: 16px; font-size: .86rem; color: var(--muted); margin-top: 22px; }
.prose { max-width: 68ch; margin: 30px auto; font-size: 1.09rem; line-height: 1.88; overflow-wrap: anywhere; }
.prose p { margin-block: 1.15em; }
.prose h2 { margin: 1.65em 0 .4em; line-height: 1.45; font-size: 1.55rem; letter-spacing: -.05em; }
.prose code { font: .95rem/1.65 var(--mono); }
.prose pre { overflow-x: auto; background: #24251c; color: #f1f5e7; padding: 15px 20px; }
.prose blockquote { margin: 1em 0; padding: .9em 1.3em; background: #ecf0dd; border-left: 4px solid #749934; }
.prose blockquote p { margin: 0; }
.quad { margin: 1.5em 0; padding: 19px 23px; border: 1px solid var(--rule); background: #f1f2e9; }
.plot { position: relative; height: 210px; background: linear-gradient(to right,transparent calc(50% - .5px),#969d87 50%,transparent calc(50% + 1px)), linear-gradient(to top,transparent calc(50% - .5px),#969d87 50%,transparent calc(50% + 1px)); border: 1px solid #a9ad9c; }
.plot-label, .axis-x { font-size: .85rem; font-weight: 650; }
.axis-x { text-align: right; }
.point { position: absolute; transform: translate(-50%,-50%); font-size: .95rem; white-space: nowrap; }
.point::before { display: inline-block; content: ""; height: 9px; width: 9px; border: 1px solid var(--ink); background: var(--ink); border-radius: 50%; margin-right: 5px; }
.reuse { top: 28%; left: 25%; background: var(--green); padding: 0 5px; }
.news { top: 23%; left: 75%; }
.swap { top: 78%; left: 23%; }
.quad figcaption { font-size: .85rem; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.bottom { display: inline-block; border-top: 1px solid var(--rule); padding-top: 18px; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .bar { min-height: 62px; }
  .brand img { width: 125px; }
  .bar nav { gap: 18px; }
  .cover { grid-template-columns: 1fr; gap: 21px; padding-block: 25px; }
  .cover-copy { padding: 0; }
  .cover h1 { font-size: clamp(3.3rem, 13vw, 5.5rem); line-height: 1.04; margin: 10px 0; }
  .cover h1 br { display: none; }
  .cover h1 em::before { content: " "; }
  .cover-photo { aspect-ratio: 1.95; }
  .entry-link { grid-template-columns: 1fr; gap: 18px; }
  .thumb { height: 145px; }
  .mini-chart { max-width: 200px; }
  .about { grid-template-columns: 1fr; gap: 12px; padding-block: 26px; }
  .story { padding-top: 23px; }
  .story-head { padding-top: 25px; }
  .quad { padding: 12px; }
  .plot { height: 165px; }
  .point { font-size: .78rem; }
}
