/* Brad Jones — brad-jones.com
   Clean editorial personal blog. No frameworks, no trackers, no external fonts. */

:root {
  --bg: #FAF8F3;
  --text: #26292e;
  --muted: #6f6a5e;
  --accent: #0f766e;
  --accent-hover: #0b5d57;
  --rule: #e6e0d2;
  --maxw: 680px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  padding: 40px 0 8px;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover { color: var(--accent); }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}

.site-nav a:first-child { margin-left: 0; }

.site-nav a:hover { color: var(--accent); }

.header-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 24px 0 0;
}

/* ---------- post list ---------- */

.post-list {
  list-style: none;
  margin: 0;
  padding: 48px 0 24px;
}

.post-list li {
  margin: 0 0 48px;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--rule);
}

.post-list li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-list h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
}

.post-list h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-list h2 a:hover { color: var(--accent); }

.post-date {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.post-excerpt {
  margin: 0;
  color: var(--text);
}

/* ---------- article ---------- */

article.post {
  padding: 56px 0 24px;
}

article.post h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-weight: 700;
}

article.post .post-date { margin-bottom: 32px; }

article.post p {
  margin: 0 0 1.4em;
}

article.post a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

article.post a:hover { color: var(--accent-hover); }

.post-nav {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}

.post-nav a {
  color: var(--accent);
  text-decoration: none;
}

.post-nav a:hover { color: var(--accent-hover); }

/* ---------- about ---------- */

.about {
  padding: 56px 0 24px;
}

.about h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.about p { margin: 0 0 1.4em; }

/* ---------- footer ---------- */

.site-footer {
  padding: 32px 0 64px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  body { font-size: 16px; }

  .site-header { padding-top: 28px; }

  .wordmark { font-size: 22px; }

  article.post { padding-top: 40px; }

  article.post h1 { font-size: 30px; }

  .post-list { padding-top: 36px; }

  .post-list h2 { font-size: 24px; }
}
