/* ==========================================================================
   Obedience Training Center, Wichita Falls
   Design language aligned with OTC's capital campaign site (otcwf.info):
   warm stucco ground, slate full-bleed bands, clay accent, Playfair Display
   display type mixing upright and italic, Inter for everything else,
   square corners, hairline rules, generous air.

   Palette resolved from the campaign site's oklch values, then adjusted only
   where WCAG 2.2 AA required it (clay is never used for text on light).
   ========================================================================== */

:root {
  /* --- surfaces --- */
  --stucco: #F9F6F0;
  --stucco-2: #F2EEE5;
  --stucco-3: #EAE4D7;
  --slate: #2B3030;
  --slate-2: #232827;
  --slate-3: #3A403F;

  /* --- ink --- */
  --ink: #2B3030;          /* 12.4:1 on stucco */
  --ink-2: #555957;        /* 6.6:1 on stucco */
  --clay-ink: #7A5C44;     /* 5.7:1 on stucco — warm text on light */
  --on-slate: #D8CFC0;     /* 8.7:1 on slate */
  --on-slate-2: #A8A29A;   /* 5.3:1 on slate */

  /* --- accent --- */
  --clay: #E5A585;         /* 6.4:1 on slate. NEVER text on stucco */
  --clay-strong: #D98B62;

  /* --- lines --- */
  --rule: #DFD8C9;
  --rule-strong: #CEC5B2;
  --rule-dark: rgba(216, 207, 192, 0.18);

  /* --- type --- */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --text-xs: 0.6875rem;   /* 11px — micro uppercase */
  --text-sm: 0.8125rem;   /* 13px */
  --text-base: 0.9375rem; /* 15px */
  --text-md: 1.0625rem;   /* 17px — standfirst */
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-hero: 4.5rem;    /* 72px, matching the campaign hero */

  /* --- spacing --- */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4.5rem;
  --s9: 6rem;    --s10: 8rem;

  --wrap: 1280px;     /* max-w-7xl, as on the campaign site */
  --measure: 62ch;
  --tick: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stucco);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, not hidden — hidden on html or body breaks position:sticky */
  overflow-x: clip;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
/* square corners are part of the design language — no radii anywhere */

/* Grid and flex children default to min-width:auto, which lets long words and wide
   children push a single-column track past the viewport. Zero it everywhere. */
.grid > *, .campaign > *, .split > *, .feature > *, .feature-row > *,
.section-head--split > *, .stat-band > .wrap > *, .stat-row > *, .ruled-row > *,
.event-row > *, .detail-head > *, .detail-body > *, .class-detail-grid > *,
.footer-grid > *, .memorial > *, .hero-sub > * { min-width: 0; }

/* [hidden] must outrank every display rule below it */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

/* the signature move: an italic serif clause inside an upright serif headline */
em, .said, .italic-clause { font-style: italic; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }

p { margin: 0 0 var(--s4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); transition: text-decoration-color 0.18s var(--tick), color 0.18s var(--tick); }
a:hover { text-decoration-color: currentColor; }

strong, b { font-weight: 600; }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.1rem; }
li { margin-bottom: var(--s2); max-width: var(--measure); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s7) 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-slate :where(a, button, input, select, textarea, summary):focus-visible,
.band--slate :where(a, button, input, select, textarea, summary):focus-visible {
  outline-color: var(--clay);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 0; left: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--slate); color: var(--stucco);
  padding: var(--s3) var(--s5);
  font: 600 var(--text-sm)/1 var(--sans);
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s6); }

/* ---------- micro type: the uppercase Inter label that ties the design together ---------- */
.eyebrow, .micro, .label {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 var(--s3);
}
.band--slate .eyebrow, .band--slate .micro, .band--slate .label { color: var(--on-slate-2); }

/* italic serif eyebrow in clay — used on dark bands, as on the campaign site */
.eyebrow--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: 0;
  text-transform: none;
  color: var(--clay);
}
/* on light grounds clay fails contrast, so the warm ink stands in */
.band--light .eyebrow--serif, .section .eyebrow--serif { color: var(--clay-ink); }
.band--slate .eyebrow--serif { color: var(--clay); }

.lede {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}
.band--slate .lede { color: var(--on-slate); }

/* the short clay rule that sits left of a subline in the hero */
.clay-rule { display: block; width: 56px; height: 2px; background: var(--clay); border: 0; margin: 0; }

/* ---------- links ---------- */
.arrow-link, .micro-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700;
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
  color: var(--ink);
}
.arrow-link:hover, .micro-link:hover { border-bottom-color: var(--ink); }
.arrow-link .chev { transition: transform 0.2s var(--tick); }
.arrow-link:hover .chev { transform: translateX(3px); }
.band--slate .arrow-link, .band--slate .micro-link { color: var(--stucco); border-bottom-color: var(--rule-dark); }
.band--slate .arrow-link:hover, .band--slate .micro-link:hover { border-bottom-color: var(--clay); }

/* keep the external-link arrow attached to its label instead of orphaning onto a new line */
a.ext { display: inline-flex; align-items: baseline; gap: 0.35em; }
a.ext svg { flex: none; opacity: 0.75; align-self: center; }

/* ---------- buttons: solid squares, no radius ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700;
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  text-decoration: none;
  border: 1px solid var(--slate);
  background: var(--slate); color: var(--stucco);
  cursor: pointer;
  transition: background 0.18s var(--tick), color 0.18s var(--tick), border-color 0.18s var(--tick);
}
.btn:hover { background: var(--slate-2); border-color: var(--slate-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--light, .band--slate a.btn--light, .section--pine a.btn--light { background: var(--stucco); color: var(--slate); border-color: var(--stucco); }
.btn--light:hover, .band--slate a.btn--light:hover, .section--pine a.btn--light:hover { background: #fff; color: var(--slate); border-color: #fff; }
.btn--clay, .band--slate a.btn--clay { background: var(--clay-strong); border-color: var(--clay-strong); color: #2B2018; }
.btn--clay:hover { background: var(--clay); border-color: var(--clay); color: #2B2018; }
.band--slate .btn--ghost { color: var(--stucco); border-color: var(--rule-dark); }
.band--slate .btn--ghost:hover { border-color: var(--clay); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ==========================================================================
   ANNOUNCEMENT + HEADER
   ========================================================================== */

.announce {
  background: var(--slate-2);
  color: var(--on-slate);
  font-size: var(--text-sm);
  padding-block: 0.6rem;
}
.announce .wrap { display: flex; flex-wrap: wrap; gap: 0.35rem var(--s4); align-items: baseline; justify-content: center; text-align: center; }
.announce strong { color: var(--clay); font-weight: 700; letter-spacing: 0.04em; }
.announce a { color: #fff; text-decoration-color: var(--rule-dark); display: inline-flex; align-items: center; gap: 0.35rem; }
.announce a:hover { text-decoration-color: var(--clay); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--stucco);
  border-bottom: 1px solid var(--rule);
  /* no backdrop-filter — it collapses the mobile drawer */
}
.header-inner {
  display: flex; align-items: center; gap: var(--s5);
  min-height: 78px; padding-block: var(--s3);
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { flex: none; width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b {
  font-family: var(--serif); font-weight: 700; font-size: 1.1875rem;
  letter-spacing: -0.015em; color: var(--ink);
}
.brand-text span {
  font-family: var(--serif); font-style: italic; font-size: 0.9375rem;
  color: var(--clay-ink); letter-spacing: 0;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s6); }
.nav-list { display: flex; align-items: center; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a, .nav-campaign {
  font-family: var(--sans); font-weight: 600;
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; color: var(--ink);
  padding-block: 0.4rem; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--clay-strong); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s var(--tick);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--clay-ink); }
.nav-cta { display: flex; align-items: center; gap: var(--s4); }
.nav-campaign { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink-2); }
.nav-campaign:hover { color: var(--ink); }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.55rem;
  background: transparent; border: 1px solid var(--rule-strong);
  padding: 0.6rem 0.9rem; cursor: pointer;
  font: 700 var(--text-xs)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.menu-toggle .bars { position: relative; width: 16px; height: 9px; flex: none; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.2s var(--tick);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-3.75px) rotate(-45deg); }

.nav-scrim { display: none; }

@media (max-width: 1279px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--stucco); border-left: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: var(--s8) var(--s6) var(--s6);
    transform: translateX(100%); transition: transform 0.28s var(--tick);
    z-index: 100; overflow-y: auto; margin-left: 0;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--rule); }
  .nav-list a { display: block; padding: var(--s4) 0; font-size: var(--text-sm); letter-spacing: 0.12em; }
  .nav-list a::after { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: var(--s4); margin-top: var(--s6); }
  .nav-campaign { justify-content: flex-start; padding-block: var(--s2); }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(35, 40, 39, 0.5); opacity: 0; pointer-events: none;
    transition: opacity 0.28s var(--tick);
  }
  .nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
  body[data-nav-open="true"] { overflow: hidden; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: var(--s5); }
  .announce { font-size: var(--text-xs); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text b { font-size: 1.0625rem; }
  .brand-text span { font-size: 0.875rem; }
  .header-inner { gap: var(--s4); min-height: 70px; }
}

@media (max-width: 430px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 0.55rem; }
  .brand-text b { font-size: 0.9375rem; }
  .brand-text span { font-size: 0.8125rem; }
  .menu-toggle { padding: 0.55rem 0.7rem; letter-spacing: 0.1em; }
  .header-inner { gap: var(--s3); }
}

/* ==========================================================================
   HERO — full-bleed photograph, headline bottom-left
   ========================================================================== */

.hero {
  position: relative;
  min-height: 720px;
  display: flex; align-items: flex-end;
  background: var(--slate-2);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 45%; }
/* Two-part scrim: a soft top wash so the sticky header keeps its footing, and a
   deep bottom ramp so the white display type clears AA over a daylight photograph. */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,21,21,0.30) 0%, rgba(18,21,21,0.10) 30%, rgba(18,21,21,0.62) 66%, rgba(18,21,21,0.88) 100%),
    linear-gradient(95deg, rgba(18,21,21,0.88) 0%, rgba(18,21,21,0.74) 26%, rgba(18,21,21,0.34) 55%, rgba(18,21,21,0) 82%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: var(--s9) var(--s8); }
.hero h1 {
  color: #fff;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s6);
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(15, 18, 18, 0.35);
}
.hero h1 em { display: block; font-style: italic; }
.hero-sub { display: flex; align-items: flex-start; gap: var(--s5); }
.hero-sub .clay-rule { margin-top: 0.85rem; flex: none; }
.hero-sub p {
  color: rgba(255,255,255,0.93); font-size: var(--text-md); line-height: 1.55;
  max-width: 34ch; margin: 0;
  text-shadow: 0 1px 14px rgba(15, 18, 18, 0.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero-actions .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero h1 { font-size: 3rem; max-width: 16ch; }
}
@media (max-width: 560px) {
  .hero { min-height: 500px; }
  .hero h1 { font-size: 2.375rem; }
  .hero-sub { gap: var(--s4); }
  .hero-sub .clay-rule { width: 36px; }
}

/* ---------- interior page hero: no image, serif headline with italic clause ---------- */
.page-hero { padding-block: var(--s8) var(--s7); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: var(--text-3xl); max-width: 26ch; margin-bottom: var(--s5); }
.page-hero h1 em { font-style: italic; }
.page-hero .lede { max-width: 58ch; }

.breadcrumbs { margin-bottom: var(--s5); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--rule-strong); }
.breadcrumbs a { text-decoration: none; color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--clay-ink); }

/* ==========================================================================
   BANDS + SECTIONS
   ========================================================================== */

.section { padding-block: var(--s9); }
.section--tight { padding-block: var(--s8); }
.band--light { background: var(--stucco); }
.band--light-2 { background: var(--stucco-2); }
.band--slate { background: var(--slate); color: var(--on-slate); }
.band--slate h1, .band--slate h2, .band--slate h3 { color: #fff; }
.band--slate h4 { color: var(--stucco); }
.band--slate a { color: #fff; text-decoration-color: var(--rule-dark); }
.band--slate a:hover { text-decoration-color: var(--clay); }
.band--slate strong { color: #fff; }
.band + .band--light { border-top: 1px solid var(--rule); }

.section-head { margin-bottom: var(--s7); max-width: 62ch; }
.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--s7); align-items: end; max-width: none;
}
.section-head h2 { margin-bottom: var(--s4); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; } }

/* ---------- the campaign-style stat band ---------- */
.stat-band { padding-block: var(--s7); }
.stat-band .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--s7) var(--s8); align-items: center; }
.stat-band-intro .eyebrow--serif { margin-bottom: var(--s3); }
.stat-band-intro p {
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.7; color: var(--on-slate); margin: 0; max-width: 40ch;
}
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat b {
  font-family: var(--serif); font-weight: 400; font-size: var(--text-xl);
  color: #fff; letter-spacing: -0.01em; line-height: 1.1;
}
.stat span { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-slate-2); }
@media (max-width: 960px) {
  .stat-band .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
}
@media (max-width: 620px) {
  .stat-row { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .stat { flex-direction: column-reverse; gap: 0.15rem; }
}

/* ---------- three-up feature row (square image, serif title, micro-link) ---------- */
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
.feature { display: flex; flex-direction: column; }
.feature-media { margin-bottom: var(--s5); background: var(--stucco-3); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature h2, .feature h3 { font-size: var(--text-lg); margin-bottom: var(--s3); }
.feature p { font-size: var(--text-base); color: var(--ink-2); margin-bottom: var(--s5); }
.feature .micro-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .feature-row { grid-template-columns: minmax(0, 1fr); gap: var(--s8); } }

/* ---------- split: text beside a square photo ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s8); align-items: center;
}
.split--reverse .split-media { order: -1; }
.split-media { background: var(--stucco-3); }
/* on a dark band the placeholder tint would sit behind the caption and fail contrast */
.band--slate .split-media, .section--pine .split-media { background: transparent; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
/* a .split with no media column should not leave dead space beside the copy */
.split:not(:has(.split-media)) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.split:not(:has(.split-media)) .split-body { max-width: 40rem; text-align: center; }
.split:not(:has(.split-media)) .split-body .btn-row,
.split:not(:has(.split-media)) .split-body .lede { justify-content: center; margin-inline: auto; }
.split:not(:has(.split-media)) .split-body .clay-rule { margin-inline: auto; }
.split-body h2 { margin-bottom: var(--s4); }
.split-caption { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: var(--s3); font-weight: 600; }
.band--slate .split-caption { color: var(--on-slate-2); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .split--reverse .split-media { order: 0; }
}

/* ==========================================================================
   RULED LISTS — the campaign site's answer to cards
   ========================================================================== */

.ruled { border-top: 1px solid var(--rule); }
.band--slate .ruled { border-top-color: var(--rule-dark); }

.ruled-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) auto;
  gap: var(--s4) var(--s6);
  align-items: baseline;
  padding-block: var(--s5);
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s var(--tick);
}
.band--slate .ruled-row { border-bottom-color: var(--rule-dark); }
a.ruled-row, .ruled-row--link { text-decoration: none; }
a.ruled-row:hover, .ruled-row--link:hover { background: var(--stucco-2); }
.band--slate a.ruled-row:hover { background: var(--slate-3); }

.ruled-name {
  font-family: var(--serif); font-weight: 400; font-size: var(--text-lg);
  line-height: 1.2; color: var(--ink); margin: 0;
}
.band--slate .ruled-name { color: #fff; }
a.ruled-row:hover .ruled-name { color: var(--clay-ink); }
.band--slate a.ruled-row:hover .ruled-name { color: var(--clay); }
.ruled-name a { text-decoration: none; }
.ruled-name a:hover { text-decoration: underline; text-decoration-color: var(--clay-strong); }

.ruled-detail { font-size: var(--text-base); color: var(--ink-2); margin: 0; max-width: 46ch; }
.band--slate .ruled-detail { color: var(--on-slate); }

.ruled-value {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: right; white-space: nowrap;
  color: var(--clay-ink); margin: 0;
}
.band--slate .ruled-value { color: var(--clay); }
.ruled-value--muted { color: var(--ink-2); letter-spacing: 0.1em; white-space: normal; text-align: right; max-width: 22ch; }
.band--slate .ruled-value--muted { color: var(--on-slate-2); }

.ruled-note { font-size: var(--text-sm); color: var(--ink-2); margin-top: var(--s5); max-width: 66ch; }
.band--slate .ruled-note { color: var(--on-slate-2); }

@media (max-width: 860px) {
  .ruled-row { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding-block: var(--s5); }
  .ruled-value, .ruled-value--muted { text-align: left; max-width: none; white-space: normal; margin-top: var(--s1); }
}

/* group heading inside a filtered list */
.ruled-group { margin-bottom: var(--s8); }
.ruled-group:last-child { margin-bottom: 0; }
.ruled-group > h3 {
  font-size: var(--text-xl); margin-bottom: var(--s4);
  padding-bottom: var(--s3); border-bottom: 2px solid var(--slate);
}
.ruled-group > h3 + .ruled { border-top: 0; }
.ruled-group-note { font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s5); max-width: 60ch; }

/* ==========================================================================
   DETAIL BLOCKS (class and event detail pages)
   ========================================================================== */

.detail { padding-block: var(--s8); border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.detail:last-child { border-bottom: 0; }
.detail-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6) var(--s8); align-items: start; }
.detail-head h2 { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.detail-body { margin-top: var(--s6); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
@media (max-width: 900px) {
  .detail-head, .detail-body { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
}

/* facts panel: hairline rows, no card chrome */
.facts { border-top: 1px solid var(--rule); margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font-size: var(--text-base); color: var(--ink); }
.band--slate .facts { border-top-color: var(--rule-dark); }
.band--slate .facts div { border-bottom-color: var(--rule-dark); }
.band--slate .facts dt { color: var(--on-slate-2); }
.band--slate .facts dd { color: var(--stucco); }
@media (max-width: 560px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: var(--s1); } }

.shared-facts { background: var(--stucco-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--s6); }
.shared-facts h2 { font-size: var(--text-lg); margin-bottom: var(--s5); }
.shared-facts .facts { border-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s8); }
@media (max-width: 760px) { .shared-facts .facts { grid-template-columns: minmax(0, 1fr); } }

/* skills / bullet columns */
.cols { columns: 2; column-gap: var(--s8); }
.cols li { break-inside: avoid; }
@media (max-width: 700px) { .cols { columns: 1; } }

/* ==========================================================================
   BADGES + PENDING STATES
   ========================================================================== */

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border: 1px solid var(--rule-strong); color: var(--ink-2);
  background: transparent;
}
.badge-dot { width: 6px; height: 6px; background: currentColor; flex: none; }
.badge--open { color: var(--clay-ink); border-color: var(--clay-ink); }
.badge--soon { color: var(--ink-2); }
.badge--done { color: var(--ink-2); border-color: var(--rule); }
.badge--track { color: var(--ink); border-color: var(--rule-strong); }
.band--slate .badge { color: var(--on-slate); border-color: var(--rule-dark); }
.band--slate .badge--open { color: var(--clay); border-color: var(--clay); }

.card-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }

.pending { font-style: italic; color: var(--ink-2); }
.band--slate .pending { color: var(--on-slate-2); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s7); }
.filter-btn {
  font-family: var(--sans); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.6rem 0.95rem; cursor: pointer;
  background: transparent; border: 1px solid var(--rule-strong); color: var(--ink-2);
  transition: all 0.18s var(--tick);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--stucco); }
.filter-status { font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s5); }

/* ==========================================================================
   EVENTS
   ========================================================================== */

.event-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: var(--s4) var(--s6); align-items: start; padding-block: var(--s6); border-bottom: 1px solid var(--rule); }
.event-date { font-family: var(--serif); line-height: 1.05; }
.event-date .m { display: block; font-size: var(--text-xs); font-family: var(--sans); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 0.3rem; }
.event-date .d { display: block; font-size: var(--text-xl); color: var(--ink); }
.event-date .y { display: block; font-size: var(--text-sm); font-family: var(--sans); color: var(--ink-2); letter-spacing: 0.08em; }
.event-body h3 { font-size: var(--text-lg); margin-bottom: var(--s3); }
.event-body h3 a { text-decoration: none; }
.event-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--clay-strong); }
.event-meta { display: flex; align-items: center; gap: 0.45rem; font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s3); }
.event-meta svg { flex: none; color: var(--clay-ink); }
.event-body p { font-size: var(--text-base); color: var(--ink-2); }
.event-aside { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s3); }
@media (max-width: 860px) {
  .event-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .event-date { display: flex; align-items: baseline; gap: 0.5rem; }
  .event-date .m, .event-date .d, .event-date .y { display: inline-block; margin: 0; }
  .event-aside { align-items: flex-start; }
}

/* ==========================================================================
   FORM
   ========================================================================== */

.form { max-width: 40rem; }
.field { margin-bottom: var(--s5); }
.field > label {
  display: block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  margin-bottom: var(--s2);
}
.field .hint { display: block; font-size: var(--text-sm); color: var(--ink-2); font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: 0.2rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: var(--text-base);
  padding: 0.8rem 0.9rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-strong);
  transition: border-color 0.18s var(--tick);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A8331B; border-width: 2px; }
.field-error { display: none; font-size: var(--text-sm); color: #8F2C17; margin-top: var(--s2); font-weight: 600; }
.field-error[data-visible="true"] { display: block; }
.required-mark { color: #8F2C17; }

.form-status { display: none; padding: var(--s5); border: 1px solid var(--rule-strong); margin-bottom: var(--s5); background: var(--stucco-2); }
.form-status[data-state] { display: block; }
.form-status[data-state="ok"] { border-color: var(--clay-ink); }
.form-status[data-state="error"] { border-color: #A8331B; }
.form-status p { margin: 0; font-size: var(--text-base); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: var(--text-sm); color: var(--ink-2); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: var(--slate); color: var(--on-slate); padding-block: var(--s8) var(--s6); }
.site-footer a { color: var(--stucco); text-decoration-color: var(--rule-dark); }
.site-footer a:hover { color: #fff; text-decoration-color: var(--clay); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s7) var(--s6); }
.footer-grid h2 {
  font-family: var(--sans); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-slate-2);
  margin-bottom: var(--s4);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: var(--s3); font-size: var(--text-base); }
.footer-mark { display: block; width: 66px; height: 66px; margin-bottom: var(--s4); }
.footer-brand b {
  display: block; font-family: var(--serif); font-weight: 700;
  color: #fff; font-size: var(--text-lg); letter-spacing: -0.01em; margin-bottom: var(--s3);
}
.footer-brand .footer-tagline { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: var(--text-base); margin-bottom: var(--s3); }
.footer-legal-name { font-size: var(--text-sm); color: var(--on-slate-2); }
address { font-style: normal; }
.footer-grid address p { font-size: var(--text-base); }
.social-row { display: flex; gap: var(--s3); margin-top: var(--s4); }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--rule-dark); text-decoration: none;
}
.social-row a:hover { border-color: var(--clay); }

.footer-bottom {
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: center;
  font-size: var(--text-sm); color: var(--on-slate-2);
}
.footer-bottom nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-signoff { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer-signoff b { font-family: var(--serif); font-weight: 700; color: #fff; font-size: var(--text-lg); }
.footer-signoff span { font-family: var(--serif); font-style: italic; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-slate-2); }

@media (max-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .footer-bottom nav { margin-left: 0; }
  .footer-signoff { align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   MOTION — reveals, honouring prefers-reduced-motion and print
   ========================================================================== */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--tick), transform 0.6s var(--tick); }
.js [data-reveal][data-shown] { opacity: 1; transform: none; }
.js [data-reveal][data-reveal="2"] { transition-delay: 0.08s; }
.js [data-reveal][data-reveal="3"] { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .announce, .menu-toggle, .nav, .nav-scrim, .filters, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .band--slate { background: #fff !important; color: #000 !important; }
  .band--slate h1, .band--slate h2, .band--slate h3, .band--slate strong { color: #000 !important; }
  .hero { min-height: 0; }
  .hero-media { display: none; }
  .hero h1, .hero-sub p { color: #000 !important; text-shadow: none !important; }
  a { text-decoration: underline; }
}

/* page-specific layout added by the generator */
.footer-donate-h { margin-top: var(--s6); }
.site-footer a.btn--clay, .site-footer a.btn--clay:hover { color: #2B2018; text-decoration: none; }
.nav-cta .btn { white-space: nowrap; }
@media (min-width: 1280px) {
  .nav-cta { gap: var(--s3); }
  .nav-cta .btn { padding: 0.8rem 1.05rem; }
}
.impact-item a.ext { display: inline; }
.impact-item a.ext svg { display: inline-block; vertical-align: baseline; margin-left: 0.3em; }

.feature.feature--top { align-items: start; }


/* home: mission statement in the lower slate band */
.mission-band { max-width: 60rem; padding-bottom: var(--s8); margin-bottom: var(--s8); border-bottom: 1px solid var(--rule-dark); }
.mission-band .eyebrow--serif { margin-bottom: var(--s3); }
.mission-quote { margin: 0; }
.mission-quote p { font-family: var(--serif); font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.4; color: var(--stucco); margin: 0; }

/* ==========================================================================
   Page-level blocks, expressed in the campaign-aligned language:
   stucco grounds, slate bands, hairline rules, square corners, serif display.
   ========================================================================== */

/* ---------- legacy section modifiers ---------- */
.section--paper2 { background: var(--stucco-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--pine { background: var(--slate); color: var(--on-slate); }
.section--pine h1, .section--pine h2, .section--pine h3 { color: #fff; }
.section--pine h4, .section--pine strong { color: var(--stucco); }
.section--pine .lede { color: var(--on-slate); }
.section--pine .eyebrow { color: var(--on-slate-2); }
.section--pine .eyebrow--serif { color: var(--clay); }
.section--pine a { color: #fff; }
.section--pine .arrow-link, .section--pine .micro-link { color: var(--stucco); border-bottom-color: var(--rule-dark); }
.section--pine .arrow-link:hover, .section--pine .micro-link:hover { border-bottom-color: var(--clay); }
.section--pine .btn--ghost { color: var(--stucco); border-color: var(--rule-dark); }
.section--pine .btn--ghost:hover { border-color: var(--clay); color: #fff; }

/* ---------- grids ---------- */
.grid { display: grid; gap: var(--s7) var(--s6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: var(--s6); }
}

/* ---------- a plain block of copy under a rule, replacing the old cards ---------- */
.impact-item { border-top: 1px solid var(--rule); padding-top: var(--s4); }
.impact-item b {
  display: block; font-family: var(--serif); font-weight: 400; font-size: var(--text-lg);
  line-height: 1.2; color: var(--ink); margin-bottom: var(--s3);
}
.impact-item p { font-size: var(--text-base); color: var(--ink-2); margin: 0; }
.section--pine .impact-item, .band--slate .impact-item { border-top-color: var(--rule-dark); }
.section--pine .impact-item b, .band--slate .impact-item b { color: #fff; }
.section--pine .impact-item p, .band--slate .impact-item p { color: var(--on-slate); }

.card { border: 1px solid var(--rule); background: var(--stucco); padding: var(--s6); }
.card h3 { font-size: var(--text-lg); }
.card p { font-size: var(--text-base); color: var(--ink-2); }

/* ---------- notes ---------- */
.quiet-box { border-left: 2px solid var(--clay-strong); background: var(--stucco-2); padding: var(--s4) var(--s5); }
.quiet-box p { font-size: var(--text-base); color: var(--ink-2); }
.section--pine .quiet-box, .band--slate .quiet-box { background: var(--slate-3); border-left-color: var(--clay); }
.section--pine .quiet-box p, .band--slate .quiet-box p { color: var(--on-slate); }

.muted { color: var(--ink-2); font-size: var(--text-base); }
.small { font-size: var(--text-sm); color: var(--ink-2); }
.center { text-align: center; }
.band--slate .muted, .section--pine .muted, .band--slate .small, .section--pine .small { color: var(--on-slate-2); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; background: var(--stucco-3); padding: 0.1em 0.35em; }

/* ---------- prose ---------- */
.wrap-narrow { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: var(--s6); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--s7); margin-bottom: var(--s3); }
.prose h3 { font-size: var(--text-lg); margin-top: var(--s6); margin-bottom: var(--s3); }
.prose h4 { margin-top: var(--s5); margin-bottom: var(--s2); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.band--slate .prose p, .band--slate .prose li, .section--pine .prose p, .section--pine .prose li { color: var(--on-slate); }

/* ---------- feature: text beside a square photo ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--s8); align-items: center;
}
.feature-media { margin: 0; background: var(--stucco-3); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature--flip .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .feature--flip .feature-media { order: 0; }
}
/* the three-up row on the home page keeps its own stacked layout */
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
.feature-row .feature { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
.feature-row .feature-media { margin-bottom: var(--s5); }
.feature-row .feature h2, .feature-row .feature h3 { font-size: var(--text-lg); margin-bottom: var(--s3); }
.feature-row .feature p { font-size: var(--text-base); color: var(--ink-2); margin-bottom: var(--s5); }
.feature-row .feature .micro-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: var(--s8); } }

/* ---------- accordion ---------- */
.accordion { border-top: 1px solid var(--rule); }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion summary {
  cursor: pointer; padding: var(--s4) 0; list-style: none;
  font-family: var(--serif); font-size: var(--text-md); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 2px;
  border-right: 1.5px solid var(--clay-strong); border-bottom: 1.5px solid var(--clay-strong);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--tick);
}
.accordion details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.accordion summary:hover { color: var(--clay-ink); }
.acc-body { padding: 0 0 var(--s5); }
.acc-body p, .acc-body li { font-size: var(--text-base); color: var(--ink-2); }

/* ---------- class detail ---------- */
.class-detail { padding-block: var(--s8); border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.class-detail:last-child { border-bottom: 0; }
.class-detail h3 { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.class-detail h4 { margin-top: var(--s6); margin-bottom: var(--s2); }
.class-detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.class-facts { border-top: 2px solid var(--slate); padding-top: var(--s4); position: sticky; top: 100px; }
.class-facts .facts-title, .class-facts h4 {
  font-family: var(--sans); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 var(--s4);
}
.class-facts dl { margin: 0; }
.class-facts dt { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s1); }
.class-facts dd { margin: 0 0 var(--s4); padding-bottom: var(--s4); font-size: var(--text-base); border-bottom: 1px solid var(--rule); }
.class-facts dd:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.class-group + .class-group { margin-top: var(--s9); }
.class-group > .section-head--split h3 {
  font-size: var(--text-xl); padding-bottom: var(--s3);
  border-bottom: 2px solid var(--slate);
}
@media (max-width: 900px) {
  .class-detail-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .class-facts { position: static; }
}

/* ---------- shared facts strip on track pages ---------- */
.shared-facts {
  background: var(--stucco-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: var(--s6); margin-bottom: var(--s8);
}
.shared-facts-title {
  font-family: var(--sans); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 var(--s5);
}
.shared-facts ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: var(--s5) var(--s8); grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shared-facts li { font-size: var(--text-base); line-height: 1.6; color: var(--ink-2); margin: 0; }
.shared-facts b {
  display: block; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); font-weight: 700; margin-bottom: var(--s1);
}
@media (max-width: 700px) { .shared-facts ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- campaign call-out ---------- */
.campaign { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.campaign-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-dark); }
.campaign-facts li {
  display: flex; justify-content: space-between; gap: var(--s5);
  padding-block: var(--s4); border-bottom: 1px solid var(--rule-dark);
  font-size: var(--text-base); margin: 0; max-width: none;
}
.campaign-facts b { font-family: var(--serif); font-weight: 400; font-size: var(--text-md); color: #fff; }
.campaign-facts span { text-align: right; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); white-space: nowrap; }
@media (max-width: 860px) {
  .campaign { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .campaign-facts li { flex-direction: column; gap: var(--s1); }
  .campaign-facts span { text-align: left; }
}

/* plain variant: a light-ground list of benefits, one per ruled row */
.campaign-facts.campaign-facts--plain { border-top-color: var(--rule); }
.campaign-facts.campaign-facts--plain li { border-bottom-color: var(--rule); display: block; }
.campaign-facts.campaign-facts--plain span {
  display: block; text-align: left; white-space: normal; text-transform: none;
  letter-spacing: 0; font-weight: 400; font-size: var(--text-base); color: var(--ink-2);
}

/* ---------- memorial (typographic only — no photograph) ---------- */
.memorial { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: var(--s8); align-items: start; }
.memorial-portrait {
  border: 1px solid var(--rule-strong); background: var(--stucco-2);
  aspect-ratio: 3 / 4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--s2); padding: var(--s5); text-align: center;
}
.memorial-portrait b { font-family: var(--serif); font-size: var(--text-lg); line-height: 1.2; color: var(--ink); }
.memorial-portrait .years { font-family: var(--serif); font-style: italic; color: var(--clay-ink); font-size: var(--text-base); margin: 0; }
.memorial-portrait .small { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 760px) { .memorial { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } .memorial-portrait { max-width: 13rem; } }

/* ---------- 404 ---------- */
.error-page { padding-block: var(--s10) var(--s9); text-align: center; }
.error-page h1 { font-size: var(--text-3xl); }
.error-page .lede, .error-page p { margin-inline: auto; }
.error-page .btn-row { justify-content: center; }

/* ---------- misc ---------- */
.btn--accent { background: var(--slate); border-color: var(--slate); color: var(--stucco); }
.btn--accent:hover { background: var(--slate-2); border-color: var(--slate-2); color: #fff; }
.btn--sm { padding: 0.65rem 1rem; font-size: 0.625rem; }
.req, .required-mark { color: #8F2C17; }
.course-rule { display: none; }
.row-track { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-ink); display: block; margin-bottom: var(--s1); }
.band--slate .row-track { color: var(--clay); }
