:root {
  --ink: #1c1c1a;
  --paper: #faf8f3;
  --rule: #d8d2c4;
  --accent: #8a1f1f;
  --muted: #5c5a52;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--accent); text-decoration: underline; }
a:hover { text-decoration: none; }

.site-header {
  border-bottom: 3px solid var(--ink);
  padding: 1rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: .02em;
}
.brand-tagline {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 4px;
  width: 42px;
  height: 36px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
}
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1, h2, h3 { font-family: Georgia, serif; line-height: 1.2; }
h1 { font-size: 2rem; margin-bottom: .25rem; }
.subhead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }

.lede { font-size: 1.1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.btn:hover { background: #6e1818; text-decoration: none; }

.at-a-glance {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .75rem 0;
  margin: 1.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
  color: var(--muted);
}

dl.faq dt { font-weight: bold; margin-top: 1rem; }
dl.faq dd { margin: .25rem 0 0 0; }

form {
  font-family: Arial, Helvetica, sans-serif;
}
form .field { margin-bottom: 1rem; }
form label { display: block; font-weight: bold; margin-bottom: .25rem; }
form input[type=text],
form input[type=email],
form input[type=tel],
form input[type=url],
form input[type=date],
form input[type=time],
form input[type=number],
form select,
form textarea {
  width: 100%;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
form .hint { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
form .checkbox label { display: flex; gap: .5rem; font-weight: normal; align-items: flex-start; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.alert { padding: .75rem 1rem; border-radius: 4px; margin-bottom: 1.5rem; font-family: Arial, Helvetica, sans-serif; }
.alert-success { background: #e4f3e4; border: 1px solid #a9d4a9; }
.alert-error { background: #f8e3e3; border: 1px solid #e0a9a9; }

table.admin-table { width: 100%; border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: .9rem; }
table.admin-table th, table.admin-table td { border: 1px solid var(--rule); padding: .5rem; text-align: left; vertical-align: top; }
table.admin-table th { background: #f1ede1; }

.site-footer {
  border-top: 3px solid var(--ink);
  padding: 1.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-nav a { color: var(--muted); margin-right: 1rem; }
.footer-note { width: 100%; }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding-top: .5rem;
    border-top: 1px solid var(--rule);
  }
  .site-nav.open { display: flex; }
}
