:root {
  --bg: #f4efe6;
  --bg-accent: #ebe4d6;
  --ink: #1c1916;
  --muted: #5c564c;
  --line: #d4cbb8;
  --accent: #8a3b2d;
  --accent-soft: #c46a4a;
  --card: #fffaf2;
  --max: 68rem;
  --text: 38rem;
}

* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-soft); }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.prose { width: min(var(--text), 100%); }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0 1.1rem;
}
header.site .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mark {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.mark span { color: var(--accent); font-weight: 500; }
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.15rem;
  font-size: 0.92rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero { padding: 3.4rem 0 2.6rem; border-bottom: 1px solid var(--line); }
.hero p.kicker {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.section { padding: 2.6rem 0; }
.section h2 {
  font-size: 1.35rem;
  margin: 0 0 1.2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.1rem;
}
article.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 11rem;
}
article.card .meta {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
}
article.card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; line-height: 1.3; }
article.card h3 a { color: inherit; text-decoration: none; }
article.card h3 a:hover { color: var(--accent); }
article.card p { margin: 0 0 1rem; color: var(--muted); flex: 1; font-size: 0.98rem; }

.note { padding: 2.4rem 0 3.4rem; }
.note header { margin-bottom: 1.6rem; }
.note .meta {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.note h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; margin: 0.4rem 0 0; }
.note p { margin: 0 0 1rem; }
.note p.caption { color: var(--muted); font-size: 0.95rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

hr.soft { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
ul.plain { padding-left: 1.1rem; }
ul.plain li { margin: 0.25rem 0; }
