:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1f2a24;
  --muted: #5d6b63;
  --line: #e2ded4;
  --brand: #24513a;        /* forest green, from the entrance sign */
  --brand-ink: #ffffff;
  --accent: #9a3b2a;       /* brick */
  --focus: #c98a2b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141a17; --surface: #1c2420; --text: #e6ebe7; --muted: #a3b0a8; --line: #2c3631;
    --brand: #6fb38c; --brand-ink: #0f1712; --accent: #e08a73; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141a17; --surface: #1c2420; --text: #e6ebe7; --muted: #a3b0a8; --line: #2c3631;
  --brand: #6fb38c; --brand-ink: #0f1712; --accent: #e08a73; --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: .2em 0 .6em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand strong { display: block; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .02em; }
.mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px;
  background: var(--brand); color: var(--brand-ink); font: italic 600 1.05rem Georgia, serif;
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .95rem; }
.site-nav a:hover { background: var(--bg); color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn {
    display: block; background: none; border: 1px solid var(--line); color: var(--text);
    border-radius: 8px; padding: 8px 14px; font: inherit; font-size: .95rem;
  }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface);
    border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav-open .site-nav { display: flex; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); }
}

/* Hero */
.hero { position: relative; background: #1a2a21; color: #fff; overflow: hidden; }
.hero img { display: block; width: 100%; height: clamp(220px, 38vw, 380px); object-fit: cover; object-position: center 60%; opacity: .78; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,14,.82), rgba(10,20,14,.05) 60%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 22px; }
.hero-text h1 { margin: 0; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-text p { margin: .2em 0 0; color: #e8efe9; }

main.wrap { padding-top: 32px; padding-bottom: 56px; }

/* Prose */
.prose { max-width: 720px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose a[href$=".pdf"]::after { content: " (PDF)"; color: var(--muted); font-size: .85em; }
.eyebrow { color: var(--muted); font-size: .9rem; margin: 0; }
.eyebrow a { color: var(--muted); }

/* Home */
.home-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.home-intro > p:first-child a { /* announcement line */
  display: block; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  padding: 14px 16px; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow);
}
.tiles { display: grid; gap: 12px; }
.tile {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
}
.tile strong { display: block; color: var(--brand); }
.tile span { color: var(--muted); font-size: .92rem; }
.tile:hover { border-color: var(--brand); }
@media (max-width: 760px) { .home-grid { grid-template-columns: 1fr; } }

.latest { margin-top: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.post-card time { color: var(--muted); font-size: .85rem; }
.post-card h3 { margin: .2em 0 .4em; font-size: 1.05rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* News list */
.year { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.news-list { list-style: none; padding: 0; margin: 0 0 8px; max-width: 720px; }
.news-list li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.news-list time { color: var(--muted); white-space: nowrap; font-size: .9rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; max-width: 720px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.pager a:last-child { text-align: right; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); max-width: 720px; margin: 24px 0; }
.form-card h2 { margin-top: 0; }
.form-card h3 { color: var(--brand); font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin: 1.6em 0 .6em; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { grid-column: 1 / -1; margin: 0; }
.field.half { grid-column: auto; }
@media (max-width: 560px) { .field.half { grid-column: 1 / -1; } }
label, legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
select { appearance: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
.checks { border: 0; padding: 0; }
.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brand); }
.help { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.req { color: var(--accent); }
.req-note { color: var(--muted); font-size: .88rem; margin: 0; }
.invalid input, .invalid select, .invalid textarea { border-color: var(--accent); }
.invalid .help::before, .checks.invalid legend::after { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 20px 0 8px; }
.btn {
  background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 8px;
  padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-error { color: var(--accent); font-weight: 600; }
.form-done { background: var(--bg); border-left: 5px solid var(--brand); padding: 14px 16px; border-radius: 8px; }
.form-done pre { white-space: pre-wrap; font-size: .85rem; background: var(--surface); border: 1px solid var(--line); padding: 12px; border-radius: 8px; overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 20px; font-size: .93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 18px; }
.footer-grid strong { color: var(--text); }
.small { font-size: .82rem; }
