/* Shared layout, accessibility, and form states. */
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-block-start: var(--space-md); }
body { margin: 0; overflow-x: clip; color: var(--color-ink); background: var(--color-paper); font: 400 var(--text-body)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
main, section, article, figure, div { min-width: 0; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
p + p { margin-top: var(--space-sm); }
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: var(--color-clear); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
h1, h2, h3 { min-width: 0; font-family: var(--font-display); font-style: normal; overflow-wrap: anywhere; font-weight: 600; }
h1 { font-size: var(--text-display); line-height: 1.01; letter-spacing: -.025em; }
h1 em { font-style: normal; }
h2 { font-size: var(--text-heading); line-height: 1.08; letter-spacing: -.02em; }
h3 { font-size: 2rem; line-height: 1.1; }
.wrap { width: min(1320px, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--space-3xl); }
.eyebrow { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; line-height: 1.45; margin-bottom: var(--space-md); }
.large { font-size: var(--text-large); line-height: 1.45; margin-top: var(--space-md); }
.skip { position: fixed; top: -5rem; left: var(--space-sm); z-index: var(--z-focus); padding: var(--space-xs) var(--space-sm); color: var(--color-paper); background: var(--color-ink); }
.skip:focus { top: var(--space-sm); }
.review-bar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 var(--space-sm); min-height: 36px; align-items: center; padding: .3rem var(--page-gutter); background: var(--color-paper-2); color: var(--color-muted); font: 500 var(--text-xs)/1.8 var(--font-body); }
.review-bar a { white-space: nowrap; text-decoration: none; }
.review-bar a:first-child { margin-right: auto; }
.review-bar span { display: none; }
.review-bar [aria-current] { color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
.header { position: relative; z-index: var(--z-menu); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); }
.wordmark { text-decoration: none; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; line-height: .95; letter-spacing: -.025em; white-space: nowrap; }
.wordmark strong { font-weight: inherit; }
.wordmark span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .6875rem; letter-spacing: 0; line-height: 1.5; margin-top: .5rem; }
.desktop-nav { display: none; }
.mobile-nav { position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: .5rem .7rem; font-size: var(--text-sm); border: 1px solid var(--color-rule); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .5rem); width: 248px; padding: var(--space-xs); background: var(--color-paper); color: var(--color-ink); border: 1px solid var(--color-rule); }
.mobile-nav nav a { display: block; padding: .65rem .75rem; font-size: var(--text-base); text-decoration: none; white-space: nowrap; }
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { background: var(--color-paper-2); color: var(--color-ink); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .75rem 1.125rem; border: 1px solid var(--color-ink); background: var(--color-ink); color: var(--color-paper); font: 600 var(--text-sm)/1.3 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; }
.button:active { transform: translateY(1px); }
.button:hover { background: var(--color-paper); color: var(--color-ink); text-decoration: none; }
.button:disabled, fieldset:disabled .button { opacity: .5; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-top: var(--space-lg); }
.intro { margin-top: var(--space-md); max-width: 42ch; font-size: 1.125rem; }
.slogan { margin-top: var(--space-md); font-weight: 600; }
.portrait { min-width: 0; }
.portrait img { object-fit: cover; object-position: 50% 22%; }
.portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding-top: var(--space-xs); font-size: var(--text-xs); line-height: 1.4; }
.portrait figcaption strong { font-size: var(--text-base); font-weight: 600; }
.portrait figcaption span { text-align: right; }
.townhall-notice { padding-block: var(--space-md); }
.townhall-notice .wrap { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: var(--space-xs) var(--space-sm); }
.townhall-date { text-align: center; line-height: 1; }
.townhall-date span { display: block; font-size: .6875rem; font-weight: 600; }
.townhall-date b { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; }
.townhall-info strong { display: block; font-size: var(--text-base); font-weight: 600; line-height: 1.4; }
.townhall-info p { margin: .4rem 0 0; font-size: var(--text-sm); line-height: 1.5; }
.townhall-link { grid-column: 2; font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.about-grid, .contact-grid, .voting-grid, .section-heading { display: grid; gap: var(--space-xl); }
.story blockquote { font-family: var(--font-display); font-size: clamp(1.875rem, 2.6vw, 2.75rem); font-weight: 500; line-height: 1.25; }
.story blockquote footer { font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm); margin-top: var(--space-md); }
.story > p { margin-top: var(--space-xl); }
.story > .text-link { margin-top: var(--space-sm); }
.principles { display: grid; gap: var(--space-xl); margin-top: var(--space-xl); }
.principles article { border-top: 1px solid var(--color-rule); padding-top: var(--space-md); }
.principles .lead { margin-top: var(--space-md); font-size: 1.1875rem; font-weight: 500; line-height: 1.4; }
.principles ul { margin: var(--space-md) 0 0; padding-left: 1.1rem; font-size: var(--text-base); }
.principles li + li { margin-top: var(--space-sm); }
.section-heading { margin-bottom: var(--space-xl); }
.section-heading > p { max-width: 55ch; }
.voting-main .eyebrow { display: block; }
.voting-dates { font-family: var(--font-display); font-size: clamp(2.75rem, 4vw, 3.75rem); font-weight: 600; line-height: 1.12; }
.voting-dates + p { margin-top: var(--space-md); }
.voting-main .button { max-width: 100%; width: 100%; padding-inline: .5rem; font-size: var(--text-sm); letter-spacing: -.025em; margin-top: var(--space-md); }
.privacy-note { font-size: var(--text-sm); line-height: 1.6; margin-top: var(--space-md); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--space-sm); padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
.steps li::before { content: counter(steps, decimal-leading-zero); grid-row: 1 / 3; font-size: var(--text-sm); font-weight: 500; padding-top: .125rem; }
.steps strong { display: block; font-size: var(--text-base); line-height: 1.5; font-weight: 600; }
.steps p { grid-column: 2; font-size: var(--text-base); line-height: 1.6; margin-top: .375rem; }
.source-note { margin-top: var(--space-lg); font-size: var(--text-xs); line-height: 1.6; }
.contact-copy > p:not(.eyebrow) { max-width: 46ch; }
.contact-copy > .steps { margin-top: var(--space-xl); }
.about-photo { object-fit: cover; object-position: 50% 15%; height: 260px; margin-top: var(--space-xl); }
.preview-note { margin-bottom: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
fieldset > label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: .5rem; }
fieldset > input, textarea { display: block; width: 100%; min-height: 48px; border: 1px solid var(--color-rule); border-radius: 0; padding: .75rem; color: var(--color-ink); background: var(--color-paper); margin-bottom: var(--space-md); font-size: 1rem; }
textarea { resize: vertical; min-height: 160px; }
fieldset > input::placeholder { color: var(--color-muted); }
fieldset > input:user-invalid, textarea:user-invalid { border-color: var(--color-invalid); outline: 2px solid var(--color-invalid); outline-offset: 1px; }
fieldset > input:disabled, textarea:disabled { opacity: .65; cursor: not-allowed; }
fieldset > .button { width: 100%; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 42px; font-size: var(--text-sm); line-height: 1.5; margin-top: var(--space-sm); }
.footer { padding-block: var(--space-2xl) var(--space-lg); }
.footer-slogan { font-family: var(--font-display); font-size: clamp(2.75rem, 6.5vw, 6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.03; }
.footer-bottom { display: flex; flex-direction: column; gap: var(--space-md); border-top: 1px solid var(--color-rule); padding-top: var(--space-lg); margin-top: var(--space-xl); font-size: var(--text-sm); }
.footer-bottom strong { font-size: var(--text-large); font-weight: 600; }
.footer-bottom a { align-self: flex-start; white-space: nowrap; }
.footer-note { margin-top: var(--space-lg); font-size: var(--text-xs); }
.footer-note a { display: inline-block; }
.built-by { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; text-decoration: none; margin-top: var(--space-md); }
.built-by img { width: auto; height: 22px; }
.built-by span { white-space: nowrap; }
@media (min-width: 40rem) {
  .review-bar span { display: inline; }
  .wordmark span { font-size: .75rem; }
  .townhall-notice .wrap { grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); }
  .townhall-link { grid-column: 3; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom a { align-self: auto; }
}
@media (min-width: 64rem) {
  .desktop-nav { display: flex; align-items: center; gap: var(--space-lg); }
  .desktop-nav a { font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .desktop-nav a:hover { text-decoration: underline; }
  .mobile-nav { display: none; }
  .about-grid, .contact-grid, .voting-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: end; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
