:root {
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --paper: #f4efe6;
  --paper-2: #ebe3d6;
  --soot: #14110f;
  --ember: #b64024;
  --ember-deep: #8c2e18;
  --brass: #a68446;
  --line: rgba(28, 22, 18, 0.16);
  --cream: #f7f3ec;
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(20, 17, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.disclaimer-bar {
  background: var(--soot);
  color: #f3eadf;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  padding: 0.7rem 1.25rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 76px;
  height: 82px;
  flex: none;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  max-width: 11rem;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ember-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  min-height: calc(100vh - 118px);
  background:
    radial-gradient(circle at 80% 20%, rgba(182, 64, 36, 0.28), transparent 28%),
    linear-gradient(160deg, #1a1411 0%, #2a211c 58%, #3d241c 100%);
  color: var(--cream);
}

.hero-copy,
.hero-panel {
  padding: 4.5rem 1.5rem 3rem;
}

.hero-copy {
  padding-left: max(1.5rem, calc((100% - 1120px) / 2));
  max-width: 760px;
  align-self: end;
  padding-bottom: 4.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e4c27a;
}

h1,
h2,
h3 {
  font-weight: 650;
  line-height: 0.95;
  scroll-margin-top: 5.5rem;
}

h1 {
  margin: 0;
  max-width: 14em;
  font-family: var(--sans);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: none;
}

h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #f2d7b0;
}

.lede {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: #f6efe4;
}

.lede + .lede {
  margin-top: 1rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  padding-right: max(1.5rem, 6vw);
  padding-bottom: 4.5rem;
}

.stat {
  border-top: 1px solid rgba(247, 243, 236, 0.28);
  padding-top: 0.85rem;
}

.stat b {
  display: block;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e4c27a;
}

.section {
  padding: 5rem 1.5rem;
}

.section-narrow,
.stack,
.pillars,
.bill-list,
.midterm-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prose {
  max-width: 42rem;
  font-size: 1.12rem;
}

.prose p {
  margin: 0 0 1rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.hurdles {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
}

.commitment {
  background: var(--soot);
  color: var(--cream);
}

.commitment .kicker {
  color: #e4c27a;
}

.note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 243, 236, 0.25);
  max-width: 40rem;
  color: #f0e6da;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 1.6rem 1.4rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.pillar:nth-child(even) {
  padding-left: 2rem;
}

.pillar span {
  font-family: var(--sans);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.pillar h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--sans);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
}

.bills {
  background:
    linear-gradient(180deg, rgba(166, 132, 70, 0.12), transparent 120px),
    var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  width: min(1120px, 100%);
  margin: 0 auto 2rem;
}

.section-head p {
  max-width: 28rem;
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
}

.edit-note {
  font-size: 0.95rem;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
  background: rgba(28, 22, 18, 0.06);
  padding: 0.05rem 0.3rem;
}

.bill-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 1.25rem 1.2rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.bill-card.is-placeholder {
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(182, 64, 36, 0.04) 8px,
      rgba(182, 64, 36, 0.04) 9px
    ),
    var(--cream);
}

.bill-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: start;
}

.bill-kicker,
.bill-meta,
.bill-link,
.placeholder-flag {
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bill-kicker {
  margin: 0;
  color: var(--ember-deep);
  font-size: 1.05rem;
  font-weight: 600;
}

.placeholder-flag {
  flex: none;
  background: var(--ember);
  color: white;
  font-size: 0.78rem;
  padding: 0.15rem 0.4rem;
}

.bill-card h3 {
  margin: 0.8rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.2;
  text-transform: none;
}

.bill-card p {
  margin: 0;
  color: var(--ink-soft);
}

.bill-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.95rem;
}

.stance {
  border: 1px solid var(--ink);
  padding: 0.05rem 0.4rem;
}

.stance-support {
  background: var(--ink);
  color: var(--cream);
}

.stance-oppose {
  background: var(--ember);
  color: white;
  border-color: var(--ember);
}

.bill-link {
  display: inline-block;
  margin-top: 0.9rem;
  margin-right: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ember-deep);
}

.bill-support {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.bill-support h4 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bill-link.is-pending {
  color: var(--ink-soft);
}

.bill-index {
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  font-family: var(--sans);
  font-size: 2rem;
  color: rgba(28, 22, 18, 0.12);
}

.bill-empty {
  grid-column: 1 / -1;
}

.midterms {
  background: var(--ember-deep);
  color: #fff8f3;
}

.midterms .kicker {
  color: #f2d7b0;
}

.voice {
  max-width: 36rem;
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.bills .bill-list {
  margin-top: 2rem;
}

.bill-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.bill-widgets .bill-card {
  min-height: 0;
}

.midterm-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 248, 243, 0.28);
}

.steps b {
  font-family: var(--sans);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.site-footer {
  background: var(--soot);
  color: #f3eadf;
  padding: 2rem 1.5rem 2.4rem;
  border-top: 4px solid var(--ember);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  margin: 0 auto 0.7rem;
  max-width: 50rem;
}

.fine {
  color: #d9cbbd;
  font-size: 0.95rem;
}

:focus-visible {
  outline: 2px solid #e4c27a;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.6rem 1.2rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
    z-index: 20;
  }

  .site-nav a {
    padding: 0.45rem 0;
  }

  .hero,
  .split,
  .midterm-grid,
  .bill-widgets,
  .bill-list,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy,
  .hero-panel {
    padding: 2rem 1.25rem;
  }

  .hero-copy {
    align-self: start;
    padding-bottom: 0.4rem;
  }

  .hero-panel {
    padding-top: 0;
    padding-bottom: 2rem;
  }

  .brand-mark {
    width: 64px;
    height: 68px;
  }

  .brand-name {
    font-size: 1.05rem;
    max-width: 9rem;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar,
  .pillar:nth-child(odd),
  .pillar:nth-child(even) {
    padding: 1.3rem 0;
    border-right: 0;
  }

  .section-head {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
