:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #ededed;
  --body: #b5b5b5;
  --muted: #777;
  --line: #242424;
  --soft: #d2d2d2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: #fff; }
.page { width: min(690px, calc(100% - 44px)); margin: 0 auto; }
.intro {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 82px 0 54px;
  border-bottom: 1px solid var(--line);
}
.portrait {
  display: block;
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
  filter: grayscale(100%);
}
h1 {
  margin: 0;
  font-family: Constantia, Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 5.5vw, 45px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.15;
}
.headline { margin: 9px 0 13px; color: var(--soft); font-size: 15px; letter-spacing: -.015em; }
.links { display: flex; flex-wrap: wrap; gap: 17px; color: var(--muted); font-size: 12px; }
.section { padding: 37px 0 39px; border-bottom: 1px solid var(--line); }
h2 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.body-copy { margin-top: 14px; color: var(--body); font-size: 13.5px; line-height: 1.9; }
.body-copy p { margin: 0 0 13px; }
.body-copy p:last-child { margin-bottom: 0; }
.currently-exploring { padding-top: 3px; color: #d0d0d0; }
.currently-exploring strong { color: #f0f0f0; font-weight: 600; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.section-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.section-link { flex: 0 0 auto; color: var(--soft); font-size: 11px; }
.github-profile { display: flex; gap: 15px; padding: 0 0 15px; margin-bottom: 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.github-profile strong { color: var(--soft); font-weight: 500; }
.repo-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.repo {
  min-width: 0;
  padding: 16px 0 17px;
  border-bottom: 1px solid var(--line);
}
.repo-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.repo-name { color: var(--soft); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.repo-desc { min-height: 39px; margin: 7px 0 12px; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.repo-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.repo-tag { color: #999; border: 1px solid #292929; padding: 1px 6px; border-radius: 3px; font-size: 9px; }
.repo-meta { display: flex; gap: 13px; color: #777; font-size: 10px; }
.repo-meta span { white-space: nowrap; }
.loading, .empty { margin: 0; padding: 14px 0; color: var(--muted); font-size: 12px; }
.post-card { display: flex; gap: 17px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 5px; }
.post-image { width: 104px; height: 104px; flex: 0 0 104px; object-fit: cover; border-radius: 3px; background: #111; }
.post-copy { min-width: 0; }
.post-date { margin: 0 0 5px; color: var(--muted); font-size: 10px; }
.post-title { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; letter-spacing: -.02em; }
.post-excerpt { margin: 7px 0 9px; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.post-read { color: var(--soft); font-size: 11px; }
.currently p { margin: 10px 0 0; color: var(--body); font-size: 12px; line-height: 2; }
.currently span { color: #777; padding: 0 3px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 24px 0 42px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 15px; }
@media (max-width: 560px) {
  .page { width: calc(100% - 36px); }
  .intro { gap: 17px; padding: 56px 0 37px; }
  .portrait { width: 82px; height: 82px; flex-basis: 82px; }
  h1 { font-size: 29px; }
  .headline { font-size: 12px; line-height: 1.5; }
  .links { gap: 9px 13px; font-size: 11px; }
  .section { padding: 29px 0 31px; }
  .repo-grid { grid-template-columns: 1fr; }
  .repo-desc { min-height: 0; }
  .post-card { padding: 12px; gap: 12px; }
  .post-image { width: 76px; height: 76px; flex-basis: 76px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
