* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #e8401c;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #f5f1eb;
  --rule: #d6d0c8;
}

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* Bold top accent stripe */
body::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--accent);
}

.container {
  max-width: 720px;
  padding: 52px 32px 80px;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

p.bio, pre.bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 560px;
}

.greeting {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 8px;
}

.links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.links a:hover {
  color: var(--accent);
}

.news {
  margin-top: 52px;
}

.news h2 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.news-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.news-item a {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-item a:hover {
  color: var(--accent);
}

.news-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}

.footer {
  position: fixed;
  bottom: 16px;
  left: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: #888;
}

.sidebar {
  position: fixed;
  bottom: 16px;
  right: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.sidebar img {
  transition: opacity 0.2s ease;
}

.sidebar img:hover {
  opacity: 0.75;
}

.blog-wrap {
  max-width: 760px;
}

.blog-head {
  margin-bottom: 30px;
}

.blog-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-title {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.08;
}

.blog-lede {
  margin-top: 18px;
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: #3b3b3b;
  line-height: 1.72;
  max-width: 640px;
}

.blog-content {
  margin-top: 38px;
}

.blog-content h2 {
  font-size: 1.45rem;
  margin-top: 34px;
  margin-bottom: 12px;
}

.blog-content p,
.blog-content li,
.blog-content blockquote {
  font-family: 'DM Sans', sans-serif;
  color: #313131;
  line-height: 1.8;
}

.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote {
  margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 22px;
}

.blog-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  color: #4a4a4a;
}

.blog-content code {
  font-family: 'DM Mono', monospace;
  font-size: 0.88em;
  background: #ebe4db;
  padding: 2px 5px;
  border-radius: 3px;
}

.blog-list .news-item {
  padding: 20px 0;
}

@media (max-width: 600px) {
  .container {
    padding: 32px 20px 60px;
  }

  .footer,
  .sidebar {
    position: static;
    margin-top: 28px;
  }

  .blog-title {
    line-height: 1.16;
  }
}
