/* ==========================================================================
   GangOf8.com — "The Record"
   Design system: archival document / public reference
   --------------------------------------------------------------------------
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Header & navigation
   6. Footer
   7. Components
   8. Page-specific
   9. Utilities
   10. Responsive & motion
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Ink & paper */
  --ink:        #12161c;
  --ink-soft:   #1e2732;
  --slate:      #2a3542;
  --paper:      #fbfaf7;
  --paper-warm: #f4f1ea;
  --paper-deep: #ebe6db;
  --rule:       #ddd7c9;
  --rule-soft:  #e9e4d9;

  /* Accent — brass. Institutional, non-partisan. */
  --brass:      #8f6f34;
  --brass-mid:  #ab8749;
  --brass-lt:   #c9a866;
  --brass-wash: #f6efdf;

  /* Secondary — steel */
  --steel:      #2c4257;
  --steel-lt:   #4b6980;

  /* Text */
  --text:       #1a1f26;
  --text-mid:   #4c5563;
  --text-muted: #6b7480;
  --text-invert:#f4f1ea;

  /* Party indicators — deliberately desaturated and equal in weight.
     Neither reads as "louder" than the other. */
  --party-r:    #8a4a46;
  --party-d:    #3b5670;

  /* Type */
  --font-display: "Spectral", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Scale — generous base for readability */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  2.875rem;
  --fs-4xl:  3.75rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Structure */
  --wrap:       76rem;
  --wrap-text:  44rem;
  --wrap-wide:  90rem;
  --radius:     2px;
  --radius-lg:  3px;

  --shadow-sm: 0 1px 2px rgba(18, 22, 28, 0.05);
  --shadow:    0 2px 8px rgba(18, 22, 28, 0.07), 0 1px 2px rgba(18, 22, 28, 0.05);
  --shadow-lg: 0 12px 32px rgba(18, 22, 28, 0.12), 0 2px 6px rgba(18, 22, 28, 0.06);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--sp-7) 0;
}

::selection { background: var(--brass-wash); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--text-invert);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-decoration: none;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, var(--fs-3xl)); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, var(--fs-2xl)); margin-top: var(--sp-7); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, var(--fs-lg)); margin-top: var(--sp-6); }
h4 { font-size: var(--fs-md); margin-top: var(--sp-5); }

p { margin: 0 0 var(--sp-5); }

a {
  color: var(--steel);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(44, 66, 87, 0.32);
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}
a:hover {
  color: var(--brass);
  text-decoration-color: var(--brass);
}

strong { font-weight: 650; color: var(--ink); }
em { font-style: italic; }

small { font-size: var(--fs-sm); }

blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--paper-warm);
  border-left: 3px solid var(--brass);
  position: relative;
}
blockquote p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--sp-3);
}
blockquote p:last-of-type { margin-bottom: var(--sp-3); }
blockquote cite {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.4375rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--sp-6);
}

/* Mono label — the "stamp" voice used throughout */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.wrap-text { max-width: var(--wrap-text); }
.wrap-wide { max-width: var(--wrap-wide); }

.section { padding-block: var(--sp-8); }
.section-lg { padding-block: var(--sp-9); }
.section-tight { padding-block: var(--sp-7); }

.section-dark {
  background: var(--ink);
  color: var(--text-invert);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(244, 241, 234, 0.82); }
.section-dark a { color: var(--brass-lt); text-decoration-color: rgba(201, 168, 102, 0.4); }
.section-dark a:hover { color: #fff; text-decoration-color: #fff; }

.section-warm { background: var(--paper-warm); }

/* Section heading block with rule */
.section-head {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule);
}
.section-head .label { display: block; margin-bottom: var(--sp-2); }
.section-head h2 { margin: 0; }
.section-head p { margin: var(--sp-3) 0 0; color: var(--text-mid); max-width: 46rem; }
.section-dark .section-head { border-bottom-color: rgba(201, 168, 102, 0.28); }

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 4.25rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brandmark:hover { color: var(--ink); }
.brandmark svg { width: 34px; height: 34px; flex-shrink: 0; }
.brandmark-text {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brandmark-text .bm-of {
  font-weight: 400;
  font-style: italic;
  color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  align-items: center;
  gap: var(--sp-2);
  min-height: 42px;
}
.nav-toggle:hover { background: var(--paper-warm); }
.nav-toggle svg { width: 15px; height: 15px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  position: relative;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-warm); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-warm);
}
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 3px;
  height: 1.5px;
  background: var(--brass);
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 234, 0.72);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-sm);
  margin-top: var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(201, 168, 102, 0.22);
}
.footer-brand .brandmark { color: #fff; margin-bottom: var(--sp-4); }
.footer-brand p { color: rgba(244, 241, 234, 0.6); font-size: var(--fs-sm); max-width: 26rem; line-height: 1.6; }
.footer-col h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer-col a {
  color: rgba(244, 241, 234, 0.76);
  text-decoration: none;
  font-size: var(--fs-sm);
}
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.footer-legal {
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  align-items: flex-start;
  justify-content: space-between;
}
.footer-legal p { margin: 0; color: rgba(244, 241, 234, 0.5); font-size: var(--fs-xs); line-height: 1.7; max-width: 52rem; }
.footer-legal .footer-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(201, 168, 102, 0.75);
  white-space: nowrap;
}

.disclaimer-bar {
  background: var(--ink-soft);
  border-top: 1px solid rgba(201, 168, 102, 0.2);
  padding-block: var(--sp-4);
}
.disclaimer-bar p {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.62);
  text-align: center;
  max-width: 60rem;
  margin-inline: auto;
}

/* ==========================================================================
   7. COMPONENTS
   ========================================================================== */

/* --- Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8125rem var(--sp-5);
  min-height: 48px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  text-align: center;
}
.btn svg { width: 14px; height: 14px; }

.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-secondary:hover { border-color: var(--brass); color: var(--brass); background: var(--brass-wash); }

.btn-invert { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-invert:hover { background: var(--brass-lt); border-color: var(--brass-lt); color: var(--ink); }

.btn-ghost-invert { background: transparent; color: var(--paper); border-color: rgba(244, 241, 234, 0.32); }
.btn-ghost-invert:hover { border-color: var(--brass-lt); color: var(--brass-lt); background: rgba(201, 168, 102, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --- Record stamp: the trust device ---------------------------------- */

.stamp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--brass-wash);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.3;
}
.stamp::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}
.stamp-invert {
  background: rgba(201, 168, 102, 0.1);
  border-color: rgba(201, 168, 102, 0.45);
  color: var(--brass-lt);
}
.stamp-invert::before { background: var(--brass-lt); }

.verify-line {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: var(--sp-4) 0 0;
}
.verify-line strong { color: var(--text-mid); font-weight: 500; }

/* --- Breadcrumbs ------------------------------------------------------ */

.breadcrumbs {
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}
.breadcrumbs li { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--rule); }
.breadcrumbs a { color: var(--text-mid); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* --- Page header ------------------------------------------------------ */

.page-head {
  padding-block: var(--sp-7) var(--sp-6);
  border-bottom: 1px solid var(--rule);
}
.page-head .label { display: block; margin-bottom: var(--sp-3); }
.page-head h1 { margin-bottom: var(--sp-4); max-width: 34ch; }
.page-head .page-sub {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--text-mid);
  max-width: 52ch;
  margin: 0;
  line-height: 1.55;
}
.page-head .stamp { margin-top: var(--sp-5); }

/* --- Member cards ----------------------------------------------------- */

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.member-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.member-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--party-color, var(--rule));
  z-index: 2;
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-mid);
  color: inherit;
}
.member-card:hover .mc-name { color: var(--brass); }

.mc-portrait {
  aspect-ratio: 45 / 52;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.mc-portrait img, .mc-portrait svg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mc-seat-tag {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(18, 22, 28, 0.9);
  color: var(--brass-lt);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-3);
  max-width: 100%;
}

.mc-body { padding: var(--sp-4); display: flex; flex-direction: column; flex: 1; gap: var(--sp-2); }
.mc-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  transition: color 0.15s var(--ease);
}
.mc-seat {
  font-size: var(--fs-sm);
  color: var(--text-mid);
  line-height: 1.4;
  margin: 0;
}
.mc-meta {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule-soft);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.party-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--party-color, var(--rule));
  flex-shrink: 0;
}
.mc-more {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-left: auto;
}

/* Party color assignment — applied equally, no visual hierarchy */
.is-r { --party-color: var(--party-r); }
.is-d { --party-color: var(--party-d); }

/* --- Seat group header ------------------------------------------------ */

.seat-group-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  margin: var(--sp-7) 0 var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--rule);
}
.seat-group-head h2 { margin: 0; font-size: var(--fs-lg); }
.seat-group-head .seat-count {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-left: auto;
}

/* --- The 4 + 4 equation ----------------------------------------------- */

.equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-7) 0;
  padding: var(--sp-6);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.section-dark .equation {
  background: rgba(201, 168, 102, 0.06);
  border-color: rgba(201, 168, 102, 0.28);
}
.eq-block { text-align: left; }
.eq-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}
.eq-block ul {
  list-style: none;
  margin: 0 0 var(--sp-3);
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}
.eq-block li {
  font-size: var(--fs-sm);
  color: var(--text-mid);
  padding-left: var(--sp-4);
  position: relative;
  line-height: 1.45;
}
.section-dark .eq-block li { color: rgba(244, 241, 234, 0.8); }
.eq-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 1.5px;
  background: var(--brass-mid);
}
.eq-count {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.section-dark .eq-count { color: #fff; }
.eq-op {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--brass);
  line-height: 1;
}
.eq-result { text-align: center; }
.eq-total {
  font-size: var(--fs-4xl);
  color: var(--brass);
  margin-bottom: var(--sp-2);
}
.section-dark .eq-total { color: var(--brass-lt); }
.eq-result .eq-label { margin-bottom: 0; }

/* --- Callouts --------------------------------------------------------- */

.callout {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
}
.callout h3 {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-md);
  font-family: var(--font-body);
  font-weight: 650;
  letter-spacing: -0.005em;
}
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--party-r); background: #faf4f3; }
.callout-quiet { border-left-color: var(--steel-lt); background: var(--paper-warm); }

/* --- Tables ----------------------------------------------------------- */

.table-scroll { overflow-x: auto; margin: var(--sp-6) 0; -webkit-overflow-scrolling: touch; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 32rem;
}
.data-table caption {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding-bottom: var(--sp-3);
}
.data-table th, .data-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--rule);
  background: var(--paper-warm);
}
.data-table tbody tr:hover { background: var(--paper-warm); }
.cell-yes { color: var(--brass); font-weight: 550; }
.cell-no { color: var(--text-muted); }

/* --- Compare grid ----------------------------------------------------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.compare-col {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.compare-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: var(--sp-1) var(--sp-2);
  background: var(--brass);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
}
.compare-tag-alt { background: var(--steel); }
.compare-col h3 { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); }
.compare-col dl { margin: 0; display: grid; gap: var(--sp-3); }
.compare-col dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-col dd { margin: var(--sp-1) 0 0; font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.5; }

/* --- Lists ------------------------------------------------------------ */

.stack-list { list-style: none; margin: var(--sp-5) 0; padding: 0; display: grid; gap: var(--sp-3); }
.stack-list li {
  padding-left: var(--sp-6);
  position: relative;
  line-height: 1.6;
}
.stack-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 1.5px;
  background: var(--brass-mid);
}

.numbered-steps { counter-reset: step; list-style: none; margin: var(--sp-6) 0; padding: 0; display: grid; gap: var(--sp-4); }
.numbered-steps li {
  counter-increment: step;
  padding-left: var(--sp-8);
  position: relative;
  line-height: 1.6;
}
.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brass);
}

/* --- Next steps ------------------------------------------------------- */

.next-steps {
  margin: var(--sp-7) 0 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--ink);
  border-radius: var(--radius-lg);
}
.next-steps h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 var(--sp-4);
}
.next-steps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.next-steps a {
  color: rgba(244, 241, 234, 0.9);
  text-decoration: none;
  font-size: var(--fs-base);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.next-steps a::after { content: "→"; color: var(--brass-lt); transition: transform 0.15s var(--ease); display: inline-block; }
.next-steps a:hover { color: #fff; }
.next-steps a:hover::after { transform: translateX(3px); }

/* --- Card grid (explainer index, roadmap) ----------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: var(--sp-4);
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 100%;
}
.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--brass-mid);
  color: inherit;
}
.doc-card h3 {
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.3;
  transition: color 0.15s var(--ease);
}
.doc-card:hover h3 { color: var(--brass); }
.doc-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.55; flex: 1; }
.doc-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule-soft);
}
.doc-card-meta .cluster { color: var(--brass); }

/* --- Timeline --------------------------------------------------------- */

.timeline { position: relative; margin: var(--sp-7) 0 0; padding-left: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5.5rem;
  top: 0.75rem; bottom: 2rem;
  width: 1px;
  background: var(--rule);
}
.tl-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  position: relative;
}
.tl-year {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass);
  text-align: right;
  padding-top: 0.4rem;
  padding-right: var(--sp-4);
}
.tl-body { position: relative; padding-left: var(--sp-5); }
.tl-body::before {
  content: "";
  position: absolute;
  left: -5.5px;
  top: 0.72rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--rule);
  z-index: 1;
}
.tl-item.is-milestone .tl-body::before { background: var(--brass); border-color: var(--brass); }
.tl-item.is-upcoming .tl-body::before { background: var(--paper); border-color: var(--brass); border-style: dashed; }
.tl-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--sp-2);
}
.tl-body h3 { margin: 0 0 var(--sp-3); font-size: var(--fs-lg); }
.tl-body p { margin: 0 0 var(--sp-3); color: var(--text-mid); }
.tl-sig {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper-warm);
  border-left: 2px solid var(--brass-mid);
  border-radius: var(--radius);
  margin: 0;
}
.tl-sig strong {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: var(--sp-1);
  font-weight: 500;
}

/* --- Glossary --------------------------------------------------------- */

.glossary-list { display: grid; gap: 0; margin: var(--sp-6) 0 0; }
.gloss-item {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule-soft);
  scroll-margin-top: 6rem;
}
.gloss-item:first-child { border-top: 1px solid var(--rule); }
.gloss-item dt {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.gloss-item dd { margin: 0; color: var(--text-mid); line-height: 1.65; }
.gloss-see {
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.gloss-see a { color: var(--brass); text-decoration: none; }
.gloss-see a:hover { text-decoration: underline; }

/* --- Roadmap / coming soon ------------------------------------------- */

.roadmap-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: repeating-linear-gradient(
    -45deg,
    var(--paper-warm),
    var(--paper-warm) 12px,
    #f1ede4 12px,
    #f1ede4 24px
  );
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  height: 100%;
}
.roadmap-card h3 { margin: 0; font-size: var(--fs-md); }
.roadmap-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.55; }
.roadmap-status {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--brass-mid);
  color: var(--brass);
  background: var(--paper);
  border-radius: var(--radius);
}

/* --- Citation box ----------------------------------------------------- */

.cite-box {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
}
.cite-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--sp-2);
}
.cite-main {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink);
  margin: 0 0 var(--sp-3);
  line-height: 1.35;
}
.cite-note { font-size: var(--fs-sm); color: var(--text-mid); margin: 0; line-height: 1.6; }

/* --- Sources list ----------------------------------------------------- */

.sources { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--rule); }
.sources h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--sp-4);
}
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.sources li { font-size: var(--fs-sm); color: var(--text-mid); line-height: 1.55; }

/* --- FAQ -------------------------------------------------------------- */

.faq-block { margin-top: var(--sp-7); }
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
  padding: var(--sp-4) 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  line-height: 1.4;
  padding-right: var(--sp-2);
  min-height: 2.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  color: var(--brass);
  flex-shrink: 0;
  line-height: 1.2;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--brass); }
.faq-item .faq-answer { padding-top: var(--sp-3); color: var(--text-mid); line-height: 1.65; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* --- Prose container -------------------------------------------------- */

.prose { max-width: var(--wrap-text); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose .equation, .prose .compare-grid, .prose .table-scroll { max-width: none; }

/* Wide blocks break out of the text column on large screens */
@media (min-width: 60rem) {
  .prose .equation, .prose .compare-grid { width: calc(100% + 8rem); margin-left: -4rem; }
}

/* --- Inline form (no backend) ---------------------------------------- */

.contact-panel {
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.form-note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--sp-4); }

/* ==========================================================================
   8. PAGE-SPECIFIC
   ========================================================================== */

/* --- Hero ------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--text-invert);
  padding-block: var(--sp-9) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(201, 168, 102, 0.13), transparent 46%),
    radial-gradient(circle at 12% 82%, rgba(44, 66, 87, 0.28), transparent 52%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 102, 0.045) 1px, transparent 1px);
  background-size: 100% 2.25rem;
  pointer-events: none;
  opacity: 0.7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 46rem; }
.hero .stamp { margin-bottom: var(--sp-5); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.375rem, 1.6rem + 3.4vw, var(--fs-4xl));
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-lt);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, var(--fs-md));
  color: rgba(244, 241, 234, 0.8);
  max-width: 40rem;
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}
.hero .btn-row { margin-bottom: var(--sp-6); }
.hero-note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.52);
  line-height: 1.7;
  max-width: 38rem;
  margin: 0;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(201, 168, 102, 0.22);
}

/* --- Stat strip ------------------------------------------------------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.stat-cell {
  padding: var(--sp-5) var(--sp-4);
  border-right: 1px solid var(--rule);
  text-align: center;
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-2);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1.4;
  display: block;
}

/* --- Member profile page ---------------------------------------------- */

.profile-head {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: var(--sp-7);
  align-items: start;
  padding-block: var(--sp-7);
}
.profile-portrait {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 45 / 52;
  position: relative;
}
.profile-portrait::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--party-color, var(--rule));
  z-index: 2;
}
.profile-portrait img, .profile-portrait svg { width: 100%; height: 100%; object-fit: cover; }

.profile-seat-line {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-3);
  display: block;
}
.profile-head h1 { margin-bottom: var(--sp-2); }
.profile-office {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--text-mid);
  margin-bottom: var(--sp-4);
}
.profile-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--text-mid);
  background: #fff;
}

.fact-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin: var(--sp-5) 0; }
.fact-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) 0;
  vertical-align: top;
  width: 13rem;
  border-bottom: 1px solid var(--rule-soft);
}
.fact-table td {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--text-mid);
  vertical-align: top;
}

.seat-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seat-nav a { color: var(--text-mid); text-decoration: none; display: flex; align-items: center; gap: var(--sp-2); max-width: 45%; }
.seat-nav a:hover { color: var(--brass); }
.seat-nav .sn-next { margin-left: auto; text-align: right; }

/* --- CTA band --------------------------------------------------------- */

.cta-band {
  background: var(--ink);
  color: var(--text-invert);
  padding-block: var(--sp-8);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-band p { color: rgba(244, 241, 234, 0.78); max-width: 40rem; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta-band .btn-row { justify-content: center; }

/* --- 404 -------------------------------------------------------------- */

.err-page { padding-block: var(--sp-10); text-align: center; }
.err-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin: 0 0 var(--sp-4);
}

/* ==========================================================================
   9. UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================================
   10. RESPONSIVE & MOTION
   ========================================================================== */

@media (max-width: 68rem) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .profile-head { grid-template-columns: 12rem 1fr; gap: var(--sp-6); }
}

@media (max-width: 54rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-3) var(--sp-5) var(--sp-5);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    padding: var(--sp-4) var(--sp-2);
    border-bottom: 1px solid var(--rule-soft);
    font-size: var(--fs-sm);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav li:last-child a { border-bottom: 0; }
  .header-inner { position: relative; }

  .equation { grid-template-columns: 1fr; gap: var(--sp-5); text-align: left; }
  .eq-op { text-align: center; }
  .eq-result { text-align: left; }

  .compare-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }

  .profile-head { grid-template-columns: 1fr; gap: var(--sp-5); }
  .profile-portrait { max-width: 15rem; }

  .prose .equation, .prose .compare-grid { width: 100%; margin-left: 0; }
}

@media (max-width: 40rem) {
  :root { --fs-base: 1rem; }
  .wrap { padding-inline: var(--sp-4); }
  .section { padding-block: var(--sp-7); }
  .section-lg { padding-block: var(--sp-8); }
  .hero { padding-block: var(--sp-8) var(--sp-7); }

  .member-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-legal { flex-direction: column; }

  .timeline::before { left: 0.34rem; }
  .tl-item { grid-template-columns: 1fr; gap: var(--sp-2); padding-left: var(--sp-6); padding-bottom: var(--sp-6); }
  .tl-year { text-align: left; padding: 0; }
  .tl-body { padding-left: 0; }
  .tl-body::before { left: calc(-1 * var(--sp-6) - 5.5px + 0.34rem); top: 0.4rem; }

  .fact-table th { width: auto; display: block; padding-bottom: var(--sp-1); border-bottom: 0; }
  .fact-table td { display: block; padding-top: 0; }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .seat-nav { flex-direction: column; gap: var(--sp-4); }
  .seat-nav a { max-width: 100%; }
  .seat-nav .sn-next { margin-left: 0; text-align: left; }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .next-steps, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: #fff; color: #000; padding-block: 1rem; }
  .hero h1, .hero-sub { color: #000; }
  a { text-decoration: underline; color: #000; }
  .member-card, .doc-card { break-inside: avoid; border: 1px solid #999; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .member-card:hover, .doc-card:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --text-mid: #333b45;
    --text-muted: #4a525d;
    --rule: #b8b1a0;
    --brass: #7a5d28;
  }
}

/* Archived roster cards — a record, not a link */
.member-card.is-static { cursor: default; }
.member-card.is-static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--rule);
}
.member-card.is-static:hover .mc-name { color: var(--ink); }
.member-card.is-static .mc-more { color: var(--text-muted); }
