:root {
  --bg: #faf8f4;
  --bg-alt: #f1ece2;
  --text: #2b2620;
  --text-muted: #6b6255;
  --accent: #a8471f;
  --accent-hover: #7d3216;
  --border: #e2dbcc;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(168,71,31,0.35); }
a:hover { color: var(--accent-hover); }

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 1.25rem;
  margin-bottom: 2rem;
}

.site-title {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
  display: inline-block;
}

.site-tagline {
  margin: 0.35rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.site-nav a {
  margin-right: 1.1rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

main { padding-bottom: 3rem; min-height: 60vh; }

.intro h1 { margin-top: 0; }
.intro p { color: var(--text-muted); }

.year-heading {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
  margin-top: 2.5rem;
}

ul.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.article-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.article-link {
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text);
}
.article-link:hover { color: var(--accent); }

.article-list-date {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.article-excerpt {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

article h1 {
  margin-bottom: 0.25rem;
  font-size: 1.9rem;
}

.article-date {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.article-content p { margin: 0 0 1.1rem; }
.article-content h2 { margin-top: 2rem; font-size: 1.3rem; }
.article-content ul, .article-content ol { margin: 0 0 1.1rem 1.2rem; padding: 0; }
.article-content li { margin-bottom: 0.3rem; }

.media {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.media figure {
  margin: 0;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.media img, .media video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.media audio { width: 100%; }

.media figcaption {
  margin-top: 0.5rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.media-link {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
}

.embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.embed iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border: 0;
  border-radius: 4px;
}

.back-link {
  margin-top: 2.5rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--text-muted);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  article h1 { font-size: 1.5rem; }
  .site-title { font-size: 1.3rem; }
}
