:root {
  --forest: #173c2f;
  --forest-dark: #0d271f;
  --leaf: #417b52;
  --cream: #f5efe2;
  --paper: #fffdf8;
  --ink: #1e2722;
  --muted: #59635d;
  --gold: #d19a30;
  --line: #d9d3c6;
  --shadow: 0 18px 55px rgba(8, 24, 18, .28);
  font-family: Georgia, "Times New Roman", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 5.4rem;
  color: var(--ink);
  background: linear-gradient(rgba(10, 34, 25, .52), rgba(10, 34, 25, .7)), url("uploads/theme/background.webp") center / cover fixed;
  font-size: 1.08rem;
  line-height: 1.68;
}
a { color: #205d3a; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: #0d3524; }
a:focus-visible { outline: .2rem solid #f6bd4a; outline-offset: .2rem; border-radius: .1rem; }
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -8rem; padding: .75rem 1rem; color: #111; background: #fff; font-family: system-ui, sans-serif; font-weight: 700; }
.skip-link:focus { top: .5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
.archive-banner { position: fixed; z-index: 900; inset: 0 0 auto; min-height: 5.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .2rem 1.25rem; padding: .65rem max(1rem, calc((100vw - 76rem) / 2)); color: #fff; background: var(--forest-dark); border-bottom: .25rem solid var(--gold); font-family: system-ui, -apple-system, sans-serif; font-size: .92rem; line-height: 1.35; text-align: center; }
.archive-banner strong { letter-spacing: .02em; }
.archive-banner-links { display: inline-flex; gap: 1rem; }
.archive-banner a { color: #fff; font-weight: 700; }
.site-header { width: min(76rem, calc(100% - 2rem)); margin: 2rem auto 0; color: #fff; background: rgba(13, 39, 31, .94); border-radius: .4rem .4rem 0 0; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem clamp(1rem, 4vw, 2.5rem); }
.archive-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-tree { width: 4.6rem; max-height: 4.8rem; object-fit: contain; filter: brightness(0) invert(1); }
.brand-wordmark { width: min(18rem, 38vw); filter: brightness(0) invert(1); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; font: 700 .96rem/1.2 system-ui, -apple-system, sans-serif; }
.site-nav a { padding: .7rem .8rem; color: #fff; border-radius: .25rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest-dark); background: var(--cream); }
.content-panel { width: min(76rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem); background: var(--paper); box-shadow: var(--shadow); }
.page-header { max-width: 52rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 .3rem; color: var(--leaf); font: 800 .78rem/1.4 system-ui, -apple-system, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { color: var(--forest-dark); line-height: 1.12; }
h1 { max-width: 20ch; margin: 0; font-size: clamp(2.25rem, 7vw, 4.8rem); font-weight: 500; }
h2 { margin-top: 2.2rem; font-size: clamp(1.45rem, 4vw, 2rem); }
.document-meta { color: var(--muted); font: .92rem/1.4 system-ui, -apple-system, sans-serif; }
.archive-content { max-width: 52rem; padding-top: 1.6rem; }
.archive-content > :first-child { margin-top: 0; }
.archive-content blockquote { margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; border-left: .35rem solid var(--gold); color: #36433c; }
.archive-content li + li { margin-top: .45rem; }
.content-group:empty { display: none; }
.archive-photo { display: block; width: auto; max-height: 76rem; margin: 1.3rem auto; border-radius: .2rem; background: #e9e4d9; box-shadow: 0 .4rem 1.4rem rgba(20, 38, 29, .16); }
.featured-image { margin: 0 0 2rem; }
.featured-image img { width: 100%; max-height: 48rem; object-fit: contain; }
.archive-notice { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border: 2px solid #a36c13; border-radius: .25rem; background: #fff7e6; font-family: system-ui, -apple-system, sans-serif; }
.archive-notice p { margin: .35rem 0 0; }
.historical-link, .historical-contact { overflow-wrap: anywhere; }
.historical-link small { color: var(--muted); font-family: system-ui, -apple-system, sans-serif; }
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.post-card { height: 100%; padding: 1.3rem; border: 1px solid var(--line); border-top: .35rem solid var(--leaf); background: #fff; }
.post-card time { color: var(--muted); font: .84rem/1.4 system-ui, -apple-system, sans-serif; }
.post-card h2 { margin: .35rem 0 .65rem; font-size: 1.45rem; }
.post-card p { margin: 0 0 .8rem; }
.post-card .read-more { font-family: system-ui, -apple-system, sans-serif; font-weight: 750; }
.site-footer { width: min(76rem, calc(100% - 2rem)); margin: 0 auto 3rem; padding: 1.5rem clamp(1rem, 4vw, 2.5rem); color: #fff; background: rgba(13, 39, 31, .96); border-radius: 0 0 .4rem .4rem; box-shadow: var(--shadow); font: .92rem/1.55 system-ui, -apple-system, sans-serif; }
.site-footer p { margin: .25rem 0; }
@media (max-width: 760px) {
  body { padding-top: 7.3rem; background-attachment: scroll; }
  .archive-banner { min-height: 7.3rem; align-content: center; gap: .15rem .8rem; }
  .archive-banner > span:not(.archive-banner-links) { flex-basis: 100%; }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .brand-wordmark { width: min(17rem, 62vw); }
  .site-nav { width: 100%; justify-content: flex-start; }
  .content-panel { padding: 2rem 1.2rem 3rem; }
  .post-list { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  body { font-size: 1rem; }
  .site-header, .content-panel, .site-footer { width: calc(100% - 1rem); }
  .archive-banner-links { gap: .6rem; }
  .site-nav a { padding: .65rem .55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { padding: 0; background: #fff; }
  .archive-banner { position: static; color: #000; background: #fff; border: 2px solid #000; }
  .site-header, .site-footer, .content-panel { width: 100%; margin: 0; box-shadow: none; }
  .site-header, .site-footer { color: #000; background: #fff; }
  .brand-wordmark { filter: none; }
}
