:root {
  --bg: #F3EACD;
  --bg-2: #E8DFC0;
  --ink: #2B4649;
  --muted: #7A725C;
  --rule: #A49A7E;
  --accent: #C3262F;
  --nav: #2B4649;
  --footer-bg: #2B4649;
  --footer-ink: #F3EACD;
  --card: #F7F1DC;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand img { display: block; height: 48px; width: auto; }
.brand-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nav);
}
nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
nav a { color: var(--nav); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
main { flex: 1; width: min(720px, calc(100% - 2.5rem)); margin: 0 auto; padding: 2.75rem 0 4.5rem; }
.hero { margin: 0 0 2.75rem; }
.hero .mark { display: block; width: min(100%, 340px); height: auto; margin: 0 0 1.75rem; }
.lede { font-size: 1.25rem; line-height: 1.5; margin: 0; }
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--rule);
}
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { margin: 0 0 1.6rem; padding: 0 0 1.6rem; border-bottom: 1px solid var(--rule); }
.post-list li:last-child { border-bottom: 0; }
.date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}
.post-list h2, .article h1, .page h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.post-list h2 { font-size: 1.45rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.dek { margin: 0; color: var(--ink); }
.page h1, .article h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 0.75rem; }
.article .date { margin-bottom: 1.6rem; }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.back {
  display: inline-block;
  margin-top: 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 1.75rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom));
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
}
.site-footer a { color: var(--footer-ink); }
.site-footer nav { margin-bottom: 0.85rem; }
.disclaimer { margin: 0; max-width: 46rem; opacity: 0.95; }
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; padding: 0.75rem 1rem; }
  .brand img { height: 40px; }
  .brand-name { display: none; }
  main { width: min(100%, calc(100% - 2rem)); padding-top: 2rem; }
  .hero .mark { width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
