/* ============================================================
   VoteMovement Hub — styles.css
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Variables --- */
:root {
  --navy: #1a2744;
  --red: #c8371a;
  --white: #ffffff;
  --light: #f4f6fb;
  --muted: #6b7280;
  --border: #e5e7eb;
  --gold: #c49a2b;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  padding-top: 72px;
}

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

a {
  color: inherit;
}

/* ============================================================
   GLOBAL BAR
   ============================================================ */
.vm-global-bar {
  background: #1a2744;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 32px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.vm-global-bar a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.vm-global-bar a:hover {
  color: #ffffff;
}

.vm-global-label {
  opacity: 0.55;
  flex-shrink: 0;
}

.vm-global-logo .vote {
  color: #ffffff;
  font-weight: 600;
}

.vm-global-logo .movement {
  color: #c8371a;
  font-weight: 600;
}

.vm-global-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}

.vm-global-cta {
  background: #c8371a;
  color: #ffffff !important;
  padding: 4px 14px;
  border-radius: 100px;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  height: 36px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
}

.logo .vote {
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

.logo .movement {
  color: var(--red);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.btn:hover {
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 67vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 88px 24px;
}

.section-gray {
  background: var(--light);
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.red-rule {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 32px;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card[style*="background-image"] h3,
.card[style*="background-image"] p { color: #ffffff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.card[style*="background-image"] { position: relative; }
.card[style*="background-image"]::before { content:''; position:absolute; inset:0; background:rgba(26,39,68,0.55); border-radius:4px; }
.card[style*="background-image"] > * { position:relative; z-index:1; }

.card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CALLOUT STRIP
   ============================================================ */
.callout-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e8ecf5;
}

.callout-cell {
  padding: 32px 28px;
  font-family: 'Inter', sans-serif;
  border-right: 1px solid rgba(26, 39, 68, 0.15);
}

.callout-cell:last-child {
  border-right: none;
}

.callout-cell p {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: 64px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.stat-cell {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin: 8px 0 4px;
}

.stat-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   INITIATIVE CARDS
   ============================================================ */
.initiative-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}

.initiative-card {
  padding: 48px 40px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.initiative-card-dark {
  background: #0f0f0f;
}

.initiative-card-dark:hover {
  background: #1a1a1a;
}

.initiative-card-navy {
  background: var(--navy);
}

.initiative-card-navy:hover {
  background: #223060;
}

.initiative-card-light {
  background: var(--light);
}

.initiative-card-light:hover {
  background: #e8ecf5;
}

.initiative-card-light h3 {
  color: var(--navy);
}

.initiative-card-light p {
  color: var(--muted);
}

.initiative-card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 10px;
}

.initiative-card-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 4rem;
  opacity: 0.12;
  margin-bottom: -8px;
  color: var(--white);
  line-height: 1;
}

.initiative-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.initiative-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.initiative-card-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .logo .vote {
  color: var(--white);
}

.footer-brand .logo .movement {
  color: var(--red);
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* iOS: prevent auto-zoom on input focus */
input, select, textarea { font-size: 16px; }

.form-row input[type="email"],
.form-row input[type="text"] {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 3px;
  flex: 1 1 220px;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus {
  border-color: var(--navy);
}

.form-confirm {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #065f46;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 32px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   INITIATIVE DETAIL CARDS (works-in-progress)
   ============================================================ */
.initiative-block {
  padding: 64px 24px;
}

.initiative-block-dark {
  background: #0f0f0f;
}

.initiative-block-navy {
  background: var(--navy);
}

.initiative-block-inner {
  max-width: 900px;
  margin: 0 auto;
}

.initiative-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  background: rgba(200, 55, 26, 0.12);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.initiative-block h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 8px;
}

.initiative-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.initiative-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 36px;
}

.initiative-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.initiative-stat {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.initiative-stat:last-child {
  border-right: none;
}

.initiative-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 6px;
}

.initiative-stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.initiative-subpages {
  list-style: none;
  margin-bottom: 8px;
}

.initiative-subpages li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.initiative-subpages li::before {
  content: '→';
  color: var(--red);
  font-size: 0.78rem;
}

/* Tools strip */
.tools-strip {
  padding: 56px 24px;
  background: var(--light);
}

.tools-strip-inner {
  max-width: 900px;
  margin: 0 auto;
}

.tools-strip h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.tools-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tool-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-link:hover {
  border-color: var(--navy);
  color: var(--red);
}

/* Placeholder future section */
.future-section {
  padding: 72px 24px;
  text-align: center;
}

.future-section h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.future-section p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* Support way cards */
.way-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Contact section */
.contact-section {
  padding: 72px 24px;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-section p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.contact-email-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.contact-email-link:hover {
  color: var(--red);
}

/* About section body text */
.section-body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 800px;
}

.section-body + .section-body {
  margin-top: 20px;
}

/* About initiatives pair */
.about-initiatives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.about-initiative-card {
  display: block;
  padding: 32px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.about-initiative-card:hover {
  opacity: 0.9;
}

.about-initiative-card-dark {
  background: #0f0f0f;
}

.about-initiative-card-navy {
  background: var(--navy);
}

.about-initiative-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.about-initiative-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-initiative-card .arrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   KEY POINT TICKER
   ============================================================ */
.kpt-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.kpt-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 24px;
  align-items: center;
}

.kpt-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.kpt-display {
  border-left: 2px solid var(--red);
  padding-left: 20px;
}

.kpt-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.7;
  opacity: 1;
  transition: opacity 0.9s ease;
  margin: 0;
}

.kpt-text.fade {
  opacity: 0;
}

/* ============================================================
   FOUNDER / ABOUT TWO-COLUMN LAYOUT
   ============================================================ */
.founder-layout {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 48px;
  align-items: start;
}

.founder-text {
  min-width: 0;
}

.principles-col {
  height: 320px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.principles-track {
  display: flex;
  flex-direction: column;
  animation: scrollPrinciples 16s linear infinite;
}

.principle-card {
  min-height: 320px;
  width: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 24px;
  text-align: center;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.principle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 39, 68, 0.6);
  border-radius: 8px;
}

.principle-card-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.principle-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.principle-card-content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes scrollPrinciples {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-75%); }
}

/* ============================================================
   HUBSPOT FORM WRAPPER
   ============================================================ */
.hs-form-wrapper {
  max-width: 480px;
  margin: 24px 0 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 16px;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .initiative-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .callout-cell {
    border-right: none;
    border-bottom: 1px solid rgba(26, 39, 68, 0.15);
  }

  .callout-cell:last-child {
    border-bottom: none;
  }

  .about-initiatives {
    grid-template-columns: 1fr;
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .principles-col {
    height: auto;
    overflow: visible;
  }

  .principles-track {
    animation: none;
  }

  .principle-card {
    min-height: 220px;
    margin-bottom: 16px;
  }

  .kpt-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpt-display {
    border-left: none;
    border-top: 2px solid var(--red);
    padding-left: 0;
    padding-top: 12px;
  }

  .initiative-stats-row {
    grid-template-columns: 1fr;
  }

  .vm-global-links {
    gap: 8px;
  }

  .vm-global-bar {
    padding: 0 16px;
    font-size: 0.65rem;
  }

  .vm-global-cta {
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 60vh;
  }

  .btn {
    min-height: 44px;
  }

  .kpt-section {
    padding: 28px 0;
  }

  .kpt-text {
    font-size: 0.95rem;
  }

  body { padding-top: 36px; }
  .filter-bar { top: 36px; }
  .section { padding: 64px 20px; }
  .hero-28th { padding: 101px 20px 67px; min-height: 0; }
  .hero.hero-gerrymandering { padding: 72px 20px 48px; min-height: 67vh; }
}

@media (max-width: 600px) { .vm-global-links a:not(.vm-global-cta) { display: none; } }

/* ============================================================
   MOBILE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 67vh;
  }

  .section {
    padding: 56px 20px;
  }

  .vm-global-links .vm-global-label,
  .vm-global-links a:not(.vm-global-cta) {
    display: none;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .tools-links {
    flex-direction: column;
  }

  body { padding-top: 36px; }
  .hero-28th { padding: 84px 16px 56px; min-height: 0; }
  .hero.hero-gerrymandering { padding: 60px 16px 40px; min-height: 67vh; }
  .email-form { flex-direction: column; }
  .email-form input { border-radius: 3px; width: 100%; }
  .email-form button { border-radius: 3px; width: 100%; text-align: center; }
}

/* ============================================================
   28TH AMENDMENT SUBSECTION STYLES
   ============================================================ */

/* --- Logo variants --- */
.logo-28 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--red);
}
.logo-amend {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
  margin-left: 4px;
}

/* --- Nav CTA button --- */
.nav-cta-btn {
  background: var(--red);
  color: white !important;
  padding: 8px 18px;
  border-radius: 100px;
}
.nav-cta-btn:hover { background: #a82c13; }

/* --- Hamburger open state --- */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Section layout utilities --- */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-navy { background: var(--navy); }
.section-light { background: var(--light); }
.section-red { background: var(--red); }
.section-navy .section-heading { color: var(--white); }
.section-red .section-heading { color: var(--white); }
.section-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 680px;
  line-height: 1.7;
}
.section-navy .section-sub { color: rgba(255,255,255,0.65); }
.section-navy .red-rule { background: var(--red); }
.body-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.78;
  color: #374151;
}
.section-navy .body-text { color: rgba(255,255,255,0.75); }
.section-navy .stat-number {
  color: var(--white);
}

/* --- Button variants --- */
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #a82c13; }
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: white; color: white; }

/* --- Hero variants --- */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(200,55,26,0.04) 0px,
    rgba(200,55,26,0.04) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
.hero-sub-red {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 16px;
  max-width: 600px;
}
.hero-counter {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.hero-counter strong {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--white);
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sm {
  min-height: 67vh;
  padding: 80px 40px 60px;
}

/* --- Why grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  margin-top: 40px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  padding: 32px 28px;
  border-bottom: 3px solid transparent;
}
.why-card.accent { border-bottom-color: var(--red); }
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 8px;
}
.why-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* --- Steps / Path --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
}
.step.active .step-dot {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.step-label {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* --- Email form (CTA variant) --- */
.email-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}
.email-form input {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
}
.email-form button {
  background: var(--navy);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  transition: background 0.2s;
  white-space: nowrap;
}
.email-form button:hover { background: #253660; }

/* --- Supporter count --- */
.supporter-count strong {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--white);
}

/* --- State grid (50-state dots) --- */
.state-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  margin-top: 32px;
}
.state-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.state-cell.status-0 { background: var(--border); color: var(--muted); }
.state-cell.status-1 {
  background: rgba(26,122,60,0.15);
  color: #1a7a3c;
  border: 1px solid rgba(26,122,60,0.3);
}
.state-cell.status-2 {
  background: rgba(200,55,26,0.15);
  color: var(--red);
  border: 1px solid rgba(200,55,26,0.3);
}

/* --- FAQ additions --- */
.faq-answer.open { display: block; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer-inner {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 0 16px;
}

/* --- Comparison table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-family: 'Inter', sans-serif;
}
.comparison-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 20px;
  text-align: left;
}
.comparison-table th:first-child { border-radius: 3px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 3px 0 0; }
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #374151;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.comparison-table tr:nth-child(even) td { background: var(--light); }
.comparison-table .col-current { color: var(--muted); }
.comparison-table .col-new { color: #1a7a3c; font-weight: 400; }

/* --- Amendment text block --- */
.amendment-block {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 40px 48px;
  margin: 32px 0;
}
.amendment-block p {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
  margin-bottom: 24px;
}
.amendment-block p:last-child { margin-bottom: 0; }
.amendment-block .section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}
.amendment-disclaimer {
  background: rgba(200,55,26,0.08);
  border-left: 3px solid var(--red);
  padding: 14px 20px;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* --- Timeline (28th Amendment style) --- */
.timeline { margin-top: 40px; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
  padding-left: 72px;
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--red);
  min-width: 48px;
  margin-bottom: 6px;
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  position: absolute;
  left: 21px;
  top: 4px;
  flex-shrink: 0;
}
.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Quote card --- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--red);
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 24px;
  opacity: 0.3;
}
.quote-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 28px;
}
.quote-attr {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}
.quote-attr span { font-weight: 300; color: var(--muted); }

/* --- Stat item (28th amendment style) --- */
.stat-item { text-align: center; }
.stat-item .stat-label {
  color: var(--muted);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  display: block;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* --- Case study sections --- */
.case-study { padding: 80px 24px; }
.case-study-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.case-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.case-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-navy .case-title { color: white; }
.case-body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 28px;
}
.section-navy .case-body { color: rgba(255,255,255,0.7); }
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.before-box, .after-box {
  padding: 20px;
  border-radius: 3px;
}
.before-box {
  background: rgba(200,55,26,0.06);
  border-left: 3px solid rgba(200,55,26,0.4);
}
.after-box {
  background: rgba(26,122,60,0.06);
  border-left: 3px solid rgba(26,122,60,0.4);
}
.ba-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.before-box .ba-label { color: var(--red); }
.after-box .ba-label { color: #1a7a3c; }
.ba-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.65;
}

/* --- Step detail blocks (Path to Passage) --- */
.step-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: start;
}
.step-block-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--muted);
  flex-shrink: 0;
}
.step-block.current .step-block-num {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.step-block-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-block-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}
.step-status {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.status-current { background: rgba(200,55,26,0.1); color: var(--red); }
.status-planning { background: rgba(196,154,43,0.12); color: var(--gold); }
.status-future { background: var(--light); color: var(--muted); }

/* --- Action blocks (Take Action) --- */
.action-block {
  padding: 48px 40px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.action-block-navy {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
}
.action-block-light {
  background: var(--light);
  border: 1px solid var(--border);
}
.action-block h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.action-block-navy h2 { color: white; }
.action-block-light h2 { color: var(--navy); }
.action-block p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.action-block-navy p { color: rgba(255,255,255,0.65); }
.action-block-light p { color: var(--muted); }

/* --- Form groups --- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.action-block-navy .form-group label { color: rgba(255,255,255,0.7); }
.action-block-light .form-group label { color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: white;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.action-block-navy .form-group input,
.action-block-navy .form-group select,
.action-block-navy .form-group textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: white;
}
.action-block-navy .form-group input::placeholder,
.action-block-navy .form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* --- Share grid --- */
.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn-twitter { background: #000; color: white; }
.share-btn-twitter:hover { background: #222; }
.share-btn-copy { background: var(--navy); color: white; }
.share-btn-copy:hover { background: #253660; }
.social-post-preview {
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
  padding: 16px 20px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}

/* --- Congressional list --- */
.congress-list { margin-top: 24px; }
.congress-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.congress-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.congress-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.congress-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--muted);
}

/* --- Footer logo --- */
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 12px;
}

/* --- 28th Amendment mobile --- */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(5, 1fr); }
  .case-study-inner { grid-template-columns: 1fr; gap: 32px; }
  .before-after { grid-template-columns: 1fr; }
  .step-block { grid-template-columns: 1fr; }
  .step-block-num { width: 48px; height: 48px; font-size: 1.2rem; }
  .amendment-block { padding: 28px 24px; }
  .action-block { padding: 32px 24px; }
  .btn-red, .btn-outline-white, .nav-cta-btn { min-height: 44px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .cta-banner h2 { font-size: 1.7rem; }
  .vm-global-links { display: none; }
}

/* ============================================================
   GERRYMANDERING SUBSECTION STYLES
   ============================================================ */

/* --- Hero variants --- */
.hero-short { min-height: 70vh; }
@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 60px); }
}
.hero-grid-bg {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-sub {
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.strike {
  position: relative;
  color: rgba(255,255,255,0.35);
  display: inline-block;
}
.strike::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: var(--red);
  transform: translateY(-50%);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-blue { background: var(--navy); }
.hero-purple { background: var(--navy); }

/* --- Buttons --- */
.btn-primary {
  background: var(--red);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-15deg);
  transition: left 0.4s ease;
}
.btn-primary:hover::after { left: 120%; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

/* --- Section variants --- */
.section-dark { background: var(--navy); }
.section-cream { background: var(--light); }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.section-dark .section-heading { color: var(--white); }
.section-dark .body-text { color: rgba(255,255,255,0.75); }

/* --- Stat strip --- */
.stat-strip {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-strip-cell {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-strip-cell:last-child { border-right: none; }
.stat-big {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}
.stat-strip-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 8px;
}
.stat-strip-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* --- Topic cards grid --- */
.topic-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--red);
}
.topic-card {
  background: var(--navy);
  padding: 40px 36px;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}
.topic-card:hover { background: #253660; }
.topic-card-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 12px;
}
.topic-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}
.topic-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.topic-card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
}
.topic-card:hover .topic-card-link { text-decoration: underline; }

/* --- Timeline text classes (gerrymandering style) --- */
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-dark .timeline-title { color: var(--white); }
.timeline-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}
.section-dark .timeline-desc { color: rgba(255,255,255,0.65); }

/* --- Btn change (email form variant) --- */
.btn-change {
  background: var(--navy);
  border: 2px solid var(--red);
  border-left: none;
  color: var(--red);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  border-radius: 0 3px 3px 0;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}
.btn-change::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 0;
  background: var(--red);
  transition: height 0.4s ease;
  z-index: 0;
}
.btn-change:hover::before { height: 100%; }
.btn-change:hover { color: var(--white); }
.btn-change span { position: relative; z-index: 1; }

/* --- Action cards grid (gerrymandering take-action) --- */
.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.action-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 36px 32px;
  border-radius: 4px;
}
.action-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.action-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.action-form { display: flex; flex-direction: column; gap: 10px; }
.action-form input,
.action-form select,
.action-form textarea {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.action-form input:focus,
.action-form select:focus,
.action-form textarea:focus { border-color: var(--red); }
.action-form select option { background: var(--white); }

/* --- Share buttons (gerrymandering column style) --- */
.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.share-btn-facebook { background: #1877f2; color: #fff; }

/* --- Bar charts --- */
.bar-chart-item { margin-bottom: 16px; }
.bar-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.section-dark .bar-label { color: rgba(255,255,255,0.75); }
.bar-track {
  height: 22px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.section-dark .bar-track { background: rgba(255,255,255,0.1); }
.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 2px;
  transition: width 1.2s ease;
}
.bar-fill-green  { background: #1a7a3c; }
.bar-fill-blue   { background: var(--navy); }
.bar-fill-gold   { background: var(--red); }
.bar-fill-red    { background: var(--red); }
.bar-fill-teal   { background: #1a5c6a; }
.bar-fill-orange { background: #c47a2b; }
.bar-val {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

/* --- Issue blocks --- */
.issue-block {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.issue-block:last-child { border-bottom: none; }
.issue-block-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.issue-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- District visualization --- */
.district-viz {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  max-width: 340px;
  margin: 0 auto;
}
.district-cell { aspect-ratio: 1; border-radius: 2px; }
.cell-r { background: #c8371a; }
.cell-b { background: #1a2744; }
.cell-r-light { background: rgba(200,55,26,0.45); }
.cell-b-light { background: rgba(26,39,68,0.45); }

/* --- Two-card grid / technique cards --- */
.two-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.technique-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: 4px;
}
.technique-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.technique-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.68;
}
.technique-card .card-accent {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(200,55,26,0.12);
  line-height: 1;
  margin-bottom: 12px;
}

/* --- Steps list (gerrymandering how-it-works) --- */
.steps-list { margin-top: 24px; }
.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: rgba(200,55,26,0.25);
  line-height: 1;
  padding-top: 4px;
}
.step-content h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-dark .step-content h4 { color: var(--white); }
.step-content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.68;
  color: #374151;
}
.section-dark .step-content p { color: rgba(255,255,255,0.65); }

/* --- Consequences grid --- */
.consequences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.consequence-card {
  background: var(--light);
  border-left: 3px solid var(--red);
  padding: 28px 24px;
  border-radius: 0 4px 4px 0;
}
.section-dark .consequence-card {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--red);
}
.consequence-card .c-stat {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.section-dark .consequence-card .c-stat { color: var(--white); }
.consequence-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-dark .consequence-card h4 { color: var(--white); }
.consequence-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}
.section-dark .consequence-card p { color: rgba(255,255,255,0.65); }

/* --- State cards --- */
.state-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 4px;
}
.state-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.state-card .state-seats {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}
.state-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}
.state-card .state-disparity {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
.state-card .state-disparity strong { color: var(--navy); }

/* --- Comparison table color utilities --- */
.bias-high { color: var(--red); }
.bias-med  { color: var(--gold); }
.bias-low  { color: #1a7a3c; }
.reform-state { color: #1a7a3c; }

/* --- Success cards --- */
.success-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.success-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 32px 28px;
  border-radius: 0 0 4px 4px;
}
.success-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.success-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
.success-badge {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  border: 1px solid rgba(200,55,26,0.35);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* --- Double-lock panels --- */
.double-lock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--border);
  margin-top: 32px;
  margin-bottom: 28px;
}
.lock-panel {
  background: var(--white);
  padding: 40px 36px;
}
.lock-red  { background: rgba(200,55,26,0.06); border-left: 3px solid rgba(200,55,26,0.3); }
.lock-blue { background: rgba(26,39,68,0.06); border-left: 3px solid rgba(26,39,68,0.2); }
.lock-panel h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.lock-panel p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.68;
}
.lock-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }

/* --- Exclusion pipeline --- */
.pipeline-list { margin-top: 24px; }
.pipeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  margin-bottom: 28px;
  align-items: start;
}
.pipeline-arrow { text-align: center; padding-top: 4px; }
.pipeline-arrow-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: rgba(200,55,26,0.08);
  border: 1px solid rgba(200,55,26,0.25);
  border-radius: 50%;
  line-height: 32px;
  font-size: 0.8rem;
  color: var(--red);
  text-align: center;
}
.pipeline-step h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.pipeline-step p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

/* --- Case study box --- */
.case-study-box {
  position: relative;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 48px 44px;
  overflow: hidden;
  border-radius: 4px;
}
.case-study-box .cs-watermark {
  position: absolute;
  right: -20px;
  top: -20px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 8rem;
  color: rgba(26,39,68,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.case-study-box h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.case-study-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

/* --- Disappearing middle stats --- */
.middle-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.middle-stat-cell {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 24px;
  text-align: center;
  border-radius: 4px;
}
.middle-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.middle-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* --- Origin box --- */
.origin-box {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.origin-box .watermark {
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 12rem;
  color: rgba(26,39,68,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.origin-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #374151;
  line-height: 1.72;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* --- CTA section (red bg variant) --- */
.cta-section {
  background: var(--red);
  padding: 80px 40px;
  text-align: center;
}
.cta-section .section-inner { max-width: 600px; }
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-section p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-section .section-label { color: rgba(255,255,255,0.75); }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sources grid --- */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.source-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: 4px;
  text-align: center;
}
.source-card a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.source-card a:hover { color: var(--red); }
.source-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Strategy CTA box --- */
.strategy-cta-box {
  display: block;
  background: var(--navy);
  border: none;
  padding: 40px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 28px;
}
.strategy-cta-box:hover { background: #253660; }
.strategy-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.strategy-cta-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 16px;
}
.strategy-cta-box .cta-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

/* --- Footer (gerrymandering style) --- */
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}
.footer-brand-name .gerry { color: var(--red); }
.footer-col-head {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 18px;
}

/* --- Gerrymandering mobile --- */
@media (max-width: 768px) {
  .topic-cards-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .two-card-grid { grid-template-columns: 1fr; }
  .action-cards-grid { grid-template-columns: 1fr; }
  .state-cards-grid { grid-template-columns: 1fr; }
  .success-cards-grid { grid-template-columns: 1fr; }
  .consequences-grid { grid-template-columns: 1fr; }
  .double-lock-grid { grid-template-columns: 1fr; }
  .middle-stats-grid { grid-template-columns: 1fr 1fr; }
  .issue-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 60px 20px; }
  .btn-primary, .btn-ghost { min-height: 44px; }
}
@media (max-width: 480px) {
  .middle-stats-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   TOOLS SUBSECTION STYLES
   ============================================================ */

/* --- Filter bar --- */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: sticky;
  top: 96px;
  z-index: 100;
  min-height: 52px;
}
.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: white; }
.filter-btn.active-green { background: #1a7a3c; border-color: #1a7a3c; color: white; }
.filter-btn.active-red { background: var(--red); border-color: var(--red); color: white; }
.filter-btn.active-orange { background: #c47a2b; border-color: #c47a2b; color: white; }
.search-input {
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  outline: none;
  width: 220px;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--navy); }
.search-input::placeholder { color: var(--muted); }

/* --- Main content area --- */
.main-content { max-width: 1200px; margin: 0 auto; padding: 40px; }

/* --- Table meta --- */
.table-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.table-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}
.download-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 18px;
  border-radius: 3px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.download-btn:hover { background: var(--navy); color: white; }

/* --- State table --- */
.state-table { width: 100%; border-collapse: collapse; }
.state-table thead tr { border-bottom: 2px solid var(--border); }
.state-table th {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
}
.state-table td {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #374151;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.state-table tr:hover td { background: var(--light); }
.state-table .col-state { font-family: 'Inter', sans-serif; font-weight: 500; color: var(--navy); }
.state-table .col-type span {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
}
.type-direct { background: rgba(26,122,60,0.1); color: #1a7a3c; }
.type-indirect { background: rgba(196,154,43,0.1); color: #8a6a10; }
.type-veto { background: rgba(196,122,43,0.1); color: #8a5a10; }
.type-legislature { background: var(--light); color: var(--muted); }
.type-broken { background: rgba(200,55,26,0.1); color: var(--red); }
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  margin-right: 2px;
}
.dot.on { background: var(--navy); }
.expand-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.expand-btn:hover { border-color: var(--navy); color: var(--navy); }
.state-notes-row { display: none; }
.state-notes-row.open { display: table-row; }
.state-notes-cell {
  padding: 12px 14px 20px 14px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.state-notes-inner {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
}

/* --- Form section (tools) --- */
.form-section {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.form-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-section p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); outline: none; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select option { background: var(--white); }
.form-field-full { grid-column: 1 / -1; }
.form-radio-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; padding: 4px 0; }
.form-radio-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-radio-group input[type="radio"] { width: auto; accent-color: var(--navy); }
.form-checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.form-checkbox-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.form-checkbox-group input[type="checkbox"] { width: auto; accent-color: var(--navy); }
.btn-submit {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 13px 32px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #a82c13; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* --- Rep result card --- */
.rep-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  margin-top: 24px;
  display: none;
}
.rep-card.visible { display: block; }
.rep-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.rep-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.rep-message-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px;
  margin-top: 16px;
}
.rep-message-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  display: block;
  margin-bottom: 10px;
}
.rep-message-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.7;
  white-space: pre-wrap;
}
.copy-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 18px;
  border-radius: 3px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s;
}
.copy-btn:hover { background: var(--navy); color: white; }
.rep-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* --- Senator cards --- */
.senator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.senator-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
}
.senator-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.senator-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.senator-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,39,68,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.senator-link:hover { border-color: var(--navy); }

/* --- Share buttons (tools row style) --- */
.share-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.share-btn.twitter { border-color: rgba(29,161,242,0.3); color: #1da1f2; }
.share-btn.twitter:hover { background: rgba(29,161,242,0.1); }
.share-btn.facebook { border-color: rgba(66,103,178,0.3); color: #4267b2; }
.share-btn.facebook:hover { background: rgba(66,103,178,0.1); }

/* --- Petition counter --- */
.petition-counter {
  text-align: center;
  padding: 48px 40px;
  background: var(--navy);
  border-radius: 4px;
  margin-bottom: 32px;
}
.petition-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5rem);
  color: white;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.petition-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 16px;
}
.petition-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
  max-width: 400px;
  margin: 16px auto 0;
}
.petition-bar-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* --- Stat num (tools petition stats) --- */
.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

/* --- Petition blockquote --- */
.petition-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin: 24px 0;
}
.petition-text strong {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
}

/* --- Footer links (tools) --- */
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

/* --- Tools mobile --- */
@media (max-width: 768px) {
  .filter-bar { padding: 10px 16px; gap: 6px; flex-wrap: wrap; }
  .search-input { margin-left: 0; width: 100%; margin-top: 4px; }
  .main-content { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding: 24px 20px; }
  .senator-grid { grid-template-columns: 1fr; }
  .state-table th:nth-child(3),
  .state-table th:nth-child(4),
  .state-table td:nth-child(3),
  .state-table td:nth-child(4) { display: none; }
  .state-table { table-layout: fixed; width: 100%; }
  .state-table th, .state-table td { font-size: 0.78rem; padding: 8px 6px; }
  .state-table th:nth-child(1), .state-table td:nth-child(1) { width: 40%; }
  .state-table th:nth-child(2), .state-table td:nth-child(2) { width: 30%; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 16px; }
  .petition-counter { padding: 32px 20px; }
}

/* ============================================================ */
/* GERRYMANDERING SUBSECTION — SITE NAV                        */
/* ============================================================ */

#site-nav {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo .gerry { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: white;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}
#site-nav .nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
#site-nav .nav-links a:hover,
#site-nav .nav-links a.active { color: var(--red); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 767px) {
  #site-nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  #site-nav .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  #site-nav .nav-links.open { display: flex; }
}

.hero.hero-gerrymandering {
  background: var(--navy);
  min-height: 67vh;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-28th {
  background: var(--navy);
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
  padding: 84px 40px 84px;
  position: relative;
  overflow: hidden;
}
.hero-28th .hero-inner {
  max-width: 1100px;
  margin: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tools {
  background: var(--navy);
  padding: 64px 40px 56px;
  border-bottom: none;
}
.hero-tools .hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .site-header .nav-links { gap: 16px; }
  .site-header .nav-links a { font-size: 0.8rem; }
}
