:root { --paper: #fafaf8; --ink: #1d2d3b; --muted: #657078; --line: #e3e5e4; --accent: #304d64; --card: #fff; font-family: 'DM Sans', sans-serif; color: var(--ink); background: var(--paper); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #597b91; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.site { max-width: 570px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; top: -60px; left: 16px; background: var(--ink); color: #fff; padding: 12px; z-index: 20; }
.skip:focus { top: 12px; }
header { padding: 55px 0 57px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; font-family: 'Libre Caslon Display', Georgia, serif; font-size: 27px; letter-spacing: -1px; }
.wordmark span { color: #a6adb0; padding-left: 2px; }
nav { display: flex; gap: 30px; }
nav a { font-size: 13px; color: var(--muted); text-decoration: none; padding: 7px 0; }
nav a[aria-current] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.identity { display: flex; align-items: center; gap: 29px; padding: 8px 0 42px; }
.portrait { flex: 0 0 100px; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.portrait-frame { display: block; flex: 0 0 100px; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.portrait-frame .portrait { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.monogram { display: grid; place-items: center; background: #e9edef; color: #526677; font: 37px 'Libre Caslon Display', Georgia, serif; border: 1px solid #d6dee1; box-shadow: inset 0 0 0 7px var(--paper); }
h1 { font-family: 'Libre Caslon Display', Georgia, serif; font-size: 45px; font-weight: 400; letter-spacing: -.7px; line-height: 1.12; margin: 0 0 4px; }
.tagline { margin: 0; font-size: 14px; color: #657078; line-height: 1.75; }
.profile { border-top: 1px solid var(--line); padding: 39px 0 10px; }
.profile-row { display: grid; grid-template-columns: 124px 1fr; gap: 20px; margin: 0 0 31px; }
.profile-row h2 { font-size: 13px; color: var(--muted); font-weight: 400; margin: 4px 0 0; }
.entry + .entry { margin-top: 21px; }
.entry-title { font-size: 16px; font-weight: 550; line-height: 1.5; }
.entry p { font-size: 13px; line-height: 1.7; margin: 4px 0 0; color: var(--muted); }
.placeholder .entry-title { color: #657078; font-weight: 400; }
.placeholder p { color: #69757d; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 19px; line-height: 1.7; font-size: 14px; }
.unset-link { color: #69757d; }
.writing-teaser { border-top: 1px solid var(--line); padding: 28px 0 5px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.writing-teaser h2 { margin: 0 0 7px; font-size: 15px; font-weight: 550; }
.writing-teaser p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-link { text-decoration: none; font-size: 13px; white-space: nowrap; }
.text-link span { margin-left: 8px; }
footer { border-top: 1px solid var(--line); margin: 48px 0 0; padding: 23px 0 38px; display: flex; justify-content: space-between; gap: 16px; color: #69757d; font-size: 11px; }
footer a { text-decoration: none; }
.page-intro { padding: 7px 0 37px; }
.kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 17px; }
.page-intro h1 { font-size: 57px; margin-bottom: 15px; }
.page-intro > p:last-child { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 460px; margin-bottom: 0; }
.post-list { display: grid; gap: 18px; padding: 8px 0 0; }
.post-card { display: block; text-decoration: none; border: 1px solid var(--line); padding: 23px 26px; background: var(--card); box-shadow: 0 1px 2px #1d2d3b08; }
.post-card:hover { color: var(--ink); border-color: #bac5cd; }
.post-card h2 { font-size: 21px; line-height: 1.4; font-weight: 550; letter-spacing: -.35px; margin: 0 0 11px; }
.post-card p { font-size: 16px; line-height: 1.7; color: #657078; margin: 0; }
.no-posts { color: var(--muted); font-size: 14px; margin: 0; }
.empty { border: 1px solid var(--line); padding: 42px 34px; background: var(--card); margin: 0; }
.empty .number { font-family: 'Libre Caslon Display', Georgia, serif; font-size: 43px; color: #c0c8cd; line-height: 1; margin: 0 0 22px; }
.empty h2 { font-size: 20px; font-weight: 500; margin: 0 0 12px; }
.empty p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; max-width: 390px; }
.article-head { margin: 9px 0 32px; }
.article-head h1 { font-size: 51px; line-height: 1.16; margin: 26px 0 18px; }
.article-meta { color: var(--muted); font-size: 12px; }
.article { border-top: 1px solid var(--line); padding-top: 19px; font-size: 16px; line-height: 1.9; }
.article p { margin: 19px 0; }
.article h2 { font-size: 26px; line-height: 1.4; font-weight: 550; margin: 35px 0 15px; }
.article h3 { font-size: 20px; font-weight: 550; margin: 29px 0 12px; }
.article blockquote { border-left: 2px solid #9dacb8; margin: 25px 0; padding: 0 22px; color: #657078; }
.article img { max-width: 100%; height: auto; border-radius: 5px; }
.article pre { overflow-x: auto; padding: 20px; background: #eef0ef; font-size: 13px; line-height: 1.6; border-radius: 5px; }
.article :not(pre) > code { background: #eef0ef; padding: 2px 5px; border-radius: 3px; font-size: .85em; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.article table { border-collapse: collapse; display: block; max-width: 100%; overflow-x: auto; }
.article th, .article td { padding: 8px 14px; border: 1px solid var(--line); text-align: left; }
@media (max-width: 600px) {
  .site { padding: 0 25px; }
  header { padding: 30px 0 43px; }
  .identity { align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 34px; text-align: left; }
  .portrait, .portrait-frame { flex-basis: 84px; width: 84px; height: 84px; }
  h1 { font-size: 41px; }
  .tagline { font-size: 13px; max-width: 300px; text-align: left; }
  .profile { padding-top: 29px; }
  .profile-row { gap: 10px; margin-bottom: 29px; grid-template-columns: 90px 1fr;}
  .profile-row h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
  .writing-teaser { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page-intro h1 { font-size: 48px; }
  .article-head h1 { font-size: 39px; }
  .empty { padding: 30px 25px; }
  footer { font-size: 10px; }
}
