/* Chris Lee · Notes — single stylesheet, no external resources */
:root {
  --bg: #f7f5f0;
  --paper: #fffdf8;
  --ink: #1f2421;
  --muted: #6b716c;
  --line: #e4e0d6;
  --accent: #2f6f5e;
  --accent-soft: #e3efe9;
  --warm: #c8793a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 35, 30, .05), 0 8px 24px rgba(30, 35, 30, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141716;
    --paper: #1b1f1d;
    --ink: #e8e6e0;
    --muted: #9aa19b;
    --line: #2b302d;
    --accent: #7cc2a9;
    --accent-soft: #20302a;
    --warm: #e0a06a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* header */
.site-head { padding: 28px 0 8px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 50%; }
.brand b { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .2px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.hero { padding: 36px 0 12px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 42px); line-height: 1.2; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0; max-width: 34em; }
.hero-art { margin: 28px 0 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* section titles */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 48px 0 14px; }
.section-title h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.section-title a { font-size: 14px; }

/* post list */
.posts { list-style: none; margin: 0; padding: 0; }
.post-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: center;
  padding: 18px; margin: 0 -18px; border-radius: var(--radius);
  color: var(--ink); transition: background .15s ease;
}
.post-card:hover { background: var(--paper); text-decoration: none; box-shadow: var(--shadow); }
.post-card .thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.post-card .thumb img, .post-card .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin: 2px 0 6px; font-weight: 600; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tag { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-left: 8px; vertical-align: 1px; }

/* photo strip */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photos figure { margin: 0; }
.photos .frame { border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.photos .frame img, .photos .frame svg { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* article */
.article { padding: 28px 0 8px; }
.article header time { font-size: 14px; color: var(--muted); }
.article h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 40px); line-height: 1.22; margin: 6px 0 22px; }
.article .cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 30px; }
.article .cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article .body p { margin: 0 0 1.15em; }
.article .body h2 { font-family: var(--serif); font-size: 24px; margin: 1.8em 0 .5em; }
.article .body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article .body li { margin: .3em 0; }
.article .body blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--warm); color: var(--muted); font-family: var(--serif); font-size: 19px; }
.article .body .note { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 15px; color: var(--muted); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }

/* about */
.about-card { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; margin-top: 30px; }
.about-card .avatar { border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }

/* 404 */
.lost { text-align: center; padding: 70px 0 30px; }
.lost h1 { font-family: var(--serif); font-size: 64px; margin: 18px 0 0; }
.lost p { color: var(--muted); }

/* footer */
.site-foot { margin: 64px 0 0; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .post-card { grid-template-columns: 92px 1fr; gap: 14px; padding: 14px; margin: 0 -14px; }
  .post-card h3 { font-size: 18px; }
  .post-card p { display: none; }
  .photos { gap: 8px; }
  .about-card { grid-template-columns: 1fr; }
  .about-card .avatar { width: 96px; }
}
