/*
Theme Name: DRCF
Theme URI: https://www.drcf.org.au/
Description: Custom classic theme for Disability Revive Charity Foundation — organisation showcase, advocacy, Support Coordination referrals, community inclusion and donations. Visual system based on client-approved design mockups (cankao/图片/01–07, 2026-08-31).
Author: DRCF Web Team
Version: 1.0.7
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drcf
*/

/* =============================================================
   Design tokens — sampled from approved mockups (cankao 01–07).
   Re-skin the site by editing these variables only.
   ============================================================= */
:root {
	/* Brand blues */
	--drcf-navy: #16255e;          /* headings, footer base          */
	--drcf-navy-deep: #101c44;     /* footer / dark CTA background   */
	--drcf-primary: #1e5fc0;       /* buttons, links, icons          */
	--drcf-primary-dark: #17499b;  /* button hover                   */
	--drcf-primary-soft: #e3f0fc;  /* icon circles, soft chips       */
	--drcf-sky: #e8f1fb;           /* light section background       */
	--drcf-sky-border: #d3e4f7;

	/* Neutrals */
	--drcf-text: #333f4d;
	--drcf-muted: #5b6b7e;
	--drcf-line: #e2eaf3;
	--drcf-white: #ffffff;
	--drcf-offwhite: #f7fafd;

	/* Shape & type */
	--drcf-radius: 20px;
	--drcf-radius-sm: 12px;
	--drcf-pill: 999px;
	--drcf-font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--drcf-font-sans: "Nunito Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

	/* Elevation & motion */
	--drcf-shadow: 0 10px 30px rgba(18, 37, 94, 0.08);
	--drcf-shadow-lg: 0 18px 44px rgba(18, 37, 94, 0.14);
	--drcf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--drcf-font-sans);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--drcf-text);
	background: var(--drcf-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--drcf-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
	font-family: var(--drcf-font-sans);   /* mockups use heavy sans headings */
	color: var(--drcf-navy);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 800;
	letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }

/* Accessibility: visible focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #8fb8ee;
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--drcf-navy); color: #fff; padding: 10px 18px;
	border-radius: 0 0 10px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* =============================================================
   Layout primitives
   ============================================================= */
.drcf-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.drcf-section { padding: 88px 0; }
.drcf-section--sky { background: var(--drcf-sky); }
.drcf-section--tight { padding: 64px 0; }

/* Section heading with short blue rule (mockup pattern) */
.drcf-sec-head { max-width: 720px; margin-bottom: 48px; }
.drcf-sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.drcf-sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.drcf-sec-head .drcf-rule {
	width: 56px; height: 4px; border-radius: 2px;
	background: var(--drcf-primary); margin-top: 10px;
}
.drcf-sec-head--center .drcf-rule { margin-left: auto; margin-right: auto; }
.drcf-sec-head .drcf-lead { color: var(--drcf-muted); font-size: 17.5px; margin-top: 16px; }

.drcf-eyebrow {
	display: inline-block;
	font-family: var(--drcf-font-sans);
	font-size: 13px; font-weight: 800;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--drcf-primary);
	margin-bottom: 14px;
}

/* Client-editable rich text (page editor content on landing pages) */
.drcf-rich { max-width: 820px; }
.drcf-rich > * { margin-top: 0; }
.drcf-rich > * + * { margin-top: 18px; }
.drcf-rich h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--drcf-navy); }
.drcf-rich h3 { font-size: 21px; color: var(--drcf-navy); }
.drcf-rich p, .drcf-rich li { color: var(--drcf-text); font-size: 16.5px; line-height: 1.7; }
.drcf-rich a { color: var(--drcf-primary); }
.drcf-rich ul, .drcf-rich ol { padding-left: 24px; }
.drcf-rich li + li { margin-top: 8px; }
.drcf-rich img, .drcf-rich figure { max-width: 100%; height: auto; border-radius: 14px; }
.drcf-rich blockquote {
	border-left: 4px solid var(--drcf-primary);
	background: var(--drcf-sky);
	padding: 18px 24px; border-radius: 0 12px 12px 0;
	font-style: italic;
}

/* =============================================================
   Buttons
   ============================================================= */
.drcf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 30px;
	border-radius: var(--drcf-pill);
	font-family: var(--drcf-font-sans);
	font-size: 16px; font-weight: 700; line-height: 1.2;
	cursor: pointer; border: 2px solid transparent;
	text-decoration: none !important;
	transition: background 0.25s var(--drcf-ease), color 0.25s var(--drcf-ease),
		border-color 0.25s var(--drcf-ease), transform 0.25s var(--drcf-ease), box-shadow 0.25s var(--drcf-ease);
}
.drcf-btn:hover { transform: translateY(-2px); }

.drcf-btn--primary { background: var(--drcf-primary); color: #fff; box-shadow: 0 8px 20px rgba(30, 95, 192, 0.28); }
.drcf-btn--primary:hover { background: var(--drcf-primary-dark); color: #fff; }

.drcf-btn--outline { background: transparent; color: var(--drcf-navy); border-color: #b9cde9; }
.drcf-btn--outline:hover { border-color: var(--drcf-primary); color: var(--drcf-primary); }

.drcf-btn--white { background: #fff; color: var(--drcf-navy); }
.drcf-btn--white:hover { background: var(--drcf-sky); color: var(--drcf-navy); }

.drcf-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.drcf-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.drcf-btn--sm { padding: 10px 22px; font-size: 15px; }

.drcf-arrow { display: inline-block; transition: transform 0.25s var(--drcf-ease); font-family: var(--drcf-font-sans); }
a:hover > .drcf-arrow, button:hover > .drcf-arrow { transform: translateX(4px); }

/* =============================================================
   Header
   ============================================================= */
.drcf-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--drcf-line);
}
.drcf-header__inner {
	display: flex; align-items: center; gap: 22px;
	min-height: 84px;
}
.drcf-header__brand {
	display: flex; align-items: center; gap: 12px;
	text-decoration: none !important; flex-shrink: 0;
}
.drcf-logo { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.drcf-header__wordmark { line-height: 1.16; }
.drcf-header__wordmark strong {
	display: block;
	font-size: 22px; font-weight: 800; color: var(--drcf-navy); letter-spacing: 0.02em;
}
.drcf-header__wordmark span {
	display: block;
	font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
	color: var(--drcf-muted); text-transform: uppercase;
	white-space: nowrap;
}

.drcf-nav { margin-left: auto; flex-shrink: 0; }
.drcf-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.drcf-nav li { flex-shrink: 0; }
.drcf-nav a {
	display: block;
	padding: 8px 10px;
	font-size: 14.5px; font-weight: 700; color: var(--drcf-navy);
	border-radius: 8px; text-decoration: none !important;
	white-space: nowrap;
}
.drcf-nav a:hover { color: var(--drcf-primary); }
.drcf-nav .current-menu-item > a,
.drcf-nav .current_page_item > a {
	color: var(--drcf-primary);
	box-shadow: inset 0 -3px 0 var(--drcf-primary);
	border-radius: 4px 4px 8px 8px;
}

.drcf-header__cta { flex-shrink: 0; }
.drcf-header__cta--mobile { display: none; } /* shown inside the drawer ≤920px */
.drcf-header__cta .drcf-btn--sm { padding: 10px 18px; font-size: 14.5px; }

/* Hamburger */
.drcf-burger {
	display: none;
	background: none; border: 0; cursor: pointer; padding: 8px;
	border-radius: 10px; margin-left: auto;
}
.drcf-burger span {
	display: block; width: 26px; height: 3px; border-radius: 2px;
	background: var(--drcf-navy); margin: 5px 0; transition: 0.3s var(--drcf-ease);
}
.drcf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.drcf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.drcf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================================
   Hero (left text / right image; .drcf-hero--flip reverses)
   ============================================================= */
.drcf-hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.drcf-hero__inner {
	display: grid; grid-template-columns: 1.12fr 0.88fr;
	gap: 56px; align-items: center;
}
.drcf-hero--flip .drcf-hero__inner > .drcf-hero__media { order: -1; }
.drcf-hero__content h1 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 22px; }
.drcf-hero__content .drcf-hero__text { font-size: 17.5px; color: var(--drcf-muted); max-width: 640px; margin-bottom: 32px; }
.drcf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.drcf-hero__tertiary { font-weight: 800; font-size: 15.5px; }
.drcf-hero__tertiary .drcf-arrow { transform: translateY(1px); }

/* Bubble-masked photo with dotted-circle decoration (mockup pattern) */
.drcf-hero__media { position: relative; }
.drcf-blob { position: relative; z-index: 1; width: 100%; border-radius: 300px 28px 300px 28px; object-fit: cover; box-shadow: var(--drcf-shadow-lg); }
.drcf-blob--alt { border-radius: 28px 300px 28px 300px; }
.drcf-blob--round { border-radius: 50%; }
.drcf-hero__media::before {
	content: "";
	position: absolute; z-index: 0;
	top: -34px; right: -34px; width: 150px; height: 150px;
	border: 3px dashed #9cc0ee; border-radius: 50%;
	opacity: 0.9;
}
.drcf-hero__media::after {
	content: "";
	position: absolute; z-index: 0;
	bottom: -26px; left: -26px; width: 96px; height: 96px;
	background: var(--drcf-primary-soft); border-radius: 50%;
}
.drcf-hero__media .drcf-blob { aspect-ratio: 5 / 4.4; }

/* Round photo collage (home hero / who-we-are banner, mockup 01) */
.drcf-collage { position: relative; z-index: 1; aspect-ratio: 1 / 1; }
.drcf-collage img { position: absolute; object-fit: cover; border-radius: 50%; box-shadow: var(--drcf-shadow-lg); }
.drcf-collage__main { inset: 14% 16% 2% 0 !important; z-index: 1; }
.drcf-collage__small-a { top: 0; right: 2%; width: 36%; aspect-ratio: 1/1; z-index: 2; border: 6px solid #fff; }
.drcf-collage__small-b { top: 30%; right: 0; width: 27%; aspect-ratio: 1/1; z-index: 2; border: 6px solid #fff; }
.drcf-collage::before {
	content: ""; position: absolute; z-index: 0;
	inset: 12% 15% 0 1%; border-radius: 50%;
	box-shadow: 0 0 0 3px var(--drcf-primary-soft), 0 0 0 14px #fff, 0 0 0 17px var(--drcf-sky-border);
	pointer-events: none;
}

/* Blue arc decoration behind split-photos (mockup 01 who-we-are / 05 banners) */
.drcf-arc-deco { position: relative; }
.drcf-arc-deco::before {
	content: ""; position: absolute; z-index: 0;
	right: -18px; top: -18px; bottom: 14%; left: 14%;
	border-radius: 200px; background: var(--drcf-primary-soft);
}
.drcf-arc-deco img { position: relative; z-index: 1; }

/* Compact hero (form pages) */
.drcf-hero--compact { padding: 64px 0 56px; }
.drcf-hero--compact .drcf-hero__content { max-width: 780px; }

/* Sample-image ribbon — placeholder photos must be replaced before launch */
.drcf-sample { position: relative; display: block; }
.drcf-sample::after {
	content: "Sample image — replace before launch";
	position: absolute; right: 12px; bottom: 12px; z-index: 2;
	background: rgba(16, 28, 68, 0.62); color: #fff;
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
	padding: 4px 10px; border-radius: var(--drcf-pill);
	backdrop-filter: blur(2px);
	pointer-events: none;
}

/* =============================================================
   Quote block (Who we are / Choice statement / Our approach)
   ============================================================= */
.drcf-quote { position: relative; }
.drcf-quote__mark {
	font-family: var(--drcf-font-sans);
	font-size: 64px; font-weight: 800; line-height: 0.7;
	color: var(--drcf-primary);
	display: block; margin: 6px 0 10px; height: 46px;
}
.drcf-quote blockquote { margin: 0; }
.drcf-quote blockquote p {
	font-family: var(--drcf-font-serif);
	font-style: italic;
	font-size: clamp(19px, 2.1vw, 24px);
	line-height: 1.5;
	color: var(--drcf-navy);
}
.drcf-quote figcaption { margin-top: 16px; font-weight: 800; color: var(--drcf-primary); font-size: 15px; }

/* =============================================================
   Icon cards (What we do / Ways to get involved / values)
   ============================================================= */
.drcf-cards { display: grid; gap: 26px; }
.drcf-cards--2 { grid-template-columns: repeat(2, 1fr); }
.drcf-cards--3 { grid-template-columns: repeat(3, 1fr); }
.drcf-cards--4 { grid-template-columns: repeat(4, 1fr); }
.drcf-cards--5 { grid-template-columns: repeat(5, 1fr); }

.drcf-card {
	background: #fff;
	border-radius: var(--drcf-radius);
	padding: 34px 28px;
	box-shadow: var(--drcf-shadow);
	border: 1px solid rgba(211, 228, 247, 0.6);
	display: flex; flex-direction: column; gap: 14px;
	transition: transform 0.28s var(--drcf-ease), box-shadow 0.28s var(--drcf-ease);
}
.drcf-card:hover { transform: translateY(-6px); box-shadow: var(--drcf-shadow-lg); }
.drcf-card h3 { font-size: 20px; margin: 0; }
.drcf-card p { color: var(--drcf-muted); margin: 0; font-size: 15.5px; }
.drcf-card .drcf-card__link { margin-top: auto; font-weight: 800; font-size: 15px; }

.drcf-iconcircle {
	width: 64px; height: 64px; flex: 0 0 64px;
	border-radius: 50%;
	background: var(--drcf-primary-soft);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--drcf-primary);
}
.drcf-iconcircle svg { width: 30px; height: 30px; }
/* Trust marks shipped from the live site (white PNG glyphs on primary disc) */
.drcf-iconcircle--ref { background: var(--drcf-primary); }
.drcf-iconcircle--ref img { width: 26px; height: auto; }

/* Numbered cards 01–05 (How we may assist) */
.drcf-numcards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: drcfnum; }
.drcf-numcard {
	background: #fff; border-radius: var(--drcf-radius);
	padding: 30px 24px;
	box-shadow: var(--drcf-shadow);
	border: 1px solid rgba(211, 228, 247, 0.6);
	display: flex; flex-direction: column; gap: 14px;
	transition: transform 0.28s var(--drcf-ease), box-shadow 0.28s var(--drcf-ease);
}
.drcf-numcard:hover { transform: translateY(-6px); box-shadow: var(--drcf-shadow-lg); }
.drcf-numcard__num {
	font-size: 21px; font-weight: 800; color: var(--drcf-primary);
	letter-spacing: 0.04em; line-height: 1;
}
.drcf-numcard p em { font-style: italic; }
.drcf-numcard p { margin: 0; color: var(--drcf-text); font-size: 15px; }

/* Checklist (2 columns, blue check icons) */
.drcf-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; margin: 0; padding: 0; list-style: none; }
.drcf-checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.drcf-checklist svg { width: 26px; height: 26px; flex: 0 0 26px; color: var(--drcf-primary); margin-top: 2px; }

/* Feature list with icon circles (Community/Get involved/contribute) */
.drcf-featlist { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0; padding: 0; list-style: none; }
.drcf-featlist li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--drcf-radius); padding: 22px; box-shadow: var(--drcf-shadow); border: 1px solid rgba(211, 228, 247, 0.6); }
.drcf-featlist h3 { font-size: 17.5px; margin: 0 0 6px; }
.drcf-featlist p { margin: 0; color: var(--drcf-muted); font-size: 15px; }

/* Note panel (Important scope note / disclaimers) */
.drcf-note {
	display: flex; gap: 22px; align-items: flex-start;
	background: var(--drcf-sky);
	border: 1px solid var(--drcf-sky-border);
	border-radius: var(--drcf-radius);
	padding: 28px 30px;
}
.drcf-note__badge {
	width: 58px; height: 58px; flex: 0 0 58px;
	background: #fff; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--drcf-primary); box-shadow: var(--drcf-shadow);
}
.drcf-note__badge svg { width: 28px; height: 28px; }
.drcf-note h2, .drcf-note h3 { font-size: 20px; margin: 0 0 6px; }
.drcf-note p { margin: 0; font-size: 15.5px; }
.drcf-note p + p { margin-top: 8px; }

/* =============================================================
   Two-column media section (Who we are / Revive Creations feature)
   ============================================================= */
.drcf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.drcf-split__media img { border-radius: 28px; box-shadow: var(--drcf-shadow-lg); }
.drcf-split__media img.drcf-blob { aspect-ratio: 1 / 0.92; }

/* Tag chips */
.drcf-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.drcf-tags span {
	background: var(--drcf-primary-soft); color: var(--drcf-primary);
	font-weight: 800; font-size: 13.5px;
	padding: 7px 16px; border-radius: var(--drcf-pill);
	display: inline-flex; align-items: center; gap: 7px;
}
.drcf-tags svg { width: 15px; height: 15px; flex: 0 0 15px; }

/* Stats bar (Community inclusion) */
.drcf-stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
	background: #fff; border-radius: var(--drcf-radius);
	box-shadow: var(--drcf-shadow); padding: 30px 20px;
	text-align: center;
}
.drcf-stats__num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--drcf-primary); line-height: 1.1; letter-spacing: -0.01em; }
.drcf-stats__label { color: var(--drcf-muted); font-weight: 700; font-size: 14.5px; margin-top: 4px; }

/* =============================================================
   Journey timeline (Support Coordination)
   ============================================================= */
.drcf-journey { position: relative; max-width: 940px; margin: 0 auto; }
.drcf-journey__axis {
	position: absolute; left: 50%; top: 0; bottom: 0;
	width: 3px; transform: translateX(-50%);
	background: linear-gradient(var(--drcf-sky-border), var(--drcf-primary-soft));
	border-radius: 2px;
}
.drcf-stage { position: relative; padding: 26px 0 10px; }
.drcf-stage__chip {
	position: relative; z-index: 2;
	display: table; margin: 0 auto 26px;
	background: var(--drcf-navy); color: #fff;
	font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 9px 22px; border-radius: var(--drcf-pill);
	box-shadow: 0 6px 16px rgba(16, 28, 68, 0.25);
}
.drcf-stage__chip::before, .drcf-stage__chip::after {
	content: ""; position: absolute; top: 50%; width: 10px; height: 10px;
	background: #fff; border: 3px solid var(--drcf-navy); border-radius: 50%;
	transform: translateY(-50%);
}
.drcf-stage__chip::before { left: -8px; }
.drcf-stage__chip::after { right: -8px; }

.drcf-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.drcf-step {
	position: relative;
	background: #fff; border-radius: var(--drcf-radius);
	box-shadow: var(--drcf-shadow);
	padding: 26px 26px 24px 74px;
	text-align: left;
}
.drcf-step__dot {
	position: absolute; left: 22px; top: 26px;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--drcf-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 16px;
	box-shadow: 0 6px 14px rgba(30, 95, 192, 0.35);
}
.drcf-step h3 { font-size: 18px; margin: 0 0 6px; }
.drcf-step p { margin: 0; color: var(--drcf-muted); font-size: 15px; }

/* =============================================================
   CTA strips
   ============================================================= */
.drcf-cta {
	background: var(--drcf-sky);
	border-radius: 28px;
	padding: 56px 60px;
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	box-shadow: var(--drcf-shadow);
	position: relative; overflow: hidden;
}
.drcf-cta::before, .drcf-cta::after {
	content: ""; position: absolute; border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
}
.drcf-cta::before { width: 220px; height: 220px; right: -80px; top: -110px; }
.drcf-cta::after { width: 150px; height: 150px; left: -60px; bottom: -80px; }
.drcf-cta__content { position: relative; z-index: 1; max-width: 640px; }
.drcf-cta__content h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.drcf-cta__content p { color: var(--drcf-muted); margin: 0; font-size: 16.5px; }
.drcf-cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* Dark "Start a conversation" panel (Get involved) */
.drcf-dark {
	background: radial-gradient(1100px 500px at 85% -10%, rgba(30, 95, 192, 0.35), transparent 60%), var(--drcf-navy-deep);
	border-radius: 28px;
	color: #dbe6f9;
	padding: 60px 62px;
	display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px;
	box-shadow: var(--drcf-shadow-lg);
}
.drcf-dark h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.drcf-dark p { color: #c4d2ec; }
.drcf-dark__rows { margin-top: 26px; display: grid; gap: 14px; }
.drcf-dark__row { display: flex; align-items: center; gap: 14px; font-weight: 700; color: #fff; font-size: 16.5px; }
.drcf-dark__row svg { width: 22px; height: 22px; color: #8fb8ee; flex: 0 0 22px; }
.drcf-dark__row a { color: #fff; }
.drcf-dark__aside { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.drcf-social { display: flex; gap: 12px; }
.drcf-social a {
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.drcf-social a:hover { background: var(--drcf-primary); border-color: var(--drcf-primary); }
.drcf-social svg { width: 20px; height: 20px; }

/* Approach quote card (Support coordination) */
.drcf-approach {
	background: radial-gradient(900px 420px at -10% 110%, rgba(30, 95, 192, 0.4), transparent 55%), var(--drcf-navy-deep);
	border-radius: 28px; padding: 54px 56px;
	display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
	box-shadow: var(--drcf-shadow-lg); color: #dbe6f9;
}
.drcf-approach .drcf-quote__mark { color: #6f9fe0; }
.drcf-approach blockquote p { color: #fff; }
.drcf-approach figcaption { color: #9db9e6; }
.drcf-approach img { border-radius: 20px; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); }

/* =============================================================
   Fact panel (Registration & accountability)
   ============================================================= */
.drcf-facts {
	background: #fff; border-radius: var(--drcf-radius);
	box-shadow: var(--drcf-shadow); border: 1px solid var(--drcf-line);
	padding: 38px 42px;
	display: grid; grid-template-columns: auto 1fr; gap: 38px; align-items: center;
}
.drcf-facts--sky { background: var(--drcf-sky); border-color: transparent; box-shadow: none; }
.drcf-facts__badge { width: 112px; }
.drcf-facts__rows { display: grid; gap: 16px; }
.drcf-facts__row { display: flex; gap: 14px; align-items: flex-start; }
.drcf-facts__row svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--drcf-primary); margin-top: 2px; }
.drcf-facts__row strong { color: var(--drcf-navy); }
.drcf-facts__row p { margin: 0; font-size: 15.5px; }
.drcf-facts__note { grid-column: 1 / -1; font-size: 13px; color: var(--drcf-muted); background: var(--drcf-offwhite); border-radius: 10px; padding: 10px 14px; }

/* =============================================================
   Footer
   ============================================================= */
.drcf-footer { background: var(--drcf-navy-deep); color: #b9c6e0; margin-top: 96px; }
.drcf-footer a { color: #b9c6e0; }
.drcf-footer a:hover { color: #fff; }
.drcf-footer__main {
	display: grid; grid-template-columns: 1.35fr 0.85fr 1fr 1.05fr; gap: 44px;
	padding: 68px 0 54px;
}
.drcf-footer__brand .drcf-header__wordmark strong { color: #fff; }
.drcf-footer__brand .drcf-header__wordmark span { color: #8ba3cf; }
.drcf-footer__slogan { margin: 18px 0 22px; color: #cddaf1; font-size: 15.5px; font-weight: 700; letter-spacing: 0.02em; }
.drcf-footer h2, .drcf-footer h3 {
	color: #fff; font-family: var(--drcf-font-sans);
	font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
	margin: 0 0 18px;
}
.drcf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.drcf-footer ul a { text-decoration: none; font-size: 15px; }
.drcf-footer ul a:hover { text-decoration: underline; }
.drcf-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.drcf-footer__contact svg { width: 20px; height: 20px; flex: 0 0 20px; color: #6f9fe0; margin-top: 3px; }
.drcf-footer__contact a { text-decoration: none; }
.drcf-footer__badge { margin-top: 22px; width: 118px; }
.drcf-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 22px 0 26px; font-size: 13px; color: #8ba3cf;
	display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center;
}

/* =============================================================
   Donate page (replica of mockup 07)
   ============================================================= */
.drcf-donate-bar {
	background: linear-gradient(100deg, #1d55b0, #2673d7);
	color: #fff; text-align: center;
	padding: 34px 24px;
}
.drcf-donate-bar h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 0; }

.drcf-donate-card {
	background: #fff; border-radius: var(--drcf-radius);
	box-shadow: var(--drcf-shadow-lg); border: 1px solid var(--drcf-line);
	padding: 44px;
}
.drcf-donate-card h2 { text-align: center; font-size: 30px; }
.drcf-donate-card > p { text-align: center; color: var(--drcf-muted); max-width: 620px; margin: 0 auto 30px; }

.drcf-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.drcf-plan__opt {
	background: var(--drcf-offwhite); border: 2px solid var(--drcf-line);
	border-radius: 16px; padding: 22px; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	font-weight: 800; color: var(--drcf-navy); font-size: 17px;
	transition: border-color 0.2s, background 0.2s, transform 0.2s var(--drcf-ease);
}
.drcf-plan__opt small { font-weight: 700; color: var(--drcf-muted); font-size: 13px; }
.drcf-plan__opt:hover { transform: translateY(-2px); }
.drcf-plan__opt.is-active { border-color: var(--drcf-primary); background: var(--drcf-primary-soft); }
.drcf-plan__opt svg { width: 34px; height: 34px; color: var(--drcf-primary); }

.drcf-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.drcf-amount {
	position: relative;
	border: 2px solid var(--drcf-line); background: #fff;
	border-radius: 14px; padding: 16px 10px; text-align: center;
	font-weight: 800; font-size: 18px; color: var(--drcf-navy); cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
.drcf-amount:hover { border-color: var(--drcf-primary); }
.drcf-amount.is-active { border-color: var(--drcf-primary); background: var(--drcf-primary-soft); color: var(--drcf-primary); }
.drcf-amount:focus-within { border-color: var(--drcf-primary); }
.drcf-amount input[type="radio"] {
	position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; margin: 0;
}
/* Custom amount chip: a visible text field (must not hit the invisible radio overlay above). */
.drcf-amount input[type="text"] {
	position: static; width: 100%; height: auto; opacity: 1; margin: 0; padding: 0;
	border: 0; background: transparent; font: inherit; color: inherit; text-align: center; outline: none;
}
.drcf-amount input[type="text"]::placeholder { color: var(--drcf-muted); font-weight: 700; opacity: 1; }

.drcf-progress { margin: 34px 0 8px; }
.drcf-progress__stats {
	display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
	border-block: 1px solid var(--drcf-line); padding: 18px 0; margin-bottom: 18px;
}
.drcf-progress__stats strong { display: block; font-size: 26px; font-weight: 800; color: var(--drcf-navy); }
.drcf-progress__stats span { color: var(--drcf-muted); font-size: 14px; font-weight: 700; }
.drcf-progress__track { height: 14px; border-radius: 7px; background: var(--drcf-primary-soft); overflow: hidden; }
.drcf-progress__fill {
	height: 100%; border-radius: 7px;
	background: linear-gradient(90deg, #2673d7, #1e5fc0);
	transition: width 0.8s var(--drcf-ease);
}
.drcf-progress__pct { text-align: center; color: var(--drcf-muted); font-size: 14px; margin-top: 8px; font-weight: 700; }

.drcf-secure {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	color: var(--drcf-navy); font-weight: 800; font-size: 15px; margin-top: 26px;
}
.drcf-secure svg { width: 22px; height: 22px; color: var(--drcf-primary); }

/* =============================================================
   Forms (referral / contact)
   ============================================================= */
.drcf-form { display: grid; gap: 20px; }
.drcf-field { display: grid; gap: 7px; }
.drcf-field > label { font-weight: 800; font-size: 14.5px; color: var(--drcf-navy); }
.drcf-field .req { color: #c0392b; }
.drcf-field input[type="text"],
.drcf-field input[type="email"],
.drcf-field input[type="tel"],
.drcf-field input[type="date"],
.drcf-field select,
.drcf-field textarea {
	width: 100%;
	border: 2px solid var(--drcf-line);
	border-radius: 12px;
	background: #fff;
	padding: 12px 14px;
	font-family: var(--drcf-font-sans);
	font-size: 16px;
	color: var(--drcf-text);
	transition: border-color 0.2s;
}
.drcf-field input:focus, .drcf-field select:focus, .drcf-field textarea:focus { border-color: var(--drcf-primary); outline: none; }
.drcf-field small { color: var(--drcf-muted); }
.drcf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drcf-field--check { display: flex; gap: 12px; align-items: flex-start; background: var(--drcf-offwhite); border-radius: 12px; padding: 16px; }
.drcf-field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--drcf-primary); }
.drcf-field--check label { font-weight: 700; font-size: 15px; color: var(--drcf-text); }
.drcf-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.drcf-form legend { font-weight: 800; color: var(--drcf-navy); font-size: 14.5px; margin-bottom: 10px; }
.drcf-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.drcf-radios label {
	border: 2px solid var(--drcf-line); border-radius: var(--drcf-pill);
	padding: 9px 18px; font-weight: 700; font-size: 14.5px; color: var(--drcf-navy);
	cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
	transition: border-color .2s, background .2s;
}
.drcf-radios label:has(input:checked) { border-color: var(--drcf-primary); background: var(--drcf-primary-soft); color: var(--drcf-primary); }
.drcf-radios input { accent-color: var(--drcf-primary); }

.drcf-formmsg { border-radius: 14px; padding: 18px 22px; font-weight: 700; }
.drcf-formmsg--ok { background: #e5f6ec; color: #176b3a; border: 1px solid #b9e6cb; }
.drcf-formmsg--err { background: #fdecea; color: #9c2318; border: 1px solid #f5c6bf; }

/* =============================================================
   Generic page (compliance pages)
   ============================================================= */
.drcf-page { max-width: 820px; margin: 0 auto; }
.drcf-page h2 { font-size: 26px; margin-top: 1.6em; }
.drcf-page h3 { font-size: 20px; margin-top: 1.4em; }
.drcf-page ul, .drcf-page ol { padding-left: 22px; }
.drcf-page li { margin-bottom: 8px; }
.drcf-page--head { max-width: 820px; margin: 0 auto 20px; }
.drcf-page--head h1 { font-size: clamp(30px, 4vw, 44px); }
.drcf-page--head .drcf-rule { width: 56px; height: 4px; border-radius: 2px; background: var(--drcf-primary); margin-top: 12px; }
.drcf-breadcrumb { font-size: 14px; color: var(--drcf-muted); padding-top: 28px; }
.drcf-breadcrumb a { color: var(--drcf-muted); font-weight: 700; }

/* =============================================================
   Page-specific components (added to match mockups 01–07)
   ============================================================= */

/* About hero — text sits on a light-blue rounded card (mockup 02) */
.drcf-hero--card .drcf-hero__content {
	background: var(--drcf-sky);
	border-radius: 28px;
	padding: 52px 48px;
	max-width: none;
}
.drcf-hero--card .drcf-hero__text { color: var(--drcf-text); }

/* Revive Creations brand logo (client-supplied artwork, transparent PNG) */
.drcf-rc-logo { display: block; height: clamp(88px, 9vw, 116px); width: auto; margin-bottom: 16px; }

/* Vision & mission combined sky panel (mockup 02) */
.drcf-vision {
	background: var(--drcf-sky);
	border-radius: 28px;
	padding: 56px;
}

/* Journey timeline v2 — central axis, 4 alternating cards (mockup 06) */
.drcf-j2 { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.drcf-j2__axis {
	position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
	transform: translateX(-50%);
	background: #9cc4f5; border-radius: 2px;
}
.drcf-j2__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 44px; }
.drcf-j2__row:last-child { margin-bottom: 0; }
.drcf-j2__node {
	position: absolute; left: 50%; top: 46px; transform: translate(-50%, 0);
	width: 58px; height: 58px; border-radius: 50%; z-index: 2;
	background: var(--drcf-navy); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(16, 28, 68, 0.25);
}
.drcf-j2__node svg { width: 26px; height: 26px; }
.drcf-j2__card {
	background: #eef5fd;
	border-radius: 20px;
	padding: 26px 30px 22px;
}
.drcf-j2__row--left .drcf-j2__card { grid-column: 1; grid-row: 1; margin-right: 52px; }
.drcf-j2__row--right .drcf-j2__card { grid-column: 2; grid-row: 1; margin-left: 52px; }
.drcf-j2__card h3 { font-size: 19px; margin-bottom: 14px; }
.drcf-j2__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.drcf-j2__step { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--drcf-text); line-height: 1.55; }
.drcf-j2__num {
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
	background: var(--drcf-primary); color: #fff;
	font-size: 13px; font-weight: 800;
	display: inline-flex; align-items: center; justify-content: center;
}
.drcf-j2__step svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--drcf-primary); margin-top: 2px; }

/* Community inclusion — icon tiles grid + CTA tile (mockup 04) */
.drcf-tiles { display: grid; grid-template-columns: 1.1fr 2.9fr; gap: 48px; align-items: center; }
.drcf-tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.drcf-tile {
	background: #fff; border-radius: 18px; padding: 22px;
	box-shadow: var(--drcf-shadow); border: 1px solid rgba(211, 228, 247, 0.6);
	display: flex; align-items: center; gap: 16px;
	font-weight: 700; color: var(--drcf-navy); font-size: 15px; line-height: 1.5;
}
.drcf-tile .drcf-iconcircle { width: 46px; height: 46px; flex: 0 0 46px; }
.drcf-tile .drcf-iconcircle svg { width: 22px; height: 22px; }
.drcf-tile--cta { justify-content: center; }
.drcf-tile--cta a { font-weight: 800; font-size: 16px; white-space: normal; }

/* Revive Creations feature: text card | photo | stats card (mockup 04) */
.drcf-feature {
	display: grid; grid-template-columns: 1.15fr 1.3fr 0.85fr; gap: 28px;
	background: #fff; border-radius: 28px; box-shadow: var(--drcf-shadow-lg);
	padding: 34px;
}
.drcf-feature__media img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.drcf-feature__side { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.drcf-feature__stat { border-left: 4px solid var(--drcf-primary); padding-left: 16px; }
.drcf-feature__stat strong { display: block; font-size: 26px; color: var(--drcf-primary); font-weight: 800; line-height: 1.1; }
.drcf-feature__stat span { color: var(--drcf-muted); font-size: 14px; font-weight: 700; }

/* Get involved — contributions icon row (mockup 05) */
.drcf-contrib {
	background: var(--drcf-sky); border-radius: 28px;
	padding: 56px 40px 48px;
}
.drcf-contrib__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 8px; text-align: center; }
.drcf-contrib__item { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 800; color: var(--drcf-navy); font-size: 15px; line-height: 1.35; }
.drcf-contrib__item .drcf-iconcircle { width: 68px; height: 68px; }

/* Full-bleed photo banner (Get involved, mockup 05) */
.drcf-banner { position: relative; margin: 88px 0 -96px; }
.drcf-banner img { width: 100%; height: min(480px, 62vh); object-fit: cover; display: block; }

/* Referral information band (Support coordination, mockup 06) */
.drcf-refinfo {
	background: var(--drcf-sky); border-radius: 28px;
	padding: 44px 48px;
	display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.drcf-refinfo__head { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
.drcf-refinfo h2 { font-size: 26px; margin: 0; }
.drcf-refinfo p { margin: 0; color: var(--drcf-text); font-size: 16px; max-width: 720px; }

/* Donate stats captions (mockup 07) */
.drcf-progress__labels { display: flex; justify-content: space-between; color: var(--drcf-muted); font-size: 13.5px; font-weight: 700; margin-top: 6px; }
.drcf-donate-bar h1 { font-weight: 800; letter-spacing: 0; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
	.drcf-nav ul { gap: 2px; }
	.drcf-nav a { padding: 8px 9px; font-size: 14px; }
	.drcf-cards--5, .drcf-numcards { grid-template-columns: repeat(3, 1fr); }
	.drcf-cards--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
	.drcf-burger { display: block; }
	.drcf-nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--drcf-line);
		box-shadow: 0 18px 30px rgba(18, 37, 94, 0.12);
		padding: 18px 24px 26px;
	}
	.drcf-nav.is-open { display: block; }
	.drcf-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.drcf-nav a { padding: 12px 14px; font-size: 16px; }
	.drcf-nav .current-menu-item > a { box-shadow: inset 3px 0 0 var(--drcf-primary); border-radius: 8px; }
	.drcf-header__cta { display: none; }
	.drcf-header__cta--mobile { display: block; margin-top: 14px; }

	.drcf-hero__inner, .drcf-split, .drcf-dark, .drcf-approach, .drcf-facts { grid-template-columns: 1fr; }
	.drcf-hero--flip .drcf-hero__inner > .drcf-hero__media { order: 0; }
	.drcf-hero__media { max-width: 560px; }
	.drcf-cards--3 { grid-template-columns: 1fr; }
	.drcf-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.drcf-cards--5, .drcf-numcards { grid-template-columns: repeat(2, 1fr); }

	.drcf-hero--card .drcf-hero__content { padding: 36px 30px; }
	.drcf-tiles { grid-template-columns: 1fr; gap: 32px; }
	.drcf-tiles__grid { grid-template-columns: repeat(2, 1fr); }
	.drcf-feature { grid-template-columns: 1fr; }
	.drcf-contrib__row { grid-template-columns: repeat(3, 1fr); }
	.drcf-refinfo { grid-template-columns: 1fr; }
	.drcf-vision { padding: 36px 30px; }
	.drcf-banner { margin: 64px 0 -64px; }

	/* Journey collapses to a single left-axis list */
	.drcf-j2__axis { left: 20px; }
	.drcf-j2__row { grid-template-columns: 1fr; }
	.drcf-j2__row--left .drcf-j2__card, .drcf-j2__row--right .drcf-j2__card {
		grid-column: 1; grid-row: 1; margin: 0 0 0 54px;
	}
	.drcf-j2__node { left: 20px; top: 0; width: 44px; height: 44px; }
	.drcf-j2__node svg { width: 20px; height: 20px; }
	.drcf-cta { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
	.drcf-cta__actions { flex-direction: row; flex-wrap: wrap; }
	.drcf-footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
	.drcf-journey__axis { left: 26px; }
	.drcf-steps { grid-template-columns: 1fr; padding-left: 26px; }
	.drcf-stage__chip { margin-left: 0; }
}

@media (max-width: 640px) {
	.drcf-section { padding: 60px 0; }
	.drcf-hero { padding: 48px 0 64px; }

	/* Compact header: keep badge + DRCF wordmark, drop the small caps line */
	.drcf-header__inner { min-height: 68px; gap: 14px; }
	.drcf-logo { width: 46px; height: 46px; flex: 0 0 46px; }
	.drcf-header__wordmark strong { font-size: 21px; }
	.drcf-header__wordmark span { display: none; }

	/* Pull decorative circles inside the viewport */
	.drcf-hero__media::before { right: 8px; top: -18px; width: 104px; height: 104px; }
	.drcf-hero__media::after { left: 6px; bottom: -10px; width: 64px; height: 64px; }

	.drcf-cta__actions { flex-direction: column; align-items: stretch; }

	.drcf-cards--5, .drcf-numcards, .drcf-cards--4, .drcf-checklist, .drcf-featlist, .drcf-grid2,
	.drcf-amounts, .drcf-plan, .drcf-stats, .drcf-progress__stats,
	.drcf-contrib__row, .drcf-tiles__grid { grid-template-columns: 1fr; }
	.drcf-footer__main { grid-template-columns: 1fr; }
	.drcf-dark, .drcf-approach, .drcf-donate-card, .drcf-cta { padding: 36px 26px; }
	.drcf-step { padding: 24px 20px 20px 66px; }
	.drcf-split { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
