/* =================================================================
   Dr. Raymond Joseph Malinga — site stylesheet
   Served from /files/rjm/rjm.css (linked in Website Settings > HEAD HTML)
   Prefixes: .rjh = header, .rj = page content, .rjf = footer
   ================================================================= */

@font-face {
	font-family: "RJ Serif";
	src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "RJ Serif";
	src: url("fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "RJ Sans";
	src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
	--rj-ink: #0d2840;
	--rj-navy: #123a5c;
	--rj-blue: #1c6ea4;
	--rj-blue-soft: #e8f1f8;
	--rj-sand: #b08a52;
	--rj-sand-soft: #f5f0e7;
	--rj-text: #1b2935;
	--rj-muted: #556677;
	--rj-line: #d9e2ea;
	--rj-soft: #f4f7f9;
	--rj-white: #ffffff;
	--rj-serif: "RJ Serif", Georgia, "Times New Roman", serif;
	--rj-sans: "RJ Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--rj-shell: min(1240px, calc(100% - 64px));
	--rj-radius: 6px;
	--rj-header-h: 84px;
}

/* ---------- Frappe page-frame resets ---------- */
body {
	margin: 0;
	font-family: var(--rj-sans);
	color: var(--rj-text);
	background: var(--rj-white);
	-webkit-font-smoothing: antialiased;
}
.page-content-wrapper { padding: 0 !important; margin: 0 !important; }
.page-content-wrapper > main,
.page-content-wrapper .page_content,
.page-content-wrapper .web-page-content {
	margin: 0 !important; padding: 0 !important;
	max-width: none !important; width: 100% !important;
}
.page-breadcrumbs, .page-header-wrapper { display: none !important; }

.rj, .rjh, .rjf { font-family: var(--rj-sans); }
.rj *, .rjh *, .rjf * { box-sizing: border-box; }
.rj img, .rjh img, .rjf img { max-width: 100%; display: block; }
.rj a, .rjh a, .rjf a { text-decoration: none; }
.rj h1, .rj h2, .rj h3, .rj h4 { font-family: var(--rj-serif); color: var(--rj-ink); margin: 0; }
.rj p { margin: 0; }

.rj-shell { width: var(--rj-shell); margin-inline: auto; }

/* ================================================================
   HEADER
   ================================================================ */
.rjh { position: sticky; top: 0; z-index: 1030; background: var(--rj-white); }

.rjh-util { background: var(--rj-ink); color: rgba(255,255,255,.78); font-size: 13px; }
.rjh-util > .rj-shell { display: flex; justify-content: space-between; gap: 24px; padding: 8px 0; }
.rjh-util a { color: rgba(255,255,255,.9); }
.rjh-util a:hover { color: #fff; }
.rjh-util span + span::before { content: "·"; margin: 0 10px; opacity: .5; }

.rjh-bar { border-bottom: 1px solid var(--rj-line); background: var(--rj-white); }
.rjh-bar > .rj-shell { display: flex; align-items: center; justify-content: space-between; height: var(--rj-header-h); gap: 24px; }

.rjh-brand { display: flex; align-items: center; gap: 14px; color: var(--rj-ink); }
.rjh-mark {
	width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
	background: var(--rj-ink); color: #fff; display: grid; place-items: center;
	font-family: var(--rj-serif); font-weight: 600; font-size: 18px; letter-spacing: .02em;
	position: relative;
}
.rjh-mark::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.rjh-name { display: flex; flex-direction: column; line-height: 1.15; }
.rjh-name strong { font-family: var(--rj-serif); font-size: 20px; font-weight: 600; color: var(--rj-ink); letter-spacing: -.01em; }
.rjh-name small { font-size: 12.5px; color: var(--rj-muted); letter-spacing: .04em; margin-top: 3px; }

.rjh-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; }
.rjh-nav > li { height: 100%; display: flex; align-items: center; }
.rjh-link {
	display: inline-flex; align-items: center; gap: 7px; height: 100%;
	padding: 0 16px; font-size: 15px; font-weight: 600; color: var(--rj-text);
	background: none; border: 0; cursor: pointer; font-family: var(--rj-sans);
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.rjh-link:hover, .rjh-link[aria-expanded="true"], .rjh-link.is-active { color: var(--rj-blue); border-bottom-color: var(--rj-blue); }
.rjh-caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.rjh-link[aria-expanded="true"] .rjh-caret { transform: rotate(-135deg) translateY(-1px); }

.rjh-cta {
	margin-left: 14px; display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 20px; border-radius: var(--rj-radius);
	background: var(--rj-navy); color: #fff !important; font-weight: 600; font-size: 14.5px;
	transition: background .2s;
}
.rjh-cta:hover { background: var(--rj-blue); }

/* Mega panel */
.rjh-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--rj-white); border-bottom: 1px solid var(--rj-line);
	box-shadow: 0 24px 48px -24px rgba(13,40,64,.25);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.rjh-mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rjh-mega-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; padding: 36px 0 40px; }

.rjh-feature { background: var(--rj-ink); color: rgba(255,255,255,.82); border-radius: var(--rj-radius); padding: 30px 30px 28px; display: flex; flex-direction: column; }
.rjh-feature .rjh-eyebrow { color: #d9bf93; }
.rjh-feature h2 { font-family: var(--rj-serif); color: #fff; font-weight: 500; font-size: 26px; line-height: 1.2; margin: 12px 0 14px; letter-spacing: -.01em; }
.rjh-feature p { font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.rjh-feature a { margin-top: auto; color: #fff; font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 10px; align-items: center; }
.rjh-feature a:hover { color: #d9bf93; }

.rjh-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rj-sand); }
.rjh-cards-head { margin-bottom: 14px; color: var(--rj-muted); }
.rjh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.rjh-card { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 14px; border-radius: var(--rj-radius); color: var(--rj-text); transition: background .15s; }
.rjh-card:hover, .rjh-card:focus-visible { background: var(--rj-soft); }
.rjh-card .num { font-family: var(--rj-serif); color: var(--rj-sand); font-size: 15px; font-weight: 600; padding-top: 1px; }
.rjh-card strong { display: block; font-size: 15.5px; color: var(--rj-ink); margin-bottom: 4px; }
.rjh-card small { display: block; font-size: 13.5px; line-height: 1.5; color: var(--rj-muted); }
.rjh-card:hover strong { color: var(--rj-blue); }

.rjh-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--rj-line); border-radius: var(--rj-radius); background: #fff; cursor: pointer; position: relative; }
.rjh-burger span, .rjh-burger::before, .rjh-burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--rj-ink); transition: transform .2s, opacity .2s; }
.rjh-burger::before { top: 15px; } .rjh-burger span { top: 22px; } .rjh-burger::after { top: 29px; }
.rjh.menu-open .rjh-burger::before { transform: translateY(7px) rotate(45deg); }
.rjh.menu-open .rjh-burger span { opacity: 0; }
.rjh.menu-open .rjh-burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.rjh-util { display: none; }
	:root { --rj-header-h: 72px; }
	.rjh-burger { display: block; }
	.rjh-name small { display: none; }
	.rjh-navwrap {
		position: fixed; left: 0; right: 0; top: var(--rj-header-h); bottom: 0;
		background: #fff; overflow-y: auto; padding: 8px 0 40px;
		display: none; border-top: 1px solid var(--rj-line);
	}
	.rjh.menu-open .rjh-navwrap { display: block; }
	.rjh-nav { flex-direction: column; align-items: stretch; height: auto; width: var(--rj-shell); margin: 0 auto; gap: 0; }
	.rjh-nav > li { height: auto; display: block; border-bottom: 1px solid var(--rj-line); }
	.rjh-link { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 17px; border: 0; margin: 0; }
	.rjh-link:hover, .rjh-link[aria-expanded="true"] { border: 0; }
	.rjh-mega { position: static; box-shadow: none; border: 0; transform: none; transition: none; display: none; opacity: 1; visibility: visible; }
	.rjh-mega.is-open { display: block; }
	.rjh-mega .rj-shell { width: 100%; }
	.rjh-mega-grid { grid-template-columns: 1fr; gap: 0; padding: 0 0 16px; }
	.rjh-feature, .rjh-cards-head { display: none; }
	.rjh-cards { grid-template-columns: 1fr; gap: 0; }
	.rjh-card { padding: 12px 6px; }
	.rjh-card small { display: none; }
	.rjh-nav > li.rjh-cta-li { border: 0; padding-top: 24px; }
	.rjh-cta { margin: 0; width: 100%; justify-content: center; padding: 16px; }
	body.rjh-lock { overflow: hidden; }
}

/* ================================================================
   PAGE COMPONENTS
   ================================================================ */
.rj { overflow-x: clip; }

.rj-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--rj-sand); margin-bottom: 26px; }
.rj-eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; flex: 0 0 36px; }
.rj-dark .rj-eyebrow { color: #d9bf93; }

.rj-display { font-size: clamp(40px, 4.6vw, 64px); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
.rj-title { font-size: clamp(32px, 3.3vw, 46px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.rj-display em, .rj-title em { font-style: italic; color: var(--rj-blue); font-weight: 400; }
.rj-dark .rj-title em, .rj-dark .rj-display em { color: #9cc9e8; }

.rj-lead { font-size: 20px; line-height: 1.6; color: var(--rj-text); }
.rj-body { font-size: 17px; line-height: 1.7; color: var(--rj-muted); }
.rj-body p + p, .rj-lead + .rj-body { margin-top: 18px; }

/* Buttons */
.rj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.rj-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: var(--rj-radius); font-weight: 600; font-size: 15.5px; transition: background .2s, color .2s, transform .2s; }
.rj-btn-primary { background: var(--rj-navy); color: #fff !important; }
.rj-btn-primary:hover { background: var(--rj-blue); }
.rj-btn-light { background: #fff; color: var(--rj-ink) !important; }
.rj-btn-light:hover { background: var(--rj-sand-soft); }
.rj-btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff !important; }
.rj-btn-ghost:hover { background: rgba(255,255,255,.08); }
.rj-textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--rj-navy) !important; border-bottom: 1.5px solid var(--rj-sand); padding-bottom: 3px; }
.rj-textlink:hover { color: var(--rj-blue) !important; }
.rj-arrow { transition: transform .2s; display: inline-block; }
a:hover > .rj-arrow { transform: translateX(4px); }

/* Sections */
.rj-section { padding: 104px 0; }
.rj-soft { background: var(--rj-soft); }
.rj-sand { background: var(--rj-sand-soft); }
.rj-dark { background: var(--rj-ink); color: rgba(255,255,255,.8); }
.rj-dark h2, .rj-dark h3 { color: #fff; }
.rj-dark .rj-body, .rj-dark .rj-lead { color: rgba(255,255,255,.78); }

/* Hero (image) */
.rj-hero { padding: 72px 0 96px; position: relative; }
.rj-hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 38%; height: 100%; background: var(--rj-soft); z-index: -1; }
.rj-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.rj-hero .rj-lead { margin-top: 28px; max-width: 620px; }
.rj-hero .rj-body { margin-top: 16px; max-width: 600px; }
.rj-crumb { font-size: 13.5px; color: var(--rj-muted); margin-bottom: 28px; }
.rj-crumb a { color: var(--rj-muted); }
.rj-crumb a:hover { color: var(--rj-blue); }
.rj-crumb span { margin: 0 8px; opacity: .6; }

.rj-media { position: relative; padding: 0 0 36px 28px; }
.rj-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 78%; border: 1.5px solid var(--rj-sand); border-radius: var(--rj-radius); }
.rj-frame { position: relative; border-radius: var(--rj-radius); overflow: hidden; background: #dde6ee; aspect-ratio: 4/4.6; }
.rj-frame img { width: 100%; height: 100%; object-fit: cover; }
.rj-frame.tall { aspect-ratio: 3/4; }
.rj-frame.wide { aspect-ratio: 4/3; }
.rj-card-float { position: absolute; right: -8px; bottom: 0; max-width: 78%; background: #fff; border-radius: var(--rj-radius); padding: 20px 24px; box-shadow: 0 18px 40px -18px rgba(13,40,64,.35); border-left: 3px solid var(--rj-sand); }
.rj-card-float span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rj-sand); margin-bottom: 6px; }
.rj-card-float strong { display: block; font-size: 15.5px; line-height: 1.45; color: var(--rj-ink); font-weight: 600; }

/* Page hero (text only) */
.rj-phero { padding: 80px 0 72px; background: var(--rj-soft); border-bottom: 1px solid var(--rj-line); }
.rj-phero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: end; }
.rj-phero .rj-body { font-size: 18px; }

/* Credential strip */
.rj-creds { border-top: 1px solid var(--rj-line); border-bottom: 1px solid var(--rj-line); background: #fff; }
.rj-creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rj-cred { padding: 30px 26px; border-right: 1px solid var(--rj-line); }
.rj-cred:first-child { padding-left: 0; }
.rj-cred:last-child { border-right: 0; }
.rj-cred span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rj-sand); margin-bottom: 8px; }
.rj-cred strong { display: block; font-family: var(--rj-serif); font-size: 19px; font-weight: 600; color: var(--rj-ink); line-height: 1.3; }
.rj-cred small { display: block; font-size: 14px; color: var(--rj-muted); margin-top: 4px; }

/* Split title / copy */
.rj-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.rj-split .rj-body { padding-top: 6px; }
.rj-strong { font-size: 19px; line-height: 1.6; color: var(--rj-ink); font-weight: 500; margin-bottom: 18px !important; }
.rj-dark .rj-strong { color: #fff; }

/* Image + text two-column */
.rj-duo { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: center; }
.rj-duo.flip { grid-template-columns: 1.15fr .85fr; }
.rj-duo.flip .rj-duo-media { order: 2; }
.rj-duo .rj-title { margin-bottom: 24px; }

/* Numbered cards row */
.rj-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--rj-line); }
.rj-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.rj-cards.c2 { grid-template-columns: repeat(2, 1fr); }
.rj-cards > * { padding: 36px 32px 8px; border-right: 1px solid var(--rj-line); }
.rj-cards > *:first-child { padding-left: 0; }
.rj-cards > *:last-child { border-right: 0; }
.rj-num { display: block; font-family: var(--rj-serif); font-size: 15px; font-weight: 600; color: var(--rj-sand); margin-bottom: 28px; }
.rj-tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rj-blue); margin-bottom: 10px; }
.rj-cards h3 { font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.rj-cards p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--rj-muted); }
.rj-dark .rj-cards, .rj-dark .rj-cards > * { border-color: rgba(255,255,255,.16); }
.rj-dark .rj-cards p { color: rgba(255,255,255,.7); }
.rj-dark .rj-tag { color: #9cc9e8; }
a.rj-cardlink { color: inherit; transition: background .2s; }
a.rj-cardlink:hover h3 { color: var(--rj-blue); }

/* Tile grid (expertise) */
.rj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.rj-tile { display: flex; flex-direction: column; min-height: 260px; padding: 30px 28px; border: 1px solid var(--rj-line); border-radius: var(--rj-radius); background: #fff; color: var(--rj-text) !important; transition: border-color .2s, transform .2s, box-shadow .2s; }
.rj-tile:hover { border-color: var(--rj-blue); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(13,40,64,.4); }
.rj-tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.rj-tile-top .rj-num { margin: 0; }
.rj-tile-top b { font-weight: 400; color: var(--rj-blue); font-size: 20px; }
.rj-tile h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.rj-tile p { font-size: 15.5px; line-height: 1.6; color: var(--rj-muted); }

/* Rows list */
.rj-rows { margin-top: 56px; border-top: 1px solid var(--rj-line); }
.rj-row { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--rj-line); }
.rj-row h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.rj-row p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--rj-muted); max-width: 760px; }
.rj-row .rj-num { margin: 3px 0 0; }

/* Link rows */
.rj-links { margin-top: 56px; border-top: 1px solid var(--rj-line); }
.rj-links a { display: grid; grid-template-columns: 80px 1fr 40px; gap: 20px; align-items: center; padding: 26px 16px 26px 0; border-bottom: 1px solid var(--rj-line); color: var(--rj-ink) !important; transition: background .2s, padding .2s; }
.rj-links a:hover { background: var(--rj-soft); padding-left: 12px; }
.rj-links .rj-num { margin: 0; }
.rj-links strong { display: block; font-family: var(--rj-serif); font-size: 22px; font-weight: 600; line-height: 1.3; }
.rj-links small { display: block; font-size: 15px; color: var(--rj-muted); margin-top: 4px; }
.rj-links b { font-weight: 400; font-size: 22px; color: var(--rj-blue); text-align: right; }

/* Timeline */
.rj-timeline { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.16); }
.rj-tl { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.rj-tl-date { font-family: var(--rj-serif); font-size: 18px; font-weight: 600; color: #d9bf93; }
.rj-tl h3 { font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.rj-tl .rj-tag { margin-bottom: 8px; }
.rj-tl p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 780px; }
.rj-light-tl .rj-timeline, .rj-light-tl .rj-tl { border-color: var(--rj-line); }
.rj-light-tl .rj-tl-date { color: var(--rj-sand); }
.rj-light-tl .rj-tl p { color: var(--rj-muted); }

/* Publications */
.rj-pubs { margin-top: 56px; display: grid; gap: 20px; }
.rj-pub { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 30px 32px; background: #fff; border: 1px solid var(--rj-line); border-radius: var(--rj-radius); }
.rj-pub-year { font-family: var(--rj-serif); font-size: 28px; font-weight: 600; color: var(--rj-sand); line-height: 1; }
.rj-pub h3 { font-size: 21px; font-weight: 600; line-height: 1.35; }
.rj-pub p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--rj-muted); }
.rj-pub a { color: var(--rj-blue); font-weight: 600; word-break: break-word; }
.rj-pub .rj-tag { margin-bottom: 8px; }

/* Photo strip */
.rj-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.rj-strip figure { margin: 0; border-radius: var(--rj-radius); overflow: hidden; aspect-ratio: 3/4.2; background: #dde6ee; }
.rj-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.rj-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.rj-cbox { padding: 32px; border: 1px solid var(--rj-line); border-radius: var(--rj-radius); background: #fff; }
.rj-cbox h3 { font-size: 22px; font-weight: 600; margin: 4px 0 12px; }
.rj-cbox p { font-size: 16px; line-height: 1.65; color: var(--rj-muted); }
.rj-cbox a { color: var(--rj-blue); font-weight: 600; }
.rj-cbox .big { font-family: var(--rj-serif); font-size: 22px; color: var(--rj-ink); font-weight: 600; display: block; margin-top: 4px; }
.rj-note { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--rj-sand); background: var(--rj-sand-soft); font-size: 15.5px; line-height: 1.6; color: var(--rj-text); border-radius: 0 var(--rj-radius) var(--rj-radius) 0; }

/* CTA band */
.rj-ctawrap { padding: 0 0 104px; }
.rj-cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; padding: 64px; border-radius: var(--rj-radius); background: var(--rj-navy); color: #fff; position: relative; overflow: hidden; }
.rj-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border: 1.5px solid rgba(217,191,147,.35); border-radius: 50%; }
.rj-cta .rj-eyebrow { color: #d9bf93; margin-bottom: 18px; }
.rj-cta h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
.rj-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
.rj-cta-actions .rj-btn { justify-content: space-between; }

/* Quote */
.rj-quote { font-family: var(--rj-serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; font-weight: 400; font-style: italic; color: var(--rj-ink); max-width: 980px; }
.rj-quote-by { margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rj-sand); }

/* ================================================================
   FOOTER
   ================================================================ */
.rjf { background: var(--rj-ink); color: rgba(255,255,255,.7); font-size: 15px; }
.rjf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding: 72px 0 56px; }
.rjf .rjh-brand { color: #fff; }
.rjf .rjh-mark { background: #fff; color: var(--rj-ink); }
.rjf .rjh-mark::after { border-color: rgba(13,40,64,.25); }
.rjf .rjh-name strong { color: #fff; }
.rjf .rjh-name small { color: rgba(255,255,255,.6); display: block; }
.rjf-about { margin-top: 20px; line-height: 1.65; max-width: 360px; }
.rjf h4 { font-family: var(--rj-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d9bf93; margin: 6px 0 18px; }
.rjf ul { list-style: none; margin: 0; padding: 0; }
.rjf li { margin-bottom: 10px; }
.rjf a { color: rgba(255,255,255,.82); }
.rjf a:hover { color: #fff; }
.rjf-note { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.55); }
.rjf-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
	.rj-hero-grid, .rj-phero-grid, .rj-split, .rj-duo, .rj-duo.flip, .rj-cta { grid-template-columns: 1fr; gap: 48px; }
	.rj-duo.flip .rj-duo-media { order: 0; }
	.rj-hero::before { display: none; }
	.rj-hero { padding-top: 48px; }
	.rj-hero .rj-media { order: -1; max-width: 560px; }
	.rj-tiles { grid-template-columns: 1fr 1fr; }
	.rj-cards.c4 { grid-template-columns: 1fr 1fr; }
	.rj-cards.c4 > * { border-bottom: 1px solid var(--rj-line); }
	.rj-cards.c4 > *:nth-child(2n) { border-right: 0; }
	.rj-cards.c4 > *:nth-child(2n+1) { padding-left: 0; }
	.rj-creds-grid { grid-template-columns: 1fr 1fr; }
	.rj-cred:nth-child(2) { border-right: 0; }
	.rj-cred:nth-child(3) { padding-left: 0; }
	.rj-cred:nth-child(-n+2) { border-bottom: 1px solid var(--rj-line); }
	.rjf-top { grid-template-columns: 1fr 1fr; }
	.rj-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	:root { --rj-shell: calc(100% - 36px); }
	.rj-section { padding: 72px 0; }
	.rj-ctawrap { padding-bottom: 72px; }
	.rj-phero { padding: 56px 0 48px; }
	.rj-cards, .rj-cards.c4, .rj-cards.c2, .rj-tiles, .rj-contact-grid { grid-template-columns: 1fr; }
	.rj-cards > *, .rj-cards.c4 > * { padding: 28px 0 22px !important; border-right: 0 !important; border-bottom: 1px solid var(--rj-line); }
	.rj-dark .rj-cards > * { border-color: rgba(255,255,255,.16); }
	.rj-num { margin-bottom: 14px; }
	.rj-row { grid-template-columns: 44px 1fr; gap: 12px; }
	.rj-links a { grid-template-columns: 44px 1fr 24px; gap: 12px; }
	.rj-tl { grid-template-columns: 1fr; gap: 8px; }
	.rj-pub { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
	.rj-cta { padding: 40px 26px; }
	.rj-creds-grid { grid-template-columns: 1fr; }
	.rj-cred { padding: 20px 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--rj-line); }
	.rj-cred:last-child { border-bottom: 0; }
	.rj-media { padding: 0 0 26px 16px; }
	.rj-card-float { right: 0; max-width: 88%; padding: 16px 18px; }
	.rjf-top { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
	.rjf-bottom { flex-direction: column; }
	.rj-lead { font-size: 18px; }
}

.rj a:focus-visible, .rjh a:focus-visible, .rjh button:focus-visible, .rjf a:focus-visible { outline: 2px solid var(--rj-blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.rj *, .rjh *, .rjf * { transition: none !important; }
}
