/*
 * Landing page styles — Texans for Safe Communities.
 *
 * Loaded after style.css (the untouched _s base). Design source: Figma
 * "Texans for Safe Communities Landing Page", node 2:2, 1440px reference
 * frame. Desktop comp only; responsive behaviour below 1200px is ours.
 *
 * Display stack: the comp uses Titular Black (Latinotype, licensed, not
 * committed with the theme). inc/landing-page.php declares its @font-face only
 * when a file containing "titular" exists in assets/fonts/. Until then Anton
 * (Google Fonts, self-hosted) renders — the same heavy condensed skeleton; it
 * runs a touch wider than Titular so --display-scale trims the size and the
 * Titular injection resets it to 1. Titular is caps-only in the comp, so display
 * elements are uppercased.
 */

/* --------------------------------------------------------------------------
 * 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;
}

/* Declared across 400–900 so the 900 requests below map straight to this
   file instead of triggering synthetic bold. */
@font-face {
	font-family: "Anton";
	src: url("../fonts/anton-400-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--c-navy: #003557;
	--c-navy-hover: #002741;
	--c-navy-90: rgba(0, 53, 87, 0.9);
	--c-navy-60: rgba(0, 53, 87, 0.6);
	--c-slate: #4a5966;
	--c-red: #e23527;
	--c-red-hover: #c52a1e;
	--c-white: #fff;
	--c-white-90: rgba(255, 255, 255, 0.9);
	--c-white-82: rgba(255, 255, 255, 0.82);
	--c-white-45: rgba(255, 255, 255, 0.45);
	--c-text: #1b2b38;
	--c-muted: #61707d;
	--c-placeholder: #8c99a3;
	--c-fineprint: #94a1ab;
	--c-field: #f4f6f8;
	--c-field-border: #e0e5eb;
	--c-nav-border: #dee5eb;
	--font-display: "Titular", "Anton", "Arial Narrow", "Helvetica Neue", sans-serif;
	--display-scale: 0.82;
	--display-tracking: -0.005em;
	--font-body: "Public Sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
	/* 140px gutters at 1440 → 1160px content column. */
	--pad-x: clamp(20px, 9.72vw, 140px);
	--content: 1160px;
	/* How far the story video block rides up over the hero (150px at 1440). */
	--video-overlap: clamp(56px, 10.42vw, 150px);
	--radius-card: 20px;
	--radius-field: 8px;
	--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);
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	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--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-white);
	border: 1.5px solid var(--c-white-45);
}

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

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

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

/* Eyebrow: red square + tracked uppercase label. */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.eyebrow__dot {
	display: block;
	width: 10px;
	height: 10px;
	background: var(--c-red);
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
 * Announcement bar (Site Settings)
 * ------------------------------------------------------------------------ */

.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
 * ------------------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-nav-border);
	padding: 0 var(--pad-x);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--content);
	min-height: 92px;
	margin: 0 auto;
	padding: 12px 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 (header + hero CTAs → the form) stop clear of the pinned header. */
.signup,
#add-your-name {
	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-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	color: var(--c-navy);
	text-decoration: none;
	white-space: nowrap;
}

.header-phone:visited {
	color: var(--c-navy);
}

.header-phone:hover,
.header-phone:focus {
	color: var(--c-red);
}

/* The comp shows the bare number; the glyph only appears on small screens
   where the number collapses into an icon button. */
.header-phone .icon-phone {
	display: none;
	width: 18px;
	height: 18px;
	color: var(--c-red);
	flex-shrink: 0;
}

.donate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	background: var(--c-red);
	color: var(--c-white);
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	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;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-slate);
	color: var(--c-white);
	text-align: center;
	/* 116px top at 1440; the bottom holds the video overlap plus a 100px gap. */
	padding: clamp(56px, 8.06vw, 116px) var(--pad-x) calc(var(--video-overlap) + clamp(48px, 6.94vw, 100px));
	overflow: hidden;
}

/* Capitol photo soft-light blended into slate, then the comp's top-to-bottom
   navy tint (90% → 60%). */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* The z-index makes this wrapper its own stacking context, so the photo's
	   soft-light blend only sees THIS box as its backdrop — without a fill here
	   it blends against transparency and composites as a plain photo. */
	background: var(--c-slate);
	pointer-events: none;
}

/* Figma: soft-light @ 69%. Figma's soft-light runs darker than the browser's;
   tuned by eye against the comp export. */
.hero__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	mix-blend-mode: soft-light;
	opacity: 0.69;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--c-navy-90) 0%, var(--c-navy-60) 100%);
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(22px, 2.36vw, 34px);
	width: 100%;
	max-width: var(--content);
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 900;
	/* 118px at 1440. Titular fills a 975px box in two lines; Anton is ~42% wider,
	   so the box is the full 1160 content column and --display-scale trims the
	   size — under either face line 1 still breaks after "KEEP". */
	font-size: calc(clamp(2.625rem, 8.19vw, 7.375rem) * var(--display-scale));
	line-height: 0.9;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--c-white);
	max-width: 100%;
	margin: 0;
}

.hero__subhead {
	font-size: clamp(1.0625rem, 1.32vw, 1.1875rem);
	line-height: 1.58;
	color: var(--c-white-82);
	max-width: 700px;
	margin: 0;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.button--hero {
	padding: 21px 40px;
	font-size: 14px;
	letter-spacing: 0.07em;
}

.button--hero.button--outline {
	/* 1.5px border each side; keep the same outer height as the red button. */
	padding: 19.5px 38.5px;
}

/* --------------------------------------------------------------------------
 * Story + video
 * ------------------------------------------------------------------------ */

.story {
	background: var(--c-white);
	padding: 0 var(--pad-x) clamp(64px, 6.67vw, 96px);
}

.story__inner {
	max-width: var(--content);
	margin: 0 auto;
}

.video {
	position: relative;
	z-index: 2;
	width: min(1000px, 100%);
	aspect-ratio: 16 / 9;
	margin: calc(-1 * var(--video-overlap)) auto 0;
	background: var(--c-navy);
	border-radius: var(--radius-card);
	box-shadow: 0 24px 60px rgba(0, 33, 56, 0.28);
	overflow: hidden;
}

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

.video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	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;
}

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

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

.video__play-disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--c-white);
	box-shadow: 0 8px 24px rgba(0, 13, 38, 0.35);
}

.video__play-icon {
	position: relative;
	display: block;
	width: 28px;
	height: 32px;
	/* Optical centring: the triangle's visual centre sits left of its box centre. */
	margin-left: 6px;
}

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

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

/* Two or more videos (Additional Videos repeater): equal 16:9 tiles across the
   content column, still riding up over the hero. Single column on phones. */
.video-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 1.67vw, 24px);
	margin-top: calc(-1 * var(--video-overlap));
}

.video-grid .video {
	width: 100%;
	margin: 0;
}

@media (min-width: 768px) {
	.video-grid .video__play {
		width: 72px;
		height: 72px;
	}

	.video-grid .video__play-icon {
		width: 22px;
		height: 25px;
		margin-left: 5px;
	}
}

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

.story__split {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
	/* Comp: 480 + 96 gap + 584. The headline column is widened to 560 so the
	   wider Anton fallback keeps the comp's break after "OUT." */
	gap: clamp(32px, 4.44vw, 64px);
	align-items: start;
	margin-top: clamp(48px, 6.25vw, 90px);
}

.story__headline {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.story__title {
	font-family: var(--font-display);
	font-weight: 900;
	/* 63px at 1440. */
	font-size: calc(clamp(2.125rem, 4.375vw, 3.9375rem) * var(--display-scale));
	line-height: 0.9;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

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

.story__body p {
	margin: 0;
}

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

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

.story__closing {
	font-weight: 700;
	color: var(--c-navy);
}

/* --------------------------------------------------------------------------
 * More Videos — the second grid, under the story copy
 * ------------------------------------------------------------------------ */

.videos {
	background: var(--c-white);
	padding: 0 var(--pad-x) clamp(64px, 6.67vw, 96px);
}

.videos__inner {
	max-width: var(--content);
	margin: 0 auto;
}

.videos__headline {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: clamp(28px, 3.33vw, 48px);
}

.videos__title {
	font-family: var(--font-display);
	font-weight: 900;
	/* 48px at 1440 — a step under the story heading. */
	font-size: calc(clamp(1.75rem, 3.33vw, 3rem) * var(--display-scale));
	line-height: 0.9;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

/* Three equal 16:9 tiles across the content column; two on tablets, one on
   phones. Same tiles as the story grid, without the hero overlap. */
.video-wall {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.67vw, 24px);
}

.video-wall .video {
	width: 100%;
	margin: 0;
	box-shadow: 0 16px 40px rgba(0, 33, 56, 0.22);
}

.video-wall .video__play {
	width: 64px;
	height: 64px;
}

.video-wall .video__play-icon {
	width: 20px;
	height: 23px;
	margin-left: 4px;
}

/* Two-up below the point where a third column stops being a usable thumbnail. */
@media (max-width: 1099px) {
	.video-wall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.video-wall .video__play {
		width: 72px;
		height: 72px;
	}

	.video-wall .video__play-icon {
		width: 22px;
		height: 25px;
		margin-left: 5px;
	}
}

/* A row whose Video URL has not arrived yet. */
.video--placeholder {
	background: var(--c-slate);
}

.video__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	text-align: center;
}

.video__placeholder-mark {
	width: 44px;
	height: auto;
	opacity: 0.55;
}

.video__placeholder-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-white);
}

.video__placeholder-note {
	margin: 0;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-white-45);
}

/* --------------------------------------------------------------------------
 * Sign-on form section
 * ------------------------------------------------------------------------ */

.signup {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-slate);
	padding: clamp(64px, 7.78vw, 112px) var(--pad-x);
	overflow: hidden;
}

.signup__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--c-slate);
	pointer-events: none;
}

/* Figma: rotunda photo @ 45%, normal blend, anchored to the bottom, under the
   same navy tint as the hero. */
.signup__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	opacity: 0.45;
}

.signup__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--c-navy-90) 0%, var(--c-navy-60) 100%);
}

.signup__card {
	width: min(620px, 100%);
	background: var(--c-white);
	border-radius: var(--radius-card);
	padding: clamp(32px, 3.61vw, 52px) clamp(20px, 3.89vw, 56px) clamp(28px, 3.33vw, 48px);
	box-shadow: 0 20px 50px rgba(0, 20, 38, 0.3);
	text-align: center;
}

.signup__title {
	font-family: var(--font-display);
	font-weight: 900;
	/* 68px at 1440. */
	font-size: calc(clamp(2.375rem, 4.72vw, 4.25rem) * var(--display-scale));
	line-height: 1;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.signup__subtitle {
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	color: var(--c-red);
	margin: 14px 0 0;
}

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

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

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

.signup .gform_wrapper {
	margin-top: 28px;
	text-align: left;
}

.signup .gform_wrapper form {
	margin: 0;
}

.signup .gform_heading {
	display: none;
}

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

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

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

/* Labels are placeholders in the design; keep the real labels for AT. */
.signup .hidden_label > .gfield_label,
.signup .hidden_label > legend.gfield_label,
.signup .gfield_label.hidden_label,
.signup .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 .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 .gfield_required {
	display: none;
}

.signup .ginput_container input[type="text"],
.signup .ginput_container input[type="email"],
.signup .ginput_container input[type="tel"],
.signup .ginput_container input[type="number"],
.signup .ginput_container textarea {
	display: block;
	width: 100%;
	background: var(--c-field);
	border: 1px solid var(--c-field-border);
	border-radius: var(--radius-field);
	padding: 17px 18px;
	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 .ginput_container textarea {
	/* GF emits rows="10"; the comp's note field is a compact 90px box. */
	height: 90px;
	min-height: 90px;
	resize: vertical;
	line-height: 1.5;
}

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

.signup .ginput_container input:focus,
.signup .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 fieldset.gfield {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

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

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

.signup .gfield_checkbox input[type="checkbox"],
.signup .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 .gfield_checkbox input[type="checkbox"]::before,
.signup .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 .gfield_checkbox input[type="checkbox"]:checked,
.signup .ginput_container_consent input[type="checkbox"]:checked {
	background: var(--c-navy);
	border-color: var(--c-navy);
}

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

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

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

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

/* Character counter under the note textarea — not in the comp; maxLength still applies. */
.signup .charleft,
.signup .ginput_counter {
	display: none;
}

/* Validation */
.signup .gform_validation_errors {
	background: rgba(226, 53, 39, 0.08);
	border: 1px solid var(--c-red);
	border-radius: var(--radius-field);
	padding: 12px 16px;
	margin-bottom: 16px;
}

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

.signup .gform_validation_errors ol {
	display: none;
}

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

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

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

/* Submit — outside the fields grid, so restate the 12px gap. */
.signup .gform_footer {
	margin: 12px 0 0;
	padding: 0;
}

.signup .gform_footer input[type="submit"],
.signup .gform_footer button {
	display: block;
	width: 100%;
	background: var(--c-red);
	color: var(--c-white);
	border: 0;
	border-radius: var(--radius-pill);
	padding: 22px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

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

.signup .gform_footer input[type="submit"]:focus-visible,
.signup .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 .gform_ajax_spinner {
	display: none;
}

/* Confirmation */
.signup .gform_confirmation_wrapper {
	margin-top: 28px;
}

.signup .gform_confirmation_message {
	font-size: clamp(1.0625rem, 1.32vw, 1.1875rem);
	line-height: 1.6;
	text-align: center;
	color: var(--c-navy);
}

.signup .gform_confirmation_message p {
	margin: 0;
}

.signup .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 .story__body[data-reveal] {
	transition-delay: 0.12s;
}

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

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(180deg, var(--c-navy-90) 0%, var(--c-navy-60) 100%), var(--c-slate);
	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: 900;
	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: 900;
	font-size: calc(clamp(1.75rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 0.95;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	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-82);
	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__home,
.error-404__home:visited {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-white-82);
	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: 900;
	font-size: calc(clamp(2rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 0.95;
	letter-spacing: var(--display-tracking);
	text-transform: uppercase;
	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-fineprint);
}

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

/* Comp: the hero tint over slate with no photo → #073959 at the top fading to
   #1e435d at the bottom. */
.site-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	background: linear-gradient(180deg, var(--c-navy-90) 0%, var(--c-navy-60) 100%), var(--c-slate);
	color: var(--c-white);
	text-align: center;
	padding: clamp(48px, 4.44vw, 64px) var(--pad-x) clamp(44px, 4.17vw, 60px);
}

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

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

.footer-phone,
.footer-phone:visited {
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.02em;
	color: var(--c-white-90);
	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-90);
	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. */
.paid-for-disclaimer {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-white-45);
}

/* 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) {
	.story__split {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.story__title {
		max-width: 12em;
	}
}

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

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

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

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

	.header-phone {
		font-size: 14px;
	}

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

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

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

	.video__play-icon {
		width: 22px;
		height: 25px;
		margin-left: 5px;
	}

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

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

@media (max-width: 600px) {
	/* Phone collapses to its glyph; the number itself stays in the hero. */
	.header-phone {
		width: 40px;
		height: 40px;
		justify-content: center;
		border: 1px solid var(--c-field-border);
		border-radius: 50%;
	}

	.header-phone .icon-phone {
		display: block;
	}

	.header-phone__number {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		width: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
	}

	.site-header__actions {
		gap: 10px;
	}

	.hero__title {
		max-width: 100%;
	}

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

	.button--hero {
		width: min(360px, 100%);
	}

	.video {
		border-radius: 12px;
		box-shadow: 0 14px 34px rgba(0, 33, 56, 0.24);
	}

	.video__play {
		width: 60px;
		height: 60px;
	}

	.video__play-icon {
		width: 18px;
		height: 21px;
		margin-left: 4px;
	}

	.signup__card {
		border-radius: 14px;
	}

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

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

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

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

	.donate-button {
		padding: 10px 14px;
		font-size: 11px;
		letter-spacing: 0.04em;
	}
}
