/*
 * Landing page styles — Affordability Coalition of Texas.
 *
 * Loaded after style.css (the untouched _s base). Design source: Figma
 * "Affordability Coalition of Texas Landing Page", node 1:2, 1440px reference
 * frame. Desktop comp only; responsive behaviour below 1200px is ours.
 *
 * Display stack: the comp uses Gotham Office Narrow Bold (Hoefler&Co,
 * licensed, not committed with the theme). inc/landing-page.php declares its
 * @font-face only when a file containing "gotham" exists in assets/fonts/.
 * Until then Figtree 700 (Google Fonts, self-hosted) renders — same geometric
 * skeleton, and at the same size it sets "Texas is supposed" within ~2% of
 * the comp's width, so no size compensation is needed (--display-scale stays
 * 1 either way; it is kept so a wider stand-in could be trimmed later).
 */

/* --------------------------------------------------------------------------
 * Fonts + tokens
 * ------------------------------------------------------------------------ */

@font-face {
	font-family: "Public Sans";
	src: url("../fonts/public-sans-var-latin.woff2") format("woff2-variations");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-700-latin.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--c-navy: #1b2a4a;
	--c-navy-deep: #101a2e;
	--c-navy-18: rgba(27, 42, 74, 0.18);
	--c-navy-14: rgba(27, 42, 74, 0.14);
	--c-navy-09: rgba(27, 42, 74, 0.09);
	--c-red: #d62839;
	--c-red-hover: #b81f2f;
	--c-white: #fff;
	--c-white-78: rgba(255, 255, 255, 0.78);
	--c-white-60: rgba(255, 255, 255, 0.6);
	--c-white-45: rgba(255, 255, 255, 0.45);
	--c-bg-light: #f9fafc;
	--c-bg-gray: #eceff3;
	--c-text: #2b3340;
	--c-muted: #5c6678;
	--c-muted-2: #667080;
	--c-placeholder: #788291;
	--c-field: #f6f8fa;
	--c-field-border: #d6dee5;
	--font-display: "Gotham Narrow", "Figtree", "Helvetica Neue", arial, sans-serif;
	--display-scale: 1;
	--display-tracking: -0.022em;
	--font-body: "Public Sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
	/* 100px gutters at 1440 → 1240px content column. */
	--pad-x: clamp(20px, 6.94vw, 100px);
	--content: 1240px;
	--radius-card: 12px;
	--radius-panel: 5px;
	--radius-field: 3px;
	--radius-pill: 999px;
	--header-offset: 110px;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.5;
	color: var(--c-text);
	background: var(--c-white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/*
 * Link colors. The _s base sets royalblue / purple-when-visited, and its
 * `a:visited` selector (type + pseudo-class) outranks any single class, so
 * every branded link and button declares :visited explicitly.
 */
a {
	color: var(--c-red);
}

a:visited {
	color: var(--c-red);
}

a:hover,
a:focus,
a:active {
	color: var(--c-red-hover);
}

/* Pill buttons: label + trailing arrow, per the comp ("Call (512) 463-0520  →"). */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 17px 30px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	border-radius: var(--radius-pill);
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button__arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}

.button:hover .button__arrow {
	transform: translateX(3px);
}

.button--red {
	background: var(--c-red);
	color: var(--c-white);
}

a.button--red:visited {
	color: var(--c-white);
}

.button--red:hover,
.button--red:focus,
.button--red:active {
	background: var(--c-red-hover);
	color: var(--c-white);
}

.button--outline {
	background: transparent;
	color: var(--c-navy);
	border: 1.5px solid var(--c-navy-18);
	/* 1.5px border each side; keep the same outer height as the red button. */
	padding: 15.5px 26px;
}

a.button--outline:visited {
	color: var(--c-navy);
}

.button--outline:hover,
.button--outline:focus,
.button--outline:active {
	background: rgba(27, 42, 74, 0.06);
	border-color: var(--c-navy);
	color: var(--c-navy);
}

/* Outline on dark panels (404). */
.button--outline-light,
a.button--outline-light:visited {
	color: var(--c-white);
	border-color: var(--c-white-45);
}

.button--outline-light:hover,
.button--outline-light:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--c-white);
	color: var(--c-white);
}

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

/* Eyebrow: 13px bold, tracked 1.43px, uppercase. */
.eyebrow {
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.eyebrow--red {
	color: var(--c-red);
}

/* Display headings share one recipe; size is set per element. */
.display {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	margin: 0;
}

/* Play button: white disc (96%) + red triangle. Sized per context. */
.play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 94px;
	height: 94px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--c-red);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.play:hover,
.play:focus-visible {
	transform: translate(-50%, -50%) scale(1.06);
}

.play:focus-visible {
	outline: 3px solid var(--c-white);
	outline-offset: 4px;
}

.play__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 24px rgba(0, 13, 38, 0.3);
}

.play__icon {
	position: relative;
	display: block;
	width: 26px;
	height: 30px;
	/* Optical centring: the triangle's visual centre sits left of its box centre. */
	margin-left: 5px;
}

/* --------------------------------------------------------------------------
 * Announcement bar (Site Settings; off by default on this site)
 * ------------------------------------------------------------------------ */

.announcement-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	background: var(--c-red);
	color: var(--c-white);
	text-align: center;
	padding: 12px 24px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

a.announcement-bar:visited {
	color: var(--c-white);
}

a.announcement-bar:hover,
a.announcement-bar:focus {
	background: var(--c-red-hover);
	color: var(--c-white);
}

/* --------------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------------ */

/* Same pale ground as the hero so the two read as one panel at the top; a
   border + shadow appear once the page scrolls (landing.js adds .is-stuck). */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-bg-light);
	border-bottom: 1px solid transparent;
	padding: 0 var(--pad-x);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
	border-bottom-color: var(--c-navy-09);
	box-shadow: 0 6px 24px rgba(27, 42, 74, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--content);
	min-height: 98px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Sit below the WP admin bar when logged in (32px, 46px under 783px). */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* In-page anchors stop clear of the pinned header. */
#add-your-name,
#campaign,
#where-we-stand,
#watch {
	scroll-margin-top: var(--header-offset);
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	display: block;
	height: 44px;
	width: auto;
}

/* Keep the text branding for screen readers; the logo carries it visually. */
.site-branding .site-title,
.site-branding .site-description {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* One-page site: no menu assigned. Styled minimally in case one is added. */
.main-navigation {
	display: none;
}

.main-navigation ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a,
.main-navigation a:visited {
	font-size: 15px;
	font-weight: 600;
	color: var(--c-navy);
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--c-red);
}

@media (min-width: 900px) {
	.main-navigation:has(li) {
		display: block;
	}
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-shrink: 0;
}

/* Header pill: 212 × 42 in the comp. */
.donate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 212px;
	padding: 13px 24px;
	background: var(--c-red);
	color: var(--c-white);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0;
	/* The base sheet uppercases this button; the comp is sentence case. */
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	border-radius: var(--radius-pill);
	transition: background-color 0.15s ease;
}

a.donate-button:visited {
	color: var(--c-white);
}

.donate-button:hover,
.donate-button:focus {
	background: var(--c-red-hover);
	color: var(--c-white);
}

.donate-button:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}

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

.hero {
	position: relative;
	isolation: isolate;
	background: var(--c-bg-light);
	color: var(--c-navy);
	padding: clamp(48px, 6.67vw, 96px) var(--pad-x);
	overflow: hidden;
}

/* Aerial photo at 8%, then the comp's diagonal white wash toward the top right. */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--c-bg-light);
	pointer-events: none;
}

.hero__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: 0.7;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(64deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.9) 100%);
}

/* Comp: 560px copy column, 56px gap, 637px card; 752px tall with the row centred. */
.hero__row {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 637px);
	justify-content: space-between;
	align-items: center;
	gap: clamp(32px, 3.89vw, 56px);
	max-width: var(--content);
	min-height: clamp(360px, 38.9vw, 560px);
	margin: 0 auto;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 700;
	/* 64px at 1440. */
	font-size: calc(clamp(2.375rem, 4.44vw, 4rem) * var(--display-scale));
	line-height: 1.14;
	letter-spacing: var(--display-tracking);
	color: var(--c-navy);
	text-wrap: balance;
	margin: 0;
}

.hero__lede {
	font-size: clamp(1rem, 1.18vw, 1.0625rem);
	line-height: 1.72;
	color: var(--c-muted);
	max-width: 500px;
	margin: 0;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-top: 8px;
}

/* Centred variant (Hero Layout = Centred, client request 2026-09-22): one
   copy column, no video card — both ads live in the campaign section below. */
.hero--centered {
	padding-block: clamp(56px, 7.64vw, 110px);
}

/* The comp's wash runs diagonally toward the card side; with one centred
   column it reads lopsided, so the copy sits on an even, centred wash. */
.hero--centered .hero__bg::after {
	background: radial-gradient(ellipse 55% 65% at 50% 50%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.15) 100%);
}

/* Phones: the copy fills the width, so the wash widens to keep the lede readable. */
@media (max-width: 600px) {
	.hero--centered .hero__bg::after {
		background: radial-gradient(ellipse 95% 70% at 50% 50%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 60%, rgba(255, 255, 255, 0.3) 100%);
	}
}

.hero--centered .hero__row {
	grid-template-columns: minmax(0, 1fr);
	justify-content: center;
	justify-items: center;
	max-width: 840px;
	min-height: 0;
}

.hero--centered .hero__copy {
	align-items: center;
	text-align: center;
}

.hero--centered .hero__lede {
	max-width: 640px;
}

.hero--centered .hero__ctas {
	justify-content: center;
}

/* White card with a 16px inset around the video block. */
.hero__card {
	width: 100%;
	padding: 16px;
	background: var(--c-white);
	border: 1px solid var(--c-navy-09);
	border-radius: var(--radius-card);
	box-shadow:
		0 6px 14px rgba(0, 0, 0, 0.15),
		0 26px 26px rgba(0, 0, 0, 0.13),
		0 58px 35px rgba(0, 0, 0, 0.08),
		0 104px 42px rgba(0, 0, 0, 0.02);
}

/* Video block: poster darkened over a navy gradient (comp: poster @ 60%). */
.video {
	position: relative;
	isolation: isolate;
	width: 100%;
	background: linear-gradient(137deg, #24375e 0%, var(--c-navy-deep) 71%);
	border-radius: 6px;
	overflow: hidden;
}

/* Comp block is 605 × 421; the player itself is 16:9, so the box relaxes to
   that once a video is playing (no letterboxing inside the white card). */
.video--hero {
	aspect-ratio: 605 / 421;
	transition: aspect-ratio 0.3s ease;
}

.video--hero.video--playing {
	aspect-ratio: 16 / 9;
}

.video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
}

/* A block with no video shows the still at full strength. */
.video--static .video__poster {
	opacity: 1;
}

.video--playing .video__poster,
.video--playing .play {
	display: none;
}

.video__player {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

/* --------------------------------------------------------------------------
 * Where we stand
 * ------------------------------------------------------------------------ */

.stance {
	background: var(--c-white);
	padding: clamp(56px, 6.11vw, 88px) var(--pad-x);
}

/* Comp: 364px heading column, 108px gap, 760px copy column. */
.stance__inner {
	display: grid;
	grid-template-columns: minmax(0, 364px) minmax(0, 760px);
	justify-content: space-between;
	align-items: start;
	gap: clamp(28px, 7.5vw, 108px);
	max-width: var(--content);
	margin: 0 auto;
}

.stance__title {
	font-family: var(--font-display);
	font-weight: 700;
	/* 50px at 1440. */
	font-size: calc(clamp(2rem, 3.47vw, 3.125rem) * var(--display-scale));
	line-height: 1.3;
	letter-spacing: -0.024em;
	color: var(--c-navy);
	margin: 0;
}

.stance__body {
	font-size: 17px;
	line-height: 1.78;
	color: var(--c-text);
}

.stance__body p {
	margin: 0;
}

.stance__body p + p {
	margin-top: 22px;
}

.stance__body a,
.stance__body a:visited {
	color: var(--c-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.stance__body strong {
	color: var(--c-navy);
}

/* --------------------------------------------------------------------------
 * Watch the campaign (carousel)
 * ------------------------------------------------------------------------ */

.campaign {
	background: var(--c-bg-gray);
	padding: 0 0 clamp(56px, 6.67vw, 96px);
	overflow: hidden;
}

/* Header row: title at the gutter, two 84px arrow boxes flush right. */
.campaign__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
	padding-left: var(--pad-x);
}

.campaign__title {
	font-family: var(--font-display);
	font-weight: 700;
	/* 30px at 1440. */
	font-size: calc(clamp(1.5rem, 2.08vw, 1.875rem) * var(--display-scale));
	line-height: 1.3;
	letter-spacing: -0.013em;
	color: var(--c-navy);
	margin: 0;
}

.campaign__arrows {
	display: flex;
	align-self: stretch;
	flex-shrink: 0;
}

.campaign__arrow {
	display: grid;
	place-items: center;
	width: 84px;
	min-height: 84px;
	margin: 0;
	padding: 0;
	background: var(--c-bg-gray);
	border: 1px solid var(--c-navy-14);
	color: var(--c-navy);
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.campaign__arrow + .campaign__arrow {
	margin-left: -1px;
}

.campaign__arrow:hover:not(:disabled),
.campaign__arrow:focus-visible {
	background: var(--c-white);
}

.campaign__arrow:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: -4px;
}

.campaign__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.campaign__arrow svg {
	display: block;
	width: 18px;
	height: 22px;
}

/* The rail: native horizontal scroller. Starts at the gutter, bleeds right,
   snaps card by card. 20px headroom above lets the hover lift breathe. */
.campaign__rail {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 20px var(--pad-x) 4px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--pad-x);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.campaign__rail::-webkit-scrollbar {
	display: none;
}

.campaign__item {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

/* Card: 340 × 440, navy gradient under the photo (comp: photo @ 35%),
   56px title strip pinned to the bottom. */
.ad-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	width: 340px;
	height: 440px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(120deg, #263a63 0%, #0d1628 71%);
	color: var(--c-white);
	text-align: left;
	font: inherit;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ad-card--static {
	cursor: default;
}

.ad-card:hover:not(.ad-card--static),
.ad-card:focus-visible {
	transform: translateY(-10px);
	box-shadow:
		0 4px 10px rgba(0, 0, 0, 0.25),
		0 18px 18px rgba(0, 0, 0, 0.21),
		0 40px 24px rgba(0, 0, 0, 0.13),
		0 71px 29px rgba(0, 0, 0, 0.04);
}

.ad-card:focus-visible {
	outline: 3px solid var(--c-navy);
	outline-offset: 3px;
}

.ad-card__media {
	position: relative;
	display: block;
	flex: 1 1 auto;
	min-height: 0;
}

.ad-card__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
	transition: opacity 0.25s ease;
}

.ad-card:hover:not(.ad-card--static) .ad-card__poster {
	opacity: 0.45;
}

.ad-card .play {
	width: 62px;
	height: 62px;
}

.ad-card .play__icon {
	width: 18px;
	height: 21px;
	margin-left: 4px;
}

.ad-card:hover:not(.ad-card--static) .play {
	transform: translate(-50%, -50%) scale(1.06);
}

.ad-card__strip {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 56px;
	padding: 0 18px;
	background: var(--c-navy-deep);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	color: var(--c-white);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ----- Grid layout (1–2 videos): full-width 16:9 tiles across the column ----- */

.campaign--grid .campaign__header {
	max-width: calc(var(--content) + 2 * var(--pad-x));
	margin: 0 auto;
	padding: clamp(40px, 4.17vw, 60px) var(--pad-x) 0;
	min-height: 0;
}

.campaign--grid .campaign__rail {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 1.67vw, 24px);
	max-width: calc(var(--content) + 2 * var(--pad-x));
	margin: 0 auto;
	padding: clamp(20px, 2.08vw, 30px) var(--pad-x) 4px;
	overflow: visible;
	scroll-snap-type: none;
}

/* One video: a single centred tile at the comp's hero-card scale. */
.campaign--count-1 .campaign__rail {
	grid-template-columns: minmax(0, 1000px);
	justify-content: center;
}

.campaign--grid .campaign__item {
	scroll-snap-align: none;
}

.campaign--grid .ad-card {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.campaign--grid .ad-card__media {
	aspect-ratio: 16 / 9;
	flex: none;
}

/* Wide frames read at the hero card's strength rather than the 35% card tint. */
.campaign--grid .ad-card__poster {
	opacity: 0.6;
}

.campaign--grid .ad-card:hover:not(.ad-card--static) .ad-card__poster {
	opacity: 0.7;
}

.campaign--grid .ad-card .play {
	width: 94px;
	height: 94px;
}

.campaign--grid .ad-card .play__icon {
	width: 26px;
	height: 30px;
	margin-left: 5px;
}

.campaign--grid .ad-card__strip {
	height: 60px;
	font-size: 16px;
}

/* ----- Wall layout (5+ videos): the same 16:9 tiles, three across -----
   A full batch of per-legislator cuts: the comp's rail would need a dozen
   arrow clicks and the full-width grid would run seven tiles deep. The
   section carries campaign--grid as well, so everything above still applies
   and only the column count and the card chrome change here. The column
   rules are written .campaign--grid.campaign--wall so they outrank the
   grid's own responsive columns further down the file, whatever the order. */

.campaign--grid.campaign--wall .campaign__rail {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.39vw, 20px);
}

.campaign--wall .ad-card__strip {
	height: 52px;
	padding: 0 16px;
	font-size: 15px;
}

/* Back to the carousel card's disc — the grid's 94px one eats a third of a
   tile at this size. */
.campaign--wall .ad-card .play {
	width: 62px;
	height: 62px;
}

.campaign--wall .ad-card .play__icon {
	width: 18px;
	height: 21px;
	margin-left: 4px;
}

/* A 10px lift reads as a jump with eleven neighbours holding still. */
.campaign--wall .ad-card:hover:not(.ad-card--static),
.campaign--wall .ad-card:focus-visible {
	transform: translateY(-6px);
}

@media (max-width: 1100px) {
	.campaign--grid.campaign--wall .campaign__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.campaign--grid.campaign--wall .campaign__rail {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------------
 * Lightbox (campaign cards)
 * ------------------------------------------------------------------------ */

.lightbox {
	width: min(1100px, calc(100vw - 32px));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--c-white);
	overflow: visible;
}

.lightbox::backdrop {
	background: rgba(6, 10, 20, 0.86);
}

.lightbox__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__frame--vertical {
	width: min(100%, calc((100vh - 96px) * 9 / 16));
	aspect-ratio: 9 / 16;
}

.lightbox__frame--square {
	width: min(100%, calc(100vh - 96px));
	aspect-ratio: 1 / 1;
}

.lightbox__frame .video__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lightbox__close {
	position: absolute;
	top: -48px;
	right: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--c-white);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
	background: rgba(255, 255, 255, 0.24);
}

.lightbox__close:focus-visible {
	outline: 2px solid var(--c-white);
	outline-offset: 2px;
}

.lightbox__close svg {
	display: block;
	width: 22px;
	height: 22px;
}

/* --------------------------------------------------------------------------
 * Take action (call column + sign-on card)
 * ------------------------------------------------------------------------ */

.action {
	background: var(--c-navy-deep);
	color: var(--c-white);
	padding: clamp(56px, 6.67vw, 96px) var(--pad-x);
}

/* Comp: fluid call column, 72px gap, 500px card. */
.action__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	max-width: var(--content);
	margin: 0 auto;
}

.action__call {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	max-width: 668px;
}

.action__title {
	font-family: var(--font-display);
	font-weight: 700;
	/* 44px at 1440. */
	font-size: calc(clamp(1.875rem, 3.06vw, 2.75rem) * var(--display-scale));
	line-height: 1.1;
	letter-spacing: -0.027em;
	color: var(--c-white);
	text-wrap: balance;
	margin: 0;
}

.action__body {
	font-size: 17px;
	line-height: 1.72;
	color: var(--c-white-78);
	margin: 0;
}

/* White plate with the number in the display face (comp: 442 × 113). */
.phone-plate,
.phone-plate:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(442px, 100%);
	min-height: 113px;
	padding: 22px 32px;
	background: var(--c-white);
	border-radius: var(--radius-panel);
	color: var(--c-navy);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.phone-plate:hover,
.phone-plate:focus-visible {
	color: var(--c-navy);
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.phone-plate:focus-visible {
	outline: 3px solid var(--c-white);
	outline-offset: 3px;
}

.phone-plate__number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(2rem, 2.9vw, 2.625rem) * var(--display-scale));
	line-height: 1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

/* Sign-on card: 500 wide, 40px padding, 13px rhythm. */
.signup__card {
	width: 100%;
	background: var(--c-white);
	border-radius: var(--radius-panel);
	padding: clamp(24px, 2.78vw, 40px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
	color: var(--c-text);
}

.signup__title {
	font-family: var(--font-display);
	font-weight: 700;
	/* 24px at 1440. */
	font-size: calc(1.5rem * var(--display-scale));
	line-height: 1.24;
	letter-spacing: -0.025em;
	color: var(--c-navy);
	margin: 0;
}

.signup__description {
	font-size: 15px;
	line-height: 1.62;
	color: var(--c-muted-2);
	margin: 13px 0 0;
}

.signup__fine-print {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--c-placeholder);
	margin: 13px 0 0;
}

/* ----- Gravity Forms (plugin CSS disabled; the theme owns the markup) ---- */

.signup__card .gform_wrapper {
	margin-top: 23px;
	text-align: left;
}

.signup__card .gform_wrapper form {
	margin: 0;
}

.signup__card .gform_heading {
	display: none;
}

.signup__card .gform_fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.signup__card .gfield {
	grid-column: 1 / -1;
	margin: 0;
}

.signup__card .gfield--width-half,
.signup__card .gfield.gf-half {
	grid-column: auto / span 1;
}

/* Labels are placeholders in the design; keep the real labels for AT. */
.signup__card .hidden_label > .gfield_label,
.signup__card .hidden_label > legend.gfield_label,
.signup__card .gfield_label.hidden_label,
.signup__card .gform-field-label.hidden_label {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

.signup__card .gfield_label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin-bottom: 8px;
}

.signup__card .gfield_required {
	display: none;
}

.signup__card .ginput_container input[type="text"],
.signup__card .ginput_container input[type="email"],
.signup__card .ginput_container input[type="tel"],
.signup__card .ginput_container input[type="number"],
.signup__card .ginput_container textarea {
	display: block;
	width: 100%;
	background: var(--c-field);
	border: 1px solid var(--c-field-border);
	border-radius: var(--radius-field);
	padding: 16px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: normal;
	color: var(--c-text);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.signup__card .ginput_container textarea {
	height: 90px;
	min-height: 90px;
	resize: vertical;
	line-height: 1.5;
}

.signup__card .ginput_container input::placeholder,
.signup__card .ginput_container textarea::placeholder {
	color: var(--c-placeholder);
	opacity: 1;
}

.signup__card .ginput_container input:focus,
.signup__card .ginput_container textarea:focus {
	outline: 2px solid var(--c-navy);
	outline-offset: -1px;
	border-color: var(--c-navy);
	background: var(--c-white);
}

/* GF renders choice fields as fieldsets — neutralize browser chrome. */
.signup__card fieldset.gfield {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.signup__card .gfield legend.gfield_label {
	display: block;
	float: none;
	width: auto;
	padding: 0;
}

/* Consent / checkbox fields, should one be added to the form. */
.signup__card .gfield_checkbox .gchoice,
.signup__card .gfield_consent .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.signup__card .gfield_checkbox input[type="checkbox"],
.signup__card .ginput_container_consent input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex-shrink: 0;
	width: 19px;
	height: 19px;
	margin: 1px 0 0;
	background: var(--c-white);
	border: 1.5px solid var(--c-placeholder);
	border-radius: 4px;
	cursor: pointer;
	display: grid;
	place-content: center;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.signup__card .gfield_checkbox input[type="checkbox"]::before,
.signup__card .ginput_container_consent input[type="checkbox"]::before {
	content: "";
	width: 11px;
	height: 11px;
	transform: scale(0);
	transition: transform 0.12s ease;
	background: var(--c-white);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.signup__card .gfield_checkbox input[type="checkbox"]:checked,
.signup__card .ginput_container_consent input[type="checkbox"]:checked {
	background: var(--c-navy);
	border-color: var(--c-navy);
}

.signup__card .gfield_checkbox input[type="checkbox"]:checked::before,
.signup__card .ginput_container_consent input[type="checkbox"]:checked::before {
	transform: scale(1);
}

.signup__card .gfield_checkbox input[type="checkbox"]:focus-visible,
.signup__card .ginput_container_consent input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}

.signup__card .gfield_checkbox label,
.signup__card .gfield_consent_label {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--c-muted-2);
	cursor: pointer;
	margin: 0;
}

.signup__card .gfield_description {
	font-size: 13px;
	color: var(--c-muted-2);
	margin-top: 6px;
}

.signup__card .charleft,
.signup__card .ginput_counter {
	display: none;
}

/* Validation */
.signup__card .gform_validation_errors {
	background: rgba(214, 40, 57, 0.08);
	border: 1px solid var(--c-red);
	border-radius: var(--radius-field);
	padding: 12px 16px;
	margin-bottom: 13px;
}

.signup__card .gform_validation_errors h2 {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--c-red);
	margin: 0;
}

.signup__card .gform_validation_errors ol {
	display: none;
}

.signup__card .gfield_validation_message,
.signup__card .validation_message {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-red);
	margin-top: 6px;
}

.signup__card .gfield_error .ginput_container input,
.signup__card .gfield_error .ginput_container textarea {
	border-color: var(--c-red);
}

/* Honeypot — GF hides it inline; belt and braces. */
.signup__card .gform_validation_container {
	display: none !important;
}

/* Submit — outside the fields grid, so restate the 13px gap. Rendered as a
   <button> by theme_landing_gform_submit_button() (label + arrow). */
.signup__card .gform_footer {
	margin: 13px 0 0;
	padding: 0;
}

.signup__card .gform_footer input[type="submit"],
.signup__card .gform_footer button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	width: 100%;
	background: var(--c-red);
	color: var(--c-white);
	border: 0;
	border-radius: var(--radius-pill);
	padding: 17px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.signup__card .gform_footer input[type="submit"]:hover,
.signup__card .gform_footer input[type="submit"]:focus,
.signup__card .gform_footer button:hover,
.signup__card .gform_footer button:focus {
	background: var(--c-red-hover);
}

.signup__card .gform_footer button:hover .button__arrow {
	transform: translateX(3px);
}

.signup__card .gform_footer input[type="submit"]:focus-visible,
.signup__card .gform_footer button:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}

/* GF's AJAX spinner has no place here (non-AJAX form). */
.signup__card .gform_ajax_spinner {
	display: none;
}

/* Confirmation */
.signup__card .gform_confirmation_wrapper {
	margin-top: 23px;
}

.signup__card .gform_confirmation_message {
	font-size: 17px;
	line-height: 1.6;
	color: var(--c-navy);
}

.signup__card .gform_confirmation_message p {
	margin: 0;
}

.signup__card .gform_confirmation_message p + p {
	margin-top: 12px;
}

/* --------------------------------------------------------------------------
 * Scroll-reveal (assets/js/landing.js adds .has-reveal only when it can run)
 * ------------------------------------------------------------------------ */

.has-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-reveal [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.has-reveal .stance__body[data-reveal],
.has-reveal .signup__card[data-reveal] {
	transition-delay: 0.12s;
}

/* --------------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------------ */

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-navy-deep);
	color: var(--c-white);
	text-align: center;
	padding: clamp(72px, 9vw, 140px) var(--pad-x);
}

.error-404__code {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(4rem, 10vw, 8.5rem) * var(--display-scale));
	line-height: 0.9;
	letter-spacing: var(--display-tracking);
	color: var(--c-red);
	margin: 0 0 clamp(12px, 1.5vw, 20px);
}

.error-404__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(1.75rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	color: var(--c-white);
	margin: 0;
}

.error-404__message {
	font-size: clamp(1rem, 1.32vw, 1.1875rem);
	line-height: 1.6;
	color: var(--c-white-78);
	max-width: 34em;
	margin: 16px 0 0;
}

.error-404__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: clamp(28px, 3vw, 40px);
}

.error-404__actions .hero__ctas {
	justify-content: center;
	padding-top: 0;
}

.error-404__home,
.error-404__home:visited {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-white-78);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.error-404__home:hover,
.error-404__home:focus {
	color: var(--c-white);
	border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
 * Interior content pages (Privacy Policy, etc.)
 *
 * Scoped with :not(.landing) so the front page's full-bleed sections are
 * untouched.
 * ------------------------------------------------------------------------ */

.site-main:not(.landing) {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(36px, 4vw, 56px) 24px clamp(48px, 5vw, 72px);
}

.site-main:not(.landing) .entry-header {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.site-main:not(.landing) .entry-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(2rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	color: var(--c-navy);
	margin: 0;
}

.site-main:not(.landing) .entry-content {
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-text);
}

.site-main:not(.landing) .entry-content > * + * {
	margin-top: 1.15em;
}

.site-main:not(.landing) .entry-content h2,
.site-main:not(.landing) .entry-content h3,
.site-main:not(.landing) .entry-content h4 {
	font-family: var(--font-body);
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-navy);
	margin-top: 1.9em;
	margin-bottom: 0.4em;
}

.site-main:not(.landing) .entry-content h2 {
	font-size: 1.5rem;
}

.site-main:not(.landing) .entry-content h3 {
	font-size: 1.1875rem;
}

.site-main:not(.landing) .entry-content h4 {
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.site-main:not(.landing) .entry-content a,
.site-main:not(.landing) .entry-content a:visited {
	color: var(--c-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: break-word;
}

.site-main:not(.landing) .entry-content a:hover,
.site-main:not(.landing) .entry-content a:focus {
	color: var(--c-red-hover);
}

.site-main:not(.landing) .entry-content ul,
.site-main:not(.landing) .entry-content ol {
	padding-left: 1.35em;
}

.site-main:not(.landing) .entry-content li + li {
	margin-top: 0.4em;
}

.site-main:not(.landing) .entry-content blockquote {
	border-left: 3px solid var(--c-field-border);
	padding-left: 1.15em;
	margin-left: 0;
	color: var(--c-muted);
}

.site-main:not(.landing) .entry-content img {
	max-width: 100%;
	height: auto;
}

.site-main:not(.landing) .entry-footer {
	margin-top: 2.5em;
	font-size: 13px;
	color: var(--c-placeholder);
}

/* --------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	background: var(--c-navy);
	color: var(--c-white);
	text-align: center;
	padding: clamp(40px, 3.75vw, 54px) var(--pad-x);
}

.footer-logo a {
	display: block;
	line-height: 0;
}

.footer-logo__img,
.footer-logo img {
	display: block;
	height: 40px;
	width: auto;
}

.footer-phone,
.footer-phone:visited {
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.02em;
	color: var(--c-white-78);
	text-decoration: none;
	white-space: nowrap;
}

.footer-phone:hover,
.footer-phone:focus {
	color: var(--c-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-social-links {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-social-links a,
.footer-social-links a:visited {
	color: var(--c-white-78);
	display: block;
	line-height: 0;
	transition: color 0.15s ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus {
	color: var(--c-white);
}

.footer-social-links svg {
	width: 22px;
	height: 22px;
}

/* The base sheet boxes the disclaimer (border, bold); this design wants a
   quiet uppercase line: 13px, 60% white, 0.3px tracking. */
.paid-for-disclaimer {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.023em;
	text-transform: uppercase;
	color: var(--c-white-60);
}

/* Copyright + privacy link: one quiet fine-print row under the disclaimer. */
.site-footer .site-info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 12px;
	margin-top: -10px;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.01em;
	color: var(--c-white-45);
}

.footer-legal-links a,
.footer-legal-links a:visited {
	color: var(--c-white-45);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	color: var(--c-white);
	border-bottom-color: var(--c-white-45);
}

.site-info__copyright + .footer-legal-links::before {
	content: "•";
	margin-right: 12px;
	color: currentcolor;
}

.footer-source-note {
	margin: -10px 0 0;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-white-45);
}

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

@media (max-width: 1100px) {
	.hero__row {
		grid-template-columns: minmax(0, 1fr);
		justify-items: start;
		min-height: 0;
		gap: 40px;
	}

	.hero__card {
		max-width: 637px;
	}

	.stance__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.stance__title {
		line-height: 1.15;
	}

	.action__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.signup__card {
		max-width: 560px;
	}
}

@media (max-width: 900px) {
	.site-header__actions {
		gap: 18px;
	}

	.campaign__arrow {
		width: 64px;
		min-height: 64px;
	}

	.campaign__header {
		min-height: 64px;
	}
}

@media (max-width: 782px) {
	:root {
		--header-offset: 82px;
	}

	.site-header__inner {
		min-height: 72px;
		padding: 12px 0;
	}

	.site-branding .custom-logo {
		height: 36px;
	}

	.donate-button {
		min-width: 0;
		padding: 11px 18px;
		font-size: 13px;
	}

	.announcement-bar {
		font-size: 11px;
		letter-spacing: 0.06em;
		padding: 10px 16px;
	}

	.hero__copy {
		gap: 20px;
	}

	.hero__card {
		padding: 10px;
		border-radius: 10px;
	}

	.play {
		width: 72px;
		height: 72px;
	}

	.play__icon {
		width: 20px;
		height: 23px;
		margin-left: 4px;
	}

	.stance__body {
		font-size: 16px;
		line-height: 1.7;
	}

	.ad-card {
		width: 300px;
		height: 400px;
	}

	.campaign--grid .campaign__rail {
		grid-template-columns: minmax(0, 1fr);
	}

	.campaign--grid .ad-card .play {
		width: 72px;
		height: 72px;
	}

	.campaign--grid .ad-card .play__icon {
		width: 20px;
		height: 23px;
		margin-left: 4px;
	}

	.action__body {
		font-size: 16px;
	}

	.footer-logo__img,
	.footer-logo img {
		height: 34px;
	}
}

@media (max-width: 600px) {
	.site-header__actions {
		gap: 10px;
	}

	.hero__ctas {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.hero__ctas .button {
		width: 100%;
	}

	.ad-card {
		width: min(280px, 78vw);
		height: 380px;
	}

	.phone-plate,
	.phone-plate:visited {
		width: 100%;
		min-height: 92px;
		padding: 18px 20px;
	}

	.signup__card .gform_fields {
		grid-template-columns: 1fr;
	}

	.signup__card .gfield--width-half,
	.signup__card .gfield.gf-half {
		grid-column: 1 / -1;
	}

	.lightbox__close {
		top: auto;
		bottom: -56px;
		right: 50%;
		transform: translateX(50%);
	}

	.site-footer {
		gap: 18px;
	}
}

@media (max-width: 380px) {
	.site-branding .custom-logo {
		height: 30px;
	}

	.donate-button {
		padding: 10px 14px;
		font-size: 12px;
	}
}
