/* ==========================================================================
   Vote St. Joe: Voter Guide
   Visual language from the "Know Before You Vote Night" cards: torn red
   paper over woven navy, condensed poster type, letterspaced labels.
   ========================================================================== */

:root {
	--vg-navy: oklch(0.27 0.11 262);
	--vg-navy-deep: oklch(0.2 0.1 263);
	--vg-navy-lift: oklch(0.37 0.1 257);
	--vg-red: oklch(0.58 0.21 22);
	--vg-red-deep: oklch(0.5 0.19 22);
	--vg-paper: oklch(0.975 0.012 85);
	--vg-paper-2: oklch(0.945 0.018 85);
	--vg-rule: oklch(0.86 0.02 85);
	--vg-ink: oklch(0.22 0.03 262);
	--vg-ink-soft: oklch(0.45 0.03 262);
	--vg-cream: oklch(0.97 0.015 85);
	--vg-cream-soft: oklch(0.97 0.015 85 / 0.8);

	--vg-display: "Anton", "Oswald", Impact, sans-serif;
	--vg-label: "Oswald", "Arial Narrow", sans-serif;
	--vg-body: "Public Sans", system-ui, sans-serif;

	--vg-gutter: clamp(1rem, 4vw, 3rem);
	--vg-max: 1240px;
	--vg-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--vg-top: 0px;
}

/* ---------- Reset inside Salient ---------- */

.vg-wrap.container-wrap {
	padding: 0 !important;
	margin: 0 !important;
	background: var(--vg-paper);
}

.vg {
	font-family: var(--vg-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--vg-ink);
	background: var(--vg-paper);
	-webkit-font-smoothing: antialiased;
}

.vg p,
.vg li,
.vg blockquote {
	font-family: var(--vg-body);
}

.vg a {
	font-family: inherit;
}

.vg p {
	padding: 0;
	margin: 0;
}

.vg ol,
.vg ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vg li {
	margin: 0;
	list-style: none;
}

.vg h1,
.vg h2,
.vg h3,
.vg h4 {
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	font-weight: 400;
}

.vg a {
	color: inherit;
	text-decoration: none;
}

.vg :focus-visible {
	outline: 3px solid var(--vg-red);
	outline-offset: 3px;
}

.vg-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.vg [hidden],
.vg [data-out] {
	display: none !important;
}

/* ---------- Shared type ---------- */

.vg-label,
.vg .vg-label {
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.8125rem;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.vg-eyebrow,
.vg .vg-eyebrow {
	font-family: var(--vg-label);
	font-weight: 600;
	font-size: clamp(0.8rem, 1.4vw, 1rem);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vg-cream);
}

.vg-star {
	color: var(--vg-red);
	letter-spacing: 0;
	margin-inline: 0.15em;
}

.vg-dot {
	opacity: 0.6;
	margin-inline: 0.2em;
}

.vg .vg-h2 {
	font-family: var(--vg-display);
	font-size: clamp(2.6rem, 6vw, 4.75rem);
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--vg-navy);
}

.vg .vg-h3 {
	font-family: var(--vg-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-navy);
	margin: 0 0 1rem;
}

.vg .vg-meta {
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vg-ink-soft);
}

.vg-icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.vg .vg-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.9375rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vg-red-deep);
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
	transition: gap 0.3s var(--vg-ease), color 0.2s;
}

.vg .vg-link:hover {
	gap: 0.7em;
	color: var(--vg-navy);
}

/* ---------- Surfaces ---------- */

.vg-paper {
	background: var(--vg-paper);
	color: var(--vg-ink);
}

/* Woven navy, after the card stock: mottling + fine weave + speckle. */
.vg-navy {
	position: relative;
	color: var(--vg-cream);
	background-color: var(--vg-navy);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .9 0 0 0 0 1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		repeating-linear-gradient(0deg, oklch(1 0 0 / 0.025) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(90deg, oklch(0 0 0 / 0.07) 0 1px, transparent 1px 3px),
		radial-gradient(110% 70% at 18% 12%, var(--vg-navy-lift), transparent 62%),
		radial-gradient(80% 60% at 88% 95%, var(--vg-navy-deep), transparent 70%);
}

/* ---------- Buttons ---------- */

.vg .vg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.75em 1.3em;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.975rem;
	line-height: 1.1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	border: 2px solid transparent;
	border-radius: 2px !important;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--vg-ease);
}

.vg .vg-btn:active {
	transform: translateY(1px);
}

.vg .vg-btn--red {
	background: var(--vg-red);
	color: var(--vg-cream);
}

.vg .vg-btn--red:hover {
	background: var(--vg-red-deep);
}

.vg .vg-btn--ghost {
	background: transparent;
	color: var(--vg-cream);
	border-color: oklch(0.97 0.015 85 / 0.45);
}

.vg .vg-btn--ghost:hover {
	border-color: var(--vg-cream);
	background: oklch(0.97 0.015 85 / 0.08);
}

.vg .vg-btn--navy {
	background: var(--vg-navy);
	color: var(--vg-cream);
}

.vg .vg-btn--navy:hover {
	background: var(--vg-navy-deep);
}

.vg .vg-btn--line {
	background: transparent;
	color: var(--vg-navy);
	border-color: var(--vg-navy);
}

.vg .vg-btn--line:hover {
	background: var(--vg-navy);
	color: var(--vg-cream);
}

.vg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- Stamp ---------- */

.vg .vg-stamp {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.32em 0.7em 0.3em 0.55em;
	font-family: var(--vg-label);
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vg-cream);
	background: var(--vg-red);
	transform: rotate(-2.5deg);
	transform-origin: left center;
}

.vg-stamp svg {
	width: 1.05em;
	height: 1.05em;
}

/* ---------- Hero ---------- */

.vg-hero {
	overflow: hidden;
	isolation: isolate;
}

.vg-torn {
	position: absolute;
	inset: 0 0 auto 0;
	width: 100%;
	height: clamp(46px, 10vw, 150px);
	object-fit: cover;
	object-position: center bottom;
	pointer-events: none;
	z-index: 1;
	max-width: none;
}

.vg-capitol {
	position: absolute;
	bottom: 0;
	width: clamp(90px, 13vw, 200px);
	height: auto;
	opacity: 0.85;
	pointer-events: none;
	z-index: 0;
}

.vg-capitol--l {
	left: 0;
}

.vg-capitol--r {
	right: 0;
}

.vg-hero__inner,
.vg-profile__inner {
	position: relative;
	z-index: 2;
	max-width: var(--vg-max);
	margin: 0 auto;
	padding: clamp(6rem, 15vw, 12rem) var(--vg-gutter) clamp(3.5rem, 7vw, 6rem);
}

.vg-hero__inner {
	padding-inline: max(var(--vg-gutter), 13vw);
	/* Size to the viewport height too, so the whole hero fits on laptop screens. */
	padding-top: clamp(4.5rem, min(10vw, 12vh), 8rem);
	padding-bottom: clamp(2.75rem, min(5vw, 6vh), 4.25rem);
}

.vg .vg-hero__title {
	font-family: var(--vg-display);
	font-size: clamp(3.4rem, min(11vw, 13vh), 8.25rem);
	line-height: 1.0;
	text-transform: uppercase;
	color: var(--vg-cream);
	margin: 1rem 0 1.25rem;
}

.vg .vg-hero__lede {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
	max-width: 44ch;
	color: var(--vg-cream-soft);
}

.vg-when {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	margin: clamp(1.25rem, 3vh, 2rem) 0 clamp(1.25rem, 2.5vh, 1.75rem);
	border-top: 1px solid oklch(0.97 0.015 85 / 0.25);
	border-bottom: 1px solid oklch(0.97 0.015 85 / 0.25);
	width: fit-content;
	max-width: 100%;
}

.vg-when > * {
	padding: 0.85rem 2rem 0.85rem 0;
}

.vg-when__date {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.vg-when__date .vg-label {
	color: var(--vg-red);
	font-weight: 600;
}

.vg-when__date strong {
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--vg-cream);
}

.vg-when__date span:last-child {
	color: var(--vg-cream-soft);
	font-size: 0.95rem;
}

.vg-when__count {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding-left: 2rem;
	border-left: 1px solid oklch(0.97 0.015 85 / 0.25);
}

.vg-when__count:empty {
	display: none;
}

.vg-when__count strong {
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: clamp(3rem, 6vw, 4.5rem);
	line-height: 0.9;
	color: var(--vg-cream);
}

.vg-when__count span {
	font-family: var(--vg-label);
	font-size: 0.9rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vg-cream-soft);
	max-width: 5.5em;
	line-height: 1.2;
}

/* ---------- Sticky county bar ---------- */

.vg-bar {
	position: sticky;
	top: var(--vg-top);
	z-index: 40;
	background: oklch(0.975 0.012 85 / 0.94);
	backdrop-filter: saturate(1.2) blur(8px);
	-webkit-backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid var(--vg-rule);
}

.vg-bar__inner {
	max-width: calc(var(--vg-max) + 2 * var(--vg-gutter));
	margin: 0 auto;
	padding: 0.75rem var(--vg-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	flex-wrap: wrap;
}

.vg-switch {
	display: flex;
	align-items: center;
	gap: 1rem;
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vg-switch legend {
	float: left;
	padding: 0;
	margin: 0;
	color: var(--vg-ink-soft);
}

.vg-switch__opts {
	display: inline-flex;
	border: 2px solid var(--vg-navy);
	border-radius: 2px;
}

.vg-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.vg .vg-switch label {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.35em 1.1em;
	margin: 0;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vg-navy);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.vg-switch label + input + label {
	border-left: 2px solid var(--vg-navy);
}

.vg-switch input:checked + label {
	background: var(--vg-navy);
	color: var(--vg-cream);
}

.vg-switch input:focus-visible + label {
	outline: 3px solid var(--vg-red);
	outline-offset: 2px;
}

.vg-bar__jump {
	display: flex;
	gap: 1.5rem;
}

.vg .vg-bar__jump a {
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vg-ink-soft);
	padding: 0.5rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.vg .vg-bar__jump a:hover,
.vg .vg-bar__jump a.is-current {
	color: var(--vg-navy);
	border-color: var(--vg-red);
}

/* ---------- Sections ---------- */

.vg-section {
	padding: clamp(3.5rem, 8vw, 7rem) var(--vg-gutter);
	scroll-margin-top: calc(var(--vg-top) + 70px);
}

.vg .vg-section > * {
	max-width: var(--vg-max);
	margin-inline: auto;
}

.vg-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	align-items: end;
	gap: 1rem 4rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.vg-section__head--center {
	display: block;
	text-align: center;
}

.vg-section__head--center .vg-h2 {
	color: var(--vg-cream);
	margin-top: 0.75rem;
}

.vg .vg-section__note {
	color: var(--vg-ink-soft);
	max-width: 52ch;
}

.vg .vg-section__note a {
	color: var(--vg-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--vg-red);
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}

/* ---------- Races ---------- */

.vg-races {
	border-top: 3px solid var(--vg-navy);
}

.vg .vg-race {
	display: grid;
	grid-template-columns: minmax(200px, 0.9fr) minmax(0, 2.2fr);
	gap: 1.5rem clamp(2rem, 5vw, 5rem);
	padding: clamp(2rem, 4vw, 3rem) 0;
	border-bottom: 1px solid var(--vg-rule);
}

.vg .vg-race__where {
	color: var(--vg-red-deep);
	font-weight: 600;
	margin-bottom: 0.6rem;
}

.vg .vg-race__office {
	font-family: var(--vg-display);
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-navy);
}

.vg-race__district {
	display: block;
	color: var(--vg-red);
	margin-top: 0.15em;
}

.vg .vg-race__note,
.vg .vg-race__none {
	margin-top: 0.75rem;
	font-size: 0.95rem;
	color: var(--vg-ink-soft);
	font-style: italic;
}

.vg-race__field {
	display: grid;
	gap: 1.75rem;
	align-content: start;
}

/* Our pick */
.vg-pick {
	display: grid;
	grid-template-columns: clamp(120px, 15vw, 190px) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: center;
}

.vg-pick__photo {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	box-shadow: 10px 10px 0 var(--vg-red);
	background: var(--vg-navy);
	overflow: hidden;
}

.vg-pick__photo img,
.vg-pick__photo .vg-monogram {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--vg-ease);
}

.vg-pick:hover .vg-pick__photo img {
	transform: scale(1.04);
}

.vg-pick__body {
	display: grid;
	justify-items: start;
	gap: 0.6rem;
}

.vg .vg-pick__name {
	font-family: var(--vg-display);
	font-size: clamp(2.1rem, 4.4vw, 3.5rem);
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--vg-navy);
	margin-top: 0.35rem;
}

.vg .vg-pick__name a:hover {
	color: var(--vg-red-deep);
}

.vg .vg-pick__tagline {
	max-width: 48ch;
	color: var(--vg-ink);
}

.vg-pick .vg-link {
	margin-top: 0.4rem;
}

/* Everyone else */
.vg-others {
	padding-top: 1.25rem;
	border-top: 1px dashed var(--vg-rule);
}

.vg-pick + .vg-others,
.vg-race__field > .vg-others:first-child {
	border-top: 0;
	padding-top: 0;
}

.vg-race__field > .vg-pick + .vg-others {
	border-top: 1px dashed var(--vg-rule);
	padding-top: 1.25rem;
}

.vg .vg-others__label {
	color: var(--vg-ink-soft);
	margin-bottom: 0.9rem;
}

.vg-others ul,
.vg-rivals {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.25rem;
}

.vg .vg-other,
.vg .vg-rivals li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.vg-other__photo,
.vg .vg-other__photo {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	filter: grayscale(0.35);
}

.vg-other__photo.vg-monogram {
	font-size: 1.15rem;
}

.vg-other__text {
	display: grid;
	line-height: 1.25;
}

.vg .vg-other__name {
	font-weight: 600;
	font-size: 1.075rem;
	color: var(--vg-ink);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

.vg .vg-other__name:hover {
	text-decoration-color: var(--vg-red);
}

.vg-other .vg-meta,
.vg-rivals .vg-meta {
	font-size: 0.75rem;
}

/* Monogram fallback for missing portraits */
.vg-monogram {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--vg-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--vg-cream);
	background-color: var(--vg-navy);
	background-image: radial-gradient(90% 70% at 25% 15%, var(--vg-navy-lift), transparent 65%);
	letter-spacing: 0.02em;
}

.vg .vg-empty {
	padding: 2rem 0;
	color: var(--vg-ink-soft);
	font-style: italic;
}

/* ---------- Ballot measures ---------- */

.vg-measures {
	overflow: hidden;
}

.vg-measure-list {
	max-width: 900px !important;
}

.vg .vg-measure {
	display: grid;
	grid-template-columns: clamp(92px, 12vw, 132px) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	padding: 1.75rem 0;
	border-top: 1px solid oklch(0.97 0.015 85 / 0.16);
}

.vg .vg-measure:last-child {
	border-bottom: 1px solid oklch(0.97 0.015 85 / 0.16);
}

.vg-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1.45;
	font-family: var(--vg-display);
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	line-height: 1;
	background: var(--vg-cream);
	color: var(--vg-navy);
	align-self: start;
}

.vg-tile--no {
	background: var(--vg-red);
	color: var(--vg-cream);
}

.vg-tile__none {
	font-family: var(--vg-label);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
	color: var(--vg-ink-soft);
}

.vg .vg-measure__title {
	font-family: var(--vg-display);
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-cream);
}

.vg .vg-measure__summary {
	margin-top: 0.45rem;
	font-size: 1.075rem;
	color: var(--vg-cream-soft);
	max-width: 60ch;
}

.vg-more-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.75rem;
	margin-top: 0.9rem;
}

.vg-more {
	flex: 1 1 100%;
}

.vg-more-group .vg-more:not([open]) {
	flex: 0 0 auto;
}

.vg-more summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vg-cream);
	cursor: pointer;
	list-style: none;
}

.vg-more summary::-webkit-details-marker {
	display: none;
}

.vg-more summary::before {
	content: "";
	width: 0.7em;
	height: 0.7em;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	color: var(--vg-red);
	transition: transform 0.3s var(--vg-ease);
}

.vg-more[open] summary::before {
	transform: rotate(45deg);
}

.vg-more summary:hover {
	color: var(--vg-cream);
	text-decoration: underline;
	text-decoration-color: var(--vg-red);
	text-underline-offset: 4px;
}

.vg .vg-more__body {
	padding: 0.25rem 0 1rem;
	color: var(--vg-cream-soft);
	max-width: 62ch;
	animation: vg-open 0.45s var(--vg-ease);
}

.vg .vg-more__body p + p {
	margin-top: 0.8em;
}

.vg .vg-ballot-text {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid oklch(0.97 0.015 85 / 0.25);
	background: oklch(0.2 0.1 263 / 0.35);
	font-size: 0.975rem;
	line-height: 1.6;
	color: var(--vg-cream-soft);
	quotes: none;
}

.vg .vg-ballot-text::before,
.vg .vg-ballot-text::after {
	content: none;
}

.vg .vg-ballot-text p {
	font-size: inherit;
	color: inherit;
}

.vg .vg-ballot-text p + p {
	margin-top: 0.8em;
}

.vg-measures .vg-link {
	color: var(--vg-cream);
	border-color: var(--vg-red);
}

.vg-measures .vg-link:hover {
	color: var(--vg-cream);
}

/* ---------- Take it with you ---------- */

.vg-carry {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: center;
	max-width: calc(var(--vg-max) + 2 * var(--vg-gutter));
	margin-inline: auto;
}

.vg .vg-carry > * {
	max-width: none;
	margin: 0;
}

.vg .vg-carry__copy p {
	margin: 1.25rem 0 2rem;
	max-width: 42ch;
	font-size: 1.125rem;
	color: var(--vg-ink-soft);
}

.vg-card {
	background: var(--vg-paper);
	border: 2px solid var(--vg-navy);
	box-shadow: 12px 12px 0 var(--vg-navy);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	transform: rotate(1.2deg);
	max-width: 460px;
	justify-self: center;
	width: 100%;
}

.vg-card__head {
	border-bottom: 3px solid var(--vg-red);
	padding-bottom: 1rem;
	margin-bottom: 0.5rem;
}

.vg .vg-card__kicker {
	font-family: var(--vg-label);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vg-red-deep);
}

.vg .vg-card__date {
	font-family: var(--vg-display);
	font-size: 1.9rem;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--vg-navy);
	margin-top: 0.25rem;
}

.vg .vg-card__polls {
	font-size: 0.875rem;
	color: var(--vg-ink-soft);
}

.vg .vg-card__list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--vg-rule);
}

.vg-card__race {
	font-family: var(--vg-label);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vg-ink-soft);
}

.vg-card__race .vg-dot {
	margin-inline: 0.1em;
}

.vg-card__choice {
	font-family: var(--vg-display);
	font-size: 1.2rem;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--vg-navy);
	text-align: right;
}

.vg-card__choice--yes,
.vg-card__choice--no {
	min-width: 3.2em;
	padding: 0.15em 0.4em;
	text-align: center;
	border: 2px solid var(--vg-navy);
}

.vg-card__choice--no {
	background: var(--vg-red);
	border-color: var(--vg-red);
	color: var(--vg-cream);
}

.vg .vg-card__foot {
	margin-top: 1rem;
	font-size: 0.8rem;
	color: var(--vg-ink-soft);
}

.vg .vg-disclaimer {
	max-width: var(--vg-max);
	margin: 0 auto;
	padding: 0 var(--vg-gutter) 3rem;
	font-size: 0.85rem;
	color: var(--vg-ink-soft);
}

/* ---------- Candidate & measure pages ---------- */

.vg-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vg-cream-soft);
	margin-bottom: 2rem;
	transition: color 0.2s, gap 0.3s var(--vg-ease);
}

.vg .vg-back:hover {
	color: var(--vg-cream);
	gap: 0.8em;
}

.vg-profile__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.vg-hero--profile .vg-profile__inner,
.vg-hero--measure .vg-profile__inner {
	padding-top: clamp(4rem, min(8vw, 10vh), 7rem);
	padding-bottom: clamp(3rem, min(6vw, 7vh), 5rem);
}

.vg-hero--profile .vg-capitol--r,
.vg-hero--measure .vg-capitol--r {
	display: none;
}

.vg-profile__id {
	display: grid;
	justify-items: start;
	gap: 1rem;
}

.vg .vg-profile__name {
	font-family: var(--vg-display);
	font-size: clamp(3.4rem, 9vw, 7.5rem);
	line-height: 1.0;
	text-transform: uppercase;
	color: var(--vg-cream);
	text-wrap: balance;
}

.vg-hero .vg-meta {
	color: var(--vg-cream-soft);
}

.vg .vg-profile__tagline {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
	color: var(--vg-cream-soft);
	max-width: 40ch;
}

.vg-profile__portrait {
	margin: 0;
	position: relative;
	justify-self: end;
	/* Fixed height tied to the viewport, width follows at 4:5. */
	height: clamp(280px, 46vh, 420px);
	aspect-ratio: 4 / 5;
	max-width: 100%;
}

.vg .vg-profile__portrait img,
.vg-profile__portrait .vg-monogram {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 20%;
	box-shadow: 14px 14px 0 var(--vg-red);
}

.vg-profile__portrait .vg-monogram {
	display: flex;
	font-size: clamp(5rem, 10vw, 8rem);
	background-color: var(--vg-navy-deep);
	border: 1px solid oklch(0.97 0.015 85 / 0.2);
}

.vg-profile__portrait figcaption {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 1.1rem;
	white-space: nowrap;
	font-size: 0.75rem;
	color: var(--vg-cream-soft);
	text-align: right;
}

.vg-profile-body {
	padding: clamp(3rem, 7vw, 6rem) var(--vg-gutter);
}

.vg-profile-body__grid {
	max-width: var(--vg-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}

.vg-prose {
	font-size: 1.125rem;
	line-height: 1.7;
	max-width: 68ch;
	margin-bottom: 3rem;
}

.vg .vg-prose p {
	font-size: inherit;
	line-height: inherit;
}

.vg .vg-prose p + p {
	margin-top: 1em;
}

.vg .vg-prose a {
	color: var(--vg-navy);
	text-decoration: underline;
	text-decoration-color: var(--vg-red);
	text-underline-offset: 3px;
}

.vg .vg-prose ul li {
	list-style: disc;
	margin-left: 1.25em;
}

.vg-issues {
	counter-reset: vg-issue;
	display: grid;
	gap: 0;
	max-width: 68ch;
}

.vg .vg-issues li {
	counter-increment: vg-issue;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	align-items: baseline;
	padding: 1rem 0;
	border-top: 1px solid var(--vg-rule);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--vg-ink);
}

.vg-issues li::before {
	content: counter(vg-issue, decimal-leading-zero);
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--vg-red);
}

.vg-aside {
	display: grid;
	gap: 2.25rem;
	position: sticky;
	top: calc(var(--vg-top) + 1.5rem);
}

.vg-aside__block .vg-label {
	color: var(--vg-ink-soft);
	padding-bottom: 0.75rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--vg-navy);
}

.vg-contact {
	display: grid;
	gap: 0.65rem;
}

.vg .vg-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-weight: 600;
	color: var(--vg-navy);
	word-break: break-word;
}

.vg .vg-contact a:hover {
	color: var(--vg-red-deep);
}

.vg-contact .vg-icon {
	color: var(--vg-red);
}

.vg-rivals {
	flex-direction: column;
	gap: 1rem;
}

.vg .vg-pickmark {
	color: var(--vg-red-deep);
	font-weight: 600;
	margin-left: 0.3em;
}

.vg .vg-aside__note {
	color: var(--vg-ink-soft);
	font-size: 0.975rem;
}

.vg-aside__vote {
	padding: 1.5rem;
	background: var(--vg-navy);
	color: var(--vg-cream);
}

.vg .vg-aside__vote .vg-label {
	color: var(--vg-red);
	border: 0;
	padding: 0;
	margin: 0 0 0.25rem;
	font-weight: 600;
}

.vg .vg-aside__date {
	font-family: var(--vg-display);
	font-size: 2rem;
	line-height: 1.05;
	text-transform: uppercase;
}

.vg .vg-aside__vote .vg-aside__note {
	color: var(--vg-cream-soft);
	margin-bottom: 1.25rem;
}

.vg-aside__vote .vg-btn {
	width: 100%;
}

.vg-profile-foot {
	max-width: var(--vg-max);
	margin: clamp(3rem, 6vw, 5rem) auto 0;
	padding-top: 2rem;
	border-top: 3px solid var(--vg-navy);
}

/* Measure page */
.vg-measure-hero {
	display: grid;
	grid-template-columns: clamp(120px, 16vw, 200px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.vg-tile--lg {
	font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.vg-measure-page .vg-ballot-text {
	background: var(--vg-paper-2);
	border-color: var(--vg-rule);
	color: var(--vg-ink);
}

.vg-measure-page .vg-link {
	margin-bottom: 1rem;
}

.vg-mini-measures {
	display: grid;
	gap: 0.75rem;
}

.vg .vg-mini-measures li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.vg .vg-mini-measures a {
	font-weight: 600;
	color: var(--vg-navy);
}

.vg .vg-mini-measures a:hover {
	color: var(--vg-red-deep);
}

.vg-mini-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.2rem;
	height: 2.2rem;
	font-family: var(--vg-display);
	font-size: 1.05rem;
	border: 2px solid var(--vg-navy);
	color: var(--vg-navy);
}

.vg-mini-tile--no {
	background: var(--vg-red);
	border-color: var(--vg-red);
	color: var(--vg-cream);
}

/* ---------- Motion ---------- */

@keyframes vg-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes vg-open {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.vg-reveal {
	animation: vg-rise 0.9s var(--vg-ease) both;
	animation-delay: calc(var(--i, 0) * 80ms + 80ms);
}

.vg-js .vg-race,
.vg-js .vg-measure {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--vg-ease), transform 0.7s var(--vg-ease);
}

.vg-js .vg-race.is-in,
.vg-js .vg-measure.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.vg-reveal,
	.vg .vg-more__body {
		animation: none;
	}
	.vg-js .vg-race,
	.vg-js .vg-measure {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.vg * {
		transition-duration: 0.01ms !important;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.vg-hero__inner {
		padding-inline: var(--vg-gutter);
	}
	.vg-capitol {
		opacity: 0.35;
	}
}

@media (max-width: 860px) {
	.vg-section__head,
	.vg-carry,
	.vg-profile-body__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.vg .vg-race {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}
	.vg-aside {
		position: static;
	}
	.vg-profile__grid {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}
	.vg-profile__portrait {
		justify-self: start;
		height: clamp(240px, 38vh, 340px);
		order: -1;
		margin-bottom: 1.5rem;
	}
	.vg-card {
		transform: none;
		justify-self: stretch;
		max-width: none;
	}
}

@media (max-width: 600px) {
	.vg-capitol {
		display: none;
	}
	.vg-when {
		width: 100%;
	}
	.vg-when > * {
		padding-right: 1rem;
	}
	.vg-when__count {
		padding-left: 1rem;
	}
	.vg-hero .vg-actions .vg-btn {
		flex: 1 1 100%;
	}
	.vg-bar__jump {
		display: none;
	}
	.vg-bar__inner {
		justify-content: center;
	}
	.vg-switch {
		width: 100%;
		justify-content: space-between;
	}
	.vg-switch__opts {
		flex: 1;
		max-width: 260px;
	}
	.vg .vg-switch label {
		flex: 1;
		justify-content: center;
		padding-inline: 0.6em;
	}
	.vg-pick {
		grid-template-columns: 112px minmax(0, 1fr);
		align-items: start;
	}
	.vg-pick__photo {
		box-shadow: 6px 6px 0 var(--vg-red);
	}
	.vg-others ul {
		flex-direction: column;
		gap: 0.9rem;
	}
	.vg .vg-measure {
		grid-template-columns: 84px minmax(0, 1fr);
	}
	.vg-carry .vg-actions .vg-btn {
		flex: 1 1 100%;
	}
	.vg-measure-hero {
		grid-template-columns: 100px minmax(0, 1fr);
	}
}

/* ---------- Print: only the card ---------- */

@media print {
	@page {
		margin: 0.5in;
	}
	body * {
		visibility: hidden !important;
	}
	.vg-card,
	.vg-card * {
		visibility: visible !important;
	}
	.vg-card {
		position: fixed;
		inset: 0 auto auto 0;
		width: 100%;
		max-width: 5.5in;
		transform: none;
		box-shadow: none;
		border: 2px solid #1d2a5c;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.vg-card [data-out] {
		display: none !important;
	}
}

/* Salient sets its own family on strong/b; keep emphasis in the body face. */
.vg-prose strong,
.vg-prose b,
.vg-more__body strong,
.vg-more__body b {
	font-family: inherit;
	font-weight: 700;
}

/* Salient puts overflow:hidden on <body>, which makes it a scroll container and
   disables position:sticky. clip still prevents sideways scroll without that. */
body.vg-screen {
	overflow: visible !important;
	overflow-x: clip !important;
}

/* ---------- Opponent profiles: why we're concerned ---------- */

.vg-concern {
	margin-top: 3rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--vg-paper-2);
	border: 2px solid var(--vg-navy);
	max-width: 68ch;
}

.vg .vg-concern .vg-h3 {
	margin-bottom: 0.75rem;
}

.vg .vg-concern__body p {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.vg .vg-concern__body p + p {
	margin-top: 0.8em;
}

.vg .vg-concern__pick {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--vg-rule);
	color: var(--vg-navy);
}

.vg-concern__pick > span {
	display: grid;
	flex: 1;
}

.vg-concern__pick .vg-label {
	color: var(--vg-red-deep);
	font-weight: 600;
	font-size: 0.75rem;
}

.vg .vg-concern__pick strong {
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.05;
	text-transform: uppercase;
}

.vg-concern__pick .vg-icon {
	color: var(--vg-red);
	transition: transform 0.3s var(--vg-ease);
}

.vg .vg-concern__pick:hover .vg-icon {
	transform: translateX(4px);
}

/* ==========================================================================
   Home, Forums & Videos, Survey Results
   ========================================================================== */

:root {
	--vg-bar: oklch(0.5 0.14 258); /* validated single-series bar fill on paper */
}

.vg-paper-2 {
	background: var(--vg-paper-2);
}

/* ---------- Home hero ---------- */

.vg-hero--home {
	min-height: min(82vh, 820px);
	display: flex;
	align-items: flex-end;
}

.vg-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Navy veil over the video, with the same woven texture as the cards. */
.vg-hero__veil {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .9 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		linear-gradient(100deg, oklch(0.2 0.1 263 / 0.94) 0%, oklch(0.25 0.11 262 / 0.82) 45%, oklch(0.27 0.11 262 / 0.5) 100%);
}

.vg-hero__inner--home {
	width: 100%;
	padding-inline: var(--vg-gutter);
	padding-top: clamp(5rem, 11vh, 8.5rem);
	padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.vg .vg-hero__title--home {
	/* Always three lines: "Making Saint Joseph" / rotating word / "together."
	   Sized so the first line fits the viewport width on phones. */
	font-size: clamp(2rem, min(10.4vw, 8.8vh), 6.25rem);
	max-width: none;
}

.vg-hero__title--home .vg-hero__line,
.vg-hero__title--home .vg-rotate {
	display: block;
	white-space: nowrap;
}

.vg-rotate {
	color: var(--vg-red);
}

.vg-rotate__word {
	display: inline-block;
	transition: opacity 0.35s var(--vg-ease), transform 0.35s var(--vg-ease);
}

.vg-rotate__word.is-out {
	opacity: 0;
	transform: translateY(0.25em);
}

.vg-home-when {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 1rem;
	margin: clamp(1rem, 2.5vh, 1.75rem) 0;
	padding: 0.9rem 0;
	border-top: 1px solid oklch(0.97 0.015 85 / 0.25);
	border-bottom: 1px solid oklch(0.97 0.015 85 / 0.25);
	width: fit-content;
	max-width: 100%;
}

.vg-home-when .vg-label {
	color: var(--vg-red);
	font-weight: 600;
}

.vg .vg-home-when > strong {
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	text-transform: uppercase;
	color: var(--vg-cream);
}

.vg-home-when__count {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-family: var(--vg-label);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--vg-cream-soft);
}

.vg-home-when__count:empty {
	display: none;
}

.vg .vg-home-when__count strong {
	font-family: var(--vg-display);
	font-weight: 400;
	font-size: 1.9rem;
	letter-spacing: 0;
	color: var(--vg-cream);
}

.vg em,
.vg i {
	font-family: inherit;
}

@media (min-width: 861px) {
	.vg-glance .vg-section__head {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}
}

/* ---------- Ballot at a glance ---------- */

.vg-glance__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	border-top: 3px solid var(--vg-navy);
	padding-top: 2rem;
}

.vg .vg-glance__label {
	color: var(--vg-ink-soft);
	margin-bottom: 1rem;
}

.vg-glance-picks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0 2rem;
}

.vg .vg-glance-picks a {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--vg-rule);
}

.vg-glance-picks__text {
	display: grid;
	line-height: 1.15;
}

.vg-glance-picks__race {
	font-family: var(--vg-label);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vg-ink-soft);
}

.vg-glance-picks__race em {
	font-style: normal;
	color: var(--vg-red-deep);
	margin-left: 0.35em;
}

.vg-glance-picks__name {
	font-family: var(--vg-display);
	font-size: 1.45rem;
	text-transform: uppercase;
	color: var(--vg-navy);
	margin-top: 0.15rem;
	transition: color 0.2s;
}

.vg .vg-glance-picks a:hover .vg-glance-picks__name {
	color: var(--vg-red-deep);
}

.vg .vg-glance-measures li {
	align-items: flex-start;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--vg-rule);
}

.vg .vg-glance-measures a {
	display: grid;
	gap: 0.15rem;
	line-height: 1.25;
}

.vg .vg-glance-measures a span {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--vg-ink-soft);
}

.vg .vg-glance__cta {
	margin-top: 2.5rem;
}

/* ---------- Split sections ---------- */

.vg-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: center;
}

.vg-split--rule {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: end;
	padding-bottom: 2rem;
	border-bottom: 3px solid var(--vg-red);
}

.vg-split--video {
	grid-template-columns: minmax(0, 1fr);
}

.vg-split__copy {
	display: grid;
	justify-items: start;
	gap: 1.25rem;
}

.vg .vg-split__copy p {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--vg-ink-soft);
	max-width: 46ch;
}

/* ---------- Video ---------- */

.vg-video {
	margin: 0;
	display: grid;
	gap: 1rem;
	align-content: start;
}

.vg-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--vg-navy-deep);
	overflow: hidden;
}

.vg-video--feature .vg-video__frame {
	box-shadow: 12px 12px 0 var(--vg-red);
}

.vg-video__frame iframe,
.vg .vg-video__play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	background: none;
	cursor: pointer;
	border-radius: 0;
}

.vg .vg-video__play img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--vg-ease), filter 0.3s;
	filter: saturate(0.9);
}

.vg .vg-video__play:hover img {
	transform: scale(1.03);
	filter: saturate(1.05);
}

.vg-video__btn {
	position: absolute;
	left: 50%;
	top: 50%;
	width: clamp(56px, 7vw, 84px);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	background: var(--vg-red);
	color: var(--vg-cream);
	border-radius: 50%;
	box-shadow: 0 6px 24px oklch(0.2 0.1 263 / 0.45);
	transition: transform 0.3s var(--vg-ease);
}

.vg-video__btn svg {
	width: 44%;
	height: 44%;
	margin-left: 6%;
}

.vg .vg-video__play:hover .vg-video__btn {
	transform: translate(-50%, -50%) scale(1.08);
}

.vg-video--card .vg-video__btn {
	width: 52px;
}

.vg-video__cap {
	display: grid;
	gap: 0.35rem;
}

.vg .vg-video__type {
	color: var(--vg-red-deep);
	font-weight: 600;
	font-size: 0.75rem;
}

.vg .vg-video__title {
	font-family: var(--vg-display);
	font-size: 1.35rem;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--vg-navy);
}

.vg .vg-video--feature .vg-video__title {
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.vg .vg-video__desc {
	color: var(--vg-ink-soft);
	max-width: 62ch;
}

/* Videos on navy */
.vg-navy .vg-video__title {
	color: var(--vg-cream) !important;
}

.vg-navy .vg-video__desc {
	color: var(--vg-cream-soft) !important;
}

.vg-navy .vg-video__type {
	color: var(--vg-red) !important;
}

.vg-forums__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 2rem clamp(1.5rem, 4vw, 3rem);
}

.vg-forums__grid > .vg-video--feature {
	grid-row: span 2;
}

.vg .vg-forums__more {
	text-align: center;
	margin-top: 3rem;
}

.vg-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 2.5rem 2rem;
}

.vg-videos__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
	border-bottom: 3px solid var(--vg-navy);
}

.vg .vg-videos__head .vg-h3 {
	margin: 0;
}

.vg-videos__type {
	padding-top: 0;
}

.vg-videos__featured .vg-video--feature {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* ---------- Faith section ---------- */

.vg .vg-faith .vg-h2 {
	max-width: 12ch;
}

/* ---------- Survey charts ---------- */

.vg-surveys-teaser {
	background: var(--vg-paper-2);
}

.vg-surveys-teaser__charts {
	display: grid;
	gap: 2.5rem;
}

.vg-survey__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 3rem clamp(2rem, 5vw, 4.5rem);
	border-top: 3px solid var(--vg-navy);
	padding-top: 2.5rem;
}

.vg .vg-q__title {
	font-family: var(--vg-body);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.35;
	color: var(--vg-ink);
	text-transform: none;
}

.vg .vg-q__meta {
	margin: 0.3rem 0 1rem;
	font-size: 0.85rem;
	color: var(--vg-ink-soft);
}

.vg-bars {
	display: grid;
	gap: 2px;
}

.vg .vg-bars__row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr) 3rem;
	align-items: center;
	gap: 0.85rem;
	padding: 0.4rem 0;
	outline-offset: 2px;
}

.vg-bars__label {
	font-size: 0.95rem;
	line-height: 1.25;
	color: var(--vg-ink);
}

.vg-bars__track {
	height: 14px;
	background: oklch(0.9 0.02 85);
	border-radius: 0 4px 4px 0;
	overflow: hidden;
}

.vg-bars__fill {
	display: block;
	height: 100%;
	background: var(--vg-bar);
	border-radius: 0 4px 4px 0;
	transition: filter 0.2s;
}

.vg-bars__val {
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	color: var(--vg-ink);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.vg-bars__row:hover .vg-bars__fill,
.vg-bars__row:focus-visible .vg-bars__fill {
	filter: brightness(0.82);
}

/* Hover / focus tooltip with the raw count. */
.vg-bars__row::after {
	content: attr(data-tip);
	position: absolute;
	right: 0;
	bottom: calc(100% - 0.2rem);
	padding: 0.35rem 0.6rem;
	background: var(--vg-navy);
	color: var(--vg-cream);
	font-family: var(--vg-body);
	font-size: 0.8rem;
	white-space: nowrap;
	border-radius: 2px;
	opacity: 0;
	transform: translateY(4px);
	pointer-events: none;
	transition: opacity 0.15s, transform 0.15s;
	z-index: 2;
}

.vg-bars__row:hover::after,
.vg-bars__row:focus-visible::after {
	opacity: 1;
	transform: none;
}

.vg-survey .vg-section__note strong {
	color: var(--vg-ink);
}

.vg .vg-surveys__note {
	padding-top: 2.5rem;
}

/* ---------- About band ---------- */

.vg-about {
	background-color: var(--vg-navy-deep);
}

.vg-about__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 3rem);
}

.vg .vg-about__list li {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 0.75rem;
	padding-top: 1.25rem;
	border-top: 2px solid var(--vg-red);
}

.vg .vg-about__h {
	font-family: var(--vg-display);
	font-size: 1.7rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-cream);
}

.vg .vg-about__list p {
	color: var(--vg-cream-soft);
	font-size: 1rem;
}

.vg-about .vg-link {
	color: var(--vg-cream);
	border-color: var(--vg-red);
}

.vg-about .vg-link:hover {
	color: var(--vg-cream);
}

/* Generic page hero (videos, surveys) */
.vg-hero--page .vg-profile__inner {
	/* Clear the torn edge, which grows to 150px on wide screens. */
	padding-top: calc(clamp(46px, 10vw, 150px) + 1.5rem);
	padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

@media (max-width: 860px) {
	.vg-about__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.vg-glance__grid,
	.vg-split,
	.vg-split--rule,
	.vg-forums__grid,
	.vg-videos__featured .vg-video--feature {
		grid-template-columns: minmax(0, 1fr);
	}
	.vg-forums__grid > .vg-video--feature {
		grid-row: auto;
	}
	.vg-hero--home {
		min-height: 0;
	}
}

@media (max-width: 600px) {
	.vg-about__list {
		grid-template-columns: minmax(0, 1fr);
	}
	.vg .vg-bars__row {
		grid-template-columns: minmax(0, 1fr) 3rem;
		row-gap: 0.3rem;
	}
	.vg-bars__track {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.vg-video--feature .vg-video__frame {
		box-shadow: 6px 6px 0 var(--vg-red);
	}
}

.vg-hero--page .vg-profile__name {
	margin-bottom: 0.75rem;
}

/* ==========================================================================
   City Council
   ========================================================================== */

.vg-council .vg-hero .vg-actions {
	margin-top: 1.75rem;
}

.vg-council__group {
	padding-top: 0;
}

.vg-member-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 2.75rem 2rem;
}

.vg-member {
	display: grid;
	align-content: start;
	gap: 1.1rem;
}

.vg-member__photo {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--vg-navy);
}

.vg .vg-member__photo img,
.vg-member__photo .vg-monogram {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
	transition: transform 0.6s var(--vg-ease);
}

.vg-member:hover .vg-member__photo img {
	transform: scale(1.03);
}

.vg-member__body {
	display: grid;
	gap: 0.45rem;
	justify-items: start;
}

.vg .vg-member__seat {
	color: var(--vg-red-deep);
	font-weight: 600;
}

.vg .vg-member__name {
	font-family: var(--vg-display);
	font-size: 1.85rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-navy);
}

.vg-member__more summary {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 36px;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vg-ink-soft);
	cursor: pointer;
	list-style: none;
}

.vg-member__more summary::-webkit-details-marker {
	display: none;
}

.vg-member__more summary::before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	color: var(--vg-red);
	transition: transform 0.3s var(--vg-ease);
}

.vg-member__more[open] summary::before {
	transform: rotate(45deg);
}

.vg .vg-member__bio p {
	font-size: 0.975rem;
	line-height: 1.6;
	color: var(--vg-ink-soft);
}

.vg .vg-member__bio p + p {
	margin-top: 0.8em;
}

.vg-member__more .vg-member__bio {
	padding: 0.25rem 0 0.5rem;
	animation: vg-open 0.4s var(--vg-ease);
}

.vg-member__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
	margin-top: 0.35rem !important;
}

.vg .vg-member__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 32px;
	font-size: 0.925rem;
	font-weight: 600;
	color: var(--vg-navy);
}

.vg .vg-member__contact a:hover {
	color: var(--vg-red-deep);
}

.vg-member__contact .vg-icon {
	color: var(--vg-red);
}

/* Mayor feature */
.vg-member--mayor {
	grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 3px solid var(--vg-navy);
}

.vg-member--mayor .vg-member__photo {
	box-shadow: 14px 14px 0 var(--vg-red);
	max-height: 440px;
}

.vg .vg-member--mayor .vg-member__name {
	font-size: clamp(2.8rem, 6vw, 4.75rem);
	line-height: 1.02;
}

.vg .vg-member--mayor .vg-member__bio {
	max-width: 58ch;
	margin-top: 0.5rem;
}

.vg .vg-member--mayor .vg-member__bio p {
	font-size: 1.1rem;
	color: var(--vg-ink);
}

.vg .vg-council__group .vg-section__note a {
	color: var(--vg-navy);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--vg-red);
	text-underline-offset: 3px;
}

.vg .vg-council__cta .vg-h2 {
	color: var(--vg-cream);
}

.vg .vg-council__cta .vg-split__copy p {
	color: var(--vg-cream-soft);
}

.vg .vg-council__source {
	padding-top: 2rem;
}

.vg .vg-council__source a {
	text-decoration: underline;
}

@media (max-width: 760px) {
	.vg-member--mayor {
		grid-template-columns: minmax(0, 1fr);
	}
	.vg-member--mayor .vg-member__photo {
		max-width: 300px;
	}
}

/* ==========================================================================
   Get Involved (contact)
   ========================================================================== */

.vg-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: start;
}

.vg-ways {
	counter-reset: vg-way;
	border-top: 3px solid var(--vg-navy);
}

.vg .vg-ways li {
	counter-increment: vg-way;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	column-gap: 0.5rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--vg-rule);
}

.vg-ways li::before {
	content: counter(vg-way, decimal-leading-zero);
	grid-row: span 2;
	font-family: var(--vg-display);
	font-size: 1.6rem;
	line-height: 1;
	color: var(--vg-red);
}

.vg .vg-ways__h {
	font-family: var(--vg-display);
	font-size: 1.45rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--vg-navy);
	margin-bottom: 0.35rem;
}

.vg .vg-ways p {
	color: var(--vg-ink-soft);
	font-size: 1rem;
}

.vg .vg-contact__note {
	margin-top: 1.5rem;
	font-size: 0.925rem;
	color: var(--vg-ink-soft);
	font-style: italic;
	max-width: 52ch;
}

.vg-contact__card {
	position: sticky;
	top: calc(var(--vg-top) + 1.5rem);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--vg-cream);
	border: 2px solid var(--vg-navy);
	box-shadow: 14px 14px 0 var(--vg-navy);
}

.vg .vg-contact__card .vg-h3 {
	margin-bottom: 0.4rem;
}

.vg .vg-contact__lede {
	color: var(--vg-ink-soft);
	margin-bottom: 1.75rem;
}

.vg .vg-contact__alt {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--vg-rule);
	font-size: 0.925rem;
	color: var(--vg-ink-soft);
}

.vg .vg-contact__alt a {
	font-weight: 600;
	color: var(--vg-navy);
	text-decoration: underline;
	text-decoration-color: var(--vg-red);
	text-underline-offset: 3px;
}

/* Forminator form (design set to "none" so only these rules apply). */
.vg-form .forminator-ui {
	margin: 0 !important;
}

.vg-form .forminator-row {
	margin-bottom: 1.25rem;
}

.vg-form .forminator-row-last {
	margin: 1.75rem 0 0;
}

.vg .vg-form .forminator-label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vg-ink);
}

.vg-form .forminator-required {
	color: var(--vg-red);
}

.vg .vg-form input[type="text"],
.vg .vg-form input[type="email"],
.vg .vg-form input[type="tel"],
.vg .vg-form textarea {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 0.95rem;
	font-family: var(--vg-body);
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--vg-ink);
	background: var(--vg-paper);
	border: 2px solid oklch(0.78 0.03 262);
	border-radius: 2px;
	box-shadow: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.vg .vg-form textarea {
	min-height: 160px;
	resize: vertical;
}

.vg .vg-form input::placeholder,
.vg .vg-form textarea::placeholder {
	color: oklch(0.6 0.02 262);
}

.vg .vg-form input:hover,
.vg .vg-form textarea:hover {
	border-color: oklch(0.6 0.05 262);
}

.vg .vg-form input:focus,
.vg .vg-form textarea:focus {
	outline: none;
	border-color: var(--vg-navy);
	background: oklch(1 0 0 / 0.6);
	box-shadow: 0 0 0 3px oklch(0.58 0.21 22 / 0.25);
}

.vg .vg-form .forminator-description {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8rem;
	color: var(--vg-ink-soft);
	text-align: right;
}

.vg .vg-form .forminator-button-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 0.85em 1.4em;
	font-family: var(--vg-label);
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vg-cream);
	background: var(--vg-red);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s var(--vg-ease);
}

.vg .vg-form .forminator-button-submit:hover {
	background: var(--vg-red-deep);
}

.vg .vg-form .forminator-button-submit:active {
	transform: translateY(1px);
}

.vg .vg-form .forminator-button-submit:focus-visible {
	outline: 3px solid var(--vg-navy);
	outline-offset: 3px;
}

/* Validation and response messages */
.vg .vg-form .forminator-error-message {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--vg-red-deep);
}

.vg .vg-form .forminator-has_error input,
.vg .vg-form .forminator-has_error textarea {
	border-color: var(--vg-red);
}

.vg .vg-form .forminator-response-message {
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
	font-weight: 600;
	border: 2px solid currentColor;
	border-radius: 2px;
}

.vg .vg-form .forminator-response-message[aria-hidden="true"] {
	display: none;
}

.vg .vg-form .forminator-response-message.forminator-success {
	color: oklch(0.42 0.11 150);
	background: oklch(0.95 0.04 150);
}

.vg .vg-form .forminator-response-message.forminator-error {
	color: var(--vg-red-deep);
	background: oklch(0.95 0.03 22);
}

@media (max-width: 860px) {
	.vg-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.vg-contact__card {
		position: static;
		order: -1;
		box-shadow: 8px 8px 0 var(--vg-navy);
	}
}

.vg .vg-form .forminator-button-submit {
	border-radius: 2px !important;
	box-shadow: none !important;
}

@media (max-width: 600px) {
	.vg-member-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 1rem;
	}
	.vg .vg-member-grid .vg-member__name {
		font-size: 1.35rem;
	}
	.vg-member-grid .vg-member__contact {
		flex-direction: column;
		gap: 0.1rem;
	}
	.vg .vg-member-grid .vg-member__contact a {
		font-size: 0.85rem;
	}
}

#vg-contact-form {
	scroll-margin-top: calc(var(--vg-top) + 1.5rem);
}

/* A little more air between words in the condensed display headings. */
.vg .vg-hero__title,
.vg .vg-profile__name,
.vg .vg-h2,
.vg .vg-pick__name,
.vg .vg-member--mayor .vg-member__name {
	word-spacing: 0.05em;
}
