/**
 * RJ Design Hive brand on RJDH Ecommerce Theme WM.
 *
 * Colours the parent's settings cover (primary, heading, text, background, buttons) are set
 * there by `wp rjdh-site import`; this sheet sets the rest of the palette, the dark scheme the
 * parent has no setting for, and the brand tokens the page sections use.
 */

:root {
	--rjdh-canvas: #fbf6ec;
	--rjdh-canvas-2: #f4ecdb;
	--rjdh-surface: #fffdf7;
	--rjdh-surface-2: #e9e0ca;
	--rjdh-border: #e4d8c0;
	--rjdh-text: #21342a;
	--rjdh-muted: #59604e;
	--rjdh-subtle: #6e7560;
	--rjdh-accent: #c0411c;
	--rjdh-accent-deep: #9e3414;
	--rjdh-accent-soft: #f0855a;
	--rjdh-butter: #f3c44e;
	--rjdh-sage: #d3ddc4;
	--rjdh-ink: #16241d;
	--rjdh-on-accent: #fbf6ec;
	--rjdh-shadow-soft: 0 1px 2px #2d24180d, 0 14px 30px -16px #2d241824;
	--rjdh-shadow-lift: 0 2px 6px #2d241812, 0 34px 60px -28px #2d241833;
	--rjdh-font-display: Unbounded, var(--rjdhw-font), sans-serif;

	--rjdhw-container: 1240px;
	--rjdhw-gutter: 20px;
	--rjdhw-surface: var(--rjdh-canvas-2);
	--rjdhw-card-bg: var(--rjdh-surface);
	--rjdhw-border: var(--rjdh-border);
	--rjdhw-footer-bg: var(--rjdh-canvas-2);
	--rjdhw-title-bg: var(--rjdh-canvas-2);
	--rjdhw-shadow: var(--rjdh-shadow-soft);
	--rjdhw-shadow-lg: var(--rjdh-shadow-lift);
}

@media (min-width: 640px) {
	:root {
		--rjdhw-gutter: 32px;
	}
}

:root[data-rjdhw-scheme="dark"] {
	--rjdh-canvas: #16241d;
	--rjdh-canvas-2: #1b2c23;
	--rjdh-surface: #213429;
	--rjdh-surface-2: #25392e;
	--rjdh-border: #34453a;
	--rjdh-text: #f3ecdd;
	--rjdh-muted: #adb39f;
	--rjdh-subtle: #8e9582;
	--rjdh-accent: #f0855a;
	--rjdh-accent-deep: #d96a3e;
	--rjdh-accent-soft: #f6a077;
	--rjdh-sage: #2f4234;
	--rjdh-ink: #0f1a14;
	--rjdh-on-accent: #16241d;

	--rjdhw-bg: var(--rjdh-canvas);
	--rjdhw-heading: var(--rjdh-text);
	--rjdhw-text: var(--rjdh-muted);
	--rjdhw-primary: var(--rjdh-accent);
	--rjdhw-primary-text: var(--rjdh-accent);
	--rjdhw-on-primary: var(--rjdh-on-accent);
	--rjdhw-btn-bg: var(--rjdh-accent);
	--rjdhw-btn-text: var(--rjdh-on-accent);
	--rjdhw-btn-hover-bg: var(--rjdh-accent-deep);
	--rjdhw-btn-hover-text: var(--rjdh-on-accent);
	--rjdhw-surface: var(--rjdh-canvas-2);
	--rjdhw-card-bg: var(--rjdh-surface);
	--rjdhw-border: var(--rjdh-border);
	--rjdhw-footer-bg: var(--rjdh-ink);
	--rjdhw-title-bg: var(--rjdh-canvas-2);
}

/* Unbounded, the display face, ships with this theme (the parent serves the body face). */
@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/unbounded-latin-wght-normal-D5afBTBx.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: Unbounded;
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/unbounded-latin-ext-wght-normal-D6H-S6MW.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Headings are in the body face; the display face is opt-in, as on the original. */
h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: -0.03em;
	text-wrap: balance;
}

/* The display face is set tight. */
.rjdh-display,
.rjbe-c-rjdh-h1:not(.rjbe-c-rjdh-sans),
.rjbe-c-rjdh-h2,
.rjbe-c-rjdh-step__num,
.rjbe-c-rjdh-track__num {
	font-family: var(--rjdh-font-display);
	letter-spacing: -0.04em;
}

/* Header: the studio name beside the hive mark. */
.rjdh-wordmark {
	font-family: var(--rjdh-font-display);
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	color: var(--rjdhw-heading);
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 400px) {
	.rjdh-wordmark {
		font-size: 1.05rem;
	}
}

/* Footer intro column. */
.rjdh-footer-about {
	margin: 1.25rem 0 0;
	max-width: 28rem;
	font-size: 0.95rem;
	line-height: 1.65;
}

.rjdh-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 1.75rem 0 0;
	font-size: 0.95rem;
}

.rjdh-footer-contact a {
	width: fit-content;
	color: var(--rjdhw-heading);
}

.rjdh-footer-contact span {
	color: var(--rjdh-subtle);
}

/* Navigation and buttons in sentence case and the body face, as on the original. */
.rjdhw-menu > li > a,
.rjdhw-menu-more > button {
	font-family: var(--rjdhw-font);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--rjdh-muted);
}

.rjdhw-btn,
button.button,
a.button,
input[type="submit"],
.wp-block-button__link,
.wp-element-button {
	font-family: var(--rjdhw-font);
	font-weight: 500;
	letter-spacing: -0.01em;
	text-transform: none;
}

/* Footer column headings: small, spaced, muted. */
.rjdhw-ftitle,
.rjdhw-footer .widget-title {
	font-family: var(--rjdhw-font);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rjdh-subtle);
}

.rjdhw-fmenu a {
	color: var(--rjdhw-heading);
	font-size: 0.95rem;
}

.rjdhw-fmenu a:hover,
.rjdh-footer-contact a:hover {
	color: var(--rjdh-accent-deep);
}

/* Footer bottom row: copyright left; socials and legal links inline on the right. */
.rjdhw-frow--bottom .rjdhw-fcol:last-child {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.rjdhw-frow--bottom .rjdhw-fel + .rjdhw-fel {
	margin-top: 0;
}

.rjdhw-frow--bottom .rjdhw-fmenu li {
	margin: 0;
}

.rjdhw-frow--bottom .rjdhw-fmenu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.rjdhw-frow--bottom a,
.rjdhw-fcopy {
	color: var(--rjdh-subtle);
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.rjdhw-frow--bottom .rjdhw-fcol:last-child {
		justify-content: flex-end;
	}
}

/* =========================================================================================
 * Page sections built in RJ Block Editor. Each rule targets an editor global class
 * (rendered as .rjbe-c-<id>); the class chips are reusable on new sections in the editor.
 * ====================================================================================== */

/* Layout */
.rjbe-c-rjdh-wrap {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding: 0 20px;
	gap: 0;
}

.rjbe-c-rjdh-section {
	padding: 80px 0;
	gap: 0;
}

.rjbe-c-rjdh-section--alt {
	background: var(--rjdh-canvas-2);
}

.rjbe-c-rjdh-stack {
	padding: 0;
	gap: 20px;
}

.rjbe-c-rjdh-heading {
	padding: 0;
	gap: 0;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-wrap {
		padding: 0 32px;
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-section {
		padding: 112px 0;
	}
}

/* Type */
.rjbe-c-rjdh-kicker {
	margin: 0 0 16px;
	color: var(--rjdh-accent);
	font-family: var(--rjdhw-font);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.rjbe-c-rjdh-h1 {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdh-font-display);
	font-size: 2.45rem;
	font-weight: 500;
	line-height: 1.04;
	text-wrap: balance;
}

.rjbe-c-rjdh-h2 {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdh-font-display);
	font-size: 1.85rem;
	font-weight: 500;
	line-height: 1.08;
	text-wrap: balance;
}

.rjbe-c-rjdh-h3 {
	margin: 0 0 48px;
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.rjbe-c-rjdh-intro {
	margin-top: 20px;
	color: var(--rjdh-muted);
	font-size: 1.125rem;
	line-height: 1.65;
}

.rjbe-c-rjdh-body {
	margin-top: 16px;
	color: color-mix(in srgb, var(--rjdh-text) 90%, transparent);
	line-height: 1.65;
}

/* Title in the body face (project pages). */
.rjbe-c-rjdh-h1.rjbe-c-rjdh-sans {
	font-family: var(--rjdhw-font);
	font-size: 2.4rem;
	line-height: 1.06;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-h1.rjbe-c-rjdh-sans {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-h1.rjbe-c-rjdh-sans {
		font-size: 3.75rem;
	}
}

.rjbe-c-rjdh-label {
	margin: 0;
	color: var(--rjdh-subtle);
	font-family: var(--rjdhw-font);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rjbe-c-rjdh-label--accent {
	color: var(--rjdh-accent);
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-h1 {
		font-size: 3rem;
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-h2 {
		font-size: 2.35rem;
	}

	.rjbe-c-rjdh-h3 {
		font-size: 1.875rem;
	}

	.rjbe-c-rjdh-intro--lg {
		font-size: 1.25rem;
	}

	.rjbe-c-rjdh-h2--xl {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-h1 {
		font-size: 3.6rem;
	}

	.rjbe-c-rjdh-h2 {
		font-size: 2.9rem;
	}

	.rjbe-c-rjdh-h2--xl {
		font-size: 3.4rem;
	}
}

/* Buttons */
.rjbe-c-rjdh-actions {
	flex-flow: row wrap;
	align-items: center;
	gap: 16px;
	padding: 0;
	margin-top: 36px;
}

.rjbe-c-rjdh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 56px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--rjdhw-font);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	filter: none;
}

.rjbe-c-rjdh-btn:hover {
	filter: none;
}

.rjbe-c-rjdh-btn-primary,
.rjbe-c-rjdh-btn-primary:where(a) {
	background: var(--rjdh-accent);
	box-shadow: var(--rjdh-shadow-soft);
	color: var(--rjdh-on-accent);
}

.rjbe-c-rjdh-btn-primary:hover {
	background: var(--rjdh-accent-deep);
	color: var(--rjdh-on-accent);
}

.rjbe-c-rjdh-btn-outline,
.rjbe-c-rjdh-btn-outline:where(a) {
	border-color: color-mix(in srgb, var(--rjdh-text) 30%, transparent);
	background: transparent;
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-btn-outline:hover {
	border-color: color-mix(in srgb, var(--rjdh-text) 60%, transparent);
	background: color-mix(in srgb, var(--rjdh-text) 6%, transparent);
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-btn-ghost,
.rjbe-c-rjdh-btn-ghost:where(a) {
	height: 48px;
	padding: 0 24px;
	background: transparent;
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-btn-ghost:hover {
	background: color-mix(in srgb, var(--rjdh-text) 7%, transparent);
	color: var(--rjdh-text);
}

/* Hero band with the faint drafting grid */
.rjbe-c-rjdh-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 64px 0;
	background: var(--rjdh-canvas-2);
	gap: 0;
}

.rjbe-c-rjdh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.45;
	background-image: linear-gradient(to right, color-mix(in srgb, var(--rjdh-border) 46%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--rjdh-border) 38%, transparent) 1px, transparent 1px);
	background-size: 88px 88px;
	mask-image: linear-gradient(to bottom, #000, transparent 82%);
	pointer-events: none;
}

.rjbe-c-rjdh-hero--project {
	padding-bottom: 48px;
}

/* The original's header floats over the hero; the parent's sits above it, so the hero's top
   padding is the gap the original shows below its header. */
@media (min-width: 768px) {
	.rjbe-c-rjdh-hero {
		padding: 88px 0 96px;
	}

	.rjbe-c-rjdh-hero--project {
		padding-bottom: 64px;
	}
}

/* Images */
.rjbe-c-rjdh-media {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: linear-gradient(135deg, var(--rjdh-surface-2), var(--rjdh-ink) 58%, var(--rjdh-accent-deep));
}

.rjbe-c-rjdh-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rjbe-c-rjdh-media--16x9 {
	aspect-ratio: 16 / 9;
	margin-top: 64px;
}

.rjbe-c-rjdh-media--4x3 {
	aspect-ratio: 4 / 3;
}

.rjbe-c-rjdh-media--4x5 {
	aspect-ratio: 4 / 5;
}

.rjbe-c-rjdh-media--16x10 {
	aspect-ratio: 16 / 10;
}

.rjbe-c-rjdh-cover {
	margin-top: -16px;
}

.rjbe-c-rjdh-media--cover {
	aspect-ratio: 16 / 10;
	box-shadow: var(--rjdh-shadow-lift);
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-cover {
		margin-top: -24px;
	}

	.rjbe-c-rjdh-media--cover {
		aspect-ratio: 16 / 8;
	}
}

/* Project page */
.rjbe-c-rjdh-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rjdh-muted);
	font-size: 0.875rem;
	text-decoration: none;
}

.rjbe-c-rjdh-back a:hover {
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-back + * {
	margin-top: 32px;
}

.rjdh-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 32px;
	margin: 40px 0 0;
	padding-top: 32px;
	border-top: 1px solid var(--rjdh-border);
}

.rjdh-facts dt {
	color: var(--rjdh-subtle);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rjdh-facts dd {
	margin: 6px 0 0;
	color: var(--rjdh-text);
	font-size: 0.95rem;
}

@media (min-width: 640px) {
	.rjdh-facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.rjbe-c-rjdh-story {
	display: grid;
	gap: 48px;
	padding: 0;
}

.rjbe-c-rjdh-story__main {
	gap: 40px;
	padding: 0;
}

.rjbe-c-rjdh-story__aside {
	gap: 32px;
	padding: 0;
}

.rjbe-c-rjdh-story__part {
	gap: 0;
	padding: 0;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-story {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
	}

	.rjbe-c-rjdh-story__main {
		grid-column: span 7;
	}

	.rjbe-c-rjdh-story__aside {
		grid-column: 9 / span 4;
	}
}

.rjbe-c-rjdh-panel {
	gap: 0;
	padding: 28px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-canvas-2);
}

.rjbe-c-rjdh-checks ul,
.rjbe-c-rjdh-chips ul {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.rjbe-c-rjdh-checks li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-top: 12px;
	color: var(--rjdh-text);
	font-size: 0.95rem;
}

.rjbe-c-rjdh-checks li::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	transform: translateY(3px);
	background: var(--rjdh-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rjbe-c-rjdh-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rjbe-c-rjdh-chips li {
	padding: 6px 12px;
	border: 1px solid var(--rjdh-border);
	border-radius: 999px;
	background: var(--rjdh-canvas);
	color: var(--rjdh-muted);
	font-size: 0.875rem;
}

/* Project card (loop item) */
.rjbe-c-rjdh-grid .rjbe-loop__items {
	row-gap: 48px;
}

.rjbe-c-rjdh-card {
	position: relative;
	gap: 0;
	padding: 0;
}

.rjbe-c-rjdh-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	padding: 0;
	border-radius: 4px;
	background: var(--rjdh-ink);
	box-shadow: var(--rjdh-shadow-soft);
}

.rjbe-c-rjdh-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--rjdh-ink) 55%, transparent), transparent);
	opacity: 0.7;
	pointer-events: none;
	transition: opacity 0.3s;
}

.rjbe-c-rjdh-card__img,
.rjbe-c-rjdh-card__img img {
	width: 100%;
	height: 100%;
}

.rjbe-c-rjdh-card__img img {
	object-fit: cover;
	transition: transform 0.7s ease-out;
}

.rjbe-c-rjdh-card:hover .rjbe-c-rjdh-card__img img {
	transform: scale(1.05);
}

.rjbe-c-rjdh-card:hover .rjbe-c-rjdh-card__media::after {
	opacity: 0.45;
}

.rjbe-c-rjdh-card__pill {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, #f7f3e8 90%, transparent);
	color: #16241d;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rjbe-c-rjdh-card__meta {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 0;
	color: var(--rjdh-subtle);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rjbe-c-rjdh-card__meta > * + *::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 1px;
	margin-right: 10px;
	vertical-align: middle;
	background: var(--rjdh-border);
}

.rjbe-c-rjdh-card__title {
	margin-top: 8px;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	transition: color 0.2s;
}

.rjbe-c-rjdh-card__title a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is the link. */
.rjbe-c-rjdh-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.rjbe-c-rjdh-card:hover .rjbe-c-rjdh-card__title {
	color: var(--rjdh-accent);
}

.rjbe-c-rjdh-card__text {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 8px;
	color: var(--rjdh-muted);
	font-size: 0.95rem;
	line-height: 1.65;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-card__title {
		font-size: 1.4rem;
	}
}

/* Category filter bar: pills on the left, the count on the right */
.rjbe-c-rjdh-filterbar {
	gap: 24px;
	margin-bottom: 56px;
	padding: 16px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-soft);
}

.rjbe-c-rjdh-filter__count p {
	margin: 0;
	color: var(--rjdh-muted);
	font-size: 0.875rem;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-filterbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 20px;
	}
}

.rjbe-c-rjdh-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rjbe-c-rjdh-filter .rjbe-tax-filter__item {
	padding: 8px 16px;
	border: 0;
	background: transparent;
	border-radius: 999px;
	color: var(--rjdh-muted);
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}

.rjbe-c-rjdh-filter .rjbe-tax-filter__item:hover {
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-filter .rjbe-tax-filter__item.is-active {
	background: var(--rjdh-ink);
	color: #f7f3e8;
}

/* Closing call to action */
.rjbe-c-rjdh-cta {
	position: relative;
	overflow: hidden;
	padding: 96px 0;
	border-top: 1px solid var(--rjdh-border);
	background: var(--rjdh-sage);
}

.rjbe-c-rjdh-cta::before {
	content: "";
	position: absolute;
	top: -112px;
	right: -96px;
	width: 28rem;
	height: 28rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--rjdh-butter) 45%, transparent);
	filter: blur(120px);
	pointer-events: none;
}

:root[data-rjdhw-scheme="dark"] .rjbe-c-rjdh-cta {
	background: var(--rjdh-ink);
}

.rjbe-c-rjdh-cta > .rjbe-c-rjdh-wrap {
	position: relative;
	display: grid;
	gap: 40px;
	align-items: end;
}

.rjbe-c-rjdh-cta__text,
.rjbe-c-rjdh-cta__actions {
	padding: 0;
	gap: 0;
}

.rjbe-c-rjdh-cta__actions {
	gap: 16px;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-cta {
		padding: 128px 0;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-cta > .rjbe-c-rjdh-wrap {
		grid-template-columns: 7fr 5fr;
		gap: 48px;
	}

	.rjbe-c-rjdh-cta__actions {
		justify-content: flex-end;
	}
}

.rjbe-c-rjdh-section--tight {
	padding: 64px 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-section--tight {
		padding: 96px 0;
	}
}

/* Portfolio rhythm: the first card runs two columns wide, and the fourth on large screens. */
@media (min-width: 640px) {
	.rjbe-c-rjdh-grid--feature .rjbe-loop__item:first-child {
		grid-column: span 2;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-grid--feature .rjbe-loop__item:nth-child(4) {
		grid-column: span 2;
	}
}

/* Page hero layout and the arched image */
.rjbe-c-rjdh-hero__grid,
.rjbe-c-rjdh-hero__grid--split,
.rjbe-c-rjdh-hero__text,
.rjbe-c-rjdh-hero__art {
	padding-block: 0;
	gap: 0;
}

.rjbe-c-rjdh-hero__grid--split {
	display: grid;
	align-items: end;
	row-gap: 40px;
}

.rjbe-c-rjdh-hero__art {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
}

.rjbe-c-rjdh-hero__art::before,
.rjbe-c-rjdh-hero__art::after {
	content: "";
	position: absolute;
	z-index: 0;
}

.rjbe-c-rjdh-hero__art::before {
	top: -20px;
	right: -20px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--rjdh-butter);
}

.rjbe-c-rjdh-hero__art::after {
	bottom: -20px;
	left: -20px;
	width: 112px;
	height: 112px;
	border-radius: 28px;
	background: var(--rjdh-sage);
}

.rjbe-c-rjdh-arch {
	position: relative;
	z-index: 1;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	width: 100%;
	border-radius: 180px 180px 28px 28px;
	background: linear-gradient(135deg, var(--rjdh-surface-2), var(--rjdh-ink) 58%, var(--rjdh-accent-deep));
	box-shadow: var(--rjdh-shadow-lift);
}

.rjbe-c-rjdh-arch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-hero__grid--split {
		grid-template-columns: 7fr 5fr;
		column-gap: 64px;
	}
}

.rjbe-c-rjdh-section--md {
	padding: 64px 0;
}

.rjbe-c-rjdh-section--flush {
	padding-top: 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-section--md {
		padding: 96px 0;
	}

	.rjbe-c-rjdh-section--flush {
		padding-top: 0;
	}
}

.rjbe-c-rjdh-body--muted {
	margin-top: 20px;
	color: var(--rjdh-muted);
}

/* Card grids */
.rjbe-c-rjdh-cards {
	display: grid;
	gap: 24px;
	padding: 0;
}

.rjbe-c-rjdh-heading + .rjbe-c-rjdh-cards,
.rjbe-c-rjdh-heading + .rjbe-c-rjdh-grid,
.rjbe-c-rjdh-headrow + .rjbe-c-rjdh-grid {
	margin-top: 56px;
}

.rjbe-c-rjdh-cards--2 {
	gap: 32px;
}

.rjbe-c-rjdh-cards--5 {
	gap: 16px;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-cards--3,
	.rjbe-c-rjdh-cards--4,
	.rjbe-c-rjdh-cards--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-cards--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-cards--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rjbe-c-rjdh-cards--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rjbe-c-rjdh-cards--5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Service card */
.rjbe-c-rjdh-svc,
.rjbe-c-rjdh-step {
	position: relative;
	overflow: hidden;
	gap: 0;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-soft);
	transition: transform 0.3s ease-out, border-color 0.3s, box-shadow 0.3s;
}

.rjbe-c-rjdh-svc::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(to right, var(--rjdh-accent), color-mix(in srgb, var(--rjdh-accent) 45%, transparent), transparent);
}

.rjbe-c-rjdh-svc:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--rjdh-accent) 45%, transparent);
	box-shadow: var(--rjdh-shadow-lift);
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-svc {
		padding: 28px;
	}
}

.rjbe-c-rjdh-svc__top,
.rjbe-c-rjdh-step__top {
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 28px;
	padding: 0;
}

.rjbe-c-rjdh-svc__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	background: var(--rjdh-canvas-2);
	box-shadow: inset 0 0 0 1px var(--rjdh-border);
	color: var(--rjdh-accent);
	font-size: 1.35rem;
	transition: background-color 0.3s, color 0.3s;
}

.rjbe-c-rjdh-svc:hover .rjbe-c-rjdh-svc__icon {
	background: var(--rjdh-accent);
	color: var(--rjdh-on-accent);
}

.rjbe-c-rjdh-svc__rule {
	flex: 1;
	margin-top: 4px;
}

.rjbe-c-rjdh-svc__rule span {
	display: block;
	height: 1px;
	background: var(--rjdh-border);
}

.rjbe-c-rjdh-step__top {
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
}

.rjbe-c-rjdh-step__top .rjbe-c-rjdh-svc__rule {
	margin-top: 0;
}

.rjbe-c-rjdh-step__num {
	color: color-mix(in srgb, var(--rjdh-accent) 85%, transparent);
	font-family: var(--rjdh-font-display);
	font-size: 2.25rem;
	line-height: 1;
}

.rjbe-c-rjdh-svc__title,
.rjbe-c-rjdh-step__title {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.rjbe-c-rjdh-step__title {
	font-size: 1.125rem;
}

.rjbe-c-rjdh-svc__text {
	margin-top: 10px;
	color: var(--rjdh-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.rjbe-c-rjdh-svc__text--sm {
	margin-top: 8px;
	font-size: 0.875rem;
}

.rjbe-c-rjdh-svc__list ul {
	margin: 24px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--rjdh-border);
	list-style: none;
	color: var(--rjdh-muted);
	font-size: 0.875rem;
}

.rjbe-c-rjdh-svc__list li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 8px;
}

.rjbe-c-rjdh-svc__list li::before {
	content: "";
	flex: none;
	width: 12px;
	height: 1px;
	transform: translateY(-4px);
	background: color-mix(in srgb, var(--rjdh-accent) 70%, transparent);
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-svc__title {
		font-size: 1.45rem;
	}
}

/* Image + text split */
.rjbe-c-rjdh-split {
	display: grid;
	align-items: center;
	gap: 40px;
	padding: 0;
}

.rjbe-c-rjdh-split__text {
	padding: 0;
	gap: 0;
}

.rjbe-c-rjdh-split__text ul {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	color: var(--rjdh-muted);
}

.rjbe-c-rjdh-split__text li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-top: 12px;
}

.rjbe-c-rjdh-split__text li::before {
	content: "";
	flex: none;
	width: 4px;
	height: 4px;
	transform: translateY(-3px);
	border-radius: 50%;
	background: var(--rjdh-accent);
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 64px;
	}
}

/* Full-width image with the title over it */
.rjbe-c-rjdh-overlay {
	position: relative;
	overflow: hidden;
	padding: 0;
	border-radius: 4px;
}

.rjbe-c-rjdh-overlay__img {
	aspect-ratio: 16 / 10;
	width: 100%;
}

.rjbe-c-rjdh-overlay__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rjbe-c-rjdh-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--rjdh-ink) 75%, transparent), color-mix(in srgb, var(--rjdh-ink) 20%, transparent), transparent);
	pointer-events: none;
}

.rjbe-c-rjdh-overlay__body {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	gap: 12px;
	padding: 24px;
}

.rjbe-c-rjdh-overlay__title {
	margin: 0;
	color: #f7f3e8;
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
}

.rjbe-c-rjdh-overlay__text {
	color: color-mix(in srgb, #f7f3e8 85%, transparent);
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-overlay__body {
		padding: 40px;
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-overlay__img {
		aspect-ratio: 21 / 9;
	}

	.rjbe-c-rjdh-overlay__title {
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-overlay__body {
		padding: 56px;
	}
}

/* Image cards */
.rjbe-c-rjdh-mcard {
	overflow: hidden;
	gap: 0;
	padding: 0;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-canvas);
}

.rjbe-c-rjdh-media--flat {
	border-radius: 0;
}

.rjbe-c-rjdh-mcard__body {
	gap: 0;
	padding: 28px;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-mcard__body {
		padding: 32px;
	}
}

/* Heading with a link on the right */
.rjbe-c-rjdh-headrow {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding: 0;
}

@media (max-width: 639px) {
	.rjbe-c-rjdh-headrow {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* FAQ */
.rjbe-c-rjdh-faq__grid {
	display: grid;
	gap: 48px;
	padding: 0;
}

.rjbe-c-rjdh-faq__head {
	padding: 0;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-faq__grid {
		grid-template-columns: 4fr 8fr;
		gap: 64px;
	}
}

.rjbe-c-rjdh-faq {
	overflow: hidden;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-soft);
}

.rjbe-c-rjdh-faq .rjbe-accordion__item {
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--rjdh-border);
	border-radius: 0;
	background: transparent;
}

.rjbe-c-rjdh-faq .rjbe-accordion__item:last-child {
	border-bottom: 0;
}

.rjbe-c-rjdh-faq .rjbe-accordion__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 20px;
	color: var(--rjdh-text);
	font-size: 1.125rem;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.rjbe-c-rjdh-faq .rjbe-accordion__title::-webkit-details-marker {
	display: none;
}

.rjbe-c-rjdh-faq .rjbe-accordion__title::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--rjdh-accent);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s;
}

.rjbe-c-rjdh-faq .rjbe-accordion__item[open] > .rjbe-accordion__title::after {
	transform: rotate(45deg);
}

.rjbe-c-rjdh-faq .rjbe-accordion__title:hover {
	background: color-mix(in srgb, var(--rjdh-canvas-2) 65%, transparent);
}

.rjbe-c-rjdh-faq .rjbe-accordion__content {
	padding: 0 20px 28px;
	color: var(--rjdh-muted);
	font-size: 0.97rem;
	line-height: 1.65;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-faq .rjbe-accordion__title,
	.rjbe-c-rjdh-faq .rjbe-accordion__content {
		padding-inline: 28px;
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-faq .rjbe-accordion__title {
		font-size: 1.25rem;
	}
}

/* Statement between rules */
.rjbe-c-rjdh-statement {
	display: grid;
	gap: 32px;
	padding: 40px 0;
	border-block: 1px solid var(--rjdh-border);
}

.rjbe-c-rjdh-statement__lead {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.3;
}

.rjbe-c-rjdh-statement__note {
	color: var(--rjdh-muted);
	line-height: 1.65;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-statement__lead {
		font-size: 2rem;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-statement {
		grid-template-columns: 8fr 4fr;
		align-items: end;
	}
}

/* Text cards */
.rjbe-c-rjdh-tcard {
	gap: 0;
	padding: 32px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-soft);
}

.rjbe-c-rjdh-tcard__title {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
}

.rjbe-c-rjdh-tcard__text {
	margin-top: 16px;
	color: var(--rjdh-muted);
	line-height: 1.65;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-tcard {
		padding: 40px;
	}
}

/* Split variants */
@media (min-width: 1024px) {
	.rjbe-c-rjdh-split--7-5 {
		grid-template-columns: 7fr 5fr;
		align-items: start;
	}

	.rjbe-c-rjdh-split--5-7 {
		grid-template-columns: 5fr 7fr;
	}
}

.rjbe-c-rjdh-split--top {
	align-items: start;
}

.rjbe-c-rjdh-body--story {
	margin-top: 24px;
	text-align: justify;
	hyphens: auto;
}

.rjbe-c-rjdh-body--story p + p {
	margin-top: 20px;
}

/* Big quote line */
.rjbe-c-rjdh-quote {
	color: var(--rjdh-text);
	font-size: 1.5rem;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-quote {
		font-size: 2.4rem;
	}
}

/* Divided list */
.rjbe-c-rjdh-divlist ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rjbe-c-rjdh-divlist li {
	padding: 20px 0;
	border-top: 1px solid var(--rjdh-border);
	color: color-mix(in srgb, var(--rjdh-text) 90%, transparent);
	font-size: 1.125rem;
	line-height: 1.65;
}

.rjbe-c-rjdh-divlist li:first-child {
	padding-top: 0;
	border-top: 0;
}

/* Text card with the accent bar, value cards */
.rjbe-c-rjdh-tcard--bar,
.rjbe-c-rjdh-panel--bar {
	position: relative;
	overflow: hidden;
}

.rjbe-c-rjdh-tcard--bar::before,
.rjbe-c-rjdh-panel--bar::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(to right, var(--rjdh-accent), color-mix(in srgb, var(--rjdh-accent) 35%, transparent), transparent);
}

.rjbe-c-rjdh-tcard--bar {
	padding: 28px;
}

.rjbe-c-rjdh-tcard--bar .rjbe-c-rjdh-tcard__title,
.rjbe-c-rjdh-tcard__title--sm {
	font-size: 1.25rem;
}

.rjbe-c-rjdh-tcard--bar .rjbe-c-rjdh-tcard__text {
	margin-top: 12px;
	font-size: 0.95rem;
}

.rjbe-c-rjdh-heading + .rjbe-c-rjdh-cards {
	margin-top: 48px;
}

/* Contact */
.rjbe-c-rjdh-contact {
	display: grid;
	gap: 48px;
	padding: 0;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-contact {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
		align-items: start;
	}

	.rjbe-c-rjdh-contact > :first-child {
		grid-column: span 7;
	}

	.rjbe-c-rjdh-contact > :last-child {
		position: sticky;
		top: 112px;
		grid-column: 9 / span 4;
	}
}

.rjbe-c-rjdh-panel.rjbe-c-rjdh-contact__panel {
	padding: 28px;
	box-shadow: var(--rjdh-shadow-soft);
}

.rjbe-c-rjdh-contact__list {
	gap: 20px;
	margin-top: 24px;
	padding: 0;
}

.rjbe-c-rjdh-contact__row {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding: 0;
}

.rjbe-c-rjdh-contact__icon {
	flex: none;
	margin-top: 2px;
	color: var(--rjdh-accent);
	font-size: 1.25rem;
}

.rjbe-c-rjdh-contact__text {
	gap: 4px;
	padding: 0;
}

.rjbe-c-rjdh-label--xs {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
}

.rjbe-c-rjdh-contact__value p {
	margin: 0;
	color: var(--rjdh-text);
}

.rjbe-c-rjdh-contact__value a {
	color: inherit;
	text-decoration: none;
}

.rjbe-c-rjdh-contact__value a:hover,
.rjbe-c-rjdh-contact__social a:hover {
	color: var(--rjdh-accent);
}

.rjbe-c-rjdh-contact__value .rjdh-small {
	margin-top: 4px;
	color: var(--rjdh-muted);
	font-size: 0.875rem;
}

.rjbe-c-rjdh-contact__follow {
	gap: 12px;
	margin-top: 32px;
	padding: 24px 0 0;
	border-top: 1px solid var(--rjdh-border);
}

.rjbe-c-rjdh-contact__social p {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
}

.rjbe-c-rjdh-contact__social a {
	color: var(--rjdh-muted);
	font-size: 0.875rem;
	text-decoration: none;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-panel.rjbe-c-rjdh-contact__panel {
		padding: 32px;
	}
}

/* The Workspace enquiry form in the studio's style (its own sheet targets a dark band). */
.rjbe-c-rjdh-form .rjws-enquiry {
	gap: 20px;
	max-width: none;
	margin: 0;
}

.rjbe-c-rjdh-form .rjws-enquiry__grid {
	gap: 20px;
}

.rjbe-c-rjdh-form .rjws-enquiry label {
	gap: 8px;
	color: var(--rjdh-text);
	font-size: 0.875rem;
	font-weight: 500;
}

.rjbe-c-rjdh-form .rjws-enquiry label em {
	color: var(--rjdh-subtle);
}

.rjbe-c-rjdh-form .rjws-enquiry input,
.rjbe-c-rjdh-form .rjws-enquiry select,
.rjbe-c-rjdh-form .rjws-enquiry textarea {
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-canvas);
	box-shadow: var(--rjdh-shadow-soft);
	color: var(--rjdh-text);
	transition: border-color 0.2s;
}

.rjbe-c-rjdh-form .rjws-enquiry textarea {
	min-height: 140px;
}

.rjbe-c-rjdh-form .rjws-enquiry input:focus,
.rjbe-c-rjdh-form .rjws-enquiry select:focus,
.rjbe-c-rjdh-form .rjws-enquiry textarea:focus {
	border-color: var(--rjdh-accent);
	outline: 2px solid color-mix(in srgb, var(--rjdh-accent) 40%, transparent);
	outline-offset: 1px;
}

.rjbe-c-rjdh-form .rjws-enquiry__consent {
	color: var(--rjdh-muted) !important;
	font-size: 0.875rem !important;
}

.rjbe-c-rjdh-form .rjws-enquiry__consent input {
	min-height: 20px;
	padding: 0;
	box-shadow: none;
	accent-color: var(--rjdh-accent);
}

.rjbe-c-rjdh-form .rjws-enquiry button {
	min-height: 56px;
	padding: 0 28px;
	background: var(--rjdh-accent);
	box-shadow: var(--rjdh-shadow-soft);
	color: var(--rjdh-on-accent);
	font-weight: 500;
}

.rjbe-c-rjdh-form .rjws-enquiry button:hover {
	background: var(--rjdh-accent-deep);
}

.rjbe-c-rjdh-form .rjws-enquiry__status.is-ok {
	color: #2f7a4a;
}

.rjbe-c-rjdh-form .rjws-enquiry__status.is-error {
	color: var(--rjdh-accent-deep);
}

/* Rich-text headings take the class's type. */
.rjbe-c-rjdh-h1 h1 {
	margin: 0;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
}

.rjdh-accent {
	color: var(--rjdh-accent);
}

/* =============================== Home =============================== */
.rjbe-c-rjdh-wrap--wide {
	max-width: 1320px;
}

.rjbe-c-rjdh-home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 0;
	background: var(--rjdh-canvas);
}

.rjbe-c-rjdh-home-hero::before,
.rjbe-c-rjdh-home-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.rjbe-c-rjdh-home-hero::before {
	top: -64px;
	right: -112px;
	width: 460px;
	height: 460px;
	background: color-mix(in srgb, var(--rjdh-sage) 55%, transparent);
}

.rjbe-c-rjdh-home-hero::after {
	bottom: 64px;
	left: -80px;
	width: 192px;
	height: 192px;
	background: color-mix(in srgb, var(--rjdh-butter) 35%, transparent);
}

.rjbe-c-rjdh-home-hero__grid {
	display: grid;
	align-items: center;
	gap: 48px;
	min-height: calc(100dvh - 72px);
	padding-block: 56px;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-home-hero__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

.rjbe-c-rjdh-h1--home {
	margin-top: 20px;
	font-size: 2.65rem;
	line-height: 1.03;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-h1--home {
		font-size: 3.5rem;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-h1--home {
		font-size: 4.05rem;
	}
}

.rjbe-c-rjdh-intro--narrow {
	max-width: 34rem;
}

.rjbe-c-rjdh-actions--stack {
	display: grid;
	gap: 12px;
}

.rjbe-c-rjdh-actions--stack > * {
	width: 100%;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-actions--stack {
		display: flex;
	}

	.rjbe-c-rjdh-actions--stack > * {
		width: auto;
	}
}

.rjbe-c-rjdh-hero__art--home {
	max-width: 440px;
}

.rjbe-c-rjdh-hero__art--home::before {
	width: 112px;
	height: 112px;
}

.rjbe-c-rjdh-hero__art--home::after {
	bottom: -24px;
	left: -24px;
	width: 128px;
	height: 128px;
	border-radius: 30px;
}

.rjbe-c-rjdh-arch--home {
	border-radius: 210px 210px 30px 30px;
}

.rjbe-c-rjdh-arch--home img {
	object-position: center;
}

.rjbe-c-rjdh-feature {
	position: absolute;
	right: 12px;
	bottom: -20px;
	z-index: 2;
	width: 232px;
}

.rjbe-c-rjdh-feature a {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	border-radius: 16px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-lift);
	color: var(--rjdh-text);
	text-decoration: none;
}

.rjdh-feature__label {
	color: var(--rjdh-subtle);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rjdh-feature__title {
	overflow: hidden;
	margin-top: 4px;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Proof strip */
.rjbe-c-rjdh-proof__band {
	padding: 0;
	border-block: 1px solid var(--rjdh-border);
	background: var(--rjdh-canvas-2);
}

.rjbe-c-rjdh-proof {
	display: grid;
	gap: 16px 32px;
	padding-block: 20px;
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-proof {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rjbe-c-rjdh-proof__item {
	flex-direction: row;
	align-items: baseline;
	gap: 12px;
	padding: 0;
}

.rjbe-c-rjdh-proof__item .rjbe-c-rjdh-label {
	font-size: 0.66rem;
	letter-spacing: 0.18em;
}

.rjbe-c-rjdh-proof__value {
	margin: 0;
	color: var(--rjdh-text);
	font-size: 0.875rem;
	font-weight: 500;
}

/* What we design */
.rjbe-c-rjdh-section--home {
	padding: 64px 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-section--home {
		padding: 80px 0;
	}
}

.rjbe-c-rjdh-tracks {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-tracks {
		grid-template-columns: 0.75fr 1.8fr;
		align-items: start;
	}
}

.rjbe-c-rjdh-h2--home {
	margin-top: 20px;
	font-size: 2.3rem;
	line-height: 1.04;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-h2--home {
		font-size: 3.1rem;
	}
}

.rjbe-c-rjdh-cards--tracks {
	gap: 12px;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-cards--tracks,
	.rjbe-c-rjdh-cards--signals {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rjbe-c-rjdh-track {
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 0;
	min-height: 320px;
	padding: 24px;
	border: 1px solid var(--rjdh-border);
	border-radius: 18px;
	background: var(--rjdh-surface);
	transition: transform 0.3s, box-shadow 0.3s;
}

.rjbe-c-rjdh-track:hover {
	transform: translateY(-4px);
	box-shadow: var(--rjdh-shadow-lift);
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-track {
		padding: 32px;
	}
}

.rjbe-c-rjdh-track__top {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 0;
}

.rjbe-c-rjdh-track__num {
	color: var(--rjdh-accent);
	font-family: var(--rjdh-font-display);
	font-size: 1rem;
}

.rjbe-c-rjdh-track__img {
	overflow: hidden;
	aspect-ratio: 1;
	width: 96px;
	border-radius: 50%;
	background: var(--rjdh-surface-2);
}

.rjbe-c-rjdh-track__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-track__img {
		width: 112px;
	}
}

.rjbe-c-rjdh-track__body {
	gap: 16px;
	margin-top: 32px;
	padding: 0;
}

.rjbe-c-rjdh-track__title {
	margin: 0;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-track__title {
		font-size: 1.875rem;
	}
}

.rjbe-c-rjdh-track__text {
	color: var(--rjdh-muted);
	font-size: 0.875rem;
	line-height: 1.65;
}

.rjbe-c-rjdh-track__link {
	margin-top: 32px;
}

.rjbe-c-rjdh-track__link a {
	color: var(--rjdh-accent);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.rjbe-c-rjdh-track__link a::after {
	content: " →";
}

.rjbe-c-rjdh-track__link a:hover {
	color: var(--rjdh-accent-deep);
}

/* Gallery: project tiles in a bento grid */
.rjbe-c-rjdh-section--home-gallery {
	padding: 64px 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-section--home-gallery {
		padding: 96px 0;
	}
}

.rjbe-c-rjdh-headrow--gallery {
	margin-bottom: 40px;
}

.rjbe-c-rjdh-label--strong {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
}

.rjbe-c-rjdh-bento .rjbe-loop__items {
	grid-template-columns: 1fr !important;
	grid-auto-rows: 260px;
	gap: 12px !important;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-bento .rjbe-loop__items {
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
		grid-auto-rows: 220px;
	}

	.rjbe-c-rjdh-bento .rjbe-loop__item {
		grid-column: span 4;
	}

	.rjbe-c-rjdh-bento .rjbe-loop__item:nth-child(1) {
		grid-column: span 5;
		grid-row: span 2;
	}

	.rjbe-c-rjdh-bento .rjbe-loop__item:nth-child(3),
	.rjbe-c-rjdh-bento .rjbe-loop__item:nth-child(5) {
		grid-column: span 3;
	}
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-bento .rjbe-loop__items {
		grid-auto-rows: 250px;
	}
}

.rjbe-c-rjdh-bento .rjbe-loop__item,
.rjbe-c-rjdh-bento .rjbe-loop__item > * {
	height: 100%;
}

.rjbe-c-rjdh-tile {
	position: relative;
	overflow: hidden;
	height: 100%;
	padding: 0;
	border-radius: 18px;
	background: var(--rjdh-surface-2);
}

.rjbe-c-rjdh-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--rjdh-ink) 78%, transparent), color-mix(in srgb, var(--rjdh-ink) 10%, transparent), transparent);
	opacity: 0.9;
	pointer-events: none;
	transition: opacity 0.3s;
}

.rjbe-c-rjdh-tile:hover::after {
	opacity: 1;
}

.rjbe-c-rjdh-tile__img {
	position: absolute;
	inset: 0;
}

.rjbe-c-rjdh-tile__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s;
}

.rjbe-c-rjdh-tile:hover .rjbe-c-rjdh-tile__img img {
	transform: scale(1.045);
}

.rjbe-c-rjdh-tile__body {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	gap: 12px;
	padding: 20px;
	color: #f7f3e8;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-tile__body {
		padding: 24px;
	}
}

.rjbe-c-rjdh-tile__meta {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 0;
	color: color-mix(in srgb, #f7f3e8 68%, transparent);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.rjbe-c-rjdh-tile__meta > * + *::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 1px;
	margin-right: 12px;
	vertical-align: middle;
	background: color-mix(in srgb, #f7f3e8 35%, transparent);
}

.rjbe-c-rjdh-tile__title {
	margin: 0;
	color: #f7f3e8;
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

.rjbe-c-rjdh-tile__title a {
	color: inherit;
	text-decoration: none;
}

.rjbe-c-rjdh-tile__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-tile__title {
		font-size: 1.875rem;
	}
}

/* Process runway (dark band) */
.rjbe-c-rjdh-runway {
	position: relative;
	overflow: hidden;
	padding: 64px 0;
	background: var(--rjdh-ink);
	color: #f7f3e8;
}

.rjbe-c-rjdh-runway::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.08;
	background-image: linear-gradient(#fbf6ec 1px, transparent 1px), linear-gradient(90deg, #fbf6ec 1px, transparent 1px);
	background-size: 72px 72px;
	pointer-events: none;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-runway {
		padding: 96px 0;
	}
}

.rjbe-c-rjdh-on-dark {
	color: #f7f3e8;
}

.rjbe-c-rjdh-label.rjbe-c-rjdh-on-dark {
	color: color-mix(in srgb, #f7f3e8 65%, transparent);
}

.rjbe-c-rjdh-runway__intro {
	margin-top: 24px;
	color: color-mix(in srgb, #f7f3e8 70%, transparent);
	line-height: 1.65;
}

.rjbe-c-rjdh-runway__grid {
	display: grid;
	gap: 40px;
	padding: 0;
}

@media (min-width: 1024px) {
	.rjbe-c-rjdh-runway__grid {
		grid-template-columns: 0.72fr 1.6fr;
		align-items: start;
	}
}

.rjbe-c-rjdh-runway__steps {
	position: relative;
	display: grid;
	gap: 20px;
	padding: 16px 0 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-runway__steps {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.rjbe-c-rjdh-runway__steps::before {
		content: "";
		position: absolute;
		top: 3.05rem;
		right: 0;
		left: 0;
		height: 1px;
		background: color-mix(in srgb, #f7f3e8 26%, transparent);
	}
}

.rjbe-c-rjdh-runway__step {
	gap: 16px;
	padding: 0;
}

.rjbe-c-rjdh-runway__top {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 0;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-runway__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}
}

.rjbe-c-rjdh-runway__dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1px solid color-mix(in srgb, #f7f3e8 35%, transparent);
	border-radius: 50%;
	background: var(--rjdh-ink);
	color: var(--rjdh-accent-soft);
	font-size: 1.25rem;
}

.rjbe-c-rjdh-runway__head {
	gap: 8px;
	padding: 0;
}

.rjbe-c-rjdh-runway__num {
	margin: 0;
	color: color-mix(in srgb, #f7f3e8 45%, transparent);
	font-size: 0.75rem;
}

.rjbe-c-rjdh-runway__title {
	margin: 0;
	color: #f7f3e8;
	font-family: var(--rjdhw-font);
	font-size: 1.25rem;
	font-weight: 500;
}

.rjbe-c-rjdh-runway__text {
	color: color-mix(in srgb, #f7f3e8 62%, transparent);
	font-size: 0.875rem;
	line-height: 1.65;
}

.rjbe-c-rjdh-cards--signals {
	gap: 12px;
	margin-top: 56px;
}

.rjbe-c-rjdh-signal {
	gap: 0;
	padding: 24px;
	border: 1px solid color-mix(in srgb, #f7f3e8 14%, transparent);
	background: color-mix(in srgb, #f7f3e8 5.5%, transparent);
	backdrop-filter: blur(8px);
}

.rjbe-c-rjdh-signal__icon {
	color: var(--rjdh-accent-soft);
	font-size: 1.25rem;
}

.rjbe-c-rjdh-signal__title {
	margin: 20px 0 0;
	color: #f7f3e8;
	font-family: var(--rjdhw-font);
	font-size: 1.5rem;
	font-weight: 500;
}

.rjbe-c-rjdh-signal__text {
	margin-top: 12px;
	color: color-mix(in srgb, #f7f3e8 66%, transparent);
	font-size: 0.875rem;
	line-height: 1.65;
}

/* Policy pages */
.rjbe-c-rjdh-wrap--narrow {
	max-width: 980px;
}

.rjbe-c-rjdh-hero--legal {
	padding-bottom: 80px;
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-hero--legal {
		padding-bottom: 112px;
	}
}

.rjbe-c-rjdh-legal__updated {
	margin-top: 16px;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.rjbe-c-rjdh-legal__card {
	gap: 0;
	margin-top: 48px;
	padding: 24px;
	border: 1px solid var(--rjdh-border);
	border-radius: 4px;
	background: var(--rjdh-surface);
	box-shadow: var(--rjdh-shadow-lift);
}

@media (min-width: 640px) {
	.rjbe-c-rjdh-legal__card {
		padding: 32px;
	}
}

@media (min-width: 768px) {
	.rjbe-c-rjdh-legal__card {
		padding: 40px;
	}
}

.rjbe-c-rjdh-legal h2 {
	margin: 36px 0 12px;
	color: var(--rjdh-text);
	font-family: var(--rjdhw-font);
	font-size: 1.25rem;
	font-weight: 500;
}

.rjbe-c-rjdh-legal h2:first-child {
	margin-top: 0;
}

.rjbe-c-rjdh-legal p,
.rjbe-c-rjdh-legal li {
	color: var(--rjdh-muted);
	line-height: 1.7;
}

.rjbe-c-rjdh-legal ul {
	margin: 12px 0 0;
	padding-left: 20px;
}

.rjbe-c-rjdh-legal__actions {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--rjdh-border);
}
