:root {
  --bg: #f6f0e5;
  --paper: #fffaf1;
  --paper-soft: #f1eadc;
  --ink: #2f2a24;
  --muted: #756a5d;
  --line: #d9cdbb;
  --accent: #7c4f2a;
  --accent-soft: #ead8c4;
  --shadow: 0 18px 48px rgba(47, 42, 36, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124,79,42,.12), transparent 32rem),
    linear-gradient(180deg, var(--bg), #efe6d8);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, .82);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 2;
}
.header-grid, .footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .01em;
}
.logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-soft);
  font-size: 22px;
}
.nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--accent); }

main { padding: 34px 0 56px; }
.page { max-width: 880px; }
.card {
  background: rgba(255, 250, 241, .92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
  margin: 0 0 24px;
}
.hero { padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(32px, 6vw, 64px); }
.eyebrow, .tag {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.18; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -.035em; max-width: 900px; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); max-width: 760px; }
.lead.small { font-size: 19px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fffaf1;
  text-decoration: none;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 15px;
}
.button.ghost { background: transparent; color: var(--accent); }
.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.muted { background: rgba(241, 234, 220, .9); }
blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent-soft);
  color: var(--muted);
  font-size: 19px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
  color: var(--ink);
  text-decoration: none;
}
.tile:hover { border-color: var(--accent); }
.list-section h2 { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.entry { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.entry:last-child { border-bottom: 0; padding-bottom: 0; }
.article { font-size: 18px; }
.article ul { padding-left: 24px; }
.note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper-soft);
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 16px;
}
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--paper-soft); }
.archive-list { padding-left: 22px; }
.archive-list li { margin-bottom: 10px; }
.center { text-align: center; }
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0 10px;
}
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .header-grid, .footer-grid { align-items: flex-start; flex-direction: column; }
  .grid.two, .tiles { grid-template-columns: 1fr; }
  .site-header { position: static; }
  h1 { font-size: 36px; }
}
