/* ==========================================================================
   Kristi Mathieson for Maine House District 151
   Coastal Maine — deep navy, weathered brass, warm paper
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --navy-900: #08192a;
  --navy-800: #0d2639;
  --navy-700: #13354c;
  --navy-600: #1c4a67;
  --slate-500: #2f6b8f;
  --slate-400: #4a8cb0;
  --seafoam:   #7fb3ba;

  --brass-600: #9d6f36;
  --brass-500: #b8874a;
  --brass-400: #cfa267;
  --brass-100: #f0e2cc;

  --paper:     #faf7f1;
  --paper-alt: #f3ece1;
  --paper-dim: #e8dfd1;

  --ink:       #16232e;
  --ink-soft:  #4d5f6d;
  --ink-faint: #7d8b96;

  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);

  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(8, 25, 42, .06), 0 2px 8px rgba(8, 25, 42, .05);
  --shadow-md: 0 4px 12px rgba(8, 25, 42, .08), 0 12px 32px rgba(8, 25, 42, .08);
  --shadow-lg: 0 12px 28px rgba(8, 25, 42, .12), 0 32px 64px rgba(8, 25, 42, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
}

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-600); }

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper-alt { background: var(--paper-alt); }
.section--navy { background: var(--navy-800); color: var(--paper); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  background: var(--navy-800); color: var(--white);
  padding: .75rem 1.5rem; z-index: 200;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-600);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2rem; height: 2px;
  background: var(--brass-500); flex: none;
}
.section--navy .eyebrow { color: var(--brass-400); }
.section--navy .eyebrow::before { background: var(--brass-400); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .4em; }
.section-head p { font-size: 1.125rem; color: var(--ink-soft); margin: 0; }
.section--navy .section-head p { color: rgba(250, 247, 241, .75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .15s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brass-500); color: var(--navy-900); border-color: var(--brass-500); }
.btn--primary:hover { background: var(--brass-400); border-color: var(--brass-400); color: var(--navy-900); box-shadow: var(--shadow-md); }

.btn--navy { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); color: var(--white); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }

.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--navy-600); }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }

.btn--lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--paper-dim);
  box-shadow: 0 1px 16px rgba(8, 25, 42, .07);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.75rem;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-700), var(--slate-500) 70%);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1875rem; letter-spacing: -.01em;
}
.brand__meta {
  font-size: .6875rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  padding: .55rem .9rem;
  font-size: .9375rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  border-radius: var(--radius);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--navy-700); background: rgba(19, 53, 76, .06); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .26rem;
  height: 2px; background: var(--brass-500); border-radius: 2px;
}
.nav__cta { margin-left: .6rem; padding: .7rem 1.4rem; font-size: .875rem; }

.nav__toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--paper-dim);
  border-radius: var(--radius); cursor: pointer; color: var(--navy-800);
}
.nav__toggle svg { width: 1.25rem; height: 1.25rem; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 4.75rem 0 auto;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--paper);
    padding: 1.25rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--paper-dim);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__link { padding: .85rem .5rem; font-size: 1.0625rem; }
  .nav__link[aria-current="page"]::after { left: .5rem; right: auto; width: 1.5rem; bottom: .5rem; }
  .nav__cta { margin: .75rem 0 0; }
}

/* ---------- Hero ---------- */
/* Kristi stands in the left third of the shoreline photo. Below 1024px the hero
   stacks -- the photo keeps its own panel and the copy sits on navy underneath,
   so nothing ever covers her. At >=1024px the photo goes full-bleed and the copy
   moves beside her, over the open water on the right. */
.hero { position: relative; isolation: isolate; background: var(--navy-900); }

.hero__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.hero__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 15% 50%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    var(--navy-900) 0%, rgba(8,25,42,.62) 16%, rgba(8,25,42,.08) 44%, transparent 72%);
}
@media (min-width: 600px) { .hero__media { aspect-ratio: 16 / 10; } }

@media (min-width: 1024px) {
  .hero__media { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
  .hero__media img { object-position: 28% 42%; }
  .hero__media::after {
    background:
      linear-gradient(265deg, rgba(8,25,42,.96) 0%, rgba(8,25,42,.9) 38%, rgba(8,25,42,.45) 66%, rgba(8,25,42,.12) 100%),
      linear-gradient(to top, rgba(8,25,42,.55) 0%, transparent 40%);
  }
}

.hero__inner {
  position: relative;
  display: grid; align-items: center;
  padding-block: clamp(2.25rem, 7vw, 3.5rem);
}
@media (min-width: 1024px) {
  /* Explicit two-column track: the left column is an empty spacer that keeps
     Kristi clear, the right column holds the copy at a readable measure. */
  .hero__inner {
    grid-template-columns: minmax(16rem, 1fr) minmax(0, 38rem);
    min-height: min(84vh, 720px);
    padding-block: clamp(4.5rem, 10vw, 7.5rem);
  }
  .hero__content { grid-column: 2; max-width: none; }
}
.hero__content { max-width: 40rem; min-width: 0; color: var(--paper); }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .75rem;
  border: 1px solid rgba(207, 162, 103, .45);
  background: rgba(207, 162, 103, .12);
  border-radius: 100px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: 1.75rem;
}
.hero__badge .dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--brass-400); flex: none;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  color: var(--white);
  margin-bottom: .3em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
  letter-spacing: -.025em;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--brass-400); }

.hero__office {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 500;
  color: rgba(250, 247, 241, .88);
  margin-bottom: 1.5rem;
  padding-left: 1.125rem;
  border-left: 2px solid var(--brass-500);
}

.hero__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 2.4vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(250, 247, 241, .92);
  margin-bottom: 2.5rem;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}

.hero .btn-row { margin-bottom: 2.5rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250, 247, 241, .18);
  margin: 0;
}

.hero__stat dt {
  font-size: .6875rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(250, 247, 241, .6);
  margin-bottom: .35rem;
}
.hero__stat dd {
  margin: 0;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--white); line-height: 1;
}
.hero__stat dd small {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 500;
  color: rgba(250, 247, 241, .7); display: block; margin-top: .3rem; letter-spacing: 0;
}

/* ---------- Page header (interior pages) ---------- */
.page-head { position: relative; isolation: isolate; background: var(--navy-800); color: var(--paper); }
.page-head__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8,25,42,.95) 0%, rgba(8,25,42,.86) 45%, rgba(8,25,42,.58) 100%);
}
.page-head__inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); max-width: 46rem; }
.page-head h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: var(--white); margin-bottom: .35em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
}
.page-head__lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(250, 247, 241, .82);
  margin: 0; max-width: 42rem;
}

/* ---------- Priority cards ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 700px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--brass-500);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brass-100); }
.card:hover::before { transform: scaleY(1); }

.card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius);
  background: var(--paper-alt); color: var(--navy-600);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.card__icon svg { width: 1.375rem; height: 1.375rem; }
.card h3 { font-size: 1.375rem; margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.25em; }
.card__link {
  margin-top: auto;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  color: var(--navy-600); text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.card__link:hover { color: var(--brass-600); gap: .7rem; }
.card__link svg { width: .875rem; height: .875rem; }

/* Bill cards (home page "Proven results") */
.card--bill { display: flex; flex-direction: column; }
.card--bill h3 { font-size: 1.625rem; letter-spacing: -.01em; margin-bottom: .45em; }
.card--bill p:not(.card__meta) { flex: 1; }
.card .card__meta {
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-600); margin-bottom: .6rem;
}

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip .split__media { order: -1; }
}

.split__media { position: relative; margin: 0; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split__media figcaption {
  margin-top: .875rem; font-size: .8125rem; color: var(--ink-faint);
  font-style: italic;
}

/* ---------- Prose ---------- */
.prose { font-size: 1.0938rem; }
.prose > p { color: var(--ink-soft); }
.prose > p.lede {
  font-size: clamp(1.1875rem, 2.2vw, 1.375rem);
  line-height: 1.55; color: var(--ink); font-weight: 450;
  margin-bottom: 1.5em;
}
.prose h2 { font-size: clamp(1.625rem, 3vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75em; }
.prose blockquote {
  margin: 2rem 0; padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid var(--brass-500);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3125rem; line-height: 1.5; color: var(--navy-800);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}

.signature {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--paper-dim);
}
.signature__name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--navy-800); margin-bottom: .15rem;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 40;
}
.signature__role { font-size: .875rem; color: var(--ink-faint); margin: 0; }

/* ---------- Steps (donate) ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 2rem 1.75rem;
  background: var(--white); border: 1px solid var(--paper-dim);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: 1.125rem;
  border-radius: 50%; background: var(--navy-800); color: var(--brass-400);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.step h3 { font-size: 1.125rem; margin-bottom: .4em; }
.step p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }

/* ---------- Callout ---------- */
.callout {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-left: 3px solid var(--brass-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.callout h3 { font-size: 1.375rem; }
.callout p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; background: var(--navy-800); color: var(--paper); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(47,107,143,.42), transparent 62%),
    radial-gradient(90% 90% at 92% 100%, rgba(184,135,74,.24), transparent 60%);
}
.cta-band__inner {
  display: grid; gap: 2rem; align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: 3.5rem; } }
.cta-band h2 { font-size: clamp(1.875rem, 3.6vw, 2.625rem); color: var(--white); margin-bottom: .4em; }
.cta-band p { color: rgba(250,247,241,.8); font-size: 1.0625rem; margin: 0; max-width: 44ch; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.contact-details { margin: 0; }
.contact-detail { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--paper-dim); }
.contact-detail:first-of-type { padding-top: 0; }
.contact-detail__icon {
  width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--radius);
  background: var(--paper-alt); color: var(--navy-600);
  display: grid; place-items: center;
}
.contact-detail__icon svg { width: 1.125rem; height: 1.125rem; }
.contact-detail dt {
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .25rem;
}
.contact-detail dd { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.contact-detail dd a { text-decoration: none; }
.contact-detail dd a:hover { text-decoration: underline; }
.contact-detail dd small { display: block; font-size: .8125rem; font-weight: 400; color: var(--ink-faint); margin-top: .2rem; }

.form-card {
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field .req { color: var(--brass-600); }
.field .hint { font-size: .8125rem; color: var(--ink-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem;
  background: var(--paper);
  border: 1.5px solid var(--paper-dim);
  border-radius: var(--radius);
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5f6d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem;
  padding-right: 2.75rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--slate-500);
  box-shadow: 0 0 0 3px rgba(47, 107, 143, .16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #c0483c; background: #fdf6f5;
}
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(192, 72, 60, .14);
}
.field__error { font-size: .8125rem; color: #b23d32; font-weight: 500; }
.field__error:empty { display: none; }

.honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.form-consent { display: flex; gap: .75rem; align-items: flex-start; }
.form-consent input { width: 1.125rem; height: 1.125rem; margin-top: .28rem; flex: none; accent-color: var(--navy-700); }
.form-consent label { font-size: .875rem; color: var(--ink-soft); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.55; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form-note { font-size: .8125rem; color: var(--ink-faint); margin: 0; }

.form-status {
  padding: 1rem 1.125rem; border-radius: var(--radius);
  font-size: .9375rem; line-height: 1.55;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--success { background: #eef6ef; border: 1px solid #bcd9c0; color: #23572e; }
.form-status--error { background: #fdf3f2; border: 1px solid #e6c2bd; color: #93342a; }
.form-status strong { display: block; margin-bottom: .2rem; }

.btn[data-loading="true"] { pointer-events: none; opacity: .72; }
.btn .spinner {
  width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid rgba(8,25,42,.28); border-top-color: var(--navy-900);
  animation: spin .7s linear infinite; display: none;
}
.btn[data-loading="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--paper-dim); }
.faq details { border-bottom: 1px solid var(--paper-dim); }
.faq summary {
  padding: 1.375rem 2.5rem 1.375rem 0;
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
  color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: .625rem; height: .625rem; margin-top: -.45rem;
  border-right: 2px solid var(--brass-500); border-bottom: 2px solid var(--brass-500);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.2rem; }
.faq summary:hover { color: var(--brass-600); }
.faq__body { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(250,247,241,.7); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.75rem; border-bottom: 1px solid rgba(250,247,241,.12); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3.5rem; } }
@media (min-width: 780px) { .footer-grid--two { grid-template-columns: repeat(2, minmax(0, 16rem)); } }

.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand__meta { color: rgba(250,247,241,.55); }
.footer-blurb { font-size: .9375rem; max-width: 34ch; margin-bottom: 1.5rem; }

.footer-h {
  font-family: var(--font-body); font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-400); margin-bottom: 1.125rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-list a { color: rgba(250,247,241,.72); text-decoration: none; font-size: .9375rem; }
.footer-list a:hover { color: var(--brass-400); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: rgba(250,247,241,.5);
}
.footer-bottom p { margin: 0; }
.disclaimer { color: rgba(250,247,241,.6); font-weight: 500; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }

/* ---------- Page head without a photo ---------- */
.page-head--plain {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(47, 107, 143, .35) 0%, transparent 55%),
    var(--navy-800);
}
.page-head--plain .page-head__inner { padding-block: clamp(3.25rem, 8vw, 5.5rem); }

/* ---------- Legislative record (priorities.html) ---------- */

.record { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }

.record-year { display: grid; gap: .75rem; }
@media (min-width: 860px) {
  .record-year { grid-template-columns: 9rem 1fr; gap: 3rem; align-items: start; }
  .record-year__label { position: sticky; top: 6.5rem; }
}
.record-year__label {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; color: var(--brass-500);
  margin: 0;
}

.record-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy-800); }

.bill {
  display: grid; gap: .6rem;
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--paper-dim);
}
.bill__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.25rem; margin: 0;
}
.bill__ld {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em;
  color: var(--navy-800); text-decoration: none;
  background: linear-gradient(var(--brass-400), var(--brass-400)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}
.bill__ld svg { color: var(--brass-500); transition: transform .2s ease; }
.bill__ld:hover, .bill__ld:focus-visible { color: var(--slate-500); background-size: 100% 2px; }
.bill__ld:hover svg, .bill__ld:focus-visible svg { transform: translate(2px, -2px); }
.bill__date {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint);
}
.bill__summary { margin: 0; max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.bill__title {
  margin: 0; max-width: 72ch; font-size: .8125rem; line-height: 1.5;
  font-style: italic; color: var(--ink-faint);
}
