:root {
  --bg: #f6f3ee;
  --paper: #fffcf8;
  --ink: #1c1916;
  --muted: #5c564e;
  --line: #e4ddd3;
  --accent: #6b3f2a;
  --accent-soft: #efe4d8;
  --max: 720px;
}

* { 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.65;
}

a { color: var(--accent); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

header.hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.kicker a {
  color: inherit;
  text-decoration: none;
}

.kicker a:hover { text-decoration: underline; }

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 12px;
}

.note h1 {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 10px;
  max-width: 38rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.affinities {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.affinities li {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0 0 6px;
  line-height: 1.45;
}

.affinities a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.affinities a:hover { border-bottom-color: var(--accent); }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a {
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
}

.links a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.portrait {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 22px;
  background: var(--accent-soft);
}

main { padding: 36px 0 64px; }

h2 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 6px;
}

.intro-blog {
  color: var(--muted);
  margin: 0 0 18px;
}

article.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
  margin-bottom: 16px;
}

.post-meta {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 8px;
}

article.post-card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  font-weight: 500;
}

article.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

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

article.post-card p {
  margin: 0 0 0.7em;
  color: var(--muted);
}

article.post-card p:last-child { margin-bottom: 0; }

.read-more {
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.read-more:hover { border-bottom-color: var(--accent); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
}

footer a { color: inherit; }

.note header.hero { padding: 36px 0 20px; }

.note .content p { margin: 0 0 1em; }

.note .content p:last-of-type { margin-bottom: 0; }

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  background: #000;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.note-figure {
  margin: 1.6rem 0 1.8rem;
}
.note-figure img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}
