/* =========================================================================
   Britini Port for Chelan County Tax Assessor — v2
   Design system: issue-led, evidence-backed, modern editorial
   ========================================================================= */

:root {
  /* Type */
  --font-display: "Fraunces", "Libre Baskerville", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Color — confident editorial palette */
  --ink: #0a1f3a;
  --ink-2: #1f3654;
  --ink-soft: #4a5b73;
  --paper: #fbf8f1;
  --paper-2: #f5efe1;
  --paper-warm: #f8f1de;
  --copper: #c8542d;
  --copper-dark: #9c3e1f;
  --gold: #e8b652;
  --sage: #4a6c5d;
  --sage-dark: #2f4a3f;
  --rust: #8a3a1a;
  --line: rgba(10, 31, 58, 0.12);
  --line-soft: rgba(10, 31, 58, 0.06);

  /* Shape */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(10, 31, 58, 0.04), 0 1px 2px rgba(10, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 58, 0.08), 0 2px 6px rgba(10, 31, 58, 0.05);
  --shadow-lg: 0 24px 60px rgba(10, 31, 58, 0.12), 0 4px 12px rgba(10, 31, 58, 0.06);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: 1.5rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

a { color: inherit; }

p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 0;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; font-weight: 600; }

button, input, textarea, select { font: inherit; color: inherit; }

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

/* ---------- Layout primitives ---------- */
.container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 var(--gutter);
  width: 100%;
}

.container-narrow {
  margin: 0 auto;
  max-width: var(--container-narrow);
  padding: 0 var(--gutter);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow {
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 60ch;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
  transform: translateY(-200%);
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 6.5rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(251, 248, 241, 0.85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  z-index: -1;
  pointer-events: none;
}

.announce {
  background: var(--ink);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.45rem var(--gutter);
  text-align: center;
}
.announce strong { color: var(--gold); font-weight: 700; }
.announce a { color: var(--gold); font-weight: 600; margin-left: 0.6rem; text-decoration: underline; text-underline-offset: 3px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.05em;
  border: 2px solid var(--gold);
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-text small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.nav-links a:not(.btn) {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile-only Donate menu item; hidden on desktop */
.nav-links .nav-donate-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 6px 14px rgba(200, 84, 45, 0.25);
}
.btn-primary:hover { background: var(--copper-dark); }

.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: var(--ink-2); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

.btn-arrow::after {
  content: "→";
  font-weight: 400;
  transition: transform 200ms ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero (issue-led) ---------- */
.hero {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60rem 30rem at 80% -10%, rgba(232, 182, 82, 0.18), transparent 60%),
    radial-gradient(ellipse 50rem 25rem at -10% 90%, rgba(74, 108, 93, 0.10), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 0.5rem;
}

.hero-copy h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--copper);
}

.hero-lede {
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--ink-soft);
  max-width: 55ch;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-card-blurb {
  padding: 1.25rem 1.5rem 1.75rem;
  color: var(--ink-soft);
  text-align: center;
}

.hero-card-blurb p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-donate-wrap {
  display: none;
  text-align: center;
  margin-top: 1.25rem;
}

.hero-donate-btn {
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--ink);
  color: #fff;
  padding: 2.5rem 0;
}

.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  border-left: 2px solid rgba(232, 182, 82, 0.35);
  padding-left: 1.25rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ---------- Issue cards (problem-led) ---------- */
.issue-section {
  background: var(--paper);
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.issue-group {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.issue-group:first-of-type {
  margin-top: 4.5rem;
}

.issue-group-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.005em;
  color: var(--copper-dark);
  margin: 0;
  text-transform: none;
  white-space: nowrap;
}

.issue-group::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

@media (max-width: 560px) {
  .issue-group { flex-wrap: wrap; }
  .issue-group-title { white-space: normal; }
}

.issue-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-decoration: none;
  color: inherit;
}

.issue-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.issue-card .issue-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.issue-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}

.issue-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}

.issue-card .issue-data {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-2);
  font-style: italic;
}

.issue-card .issue-data strong {
  color: var(--copper);
  font-weight: 600;
  font-style: normal;
  font-family: var(--font-body);
}

.section-intro-center {
  max-width: 90ch;
  margin: 0 auto;
  text-align: center;
}

.section-intro-center .lede {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.block-headline {
  margin-top: 3.5rem;
  margin-bottom: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section + .section .block-headline:first-child,
section.section > .container > .block-headline:first-child {
  margin-top: 0;
}

#the-issues + #the-plan {
  padding-top: 0;
}

.issue-section {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.block-headline small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--rust);
  padding: 0.35rem 0;
}

.block-lede {
  max-width: 80ch;
  margin-bottom: 0.5rem;
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-soft) 15%, var(--ink-soft) 85%, transparent);
  opacity: 0.55;
  margin: 2.5rem auto 0;
  max-width: 960px;
}

/* ---------- Full-width issue blocks ---------- */
.issue-block {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 0.85rem;
}

.issue-block-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.015em;
  color: var(--copper-dark);
  margin: 2.75rem 0 0.85rem 0;
}

.issue-block-title:first-of-type {
  margin-top: 3.5rem;
}

.issue-block p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.issue-block p + p {
  margin-top: 0.85rem;
}

.issue-block-list {
  margin: 1rem 0 0 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.issue-block-list li + li {
  margin-top: 0.85rem;
}

/* ---------- Two-up sections ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split-stick > div:first-child {
  position: sticky;
  top: 7rem;
}

.prose {
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.prose p + p { margin-top: 1.1rem; }

.prose h3 { margin-top: 2rem; margin-bottom: 0.6rem; }

.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--copper);
  background: var(--paper-warm);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.prose ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.prose li { margin: 0.4rem 0; }

/* ---------- Tool callout (CCTAS feature) ---------- */
.tool-callout {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, var(--sage-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.tool-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30rem 18rem at 90% 0%, rgba(232, 182, 82, 0.25), transparent 60%),
    radial-gradient(ellipse 25rem 15rem at 0% 100%, rgba(200, 84, 45, 0.20), transparent 60%);
  pointer-events: none;
}

.tool-callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tool-callout h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.03em;
}

.tool-callout p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
}

.tool-callout .eyebrow {
  color: var(--gold);
}

.tool-callout-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.tool-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.tool-preview .preview-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.tool-preview .preview-row:last-child { border-bottom: 0; }
.tool-preview .preview-row span:first-child { color: rgba(255, 255, 255, 0.6); }
.tool-preview .preview-row span:last-child { color: var(--gold); font-weight: 600; }

.tool-preview .preview-flag {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--copper);
  font-weight: 600;
}

/* ---------- Priorities (3-up) ---------- */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.priorities-grid.two-up {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.priority {
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line-soft);
  position: relative;
}

.priority-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.priority-icon svg { width: 22px; height: 22px; }

.priority h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

.priority p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }

.priority ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

.priority li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}

.priority li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 14px;
  height: 2px;
  background: var(--copper);
}

/* ---------- Evidence section (data findings) ---------- */
.evidence-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.evidence-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2.5rem 0 3rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.evidence-stat {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  text-align: left;
}

.evidence-stat:last-child { border-right: 0; }

.evidence-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--copper);
}

.evidence-stat .label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.evidence-stat .sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.evidence-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* ---------- Per-row value bar (Assessed Value · Sale · Model) ---------- */
.evidence-table th.bar-col {
  text-align: left;
  width: 22%;
  min-width: 160px;
}

.evidence-table .bar-cell {
  padding: 0.6rem 0.9rem;
}

.value-bar {
  position: relative;
  width: 100%;
  height: 14px;
  background: var(--paper-2);
  border-radius: 999px;
}

.value-bar::after {
  content: "";
  position: absolute;
  inset: 6px 0;
  background: var(--line-soft);
  border-radius: 999px;
}

.value-bar .tick {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  z-index: 1;
}

.value-bar .tick.av    { background: var(--copper-dark); }
.value-bar .tick.sale  { background: var(--gold); }
.value-bar .tick.model { background: var(--ink); }

.value-bar .tick::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 4px);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}

.value-bar:hover .tick::after,
.value-bar .tick:focus-visible::after {
  opacity: 1;
}

.value-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.85rem 0 0.25rem;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.value-bar-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.value-bar-legend .swatch.av    { background: var(--copper-dark); }
.value-bar-legend .swatch.sale  { background: var(--gold); }
.value-bar-legend .swatch.model { background: var(--ink); }

.evidence-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.evidence-card-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.evidence-card-head .card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  margin-bottom: 0.55rem;
}

.evidence-card-head .card-eyebrow.under { color: var(--rust); }
.evidence-card-head .card-eyebrow.over { color: var(--copper); }

.evidence-card-head h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}

.evidence-card-head p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.evidence-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 0.7rem 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.evidence-table thead th.num { text-align: right; }

.evidence-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}

.evidence-table tbody tr:last-child td { border-bottom: 0; }

.evidence-table .addr {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

.evidence-table .addr .redacted {
  display: inline-block;
  color: transparent;
  background: var(--ink-soft);
  border-radius: 3px;
  padding: 0 0.25em;
  filter: blur(2px);
  user-select: none;
  letter-spacing: 0.05em;
  vertical-align: baseline;
  cursor: help;
}

.evidence-table .city {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.evidence-table td.num { text-align: right; white-space: nowrap; }

.evidence-table .av { color: var(--ink); font-weight: 600; }
.evidence-table .model { color: var(--ink-soft); }
.evidence-table .gap { font-weight: 700; }
.evidence-table .gap.under { color: var(--rust); }
.evidence-table .gap.over { color: var(--copper); }

.evidence-card-foot {
  margin-top: auto;
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  font-style: italic;
  line-height: 1.5;
}

.evidence-shortfall {
  margin-top: 2rem;
  margin-bottom: -3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 0;
  background: linear-gradient(135deg, var(--copper) 0%, var(--rust) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.evidence-shortfall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 30rem 18rem at 100% 0%, rgba(232, 182, 82, 0.22), transparent 60%);
  pointer-events: none;
}

.evidence-shortfall > * { position: relative; z-index: 1; }

.evidence-shortfall .figure {
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.evidence-shortfall .figure strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.evidence-shortfall .figure span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.evidence-shortfall .copy {
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evidence-shortfall .copy h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.evidence-shortfall .copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 1rem;
  max-width: 60ch;
}

.evidence-shortfall .copy .footnote {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 860px) {
  .evidence-shortfall {
    grid-template-columns: 1fr;
  }
  .evidence-shortfall .figure {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

.evidence-tools {
  margin-top: 3.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.evidence-tools::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30rem 18rem at 100% 0%, rgba(232, 182, 82, 0.18), transparent 60%);
  pointer-events: none;
}

.evidence-tools > * { position: relative; z-index: 1; }

.evidence-tools .eyebrow { color: var(--gold); }

.evidence-tools h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
}

.evidence-tools p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 1rem;
  max-width: 50ch;
}

.evidence-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .evidence-stats { grid-template-columns: 1fr; }
  .evidence-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-stat:last-child { border-bottom: 0; }
  .evidence-tables { grid-template-columns: 1fr; }
  .evidence-tools { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .evidence-table thead { display: none; }
  .evidence-table tbody td { display: block; padding: 0.4rem 1rem; border-bottom: 0; }
  .evidence-table tbody tr {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .evidence-table tbody tr:last-child { border-bottom: 0; }
  .evidence-table td.num { text-align: left; }
  .evidence-table td.num::before {
    content: attr(data-label) " ";
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 0.5rem;
  }
}

/* ---------- About section ---------- */
.about-section { background: var(--paper-2); }

.about-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.about-photo {
  padding: 1.25rem;
  height: auto;
  min-height: 0;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  padding: 1rem;
}

.about-body {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-body h2 { margin-bottom: 0.85rem; }

.about-body p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }

.about-body p + p { margin-top: 1rem; }

/* ---------- Quote / pullout ---------- */
.pullquote {
  background: var(--ink);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.pullquote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50rem 25rem at 50% 0%, rgba(232, 182, 82, 0.16), transparent 60%);
}

.pullquote-content {
  position: relative;
  text-align: center;
  max-width: 36ch;
  margin: 0 auto;
}

.pullquote-content::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pullquote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.pullquote cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Vote / get involved ---------- */
.action-section {
  background: var(--paper);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.action-grid.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.action-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper);
}

.action-card-feature {
  background: linear-gradient(155deg, var(--copper) 0%, var(--rust) 100%);
  color: #fff;
  border-color: transparent;
}

.action-card-feature:hover { border-color: transparent; }

.action-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.action-card-feature h3 { color: #fff; }

.action-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.action-card-feature p { color: rgba(255, 255, 255, 0.92); }

.action-card .action-link {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.action-card-feature .action-link { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
  border-color: var(--copper);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--copper);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 220ms ease, background 220ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--copper);
  color: #fff;
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 70ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50rem 28rem at 90% 30%, rgba(232, 182, 82, 0.18), transparent 60%),
    radial-gradient(ellipse 40rem 22rem at 0% 80%, rgba(200, 84, 45, 0.18), transparent 60%);
}

.final-cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.final-cta h2 { color: #fff; }

.final-cta p { color: rgba(255, 255, 255, 0.82); margin-top: 1rem; max-width: 50ch; }

.signup {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem;
}

.signup input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0.6rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  min-width: 0;
}

.signup input::placeholder { color: rgba(255, 255, 255, 0.6); }

/* ---------- Footer ---------- */
.site-footer {
  background: #050d1a;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.25rem 0;
  transition: color 160ms ease;
}

.footer-grid a:hover { color: var(--gold); }

.footer-brand { color: rgba(255, 255, 255, 0.86); }

.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }

.footer-brand .brand-text strong { color: #fff; }

.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.5); }

.footer-tagline {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-meta .paid {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 50rem 20rem at 100% 0%, rgba(232, 182, 82, 0.14), transparent 60%),
    var(--paper);
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  max-width: 22ch;
}

.page-hero .lede { margin-top: 1.5rem; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--copper); }

.breadcrumb span { color: var(--line); }

/* ---------- Issue-detail components (issues.html) ---------- */
.issue-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--line-soft);
}

.issue-detail:first-of-type { border-top: 0; }

.issue-detail .issue-meta .issue-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.issue-detail h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.issue-detail .issue-summary {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.fact-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.fact-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--copper);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact-card span {
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ---------- Plan / commitments (plan.html) ---------- */
.plan-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.commitment {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.commitment .commitment-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3rem;
  line-height: 0.85;
  color: var(--copper);
  letter-spacing: -0.05em;
}

.commitment h3 { margin-bottom: 0.5rem; }

.commitment p { color: var(--ink-soft); line-height: 1.55; }

.commitment .timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.35rem 0.8rem;
  background: var(--paper-warm);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* ---------- Candidate site (electbritiniport.html) ----------
   A distinctly different palette from the campaign site:
   - Deep forest green primary (instead of navy) — agricultural heritage
   - Terracotta / clay accent (instead of copper) — warmer, more personal
   - Honey gold highlight (instead of bright gold) — softer
   - Parchment paper (instead of cream) — heritage feel
*/
.candidate-site {
  --ink: #1d3324;
  --ink-2: #2d4a36;
  --ink-soft: #4f6a55;
  --paper: #f7f0df;
  --paper-2: #efe5cc;
  --paper-warm: #ebdfc1;
  --copper: #b8472b;
  --copper-dark: #8a3220;
  --rust: #6e2818;
  --gold: #d9a23a;
  --sage: #5d7a4f;
  --sage-dark: #2d4a36;
  --line: rgba(29, 51, 36, 0.14);
  --line-soft: rgba(29, 51, 36, 0.06);
  --shadow-sm: 0 2px 8px rgba(29, 51, 36, 0.05), 0 1px 2px rgba(29, 51, 36, 0.07);
  --shadow-md: 0 8px 24px rgba(29, 51, 36, 0.10), 0 2px 6px rgba(29, 51, 36, 0.06);
  --shadow-lg: 0 24px 60px rgba(29, 51, 36, 0.14), 0 4px 12px rgba(29, 51, 36, 0.07);
}

.candidate-site .site-header {
  background: rgba(247, 240, 223, 0.88);
}

.candidate-site .announce {
  background: var(--ink);
}

.candidate-site .announce strong,
.candidate-site .announce a {
  color: var(--gold);
}

.candidate-site .brand-mark {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--gold);
}

.candidate-site .nav-links a:not(.btn)::after {
  background: var(--copper);
}

/* Cards and surfaces use a warm cream rather than pure white */
.candidate-site .priority,
.candidate-site .commitment,
.candidate-site .issue-card,
.candidate-site .action-card,
.candidate-site .faq-item,
.candidate-site .fact-card {
  background: #fffaf0;
}

.candidate-site .priority {
  background: var(--paper-warm);
}

/* Stat strips and dark sections use forest green instead of navy */
.candidate-site .stat-strip,
.candidate-site .pullquote,
.candidate-site .final-cta,
.candidate-site .candidate-facts {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 100%);
}

.candidate-site .pullquote::before {
  background: radial-gradient(ellipse 50rem 25rem at 50% 0%, rgba(217, 162, 58, 0.18), transparent 60%);
}

.candidate-site .final-cta::before {
  background:
    radial-gradient(ellipse 50rem 28rem at 90% 30%, rgba(217, 162, 58, 0.20), transparent 60%),
    radial-gradient(ellipse 40rem 22rem at 0% 80%, rgba(184, 71, 43, 0.18), transparent 60%);
}

.candidate-site .footer-brand .brand-mark {
  background: var(--gold);
  color: var(--ink);
  border-color: rgba(247, 240, 223, 0.3);
}

.candidate-site .site-footer {
  background: #0f1c13;
}

/* Tool-callout style dark surfaces */
.candidate-site .tool-callout {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, var(--rust) 100%);
}

/* Hero gradient on the candidate hero — warmer and greener */
.candidate-site .candidate-hero {
  background:
    radial-gradient(ellipse 60rem 30rem at 100% -10%, rgba(217, 162, 58, 0.22), transparent 60%),
    radial-gradient(ellipse 50rem 25rem at -10% 90%, rgba(93, 122, 79, 0.18), transparent 60%);
}

/* Buttons */
.candidate-site .btn-ink {
  background: var(--ink);
}
.candidate-site .btn-ink:hover { background: var(--ink-2); }

.candidate-site .btn-primary {
  background: var(--copper);
  box-shadow: 0 6px 14px rgba(184, 71, 43, 0.28);
}
.candidate-site .btn-primary:hover { background: var(--copper-dark); }

.candidate-site .btn-gold {
  background: var(--gold);
  color: var(--ink);
}

/* Eyebrow color shifts to deeper terracotta on warm paper */
.candidate-site .eyebrow { color: var(--copper-dark); }
.candidate-site .pullquote .eyebrow,
.candidate-site .final-cta .eyebrow { color: var(--gold); }

.candidate-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60rem 30rem at 100% -10%, rgba(232, 182, 82, 0.20), transparent 60%),
    radial-gradient(ellipse 50rem 25rem at -10% 90%, rgba(107, 138, 93, 0.14), transparent 60%);
}

.candidate-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.candidate-hero-copy h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--copper);
}

.candidate-hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}

.candidate-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.candidate-hero-frame {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius-xl) + 6px);
  pointer-events: none;
  opacity: 0.6;
  z-index: -1;
}

.candidate-hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 31, 58, 0.35));
  pointer-events: none;
}

.candidate-ghost {
  background: rgba(255, 255, 255, 0.55);
}

.candidate-facts {
  background: var(--ink);
  color: #fff;
  padding: 2.25rem 0;
}

.candidate-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.candidate-facts > .container > div,
.candidate-facts-grid > div {
  border-left: 2px solid rgba(232, 182, 82, 0.35);
  padding-left: 1.25rem;
}

.candidate-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.candidate-facts span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .candidate-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 860px) {
  .candidate-hero-grid { grid-template-columns: 1fr; }
  .candidate-hero-portrait { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .candidate-facts-grid { grid-template-columns: 1fr; }
}

/* ---------- Tool page specific ---------- */
.tool-hero {
  background: linear-gradient(165deg, var(--ink) 0%, var(--sage-dark) 100%);
  color: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.tool-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60rem 30rem at 100% 0%, rgba(232, 182, 82, 0.20), transparent 60%);
}

.tool-hero-content { position: relative; }
.tool-hero h1 { color: #fff; }
.tool-hero .lede { color: rgba(255, 255, 255, 0.82); }

.tool-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.tool-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}

.tool-feature h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.tool-feature p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  overflow-y: auto;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 30, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 220ms ease;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin: auto;
  animation: modal-in 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease;
}

.modal-close:hover {
  background: var(--ink);
  color: #fff;
}

.modal h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  max-width: 22ch;
}

.modal-lede {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.modal .placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.85rem;
  background: rgba(232, 182, 82, 0.18);
  border: 1px solid rgba(232, 182, 82, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.modal-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  font-size: 1rem;
  color: var(--ink);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
  font-family: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(200, 84, 45, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}

@media (max-width: 560px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: border-color 160ms ease, background 160ms ease;
}

.checkbox:hover { border-color: var(--copper); }

.checkbox input {
  margin: 2px 0 0;
  accent-color: var(--copper);
  flex-shrink: 0;
}

.checkbox span { color: var(--ink); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

@media (max-width: 560px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

.amount-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.amount-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-pill:hover { border-color: var(--copper); }

.amount-pill:has(input:checked) {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.modal-actions .btn { flex: 1 1 auto; justify-content: center; }

.modal-fineprint {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.modal-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.modal-success.is-shown { display: block; }

.modal-success .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  margin-bottom: 1rem;
}

.modal-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto;
}

body.modal-open { overflow: hidden; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .priorities-grid { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tool-features { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    background: var(--ink);
    border-bottom: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
    z-index: 40;
  }

  .nav-links[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.9rem var(--gutter);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:not(.btn):first-child { border-top: none; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { display: none; }
  .nav-links .nav-donate-mobile { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { aspect-ratio: auto; max-width: 480px; margin: 0 auto; }
  .hero-card img { aspect-ratio: 4 / 5; }
  .hero-donate-wrap { display: block; }

  .issue-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-stick > div:first-child { position: static; }

  .tool-callout-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-card { grid-template-columns: 1fr; }
  .final-cta-grid { grid-template-columns: 1fr; }
  .issue-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .commitment { grid-template-columns: 1fr; gap: 0.75rem; }
  .commitment .commitment-num { font-size: 2.25rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .announce {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
  .announce a { display: block; margin-left: 0; margin-top: 0.15rem; }

  .stat-strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; justify-content: center; }
  .signup { flex-direction: column; border-radius: var(--radius-md); }
  .signup .btn { width: 100%; justify-content: center; }

  .brand-text small { display: none; }
}
