:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #2b2926;
  --muted: #6b635a;
  --accent: #8d3326;
  --line: #e2dcd0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  max-width: 1100px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.brand { font-weight: bold; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.links a { margin-left: 18px; color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--accent); }

.hero {
  max-width: 1100px; margin: 40px auto; padding: 0 20px;
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap;
}
.portrait img {
  width: 220px; border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.hero-text { flex: 1; min-width: 280px; }
h1 { font-size: 2.2rem; margin: 0 0 4px; }
.years { color: var(--muted); margin: 0; }
.role { color: var(--accent); font-style: italic; margin: 4px 0 14px; }
.lead { max-width: 640px; }

.cta { margin-top: 18px; }
.btn {
  display: inline-block; padding: 10px 22px;
  background: var(--accent); color: #fff; border-radius: 4px;
  text-decoration: none; font-size: .95rem;
}
.btn:hover { background: #6f271d; }

.book-strip { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.book-card {
  display: flex; gap: 30px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px; padding: 24px;
}
.book-card img { width: 180px; box-shadow: 0 3px 16px rgba(0,0,0,.15); }

.toc { max-width: 1100px; margin: 40px auto 60px; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 20px; height: 100%;
}
.tile h3 { color: var(--accent); margin-top: 0; }
a { color: inherit; text-decoration: none; }
a:hover .tile { border-color: var(--accent); }
footer.site-footer {
  text-align: center; color: var(--muted);
  border-top: 1px solid var(--line); padding: 24px 20px 40px; font-size: .9rem;
}
footer.site-footer a { color: var(--muted); text-decoration: underline; }

.gallery { max-width: 1100px; margin: 30px auto 60px; padding: 0 20px; }
.gallery h2 { margin-bottom: 4px; }
.gallery .note { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.thumbs a { position: relative; display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.thumbs img { width: 100%; display: block; }
.thumbs a:hover { border-color: var(--accent); }
.thumbs .num {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: .8rem;
  text-align: center; padding: 3px 0;
}

@media (max-width: 640px) {
  .hero { margin: 24px auto; }
  .portrait img { width: 160px; }
}