:root {
  --ink: #171714;
  --paper: #f2eee4;
  --paper-deep: #e5dfd2;
  --red: #c83d31;
  --red-dark: #8f251e;
  --green: #375b46;
  --green-light: #dce6d8;
  --gold: #d8b14a;
  --line: rgba(23, 23, 20, 0.2);
  --muted: #67645e;
  --shadow: 0 24px 80px rgba(41, 35, 28, 0.12);
  --radius: 22px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(200, 61, 49, 0.09), transparent 25rem),
    linear-gradient(180deg, #f8f5ed 0, var(--paper) 38rem, #ece6db 100%);
  font-family: var(--sans);
  line-height: 1.5;
}

a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img, iframe { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .8rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 237, 0.9);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
}
.wordmark span { font-weight: 500; }
.wordmark strong { color: var(--red); font-size: 1.28em; }
.site-header nav { display: flex; gap: 1.4rem; }
.site-header nav a { text-decoration: none; font-size: .86rem; font-weight: 700; }
.site-header nav a:hover { color: var(--red-dark); }

main { overflow: clip; }
.hero,
.action-section,
.record-section,
.tracker-section,
.closing-cta {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(4rem, 10vw, 9rem) 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.6vw, 6.8rem);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.055em;
}
.dek { max-width: 66ch; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.fine-print { color: var(--muted); font-size: .76rem; }
.hero-copy > .fine-print { max-width: 62ch; margin-top: 1.1rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); border-color: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: white; }

.record-reel {
  position: relative;
  padding: .8rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  color: white;
  background: #1b1b18;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.record-reel::before {
  content: "";
  position: absolute;
  inset: 7% -7% -7% 7%;
  z-index: -1;
  border-radius: 28px;
  background: var(--green);
  transform: rotate(-3deg);
}
.reel-topline, .reel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .65rem;
  color: #cfcbbf;
  font: 700 .7rem/1 var(--sans);
  letter-spacing: .14em;
}
.reel-frame {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(0,0,0,.16), rgba(0,0,0,.58)),
    repeating-linear-gradient(90deg, #6f2a25 0 1px, transparent 1px 72px),
    linear-gradient(145deg, #9d3b31, #38211e);
}
.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.reel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.reel-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.reel-year { position: absolute; top: 1.5rem; right: 1.7rem; margin: 0; font: 700 4rem/1 var(--serif); opacity: .24; }
.reel-slide h2 { margin: 0; max-width: 11ch; font: 500 clamp(2.1rem, 4.5vw, 4.2rem)/.98 var(--serif); letter-spacing: -.04em; }
.reel-slide p:not(.reel-year) { max-width: 48ch; margin: 1rem 0; color: #e6ddd6; }
.reel-slide a { color: #fff0b0; font-weight: 800; font-size: .82rem; }
.reel-controls button { width: 40px; height: 40px; border: 1px solid #5c5b54; border-radius: 999px; color: white; background: transparent; }
.reel-controls button:hover { background: white; color: var(--ink); }
.reel-dots { display: flex; gap: .35rem; }
.reel-dots i { width: 18px; height: 2px; background: #77766f; }
.reel-dots i:first-child { background: white; }

.context-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.26);
}
.context-band article { padding: clamp(2rem, 4vw, 4rem); border-right: 1px solid var(--line); }
.context-band article:last-child { border-right: 0; }
.context-band .stat { margin: 0; font: 500 clamp(2.5rem, 5vw, 5rem)/1 var(--serif); color: var(--red-dark); }
.context-band p:not(.stat) { max-width: 38ch; }
.context-band a { font-size: .78rem; font-weight: 800; }

.action-section, .record-section, .tracker-section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { max-width: 790px; margin-bottom: 2.6rem; }
.section-heading h2, .closing-cta h2 { margin: 0; font: 500 clamp(2.6rem, 5vw, 5.4rem)/.98 var(--serif); letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 65ch; font-size: 1.05rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .7fr; gap: 3rem; align-items: end; }
.split-heading > p { margin: 0; }

.action-shell {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow);
}
.action-form { max-width: 900px; margin: 0 auto; }
.form-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.state-row label { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: var(--serif); }
select, input, textarea {
  border: 1px solid rgba(23,23,20,.3);
  border-radius: 12px;
  background: #fbfaf6;
  color: var(--ink);
}
select, input { min-height: 46px; padding: .65rem .8rem; }
.state-row select { min-width: 240px; }
.text-button { padding: .25rem; border: 0; color: var(--red-dark); background: transparent; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin: .8rem 0 1.6rem; color: var(--muted); font-size: .72rem; }
.results-empty, .no-targets { padding: 2.6rem 1.2rem; border-block: 1px dashed var(--line); text-align: center; color: var(--muted); }
.no-targets h3 { color: var(--ink); font-family: var(--serif); font-size: 1.8rem; }

.senator-results { display: grid; gap: .8rem; margin: 1.5rem 0; }
.senator-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8f5ed;
}
.senator-card input { width: 20px; min-height: 20px; accent-color: var(--red); }
.senator-card h3 { margin: 0; font: 600 1.25rem/1.2 var(--serif); }
.senator-card p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; }
.position-badge { display: inline-flex; padding: .4rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.status-undecided, .status-no-statement { background: #f5e6ae; color: #6c5210; }
.status-schumer { background: #dbe3ee; color: #244a77; }
.status-van-hollen { background: #e9d6d4; color: #7b2a25; }
.impact-note { margin: .4rem 0 0; color: var(--red-dark) !important; font-weight: 800; }

.compose { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { display: grid; gap: .4rem; font-size: .78rem; font-weight: 800; }
.form-grid label span { color: var(--muted); font-weight: 500; }
.channel-tabs { display: flex; gap: .5rem; margin: 1.5rem 0 .7rem; }
.channel-tabs button { padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .78rem; font-weight: 800; }
.channel-tabs button.is-active { background: var(--ink); color: white; }
.generated-message { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf6; }
.message-topline { display: flex; justify-content: space-between; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
textarea { display: block; width: 100%; resize: vertical; padding: 1rem; border: 0; border-radius: 0; line-height: 1.55; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.status-message { min-height: 1.5rem; text-align: center; color: var(--green); font-weight: 800; }

.record-section { border-top: 1px solid var(--line); }
.record-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.record-card {
  grid-column: span 6;
  position: relative;
  min-height: 390px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
}
.record-card-featured { grid-column: span 7; color: white; background: var(--red-dark); }
.record-card:nth-child(2) { grid-column: span 5; }
.record-card-balance { grid-column: 3 / span 8; min-height: 320px; background: var(--green-light); }
.record-number { position: absolute; right: 1.2rem; top: .8rem; font: 600 4rem/1 var(--serif); opacity: .13; }
.tag { color: var(--red-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.record-card-featured .tag { color: #ffd9bf; }
.record-card h3 { margin: 1.5rem 0 1rem; max-width: 18ch; font: 500 clamp(2rem, 3.5vw, 3.4rem)/1 var(--serif); letter-spacing: -.035em; }
.record-card p:not(.tag) { max-width: 64ch; }
.source-list { display: grid; gap: .45rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.source-list a { font-size: .75rem; font-weight: 800; }
.method-note { padding: .8rem; border-left: 3px solid var(--gold); color: var(--muted); font-size: .78rem; }
.record-card-featured .method-note { color: #f2e4d9; }

.video-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: center; margin-top: 1rem; padding: clamp(1.3rem, 3vw, 2.3rem); border: 1px solid var(--line); border-radius: var(--radius); background: #1c1c19; color: white; }
.video-card h3 { margin: 0; font: 500 clamp(2rem, 3vw, 3rem)/1 var(--serif); }
.video-frame { aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: black; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.tracker-section { border-top: 1px solid var(--line); }
.tracker-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.tracker-frame iframe { display: block; width: 100%; height: min(900px, 84vh); min-height: 650px; border: 0; }
.tracker-credit { margin: .7rem 0 0; color: var(--muted); font-size: .72rem; text-align: right; }

.closing-cta { padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; }
.closing-cta h2 { max-width: 17ch; margin-inline: auto; }
.closing-cta .button { margin-top: 2rem; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: #1b1b18;
  color: #e9e4d9;
}
.footer-wordmark { color: white; }
footer p { max-width: 65ch; color: #b9b5ad; font-size: .78rem; }
.footer-links { display: grid; align-content: start; gap: .6rem; }
.footer-links a { font-size: .78rem; font-weight: 800; }

.document-page { width: min(880px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; }
.document-page h1 { max-width: 14ch; }
.document-page h2 { margin-top: 3rem; font: 500 2rem/1.1 var(--serif); }
.document-page li { margin-bottom: .65rem; }
.document-page .source-entry { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.document-page .source-entry p { margin: .35rem 0; color: var(--muted); }

@media (max-width: 900px) {
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .record-reel { transform: none; }
  .reel-frame { min-height: 440px; }
  .context-band { grid-template-columns: 1fr; }
  .context-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading, .video-card { grid-template-columns: 1fr; }
  .record-card, .record-card-featured, .record-card:nth-child(2), .record-card-balance { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding-inline: .75rem; }
  .site-header nav { gap: .7rem; }
  .site-header nav a { font-size: .74rem; }
  .wordmark { font-size: 1rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero { padding-top: 3.5rem; }
  .hero-actions .button { width: 100%; }
  .reel-frame { min-height: 420px; }
  .state-row { align-items: stretch; }
  .state-row label { width: 100%; }
  .state-row select { width: 100%; }
  .state-row > span { align-self: center; }
  .senator-card { grid-template-columns: auto 1fr; }
  .senator-card .position-badge { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .channel-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tracker-frame iframe { min-height: 760px; height: 80vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

