:root {
  --ink: #24211f;
  --muted: #6d625b;
  --paper: #fbfaf7;
  --soft: #efe9df;
  --line: #d9cec1;
  --accent: #7a342f;
  --accent-dark: #54231f;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  text-size-adjust: 100%;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 5;
  transform: translateY(-160%);
  border: 1px solid var(--accent-dark);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font: 700 .95rem/1 Arial, sans-serif;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px clamp(18px, 5vw, 72px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: grid;
  line-height: 1.1;
}
.brand span { font-size: 1.25rem; font-weight: 700; }
.brand small, .eyebrow, time, .muted { color: var(--muted); }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; }
main { min-height: 70vh; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(32px, 7vw, 88px) clamp(18px, 5vw, 72px);
}
.hero h1, .page-title h1, .post h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: 0;
}
.hero img {
  width: min(100%, 430px);
  justify-self: center;
  height: auto;
  aspect-ratio: 683 / 1024;
  object-fit: cover;
  border: 1px solid var(--line);
}
.lede {
  max-width: 720px;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 700 .78rem/1.2 Arial, sans-serif;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button, button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 4px;
  font: 700 .95rem/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary {
  color: var(--accent);
  background: transparent;
}
.band, .split, .page-title, .post, .admin-grid {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}
.band { background: var(--soft); }
.band > div, .post { max-width: 840px; }
.narrow > * { max-width: 520px; }
.split, .admin-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
}
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin: 0 0 18px; }
h3 { font-size: 1.4rem; margin-top: 0; }
.post-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
}
.post-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.post-list h2, .post-list h4 { margin: 4px 0 8px; }
.post-list h2 a, .post-list h4 a { color: var(--ink); text-decoration: none; }
.compact { gap: 12px; }
.post { margin: 0 auto; }
.post p { font-size: 1.1rem; }
.back-link { display: inline-block; margin-bottom: 18px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; }
.field-help {
  margin: -8px 0 2px;
  color: var(--muted);
  font: .9rem/1.35 Arial, sans-serif;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 11px;
  font: 1rem/1.4 Arial, sans-serif;
}
textarea { resize: vertical; }
.hidden {
  position: absolute;
  left: -9999px;
}
.notice {
  max-width: 840px;
  margin: 18px clamp(18px, 5vw, 72px);
  padding: 12px 14px;
  border: 1px solid #abc3a2;
  background: #edf4e9;
}
.notice.error {
  border-color: #c89b9b;
  background: #f5e9e9;
}
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: auto; }
.admin-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.inline { display: inline; margin-left: 10px; }
.inline button {
  background: transparent;
  color: var(--accent);
  padding: 0;
  border: 0;
  font: inherit;
  text-decoration: underline;
}
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { line-height: 1.55; }
  .site-header {
    position: static;
    gap: 12px;
    padding: 12px 16px 14px;
  }
  .site-header, .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .brand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .brand span { font-size: 1.12rem; }
  nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 6px;
  }
  nav a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(255, 255, 255, .54);
    font: 700 .86rem/1 Arial, sans-serif;
  }
  .hero, .split, .admin-grid { grid-template-columns: 1fr; }
  .hero {
    gap: 20px;
    padding: 28px 16px 34px;
  }
  .hero-copy { order: 2; }
  .hero img {
    order: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: min(58vh, 420px);
    object-position: center 20%;
  }
  .hero h1, .page-title h1, .post h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
    line-height: .98;
  }
  .lede {
    font-size: 1.12rem;
    margin-bottom: 0;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .button, button {
    width: 100%;
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    text-align: center;
    padding: 12px 14px;
  }
  .band, .split, .page-title, .post, .admin-grid {
    padding: 34px 16px;
  }
  h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    line-height: 1.08;
  }
  h3 { font-size: 1.22rem; }
  .post-list { gap: 14px; }
  .post-list article { padding-bottom: 14px; }
  input, textarea {
    min-height: 44px;
    font-size: 16px;
  }
  .notice {
    margin: 14px 0;
  }
  .site-footer {
    gap: 8px;
    padding: 18px 16px;
  }
  .site-footer p { margin: 0; }
}

@media (max-width: 420px) {
  nav { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
  nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero { padding-top: 22px; }
  .hero img { height: min(52vh, 360px); }
  .eyebrow { font-size: .72rem; }
}

@media print {
  :root {
    --ink: #000;
    --muted: #444;
    --paper: #fff;
    --soft: #fff;
    --line: #bbb;
    --accent: #000;
    --accent-dark: #000;
  }
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  body {
    background: #fff;
    font-size: 12pt;
    line-height: 1.45;
  }
  .skip-link, .site-header, .site-footer, .actions, form, .notice {
    display: none !important;
  }
  main {
    min-height: 0;
  }
  .hero, .split, .band, .page-title, .post, .admin-grid {
    display: block;
    padding: 0;
    margin: 0 0 18pt;
  }
  .hero img {
    max-width: 2in;
    border: 0;
    margin: 0 0 12pt;
  }
  .hero h1, .page-title h1, .post h1, h2 {
    break-after: avoid;
    font-size: 22pt;
    line-height: 1.1;
  }
  .post-list article {
    break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  a[href^="http"]::after,
  a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
