:root {
	--bg: #FBF8F0;
	--panel: #FFFFFF;
	--ink: #14295E;
	--text: #1F2430;
	--muted: #5A5F6B;
	--line: #E3DED2;
	--accent: #C1272D;
	--focus: #2F6FEB;
}

* { box-sizing: border-box; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

a { color: var(--ink); }

.top { background: var(--ink); color: #FBF6E8; padding: 20px 0 18px; }
@media (min-width: 860px) { .top { padding: 28px 0 24px; } }
.top h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.15; }
.top .lead { margin: 0; max-width: 46em; color: #DCE3F2; }

h2 { font-size: 1.2rem; margin: 0 0 12px; color: var(--ink); }

.controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px 20px;
	margin: 24px 0 20px;
}
.controls label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
select, input, textarea {
	font: inherit;
	font-weight: 400;
	padding: 10px 12px;
	border: 1px solid #B9B3A6;
	border-radius: 8px;
	background: #fff;
	color: var(--text);
	min-height: 46px;
	width: 100%;
}
.date-row { display: flex; gap: 8px; }
.date-row input { flex: 1; min-width: 0; text-transform: uppercase; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 8px;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.btn--quiet { background: transparent; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

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

.info {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 24px;
}
.info p { margin: 0 0 8px; }
.info p:last-child { margin-bottom: 0; }
.info .source { font-size: 0.88rem; color: var(--muted); }

.maker { display: grid; gap: 28px; }
@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: 16px; }
}

.frame { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.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: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.size { flex: 1; min-height: 44px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.size[aria-pressed="true"] { background: var(--ink); color: #fff; }
.summary { margin: 10px 0 0; font-size: 0.95rem; }
.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: 12px 0; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; min-height: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hint { color: var(--muted); font-size: 0.92rem; margin: 10px 0 0; }

.post { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.post summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 28px; }
.post[open] { display: flex; flex-direction: column; gap: 8px; }
.post .btn { align-self: flex-start; }
.link-quiet { align-self: center; font-weight: 600; font-size: 0.95rem; padding: 10px 4px; }
.designs-help { margin: -6px 0 12px; }

.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: 12px; } }
.tile {
	display: block;
	padding: 0;
	border: 3px solid transparent;
	border-radius: 10px;
	background: none;
	cursor: pointer;
	line-height: 0;
}
.tile canvas, .tile img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; }
.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); }

.gallery { margin: 0 0 32px; }
.gallery h2 { font-size: 1.35rem; }
.grid--gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
@media (min-width: 860px) { .grid--gallery { grid-template-columns: repeat(5, 1fr); } }
.controls--maker { margin: 0 0 22px; }
.maker-h { font-size: 1.1rem; margin: 8px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.has-gallery .maker__designs h2 { font-size: 1rem; }

.help { font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.info h2 { margin: 0 0 6px; font-size: 1.15rem; }
.faq { margin: 40px 0 8px; max-width: 46em; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 28px; }
.faq details p { margin: 8px 0 0; }
.gallery p { margin: 0 0 12px; }

.foot { margin-top: 40px; padding: 22px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.foot p { margin: 0 0 6px; }

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

main > .controls { max-width: 480px; }

/* Landing showcase: one ready-made design per state, shown in the profile-picture circle. */
.showcase { margin: 4px 0 32px; }
.showcase h2 { font-size: 1.35rem; }
.showcase p { margin: 0 0 16px; max-width: 640px; }
.grid--showcase { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 600px) { .grid--showcase { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.pick { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.pick img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 2px 10px rgba(20, 41, 94, 0.16); transition: transform 0.15s ease; }
.pick:hover img { transform: scale(1.03); }
.pick__name { font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.pick__name { color: var(--ink); }
.pick { text-decoration: none; }

/* State links: every state page reachable without the menu. */
.states { margin: 36px 0 8px; }
.states ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
@media (min-width: 600px) { .states ul { columns: 4; } }
@media (min-width: 860px) { .states ul { columns: 5; } }
.states li { padding: 4px 0; break-inside: avoid; }
.how-h { font-size: 1.1rem; margin: 28px 0 8px; }
.how { margin: 0; padding-left: 1.3em; max-width: 640px; }
.how li { padding: 3px 0; }

/* Breadcrumbs in the header band. */
.crumbs ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.86rem; color: #DCE3F2; }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: #9FB0D6; }
.crumbs a { color: #FBF6E8; }

/* State pages: same-rule and neighboring states, previous/next. */
.near { margin: 32px 0 0; }
.near p { margin: 0 0 8px; }
.near ul { margin: 0; padding-left: 1.2em; columns: 1; }
@media (min-width: 600px) { .near ul { columns: 2; column-gap: 32px; } }
.near li { padding: 3px 0; break-inside: avoid; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; font-weight: 600; min-height: 44px; }
.pager a span { font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.pager__next { text-align: right; margin-left: auto; }
.states span[aria-current] { font-weight: 700; }

/* Copy-link button in the header band. */
.share { margin: 12px 0 0; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 2px solid #9FB0D6; border-radius: 999px; background: transparent; color: #FBF6E8; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.share__btn:hover { border-color: #FBF6E8; }
.share__btn svg { flex: none; }

/* Brand lockup in the header band; the breadcrumbs follow it on state pages. */
.brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #FBF6E8; text-decoration: none; }
.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: #F2C14E; }
.brand__tag { display: none; font-size: 0.86rem; color: #DCE3F2; padding-left: 12px; border-left: 1px solid #9FB0D6; }
@media (min-width: 600px) { .brand__tag { display: inline; } }
.brand:hover .brand__name { text-decoration: underline; text-underline-offset: 4px; }
.crumbs ol { font-size: 0.86rem; }

/* Footer: the Garrett Digital logo is the agency link. */
.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; }

/* Direction A, Civic Print Shop (October 19, 2026): Anton display type, navy band, red ribbon, gold
   accents, cream paper. */
@font-face { font-family: "Vote Display"; src: url("/assets/fonts/anton.woff2") format("woff2"); font-display: swap; }
.top h1, .display-h { font-family: "Vote Display", Impact, sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.top h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.02; margin: 4px 0 10px; }
.display-h { font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.1; margin: 0 0 10px; }
.ribbon { display: inline-block; margin: 0 0 12px; padding: 8px 14px; border-radius: 8px; background: #C1272D; color: #fff; font-family: "Vote Display", Impact, sans-serif; font-size: clamp(1.15rem, 3vw, 1.6rem); letter-spacing: 0.03em; line-height: 1.1; }

/* Hub hero: the promise, the finder, and three stickers. */
.top--hub { padding-bottom: 32px; }
.hero { display: grid; gap: 24px; align-items: center; }
.eyebrow { margin: 0; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: #F2C14E; }
.top--hub h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); text-transform: uppercase; }
.top--hub .lead { font-size: 1.08rem; }
.hero__art { display: flex; justify-content: center; gap: 4%; max-width: 420px; width: 100%; margin: 4px 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) {
	.top--hub { padding: 28px 0 48px; }
	.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
	.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); }
}

/* State finder: type-ahead combobox. */
.finder { margin: 18px 0 0; max-width: 560px; }
.finder label { display: block; font-weight: 800; margin-bottom: 6px; }
.finder__box { position: relative; display: flex; gap: 8px; }
.finder input { flex: 1; min-width: 0; min-height: 54px; border: 2px solid #14295E; border-radius: 12px; font-size: 1.05rem; font-weight: 600; color: #14295E; }
.btn--gold { background: #F2C14E; border-color: #F2C14E; color: #14295E; min-height: 54px; border-radius: 12px; padding: 10px 22px; }
.btn--gold:hover { background: #F6D27A; }
.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: 2px solid #14295E; border-radius: 12px; box-shadow: 0 12px 28px rgba(20, 41, 94, 0.25); color: #1F2430; }
.finder li[role="option"] { display: flex; justify-content: space-between; gap: 12px; 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: 0.88rem; color: #5A5F6B; text-align: right; }
.finder__none { padding: 11px 12px; color: #5A5F6B; }
.finder .help { margin: 8px 0 0; font-size: 0.92rem; }
.top .finder label { color: #FBF6E8; }
.top .finder input { border-color: #FBF6E8; }
.top .finder .help a { color: #DCE3F2; }
.controls--find { display: block; margin: 24px 0; }

/* Showcase, How It Works, trust band. */
.showcase { margin-top: 36px; }
.how-wrap { margin: 40px 0 0; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: how; max-width: none; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how li { counter-increment: how; background: #fff; border: 2px solid #14295E; border-radius: 16px; padding: 20px 22px; 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: #C1272D; margin-bottom: 8px; }
.how li b { display: block; color: #14295E; font-size: 1.15rem; margin-bottom: 4px; }
.trust { display: flex; gap: 18px; align-items: center; margin: 32px 0 0; padding: 22px 24px; border-radius: 18px; background: #14295E; color: #DCE3F2; }
.trust svg { flex: none; }
.trust p { margin: 0; line-height: 1.5; }
.trust b { color: #FBF6E8; }
@media (max-width: 479px) { .trust { flex-direction: column; align-items: flex-start; } }
