/* ==========================================================================
   West Side Hatzoloh — 2026
   Layout language adapted from BYQ Supply "Genesis Lab" sections, restyled to
   the Hatzoloh brand (badge navy #262262, star-of-life red #E21E25).
   ========================================================================== */

:root {
	--ink: #0d1233;
	--navy: #262262;
	--navy-deep: #151442;
	--red: #e21e25;
	--red-deep: #b8141a;
	--paper: #f5f4f1;
	--paper-2: #ebe9e3;
	--white: #ffffff;
	--muted: #686b7d;
	--muted-light: rgba(255, 255, 255, 0.66);
	--line: rgba(13, 18, 51, 0.12);
	--line-light: rgba(255, 255, 255, 0.16);

	--font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--radius: 14px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--gutter: clamp(16px, 4vw, 40px);
	--container: 1360px;
	--section-y: clamp(80px, 11vw, 160px);
	--header-h: 84px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
address { font-style: normal; }

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

::selection { background: var(--red); color: var(--white); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius-sm);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
.eyebrow--light { color: var(--muted-light); }
.eyebrow--accent { color: var(--red); }

.section-title {
	font-size: clamp(2.3rem, 5.2vw, 4.4rem);
	line-height: 0.98;
	font-weight: 700;
	letter-spacing: -0.035em;
}
.section-title span { color: var(--red); }

.lead {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	color: var(--muted);
	max-width: 46ch;
}

.pulse {
	position: relative;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--red);
	flex: none;
}
.pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--red);
	animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
	0% { transform: scale(1); opacity: 0.7; }
	100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- Icons & buttons ---------- */

.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }

.btn {
	--btn-bg: var(--white);
	--btn-fg: var(--ink);
	--btn-border: transparent;
	--btn-hover: #dcdde3;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 22px;
	border: 1px solid var(--btn-border);
	border-radius: var(--radius-sm);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-mono);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--btn-hover); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: #dfe0e6; }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.7); --btn-hover: rgba(255, 255, 255, 0.18); }
.btn--accent { --btn-bg: var(--red); --btn-fg: var(--white); --btn-hover: var(--red-deep); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-hover: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding-block: 19px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: var(--white);
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(13, 18, 51, 0.82);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
	pointer-events: none;
}
.site-header.is-scrolled::before,
.site-header.is-open::before,
.is-inner .site-header::before { opacity: 1; }

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex: none;
}
.site-header__brand img { width: 40px; height: auto; }
.site-header__name {
	font-size: 14px;
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline: auto;
}
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 4px;
	list-style: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.site-nav__list a {
	display: block;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.25s var(--ease);
}
.site-nav__list a:hover { background: rgba(255, 255, 255, 0.14); }
.site-nav__donate { padding: 11px 16px; font-size: 13px; }
.site-nav__donate .icon { width: 17px; height: 17px; color: var(--red); }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.call-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 14px;
	border-radius: 999px;
	background: var(--red);
	color: var(--white);
	text-decoration: none;
	line-height: 1;
	transition: background-color 0.25s var(--ease);
}
.call-pill:hover { background: var(--red-deep); }
.call-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.call-pill__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.call-pill__number { font-weight: 700; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap; }

.menu-toggle {
	display: none;
	width: 46px; height: 46px;
	align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__close { display: none; }
.is-open .menu-toggle__open { display: none; }
.is-open .menu-toggle__close { display: inline-flex; }

.mobile-menu {
	position: relative;
	padding: 8px var(--gutter) 24px;
	border-top: 1px solid var(--line-light);
}
.mobile-menu ul { margin: 0 0 20px; padding: 0; list-style: none; }
.mobile-menu li + li { border-top: 1px solid var(--line-light); }
.mobile-menu ul a {
	display: block;
	padding: 16px 0;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-decoration: none;
}

@media (max-width: 1080px) {
	.site-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	:root { --header-h: 72px; }
	.site-header__name { display: none; }
	.call-pill__label { display: none; }
	.call-pill { padding: 10px 14px; }
	.call-pill__number { font-size: 14px; }
}

/* ---------- Hero (genesis-hero-1) ---------- */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	max-height: 75rem;
	color: var(--white);
	background: var(--ink) var(--hero-image) 50% 40% / cover no-repeat;
	overflow: hidden;
	isolation: isolate;
}
.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 18, 51, 0.75) 0%, rgba(13, 18, 51, 0.15) 32%, rgba(13, 18, 51, 0.35) 62%, rgba(13, 18, 51, 0.1) 100%),
		radial-gradient(120% 70% at 50% 45%, rgba(13, 18, 51, 0.15), rgba(13, 18, 51, 0.6));
}
.hero__content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: 24px;
}
.hero__stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	max-width: 860px;
	text-align: center;
}
.hero__title {
	font-size: clamp(2.7rem, 6.4vw, 5.9rem);
	line-height: 0.95;
	font-weight: 700;
	letter-spacing: -0.04em;
	text-wrap: balance;
	text-shadow: 0 2px 30px rgba(13, 18, 51, 0.35);
}
.hero .btn-row { justify-content: center; margin-top: 8px; }

.hero__wordmark {
	position: relative;
	padding-inline: clamp(12px, 2vw, 28px);
	margin-bottom: -0.5vw;
	color: var(--white);
	pointer-events: none;
}
.hero__wordmark span {
	display: block;
	font-size: 19vw; /* refined by fit-text in main.js */
	line-height: 0.8;
	font-weight: 800;
	letter-spacing: -0.045em;
	text-align: center;
	white-space: nowrap;
	transform: translateY(8%);
}
/* Progressive blur: stacked backdrop blurs with staggered masks. */
.hero__blur { position: absolute; inset: 0; transform: rotate(180deg); }
.hero__blur i {
	position: absolute;
	inset: 0;
	-webkit-backdrop-filter: blur(var(--b));
	backdrop-filter: blur(var(--b));
	-webkit-mask-image: var(--m);
	mask-image: var(--m);
}
.hero__blur i:nth-child(1) { --b: 16px; --m: linear-gradient(#000 0% 10%, #0000 30%); }
.hero__blur i:nth-child(2) { --b: 8px; --m: linear-gradient(#0000 0%, #000 10% 20%, #0000 40%); }
.hero__blur i:nth-child(3) { --b: 4px; --m: linear-gradient(#0000 0%, #000 20% 30%, #0000 50%); }
.hero__blur i:nth-child(4) { --b: 2px; --m: linear-gradient(#0000 10%, #000 30% 40%, #0000 60%); }
.hero__blur i:nth-child(5) { --b: 1px; --m: linear-gradient(#0000 20%, #000 40% 50%, #0000 70%); }
.hero__blur i:nth-child(6) { --b: 0.5px; --m: linear-gradient(#0000 30%, #000 50% 60%, #0000 80%); }
.hero__fade {
	position: absolute;
	inset: auto 0 0;
	height: 90%;
	background: linear-gradient(0deg, var(--paper) 8%, rgba(245, 244, 241, 0.55) 45%, rgba(245, 244, 241, 0) 100%);
}

/* ---------- Story (genesis-intro-text-1) ---------- */

.story { padding-top: clamp(56px, 8vw, 120px); }
.story__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 2.1fr;
	gap: clamp(40px, 8vw, 140px);
	align-items: start;
}
.story__stats { display: grid; gap: 34px; position: sticky; top: calc(var(--header-h) + 32px); }
.story__rule { height: 1px; background: var(--line); }
.story__rule span { display: block; width: 45%; height: 1px; background: var(--ink); }
.story__stats .eyebrow { margin-top: -10px; }
.stat__value {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.035em;
}
.stat__label { margin-top: 10px; max-width: 28ch; font-size: 15px; line-height: 1.45; color: var(--muted); }

.story__statement { display: grid; gap: 0.6em; }
.statement {
	font-size: clamp(1.75rem, 3.6vw, 3.25rem);
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.03em;
	text-wrap: pretty;
}
.statement--muted { font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.22; font-weight: 500; }
.statement .w { transition: color 0.25s linear; }
[data-scrub].is-scrub .w { color: rgba(13, 18, 51, 0.18); }
[data-scrub].is-scrub .w.is-lit { color: var(--ink); }
.statement--muted { color: #4b4f66; }
.statement--muted.is-scrub .w.is-lit { color: #4b4f66; }

/* ---------- Donate (genesis-contact-2) ---------- */

.donate { background: var(--paper); padding-top: 0; }
.donate__grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(16px, 2vw, 24px);
	align-items: stretch;
}
.donate__panel {
	padding: clamp(28px, 5vw, 72px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(13, 18, 51, 0.35);
}
.donate__head { display: grid; gap: 18px; margin-bottom: 36px; }
.donate__media {
	position: relative;
	min-height: 520px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink);
}
.donate__media img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.donate__media figcaption {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	gap: 10px;
	padding: clamp(24px, 3vw, 40px);
	color: var(--white);
	font-size: clamp(1.1rem, 1.6vw, 1.45rem);
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	background: linear-gradient(0deg, rgba(13, 18, 51, 0.9), rgba(13, 18, 51, 0));
	padding-top: 120px;
}

.notice {
	margin-bottom: 24px;
	padding: 16px 18px;
	border-radius: var(--radius-sm);
	font-size: 15.5px;
}
.notice--success { background: #e6f4ea; color: #14532d; }
.notice--error { background: #fde8e8; color: #8a1116; }

/* Form */
.donate-form { display: grid; gap: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-group { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}
.optional { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--muted); }

.input {
	width: 100%;
	padding: 15px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
	appearance: none;
}
textarea.input { resize: vertical; min-height: 56px; }
.input::placeholder { color: #9a9cab; }
.input:hover { border-color: rgba(13, 18, 51, 0.25); }
.input:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(38, 34, 98, 0.1); }
.input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(226, 30, 37, 0.08); }
.field-error { font-size: 14px; color: var(--red-deep); }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chip {
	padding: 16px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.input-money { position: relative; display: block; }
.input-money__sign {
	position: absolute;
	left: 16px; top: 50%;
	transform: translateY(-50%);
	font-weight: 600;
	color: var(--muted);
	pointer-events: none;
}
.input-money .input { padding-left: 34px; font-weight: 600; }

.segmented {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: var(--paper-2);
}
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
	display: block;
	padding: 12px 8px;
	border-radius: 9px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.segmented input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 18, 51, 0.12); }
.segmented input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.tribute { display: grid; gap: 22px; }
.tribute[hidden], [data-show-for][hidden] { display: none; }

.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.check input {
	appearance: none;
	flex: none;
	width: 22px; height: 22px;
	margin: 0;
	border: 1.5px solid rgba(13, 18, 51, 0.35);
	border-radius: 6px;
	background: var(--white) center / 14px no-repeat;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check input:checked {
	border-color: var(--navy);
	background-color: var(--navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.notify {
	display: grid;
	gap: 18px;
	padding: clamp(18px, 2.4vw, 26px);
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}
.notify[hidden] { display: none; }
.notify__intro { font-size: 15px; color: var(--muted); }
.notify__intro strong { color: var(--ink); font-weight: 600; }
.notify .input { background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row:has(> :only-child) { grid-template-columns: 1fr; }

.donate-form__note { margin-top: -12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Media (genesis-value-features-6) ---------- */

.media { background: var(--white); }
.media__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 72px);
}
.media__head .lead { justify-self: end; }
.media__grid {
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}
.media__video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--ink) var(--thumb) center / cover no-repeat;
	overflow: hidden;
	cursor: pointer;
	text-align: left;
}
.media__video::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 18, 51, 0.55), rgba(13, 18, 51, 0) 40%, rgba(13, 18, 51, 0.35));
	transition: background-color 0.4s var(--ease);
}
.media__video:hover::before { background-color: rgba(13, 18, 51, 0.12); }
.media__video-label {
	position: absolute;
	top: 24px; left: 26px;
	color: var(--white);
	font-size: clamp(1.15rem, 1.7vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.media__play {
	position: absolute;
	right: 22px; bottom: 22px;
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	box-shadow: 0 0 0 8px rgba(226, 30, 37, 0.25);
	transition: transform 0.35s var(--ease);
}
.media__play .icon { width: 26px; height: 26px; margin-left: 3px; }
.media__video:hover .media__play { transform: scale(1.07); }

.media__list { display: grid; }
.media__item {
	display: grid;
	gap: 10px;
	padding: 26px 0;
	border-top: 1px solid var(--line);
	color: var(--muted);
	text-decoration: none;
}
.media__item:first-child { border-top: 0; padding-top: 0; }
.media__item p:not(.eyebrow) { font-size: 16.5px; }
.media__item .eyebrow { color: var(--ink); }
.media__item-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var(--red);
	font-weight: 600;
}
.media__item--link:hover .media__item-cta { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer (cultureexchange-footer-1) ---------- */

.site-footer {
	position: relative;
	padding-top: clamp(72px, 9vw, 130px);
	background: var(--navy-deep);
	color: var(--white);
	overflow: hidden;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr auto 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.site-footer__intro { display: grid; gap: 22px; }
.site-footer__title {
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.03em;
	max-width: 18ch;
}
.site-footer__title span { color: var(--muted-light); }
.site-footer__email {
	justify-self: start;
	font-size: 17px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.35);
	text-underline-offset: 6px;
	transition: text-decoration-color 0.25s var(--ease);
}
.site-footer__email:hover { text-decoration-color: var(--white); }
.site-footer__mark img { width: clamp(84px, 9vw, 120px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.site-footer__details { display: grid; gap: 32px; justify-items: end; text-align: right; }
.site-footer__block { display: grid; gap: 10px; justify-items: end; }
.site-footer__block address { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.site-footer__phone {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	text-decoration: none;
	color: var(--white);
}
.site-footer__phone:hover { color: #ff6b70; }

.site-footer__wordmark {
	margin-top: clamp(56px, 8vw, 110px);
	padding-inline: clamp(12px, 2vw, 28px);
	font-size: 11.5vw;
	line-height: 0.82;
	font-weight: 800;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: var(--white);
	user-select: none;
}
.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: clamp(28px, 4vw, 48px);
	padding-block: 26px 30px;
	border-top: 1px solid var(--line-light);
	font-size: 14px;
	color: var(--muted-light);
}
.site-footer__bar a { color: inherit; }
.site-footer__bar a:hover { color: var(--white); }
.site-footer__bar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer__bar ul a { text-decoration: none; }

/* ---------- Inner pages ---------- */

.page-hero {
	padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px);
	background: var(--navy-deep) radial-gradient(90% 120% at 85% 0%, rgba(226, 30, 37, 0.22), transparent 60%);
	color: var(--white);
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero__title {
	max-width: 20ch;
	font-size: clamp(2.4rem, 5.4vw, 4.6rem);
	line-height: 0.98;
	font-weight: 700;
	letter-spacing: -0.035em;
}
.page-body { padding-block: clamp(48px, 7vw, 96px); }
.page-body .btn-row { margin-top: 28px; }

.prose { max-width: 760px; font-size: 18px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { letter-spacing: -0.02em; line-height: 1.15; margin-top: 1.6em; }
.prose a { color: var(--navy); text-underline-offset: 3px; }
.prose iframe { width: 100%; max-width: 100%; border-radius: var(--radius); }
.prose + .prose { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }

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

.video-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: var(--gutter);
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 30, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.video-modal__embed, .video-modal__embed iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); background: #000; }
.video-modal__close {
	position: absolute;
	top: -56px; right: 0;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	cursor: pointer;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(4px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
	transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

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

@media (max-width: 1080px) {
	.story__grid { grid-template-columns: 1fr; }
	.story__stats { position: static; grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.story__rule, .story__stats .eyebrow { grid-column: 1 / -1; }
	.donate__grid { grid-template-columns: 1fr; }
	.donate__media { min-height: 420px; order: -1; }
	.media__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__mark { display: none; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.story__stats { grid-template-columns: 1fr; }
	.media__head { grid-template-columns: 1fr; }
	.media__head .lead { justify-self: start; }
	.field-row { grid-template-columns: 1fr; }
	.donate__media { min-height: 320px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__details, .site-footer__block { justify-items: start; text-align: left; }
	.site-footer__bar { flex-direction: column; align-items: flex-start; }
	.hero__stack { gap: 22px; }
	.btn { padding: 14px 18px; font-size: 13px; }
}

@media (max-width: 420px) {
	.segmented { grid-template-columns: 1fr; }
	.amounts { grid-template-columns: repeat(2, 1fr); }
	.hero .btn-row { flex-direction: column; align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; filter: none; }
	[data-scrub].is-scrub .w { color: inherit; }
}
