:root {
  --navy: #101f4d;
  --blue: #285da8;
  --red: #c91f2f;
  --red-dark: #981827;
  --gold: #c7a54d;
  --ink: #172032;
  --muted: #596276;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(16, 31, 77, 0.14);
  --shadow: 0 18px 50px rgba(16, 31, 77, 0.13);
  --max: 1080px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--red);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: scale(1.42);
  transform-origin: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex: 0 0 auto;
}

.header-social-link {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(16, 31, 77, 0.1);
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.header-social-link img {
  width: 13px;
  height: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red-dark);
  background: rgba(201, 31, 47, 0.09);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
  gap: 1rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem 1rem;
}

.hero-copy {
  padding: clamp(1.25rem, 4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #2b3449;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 20px rgba(201, 31, 47, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-outline {
  color: var(--navy);
  background: rgba(247, 245, 239, 0.75);
  border-color: rgba(16, 31, 77, 0.24);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  font-weight: 650;
  box-shadow: none;
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--red-dark);
}

.hero-note {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(16, 31, 77, 0.96), rgba(40, 93, 168, 0.88)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.note-label {
  margin: 0;
  color: #f6cd62;
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-note > p:not(.note-label) {
  max-width: 32ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.note-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  padding: 0.7rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 800;
}

.quick-actions {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.quick-actions a {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  padding: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.quick-actions a:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-actions a:last-child {
  border-radius: 0 8px 8px 0;
}

.quick-actions a:hover,
.quick-actions a:focus-visible {
  background: #fff8f1;
  outline: none;
}

.quick-actions span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.quick-actions strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.guide-online {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 2.5rem) 1rem clamp(2.5rem, 6vw, 4rem);
}

.guide-masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.7rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(16, 31, 77, 0.98), rgba(40, 93, 168, 0.88)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.guide-masthead img {
  width: clamp(72px, 12vw, 120px);
  height: clamp(72px, 12vw, 120px);
  object-fit: contain;
}

.guide-masthead h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
}

.guide-masthead p:not(.eyebrow) {
  max-width: 680px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 900;
}

.guide-masthead .eyebrow {
  color: #f6cd62;
}

.guide-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  margin: 0.65rem 0;
  padding: 0.72rem 0.9rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 760;
}

.guide-contact-bar span {
  padding-left: 0.85rem;
  border-left: 2px solid var(--red);
}

.guide-actions-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-actions-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.guide-actions-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.guide-panel {
  background: var(--white);
  border: 1px solid rgba(16, 31, 77, 0.26);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 31, 77, 0.08);
}

.guide-panel h2,
.guide-panel h3 {
  margin: 0;
}

.guide-notes {
  display: grid;
  gap: 0;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
}

.guide-notes article {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: #242c3c;
}

.guide-notes article:last-child {
  border-bottom: 0;
}

.guide-notes strong {
  color: var(--red);
}

.guide-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.guide-two-column .guide-panel,
.disclaimer-panel {
  padding: 0;
  overflow: hidden;
}

.guide-panel > h2,
.guide-panel > h3,
.disclaimer-panel h2 {
  padding: 0.65rem 0.85rem;
  color: var(--white);
  background: var(--navy);
  font-size: 1rem;
}

.principles-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0.85rem 1rem 1rem 2.9rem;
  color: var(--ink);
  font-weight: 760;
}

.principles-list li::marker {
  color: var(--navy);
  font-weight: 900;
}

.no-rec-panel h2 {
  background: var(--red);
}

.no-rec-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem 1rem 2rem;
}

.disclaimer-panel {
  margin-bottom: 1rem;
}

.disclaimer-panel p {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--ink);
}

.guide-section {
  margin-top: 1rem;
}

.guide-section > h2 {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  text-align: center;
  text-transform: uppercase;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.recommendation-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(16, 31, 77, 0.32);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 31, 77, 0.08);
}

.recommendation-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.14rem;
}

.recommendation-card p {
  margin: 0;
  color: #273148;
  font-size: 0.93rem;
}

.recommendation-card strong,
.judge-list strong {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.18rem 0.55rem;
  color: #0d1639;
  background: #ffe11f;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

.local-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.75rem;
}

.judge-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.judge-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.44rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

.judge-list li:last-child {
  border-bottom: 0;
}

.judge-list span {
  color: var(--navy);
  font-weight: 860;
}

.judge-list strong {
  margin: 0;
  font-size: 0.82rem;
}

.local-card-stack {
  display: grid;
  gap: 0.75rem;
}

.leave-blank,
.measure-card {
  min-height: 132px;
}

.election-section {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 1rem;
}

.election-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(16, 31, 77, 0.98), rgba(40, 93, 168, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  border-radius: 8px 8px 0 0;
}

.election-heading h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.election-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.election-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 31, 77, 0.16);
}

.election-meta div,
.election-meta a {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  color: var(--navy);
  background: var(--white);
}

.election-meta a {
  color: var(--red-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18rem;
}

.election-meta strong {
  font-weight: 860;
}

.election-meta span {
  color: var(--muted);
}

.vote-center-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 31, 77, 0.16);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.vote-center-card {
  min-height: 244px;
  padding: 1rem;
  background: var(--white);
}

.vote-center-card.featured {
  background: #fff8f1;
}

.vote-center-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 780;
}

.vote-center-card p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.vote-center-card p:last-child {
  margin-bottom: 0;
}

.truth-social {
  background: linear-gradient(145deg, #144ec8, #0d2d72);
}

.twitter {
  background: linear-gradient(145deg, #111111, #30333a);
}

.tiktok {
  background: linear-gradient(145deg, #111111, #293041);
}

.instagram {
  background: linear-gradient(145deg, #7f2dcc, #d91c5c 56%, #f0a43c);
}

.youtube {
  background: linear-gradient(145deg, #d31324, #8d101d);
}

.reddit {
  background: linear-gradient(145deg, #ff5f1f, #b83c12);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.priority-card {
  min-height: 210px;
  padding: 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.priority-card:nth-child(2) {
  background: #183876;
}

.priority-card:nth-child(3) {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.priority-card:nth-child(4) {
  background: var(--red-dark);
}

.priority-card h3 {
  color: inherit;
}

.priority-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.priority-card:nth-child(3) p {
  color: var(--muted);
}

.priority-number {
  display: block;
  margin-bottom: 0.85rem;
  color: #f6cd62;
  font-size: 0.8rem;
  font-weight: 900;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.work-copy {
  display: grid;
  gap: 0.9rem;
  color: var(--muted);
}

.work-copy p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--red);
  font-weight: 900;
}

.contact-section {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--white);
  border-block: 1px solid var(--line);
}

.contact-copy p {
  max-width: 640px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.mini-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(16, 31, 77, 0.1);
}

.mini-social:hover,
.mini-social:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.mini-social img {
  width: 21px;
  height: 21px;
}

.email-tool {
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.email-tool .button-primary {
  font-weight: 650;
  box-shadow: 0 8px 16px rgba(201, 31, 47, 0.16);
}

.email-mask {
  min-height: 38px;
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.email-mask.is-revealed {
  color: var(--red-dark);
}

.form-note {
  min-height: 1.35rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

address {
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-style: normal;
}

address strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.fppc {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem max(1rem, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #0d1639;
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    gap: 0.65rem;
  }

  .brand-cluster {
    flex: 1 1 auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .guide-masthead,
  .guide-two-column,
  .local-guide-grid,
  .election-heading,
  .work-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .election-meta {
    grid-template-columns: 1fr;
  }

  .vote-center-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-cluster {
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
  }

  .header-social {
    width: 100%;
    padding-left: 52px;
    gap: 0.25rem;
  }

  .header-social-link {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .header-social-link img {
    width: 12px;
    height: 12px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-note {
    min-height: 230px;
  }

  .quick-actions,
  .vote-center-grid,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions a,
  .quick-actions a:first-child,
  .quick-actions a:last-child {
    min-height: 80px;
    border-radius: 8px;
  }

  .priority-card {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
