:root {
  --paper: #f8f5ee;
  --paper-2: #efeadd;
  --ink: #1b1b18;
  --ink-soft: #4a4a42;
  --pine: #22402f;
  --pine-2: #2f5941;
  --ochre: #b3711a;
  --rule: #d8d2c2;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.eyebrow,
.brand,
.btn,
nav a,
.tally-num,
.issue-num {
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: var(--pine-2);
}
a:hover {
  color: var(--ochre);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

/* ---------- Voter registration banner ---------- */
.vote-banner {
  background: var(--pine);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.vote-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
}
.vote-banner-text {
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0;
  color: #f1f4f0;
}
.vote-banner-btn {
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: #e7c98a;
  color: var(--pine);
  padding: 9px 18px;
  border-radius: 2px;
  border: 2px solid #e7c98a;
  white-space: nowrap;
  flex: 0 0 auto;
}
.vote-banner-btn:hover {
  background: #f0d9a4;
  border-color: #f0d9a4;
  color: var(--pine);
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 238, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.1) blur(4px);
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--pine);
  text-decoration: none;
}
.brand span {
  color: var(--ochre);
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}
nav a:hover {
  color: var(--ochre);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--pine);
}
.office {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--ink);
  margin: 0 0 24px;
}
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--ink);
  margin: 0 0 30px;
  max-width: 34ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 2px;
  border: 2px solid var(--pine);
  cursor: pointer;
}
.btn-solid {
  background: var(--pine);
  color: #fff;
}
.btn-solid:hover {
  background: var(--pine-2);
  border-color: var(--pine-2);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--pine);
}
.btn-ghost:hover {
  background: var(--pine);
  color: #fff;
}

/* Photo */
.portrait {
  position: relative;
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.photo-ph {
  aspect-ratio: 4/5;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--paper-2) 0 14px,
    #e7e1d1 14px 28px
  );
  border: 2px dashed var(--pine-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--pine);
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 24px;
}

/* ---------- Section scaffolding ---------- */
section {
  padding: clamp(44px, 6vw, 80px) 0;
}
.section-head {
  max-width: 60ch;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--pine);
  margin: 0 0 14px;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.band {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---------- Issues ---------- */
.issues {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 860px) {
  .issues {
    grid-template-columns: 1fr;
    max-width: 44ch;
  }
}
.issue {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(22px, 3vw, 30px);
}
.band .issue {
  background: #fff;
}
.issue-num {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ochre);
  text-transform: uppercase;
  display: block;
  margin: 0 0 12px;
}
.issue h3 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--pine);
  margin: 0 0 12px;
}
.issue p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

/* ---------- About + tally ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-body p {
  margin: 0 0 18px;
}
.about-body p:last-child {
  margin-bottom: 0;
}
.pull {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pine);
  border-left: 4px solid var(--ochre);
  padding-left: 18px;
  margin: 4px 0 24px;
  line-height: 1.35;
}

.tally {
  background: var(--pine);
  color: #fff;
  border-radius: 4px;
  padding: clamp(26px, 4vw, 36px);
}
.tally .eyebrow {
  color: #e7c98a;
  margin-bottom: 14px;
}
.tally-num {
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tally-of {
  font-family: "Newsreader", serif;
  font-size: 1.05rem;
  color: #cfe0d4;
  margin: 8px 0 20px;
}
.meter {
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
}
.meter > i {
  display: block;
  height: 100%;
  width: 0;
  background: #e7c98a;
  border-radius: 20px;
  transition: width 1.1s ease;
}
@media (prefers-reduced-motion: reduce) {
  .meter > i {
    transition: none;
  }
}
.tally-note {
  font-size: 0.98rem;
  color: #cfe0d4;
  margin: 18px 0 0;
}
.tally-hero {
  margin-top: 30px;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3vw, 26px) clamp(24px, 3.5vw, 30px);
}
.tally-label {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
}
.tally-hero .tally-num {
  font-size: clamp(3rem, 9vw, 4rem);
  color: #e7c98a;
  flex: 0 0 auto;
  line-height: 1;
}
.about-body {
  max-width: 62ch;
}

/* ---------- Signup ---------- */
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 760px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }
}
form.subscribe {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}
form.subscribe label {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
form.subscribe input {
  font-family: "Newsreader", serif;
  font-size: 1.05rem;
  padding: 15px 16px;
  border: 2px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
form.subscribe input:focus {
  border-color: var(--pine);
}
form.subscribe textarea {
  font-family: "Newsreader", serif;
  font-size: 1.05rem;
  padding: 15px 16px;
  border: 2px solid var(--rule);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  resize: vertical;
  min-height: 120px;
}
form.subscribe textarea:focus {
  border-color: var(--pine);
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: "Newsreader", serif;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}
.check-row span {
  line-height: 1.4;
}
/* Honeypot — visually hidden from people, still fillable by bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fine {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--pine);
  color: #dfe7e0;
  padding: 44px 0;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: baseline;
}
footer .brand-f {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
footer a {
  color: #e7c98a;
}
footer a:hover {
  color: #fff;
}
.paidfor {
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a9bcb0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 8px;
}

/* ---------- Clickable "sourced" cards + evidence modal ---------- */
.issue--sourced {
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.issue--sourced:hover,
.issue--sourced:focus-within {
  transform: translateY(-3px);
  border-color: var(--pine-2);
  box-shadow: 0 10px 24px rgba(27, 27, 24, 0.12);
}
.evidence-cue { margin-top: 16px; }
.evidence-btn {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ochre);
  background: transparent; border: 0; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.evidence-btn .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ochre);
  opacity: 0.5; transition: opacity 0.15s ease, transform 0.15s ease;
}
.issue--sourced:hover .evidence-btn .dot,
.issue--sourced:focus-within .evidence-btn .dot { opacity: 1; transform: scale(1.3); }
.evidence-btn .arrow { transition: transform 0.15s ease; }
.issue--sourced:hover .evidence-btn .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .issue--sourced, .evidence-btn .dot, .evidence-btn .arrow { transition: none; }
  .issue--sourced:hover, .issue--sourced:focus-within { transform: none; }
}
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(27, 27, 24, 0.55);
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule);
  border-radius: 4px; max-width: 480px; width: 100%; max-height: 85vh; overflow: auto;
  padding: 32px; box-shadow: 0 24px 60px rgba(27, 27, 24, 0.35); position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  font-family: "Libre Franklin", sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1;
  background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; padding: 4px 8px;
}
.modal-close:hover { color: var(--ochre); }
.modal-sub {
  font-family: "Libre Franklin", sans-serif; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ochre); margin: 0 0 6px;
}
.modal h2 {
  font-family: "Libre Franklin", sans-serif; font-size: 1.4rem; font-weight: 800;
  color: var(--pine); margin: 0 0 18px; line-height: 1.1;
}
.modal ul { list-style: none; margin: 0; padding: 0; }
.modal li { border-top: 1px solid var(--rule); }
.modal li:last-child { border-bottom: 1px solid var(--rule); }
.modal li a {
  display: block; padding: 14px 2px; text-decoration: none; color: var(--pine-2);
  font-family: "Libre Franklin", sans-serif; font-weight: 600; font-size: 0.98rem; line-height: 1.3;
}
.modal li a:hover { color: var(--ochre); }
.modal li a .src { display: block; font-weight: 400; font-size: 0.82rem; color: var(--ink-soft); margin-top: 3px; }
/* Non-clickable note for the unsourced priority card */
.no-evidence {
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.no-evidence::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre);
  opacity: 0.5;
}

/* Group the two hero tallies as a pair */
.tally-hero + .tally-hero {
  margin-top: 16px;
}

/* ---------- What I'm hearing (doorstep concerns) ---------- */
.hearing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hearing-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 26px) 0;
  border-top: 1px solid var(--rule);
}
.hearing-item:last-child {
  border-bottom: 1px solid var(--rule);
}
.hearing-label {
  display: block;
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 8px;
}
.hearing-label-take {
  color: var(--pine-2);
}
.hearing-concern p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink);
}
.hearing-take {
  border-left: 3px solid var(--ochre);
  padding-left: clamp(14px, 2vw, 20px);
}
.hearing-take p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hearing-invite {
  margin: clamp(22px, 4vw, 30px) 0 0;
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .hearing-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---------- Scrollable "At the door" list ---------- */
.hearing-scroll-wrap {
  position: relative;
}
.hearing-scroll {
  max-height: 440px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.hearing-scroll::-webkit-scrollbar {
  width: 8px;
}
.hearing-scroll::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 20px;
}
.hearing-scroll::-webkit-scrollbar-track {
  background: transparent;
}
/* Soft fade cue at the bottom, hidden when there's nothing more to scroll */
.hearing-scroll-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 0;
  height: 52px;
  background: linear-gradient(to bottom, rgba(248, 245, 238, 0), var(--paper));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.hearing-scroll-wrap.at-end::after,
.hearing-scroll-wrap.no-scroll::after {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hearing-scroll-wrap::after {
    transition: none;
  }
}
