/* RME website styles */


/* ---------- Brand tokens ---------- */
:root {
	--rme-blue: #176dff;      /* from the RME logo */
	--rme-navy: #0f1e45;      /* deep structure colour */
	--rme-navy-2: #18306b;
	--rme-coral: #df4c3c;     /* primary actions only */
	--rme-coral-soft: #f0645a;
	--rme-gold: #f6b64a;      /* highlights */
	--rme-green: #1f9d6b;
	--rme-ivory: #fffcf5;
	--rme-sky: #eef4ff;
	--rme-ink: #20242b;
	--rme-muted: #5a6172;
	--rme-line: #e6e2d8;
	--rme-radius: 18px;
	--rme-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rme-brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13c40-6 92-9 150-8 50 1 94 3 142 0' fill='none' stroke='%23f6b64a' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Sections ---------- */
.rme-section {
	font-family: var(--rme-font);
	color: var(--rme-ink);
	background: #fff;
	padding: clamp(56px, 8vw, 104px) 20px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	position: relative;
	overflow: hidden;
}
.rme-section .rme-wrap { max-width: 1180px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.rme-section > .rme-wrap > * + * { margin-top: 18px; }
.rme-section p { font-size: 1.06rem; line-height: 1.7; margin: 0 0 1em; }
.rme-section p:last-child { margin-bottom: 0; }
.rme-section h1, .rme-section h2, .rme-section h3, .rme-section h4 {
	font-family: var(--rme-font);
	color: var(--rme-navy);
	letter-spacing: -0.02em;
	margin: 0 0 0.45em;
	text-wrap: balance;
}
.rme-section h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; font-weight: 800; }
.rme-section h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; font-weight: 800; }
.rme-section h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 700; }
.rme-section .rme-lede { font-size: 1.18rem; color: var(--rme-muted); max-width: 720px; }

.rme-section .rme-eyebrow {
	font-size: 0.8rem !important;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rme-coral);
	margin-bottom: 12px !important;
}

.rme-section a:not(.wp-block-button__link) { color: var(--rme-blue); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(23,109,255,.25); }
.rme-section a:not(.wp-block-button__link):hover { border-bottom-color: var(--rme-blue); }

/* tinted / ivory variants */
.rme-section.rme-ivory { background: var(--rme-ivory); }
.rme-section.rme-tint { background: var(--rme-sky); }

/* ---------- Dark sections (hero, page hero, navy) ---------- */
.rme-section.rme-dark,
.rme-section.rme-hero,
.rme-section.rme-pagehero {
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(23,109,255,.45), transparent 60%),
		radial-gradient(600px 400px at 0% 100%, rgba(246,182,74,.14), transparent 60%),
		var(--rme-navy);
	color: #e8ecf7;
}
.rme-dark h1, .rme-dark h2, .rme-dark h3,
.rme-hero h1, .rme-hero h2, .rme-hero h3,
.rme-pagehero h1, .rme-pagehero h2, .rme-pagehero h3 { color: #fff; }
.rme-dark .rme-eyebrow, .rme-hero .rme-eyebrow, .rme-pagehero .rme-eyebrow { color: var(--rme-gold); }
.rme-dark .rme-lede, .rme-hero .rme-lede, .rme-pagehero .rme-lede { color: #c9d2ea; }
.rme-hero::after, .rme-pagehero::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent 40%, #000);
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.rme-hero { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }
.rme-pagehero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.rme-pagehero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 880px; }

/* brush underline on emphasised headline words */
.rme-section h1 em, .rme-section h2 em {
	font-style: normal;
	background: var(--rme-brush) no-repeat left 100% / 100% 0.32em;
	padding-bottom: 0.08em;
}

/* hero side card */
.rme-section .rme-glass {
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 24px;
	padding: 32px;
	backdrop-filter: blur(6px);
}
.rme-glass h3 { color: #fff; font-size: 1.4rem; }
.rme-glass .rme-chips { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.rme-glass .rme-chips li {
	display: flex; align-items: center; gap: 12px;
	background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px;
	font-weight: 600; color: #fff; margin: 0;
}
.rme-glass .rme-chips li::before {
	content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
	background: var(--rme-gold);
}
.rme-glass .rme-chips li:nth-child(2)::before { background: #6fa6ff; }
.rme-glass .rme-chips li:nth-child(3)::before { background: var(--rme-coral-soft); }
.rme-glass .rme-chips li:nth-child(4)::before { background: #45d39a; }

/* ---------- Buttons ---------- */
.rme-section.rme-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rme-section.rme-section .wp-block-button { margin: 0; }
.rme-section.rme-section .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--rme-coral);
	color: #fff;
	font-family: var(--rme-font);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.2;
	padding: 15px 26px;
	min-height: 50px;
	border-radius: 12px;
	border: 2px solid var(--rme-coral);
	text-decoration: none;
	box-shadow: 0 8px 20px -10px rgba(223,76,60,.7);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rme-section.rme-section .wp-block-button__link::after { content: "→"; transition: transform .15s ease; }
.rme-section.rme-section .wp-block-button__link:hover { transform: translateY(-2px); background: #c93f30; border-color: #c93f30; color: #fff; }
.rme-section.rme-section .wp-block-button__link:hover::after { transform: translateX(3px); }
.rme-section.rme-section .is-style-outline .wp-block-button__link {
	background: transparent; color: var(--rme-navy); border-color: var(--rme-navy); box-shadow: none;
}
.rme-section.rme-section .is-style-outline .wp-block-button__link:hover { background: var(--rme-navy); color: #fff; }
.rme-section.rme-section.rme-dark .is-style-outline .wp-block-button__link,
.rme-section.rme-section.rme-hero .is-style-outline .wp-block-button__link,
.rme-section.rme-section.rme-pagehero .is-style-outline .wp-block-button__link,
.rme-section.rme-section.rme-cta .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.75); }
.rme-section.rme-section.rme-dark .is-style-outline .wp-block-button__link:hover,
.rme-section.rme-section.rme-hero .is-style-outline .wp-block-button__link:hover,
.rme-section.rme-section.rme-pagehero .is-style-outline .wp-block-button__link:hover,
.rme-section.rme-section.rme-cta .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--rme-navy); border-color: #fff; }
.rme-section.rme-section.rme-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--rme-coral); border-color: #fff; box-shadow: none; }
.rme-section.rme-section.rme-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--rme-navy); border-color: var(--rme-navy); color: #fff; }

/* ---------- Columns ---------- */
.rme-section .wp-block-columns { gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0; }
.rme-section .wp-block-columns.rme-top { align-items: flex-start; }

/* ---------- Proof-point stats ---------- */
.rme-section.rme-statsband { padding-top: 40px; padding-bottom: 40px; background: var(--rme-ivory); border-bottom: 1px solid var(--rme-line); }
.rme-section ul.rme-stats {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.rme-section ul.rme-stats li {
	margin: 0; padding: 8px 22px; color: var(--rme-muted); font-size: .98rem; line-height: 1.4;
	border-left: 1px solid var(--rme-line);
}
.rme-section ul.rme-stats li:first-child { border-left: 0; padding-left: 0; }
.rme-section ul.rme-stats li strong {
	display: block; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.05; font-weight: 800;
	color: var(--rme-navy); letter-spacing: -0.03em; margin-bottom: 6px;
}
.rme-section ul.rme-stats li:nth-child(2) strong { color: var(--rme-blue); }
.rme-section ul.rme-stats li:nth-child(3) strong { color: var(--rme-coral); }
.rme-section ul.rme-stats li:nth-child(4) strong { color: #c98a14; }
.rme-section ul.rme-stats li:nth-child(5) strong { color: var(--rme-green); }

/* ---------- Card grids ---------- */
.rme-section .rme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; counter-reset: rmecard; }
.rme-section .rme-grid.rme-cols-4 { grid-template-columns: repeat(4, 1fr); }
.rme-section .rme-grid.rme-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rme-section .rme-grid.rme-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rme-section .rme-grid > * { margin: 0 !important; }
.rme-section .rme-card {
	background: #fff;
	border: 1px solid var(--rme-line);
	border-radius: var(--rme-radius);
	padding: 28px;
	box-shadow: 0 1px 0 rgba(15,30,69,.04), 0 18px 40px -30px rgba(15,30,69,.35);
	position: relative;
	display: flex; flex-direction: column;
}
.rme-section .rme-card > * { margin-top: 0; }
.rme-section .rme-card p { font-size: .98rem; color: var(--rme-muted); }
.rme-section .rme-card .wp-block-buttons { margin-top: auto; padding-top: 18px; }
.rme-section .rme-card .wp-block-button__link { padding: 11px 18px; min-height: 44px; font-size: .95rem; }
.rme-tint .rme-card, .rme-ivory .rme-card { border-color: transparent; }

/* numbered cards */
.rme-section .rme-numbered > .rme-card::before {
	counter-increment: rmecard;
	content: counter(rmecard, decimal-leading-zero);
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
	font-weight: 800; font-size: 1rem; color: #fff; background: var(--rme-blue);
}
.rme-section .rme-numbered > .rme-card:nth-child(4n+2)::before { background: var(--rme-gold); color: var(--rme-navy); }
.rme-section .rme-numbered > .rme-card:nth-child(4n+3)::before { background: var(--rme-coral); }
.rme-section .rme-numbered > .rme-card:nth-child(4n+4)::before { background: var(--rme-green); }
.rme-section .rme-numbered > .rme-card:nth-child(4n+1) { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, rgba(23,109,255,.35), transparent 60%) border-box; }

/* top accent cards */
.rme-section .rme-accent > .rme-card { border-top: 4px solid var(--rme-blue); }
.rme-section .rme-accent > .rme-card:nth-child(4n+2) { border-top-color: var(--rme-gold); }
.rme-section .rme-accent > .rme-card:nth-child(4n+3) { border-top-color: var(--rme-coral); }
.rme-section .rme-accent > .rme-card:nth-child(4n+4) { border-top-color: var(--rme-green); }

/* ---------- Timeline ---------- */
.rme-section .rme-timeline { position: relative; }
.rme-section .rme-timeline > .rme-card { padding-top: 34px; }
.rme-section .rme-timeline > .rme-card::before {
	content: ""; position: absolute; top: -9px; left: 28px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--rme-gold); border: 4px solid var(--rme-sky);
}
.rme-section .rme-timeline > .rme-card:nth-child(2)::before { background: var(--rme-blue); }
.rme-section .rme-timeline > .rme-card:nth-child(3)::before { background: var(--rme-coral); }
.rme-section .rme-timeline > .rme-card:nth-child(4)::before { background: var(--rme-green); }
.rme-section .rme-timeline .rme-when { font-weight: 800; color: var(--rme-navy); font-size: 1.05rem; margin-bottom: 8px; }

/* ---------- Investment allocation ---------- */
.rme-section ul.rme-alloc { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rme-section ul.rme-alloc li {
	margin: 0; background: #fff; border-radius: var(--rme-radius); padding: 24px; color: var(--rme-muted);
	border: 1px solid var(--rme-line); font-size: .98rem; line-height: 1.55;
}
.rme-section ul.rme-alloc li strong { display: block; font-size: 2.4rem; line-height: 1; color: var(--rme-navy); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.rme-section ul.rme-alloc li:nth-child(1) strong { color: var(--rme-blue); }
.rme-section ul.rme-alloc li:nth-child(2) strong { color: var(--rme-coral); }
.rme-section ul.rme-alloc li:nth-child(3) strong { color: #c98a14; }
.rme-section ul.rme-alloc li:nth-child(4) strong { color: var(--rme-green); }

/* ---------- Ticked lists ---------- */
.rme-section ul.rme-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rme-section ul.rme-ticks li { position: relative; padding-left: 36px; margin: 0; line-height: 1.6; }
.rme-section ul.rme-ticks li::before {
	content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
	display: grid; place-items: center; font-size: .8rem; font-weight: 800;
	background: rgba(23,109,255,.12); color: var(--rme-blue);
}

/* facts panel */
.rme-section .rme-facts { background: var(--rme-navy); color: #dfe6f7; border-radius: 24px; padding: 34px; }
.rme-section .rme-facts h3 { color: #fff; }
.rme-section .rme-facts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.rme-section .rme-facts li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); margin: 0; line-height: 1.5; }
.rme-section .rme-facts li strong { display: block; color: var(--rme-gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Tables ---------- */
.rme-section .wp-block-table.rme-table { margin: 32px 0 0; overflow-x: auto; }
.rme-section .rme-table table {
	width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
	border: 1px solid var(--rme-line); border-radius: var(--rme-radius); overflow: hidden; font-size: .98rem;
}
.rme-section .rme-table th { background: var(--rme-navy); color: #fff; text-align: left; font-weight: 700; padding: 16px 20px; border: 0; }
.rme-section .rme-table td { padding: 16px 20px; border: 0; border-top: 1px solid var(--rme-line); vertical-align: top; color: var(--rme-ink); line-height: 1.55; }
.rme-section .rme-table tbody tr:nth-child(even) td { background: #fbfaf6; }
.rme-section .rme-table td:first-child { font-weight: 700; color: var(--rme-navy); }

/* ---------- Quote ---------- */
.rme-section .wp-block-quote.rme-quote {
	border: 0; margin: 0; padding: 40px 44px; border-radius: 24px; background: var(--rme-ivory); position: relative;
}
.rme-section .wp-block-quote.rme-quote::before {
	content: "“"; position: absolute; top: -10px; left: 30px; font-size: 7rem; line-height: 1; color: var(--rme-coral); font-family: Georgia, serif;
}
.rme-section .wp-block-quote.rme-quote p { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-style: italic; color: var(--rme-navy); line-height: 1.5; margin-top: 30px; }
.rme-section .wp-block-quote.rme-quote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; color: var(--rme-muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.rme-section.rme-cta {
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(246,182,74,.45), transparent 65%),
		linear-gradient(120deg, #e8584a, #df4c3c 55%, #c93f30);
	color: #fff;
}
.rme-cta h2 { color: #fff; }
.rme-cta .rme-eyebrow { color: #ffe2b0 !important; }
.rme-cta p { color: #fff3ef; }
.rme-section.rme-cta::before {
	content: ""; position: absolute; left: -60px; top: -40px; width: 260px; height: 140%; z-index: 0;
	background: repeating-linear-gradient(115deg, rgba(255,255,255,.08) 0 14px, transparent 14px 34px);
	transform: skewX(-12deg);
}

/* note / placeholder slots */
.rme-section .rme-note { background: #fff8e8; border: 1px dashed #e2b65c; border-radius: 14px; padding: 18px 20px; color: #6b5118; font-size: .95rem; }
.rme-section .rme-form-slot { background: #fff; border: 2px dashed #c5cde0; border-radius: 18px; padding: 36px 24px; text-align: center; color: var(--rme-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rme-section ul.rme-stats { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
	.rme-section ul.rme-stats li:nth-child(4) { border-left: 0; padding-left: 0; }
	.rme-section .rme-grid.rme-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.rme-section ul.rme-alloc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
	.rme-section .rme-grid.rme-cols-4,
	.rme-section .rme-grid.rme-cols-3,
	.rme-section .rme-grid.rme-cols-2,
	.rme-section ul.rme-alloc { grid-template-columns: 1fr; }
	.rme-section ul.rme-stats { grid-template-columns: repeat(2, 1fr); }
	.rme-section ul.rme-stats li { border-left: 0; padding-left: 0; }
	.rme-section ul.rme-stats li:last-child { grid-column: 1 / -1; }
	.rme-section .rme-glass { padding: 24px; }
	.rme-section .wp-block-quote.rme-quote { padding: 32px 24px; }
	.rme-section.rme-section .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.rme-section.rme-section .wp-block-button__link { justify-content: center; width: 100%; }
	.rme-section .rme-table th, .rme-section .rme-table td { padding: 12px 14px; }
}


/* ================= Static-site shell: base, header, footer, forms ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--rme-ink); font-family: var(--rme-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--rme-blue); }
:focus-visible { outline: 3px solid var(--rme-gold); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--rme-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* core-block layout the WordPress editor normally provides */
.wp-block-columns { display: flex; flex-wrap: nowrap; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column.w-38, .wp-block-column.w-40, .wp-block-column.w-42, .wp-block-column.w-45,
.wp-block-column.w-50, .wp-block-column.w-55, .wp-block-column.w-58, .wp-block-column.w-60, .wp-block-column.w-62 { flex-grow: 0; }
.w-38 { flex-basis: 38% !important; } .w-40 { flex-basis: 40% !important; } .w-42 { flex-basis: 42% !important; }
.w-45 { flex-basis: 45% !important; } .w-50 { flex-basis: 50% !important; } .w-55 { flex-basis: 55% !important; }
.w-58 { flex-basis: 58% !important; } .w-60 { flex-basis: 60% !important; } .w-62 { flex-basis: 62% !important; }
@media (max-width: 781px) { .wp-block-columns { flex-wrap: wrap; } .wp-block-column { flex-basis: 100% !important; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,245,.97); border-bottom: 1px solid var(--rme-line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,252,245,.88); backdrop-filter: blur(8px); } }
.site-header .in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rme-navy); flex: none; }
.brand img { width: 50px; height: 50px; }
.brand span { font-weight: 800; line-height: 1.05; font-size: 15px; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--rme-blue); }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a { color: var(--rme-navy); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 10px; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover { background: var(--rme-sky); }
.site-nav a[aria-current="page"] { color: var(--rme-blue); box-shadow: inset 0 -3px 0 var(--rme-gold); border-radius: 0; }
.header-cta { background: var(--rme-coral); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 11px 18px; border-radius: 10px; flex: none; }
.header-cta:hover { background: #c93f30; }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1px solid var(--rme-line); border-radius: 10px; width: 46px; height: 46px; color: var(--rme-navy); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1200px) {
	.nav-toggle { display: grid; place-items: center; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--rme-ivory); flex-direction: column; padding: 8px 16px 18px; border-bottom: 1px solid var(--rme-line); box-shadow: 0 20px 30px -20px rgba(15,30,69,.35); }
	.site-nav.open { display: flex; }
	.site-nav a { padding: 13px 12px; font-size: 16px; }
	.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rme-gold); }
	.header-cta { order: 3; }
	.nav-toggle { order: 4; margin-left: 0; }
	.brand { margin-right: auto; }
}
@media (max-width: 420px) { .brand span { font-size: 13px; } .brand small { font-size: 9px; } .header-cta { padding: 10px 13px; font-size: 13.5px; } }

/* footer */
.site-footer { background: var(--rme-navy); color: #b9c3de; font-size: 15px; }
.site-footer .in { max-width: 1180px; margin: 0 auto; padding: 64px 20px 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; margin: 0 0 14px; font-size: 15px; }
.site-footer a { color: #dfe6f7; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--rme-gold); }
.site-footer .tag { color: #fff; font-weight: 800; font-size: 20px; line-height: 1.3; margin: 16px 0 10px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; }
.site-footer .legal a { display: inline; padding: 0; }
@media (max-width: 781px) { .site-footer .in { grid-template-columns: 1fr; gap: 28px; } }

/* forms */
.rme-form { background: #fff; border: 1px solid var(--rme-line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 18px 40px -30px rgba(15,30,69,.35); }
.rme-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.rme-form .full { grid-column: 1 / -1; }
.rme-form label { display: block; font-weight: 700; font-size: .92rem; color: var(--rme-navy); margin-bottom: 6px; }
.rme-form label .opt { font-weight: 500; color: var(--rme-muted); }
.rme-form input[type=text], .rme-form input[type=email], .rme-form input[type=tel], .rme-form select, .rme-form textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--rme-ink); background: #fbfaf6;
	border: 1.5px solid #d9d4c7; border-radius: 12px; padding: 13px 14px; min-height: 50px;
}
.rme-form textarea { min-height: 130px; resize: vertical; }
.rme-form input:focus, .rme-form select:focus, .rme-form textarea:focus { outline: none; border-color: var(--rme-blue); background: #fff; box-shadow: 0 0 0 4px rgba(23,109,255,.15); }
.rme-form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--rme-ink); font-size: .95rem; line-height: 1.5; margin: 0; }
.rme-form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--rme-blue); }
.rme-form button { margin-top: 8px; font: inherit; font-weight: 700; font-size: 1.02rem; color: #fff; background: var(--rme-coral); border: 0; border-radius: 12px; padding: 15px 28px; min-height: 52px; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(223,76,60,.7); }
.rme-form button:hover { background: #c93f30; }
.rme-form button[disabled] { opacity: .6; cursor: wait; }
.rme-form .hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.rme-form .fine { font-size: .85rem !important; color: var(--rme-muted); margin: 4px 0 0 !important; }
.form-alert { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; background: #fdecea; color: #8a2216; border: 1px solid #f3b8b0; }
.form-alert[hidden] { display: none; }
@media (max-width: 640px) { .rme-form .grid { grid-template-columns: 1fr; } .rme-form button { width: 100%; } }

/* ================= Photo heroes (all pages) ================= */
.rme-section.has-photo { background: var(--rme-navy); isolation: isolate; }
.rme-section.has-photo .rme-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; max-width: none; }
.rme-bg.pos-a { object-position: 72% 30%; }
.rme-bg.pos-b { object-position: 80% 22%; }
.rme-section.has-photo::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mask-image: none; -webkit-mask-image: none;
	background:
		linear-gradient(90deg, rgba(12,24,58,.97) 0%, rgba(12,24,58,.90) 34%, rgba(12,24,58,.55) 58%, rgba(12,24,58,.12) 82%, rgba(12,24,58,0) 100%),
		linear-gradient(0deg, rgba(12,24,58,.55) 0%, rgba(12,24,58,0) 30%);
}
.rme-section.has-photo .rme-wrap > * { max-width: 640px; }
.rme-section.has-photo .rme-wrap > h1 { max-width: 820px; }
.rme-section.rme-hero.has-photo { min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; }
.rme-section.rme-hero.has-photo > .rme-wrap { width: 100%; }
.rme-section.rme-hero.has-photo h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.rme-section.rme-pagehero.has-photo { min-height: clamp(400px, 52vh, 540px); display: flex; align-items: center; }
.rme-section.rme-pagehero.has-photo > .rme-wrap { width: 100%; }
.rme-section.has-photo .rme-lede { color: #e3e8f5; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
@media (max-width: 781px) {
	.rme-bg.pos-a { object-position: 78% 30%; }
	.rme-bg.pos-b { object-position: 82% 30%; }
	.rme-section.has-photo::after { background: linear-gradient(180deg, rgba(12,24,58,.62) 0%, rgba(12,24,58,.82) 45%, rgba(12,24,58,.95) 100%); }
	.rme-section.rme-hero.has-photo, .rme-section.rme-pagehero.has-photo { min-height: 0; padding-top: 140px; }
}

/* ================= Photo + navy split (stories) ================= */
.rme-section.rme-split { padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--rme-navy); color: #e8ecf7; }
.rme-split > .rme-split-img { margin: 0 !important; position: relative; min-height: 460px; }
.rme-split > .rme-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.rme-split > .rme-split-panel {
	margin: 0 !important; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center;
	background:
		radial-gradient(520px 320px at 100% 100%, rgba(246,182,74,.16), transparent 70%),
		radial-gradient(600px 400px at 90% 0%, rgba(23,109,255,.35), transparent 65%),
		var(--rme-navy);
	position: relative; overflow: hidden;
}
.rme-split > .rme-split-panel::after {
	content: ""; position: absolute; right: -40px; bottom: 36px; width: 240px; height: 18px; transform: rotate(-12deg);
	background: var(--rme-brush) no-repeat center / 100% 100%; opacity: .9;
}
.rme-split-panel > * { max-width: 520px; position: relative; z-index: 1; }
.rme-split-panel h2 { color: #fff; }
.rme-split-panel .rme-eyebrow { color: var(--rme-gold); }
.rme-split-panel .rme-lede { color: #c9d2ea; }
.rme-split-panel .rme-note { background: rgba(255,255,255,.06); border-color: rgba(246,182,74,.6); color: #f3e2bb; }
.rme-section.rme-section.rme-split .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.75); }
.rme-section.rme-section.rme-split .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--rme-navy); border-color: #fff; }
.rme-section.rme-section.rme-split .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--rme-gold); border-color: var(--rme-gold); color: var(--rme-navy); box-shadow: none; }
.rme-section.rme-section.rme-split .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #ffc965; border-color: #ffc965; }
@media (max-width: 781px) {
	.rme-section.rme-split { grid-template-columns: 1fr; }
	.rme-split > .rme-split-img { min-height: 340px; }
}

/* ================= Pillar cards with icons (mockup style) ================= */
.rme-section .rme-pillars > .rme-card { border: 0; box-shadow: none; padding: 28px 26px 30px; }
.rme-section .rme-pillars > .rme-card::before {
	content: ""; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; flex: none;
	background-repeat: no-repeat; background-position: center; background-size: 26px 26px;
}
.rme-section .rme-pillars > .rme-card:nth-child(1) { background: #eaf6f0; }
.rme-section .rme-pillars > .rme-card:nth-child(1)::before { background-color: var(--rme-green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.1-6C9.5 14.5 12 13 13 12'/%3E%3C/svg%3E"); }
.rme-section .rme-pillars > .rme-card:nth-child(2) { background: #edf3ff; }
.rme-section .rme-pillars > .rme-card:nth-child(2)::before { background-color: var(--rme-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M2 20h20'/%3E%3C/svg%3E"); }
.rme-section .rme-pillars > .rme-card:nth-child(3) { background: #fdeeec; }
.rme-section .rme-pillars > .rme-card:nth-child(3)::before { background-color: var(--rme-coral);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 13h20'/%3E%3C/svg%3E"); }
.rme-section .rme-pillars > .rme-card:nth-child(4) { background: #fff5e3; }
.rme-section .rme-pillars > .rme-card:nth-child(4)::before { background-color: var(--rme-gold);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.rme-section .rme-pillars > .rme-card p { color: #4c5466; }
