:root {
  --bg: #f7f5ef;
  --paper: #ffffff;
  --paper-soft: #fbfaf6;
  --ink: #18211d;
  --muted: #627069;
  --line: #ded8cb;
  --green: #1f513b;
  --green-2: #2f6c50;
  --gold: #a66f1f;
  --red: #8d3f33;
  --blue: #315c85;
  --shadow: 0 18px 44px rgba(42, 35, 24, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31, 81, 59, 0.05), transparent 360px),
    linear-gradient(90deg, rgba(166, 111, 31, 0.05), transparent 45%);
}
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 220px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
}
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }
.header-tools {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.site-nav a {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 680;
}
.site-nav a[aria-current="page"], .site-nav a:hover { background: #e6eee8; color: var(--green); }
.site-search {
  display: flex;
  width: min(420px, 45vw);
  min-width: 260px;
}
.site-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #c9c5b8;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.site-search button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--green);
  border-radius: 0 7px 7px 0;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.hero, .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(40px, 6vw, 84px) clamp(18px, 5vw, 72px) clamp(32px, 5vw, 64px);
}
.hero h1, .home-hero h1, .page-heading h1 {
  margin: 0;
  max-width: 940px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: #17231c;
}
.lede { max-width: 720px; color: #35443d; font-size: 1.25rem; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.hero-search {
  display: flex;
  width: min(760px, 100%);
  margin-top: 28px;
  box-shadow: var(--shadow);
}
.hero-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #cfc8b9;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: var(--ink);
  font: inherit;
}
.hero-search button {
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 7px;
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}
.button.primary { background: var(--green); color: white; }
.archive-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.archive-stats div {
  min-height: 126px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.archive-stats strong {
  display: block;
  color: var(--red);
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
}
.archive-stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 750;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quick-links a {
  display: grid;
  gap: 5px;
  padding: 22px clamp(18px, 4vw, 42px);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.quick-links a:hover { background: #f2f7f1; color: var(--green); }
.quick-links span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quick-links strong { font-size: 1.15rem; }
.quick-links em { color: var(--muted); font-style: normal; }
.hero-side {
  display: grid;
  gap: 16px;
}
.paper-preview {
  margin: 0;
  padding: 12px;
  background: #f4f1e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.paper-preview img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: top;
  border: 1px solid #d2cabb;
  background: white;
}
.paper-preview figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-panel {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-panel dl { display: grid; gap: 18px; margin: 0; }
.hero-panel div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: baseline; }
.hero-panel dt { color: var(--red); font-family: ui-serif, Georgia, serif; font-size: 2.3rem; font-weight: 800; }
.hero-panel dd { margin: 0; color: var(--muted); }
.quote-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 5vw, 72px);
  background: var(--green);
  color: white;
}
.quote-band p { margin: 0; }
.quote-band span { color: #d8e4d8; white-space: nowrap; }
.section-grid, .page-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}
.section-grid h2 {
  margin: 0;
  font-family: ui-serif, Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.05;
}
.page-wrap { padding: 46px 0 70px; }
.page-heading {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 { font-size: clamp(2.4rem, 6vw, 4.9rem); }
.page-heading p { max-width: 720px; color: var(--muted); }
.meeting-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 12px;
}
.meeting-list.compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.meeting-card a {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.04);
}
.meeting-card a:hover { border-color: rgba(36, 77, 58, 0.45); transform: translateY(-1px); }
.meeting-number { color: var(--gold); font-weight: 850; }
.meeting-card strong { font-size: 1.05rem; line-height: 1.25; }
.meeting-card span:last-of-type { color: var(--muted); }
.meeting-card em {
  align-self: end;
  color: var(--blue);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 750;
}
.year-groups {
  display: grid;
  gap: 30px;
}
.year-group {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.year-group h2 {
  position: sticky;
  top: 92px;
  margin: 0;
  color: var(--green);
  font-family: ui-serif, Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}
.prose {
  max-width: 860px;
  color: #26323b;
}
.prose h2, .prose h3 {
  font-family: ui-serif, Georgia, serif;
  line-height: 1.15;
}
.prose p, .prose li { font-size: 1.02rem; }
.archive-content {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.archive-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 0.95rem;
}
.archive-content th {
  position: sticky;
  top: 72px;
  background: #eef3ed;
  color: var(--green);
  text-align: left;
  cursor: pointer;
}
.archive-content th, .archive-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.archive-content tr:hover td { background: #faf7ec; }
.history-content .member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
  padding-left: 20px;
}
.history-content .member-grid span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}
.participant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.participant-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.participant-card img {
  width: 118px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: #e9efe8;
}
.participant-card h2 {
  margin: 0 0 8px;
  font-family: ui-serif, Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}
.participant-card p {
  margin: 0 0 12px;
}
.participant-card .eyebrow {
  margin-bottom: 7px;
  font-size: 0.68rem;
}
.search-field {
  display: grid;
  gap: 7px;
  max-width: 540px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 700;
}
.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c9c5b8;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.table-search { margin-bottom: 6px; }
.search-results {
  display: grid;
  gap: 12px;
}
.search-result {
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.search-result a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.search-result a:hover { color: var(--red); }
.search-result span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.search-result p {
  margin: 0;
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0; max-width: 720px; }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .header-tools { width: 100%; justify-items: start; }
  .site-search { width: 100%; min-width: 0; }
  .site-nav { justify-content: flex-start; }
  .hero, .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-search { display: grid; box-shadow: none; }
  .hero-search input {
    border-right: 1px solid #cfc8b9;
    border-radius: 8px 8px 0 0;
  }
  .hero-search button { border-radius: 0 0 8px 8px; }
  .archive-stats, .quick-links { grid-template-columns: 1fr; }
  .section-grid { grid-template-columns: 1fr; }
  .year-group { grid-template-columns: 1fr; }
  .year-group h2 { position: static; }
  .quote-band, .site-footer { flex-direction: column; }
  .quote-band span { white-space: normal; }
  .archive-content { padding: 18px; overflow-x: auto; }
  .participant-grid { grid-template-columns: 1fr; }
  .participant-card { grid-template-columns: 92px minmax(0, 1fr); }
  .participant-card img { width: 92px; }
}
@media (max-width: 520px) {
  .brand { min-width: 0; }
  .site-nav a { font-size: 0.86rem; padding: 7px 8px; }
  .participant-card { grid-template-columns: 1fr; }
  .participant-card img { width: 112px; }
}
