/* ==========================================================================
   Cancabridge Africa — main styles
   Brand: deep blue (Africa), green (growth), orange (hope) from the logo.
   ========================================================================== */

:root {
	--blue-900: #0a2552;
	--blue-700: #0b4ea2;
	--blue-500: #1a7fd6;
	--sky-100: #e7f2fd;
	--green-600: #3f8a1f;
	--green-500: #5da92f;
	--green-100: #ecf6e3;
	--orange-500: #f2a21b;
	--orange-100: #fff3dc;
	--ink: #12203d;
	--muted: #586880;
	--line: #e2e8f1;
	--cream: #fbfaf5;
	--white: #fff;

	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 24px 48px -28px rgba(10, 37, 82, .35);
	--shadow-sm: 0 6px 18px -10px rgba(10, 37, 82, .3);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--wrap: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--blue-900);
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
em.hl, h1 em, h2 em {
	font-style: italic;
	color: var(--green-600);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 120-8 196-3' stroke='%23f2a21b' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% .32em no-repeat;
	padding-bottom: .08em;
}
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 1rem; left: 1rem; z-index: 999; width: auto; height: auto; clip: auto;
	background: #fff; padding: .75rem 1rem; border-radius: 8px; box-shadow: var(--shadow);
}

/* Decorative frame offsets may bleed past the viewport edge; clip without breaking sticky header. */
.site-main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: var(--section) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--sky { background: linear-gradient(180deg, var(--sky-100), #fff); }
.section--navy { background: var(--blue-900); color: #dbe6f7; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--left { margin-left: 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: .55rem;
	font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--green-600); margin-bottom: 1rem;
}
.eyebrow::before {
	content: ""; width: 26px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--blue-500), var(--green-500), var(--orange-500));
}
.section--navy .eyebrow { color: var(--orange-500); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.section--navy .lead { color: #b9c8e2; }

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--blue-700); --fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .9rem 1.55rem; border-radius: 999px; border: 2px solid var(--bg);
	background: var(--bg); color: var(--fg); font: 700 .98rem/1.1 var(--font-body);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(10, 37, 82, .55); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--orange { --bg: var(--orange-500); --fg: var(--blue-900); }
.btn--green { --bg: var(--green-500); }
.btn--ghost { background: transparent; --fg: var(--blue-700); }
.btn--ghost:hover { background: var(--blue-700); --fg: #fff; }
.btn--light { background: transparent; --bg: rgba(255, 255, 255, .7); --fg: #fff; }
.btn--light:hover { background: #fff; --fg: var(--blue-900); }
.btn--sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Icon bubble ---------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon-bubble {
	display: inline-grid; place-items: center; width: 56px; height: 56px;
	border-radius: 18px 18px 18px 6px; background: var(--sky-100); color: var(--blue-700);
}
.icon-bubble--green { background: var(--green-100); color: var(--green-600); }
.icon-bubble--orange { background: var(--orange-100); color: #b86f00; }
.icon-bubble .icon { width: 26px; height: 26px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--blue-900); color: #c9d6ec; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__items { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__items span, .topbar__items a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .icon { width: 15px; height: 15px; color: var(--orange-500); }
.topbar__help { color: var(--orange-500) !important; font-weight: 700; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	/* Solid background: backdrop-filter here would trap the fixed mobile nav inside the header. */
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(10, 37, 82, .4); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.main-nav a {
	position: relative; display: block; padding: .55rem .8rem;
	font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 999px;
	white-space: nowrap;
}
@media (max-width: 1360px) and (min-width: 1101px) {
	.header-cta .btn--ghost { display: none; }
	.main-nav a { padding: .55rem .6rem; font-size: .92rem; }
	.main-nav a::after { left: .6rem; right: .6rem; }
}
.main-nav a::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
	background: var(--green-500); border-radius: 2px; transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a { color: var(--blue-700); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
	background: #fff; color: var(--blue-900); cursor: pointer; place-items: center;
}

@media (max-width: 1100px) {
	.nav-toggle { display: grid; }
	.main-nav a { white-space: normal; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 60;
		background: #fff; padding: 6rem 1.5rem 2rem; box-shadow: -20px 0 60px -20px rgba(10, 37, 82, .4);
		transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
	}
	.main-nav.is-open { transform: none; }
	.main-nav ul { flex-direction: column; gap: .25rem; }
	.main-nav a { font-size: 1.15rem; padding: .8rem 1rem; }
	.main-nav a::after { display: none; }
	.main-nav .current-menu-item > a { background: var(--sky-100); }
	.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 37, 82, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
	.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
	.nav-close { position: absolute; top: 1.4rem; right: 1.4rem; }
	.header-cta .btn--ghost { display: none; }
}
@media (min-width: 1101px) { .nav-close, .nav-backdrop, .main-nav__extra { display: none !important; } }
.main-nav__extra { margin-top: 2rem; display: grid; gap: .8rem; }
@media (max-width: 600px) {
	.topbar__items .hide-sm { display: none; }
	.brand img { height: 42px; }
	.site-header .wrap { min-height: 70px; }
	.header-cta .btn { padding: .6rem 1rem; font-size: .88rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(900px 500px at 90% 10%, rgba(93, 169, 47, .14), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(26, 127, 214, .12), transparent 60%),
		var(--cream);
}
.hero__bridge {
	position: absolute; left: -5%; right: -5%; bottom: -2px; width: 110%; height: 120px;
	color: #fff; z-index: 0; pointer-events: none;
}
.hero .split { position: relative; z-index: 1; }
.hero__kicker {
	display: inline-flex; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: 1.4rem;
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700);
}
.hero__kicker span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__kicker span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }
.hero h1 { margin-bottom: .45em; }
.hero p.lead { max-width: 34rem; margin-bottom: 2rem; }
.hero .btn-row { margin-bottom: 2.5rem; }
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 34rem; }
.pathway {
	display: flex; gap: .85rem; align-items: center; padding: 1rem 1.1rem; border-radius: 18px;
	background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pathway:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.pathway strong { display: block; font-size: .98rem; line-height: 1.25; }
.pathway small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.pathway .icon-bubble { width: 46px; height: 46px; border-radius: 14px 14px 14px 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative; overflow: hidden; color: #fff;
	padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(5.5rem, 11vw, 9rem);
	background: var(--blue-900);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.9); }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg, rgba(10, 37, 82, .96) 0%, rgba(11, 78, 162, .78) 55%, rgba(63, 138, 31, .55) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 15em; }
.page-hero h1 em { color: #c6f0a6; }
.page-hero .lead { color: #d7e3f5; max-width: 40rem; }
.page-hero .eyebrow { color: var(--orange-500); }
.page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; color: #fff; }
.breadcrumbs { font-size: .85rem; margin-bottom: 1.2rem; color: #b9c8e2; }
.breadcrumbs a { color: #fff; text-decoration: none; }

/* ---------- Stats ---------- */
.stats {
	position: relative; z-index: 3; margin-top: -3.2rem;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 1.8rem 1.5rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--blue-700); line-height: 1; }
.stat:nth-child(2) .stat__value { color: var(--green-600); }
.stat:nth-child(3) .stat__value { color: #d48700; }
.stat__label { margin-top: .5rem; font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
	position: relative; background: #fff; border-radius: var(--radius); padding: 2rem;
	border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 1.1rem 0 .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.programme-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.programme-card .frame { margin: 0; }
.programme-card__body { padding: 0 1.7rem 1.8rem; margin-top: -2rem; position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.programme-card__body .icon-bubble { box-shadow: 0 10px 20px -10px rgba(10, 37, 82, .5); background: #fff; }
.programme-card__body p { flex: 1; }
.programme-card__body .link-arrow { margin-top: 1.2rem; }
.programme-card--partner {
	background: linear-gradient(150deg, var(--blue-700), var(--blue-900)); color: #d7e3f5; border: 0;
	padding: 2.2rem 1.8rem; justify-content: center;
}
.programme-card--partner h3 { color: #fff; }
.programme-card--partner p { color: #c3d3ec; flex: 0; margin-bottom: 1.5rem; }
.programme-card--partner::after {
	content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
	border: 26px solid rgba(93, 169, 47, .35);
}

/* Rate card */
.rate-card {
	display: flex; flex-direction: column; padding: 1.8rem; overflow: hidden;
}
.rate-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.rate-card__amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--blue-900); }
.rate-card__amount sup { font-size: .5em; vertical-align: .9em; margin-right: 2px; color: var(--green-600); }
.rate-card__unit { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; text-align: right; margin-top: .3rem; }
.rate-card p { flex: 1; }
.rate-card__goal {
	margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--line);
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; color: var(--muted);
}
.rate-card__goal strong { color: var(--ink); }
.rate-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: linear-gradient(90deg, var(--blue-500), var(--green-500));
	transform: scaleX(.15); transform-origin: left; transition: transform .5s var(--ease);
}
.rate-card:hover::before { transform: scaleX(1); }

/* Full rate card (Donate page), grouped by stage of care */
.rate-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.rate-group { padding: 1.6rem 1.7rem .6rem; }
.rate-group:hover { transform: none; box-shadow: none; border-color: var(--line); }
.rate-group__head { display: flex; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 2px solid var(--green-500); }
.rate-group__head h3 { margin: 0 0 .15rem; }
.rate-group__head p { margin: 0; font-size: .9rem; color: var(--muted); }
.rate-group__cols, .rate-row { display: grid; grid-template-columns: 1fr 6.5rem 6.5rem; gap: 1rem; align-items: center; }
.rate-group__cols { padding: .8rem 0 .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rate-group__cols span + span { text-align: right; }
.rate-rows { list-style: none; margin: 0; padding: 0; }
.rate-row { padding: 1rem 0; border-top: 1px dashed var(--line); }
.rate-row:first-child { border-top: 0; }
.rate-row__what { display: flex; gap: .8rem; align-items: flex-start; }
.rate-row__icon { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-700); }
.rate-row__icon .icon { width: 1.1rem; height: 1.1rem; }
.rate-row h4 { margin: 0 0 .2rem; font-size: 1rem; color: var(--ink); }
.rate-row p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.rate-row__amount, .rate-row__goal { text-align: right; }
.rate-row__amount strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--blue-900); }
.rate-row__amount small { display: block; margin-top: .25rem; font-size: .72rem; color: var(--muted); font-weight: 600; }
.rate-row__goal { font-weight: 700; color: var(--ink); font-size: .95rem; }
.rate-row__goal small { display: none; }
.rate-note { margin: 2rem auto 0; max-width: 46rem; text-align: center; color: var(--muted); }
@media (max-width: 1024px) { .rate-groups { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
	.rate-group { padding: 1.3rem 1.2rem .4rem; }
	.rate-group__cols { display: none; }
	.rate-row { grid-template-columns: 1fr auto; row-gap: .4rem; }
	.rate-row__what { grid-column: 1 / -1; }
	.rate-row__amount { text-align: left; padding-left: 3rem; display: flex; align-items: baseline; gap: .5rem; }
	.rate-row__amount small { margin: 0; }
	.rate-row__goal small { display: inline; font-weight: 600; color: var(--muted); }
}

/* Values */
.value { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h3 { margin: 0 0 .3rem; font-size: 1.2rem; }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Vision / mission panels */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.vm__item { padding: 1.6rem; border-radius: var(--radius); background: var(--sky-100); position: relative; overflow: hidden; }
.vm__item:nth-child(2) { background: var(--green-100); }
.vm__item h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.vm__item p { margin: 0; color: var(--ink); font-size: .98rem; }
.vm__item::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; border: 14px solid rgba(255, 255, 255, .6); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.checklist .icon { width: 20px; height: 20px; color: var(--green-600); margin-top: .25rem; }
.checklist--2 { grid-template-columns: 1fr 1fr; }

/* Programme detail rows */
.programme-row + .programme-row { margin-top: clamp(4rem, 9vw, 7rem); }
.programme-row .num {
	font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px var(--green-500); display: block; margin-bottom: .5rem;
}

/* ---------- Leader letter ---------- */
.letter { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.letter__aside { position: sticky; top: 120px; text-align: center; }
.letter__aside .frame--ring { max-width: 260px; margin: 0 auto 1.2rem; }
.letter__aside .frame--ring .frame__media { background: #fff; }
.letter__aside .frame--ring img { object-fit: cover; }
.letter__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-900); margin: 0; }
.letter__role { color: var(--muted); font-weight: 600; font-size: .92rem; }
.letter__verse {
	margin: 0 0 2rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--orange-500);
	background: var(--orange-100); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--blue-900);
}
.letter__verse cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.letter__body h3 { font-size: 1.15rem; margin: 2rem 0 .5rem; color: var(--green-600); }
.letter__body .signoff { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; margin-top: 2rem; }
.letter__collapse { position: relative; max-height: 560px; overflow: hidden; transition: max-height .6s var(--ease); }
.letter__collapse::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
	background: linear-gradient(transparent, var(--cream)); transition: opacity .3s;
}
.letter__collapse.is-open { max-height: none; }
.letter__collapse.is-open::after { opacity: 0; pointer-events: none; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 86%); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.5rem .25rem 2rem; scrollbar-width: none; }
.testimonials::-webkit-scrollbar { display: none; }
.testimonial {
	scroll-snap-align: start; position: relative; background: #fff; border-radius: 28px 28px 28px 6px;
	padding: 2.4rem 2.2rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.testimonial > .icon { position: absolute; top: -18px; left: 2rem; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--orange-500); color: var(--blue-900); }
.testimonial blockquote { margin: 0 0 1.6rem; font-size: 1.04rem; color: var(--ink); flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: .9rem; }
.avatar {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
	font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--green-500));
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--green-100);
}
.testimonial:nth-child(2n) .avatar { background: linear-gradient(135deg, var(--orange-500), var(--green-500)); }
.testimonial strong { display: block; color: var(--blue-900); }
.testimonial small { color: var(--muted); }
.slider-nav { display: flex; gap: .6rem; justify-content: flex-end; }
.slider-nav button {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer;
	display: grid; place-items: center; color: var(--blue-900); transition: background .25s, color .25s;
}
.slider-nav button:hover { background: var(--blue-700); color: #fff; }
.slider-nav button:first-child .icon { transform: rotate(180deg); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.8rem; padding: 1rem 0; }
.gallery .frame--polaroid:nth-child(4n+1) { --tilt: -2.5deg; }
.gallery .frame--polaroid:nth-child(4n+2) { --tilt: 1.8deg; margin-top: 1.5rem; }
.gallery .frame--polaroid:nth-child(4n+3) { --tilt: -1deg; }
.gallery .frame--polaroid:nth-child(4n+4) { --tilt: 2.4deg; margin-top: 1.2rem; }

/* ---------- Support services ---------- */
.service { display: flex; flex-direction: column; }
.service p { flex: 1; }
.service .link-arrow { margin-top: 1.3rem; }

.help-box {
	display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
	padding: 2rem 2.2rem; border-radius: var(--radius); color: #fff;
	background: linear-gradient(120deg, var(--green-600), var(--green-500)); margin-top: 2.5rem;
	position: relative; overflow: hidden;
}
.help-box::after { content: ""; position: absolute; right: 25%; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .1); }
.help-box h3 { color: #fff; margin: 0 0 .2rem; }
.help-box p { margin: 0; color: #e6f6da; }
.help-box .icon-bubble { background: rgba(255, 255, 255, .18); color: #fff; width: 64px; height: 64px; }
.help-box .btn-row { position: relative; z-index: 1; }

/* ---------- Donate ---------- */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pay-card { text-align: left; }
.pay-card dl { margin: 1rem 0 0; display: grid; gap: .5rem; }
.pay-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; background: var(--cream); border-radius: 10px; }
.pay-card dt { color: var(--muted); font-size: .88rem; }
.pay-card dd { margin: 0; font-weight: 800; color: var(--blue-900); letter-spacing: .03em; text-align: right; }
.pay-card dt { flex: none; }
.pay-card .pending { font-size: .9rem; color: var(--muted); background: var(--orange-100); padding: .7rem .9rem; border-radius: 10px; margin-top: 1rem; }
.pay-card--mpesa { border-top: 5px solid var(--green-500); }
.pay-card--paypal { border-top: 5px solid var(--blue-500); }
.pay-card--bank { border-top: 5px solid var(--orange-500); }
.pay-card pre { white-space: pre-wrap; font: inherit; margin: 1rem 0 0; padding: .8rem 1rem; background: var(--cream); border-radius: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; padding: clamp(5rem, 11vw, 8rem) 0; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 37, 82, .82), rgba(10, 37, 82, .72) 50%, rgba(63, 138, 31, .7)); }
.cta-band .wrap { position: relative; z-index: 2; max-width: 820px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6f7; font-size: 1.15rem; margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__wave { position: absolute; left: 0; right: 0; width: 100%; height: 60px; z-index: 2; color: #fff; }
.cta-band__wave--top { top: -1px; transform: rotate(180deg); }
.cta-band__wave--bottom { bottom: -1px; }

/* ---------- Downloads ---------- */
.download { display: flex; flex-direction: column; align-items: flex-start; }
.download p { flex: 1; }
.download .btn { margin-top: 1.4rem; }

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.map-frame { position: relative; border-radius: 30px 30px 30px 8px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; outline: 2px solid var(--green-100); }
#cb-map { height: 560px; background: var(--sky-100); }
.county-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.county {
	padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); cursor: pointer;
	text-align: left; font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.county:hover, .county.is-active { border-color: var(--green-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.county strong { display: flex; align-items: center; gap: .4rem; color: var(--blue-900); }
.county strong .icon { width: 16px; height: 16px; color: var(--green-600); }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.tag { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--sky-100); color: var(--blue-700); }
.tag--psychosocial-support { background: var(--green-100); color: var(--green-600); }
.tag--cancer-awareness { background: var(--orange-100); color: #a76300; }
.tag--survivor-empowerment { background: #f0e9fb; color: #6b3fb1; }
.cb-marker { width: 22px; height: 22px; border-radius: 50%; background: var(--green-500); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(93, 169, 47, .3), 0 6px 14px rgba(10, 37, 82, .4); }
.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--blue-900); }

/* ---------- Forms / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card a, .contact-card strong { font-weight: 700; color: var(--blue-900); text-decoration: none; word-break: break-word; }
.contact-card span > a { display: block; }
.dept-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.dept-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.2rem; flex-wrap: wrap; }
.dept-list li + li { border-top: 1px solid var(--line); }
.dept-list span { color: var(--muted); font-size: .92rem; }
.dept-list a { font-weight: 600; font-size: .92rem; word-break: break-all; }

.form-card { background: #fff; border-radius: 28px 28px 28px 8px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.form-card::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px 28px 28px 8px; background: var(--green-100); z-index: -1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--blue-900); }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border-radius: 14px;
	border: 1.5px solid var(--line); background: var(--cream); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(26, 127, 214, .15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.4rem; font-weight: 600; display: flex; gap: .7rem; align-items: flex-start; }
.notice--ok { background: var(--green-100); color: var(--green-600); }
.notice--err { background: #fdecec; color: #b42318; }
.form-note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }

.sdg-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sdg { font-size: .8rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--blue-900); }

/* ---------- Content / blog ---------- */
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2 { font-size: 2rem; margin-top: 2em; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 a { color: var(--blue-900); text-decoration: none; }
.post-card__meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sky-100); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pagination { margin-top: 3rem; display: flex; justify-content: center; gap: .4rem; }
.pagination .page-numbers { padding: .5rem .9rem; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.credits-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.credits-table th, .credits-table td { text-align: left; padding: .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits-table img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9c8e2; position: relative; padding-top: 5rem; font-size: .95rem; }
.site-footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display: inline-block; background: #fff; padding: .8rem 1rem; border-radius: 20px 20px 20px 6px; margin-bottom: 1.2rem; }
.footer-logo img { height: 52px; width: auto; display: block; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #dbe6f7; text-decoration: none; }
.site-footer a:hover { color: var(--orange-500); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--green-500); margin-top: .25rem; }
.social { display: flex; gap: .5rem; margin-top: 1.3rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s; }
.social a:hover { background: var(--green-500); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-sdgs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.footer-sdgs span { font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #cbd8ee; }

.whatsapp-float {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
	transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.js .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.map-wrap { grid-template-columns: 1fr; }
	.letter { grid-template-columns: 1fr; }
	.letter__aside { position: static; }
	.pay-methods { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.split, .contact-grid { grid-template-columns: 1fr; }
	.split--rev > :first-child { order: 0; }
	.grid--3, .grid--2 { grid-template-columns: 1fr 1fr; }
	.help-box { grid-template-columns: 1fr; text-align: left; }
	.hero .split > :last-child { max-width: 560px; margin: 1rem auto 0; width: 100%; }
}
@media (max-width: 640px) {
	.grid--2, .grid--3, .grid--4, .vm, .form-grid, .county-list, .checklist--2 { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr; margin-top: -2.5rem; }
	.stat + .stat::before { left: 25%; right: 25%; top: 0; bottom: auto; width: auto; height: 1px; }
	.pathways { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
	.footer-grid { grid-template-columns: 1fr; }
	#cb-map { height: 420px; }
	.card { padding: 1.5rem; }
	.programme-card { padding: 0; }
	.topbar { font-size: .8rem; }
}

/* ---------- Slogan ---------- */
.slogan {
	display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .45rem 1rem .45rem .8rem;
	border-radius: 999px; background: var(--orange-100); color: var(--blue-900);
	font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; font-style: italic; letter-spacing: .01em;
}
.slogan .icon { width: 18px; height: 18px; color: var(--orange-500); }
.slogan--footer { background: rgba(255, 255, 255, .08); color: var(--orange-500); padding: .35rem .9rem; font-size: .95rem; }
.topbar__slogan { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--orange-500); letter-spacing: .02em; }
.hero .btn-row .link-arrow { align-self: center; }
@media (max-width: 1100px) { .topbar__slogan { display: none; } }

/* ---------- Life after cancer ---------- */
.after-cancer {
	position: relative; isolation: isolate; overflow: hidden; color: #dbe5f5;
	padding: var(--section) 0; background: var(--blue-900);
}
.after-cancer__bg { position: absolute; inset: 0; z-index: -2; }
.after-cancer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(1) contrast(1.1); }
.after-cancer::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(ellipse at 85% 10%, rgba(239, 111, 154, .28), transparent 55%),
		linear-gradient(160deg, rgba(10, 37, 82, .93) 25%, rgba(11, 78, 162, .72));
}
.after-cancer__ribbon {
	position: absolute; z-index: -1; right: -2%; top: 6%; width: clamp(160px, 22vw, 320px); height: auto; opacity: .5;
	animation: ribbon-float 7s ease-in-out infinite;
}
.after-cancer__ribbon path { stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset 2.6s var(--ease); }
.after-cancer.is-in .after-cancer__ribbon path, html:not(.js) .after-cancer__ribbon path { stroke-dashoffset: 0; }
@keyframes ribbon-float { 50% { transform: translateY(-14px) rotate(-3deg); } }

.after-cancer h2 { color: #fff; }
.after-cancer h2 em { color: var(--orange-500); }
.after-cancer .eyebrow { color: #ef9ab8; }
.after-cancer__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.after-cancer__intro p { font-size: 1.08rem; }
.after-cancer__quote {
	margin-top: 1.6rem; padding: 1.1rem 1.4rem; border-left: 4px solid var(--orange-500); border-radius: 0 14px 14px 0;
	background: rgba(255, 255, 255, .07); color: #fff; font-family: var(--font-display); font-size: 1.35rem !important; font-style: italic; line-height: 1.4;
}

.phone {
	max-width: 330px; margin-inline: auto; padding: 1rem 1rem 1.4rem; border-radius: 34px;
	background: rgba(255, 255, 255, .96); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 8px rgba(255, 255, 255, .12);
	display: flex; flex-direction: column; gap: .55rem; transform: rotate(2.5deg);
}
.phone__bar { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding-bottom: .6rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--muted); }
.phone__bar span { width: 70px; height: 6px; border-radius: 6px; background: var(--line); }
.bubble { max-width: 82%; padding: .6rem .9rem; border-radius: 18px; font-size: .92rem; line-height: 1.35; }
.bubble--in { align-self: flex-start; background: #e9edf3; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--blue-700); color: #fff; border-bottom-right-radius: 5px; }
.bubble--typing { align-self: flex-end; display: inline-flex; gap: 4px; background: #dfe7f3; border-bottom-right-radius: 5px; }
.bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }

/* Messages arrive one by one once the section scrolls into view. */
.js .after-cancer .bubble { opacity: 0; transform: translateY(12px) scale(.92); }
.after-cancer.is-in .bubble { animation: bubble-in .5s var(--ease) forwards; }
.after-cancer.is-in .bubble:nth-of-type(2) { animation-delay: .7s; }
.after-cancer.is-in .bubble:nth-of-type(3) { animation-delay: 1.4s; }
.after-cancer.is-in .bubble--typing { animation: bubble-in .4s var(--ease) 2.3s forwards, bubble-out .3s ease 3.6s forwards; }
.after-cancer.is-in .bubble--out { animation-delay: 3.8s; }
.after-cancer.is-in .bubble:first-of-type { animation-delay: .1s; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }
@keyframes bubble-out { to { opacity: 0; height: 0; padding: 0; margin: -.55rem 0 0; } }

.after-cancer__struggles { margin-top: clamp(3rem, 7vw, 5rem); }
.after-cancer__lead { max-width: 46rem; margin: 0 auto 2.2rem; text-align: center; font-size: 1.12rem; color: #fff; }
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.flip {
	position: relative; min-height: 210px; padding: 0; border: 0; background: none; color: inherit; font: inherit;
	text-align: left; cursor: pointer; perspective: 1100px; border-radius: var(--radius);
}
.flip:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 4px; }
.flip__inner { position: absolute; inset: 0; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip__face {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem;
	padding: 1.5rem; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip__front { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.flip__front strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.flip__front small { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-500); }
.flip__front small .icon { width: 14px; height: 14px; }
.flip__num { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(255, 255, 255, .14); }
.flip__back { transform: rotateY(180deg); justify-content: center; font-size: 1.05rem; line-height: 1.5; color: var(--ink); background: #fff; }
.flip--fear .flip__back { box-shadow: inset 0 -6px 0 var(--orange-500); }
.flip--changes .flip__back { box-shadow: inset 0 -6px 0 var(--green-500); }
.flip--scars .flip__back { box-shadow: inset 0 -6px 0 #ef6f9a; }

.not-alone { margin-top: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.not-alone__title { display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1.6rem; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; color: #fff; line-height: 1.1; }
.not-alone__title strong { color: var(--orange-500); }
.not-alone__heart { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: #ef6f9a; animation: heartbeat 1.6s ease-in-out infinite; }
.not-alone__heart .icon { width: .62em; height: .62em; color: #fff; fill: #fff; }
.not-alone .btn-row { justify-content: center; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } }

@media (max-width: 900px) {
	.after-cancer__grid { grid-template-columns: 1fr; }
	.flip-grid { grid-template-columns: 1fr; }
	.flip { min-height: 170px; }
	.after-cancer__ribbon { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
	.after-cancer__ribbon, .not-alone__heart, .bubble--typing span { animation: none; }
	.after-cancer__ribbon path { stroke-dashoffset: 0; transition: none; }
	.js .after-cancer .bubble { opacity: 1; transform: none; animation: none !important; }
	.bubble--typing { display: none; }
	.flip__inner { transition: none; }
}
.download-row { justify-content: center; margin-top: 1.4rem; }
