:root {
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #5e584e;
  --line: #d9d0c0;
  --luce: #9a4b12;
  --gas: #0f5f5c;
  --measure: 42rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--gas); }

.wrap {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin: 0 auto;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0 1rem;
}

.mark {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark a { text-decoration: none; }

nav {
  margin-top: 0.85rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
}

nav a { margin-right: 0.9rem; white-space: nowrap; }

main { padding: 2.2rem 0 3.5rem; }

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  margin: 2.2rem 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 560;
  line-height: 1.25;
}

p, li { color: var(--ink); }

.lead {
  font-size: 1.22rem;
  color: var(--muted);
}

ul { padding-left: 1.15rem; }

li + li { margin-top: 0.35rem; }

.note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.85rem;
}

dl {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

dt {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

dd { margin: 0.15rem 0 0; }

@media (max-width: 640px) {
  nav a { display: inline-block; margin: 0 0.8rem 0.35rem 0; }
}
