/* Design system: "Parchment Journal" (light) and "Chamber" (dark), chosen 2026-10-11.
   Green, gold, parchment and ivory only: no party colors (GT-01 §3).
   Gold is text only on the dark theme; on the light theme it is ornament (rules, the seal). */

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2");
}

/* Light: Parchment Journal. */
:root {
  --ground: #f5efe0;
  --surface: #ebe2cb;
  --ink: #1c2a21;
  --ink-muted: #4d584c;
  --heading: #1d4a36;
  --gilt: #7d5f17;
  --link: #1d4a36;
  --rule: #d3c6a3;
  --focus: #9a5b00;
  --on-heading: #f5efe0;

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-serif: "Libre Caslon Text", Georgia, serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 46rem;
  color-scheme: light;
}

/* Dark: Chamber. */
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f2b20;
    --surface: #15382a;
    --ink: #f1e7cc;
    --ink-muted: #c2b48c;
    --heading: #d8b45a;
    --gilt: #d8b45a;
    --link: #d8b45a;
    --rule: #3d5a3f;
    --focus: #f3d77e;
    --on-heading: #0f2b20;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--heading);
  color: var(--on-heading);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

/* Masthead: seal mark and wordmark over a gilt double rule. */
.site-header { padding: 1rem 0 0; }
.site-header .wrap::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 1rem;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
  opacity: 0.7;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--heading);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.seal { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: var(--gilt); }
.seal .ring { stroke-width: 1.5; }
.seal .ring-inner { stroke-width: 0.75; }
.seal .lines { stroke-width: 1.5; }

section { padding: 2.5rem 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

.hero { padding: 3rem 0; background: var(--surface); border-bottom: 0; }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h1, h2 { color: var(--heading); text-wrap: balance; }
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}
/* Hero headline: Caslon Text Bold for weight, filling the column. The thin Display cut stays on the wordmark. */
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.125rem, 2.6vw + 1.25rem, 3.25rem);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.prose h1 { font-size: clamp(2rem, 6vw, 2.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-muted); margin: 0 0 2rem; }
strong { font-weight: 600; }

/* Commitments: a small lozenge marker, items divided by hairlines. */
.points { list-style: none; margin: 1.25rem 0; padding: 0; }
.points li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-top: 1px solid var(--rule);
}
.points li:first-child { border-top: 0; padding-top: 0; }
.points li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 1.35rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--heading);
  transform: rotate(45deg);
}
.points li:first-child::before { top: 0.6rem; }

/* Steps: Roman numerals, like articles in a legislative journal. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before {
  content: counter(step, upper-roman);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--heading);
  text-align: right;
}
.steps li strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.contact { margin: 0; font-weight: 600; }

.site-footer { padding: 0 0 2rem; color: var(--ink-muted); font-size: 0.9375rem; }
.site-footer .wrap::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--gilt);
  border-bottom: 1px solid var(--gilt);
  opacity: 0.7;
}
.site-footer p { margin: 0.25rem 0; }
