/* =====================================================================
   Dana Goldman for Mayor | site.css (v11, Oct 7 2026; baby blue Oct 10 2026)

   Built around her own campaign logo: Montserrat (the logo's typeface)
   for headings and UI, Source Serif 4 for reading text.
     baby blue (--sky)  big surfaces: action bar, footer, solid buttons, photo ring.
                        Text on it is ink; white text on baby blue can't be read (1.7:1).
     deep blue (--accent) anything text-sized: links, numbers, eyebrows, icons,
                        focus rings. Same hue as the baby blue, dark enough to read.
     Her logo files keep her own royal blue (#1E2F8C). Don't recolor them here.
     red   (--accent-2) only Donate, the #203 ballot number and small markers
     white + one light tint (--surface) for alternating bands
     ink / muted / line  neutrals
   Fonts are self-hosted in /assets/fonts (SIL Open Font License; see the
   LICENSE files there). If you're about to add a new color, use one of these.
   ===================================================================== */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #17203A;
  --muted: #535C74;          /* 6.6:1 on white, 6.1:1 on the tint */
  --sky: #89CFF0;            /* baby blue: big surfaces only. Ink on it is 9.4:1 */
  --accent: #086691;         /* deep blue, same hue as --sky: text, icons, focus. 6.3:1 on white, 5.8:1 on the tint */
  --accent-2: #D42B2B;       /* Dana red, a hair darker than the logo's #E23333 so white text passes AA (5.0:1) */
  --accent-soft: rgba(137, 207, 240, 0.28);
  --accent-line: rgba(8, 102, 145, 0.28);
  --bg: #FFFFFF;
  --surface: #EEF7FC;        /* the one tint (sky) */
  --line: #DCE9F2;           /* hairlines */
  --field: #6F8CA2;          /* form-field borders, 3.5:1 on white (WCAG 1.4.11) */

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  color-scheme: light;
  font-size: 16px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* date-switched blocks must stay hidden even when a class sets display */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 14px; }
a { color: var(--accent); text-underline-offset: 2px; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
picture { display: block; }
.hero-photo picture, .avatar picture { width: 100%; height: 100%; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--accent); padding: 10px 16px; font-family: var(--font-display); font-weight: 700; text-decoration: none; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap.measure { max-width: 760px; }
.wrap.measure-wide { max-width: 900px; }
.wrap.measure-prose { max-width: 700px; }
.wrap.measure-narrow { max-width: 720px; }
.center { text-align: center; }
.center-inline { margin-left: auto; margin-right: auto; max-width: 640px; }
.mt-lg { margin-top: 40px; }
.mt-md { margin-top: 24px; }
.mt-sm { margin-top: 14px; }

.section { padding: 72px 0; }
.band-plain { background: var(--bg); }
.band-tint { background: var(--surface); }

.eyebrow { margin: 0 0 10px; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.center .lead, .lead.center-inline { margin-left: auto; margin-right: auto; }
/* margin-bottom only, so .center-inline and the .mt-* helpers still work on notes */
.form-note { font-size: 0.86rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Buttons (one size, five kinds) ---------- */
.btn { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.2; padding: 13px 24px; border-radius: 4px; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: opacity .15s ease, background .15s ease, transform .15s ease; }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--sky); color: var(--ink); }
.btn-solid:hover { opacity: .88; }
.btn-outline { background: transparent; border-color: var(--accent-line); color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-donate { background: var(--accent-2); color: #fff; }
.btn-donate:hover { opacity: .9; }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { opacity: .92; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.nav.solid { box-shadow: 0 6px 20px rgba(23, 32, 58, .09); }
.nav-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center; gap: 14px; }
.nav-logo { display: block; flex-shrink: 0; transition: opacity .2s ease, visibility .2s ease; }
.nav-logo img { width: 150px; height: auto; }
.ballot-chip { transition: opacity .2s ease, visibility .2s ease; background: var(--accent-2); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; letter-spacing: .01em; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.nav-links { margin-left: auto; margin-right: auto; display: flex; align-items: center; gap: 26px; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; }
.nav-links > a { color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1.2; padding: 8px 0; }
.nav-links > a:hover { color: var(--accent); }
.nav-links > a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent-2); }
.nav-donate { display: inline-flex; align-items: center; margin-left: 0; padding: 16px 42px; background: var(--accent-2); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: .01em; line-height: 1; border-radius: 4px; white-space: nowrap; transition: opacity .15s ease, transform .15s ease; }
.nav-donate:hover { opacity: .92; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); line-height: 1; cursor: pointer; padding: 6px; border-radius: 4px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 1159px) {
  .nav-inner { padding: 10px 28px; }
  .nav-toggle { display: inline-flex; order: 3; margin-left: 4px; }
  .nav-donate { order: 2; margin-left: auto; padding: 11px 22px; font-size: 1.05rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; padding: 12px 28px 20px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 24px rgba(23, 32, 58, .12); font-size: 1rem; }
  .nav-links.open > a { padding: 11px 0; }
  .nav-links > a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-color: var(--accent-2); text-decoration-thickness: 3px; text-underline-offset: 7px; }
}
@media (max-width: 760px) {
  .nav.logo-tucked .nav-logo, .nav.logo-tucked .ballot-chip { opacity: 0; visibility: hidden; }   /* home page on phones: hidden while the big logo is on screen */
  .nav-inner { padding: 8px 20px; }
  .nav-logo img { width: 124px; }
  .nav-links.open { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 420px) {
  .ballot-chip { display: none; }
  .nav-donate { padding: 10px 18px; font-size: 0.95rem; }
}
@media (max-width: 360px) {
  .nav-inner { padding: 8px 14px; gap: 8px; }
  .nav-logo img { width: 110px; }
  .nav-donate { padding: 10px 14px; }
  .nav-links.open { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Home hero: her logo, her photo, her number ---------- */
.hero { background: #fff; padding: 52px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "lead photo" "rest photo"; column-gap: 56px; row-gap: 22px; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.hero-grid > * { min-width: 0; }
.hero-lead { grid-area: lead; align-self: end; }
.hero-rest { grid-area: rest; align-self: start; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: 100%; max-width: 440px; height: auto; }
.hero-tagline { margin: 22px 0 0; font-family: var(--font-body); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--accent); }
.hero-photo-wrap { grid-area: photo; align-self: center; justify-self: end; position: relative; width: 100%; max-width: 330px; }
.hero-photo { aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--surface); border: 7px solid var(--sky); box-shadow: 0 22px 44px rgba(23, 32, 58, .18); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
/* The ballot number as a campaign sticker */
.sticker { position: absolute; left: -14px; bottom: 4px; width: 122px; height: 122px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-2); color: #fff; border: 5px solid #fff; box-shadow: 0 10px 22px rgba(23, 32, 58, .22); transform: rotate(-8deg); font-family: var(--font-display); line-height: 1; text-align: center; }
.sticker-vote { font-size: 0.95rem; font-weight: 700; letter-spacing: .02em; }
.sticker-num { margin-top: 4px; font-size: 2.15rem; font-weight: 800; letter-spacing: -0.02em; }
.voter-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.voter-strip li { display: flex; align-items: center; gap: 8px; }
.voter-strip svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); }
.voter-strip strong { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions.is-centered { justify-content: center; }
.hero-thanks { margin: 22px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent); }

@media (max-width: 860px) {
  .hero { padding: 32px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "lead" "photo" "rest"; row-gap: 26px; text-align: center; }
  .hero-lead, .hero-rest { align-self: auto; }
  .hero-logo img { max-width: 360px; margin: 0 auto; }
  .hero-tagline { margin-top: 16px; font-size: 1.4rem; }
  .hero-photo-wrap { justify-self: center; max-width: 236px; }
  .sticker { width: 100px; height: 100px; left: -22px; bottom: 0; }
  .sticker-vote { font-size: 0.82rem; }
  .sticker-num { font-size: 1.75rem; }
  .voter-strip, .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1 1 220px; }
}

/* Action bar under the home hero: the baby blue band, carrying the one thing to do next */
.action-bar { background: var(--sky); color: var(--ink); padding: 22px 0; }
.action-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; }
.action-bar-inner p { margin: 0; max-width: 660px; font-size: 1.02rem; color: var(--ink); }
.action-bar-inner p strong { color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.action-bar a:not(.btn) { color: var(--ink); }
.action-bar :focus-visible { outline-color: var(--ink); }

/* ---------- Inner-page head ---------- */
.page-head { padding: 60px 0 56px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.page-head .attrib { margin: 10px 0 0; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ---------- Cards: reasons, teasers, cards, stats ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reason { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 24px; color: inherit; text-decoration: none; transition: border-color .15s ease; }
a.reason:hover { border-color: var(--accent-line); }
.reason strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; color: var(--accent); }
.reason span { display: block; margin-top: 10px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }

/* Priority cards on the home page (Maggie's pattern): icon, title, one line, Read more.
   Five cards: three on the first row, two centered on the second. */
.teasers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1040px; margin-left: auto; margin-right: auto; }
.teaser { grid-column: span 2; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 24px; color: inherit; text-decoration: none; transition: border-color .15s ease; }
.teaser:nth-child(4) { grid-column: 2 / span 2; }
a.teaser:hover { border-color: var(--accent-line); }
.teaser-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.teaser-icon svg { width: 21px; height: 21px; }
.teaser h3 { line-height: 1.25; }
.teaser p { margin: 8px 0 0; font-size: 0.97rem; color: var(--muted); }
.teaser .more { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 1rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: 0.93rem; line-height: 1.5; color: var(--muted); }

/* Lists with small red markers (cards, priorities, legal pages) */
.card ul, .priority ul, .prose ul { list-style: none; margin: 0; padding: 0; }
.card li, .priority li { position: relative; padding: 9px 0 9px 18px; border-top: 1px solid var(--line); font-size: 1rem; }
.card li:first-child, .priority li:first-child { border-top: 0; }
.card li::before, .priority li::before, .prose li::before { content: ''; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* ---------- Split (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-portrait { grid-template-columns: 340px 1fr; gap: 52px; align-items: center; max-width: 920px; }
.split-portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--accent-line); }
.letter-lead { margin: 18px 0 20px; padding-left: 18px; border-left: 3px solid var(--sky); font-family: var(--font-body); font-style: italic; font-size: 1.32rem; line-height: 1.45; color: var(--accent); }
.signature { margin: 0; padding-left: 21px; font-family: var(--font-body); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.split h2 + .lead, .split .lead { margin-top: 12px; }

/* Long-form story text */
.measure-prose h2 { margin-bottom: 16px; }

/* ---------- Priorities ---------- */

.priority { padding: 44px 0; border-top: 1px solid var(--line); }
.priority:first-child { padding-top: 0; border-top: 0; }
.priority:last-child { padding-bottom: 0; }
.priority .num { font-family: var(--font-display); font-size: 0.82rem; font-weight: 800; letter-spacing: .08em; color: var(--accent-2); margin-bottom: 6px; }
.priority h2 { font-size: 1.65rem; margin-bottom: 10px; }
.priority .priority-sum { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: var(--ink); }
.priority h3 { margin: 26px 0 2px; font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.priority p { color: var(--muted); }
.priority ul { margin: 6px 0 0; }
.pull { margin: 22px 0; padding-left: 18px; border-left: 3px solid var(--sky); font-family: var(--font-body); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--accent); }
.pull cite { display: block; margin-top: 8px; font-family: var(--font-display); font-style: normal; font-weight: 600; font-size: 0.8rem; color: var(--muted); }

/* ---------- Record: what changed ---------- */
#changed .lead { margin-left: 0; }
.contrast { margin-top: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.contrast-head, .contrast-row { display: grid; grid-template-columns: 1fr 1fr; }
.contrast-head span { padding: 12px 20px; background: var(--accent-soft); font-family: var(--font-display); font-size: 0.8rem; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.contrast-row > div { padding: 18px 20px; border-top: 1px solid var(--line); font-size: 1rem; }
.contrast-head span + span, .contrast-row > div + div { border-left: 1px solid var(--line); }

/* ---------- Endorsements ---------- */
.endorse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.endorse { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.who { display: flex; align-items: center; gap: 16px; }
.who strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.25; }
.who span { display: block; margin-top: 3px; font-size: 0.92rem; color: var(--muted); }
.avatar { width: 68px; height: 68px; flex-shrink: 0; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.avatar-top img { object-position: center top; }
.endorse blockquote { margin: 18px 0 0; }
.endorse blockquote p { margin: 0; font-family: var(--font-body); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.endorse-link { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.endorse-note { margin: 18px 0 0; font-size: 1rem; color: var(--muted); }
.endorse-note strong { color: var(--ink); }
/* Home: endorsers strip (photo, name, role), like Maggie's home page */
.backers { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 960px; margin-left: auto; margin-right: auto; margin-bottom: 0; padding: 0; list-style: none; }
.backer { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px; }
.backer .avatar { width: 84px; height: 84px; margin-bottom: 14px; }
.backer strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.backer > span:last-child { margin-top: 4px; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }

/* ---------- Stay Informed ---------- */
.signup-form .lead { margin: 10px 0 22px; font-size: 1.05rem; }
.wrap.narrow { max-width: 640px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 28px; }
.contact-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-cols > *, .contact-list li > div { min-width: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.contact-list a { overflow-wrap: anywhere; }
.contact-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.note { padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: 4px; }
.note h3 { margin-bottom: 8px; }
.note p { margin: 0; font-size: 1rem; color: var(--muted); }
.note strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; padding: 30px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.form label { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.label-optional { font-weight: 600; color: var(--muted); }
/* 16px+ so phones don't zoom into the field */
.form input, .form select, .form textarea { width: 100%; padding: 12px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--field); border-radius: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.form textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form button[type="submit"] { width: 100%; padding: 15px; font-size: 1rem; }
.form button[type="submit"]:disabled { opacity: .6; cursor: default; }
.form-status { display: none; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.form-status.show { display: block; }
.hp-field { position: absolute; left: -9999px; }
/* Text-message consent: its own unchecked box, right under the phone field */
.consent { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; }
.form .consent-check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; padding: 0; accent-color: var(--accent); }
.form .consent-check label { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.consent-terms { margin: 10px 0 0 34px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
/* Optional extras on the Stay Informed form: yard sign, volunteer */
.form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form legend { margin: 0 0 6px; padding: 0; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.check { display: flex; gap: 12px; align-items: center; padding: 7px 0; }
.form .check input { flex-shrink: 0; width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--accent); }
.form .check label { margin: 0; font-size: 0.98rem; font-weight: 600; }
.sign-where { margin: 2px 0 8px 34px; }

/* ---------- Social icons ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent-line); border-radius: 50%; color: var(--accent); transition: background .15s ease; }
.social a:hover { background: var(--accent-soft); }
.social svg { width: 17px; height: 17px; }

/* ---------- Closing CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 30ch; margin: 0 auto 26px; }
.cta-band .btn { margin: 4px 5px; }
.cta-band .form-note { margin-top: 14px; }
.cta-endorse { max-width: 52ch; margin: 0 auto 18px; font-family: var(--font-body); font-style: italic; font-size: 1.2rem; color: var(--ink); }

/* ---------- Legal pages, 404 ---------- */
.prose h1 { font-size: clamp(2.1rem, 4.6vw, 2.7rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose li { position: relative; padding: 6px 0 6px 18px; }
.prose li::before { top: 17px; }
.prose > .form-note:first-of-type { margin-bottom: 18px; }
.prose .summary { padding: 16px 18px; background: var(--surface); border-left: 3px solid var(--sky); border-radius: 4px; }
.section-fill { min-height: 56vh; display: flex; align-items: center; }
.section-fill > .wrap { width: 100%; }

/* ---------- Footer: her sign, then the fine print ---------- */
.site-footer { background: var(--sky); color: rgba(23, 32, 58, .86); text-align: center; padding: 52px 24px 34px; font-family: var(--font-display); font-size: 0.86rem; }
.site-footer a { color: var(--ink); }
.foot-sign { display: inline-block; padding: 18px 22px; background: #fff; border-radius: 6px; box-shadow: 0 12px 28px rgba(8, 60, 92, .2); }
.foot-sign img { width: 240px; }
.site-footer :focus-visible { outline-color: var(--ink); }
.foot-line { margin: 22px 0 0; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.site-footer .social { justify-content: center; margin: 18px 0 14px; }
.site-footer .social a { border-color: rgba(23, 32, 58, .35); color: var(--ink); }
.site-footer .social a:hover { background: rgba(255, 255, 255, .45); }
.foot-contact { margin: 0; }
.site-footer .rule { width: 48px; height: 3px; margin: 22px auto; border: 0; background: var(--accent-2); }
.disclaimer { max-width: 540px; margin: 0 auto; line-height: 1.55; font-weight: 600; color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; }
.sms-notice { max-width: 600px; margin: 18px auto 0; font-size: 0.8rem; line-height: 1.55; text-wrap: balance; } /* texting notice: keep in step with the opt-in box and terms.html#text-messages */

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .reasons, .stats { grid-template-columns: repeat(2, 1fr); }
  .teasers { grid-template-columns: repeat(4, 1fr); }
  .teaser, .teaser:nth-child(4) { grid-column: span 2; }
  .teaser:nth-child(5) { grid-column: 2 / span 2; }
  .split-portrait { grid-template-columns: 280px 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .section { padding: 52px 0; }
  .page-head { padding: 44px 0 40px; }
  .teasers, .cards, .cards.cards-2, .endorse-grid, .split, .contact-cols { grid-template-columns: 1fr; }
  .backers { gap: 12px; }
  .backer { flex-basis: 100%; max-width: none; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 16px 18px; }
  .backer .avatar { grid-row: span 2; width: 64px; height: 64px; margin: 0; }
  .backer strong { align-self: end; }
  .backer > span:last-child { align-self: start; margin-top: 2px; }
  .teaser, .teaser:nth-child(4), .teaser:nth-child(5) { grid-column: auto; }
  .split { gap: 32px; }
  .split-portrait { grid-template-columns: 1fr; gap: 28px; }
  .split-portrait img { max-width: 300px; margin: 0 auto; }
  .contrast-head { display: none; }
  .contrast-row { grid-template-columns: 1fr; }
  .contrast-row > div + div { border-left: 0; }
  .contrast-row > div::before { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; color: var(--accent); }
  .contrast-row > div:first-child::before { content: "While Dana was Mayor"; }
  .contrast-row > div + div::before { content: "Since"; }
  .form { padding: 24px 18px; }
  .action-bar-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .action-bar-inner p { max-width: none; }
}
@media (max-width: 440px) {
  .reasons, .stats { gap: 12px; }
  .reason, .stat { padding: 18px 16px; }
  .reason strong, .stat strong { font-size: 1.5rem; }
  .reason span, .stat span { font-size: 0.9rem; }
  .foot-sign img { width: 210px; }
}
@media (max-width: 340px) {
  .reasons, .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
