/* Vote Sticker, Direction A "Civic Print Shop" (chosen October 19, 2026).
   Polish pass, October 19 evening: one type scale, one spacing scale, three link modes, three heading
   levels (Anton display for the page and primary sections, bold UI type for secondary sections, small
   caps-style labels for utility). Change tokens here, not values in rules. */

@font-face { font-family: "Vote Display"; src: url("/assets/fonts/anton.woff2") format("woff2"); font-display: swap; }

:root {
	/* Color */
	--bg: #FBF8F0;
	--paper: #F4EEDF;
	--panel: #FFFFFF;
	--ink: #14295E;
	--text: #1F2430;
	--muted: #5A5F6B;
	--line: #E3DED2;
	--line-strong: #CFC6B2;
	--accent: #C1272D;
	--gold: #F2C14E;
	--cream: #FBF6E8;
	--band-text: #DCE3F2;
	--focus: #2F6FEB;
	/* Type: 6 sizes plus the two display sizes */
	--fs-xs: 0.84rem;   /* meta: checked dates, statuses */
	--fs-sm: 0.94rem;   /* utility: help, breadcrumbs, lists */
	--fs-base: 1rem;    /* body */
	--fs-lg: 1.12rem;   /* lead, card titles */
	--fs-h3: 1.3rem;    /* secondary section headings */
	--fs-h2: clamp(1.7rem, 3.2vw, 2.15rem);  /* primary section headings (display) */
	--fs-h1: clamp(2.4rem, 6vw, 4.1rem);
	--fs-hero: clamp(2.7rem, 7.4vw, 4.5rem);
	/* Space */
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
	--radius: 12px;
	--radius-lg: 16px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 600px) { body { font-size: 17px; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

/* ------------------------------------------------------------------ */
/* Links: three modes                                                  */
/* ------------------------------------------------------------------ */
/* 1. Inline editorial links (panel, FAQ, footer copy): thin underline, thicker on hover. */
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.16em; text-decoration-color: rgba(20, 41, 94, 0.45); }
a:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
/* 2. Utility links (breadcrumbs, state lists, related states, pager, brand): no underline until hover. */
.brand, .crumbs a, .states a, .near a, .pager a, .finder .help a, .pick { text-decoration: none; }
.crumbs a:hover, .states a:hover, .near a:hover, .finder .help a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
/* 3. Actions (official links, buttons): containers, never bare underlined text. See .official, .btn. */

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

/* ------------------------------------------------------------------ */
/* Headings                                                            */
/* ------------------------------------------------------------------ */
h2 { margin: 0 0 var(--s3); color: var(--ink); font-size: var(--fs-h3); line-height: 1.2; }
.display-h, .gallery h2 {
	font-family: "Vote Display", Impact, sans-serif;
	font-weight: 400;
	font-size: var(--fs-h2);
	line-height: 1.05;
	letter-spacing: 0.01em;
	margin: 0 0 var(--s3);
}
.section-intro { margin: 0 0 var(--s5); max-width: 40rem; color: var(--text); }
.label { margin: 0 0 var(--s2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Header band                                                         */
/* ------------------------------------------------------------------ */
.top { background: var(--ink); color: var(--cream); padding: var(--s5) 0 var(--s6); }
@media (min-width: 860px) { .top { padding: var(--s6) 0 var(--s7); } }
.top h1 {
	font-family: "Vote Display", Impact, sans-serif;
	font-weight: 400;
	font-size: var(--fs-h1);
	line-height: 0.98;
	letter-spacing: 0.005em;
	margin: var(--s2) 0 var(--s4);
}
.top .lead { margin: 0; max-width: 38rem; font-size: var(--fs-lg); line-height: 1.5; color: var(--band-text); }

.brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s5); color: var(--cream); }
.brand__mark { flex: none; width: 40px; height: 40px; transform: rotate(-8deg); }
.brand__name { font-family: "Vote Display", Impact, sans-serif; font-size: 1.6rem; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.brand__hi { color: var(--gold); }
.brand__tag { display: none; font-size: var(--fs-sm); color: var(--band-text); padding-left: var(--s3); border-left: 1px solid #5D6F9C; }
@media (min-width: 600px) { .brand__tag { display: inline; } }
.brand:hover .brand__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.crumbs ol { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--band-text); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #8A9BC4; }
.crumbs a { color: var(--cream); opacity: 0.85; }
.crumbs a:hover { opacity: 1; }

.ribbon {
	display: inline-block;
	margin: 0 0 var(--s4);
	padding: 10px 16px 9px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-family: "Vote Display", Impact, sans-serif;
	font-size: clamp(1.15rem, 2.6vw, 1.5rem);
	letter-spacing: 0.025em;
	line-height: 1;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

/* State hero: the state's first ready-made sticker beside the text on wide screens. */
.state-hero__sticker { display: none; }
@media (min-width: 860px) {
	.state-hero--art { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s7); align-items: center; }
	.state-hero__sticker { display: block; width: 260px; height: auto; border-radius: 50%; transform: rotate(-6deg); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
}

/* Copy-link button: outline that fills on hover. */
.share { margin: var(--s5) 0 0; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1.5px solid #7D8DB6; border-radius: 999px; background: transparent; color: var(--cream); font: inherit; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.share__btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.share__btn svg { flex: none; }

/* Hub hero: the promise, the finder, and three stickers. */
.top--hub { padding-bottom: var(--s6); }
@media (min-width: 860px) { .top--hub { padding: var(--s6) 0 var(--s8); } }
.hero { display: grid; gap: var(--s5); align-items: center; }
.eyebrow { margin: 0; font-weight: 800; font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.top--hub h1 { font-size: var(--fs-hero); text-transform: uppercase; margin: var(--s2) 0 var(--s4); }
.hero__art { display: flex; justify-content: center; gap: 4%; max-width: 420px; width: 100%; margin: var(--s2) auto 0; }
.hero__sticker { width: 30%; height: auto; border-radius: 50%; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
.hero__sticker--1 { transform: rotate(-8deg); }
.hero__sticker--2 { transform: rotate(6deg) translateY(10px); }
.hero__sticker--3 { transform: rotate(-3deg); }
@media (min-width: 860px) {
	.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s7); }
	.hero__art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; max-width: 470px; margin: 0 0 0 auto; }
	.hero__sticker { width: 100%; }
	.hero__sticker--1 { transform: rotate(-8deg); }
	.hero__sticker--2 { transform: rotate(7deg) translateY(36px); }
	.hero__sticker--3 { grid-column: 1 / span 2; width: 50%; justify-self: center; margin-top: -24px; transform: rotate(-3deg); }
}

/* ------------------------------------------------------------------ */
/* Forms and buttons                                                   */
/* ------------------------------------------------------------------ */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s4) var(--s5); margin: 0 0 var(--s5); }
.controls label { display: flex; flex-direction: column; gap: var(--s2); font-weight: 700; font-size: var(--fs-sm); }
select, input, textarea {
	font: inherit;
	font-weight: 400;
	padding: 10px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: #fff;
	color: var(--text);
	min-height: 48px;
	width: 100%;
}
select:hover, input:hover, textarea:hover { border-color: #A79D86; }
.date-row { display: flex; gap: var(--s2); }
.date-row input { flex: 1; min-width: 0; text-transform: uppercase; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 20px;
	border-radius: var(--radius);
	border: 2px solid var(--ink);
	background: var(--ink);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #1E3A7E; border-color: #1E3A7E; }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F6D27A; border-color: #F6D27A; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* State finder: type-ahead combobox. */
.finder { max-width: 600px; }
.finder label { display: block; font-weight: 800; font-size: var(--fs-base); margin-bottom: var(--s3); }
.finder__box { position: relative; display: flex; gap: 10px; }
.finder input { flex: 1; min-width: 0; min-height: 56px; padding-inline: var(--s4); border: 2px solid #9AA6C4; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.finder input:hover, .finder input:focus { border-color: var(--ink); }
.finder .btn { min-height: 56px; padding-inline: 22px; }
.finder ul { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(20, 41, 94, 0.22); color: var(--text); }
.finder li[role="option"] { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; padding: 11px 12px; border-radius: 8px; cursor: pointer; font-weight: 700; }
.finder li[aria-selected="true"], .finder li[role="option"]:hover { background: #FBF0D2; }
.finder__status { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); text-align: right; }
.finder__none { padding: 11px 12px; color: var(--muted); }
.finder .help { margin: var(--s3) 0 0; font-size: var(--fs-sm); }
.top .finder { margin-top: var(--s5); }
.top .finder label { color: var(--cream); }
.top .finder input { border-color: var(--cream); }
.top .finder .help a { color: var(--band-text); }
.controls--find { display: block; margin: 0; padding: var(--s6) 0 var(--s5); }

.help { font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Fact zone: the state panel                                          */
/* ------------------------------------------------------------------ */
.info {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px 20px 18px;
	margin: 0 0 var(--s7);
	box-shadow: 0 1px 2px rgba(20, 41, 94, 0.05);
}
@media (min-width: 860px) { .info { padding: 28px 32px 24px; } }
.info h2 { margin: 0 0 var(--s3); font-size: var(--fs-h3); }
.info p { margin: 0 0 var(--s3); max-width: 46rem; }
.info .source { margin: var(--s4) 0 0; font-size: var(--fs-xs); color: var(--muted); }
.info .source a { color: var(--muted); }
/* The official link is an action row, not a sentence. */
.info p:has(> .official) { margin: var(--s5) 0 0; max-width: none; }
.official {
	display: flex;
	align-items: center;
	gap: var(--s4);
	max-width: 36rem;
	padding: 14px 18px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.official::after { content: "→"; margin-left: auto; font-size: 1.3rem; font-weight: 700; }
.official span { display: flex; flex-direction: column; gap: 2px; }
.official b { font-size: var(--fs-base); }
.official small { font-size: var(--fs-sm); color: var(--muted); }
.official:hover { background: var(--ink); color: #fff; }
.official:hover small { color: var(--band-text); }

/* ------------------------------------------------------------------ */
/* Sticker zone: gallery and maker                                     */
/* ------------------------------------------------------------------ */
.gallery { margin: 0 0 var(--s7); }
.gallery p { margin: 0 0 var(--s4); }
.grid.grid--gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s4); }
@media (min-width: 860px) { .grid.grid--gallery { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 20px; } }

.maker-h { margin: 0 0 var(--s4); padding-top: var(--s6); border-top: 1px solid var(--line); }
.controls--maker { margin: 0 0 var(--s5); }
.maker { display: grid; gap: var(--s6); }
@media (max-width: 859px) { .maker__designs { order: -1; } }
@media (min-width: 860px) {
	.maker { grid-template-columns: minmax(320px, 420px) 1fr; align-items: start; }
	.maker__preview { position: sticky; top: var(--s4); }
}
.maker__designs h2 { font-size: var(--fs-h3); }
.has-gallery .maker__designs h2 { font-size: var(--fs-lg); }
.designs-help { margin: calc(var(--s2) * -1) 0 var(--s3); }

.frame { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); }
.frame img { display: block; width: 100%; height: auto; transition: border-radius 0.2s; }
.as-circle .frame img, .as-circle .grid canvas, .as-circle .grid--gallery img { border-radius: 50%; }

.sizes { display: flex; gap: var(--s2); margin-bottom: var(--s3); flex-wrap: wrap; }
.size { flex: 1; min-height: 44px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.size[aria-pressed="true"] { background: var(--ink); color: #fff; }
.summary { margin: var(--s3) 0 0; font-size: var(--fs-sm); }
.is-story .frame img { border-radius: 0 !important; max-height: 70vh; width: auto; margin: 0 auto; }
.is-story #circle-check { display: none; }

.check { display: flex; gap: 10px; align-items: center; margin: var(--s3) 0; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; min-height: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hint { color: var(--muted); font-size: var(--fs-sm); margin: var(--s3) 0 0; }
.link-quiet { align-self: center; font-weight: 700; font-size: var(--fs-sm); padding: 10px 4px; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }

.post { margin-top: var(--s5); border-top: 1px solid var(--line); padding-top: var(--s4); }
.post summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 28px; }
.post[open] { display: flex; flex-direction: column; gap: var(--s2); }
.post .btn { align-self: flex-start; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
@media (min-width: 860px) { .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--s3); } }
.tile {
	display: block;
	padding: 0;
	border: 3px solid transparent;
	border-radius: var(--radius);
	background: none;
	cursor: pointer;
	line-height: 0;
}
.tile canvas, .tile img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; }
.tile[aria-pressed="true"] { border-color: var(--accent); border-width: 4px; background: #F6E3E1; }
.tile:hover { border-color: #B9B3A6; }
.tile[aria-pressed="true"]:hover { border-color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Hub sections                                                        */
/* ------------------------------------------------------------------ */
.showcase { margin: var(--s7) 0 0; }
.grid.grid--showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (min-width: 600px) { .grid.grid--showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); } }
.pick { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.pick img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 3px 12px rgba(20, 41, 94, 0.16); transition: transform 0.15s ease; }
.pick:hover img { transform: scale(1.03) rotate(-2deg); }
.pick__name { font-weight: 700; font-size: var(--fs-sm); }
.pick:hover .pick__name { text-decoration: underline; text-underline-offset: 0.16em; }

.how-wrap { margin: var(--s8) 0 0; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: how; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.how li { counter-increment: how; background: var(--panel); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: var(--s5); line-height: 1.5; color: #3A4562; }
.how li::before { content: counter(how); display: block; font-family: "Vote Display", Impact, sans-serif; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: var(--s3); }
.how li b { display: block; color: var(--ink); font-size: var(--fs-lg); margin-bottom: var(--s1); }

.trust { display: flex; gap: var(--s4); align-items: center; margin: var(--s7) 0 0; padding: var(--s5); border-radius: var(--radius-lg); background: var(--ink); color: var(--band-text); }
@media (min-width: 860px) { .trust { padding: var(--s5) var(--s6); } }
.trust svg { flex: none; }
.trust p { margin: 0; line-height: 1.55; }
.trust b { color: var(--cream); }
@media (max-width: 479px) { .trust { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------------ */
/* Discovery zone: related states, pager, all states                   */
/* ------------------------------------------------------------------ */
.discover { margin: var(--s7) 0 0; padding: var(--s5) var(--s4); background: var(--paper); border-radius: var(--radius-lg); }
@media (min-width: 600px) { .discover { padding: var(--s6) var(--s6); } }
.discover > * + * { margin-top: var(--s6); }

.near p { margin: 0 0 var(--s3); font-size: var(--fs-sm); color: var(--muted); }
.near ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2) var(--s5); }
@media (min-width: 600px) { .near ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .near ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.near li { display: flex; flex-direction: column; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.near li a { font-weight: 700; }
.near li span { font-size: var(--fs-xs); color: var(--muted); }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.pager a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: var(--s3) var(--s4); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; transition: border-color 0.15s; }
.pager a:hover { border-color: var(--ink); }
.pager a span { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.pager a[rel="prev"] span::before { content: "← "; }
.pager__next { grid-column: 2; text-align: right; }
.pager__next span::after { content: " →"; }

.states ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s5); font-size: var(--fs-sm); }
@media (min-width: 600px) { .states ul { columns: 3; } }
@media (min-width: 860px) { .states ul { columns: 5; column-gap: var(--s6); } }
.states li { padding: 4px 0; break-inside: avoid; }
.states a { color: #2A3A66; }
.states span[aria-current] { display: inline-block; padding: 0 8px; margin-left: -8px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Trust zone: FAQ and footer                                          */
/* ------------------------------------------------------------------ */
.faq { margin: var(--s7) 0 0; max-width: 46rem; }
.faq h2 { margin-bottom: var(--s4); }
.faq details { border-top: 1px solid var(--line); padding: var(--s4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; cursor: pointer; font-weight: 700; color: var(--ink); line-height: 1.35; list-style: none; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); font-weight: 700; transition: transform 0.15s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: var(--s3) 0 0; }

.foot { margin-top: var(--s8); padding: var(--s6) 0 var(--s7); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }
.foot p { margin: 0 0 var(--s3); max-width: 50rem; }
.foot__made { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.foot__gd { display: inline-flex; align-items: center; }
.foot__gd img { height: 40px; width: auto; display: block; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
