:root {
  --paper: #FBF8F3;
  --ink: #1F1B24;
  --body: #3E3845;
  --muted: #6F6876;
  --accent: #B8566E;
  --accent-deep: #4A2C4F;
  --rule: #E6DFD6;
  --max: 40rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17131C;
    --ink: #F1EBE4;
    --body: #CFC6BE;
    --muted: #978E99;
    --accent: #D98AA0;
    --accent-deep: #C9B7CC;
    --rule: #2E2735;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, .lead {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.25rem); line-height: 1.1; }
h2 { font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: inherit; font-weight: 600; margin-bottom: 0.35rem; }
.page {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 0 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.masthead { display: flex; flex-direction: column; gap: 0.75rem; }
.mark { color: var(--accent); margin-bottom: 0.5rem; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.intro { display: flex; flex-direction: column; gap: 1rem; }
.lead { font-size: 1.35rem; line-height: 1.4; }
.contact { padding-top: 2rem; border-top: 1px solid var(--rule); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover, a:focus-visible { color: var(--accent-deep); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.colophon { margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
