/* ==========================================================================
   Singh for Lexington — site styles
   Tokens come from theme.json (--wp--preset--*). Everything here is layout,
   texture and motion the block editor can't express on its own.
   ========================================================================== */

:root {
	--purple: var(--wp--preset--color--purple, #35204e);
	--deep: var(--wp--preset--color--purple-deep, #22142f);
	--lavender: var(--wp--preset--color--lavender, #5e497c);
	--mist: var(--wp--preset--color--mist, #d9d0e4);
	--gold: var(--wp--preset--color--gold, #d2a030);
	--gold-light: var(--wp--preset--color--gold-light, #e6c46e);
	--parchment: var(--wp--preset--color--parchment, #efe4cc);
	--ink: var(--wp--preset--color--ink, #2a1b3a);
	--serif: var(--wp--preset--font-family--serif);
	--sans: var(--wp--preset--font-family--sans);
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--gutter: clamp(1rem, 4vw, 3rem);
	--paper: url("../img/parchment.webp");
	--torn: url("../svg/torn-edge.svg");
}

html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: var(--parchment) var(--paper) repeat; }
::selection { background: var(--gold); color: var(--deep); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { height: auto; }

/* Headline type: condensed widths of Noto Serif carry the yard-sign voice. */
h1, h2, .wp-block-post-title { font-stretch: 75%; }
h3 { font-stretch: 87.5%; }
h4, h5, h6 { font-stretch: 100%; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.wp-site-blocks { overflow-x: clip; padding-top: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.site-main > .wp-block-post-content > *, .site-main > * { margin-block: 0; }
.site-main .wp-block-post-content > .alignfull:first-child { margin-top: 0; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	color: #fff;
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner {
	max-width: 1360px; margin: 0 auto; height: var(--header-h);
	padding: 0 var(--gutter); gap: 1.5rem;
	transition: height .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(34, 20, 47, .96); box-shadow: 0 1px 0 rgba(210, 160, 48, .5); backdrop-filter: blur(6px); }
.site-header.is-scrolled .site-header__inner { height: 64px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; color: #fff; text-decoration: none; white-space: nowrap; }
.brand__name { font-family: var(--serif); font-weight: 800; font-stretch: 75%; font-size: 1.7rem; letter-spacing: .02em; text-transform: uppercase; transition: font-size .35s var(--ease); }
.brand__office { transition: font-size .35s var(--ease), margin .35s var(--ease); }
.site-header__donate .wp-block-button__link, .site-nav .nav-cta > .wp-block-navigation-item__content { transition: padding .35s var(--ease), border-color .2s, color .2s; }
.is-scrolled .brand__office { font-size: .68rem; margin-top: .2rem; }
.is-scrolled .site-header__donate .wp-block-button__link { padding: .5rem 1.05rem; }
.is-scrolled .site-nav .nav-cta > .wp-block-navigation-item__content { padding: .38rem .85rem; }
.brand__office { font-family: var(--serif); font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.brand__for { font-style: italic; letter-spacing: .02em; text-transform: none; font-size: 1.05em; }
.is-scrolled .brand__name { font-size: 1.45rem; }

.site-header__nav { gap: 1.25rem; align-items: center; }
.site-nav { color: #fff; }
.site-nav .wp-block-navigation-item__content { color: #fff; text-decoration: none; padding: .35rem 0; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 2px; transition: background-size .3s var(--ease); }
.site-nav .wp-block-navigation-item__content:hover,
.site-nav .current-menu-item > .wp-block-navigation-item__content { background-size: 100% 2px; }
.site-nav .wp-block-navigation__container { gap: 1.6rem; }
.site-nav .nav-cta > .wp-block-navigation-item__content { border: 2px solid rgba(255, 255, 255, .7); padding: .5rem .95rem; border-radius: 2px; background: none; }
.site-nav .nav-cta > .wp-block-navigation-item__content:hover { border-color: var(--gold); color: var(--gold-light); }
.site-header__donate .wp-block-button__link { padding: .62rem 1.2rem; white-space: nowrap; }

.lang-switch { display: inline-flex; font-size: .85rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; overflow: hidden; }
.lang-switch a, .lang-switch span { padding: .3rem .55rem; color: #fff; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.lang-switch [aria-current] { background: rgba(255, 255, 255, .16); color: var(--gold-light); }
.lang-switch a:hover { background: rgba(255, 255, 255, .1); }

/* Navigation collapses earlier than core's 600px so seven links never cramp. */
@media (max-width: 1139px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.site-header .wp-block-navigation__responsive-container-open { color: #fff; }
.site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--deep) !important; color: #fff !important;
	padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .4rem; font-family: var(--serif); font-stretch: 75%; font-size: 2rem; font-weight: 700; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .nav-cta > a { border: 0; padding: .35rem 0; color: var(--gold-light); }
.site-header .wp-block-navigation__responsive-container-close { color: #fff; top: 1.4rem; right: var(--gutter); }
@media (max-width: 640px) {
	:root { --header-h: 68px; }
	.site-header__nav { gap: .6rem; }
	.lang-switch { font-size: .78rem; }
	.lang-switch a, .lang-switch span { padding: .28rem .42rem; }
	.brand__name { font-size: 1.35rem; }
	.brand__office { font-size: .6rem; letter-spacing: .24em; }
	.site-header__donate .wp-block-button__link { padding: .5rem .85rem; font-size: .92rem; }
}

/* ---------- Section styles ---------- */
.is-style-purple, .is-style-deep {
	background-color: var(--purple); color: #fff;
	padding-block: var(--wp--preset--spacing--60);
	position: relative; isolation: isolate;
}
.is-style-deep { background-color: var(--deep); }
.is-style-purple :where(h1, h2, h3, h4), .is-style-deep :where(h1, h2, h3, h4) { color: #fff; }
.is-style-purple a:not(.wp-element-button), .is-style-deep a:not(.wp-element-button) { color: var(--gold-light); }
.is-style-purple a:not(.wp-element-button):hover, .is-style-deep a:not(.wp-element-button):hover { color: #fff; }

.is-style-parchment, .is-style-parchment-torn {
	background: var(--parchment) var(--paper) repeat; color: var(--ink);
	padding-block: var(--wp--preset--spacing--60);
	position: relative;
}
/* A real torn top edge: the parchment reaches up over whatever came before it. */
.is-style-parchment-torn { z-index: 1; }
.is-style-parchment-torn::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
	height: clamp(18px, 2.4vw, 34px); margin-bottom: -1px;
	background: var(--parchment) var(--paper) repeat;
	-webkit-mask: var(--torn) center bottom / 100% 100% no-repeat; mask: var(--torn) center bottom / 100% 100% no-repeat;
	filter: drop-shadow(0 -2px 0 rgba(42, 27, 58, .18));
	pointer-events: none;
}

.is-style-card {
	background: var(--parchment) var(--paper) repeat; color: var(--ink);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 6px solid var(--gold);
	box-shadow: 0 30px 60px -30px rgba(18, 8, 28, .55);
}
.is-style-card :where(h2, h3) { color: var(--purple); }

/* Seal watermark for purple bands. */
.has-seal::after {
	content: ""; position: absolute; z-index: -1;
	width: clamp(260px, 38vw, 560px); aspect-ratio: 1;
	right: -6vw; top: 50%; translate: 0 -50%;
	background: url("../svg/seal-lavender.svg") center / contain no-repeat;
	opacity: .45; pointer-events: none;
}

/* ---------- Inner page title band ---------- */
.page-band { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem)) !important; padding-bottom: clamp(4rem, 9vw, 7rem) !important; overflow: hidden; }
.page-band::after {
	content: ""; position: absolute; z-index: -1;
	width: clamp(280px, 40vw, 600px); aspect-ratio: 1; right: -8vw; bottom: -18%;
	background: url("../svg/seal-lavender.svg") center / contain no-repeat; opacity: .38;
}
.page-band__title { font-size: var(--wp--preset--font-size--display); max-width: 14ch; margin-top: 0; margin-bottom: 0; }
.page-band__title, .page-band__lead, .page-band .countdown { margin-left: max(0px, calc((100% - 1240px) / 2)) !important; margin-right: auto !important; }
.page-band__lead { font-size: var(--wp--preset--font-size--lead); max-width: 38rem; color: var(--mist); margin-top: 1.25rem; }
.page-band__back a { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.page-band__back a::before { content: "← "; }
.page-band__date { color: var(--mist); }
.page-band--post .page-band__title { font-size: var(--wp--preset--font-size--xx-large); max-width: 22ch; }

/* ---------- Home hero ---------- */
.singh-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--deep); color: #fff;
	min-height: clamp(640px, 100svh, 980px);
	display: grid; align-items: center;
	padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem !important;
}
.singh-hero__stage {
	position: absolute; inset: 0; z-index: -1;
	container-type: size;
	--w: max(128cqw, 160cqh);
	--h: calc(var(--w) / 1.5);
	--fx: .52;  /* Taylor's x position in the photo */
	--fy: .26;  /* her face's y position in the photo */
}
.singh-hero__stage::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(34, 20, 47, .94) 0%, rgba(34, 20, 47, .86) 26%, rgba(34, 20, 47, .25) 52%, rgba(34, 20, 47, 0) 64%),
		linear-gradient(0deg, rgba(34, 20, 47, .7) 0%, rgba(34, 20, 47, 0) 30%),
		linear-gradient(180deg, rgba(34, 20, 47, .65) 0%, rgba(34, 20, 47, 0) 22%);
}
.singh-hero__media {
	position: absolute; width: var(--w); height: var(--h); margin: 0 !important;
	left: clamp(calc(100cqw - var(--w)), calc(64cqw - var(--fx) * var(--w)), 0px);
	top: clamp(calc(100cqh - var(--h)), calc(40cqh - var(--fy) * var(--h)), 0px);
}
.singh-hero__media > * { margin: 0 !important; }
.singh-hero__bg, .singh-hero__cutout { position: absolute; inset: 0; translate: 0 calc(var(--p, 0) * 70px); }
.singh-hero__bg img, .singh-hero__cutout img { width: 100%; height: 100%; object-fit: cover; display: block; }
.singh-hero__bg { z-index: 1; }
.singh-hero__cutout { z-index: 4; }
.singh-hero__word {
	position: absolute; z-index: 3; left: 0; right: 0; top: 7%;
	text-align: center; margin: 0 !important;
	padding-left: calc((var(--fx) - .5) * 200%);
	font-family: var(--serif); font-weight: 900; font-stretch: 62.5%;
	font-size: calc(var(--w) * .158); line-height: .8; letter-spacing: -.005em;
	color: var(--gold); text-transform: uppercase;
	text-shadow: 0 .02em 0 rgba(20, 10, 30, .35);
	translate: 0 calc(var(--p, 0) * 150px);
	pointer-events: none; user-select: none;
}
.singh-hero__content { position: relative; z-index: 5; max-width: 540px; width: 100%; margin: 0 !important; }
.singh-hero__content h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: .98; margin: 0; font-weight: 800; }
.singh-hero__script { margin: 1.1rem 0 0 !important; width: var(--lockup-w, 300px); }
.singh-hero__script img { display: block; width: 100%; height: auto; }
.singh-hero__office { margin: -.55rem 0 0 !important; width: var(--lockup-w, 300px); text-align: center; padding-left: .42em; box-sizing: border-box; font-family: var(--serif); letter-spacing: .42em; text-transform: uppercase; font-size: 1.12rem; color: #fff; position: relative; }
.singh-hero__content { --lockup-w: 300px; }
@media (max-width: 480px) { .singh-hero__content { --lockup-w: 260px; } .singh-hero__office { font-size: .98rem; } }
.singh-hero__card { margin-top: 2rem !important; padding: 1.4rem 1.4rem 1.2rem !important; }
.singh-hero__card .signup__title { font-family: var(--serif); font-stretch: 87.5%; font-weight: 700; font-size: 1.35rem; color: var(--purple); margin: 0 0 .9rem; }

@media (max-width: 860px) {
	.singh-hero { min-height: 0; display: block; padding: var(--header-h) 0 0 !important; background: var(--deep); }
	.singh-hero__stage { position: relative; inset: auto; height: min(92vw, 70svh); --w: max(150cqw, 150cqh); --fy: .3; }
	.singh-hero__stage::after { background: linear-gradient(180deg, rgba(34, 20, 47, .7) 0%, rgba(34, 20, 47, 0) 30%, rgba(34, 20, 47, 0) 70%, var(--deep) 100%); }
	.singh-hero__media { left: clamp(calc(100cqw - var(--w)), calc(50cqw - var(--fx) * var(--w)), 0px); top: clamp(calc(100cqh - var(--h)), calc(46cqh - var(--fy) * var(--h)), 0px); }
	.singh-hero__content { padding: 0 var(--gutter) 2.5rem; margin-top: -2.5rem !important; max-width: none; }
	.singh-hero__card { margin-inline: calc(var(--gutter) * -0.25) !important; }
}

/* Load sequence: the one orchestrated moment on the site. */
@media (prefers-reduced-motion: no-preference) {
	.js .singh-hero__bg img { animation: hero-settle 1.6s var(--ease) both; }
	.js .singh-hero__word { animation: hero-rise 1.2s .35s var(--ease) both; }
	.js .singh-hero__script img { animation: ink-write 1.5s .9s cubic-bezier(.45, .05, .35, 1) both; }
	.js .singh-hero__content h1 { animation: fade-in .9s .15s var(--ease) both; }
	.js .singh-hero__office, .js .singh-hero__card { animation: fade-in .8s 1.3s var(--ease) both; }
}
@keyframes hero-settle { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes hero-rise { from { transform: translateY(38%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ink-write {
	from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
.js .singh-hero__script img, .brush-wipe {
	-webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
	mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
	-webkit-mask-size: 240% 100%; mask-size: 240% 100%;
	-webkit-mask-position: 0 0; mask-position: 0 0;
}

/* ---------- Election ribbon ---------- */
.ribbon { background: var(--deep); color: #fff; padding-block: 1.4rem calc(1.4rem + clamp(18px, 2.4vw, 34px)) !important; border-top: 4px solid var(--gold); }
.ribbon__inner { gap: 1rem 2.5rem; }
.ribbon p { margin: 0; }
.ribbon a { color: var(--gold-light); font-weight: 600; }
.ribbon a:hover { color: #fff; }
.countdown { font-family: var(--serif); font-stretch: 75%; font-size: 1.5rem; font-weight: 700; }
.countdown strong { color: var(--gold); font-size: 2.2rem; margin-right: .25rem; font-weight: 800; }

/* ---------- Headings with the gold brush ---------- */
.is-style-brush { position: relative; padding-bottom: .55em; }
.is-style-brush::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: min(320px, 70%); height: .32em; min-height: 10px;
	background: url("../svg/brush-gold.svg") left center / 100% 100% no-repeat;
}
.has-text-align-center.is-style-brush::after { left: 50%; translate: -50% 0; }
@media (prefers-reduced-motion: no-preference) {
	.js .is-style-brush::after {
		-webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
		-webkit-mask-size: 240% 100%; mask-size: 240% 100%;
		-webkit-mask-position: 100% 0; mask-position: 100% 0;
		transition: -webkit-mask-position 1.1s cubic-bezier(.45, .05, .35, 1) .15s, mask-position 1.1s cubic-bezier(.45, .05, .35, 1) .15s;
	}
	.js .is-style-brush.is-inview::after { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* ---------- Lists, quotes, images ---------- */
.is-style-stars { list-style: none; padding-left: 0; }
.is-style-stars li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.is-style-stars li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1rem;
	background: url("../svg/star-gold.svg") center / contain no-repeat;
}
.is-style-big { border: 0 !important; padding: 0 !important; }
.is-style-big p { font-family: var(--serif); font-style: italic; font-stretch: 87.5%; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.15; font-weight: 500; }
.is-style-big cite { font-style: normal; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--gold); }
.is-style-print img { border: 10px solid #fbf6ea; box-shadow: 0 18px 40px -18px rgba(25, 12, 38, .55), 0 2px 4px rgba(25, 12, 38, .2); }
.is-style-print figcaption { font-family: var(--serif); font-style: italic; color: inherit; opacity: .85; }
.tilt-left img { rotate: -1.6deg; }
.tilt-right img { rotate: 1.4deg; }

/* ---------- Home: why I'm running ---------- */
.why { padding-block: var(--wp--preset--spacing--60) !important; }
.why__lede { font-family: var(--serif); font-stretch: 87.5%; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; font-weight: 600; color: var(--purple); }
.why__cols { gap: clamp(2rem, 6vw, 6rem) !important; }

/* Priorities grid on the home page: headings + one line, no cards. */
.priority-grid { gap: 0 !important; border-top: 1px solid rgba(255, 255, 255, .22); }
.priority-grid > .wp-block-column { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.priority-grid h3 { font-size: 1.7rem; margin: 0 0 .5rem; }
.priority-grid h3 a { color: #fff !important; text-decoration: none; }
.priority-grid h3 a:hover { color: var(--gold-light) !important; }
.priority-grid h3::before { content: ""; display: block; width: 1.25rem; height: 1.2rem; margin-bottom: .9rem; background: url("../svg/star-gold.svg") center / contain no-repeat; }
.priority-grid p { color: var(--mist); margin: 0; }
@media (min-width: 782px) {
	.priority-grid > .wp-block-column { flex-basis: 33.333% !important; flex-grow: 0 !important; }
	.priority-grid { flex-wrap: wrap !important; }
}

/* ---------- Timeline: a horizontal track you scroll through ---------- */
.timeline { padding-block: var(--wp--preset--spacing--60) !important; }
.timeline { --edge: max(var(--gutter), calc((100vw - 1240px) / 2)); padding-inline: 0 !important; }
.timeline__head { padding-inline: var(--edge); }
.timeline__head > * { max-width: 46rem; }
.timeline__track {
	--tl-gap: clamp(1.25rem, 3vw, 2.5rem);
	display: flex !important; gap: var(--tl-gap) !important;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
	padding: 2.5rem var(--edge) 1.5rem !important; margin: 0 !important;
	position: relative;
}
.timeline__item { flex: 0 0 min(78vw, 320px); scroll-snap-align: start; margin: 0 !important; position: relative; }
.timeline__item > * { margin-block: 0 .65rem; }
.timeline__year { font-family: var(--serif); font-weight: 800; font-stretch: 62.5%; font-size: 3.6rem; line-height: 1; color: var(--purple); display: flex; align-items: center; gap: .6rem; }
.timeline__year::after { content: ""; flex: 1; height: 3px; margin-right: calc(var(--tl-gap) * -1); background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 22px); }
.timeline__item:last-child .timeline__year::after { margin-right: 0; background: linear-gradient(90deg, var(--gold) 0 30%, transparent); }
.timeline__item h3 { font-size: 1.4rem; margin-top: .9rem; }
.timeline__item p:not(.timeline__year) { font-size: 1rem; }
.timeline__item figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.timeline__item--now .timeline__year { color: var(--gold); text-shadow: 0 1px 0 rgba(53, 32, 78, .4); }
.timeline__hint { font-size: .9rem; opacity: .75; }
@media (min-width: 1000px) {
	.timeline--pinned { height: var(--pin-h, auto); padding-block: 0 !important; }
	.timeline--pinned .timeline__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--header-h); background: var(--parchment) var(--paper) repeat; }
	.timeline--pinned .timeline__track { overflow: visible; scroll-snap-type: none; transform: translateX(calc(var(--tx, 0) * -1px)); will-change: transform; }
	.timeline--pinned .timeline__hint { display: none; }
}

/* ---------- Photo band with a quote ---------- */
.quote-band { position: relative; min-height: clamp(460px, 82vh, 820px); display: grid; align-items: center; color: #fff; isolation: isolate; overflow: hidden; padding: var(--wp--preset--spacing--60) var(--gutter) !important; }
.quote-band__img { position: absolute !important; inset: 0; margin: 0 !important; z-index: -2; }
.quote-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.05); }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(34, 20, 47, .96) 0%, rgba(53, 32, 78, .78) 45%, rgba(53, 32, 78, .45) 100%); mix-blend-mode: multiply; }
.quote-band .wp-block-quote { max-width: min(31rem, 42vw); margin-left: max(0px, calc((100% - 1240px) / 2)) !important; margin-right: auto !important; }
.quote-band::before { background: linear-gradient(90deg, rgba(34, 20, 47, .95) 0%, rgba(53, 32, 78, .78) 38%, rgba(53, 32, 78, .25) 70%, rgba(53, 32, 78, .45) 100%) !important; }
@media (max-width: 760px) { .quote-band { align-items: end; } .quote-band .wp-block-quote { max-width: none; } .quote-band::before { background: linear-gradient(0deg, rgba(34, 20, 47, .96) 0%, rgba(53, 32, 78, .5) 55%, rgba(53, 32, 78, .2) 100%) !important; } }
.quote-band .wp-block-quote p { color: #fff; }

/* ---------- Get involved split ---------- */
.involve__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.involve__list li { padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .25); display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center; }
.involve__list strong { font-family: var(--serif); font-stretch: 87.5%; font-size: 1.45rem; display: block; }
.involve__list span { color: var(--mist); font-size: .98rem; }
.involve__list a { font-weight: 700; white-space: nowrap; }

/* ---------- Priorities page: details ---------- */
.priorities-tools { display: flex; justify-content: flex-end; margin-bottom: 1rem !important; }
.priorities-toggle { font: 600 .95rem var(--sans); background: none; border: 0; color: var(--purple); text-decoration: underline; cursor: pointer; padding: .25rem 0; }
.wp-block-details.is-style-priority { border-top: 2px solid var(--purple); padding: 0; margin: 0 !important; }
.wp-block-details.is-style-priority:last-of-type { border-bottom: 2px solid var(--purple); }
.wp-block-details.is-style-priority summary {
	list-style: none; cursor: pointer; padding: 1.6rem 3.5rem 1.6rem 0; position: relative;
	font-size: 1.05rem; color: var(--ink);
}
.wp-block-details.is-style-priority summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-priority summary strong {
	display: block; font-family: var(--serif); font-stretch: 75%; font-weight: 700;
	font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; color: var(--purple); margin-bottom: .35rem;
}
.wp-block-details.is-style-priority summary::after {
	content: ""; position: absolute; right: .25rem; top: 1.9rem; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23D2A030' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
	transition: rotate .3s var(--ease);
}
.wp-block-details.is-style-priority[open] summary::after { rotate: 45deg; }
.wp-block-details.is-style-priority > :not(summary) { max-width: 46rem; }
.wp-block-details.is-style-priority > :last-child { padding-bottom: 1.8rem; }
@media (prefers-reduced-motion: no-preference) {
	.wp-block-details.is-style-priority::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
	.wp-block-details.is-style-priority[open]::details-content { block-size: auto; }
}
:root { interpolate-size: allow-keywords; }
.priorities-layout { gap: clamp(2rem, 5vw, 5rem) !important; }
.priorities-layout { align-items: flex-start !important; }

/* ---------- About ---------- */
.about-hero { padding-top: calc(var(--header-h) + 2rem) !important; padding-bottom: 0 !important; overflow: hidden; }
.about-hero__cols { align-items: flex-end !important; gap: clamp(1.5rem, 5vw, 5rem) !important; }
.about-hero__cols h1 { font-size: var(--wp--preset--font-size--display); margin-bottom: 1rem; }
.about-hero__cols .wp-block-column:first-child { padding-bottom: clamp(3rem, 7vw, 6rem); }
.about-hero__photo { margin: 0 !important; }
.about-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about-story p { font-size: 1.125rem; line-height: 1.7; }
.about-story .about-emph { margin-top: 2.6rem !important; color: var(--purple); }
.about-story .about-emph strong { font-weight: 700; }
.about-story p strong { color: var(--purple); }
.about-story figure { margin-block: 2.6rem !important; }
.about-story .about-portrait { max-width: 460px; margin-inline: auto !important; }
.about-story figcaption { font-family: var(--sans); font-style: normal; font-size: .85rem; }
.about-story .wp-block-buttons { margin-top: 2.6rem !important; }

/* ---------- Forms ---------- */
.singh-form, .singh-form__group { display: grid; gap: .85rem; }
.singh-form__row { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.singh-form *, .singh-form *::before, .singh-form *::after { box-sizing: border-box; }
.singh-form label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--ink); min-width: 0; }
.singh-form label .opt { font-weight: 400; opacity: .7; }
.singh-form input[type=text], .singh-form input[type=email], .singh-form input[type=tel], .singh-form textarea, .singh-form select {
	font: 400 1rem/1.4 var(--sans); color: var(--ink);
	background: #fffaf0; border: 1.5px solid rgba(42, 27, 58, .35); border-radius: 2px;
	padding: .72rem .8rem; width: 100%;
}
.singh-form textarea { min-height: 7.5rem; resize: vertical; }
.singh-form input:focus, .singh-form textarea:focus, .singh-form select:focus { border-color: var(--purple); outline: 2px solid var(--gold); outline-offset: 0; }
.singh-form fieldset { border: 0; padding: 0; margin: .4rem 0 0; }
.singh-form legend { font-family: var(--serif); font-stretch: 87.5%; font-weight: 700; font-size: 1.25rem; color: var(--purple); margin-bottom: .5rem; }
.singh-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .98rem; }
.singh-form .check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--purple); flex: none; }
.singh-form .checks { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.singh-form button[type=submit] {
	font: 700 1rem var(--sans); color: var(--deep); background: var(--gold);
	border: 0; border-radius: 2px; padding: .9rem 1.6rem; cursor: pointer; justify-self: start;
	transition: background-color .2s;
}
.singh-form button[type=submit]:hover { background: var(--gold-light); }
.singh-form button[disabled] { opacity: .6; cursor: progress; }
.singh-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.singh-form__note { font-size: .85rem; opacity: .8; margin: 0; }
.singh-form__status { margin: 0; font-weight: 600; }
.singh-form__status.is-error { color: #9b1c1c; }
.singh-form.is-done > :not(.singh-form__thanks) { display: none; }
.singh-form__thanks { display: none; }
.singh-form.is-done .singh-form__thanks { display: block; }
.singh-form__thanks h3 { margin: 0 0 .5rem; color: var(--purple); }
.signup--inline .singh-form__row { grid-template-columns: 1fr 1.35fr; }
.signup--inline .singh-form__row--2 { grid-template-columns: .65fr 1fr; align-items: end; }
@media (max-width: 480px) { .signup--inline .singh-form__row, .signup--inline .singh-form__row--2 { grid-template-columns: 1fr; } }
.signup--inline button[type=submit] { width: 100%; justify-self: stretch; min-height: 3.05rem; }

/* ---------- Donate chips ---------- */
.donate-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (min-width: 640px) { .donate-chips { grid-template-columns: repeat(6, 1fr); } }
.donate-chips a {
	display: grid; place-items: center; min-height: 3.4rem; padding: .5rem;
	font: 700 1.2rem var(--serif); font-stretch: 87.5%; text-decoration: none;
	color: var(--deep) !important; background: var(--gold); border-radius: 2px;
	transition: background-color .2s, transform .2s var(--ease);
}
.donate-chips a:hover { background: var(--gold-light); transform: translateY(-2px); }
.donate-chips a.donate-chips__other { font-family: var(--sans); font-size: .95rem; background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px var(--gold); }
.donate-chips a.donate-chips__other:hover { background: rgba(210, 160, 48, .15); }
.donate-chips__note { font-size: .88rem; color: var(--mist); margin-top: .7rem; }

/* ---------- Footer ---------- */
.site-footer { color: #fff; }
.site-footer > * { margin-block: 0 !important; }
.donate-band {
	background: var(--purple); padding: clamp(3rem, 7vw, 5rem) var(--gutter) !important;
	border-top: 10px solid var(--gold); border-bottom: 10px solid var(--gold);
	position: relative; isolation: isolate; overflow: hidden;
}
.donate-band::after {
	content: ""; position: absolute; z-index: -1; left: -4vw; top: 50%; translate: 0 -50%;
	width: min(560px, 60vw); aspect-ratio: 1; background: url("../svg/seal-lavender.svg") center / contain no-repeat; opacity: .32;
}
.donate-band__title { color: #fff !important; font-size: var(--wp--preset--font-size--xx-large); margin: 0 0 .75rem; }
.donate-band p { color: var(--mist); max-width: 32rem; }
.donate-band__check { margin-top: 1rem !important; font-size: .95rem; }
.donate-band__check a { color: var(--gold-light); }
.site-footer__main { background: var(--deep); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem !important; }
.site-footer__cols { gap: 2.5rem !important; }
.footer-lockup { display: inline-grid; justify-items: center; text-decoration: none; color: #fff; line-height: .9; }
.footer-lockup__taylor { font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; font-size: 1.8rem; text-transform: uppercase; color: #fff; }
.footer-lockup__singh { font-family: var(--serif); font-weight: 900; font-stretch: 75%; font-size: 4.4rem; text-transform: uppercase; color: var(--gold); }
.footer-lockup__script { width: 170px; margin: .3rem 0 -.6rem; position: relative; z-index: 1; }
.footer-lockup__office { font-family: var(--serif); letter-spacing: .4em; text-transform: uppercase; font-size: 1rem; padding-left: .4em; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.footer-links li { margin-bottom: .55rem; break-inside: avoid; }
.site-footer a:not(.wp-element-button) { color: #fff; text-decoration-color: rgba(210, 160, 48, .6); text-underline-offset: 3px; }
.site-footer a:not(.wp-element-button):hover { color: var(--gold-light); }
.footer-label { font-family: var(--serif); font-stretch: 87.5%; font-weight: 700; font-size: 1.15rem; color: var(--gold); margin-bottom: .25rem; }
.site-footer .is-style-outline .wp-block-button__link, .is-style-purple .is-style-outline .wp-block-button__link, .is-style-deep .is-style-outline .wp-block-button__link, .singh-hero .is-style-outline .wp-block-button__link, .page-band .is-style-outline .wp-block-button__link { color: #fff; border: 2px solid var(--gold); background: transparent; }
.site-footer .is-style-outline .wp-block-button__link:hover { background: rgba(210, 160, 48, .15); }
.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--purple); }
.site-footer__legal { margin-top: 3rem !important; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: var(--mist); display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }

/* ---------- Supporters ---------- */
.endorsers { columns: 3 220px; column-gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.endorsers li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px dotted rgba(42, 27, 58, .35); font-family: var(--serif); font-size: 1.15rem; }
.endorsers li small { display: block; font-family: var(--sans); font-size: .85rem; opacity: .75; }
.endorsers-group h3 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.endorsers-empty { font-style: italic; }
.testimonials { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial { margin: 0; padding-top: 1.25rem; border-top: 4px solid var(--gold); }
.testimonial p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; font-style: italic; margin: 0 0 .9rem; }
.testimonial footer { font-weight: 700; font-size: .95rem; }
.testimonial footer span { display: block; font-weight: 400; opacity: .8; }

/* ---------- Events ---------- */
.events { display: grid; gap: 1.5rem; }
.events, .events-empty { max-width: 1040px; }
.event { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(42, 27, 58, .25); align-items: start; }
.event--has-img { grid-template-columns: 6.5rem 1fr minmax(160px, 260px); }
.event__date { background: var(--purple); color: #fff; text-align: center; padding: .7rem .4rem .8rem; border-top: 5px solid var(--gold); }
.event__date b { display: block; font-family: var(--serif); font-stretch: 75%; font-size: 2.6rem; line-height: 1; }
.event__date span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event h3 { font-size: 1.6rem; margin: 0 0 .35rem; }
.event__meta { margin: 0 0 .6rem; font-weight: 600; color: var(--lavender); }
.event__desc { margin: 0 0 .6rem; }
.event__links { display: flex; gap: 1.25rem; font-size: .95rem; font-weight: 600; flex-wrap: wrap; }
.event__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 680px) { .event, .event--has-img { grid-template-columns: 4.8rem 1fr; } .event__img { grid-column: 1 / -1; } .event__date b { font-size: 2rem; } }
.events-empty { padding: 2rem; border: 2px dashed rgba(42, 27, 58, .3); }

/* ---------- News cards ---------- */
.news-card { padding-bottom: 1rem; border-bottom: 1px solid rgba(42, 27, 58, .25); }
.news-card__date { font-size: .88rem; font-weight: 600; color: var(--lavender); margin-top: .8rem !important; }
.news-card__title { font-size: 1.6rem; margin: .3rem 0 .5rem !important; }
.news-card__title a { text-decoration: none; color: var(--purple); }
.news-card__title a:hover { text-decoration: underline; }
.news-card__img img { border-bottom: 5px solid var(--gold); }

/* ---------- Voter info ---------- */
.vote-date { font-family: var(--serif); font-stretch: 75%; font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; color: #fff; margin: 0; }
.polls { margin: 0; list-style: none; padding: 0; }
.polls li { padding: .9rem 0; border-bottom: 1px solid rgba(42, 27, 58, .2); }
.polls strong { font-family: var(--serif); font-stretch: 87.5%; font-size: 1.25rem; display: block; color: var(--purple); }

/* ---------- Coming soon ---------- */
.coming-soon { min-height: 100svh; display: grid; place-items: center; background: var(--purple); color: #fff; padding: 3rem var(--gutter); position: relative; overflow: hidden; isolation: isolate; text-align: center; border-top: 12px solid var(--gold); border-bottom: 12px solid var(--gold); }
.coming-soon::after { content: ""; position: absolute; z-index: -1; width: min(900px, 120vw); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; background: url("../svg/seal-lavender.svg") center / contain no-repeat; opacity: .28; }
.coming-soon__taylor { font-family: var(--serif); font-weight: 700; font-stretch: 87.5%; font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; line-height: 1; margin: 0; }
.coming-soon__singh { font-family: var(--serif); font-weight: 900; font-stretch: 75%; font-size: clamp(5rem, 17vw, 12rem); text-transform: uppercase; line-height: .82; color: var(--gold); margin: 0; }
.coming-soon__script { width: min(380px, 70vw); margin: .4rem auto -1rem; display: block; position: relative; }
.coming-soon__office { font-family: var(--serif); letter-spacing: .45em; text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.5rem); margin: 0; padding-left: .45em; }
.coming-soon__msg { max-width: 34rem; margin: 2.2rem auto 1.5rem; color: var(--mist); font-size: 1.1rem; }
.coming-soon .singh-form { max-width: 560px; margin: 0 auto; text-align: left; background: var(--parchment) var(--paper); padding: 1.3rem; border-top: 5px solid var(--gold); }
.coming-soon__legal { margin-top: 2.5rem; font-size: .8rem; color: var(--mist); }

/* ---------- Chinese pages ---------- */
.lang-zh, .lang-zh ~ .site-footer, [lang="zh-Hans"] body { --sans: "Public Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
[lang="zh-Hans"] body { font-family: var(--sans); }
[lang="zh-Hans"] :where(h1, h2, h3, h4, .wp-block-details summary strong) { font-family: "Noto Serif", "Songti SC", "Noto Serif SC", "STSong", serif; letter-spacing: .02em; }
[lang="zh-Hans"] p, [lang="zh-Hans"] li { line-height: 1.85; }
.review-note { font-size: .88rem; border-left: 4px solid var(--gold); padding: .6rem .9rem; background: rgba(255, 255, 255, .45); }

/* ---------- Utilities ---------- */
.lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.5; }
.mist { color: var(--mist); }
.measure { max-width: min(40rem, 100%); margin-left: max(0px, calc((100% - 1240px) / 2)) !important; }
.wp-block-columns, .wp-block-column { box-sizing: border-box; }
.no-margin { margin: 0 !important; }
.skip-link:focus { background: var(--gold); color: var(--deep); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.singh-hero__media, .singh-hero__word { translate: none !important; }
}
[lang="zh-Hans"] .brand__office, [lang="zh-Hans"] .singh-hero__office { letter-spacing: .14em; }
[lang="zh-Hans"] .singh-hero__content h1 { line-height: 1.15; letter-spacing: .02em; }
.coming-soon .signup__title { display: none; }
