/* ==========================================================================
   Life Line Foundation
   Direction "Pulse": logo red on calibrated rose-white, red-black night grounds,
   Bricolage Grotesque display + Hanken Grotesk text, printed-photo depth.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations"),
		url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
		url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2-variations"),
		url("../fonts/hanken-grotesk-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--bg: #fbf9f8;
	--surface: #ffffff;
	--tint: #f4efee;
	--ink: #1c1415;
	--ink-2: #4a3f41;
	--muted: #736769;
	--line: #e9e2e1;
	--line-strong: #d6cccb;
	--accent: #e30613;
	--accent-deep: #b5000f;
	--accent-soft: #fdeced;
	--night: #150d0e;
	--night-2: #221719;
	--night-line: rgba(255, 236, 236, 0.13);
	--on-night: #f7f0f0;
	--on-night-2: #c3b4b6;

	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--r-pill: 999px;

	--shadow-1: 0 1px 2px rgba(58, 18, 22, 0.06), 0 10px 28px -14px rgba(58, 18, 22, 0.22);
	--shadow-2: 0 2px 6px rgba(58, 18, 22, 0.08), 0 34px 70px -28px rgba(58, 18, 22, 0.42);
	--shadow-print: 0 1px 1px rgba(30, 8, 10, 0.12), 0 18px 40px -16px rgba(30, 8, 10, 0.55);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	--container: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
	--header-h: 84px;
	--section-y: clamp(80px, 10vw, 150px);
}

/* ---------- Reset (zero specificity so components always win) ---------- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(ul, ol)[class] { padding: 0; list-style: none; }
:where(img, svg, video, canvas) { display: block; max-width: 100%; }
:where(img) { height: auto; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a) { color: inherit; text-decoration: none; }
:where(table) { border-collapse: collapse; }
[hidden] { display: none !important; }

html { background: var(--night); }
body {
	background: var(--bg);
	color: var(--ink-2);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }

:where(h1, h2, h3, h4) {
	font-family: var(--font-display);
	font-optical-sizing: auto;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
:where(p) { text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.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: fixed; top: 12px; left: 12px; z-index: 2000;
	padding: 10px 18px; border-radius: var(--r-pill);
	background: var(--ink); color: #fff; font-weight: 600;
	transform: translateY(-160%); transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }
.section--tinted { background: var(--tint); }
.section + .section--tinted, .section--tinted + .section { /* tinted bands keep their own rhythm */ }

.section-title {
	font-size: clamp(2rem, 1.2rem + 2.7vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	max-width: 18ch;
}
.section-title--sm { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); max-width: none; }
.lead {
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 56ch;
}

.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split .section-head__side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.section-head--split .section-head__side p { max-width: 58ch; color: var(--ink-2); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ---------- Buttons & links ---------- */
.btn {
	--btn-h: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: var(--btn-h);
	padding: 0 22px;
	border-radius: var(--r-pill);
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-weight: 650;
	font-size: 1rem;
	line-height: 1.1;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s var(--ease-out), transform 0.2s var(--ease-out);
	-webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 19px; height: 19px; flex: none; }
.btn .icon--arrow-right { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(227, 6, 19, 0.65); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost-light { border-color: rgba(255, 240, 240, 0.32); color: var(--on-night); }
.btn--ghost-light:hover { background: rgba(255, 240, 240, 0.09); border-color: rgba(255, 240, 240, 0.55); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.5em;
	font-weight: 650; color: var(--ink);
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size 0.4s var(--ease-out), color 0.2s;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--accent-deep); }
.link-arrow:hover .icon--arrow-right { transform: translateX(3px); }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid var(--line-strong); color: var(--ink);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn .icon { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	min-height: 40px; padding: 0 18px; border-radius: var(--r-pill);
	border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; font-size: 0.9375rem;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.copy {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 34px; padding: 0 12px; border-radius: var(--r-pill);
	background: var(--tint); color: var(--ink); font-size: 0.875rem; font-weight: 650;
	transition: background-color 0.2s, color 0.2s;
}
.copy .icon { width: 16px; height: 16px; }
.copy:hover { background: var(--ink); color: #fff; }
.copy.is-copied { background: var(--accent); color: #fff; }
.copy--sm { min-height: 30px; padding: 0 10px; font-size: 0.8125rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); font-weight: 600; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs--light, .crumbs--light a { color: var(--on-night-2); }
.crumbs--light a:hover { color: #fff; }

.empty { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 900;
	height: var(--header-h);
	display: flex; align-items: center;
	background: rgba(251, 249, 248, 0.86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: transform 0.45s var(--ease-out), background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; flex: none; width: 102px; }
.brand__logo { width: 100%; height: auto; transition: opacity 0.3s; }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
	position: relative; display: block; padding: 10px 14px; border-radius: var(--r-pill);
	font-weight: 600; font-size: 0.98rem; color: var(--ink);
	transition: color 0.2s, background-color 0.2s;
}
.site-nav__list a:hover { background: rgba(28, 20, 21, 0.06); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a { color: var(--accent-deep); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-nav + .site-header__actions { margin-left: 8px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; color: var(--ink); }
.menu-toggle__bars { position: relative; width: 20px; height: 12px; display: block; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* Header over dark heroes */
.has-dark-hero .site-header:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled) .brand__logo--dark { opacity: 0; }
.has-dark-hero .site-header:not(.is-scrolled) .brand__logo--light { opacity: 1; }
.has-dark-hero .site-header:not(.is-scrolled) .site-nav__list a { color: var(--on-night); }
.has-dark-hero .site-header:not(.is-scrolled) .site-nav__list a:hover { background: rgba(255, 240, 240, 0.1); }
.has-dark-hero .site-header:not(.is-scrolled) .menu-toggle { color: var(--on-night); }
.is-menu-open .site-header { background: var(--night) !important; border-bottom-color: var(--night-line) !important; }
.is-menu-open .site-header .brand__logo--dark { opacity: 0; }
.is-menu-open .site-header .brand__logo--light { opacity: 1; }
.is-menu-open .site-header .menu-toggle { color: var(--on-night); }

.mobile-menu {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 890;
	background: var(--night); color: var(--on-night);
	overflow-y: auto; overscroll-behavior: contain;
	animation: menu-in 0.45s var(--ease-out);
}
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 32px 40px; }
.mobile-menu__list li { border-bottom: 1px solid var(--night-line); }
.mobile-menu__list a {
	display: block; padding: 16px 0;
	font-family: var(--font-display); font-weight: 650; font-size: clamp(2rem, 8vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1;
	color: var(--on-night);
	opacity: 0; transform: translateY(14px);
	animation: menu-link 0.6s var(--ease-out) forwards;
}
.mobile-menu__list li:nth-child(2) a { animation-delay: 0.05s; }
.mobile-menu__list li:nth-child(3) a { animation-delay: 0.1s; }
.mobile-menu__list li:nth-child(4) a { animation-delay: 0.15s; }
.mobile-menu__list li:nth-child(5) a { animation-delay: 0.2s; }
.mobile-menu__list .current-menu-item > a { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 20px; }
.mobile-menu__contact { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night-2); font-weight: 600; }
.mobile-menu__contact .icon { width: 18px; height: 18px; }
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-link { to { opacity: 1; transform: none; } }

/* ---------- Hero (home) ---------- */
.hero {
	position: relative;
	isolation: isolate;
	min-height: min(100svh, 960px);
	display: flex; align-items: center;
	padding-block: calc(var(--header-h) + 40px) clamp(150px, 16vw, 210px);
	background: var(--night);
	color: var(--on-night);
	overflow: hidden;
}
.hero__glow {
	position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(42% 52% at 74% 46%, rgba(227, 6, 19, 0.34), transparent 70%),
		radial-gradient(60% 60% at 10% 110%, rgba(181, 0, 15, 0.22), transparent 70%),
		linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.9375rem; font-weight: 600; color: var(--on-night-2);
	margin-bottom: 26px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero__title {
	color: #fff;
	font-size: clamp(2.9rem, 1.3rem + 5vw, 5.6rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	font-weight: 750;
	margin-bottom: 28px;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__lead { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--on-night-2); max-width: 48ch; margin-bottom: 36px; }
.hero__visual { position: relative; z-index: 1; display: grid; place-items: center; }

.drop { position: relative; width: min(100%, 500px); aspect-ratio: 0.82; }
.drop__fallback {
	position: absolute; inset: 2% 0 1%; width: 100%; height: 97%;
	filter: drop-shadow(0 40px 60px rgba(227, 6, 19, 0.45));
	transition: opacity 0.8s;
	animation: drop-beat 2.2s var(--ease-in-out) infinite;
	transform-origin: 50% 70%;
}
.drop__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease-out); }
.drop.is-live .drop__canvas { opacity: 1; }
.drop.is-live .drop__fallback { opacity: 0; animation: none; }
@keyframes drop-beat { 0%, 22%, 100% { transform: scale(1); } 8% { transform: scale(1.035); } 15% { transform: scale(1.015); } }

.hero__ecg {
	position: absolute; left: 0; right: 0; top: 52%; z-index: 0;
	width: 100%; height: clamp(110px, 13vw, 200px);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--night) 48%, var(--night) 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, var(--night) 48%, var(--night) 92%, transparent 100%);
	pointer-events: none;
}
.hero__ecg path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero__ecg-base { stroke: rgba(255, 236, 236, 0.1); }
.hero__ecg-pulse { stroke: var(--accent); stroke-dasharray: 140 860; stroke-dashoffset: 1000; animation: ecg 3.6s linear infinite; filter: drop-shadow(0 0 6px rgba(227, 6, 19, 0.9)); }
@keyframes ecg { to { stroke-dashoffset: 0; } }

/* ---------- Photo strip ---------- */
.strip { position: relative; z-index: 3; margin-top: clamp(-150px, -11vw, -96px); padding-bottom: clamp(24px, 4vw, 48px); }
.strip__viewport { overflow: hidden; perspective: 1400px; padding-block: 30px; cursor: grab; touch-action: pan-y; }
.strip__viewport.is-dragging { cursor: grabbing; }
.strip__track { display: flex; gap: 18px; width: max-content; transform-style: preserve-3d; will-change: transform; }
.strip__item { flex: none; width: clamp(220px, 23vw, 330px); transform-style: preserve-3d; }
.strip__btn {
	display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
	background: var(--night-2);
	box-shadow: 0 24px 50px -24px rgba(20, 6, 8, 0.7);
	transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
	transition: box-shadow 0.3s;
}
.strip__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); pointer-events: none; -webkit-user-drag: none; user-select: none; }
.strip__btn:hover img { transform: scale(1.06); }
.no-js .strip__viewport, .is-static .strip__viewport { overflow-x: auto; scrollbar-width: none; }
.no-js .strip__item[aria-hidden="true"], .is-static .strip__item[aria-hidden="true"] { display: none; }

/* ---------- Mission ---------- */
.mission { padding-top: clamp(56px, 7vw, 100px); }
.mission__statement {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 1rem + 2.6vw, 3.35rem);
	line-height: 1.16;
	letter-spacing: -0.03em;
	font-weight: 650;
	color: var(--ink);
	max-width: 30ch;
	text-wrap: balance;
}
.mission__statement .w { transition: color 0.3s; }
.js .mission__statement[data-words-ready] .w { color: rgba(28, 20, 21, 0.16); }
.js .mission__statement[data-words-ready] .w.is-on { color: var(--ink); }
.mission__pic {
	display: inline-block; vertical-align: -0.16em;
	width: 2.4em; height: 1.02em; margin-inline: 0.08em;
	border-radius: var(--r-pill); overflow: hidden;
	transform: rotate(-4deg);
	box-shadow: var(--shadow-1);
}
.mission__pic img { width: 100%; height: 100%; object-fit: cover; }
.mission__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(36px, 4vw, 56px); }
.mission__vision { max-width: 62ch; color: var(--ink-2); }
.mission__vision strong { color: var(--ink); font-weight: 700; }

.stats {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(56px, 7vw, 96px);
	border-top: 1px solid var(--line);
}
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 28px 0 0; }
.stats__item + .stats__item { border-left: 1px solid var(--line); padding-left: 28px; }
.stats__value {
	font-family: var(--font-display); font-weight: 700;
	font-size: clamp(3rem, 2rem + 3.6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.05em;
	color: var(--ink); font-variant-numeric: tabular-nums;
}
.stats__label { color: var(--muted); font-size: 0.9375rem; max-width: 26ch; }

/* ---------- Service cards ---------- */
.svc { position: relative; height: 100%; border-radius: var(--r-md); }
.svc__media { display: block; position: relative; width: 100%; overflow: hidden; background: var(--night-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc__media:hover img, .svc:hover .svc__media img { transform: scale(1.05); }
.svc__media:disabled { cursor: default; }
.svc__glare {
	position: absolute; inset: 0; pointer-events: none; opacity: 0;
	background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), transparent 60%);
	transition: opacity 0.4s;
}
.svc.is-tilting .svc__glare { opacity: 1; }
.svc__focus { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; }
.svc__title { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem); line-height: 1.12; letter-spacing: -0.02em; }
.svc__title a { pointer-events: auto; }
.svc__title a::after { content: ""; }
.svc__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.875rem; }
.svc__count { display: inline-flex; align-items: center; gap: 7px; }
.svc__count .icon { width: 16px; height: 16px; }
.svc__more { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background-color 0.25s, color 0.25s, transform 0.4s var(--ease-out); pointer-events: auto; }
.svc__more .icon { width: 18px; height: 18px; }

/* Tile: photo fills the card, text over a scrim */
.svc--tile {
	overflow: hidden; background: var(--night-2); color: var(--on-night);
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.6s var(--ease-out), box-shadow 0.4s;
	box-shadow: var(--shadow-1);
	will-change: transform;
}
.svc--tile.is-tilting { transition: transform 0.12s linear, box-shadow 0.4s; box-shadow: var(--shadow-2); }
.svc--tile .svc__media { position: absolute; inset: 0; height: 100%; }
.svc--tile .svc__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(21, 13, 14, 0) 38%, rgba(21, 13, 14, 0.55) 64%, rgba(21, 13, 14, 0.92) 100%);
}
.svc--tile .svc__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2vw, 26px); display: grid; gap: 8px; pointer-events: none; }
.svc--tile .svc__focus { color: rgba(255, 240, 240, 0.72); }
.svc--tile .svc__title, .svc--tile .svc__title a { color: #fff; }
.svc--tile .svc__meta { color: rgba(255, 240, 240, 0.78); }
.svc--tile .svc__more { background: rgba(255, 255, 255, 0.14); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.svc--tile:hover .svc__more { background: var(--accent); transform: rotate(45deg); }

/* Row: photo on top, text below on the light ground */
.svc--row { display: flex; flex-direction: column; gap: 22px; }
.svc--row .svc__media {
	aspect-ratio: 16 / 10; border-radius: var(--r-md);
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.6s var(--ease-out), box-shadow 0.4s;
	box-shadow: var(--shadow-1);
}
.svc--row.is-tilting .svc__media { transition: transform 0.12s linear; box-shadow: var(--shadow-2); }
.svc--row .svc__body { display: grid; gap: 10px; }
.svc--row .svc__focus { color: var(--accent-deep); }
.svc--row .svc__title a:hover { color: var(--accent-deep); }
.svc--row .svc__summary { color: var(--ink-2); max-width: 54ch; }
.svc--row .svc__meta { color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.svc--row .svc__more { border: 1px solid var(--line-strong); color: var(--ink); }
.svc--row:hover .svc__more { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(45deg); }

/* ---------- Bento (home services) ---------- */
.programmes { padding-top: clamp(24px, 4vw, 64px); }
.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(220px, 20vw, 290px);
	grid-auto-flow: dense;
	gap: 16px;
}
.bento__cell { min-width: 0; }
.bento__cell:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento__cell:nth-child(4), .bento__cell:nth-child(6), .bento__cell:nth-child(8) { grid-column: span 2; }
.bento__cell:nth-child(1) .svc__title { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); }

/* ---------- Lifeblood (emergency donors) ---------- */
.lifeblood { background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.lifeblood__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 78% 50%, rgba(227, 6, 19, 0.28), transparent 70%); }
.lifeblood__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.lifeblood .section-title { color: #fff; }
.lifeblood .lead { color: var(--on-night-2); margin: 24px 0 36px; }

.fan { position: relative; height: clamp(360px, 38vw, 500px); perspective: 1400px; }
.fan__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease-out); }
.fan__card {
	position: absolute; left: 50%; top: 50%;
	width: clamp(170px, 17vw, 240px); aspect-ratio: 4 / 5;
	margin: calc(clamp(170px, 17vw, 240px) * -0.625) 0 0 calc(clamp(170px, 17vw, 240px) * -0.5);
	padding: 7px; border-radius: 16px; background: #fff;
	box-shadow: var(--shadow-print);
	transform: translateX(calc(var(--i) * 18%)) translateY(calc(var(--a) * 3%)) rotate(calc(var(--i) * 6deg)) translateZ(calc(var(--a) * -30px));
	z-index: calc(10 - var(--a));
	transition: transform 0.8s var(--ease-out), box-shadow 0.4s;
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.fan:hover .fan__card, .fan.is-open .fan__card { transform: translateX(calc(var(--i) * 46%)) translateY(calc(var(--a) * 5%)) rotate(calc(var(--i) * 9deg)) translateZ(calc(var(--a) * -20px)); }
.fan__card:hover { box-shadow: 0 1px 1px rgba(30, 8, 10, 0.12), 0 30px 60px -16px rgba(227, 6, 19, 0.55); }

/* ---------- Give (donation call to action on home) ---------- */
.give__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 110px); }
.give__visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; }
.give__pic { position: absolute; margin: 0; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-print); }
.give__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.give__pic--1 { left: 0; top: 4%; width: 74%; aspect-ratio: 4 / 3; rotate: -4deg; }
.give__pic--2 { right: 0; bottom: 4%; width: 60%; aspect-ratio: 4 / 3; rotate: 5deg; z-index: 2; }
.give__pic--3 { right: 6%; top: 0; width: 34%; aspect-ratio: 1; rotate: 9deg; z-index: 1; }
.give__copy .lead { margin: 22px 0 30px; }
.give__pay { display: flex; align-items: center; gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); margin-bottom: 28px; max-width: 520px; }
.give__pay-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.01em; }
.give__pay-apps { color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
.give__bank { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.give__bank .icon { width: 17px; height: 17px; color: var(--accent); flex: none; }

.qr { position: relative; flex: none; width: 196px; aspect-ratio: 1; padding: 12px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.qr--sm { width: 128px; padding: 8px; border-radius: 14px; }
.qr__code, .qr__code svg, .qr__code img { width: 100%; height: 100%; }
.qr__code:empty { border-radius: 8px; background: repeating-linear-gradient(45deg, var(--tint), var(--tint) 6px, #fff 6px, #fff 12px); }

/* ---------- Join band + footer ---------- */
.join { background: var(--night); color: var(--on-night); padding-block: clamp(80px, 10vw, 140px) clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--night-line); }
.join__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 40px 72px; }
.join__title { color: #fff; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 750; }
.join__title span, .join__title em { display: block; font-style: normal; }
.join__title em { color: var(--accent); }
.join__side p { color: var(--on-night-2); margin-bottom: 26px; max-width: 46ch; }

.site-footer { background: var(--night); color: var(--on-night-2); padding-top: clamp(56px, 6vw, 80px); font-size: 0.9688rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr 0.7fr 1.45fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__logo { display: block; width: 150px; margin-bottom: 18px; }
.site-footer__motto { font-family: var(--font-display); color: var(--on-night); font-weight: 650; font-size: 1.2rem; letter-spacing: -0.01em; }
.site-footer__reg { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.875rem; }
.site-footer__reg .icon { width: 17px; height: 17px; color: var(--accent); }
.site-footer__heading { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night); margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.site-footer__col a { transition: color 0.2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__services { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { width: 17px; height: 17px; color: var(--accent); flex: none; }
.site-footer__address { margin-top: 14px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--night-line); color: var(--on-night); transition: background-color 0.2s, border-color 0.2s; }
.social__link:hover { background: var(--accent); border-color: var(--accent); }
.social__link .icon { width: 19px; height: 19px; }
.site-footer__base { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 32px; border-top: 1px solid var(--night-line); font-size: 0.875rem; }
.site-footer__pulse { width: 150px; height: 26px; color: var(--accent); opacity: 0.8; }

.wa-float {
	position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 800;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--ink); color: #fff;
	box-shadow: 0 16px 36px -12px rgba(21, 13, 14, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	transition: transform 0.35s var(--ease-out), background-color 0.2s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--accent); }
.wa-float .icon { width: 27px; height: 27px; }

/* ---------- Page heroes ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-title { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.9rem); line-height: 1; letter-spacing: -0.045em; font-weight: 750; max-width: 16ch; }
.page-title--xl { font-size: clamp(2.8rem, 1.2rem + 5.6vw, 6.4rem); max-width: 14ch; }
.page-title--light { color: #fff; }
.page-lead { margin-top: 24px; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; max-width: 58ch; color: var(--ink-2); }
.page-lead--light { color: var(--on-night-2); }
.page-hero .chips { margin-top: 36px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(40px, 6vw, 90px); }

/* 3D photo stack (About) */
.stack3d { position: relative; height: clamp(360px, 40vw, 540px); perspective: 1600px; }
.stack3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s var(--ease-out); }
.stack3d__card { position: absolute; margin: 0; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-print); }
.stack3d__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.stack3d__card--1 { left: 0; top: 10%; width: 62%; aspect-ratio: 4 / 3; transform: rotate(-6deg) translateZ(-60px); }
.stack3d__card--2 { right: 0; top: 0; width: 52%; aspect-ratio: 4 / 5; transform: rotate(5deg) translateZ(-20px); }
.stack3d__card--3 { left: 18%; bottom: 0; width: 58%; aspect-ratio: 4 / 3; transform: rotate(-1deg) translateZ(40px); z-index: 2; }

/* ---------- Cover hero (service & event pages) ---------- */
.cover-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--night); color: var(--on-night);
	padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px));
	padding-bottom: clamp(56px, 7vw, 100px);
}
.cover-hero__media { position: absolute; inset: -6% -4%; z-index: -2; }
.cover-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.15); opacity: 0.42; transform: scale(1.1); }
.cover-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 13, 14, 0.5) 0%, rgba(21, 13, 14, 0.82) 70%, var(--night) 100%); }
.cover-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.cover-hero__copy { min-width: 0; }
.cover-hero__title { color: #fff; font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 750; }
.cover-hero__title--md { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.8rem); }
.cover-hero__lead { margin-top: 20px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem); color: var(--on-night-2); max-width: 44ch; }
.cover-hero .btn-row { margin-top: 34px; }
.cover-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--on-night-2); }
.cover-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.cover-hero__meta .icon { width: 18px; height: 18px; color: var(--accent); }
.cover-hero__print { position: relative; perspective: 1400px; }
.cover-hero__print-card {
	margin: 0; padding: 9px; background: #fff; border-radius: 20px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), 0 50px 90px -30px rgba(0, 0, 0, 0.75);
	transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) rotate(2deg);
	transition: transform 0.7s var(--ease-out);
}
.cover-hero__print-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 13px; }
.cover-hero__print-card button { display: block; width: 100%; }

/* ---------- Story (service page body) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.story__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.glance { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 14px; }
.glance__list { display: grid; gap: 0; margin-bottom: 6px; }
.glance__list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance__list dt { color: var(--muted); }
.glance__list dd { color: var(--ink); font-weight: 650; text-align: right; }
.glance__text { font-size: 0.9375rem; color: var(--ink-2); }

.prose { color: var(--ink-2); max-width: 68ch; }
.prose--narrow { margin-inline: auto; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 1.7em; letter-spacing: -0.025em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); margin-top: 1.6em; letter-spacing: -0.015em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before {
	content: ""; position: absolute; left: 3px; top: 0.42em; width: 12px; height: 15px;
	background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0c4.6 5.8 10 11.5 10 17.6A10 10 0 0 1 2 17.6C2 11.5 7.4 5.8 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0c4.6 5.8 10 11.5 10 17.6A10 10 0 0 1 2 17.6C2 11.5 7.4 5.8 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose blockquote { position: relative; padding-top: 0.95em; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.prose blockquote::before { content: "\201C"; position: absolute; left: -0.04em; top: -0.12em; font-size: 2.6em; line-height: 1; color: var(--accent); }
.prose .tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.prose img { border-radius: var(--r-md); }

/* ---------- Albums ---------- */
.album + .album { margin-top: clamp(56px, 6vw, 80px); }
.album__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; margin: clamp(32px, 4vw, 48px) 0 22px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.album__title { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); }
.album__title a:hover { color: var(--accent-deep); }
.album__meta, .event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 0.9375rem; }
.album__meta span, .event__meta span { display: inline-flex; align-items: center; gap: 7px; }
.album__meta .icon, .event__meta .icon { width: 16px; height: 16px; color: var(--accent); }

.masonry { columns: 4 240px; column-gap: 14px; }
.masonry__item {
	position: relative; display: block; width: 100%; margin-bottom: 14px; break-inside: avoid;
	border-radius: var(--r-sm); overflow: hidden; background: var(--line);
	box-shadow: 0 1px 2px rgba(58, 18, 22, 0.08);
}
.masonry__item img { width: 100%; transition: transform 0.8s var(--ease-out), filter 0.4s; }
.masonry__item::after {
	content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
	background: rgba(21, 13, 14, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item:hover::after, .masonry__item:focus-visible::after { opacity: 1; }

/* ---------- Rail ---------- */
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 330px); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	padding-bottom: 10px;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { height: clamp(320px, 30vw, 400px); scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }

/* ---------- About ---------- */
.who { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.who .section-title { position: sticky; top: calc(var(--header-h) + 32px); }
.who__body .lead { color: var(--ink); }

.mv { padding-top: 0; }
.mv__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mv__panel { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; align-content: start; gap: 18px; }
.mv__panel p { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; }
.mv__panel--dark { background: var(--night); border-color: var(--night); color: var(--on-night-2); }
.mv__panel--dark .mv__title { color: #fff; }
.mv__icon { width: 38px; height: 38px; color: var(--accent); }
.mv__title { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); }

.values__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.values__intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.values__item { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 32px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.values__item:last-child { border-bottom: 1px solid var(--line-strong); }
.values__name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); letter-spacing: -0.035em; transition: color 0.3s; }
.values__item:hover .values__name { color: var(--accent); }
.values__text { color: var(--ink-2); }

.focus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.focus__item { display: grid; align-content: start; gap: 14px; }
.focus__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.focus__item:hover .focus__media img { transform: scale(1.05); }
.focus__name { font-size: 1.4rem; margin-top: 4px; }
.focus__list { display: grid; gap: 6px; }
.focus__list a { color: var(--ink-2); font-weight: 550; }
.focus__list a:hover { color: var(--accent-deep); }

/* ---------- Impact ---------- */
.page-hero--impact { padding-bottom: clamp(24px, 3vw, 40px); }
.tally { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.tally div { display: flex; flex-direction: column-reverse; gap: 6px; }
.tally dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tally dd::after { content: ""; display: inline-block; width: 0.18em; height: 0.18em; margin-left: 0.06em; border-radius: 50%; background: var(--accent); }
.tally dt { color: var(--muted); font-size: 0.9375rem; }

.decks-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 22px 0; margin-bottom: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; background: rgba(251, 249, 248, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: top 0.45s var(--ease-out); }
.is-header-hidden .decks-head { top: 0; }
.decks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 96px) clamp(36px, 5vw, 72px); }
.deck { display: grid; gap: 30px; align-content: start; }
.deck.is-filtered-out, .svc-grid__cell.is-filtered-out { display: none; }
.deck__pile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; perspective: 1400px; transform-style: preserve-3d; }
.deck__pile:disabled { cursor: default; }
.deck__card {
	position: absolute; inset: 4% 5%; padding: 8px; border-radius: 18px; background: #fff;
	box-shadow: var(--shadow-print);
	transition: transform 0.8s var(--ease-out), box-shadow 0.4s;
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.deck__card--0 { z-index: 3; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.deck__card--1 { z-index: 2; transform: rotate(-4deg) translate(-3%, 2%) translateZ(-40px); }
.deck__card--2 { z-index: 1; transform: rotate(5deg) translate(4%, -3%) translateZ(-80px); }
.deck__pile:hover .deck__card--0, .deck__pile:focus-visible .deck__card--0 { transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 1px 1px rgba(30, 8, 10, 0.12), 0 36px 60px -20px rgba(30, 8, 10, 0.55); }
.deck__pile:hover .deck__card--1, .deck__pile:focus-visible .deck__card--1 { transform: rotate(-10deg) translate(-12%, 4%) translateZ(-40px); }
.deck__pile:hover .deck__card--2, .deck__pile:focus-visible .deck__card--2 { transform: rotate(11deg) translate(12%, -4%) translateZ(-80px); }
.deck__badge {
	position: absolute; z-index: 4; left: calc(5% + 22px); bottom: calc(4% + 22px);
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill);
	background: rgba(21, 13, 14, 0.78); color: #fff; font-size: 0.875rem; font-weight: 650;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: background-color 0.25s, transform 0.5s var(--ease-out);
}
.deck__badge .icon { width: 16px; height: 16px; }
.deck__pile:hover .deck__badge { background: var(--accent); transform: translateY(-8px); }
.deck__body { display: grid; gap: 10px; padding-inline: 5%; }
.deck__focus { color: var(--accent-deep); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.deck__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; }
.deck__text { color: var(--ink-2); max-width: 56ch; }
.deck .link-arrow { justify-self: start; margin-top: 4px; }

.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.event { display: grid; align-content: start; }
.event__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.event:hover .event__media img { transform: scale(1.05); }
.event__thumbs { display: flex; margin: -22px 0 0 16px; position: relative; z-index: 1; }
.event__thumbs span { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; border: 3px solid var(--tint); background: var(--tint); margin-right: -10px; }
.event__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.event__more { display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; color: #fff; background: var(--ink) !important; }
.event__body { display: grid; gap: 8px; padding-top: 16px; }
.event__thumbs + .event__body { padding-top: 12px; }
.event__service { color: var(--accent-deep); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.event__title { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; }
.event__title a:hover { color: var(--accent-deep); }

.stories__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.stories__intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 26px; }
.initiative { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.initiative:last-child { border-bottom: 1px solid var(--line-strong); }
.initiative__pic { width: 84px; height: 84px; border-radius: 16px; overflow: hidden; }
.initiative__pic img { width: 100%; height: 100%; object-fit: cover; }
.initiative__body { display: grid; gap: 8px; }
.initiative__title { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); letter-spacing: -0.02em; }
.initiative__text { color: var(--ink-2); }
.initiative__links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9375rem; }
.initiative__links a { color: var(--accent-deep); font-weight: 650; }
.initiative__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Services archive ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px); }

/* ---------- Donate ---------- */
.donate-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: var(--night); color: var(--on-night);
	padding-top: calc(var(--header-h) + clamp(36px, 5vw, 80px));
	padding-bottom: clamp(64px, 8vw, 120px);
}
.donate-hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 40%, rgba(227, 6, 19, 0.3), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(181, 0, 15, 0.2), transparent 70%); }
.donate-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.donate-hero__copy { padding-top: clamp(0px, 3vw, 40px); }
.assure { display: grid; gap: 14px; margin-top: 36px; }
.assure li { display: flex; align-items: center; gap: 12px; color: var(--on-night-2); }
.assure .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }

.pay { background: var(--surface); color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 50px 100px -40px rgba(0, 0, 0, 0.8); }
.pay__form { display: grid; gap: 22px; }
.pay__amounts { border: 0; padding: 0; margin: 0; min-width: 0; }
.pay__label { display: block; font-weight: 700; color: var(--ink); font-size: 0.9375rem; margin-bottom: 12px; padding: 0; }
.pay__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
.amount { position: relative; }
.amount input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.amount span {
	display: grid; place-items: center; min-height: 50px; padding: 0 10px; border-radius: 14px;
	border: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.amount input:hover + span { border-color: var(--ink); }
.amount input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.amount input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.amount input:active + span { transform: scale(0.97); }
.pay__custom { position: relative; margin-top: 10px; }
.pay__currency { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink); }
.pay__custom input { width: 100%; height: 52px; padding: 0 16px 0 34px; border-radius: 14px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 1.0625rem; color: var(--ink); background: #fff; }
.pay__custom input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12); }
.pay__error { margin-top: 8px; color: var(--accent-deep); font-size: 0.875rem; font-weight: 600; }
.pay__or { text-align: center; color: var(--muted); font-size: 0.875rem; margin: 14px 0 10px; }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app { display: grid; place-items: center; min-height: 46px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 650; font-size: 0.9375rem; text-align: center; transition: border-color 0.2s, background-color 0.2s; }
.app:hover { border-color: var(--ink); background: var(--tint); }
.pay__hint { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font-size: 0.875rem; font-weight: 600; }
.pay__qr { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: var(--r-md); background: var(--tint); }
.pay__qr .qr { width: 168px; }
.pay__qr-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--ink); }
.pay__qr-sub { color: var(--muted); font-size: 0.9375rem; margin-top: 4px; }
.pay__upi-id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pay__upi-id code { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; color: var(--ink); background: #fff; padding: 6px 10px; border-radius: 8px; word-break: break-all; }
.pay__receipt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; color: var(--ink); font-size: 0.9375rem; }
.pay__receipt .icon { width: 18px; height: 18px; color: var(--accent); }
.pay__receipt:hover { color: var(--accent-deep); }
/* Phones: app buttons first, QR as a fallback. Computers: QR first. */
.pay--desktop .pay__mobile { display: none; }
.pay--touch .pay__qr { order: 5; }
.pay--touch .pay__receipt { order: 6; }

.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; height: 52px; padding: 0 44px 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12); }
.select .icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }

.bank-section__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.bank-section .lead { margin-top: 22px; }
.bank { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); display: grid; gap: 20px; }
.bank__head { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.bank__head .icon { width: 26px; height: 26px; color: var(--accent); }
.bank__list { display: grid; }
.bank__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.bank__row dt { color: var(--muted); font-size: 0.9375rem; }
.bank__row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.bank__value { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.bank__value--mono { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; font-size: 1.0625rem; }

.supports__grid { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.supports__grid.has-image { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.supports__image { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.supports__image img { width: 100%; height: 100%; object-fit: cover; }
.supports__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.supports__grid.has-image .supports__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.supports__item a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s; }
.supports__item a:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.supports__pic { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.supports__pic img { width: 100%; height: 100%; object-fit: cover; }
.supports__text { display: grid; gap: 2px; }
.supports__text strong { color: var(--ink); font-weight: 700; line-height: 1.25; }
.supports__text span { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.supports__item .icon { width: 18px; height: 18px; color: var(--muted); }

.faq-section__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-section .lead { margin: 20px 0 12px; }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--ink); letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform 0.35s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 24px 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.reach { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.reach__item { display: grid; gap: 4px; height: 100%; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.2s; }
.reach__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.reach__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.reach__icon .icon { width: 22px; height: 22px; }
.reach__label { color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.reach__value { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.reach__value--sm { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); }
.reach__item--accent { background: var(--night); border-color: var(--night); }
.reach__item--accent .reach__icon { background: var(--accent); color: #fff; }
.reach__item--accent .reach__label { color: var(--on-night-2); }
.reach__item--accent .reach__value { color: #fff; }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; color: var(--muted); }
.follow a { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.follow a:hover { color: var(--accent-deep); }
.follow .icon { width: 20px; height: 20px; }

.forms { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.forms__intro { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.tabs { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--tint); margin-bottom: 30px; }
.tabs__tab { flex: 1 1 auto; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); font-weight: 650; font-size: 0.9375rem; color: var(--ink-2); transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(58, 18, 22, 0.12); }
.tabs__panel { animation: panel-in 0.5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 26px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 650; color: var(--ink); font-size: 0.9375rem; }
.field input, .field textarea {
	width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
	border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); }
.field__error { color: var(--accent-deep); font-size: 0.8125rem; font-weight: 600; }
.form-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Generic list / 404 ---------- */
.post-list { display: grid; gap: 40px; max-width: 900px; }
.post-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; }
.post-item__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.post-item__media img { width: 100%; height: 100%; object-fit: cover; }
.post-item__date { color: var(--muted); font-size: 0.875rem; }
.post-item__title { font-size: 1.5rem; margin: 6px 0 10px; }
.single-cover { margin: 0 auto 48px; max-width: 980px; border-radius: var(--r-lg); overflow: hidden; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 14rem); line-height: 0.85; letter-spacing: -0.06em; color: var(--accent); }
.notfound .btn-row { margin-top: 36px; }
.back-link { margin-top: 40px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1500; display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(14, 8, 9, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: lb-fade 0.4s var(--ease-out); }
.lightbox__frame { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100%; color: var(--on-night); animation: lb-in 0.5s var(--ease-out); }
.lightbox.is-closing .lightbox__backdrop { animation: lb-fade 0.3s var(--ease-out) reverse forwards; }
.lightbox.is-closing .lightbox__frame { animation: lb-in 0.3s var(--ease-out) reverse forwards; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: scale(0.98); } }
.lightbox__top { display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); }
.lightbox__heading { flex: 1; min-width: 0; }
.lightbox__title { color: #fff; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox__counter { color: var(--on-night-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.lightbox__link { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; min-height: 42px; border-radius: var(--r-pill); border: 1px solid var(--night-line); font-weight: 650; font-size: 0.9375rem; color: var(--on-night); transition: background-color 0.2s; }
.lightbox__link:hover { background: rgba(255, 255, 255, 0.08); }
.lightbox__link .icon { width: 16px; height: 16px; }
.lightbox__close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background-color 0.2s, transform 0.3s var(--ease-out); }
.lightbox__close:hover { background: var(--accent); transform: rotate(90deg); }
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(12px, 7vw, 110px); touch-action: pan-y; user-select: none; }
.lightbox__track { position: relative; width: 100%; height: 100%; }
.lightbox__slide { position: absolute; inset: 0; transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.lightbox__slide img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); }
.lightbox__slide.is-enter-next { opacity: 0; transform: translateX(6%) scale(0.97); }
.lightbox__slide.is-enter-prev { opacity: 0; transform: translateX(-6%) scale(0.97); }
.lightbox__slide.is-leave-next { opacity: 0; transform: translateX(-6%) scale(0.97); }
.lightbox__slide.is-leave-prev { opacity: 0; transform: translateX(6%) scale(0.97); }
.lightbox__slide.is-loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background-color 0.2s, transform 0.3s var(--ease-out); }
.lightbox__nav:hover { background: var(--accent); }
.lightbox__nav .icon { width: 26px; height: 26px; }
.lightbox__nav--prev { left: clamp(10px, 2vw, 32px); }
.lightbox__nav--next { right: clamp(10px, 2vw, 32px); }
.lightbox__nav--prev:hover { transform: translateX(-2px); }
.lightbox__nav--next:hover { transform: translateX(2px); }
.lightbox__bottom { padding: 14px clamp(16px, 3vw, 32px) max(18px, env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.lightbox__caption { text-align: center; color: var(--on-night-2); font-size: 0.9375rem; min-height: 1.5em; }
.lightbox__caption strong { color: #fff; font-weight: 650; }
.lightbox__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; margin-inline: auto; max-width: 100%; scroll-behavior: smooth; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb { flex: none; width: 66px; height: 50px; border-radius: 8px; overflow: hidden; opacity: 0.45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.25s, outline-color 0.25s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumb:hover { opacity: 0.8; }
.lightbox__thumb[aria-selected="true"] { opacity: 1; outline-color: var(--accent); }

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.8s var(--ease-out) var(--d, 0ms), transform 0.9s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .stats__item[data-reveal], .js .values__item[data-reveal] { transform: translate3d(0, 18px, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.brand { width: 88px; }
	.site-nav { display: none; }
	.menu-toggle { display: inline-grid; }
	.site-header__actions, .site-nav + .site-header__actions { margin-left: auto; }

	.hero { min-height: 0; padding-bottom: clamp(140px, 22vw, 200px); }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { position: absolute; right: -14%; top: 4%; width: 62%; opacity: 0.55; pointer-events: none; }
	.hero__copy { max-width: 640px; }
	.hero__ecg { top: 62%; }

	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 34vw, 300px); }

	.lifeblood__inner, .give__inner, .page-hero__grid, .cover-hero__inner, .donate-hero__grid, .bank-section__grid,
	.faq-section__grid, .forms, .stories__grid, .values__grid, .who, .story { grid-template-columns: 1fr; }
	.story__aside, .who .section-title, .values__intro, .stories__intro, .forms__intro { position: static; }
	.give__visual { max-width: 520px; margin-inline: auto; }
	.fan { height: clamp(320px, 60vw, 440px); }
	.stack3d { max-width: 620px; width: 100%; margin-inline: auto; }
	.cover-hero__print { max-width: 640px; }
	.donate-hero__grid { max-width: 680px; }
	.supports__grid.has-image { grid-template-columns: 1fr; }
	.supports__list, .supports__grid.has-image .supports__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.join__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 1rem; }
	.hero__visual { right: -30%; top: 2%; width: 92%; opacity: 0.4; }
	.hero__title { margin-bottom: 22px; }
	.hero__eyebrow { margin-bottom: 20px; font-size: 0.875rem; }
	.btn--lg { --btn-h: 54px; padding: 0 24px; }
	.hero .btn-row .btn { flex: 1 1 auto; }

	.bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
	.bento__cell:nth-child(n) { grid-column: auto; grid-row: auto; }
	.bento__cell:nth-child(1) { grid-row: span 1; }
	.bento__cell:nth-child(1) .svc__title { font-size: 1.6rem; }

	.stats { grid-template-columns: 1fr; }
	.stats__item, .stats__item + .stats__item { border-left: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }

	.decks, .svc-grid, .events, .mv__grid, .focus, .supports__list, .supports__grid.has-image .supports__list { grid-template-columns: 1fr; }
	.decks-head { position: static; }
	.values__item { grid-template-columns: 1fr; }
	.reach { grid-template-columns: 1fr; }
	.field-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__base { flex-direction: column-reverse; align-items: flex-start; }
	.post-item { grid-template-columns: 1fr; }
	.give__pay { flex-direction: column; align-items: flex-start; }
	.pay__qr { flex-direction: column; align-items: flex-start; }
	.pay__qr .qr { width: 200px; }
	.bank__row { grid-template-columns: 1fr; gap: 6px; }
	.initiative { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
	.initiative__pic { width: 64px; height: 64px; }
	.lightbox__nav { display: none; }
	.lightbox__link { display: none; }
	.lightbox__stage { padding: 0 8px; }
	.lightbox__thumb { width: 54px; height: 42px; }
	.faq__answer { padding-right: 0; }
	.mission__pic { width: 2em; }
}

@media (max-width: 420px) {
	.site-header__donate span { display: none; }
	.site-header__donate { width: 44px; padding: 0; }
	.apps { grid-template-columns: 1fr; }
	.tabs__tab { flex-basis: calc(50% - 6px); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hero__ecg-pulse { display: none; }
	.js .mission__statement[data-words-ready] .w { color: var(--ink); }
}

@media print {
	.site-header, .mobile-menu, .wa-float, .lightbox, .hero__visual, .hero__ecg, .strip { display: none !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- QR centre mark ---------- */
.qr__code { position: relative; }
.qr__mark { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; background: #fff; border-radius: 24%; }
.qr__code .qr__mark svg { width: 74%; height: 74%; }

/* ---------- Impact hero photo wall ---------- */
.impact-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wall { position: relative; height: clamp(420px, 44vw, 600px); perspective: 1600px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, var(--night) 16%, var(--night) 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, var(--night) 16%, var(--night) 84%, transparent 100%); }
.wall__inner { position: absolute; inset: -12% -6%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; transform: rotateX(18deg) rotateY(-16deg) rotateZ(5deg); transform-style: preserve-3d; }
.wall__col { overflow: hidden; }
.wall__track { display: grid; gap: 14px; animation: wall-up 46s linear infinite; }
.wall__col:nth-child(2) .wall__track { animation-name: wall-down; animation-duration: 54s; }
.wall__col:nth-child(3) .wall__track { animation-duration: 40s; }
.wall__pic { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: 0 18px 30px -18px rgba(30, 8, 10, 0.5); }
.wall__pic:nth-child(3n + 2) { aspect-ratio: 1; }
.wall__pic img { width: 100%; height: 100%; object-fit: cover; }
@keyframes wall-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes wall-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 1024px) {
	.impact-hero__grid { grid-template-columns: 1fr; }
	.wall { height: 340px; }
}
@media (max-width: 760px) { .wall { height: 260px; } }
