:root {
  --bg: #f4f0e7;
  --ink: #1f1a14;
  --muted: #6a5f53;
  --accent: #b1452e;
  --accent-2: #2f6b6b;
  --paper: #fffaf1;
  --max: 980px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Libre Baskerville", "Garamond", "Palatino Linotype", serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, #fff2dd 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 0%, #e7f2f2 0%, transparent 55%),
    linear-gradient(180deg, #f6f2e8 0%, #efe8dc 100%);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
}

.site-header {
  border-bottom: 1px solid #e6dccb;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.site-nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.home-hero {
  background: var(--paper);
  border: 1px solid #eadfce;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(31, 26, 20, 0.06);
  margin: 10px 0 26px 0;
}

.home-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 8px 0;
}

.home-hero p {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 18px;
  align-items: center;
}

.headshot {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #eadfce;
  box-shadow: 0 10px 30px rgba(31, 26, 20, 0.12);
}

.headshot-inline {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #eadfce;
  box-shadow: 0 8px 20px rgba(31, 26, 20, 0.12);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0e6d6;
  color: #5a4d41;
  font-size: 0.85rem;
  margin-right: 8px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.highlight-card {
  background: #fffdf7;
  border: 1px solid #efe4d2;
  border-radius: 12px;
  padding: 14px;
}

.highlight-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6dccb;
  margin-bottom: 10px;
}

.highlight-card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  background: #fffdf7;
  border: 1px solid #efe4d2;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
}

.callout h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button-row {
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn:hover {
  background: #973726;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.sponsor-card {
  background: #fffdf7;
  border: 1px solid #efe4d2;
  border-radius: 12px;
  padding: 14px;
}

.sponsor-card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.sponsor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pub-figure {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}

.pub-figure img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6dccb;
  background: #fff;
}

.post h1, .home h1, .post-list h1 {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.post-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.post-body img {
  max-width: 100%;
  border: 1px solid #e6dccb;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}

.post-body h2 {
  margin-top: 1.4rem;
}

.site-footer {
  border-top: 1px solid #e6dccb;
  color: var(--muted);
  margin-top: 40px;
}

@media (max-width: 640px) {
  .site-nav a { margin-left: 10px; }
  .home-hero { padding: 22px; }
  .home-hero h1 { font-size: 1.8rem; }
  .hero-row { grid-template-columns: 1fr; }
  .headshot { width: 96px; height: 96px; }
}
