/*
 * The Redeemed Marriage: concept C ("Editorial"), light and dark, for the pages WordPress keeps at my.theredeemedmarriage.com.
 * Source: ~/Projects/redeemed-marriage/wordpress/theme/rm/rm-c.css (ported from redesign-concepts/src/concepts/c).
 *
 * Theme: rm-my.php sets <html data-theme="light|dark"> before first paint, from the `trm-theme` cookie that www's and
 * my.'s toggles write on .theredeemedmarriage.com, else this site's saved choice, else the device setting; on the
 * my. views it also swaps SureCart's `surecart-theme-light` body class for `surecart-theme-dark` before SureCart's
 * components start. The dark values are www's (site/src/styles/global.css [data-theme='dark'], chrome-www.css).
 *
 * Every rule is scoped to body.rm-c (added by rm-my.php), so the old design elsewhere on the site is untouched.
 * Sizes are in rem against Automatic.css's 62.5% root (1rem = 10px at the browser's default size), so they still
 * scale with the visitor's font-size setting.
 * SureCart prints its own CSS after this file, so rules aimed at SureCart lead with `html body.rm-c` (specificity,
 * not order, decides).
 */

/* ── 1. Faces: the uploaded brand files under one family name each, so weight 700 picks the real bold ─────── */
@font-face {
	font-family: "RM Canela";
	src: url("/wp-content/uploads/Canela-Regular-Web.woff2") format("woff2"), url("/wp-content/uploads/Canela-Regular-Web.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "RM Basis";
	src: url("/wp-content/uploads/basis-grotesque-regular-pro.woff2") format("woff2"), url("/wp-content/uploads/basis-grotesque-regular-pro.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "RM Basis";
	src: url("/wp-content/uploads/basis-grotesque-bold-pro.woff2") format("woff2"), url("/wp-content/uploads/basis-grotesque-bold-pro.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "RM Northwell";
	src: url("fonts/Northwell-subset.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ── 2. Tokens (concept C, light) ─────────────────────────────────────────────────────────────────────────── */
body.rm-c {
	--rm-bg: #ffffff;
	--rm-surface: #f4f3f1;
	--rm-raised: #ffffff;
	--rm-deep: #1d1b16;
	--rm-text: #111111;
	--rm-muted: #5c574c;          /* 6.5:1 on surface */
	--rm-link: #aa4409;           /* 5.9:1 on white */
	--rm-eyebrow: #bb4a0a;        /* www's: 5.1:1 on white, 4.6:1 on surface (#bf4c0a was 4.45:1 there) */
	--rm-primary: #bf4c0a;        /* white text on it: 4.9:1 */
	--rm-primary-hover: #aa4409;
	--rm-on-primary: #ffffff;
	--rm-line: #e3e0d9;
	--rm-line-strong: #cbc6bb;
	--rm-ring: #bf4c0a;
	--rm-field: #7d776a;          /* form field edges: 4.5:1 on white, 4.0:1 on surface (UI needs 3:1) */
	--rm-danger: #a8291f;         /* 7.0:1 on white */
	--rm-success: #2f6a3d;        /* 6.6:1 on white */
	--rm-hdr-bg: rgb(255 255 255 / 0.92);
	--rm-logo-filter: none;
	--rm-on-deep: #f4f3f1;
	--rm-on-deep-muted: rgb(244 243 241 / 0.72);
	--rm-on-deep-faint: rgb(244 243 241 / 0.6);
	--rm-deep-rule: rgb(244 243 241 / 0.22);
	--rm-deep-accent: #f69055;    /* 7.4:1 on deep */

	--rm-display: "RM Canela", "Canela Regular", "Iowan Old Style", Georgia, serif;
	--rm-sans: "RM Basis", "Basis Grotesque Pro Regular", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--rm-text-body: clamp(1.8rem, 1.742rem + 0.161vw, 2rem);
	--rm-display-2: max(clamp(3.6rem, 12.5vw - 0.4rem, 4rem), min(6vw, 9.2rem));
	--rm-display-3: clamp(3.2rem, 4vw, 5.6rem);
	--rm-h3: clamp(2.32rem, 1.9vw, 2.88rem);

	--rm-r-card: 1.2rem;          /* www --r-card: 12px */
	--rm-r-image: 0.4rem;
	--rm-r-btn: 2px;              /* www --r-btn: buttons and fields are squared off, never pills */
	--rm-header-h: 6.4rem;
	--rm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--rm-ease-io: cubic-bezier(0.77, 0, 0.175, 1);

	background: var(--rm-bg);
	color: var(--rm-text);
	font-family: var(--rm-sans);
	font-size: var(--rm-text-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
/* Dark: www's [data-theme='dark'] tokens. The brand orange stays the button fill (white on it 4.9:1; the fill against
   the dark ground 3.5:1, above the 3:1 a control needs); text-sized orange becomes #ea8a52 (6.8:1 on the ground). */
html[data-theme="dark"] body.rm-c {
	--rm-bg: #1d1b16;
	--rm-surface: #25221c;
	--rm-raised: #2d2a23;
	--rm-deep: #1d1b16;
	--rm-text: #f4f3f1;           /* 15.5:1 */
	--rm-muted: #b8b2a5;          /* 8.2:1 on bg, 7.5:1 on surface */
	--rm-link: #ea8a52;
	--rm-eyebrow: #ea8a52;
	--rm-line: #3a362e;
	--rm-line-strong: #484337;
	--rm-ring: #ea8a52;
	--rm-field: #847e70;          /* 4.3:1 on bg, 3.9:1 on surface, 3.5:1 on raised */
	--rm-danger: #f2a196;
	--rm-success: #9ee0b5;
	--rm-hdr-bg: rgb(29 27 22 / 0.9);
	--rm-logo-filter: invert(1) hue-rotate(180deg) brightness(1.05);
	color-scheme: dark;
}
/* The page behind the body (overscroll, the strip under a short page) follows the theme too. */
html[data-theme="dark"]:has(body.rm-c) { background: #1d1b16; color-scheme: dark; }
html[data-theme="light"]:has(body.rm-c) { background: #ffffff; }

/* A taller bar from 768 px, for the larger logo (section 4). www sets the same in site/src/styles/chrome-www.css. */
@media (min-width: 768px) { body.rm-c { --rm-header-h: 8rem; } }
/* Automatic.css draws every focus ring from --focus-color (its :root sets var(--primary), the light orange) with a
   rule that outranks the one below, so the ring takes the theme's color through that variable. Dark: #ea8a52, as www. */
body.rm-c { --focus-color: var(--rm-ring); }
body.rm-c :focus-visible {
	outline: 2px solid var(--rm-ring);
	outline-offset: 3px;
}
body.rm-c ::selection {
	background: #fbd0b6;
	color: #111111;
}
html[data-theme="dark"] body.rm-c ::selection {
	background: rgb(234 138 82 / 0.32);
	color: #f4f3f1;
}
body.rm-c #brx-content p {
	text-wrap: pretty;
}
/* Bricks' skip links (shown on focus) are Automatic.css's lightest orange on the orange: 4.4:1. White is 4.9:1. */
body.rm-c .skip-link { color: #ffffff; }

/* ── 3. Utilities ─────────────────────────────────────────────────────────────────────────────────────────── */
body.rm-c .rm-wrap {
	width: 100%;
	max-width: 132rem;
	margin-inline: auto;
	padding-inline: 1.6rem;
}
@media (min-width: 640px) { body.rm-c .rm-wrap { padding-inline: 2.4rem; } }
@media (min-width: 1024px) { body.rm-c .rm-wrap { padding-inline: 4rem; } }

body.rm-c .rm-kicker {
	margin: 0;
	font-family: var(--rm-sans);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
body.rm-c .rm-nowrap { white-space: nowrap; }
body.rm-c .rm-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Underline that draws in on hover and keyboard focus (21st.dev "Underline Link", adapted). */
body.rm-c .rm-ul {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding-bottom: 1px;
	transition: background-size 300ms ease-out;
}
body.rm-c .rm-ul:hover,
body.rm-c .rm-ul:focus-visible,
body.rm-c .rm-ul[aria-current="page"],
body.rm-c a:hover > .rm-ul,
body.rm-c a:focus-visible > .rm-ul,
body.rm-c a:hover .rm-ul-in,
body.rm-c a:focus-visible .rm-ul-in {
	background-size: 100% 1.5px;
	background-position: 0% 100%;
}
body.rm-c .rm-ul-in {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	padding-bottom: 1px;
	transition: background-size 300ms ease-out;
}

/* Arrow after a call-to-action label, drawn with a mask so it takes the text color. */
body.rm-c .rm-arrow::after {
	content: "";
	display: inline-block;
	width: 1.6rem;
	height: 1.6rem;
	margin-left: 0.8rem;
	vertical-align: -0.2rem;
	background: currentColor;
	-webkit-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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 300ms ease-out;
}
body.rm-c a:hover .rm-arrow::after,
body.rm-c a:focus-visible .rm-arrow::after,
body.rm-c a.rm-arrow:hover::after {
	transform: translateX(0.2rem);
}

/* Buttons: squared off (2px), Basis bold. */
body.rm-c .rm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	min-height: 4.8rem;
	padding: 1.2rem 2.4rem;
	border: 1px solid var(--rm-primary);
	border-radius: var(--rm-r-btn);
	background: var(--rm-primary);
	color: var(--rm-on-primary);
	font-family: var(--rm-sans);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-wrap: balance;
	transition: background-color 200ms, border-color 200ms;
}
body.rm-c .rm-btn:hover {
	background: var(--rm-primary-hover);
	border-color: var(--rm-primary-hover);
	color: var(--rm-on-primary);
}
body.rm-c .rm-btn--ghost {
	background: transparent;
	border-color: var(--rm-line-strong);
	color: var(--rm-text);
}
body.rm-c .rm-btn--ghost:hover {
	background: transparent;
	border-color: var(--rm-text);
	color: var(--rm-text);
}

/* ── 4. Header: slim bar, quick links, "Menu" ─────────────────────────────────────────────────────────────── */
body.rm-c #brx-header {
	position: sticky;
	top: 0;
	z-index: 70;
}
body.rm-c.admin-bar #brx-header { top: 46px; }
@media (min-width: 783px) { body.rm-c.admin-bar #brx-header { top: 32px; } }

body.rm-c .rm-hdr {
	position: relative;
	z-index: 70;
	border-bottom: 1px solid var(--rm-line);
	background: var(--rm-hdr-bg);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--rm-text);
	transition: background-color 300ms, border-color 300ms, color 300ms;
}
html.rm-menu-open body.rm-c .rm-hdr {
	border-bottom-color: transparent;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: var(--rm-on-deep);
}
body.rm-c .rm-hdr__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	height: var(--rm-header-h);
}
body.rm-c .rm-hdr__logo {
	display: inline-flex;
	flex-shrink: 0;
	margin: -0.4rem;
	padding: 0.4rem;
	border-radius: 2px;
}
body.rm-c .rm-logo {
	display: block;
	width: auto;
	height: 4rem;
}
/* Header logo: large enough that its small words ("THE", "MARRIAGE": 36 of the lockup's 384 units) can be read.
   At 40 px their capitals were 3.75 px; now about 4.5 px on phones and 6 px from 768 px (the old site's logo was
   69 px tall). 44 px below 360 px: beside the theme toggle and "Menu" the bar has about 14 px to spare there. */
body.rm-c .rm-hdr .rm-logo { height: 4.4rem; }
@media (min-width: 360px) { body.rm-c .rm-hdr .rm-logo { height: 4.8rem; } }
@media (min-width: 768px) { body.rm-c .rm-hdr .rm-logo { height: 6.4rem; } }
body.rm-c .rm-logo--light { display: none; }
html.rm-menu-open body.rm-c .rm-hdr .rm-logo--dark,
html[data-theme="dark"] body.rm-c .rm-hdr .rm-logo--dark { display: none; }
html.rm-menu-open body.rm-c .rm-hdr .rm-logo--light,
html[data-theme="dark"] body.rm-c .rm-hdr .rm-logo--light { display: block; }
/* The footer carries the black lockup only; on the dark theme it is drawn white, as www does (--logo-filter). */
body.rm-c .rm-ftr__logo .rm-logo { filter: var(--rm-logo-filter); }

body.rm-c .rm-hdr__actions {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}
body.rm-c .rm-hdr__quick {
	display: none;
	align-items: center;
	gap: 2.8rem;
	margin-right: 1.2rem;
	font-size: 1.52rem;
	font-weight: 700;
}
@media (min-width: 1024px) { body.rm-c .rm-hdr__quick { display: flex; } }
body.rm-c .rm-hdr__quick a { color: inherit; }

body.rm-c .rm-menubtn {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
	height: 4.4rem;
	margin: 0;
	padding: 0 0.8rem 0 1.2rem;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: inherit;
	font-family: var(--rm-sans);
	font-size: 1.52rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
body.rm-c .rm-menubtn__label {
	display: inline-block;
	width: 3.1em;
	text-align: right;
}
/* Theme toggle (rm-c.js adds it, as on www): a quiet button beside "Menu"; the icon shows the theme you switch to.
   Under 400 px the bar fits only the logo and "Menu", so it moves into the menu, beside the social links. */
body.rm-c .rm-theme {
	display: inline-grid;
	place-items: center;
	width: 4.4rem;
	height: 4.4rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--rm-r-btn);
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 200ms;
}
body.rm-c .rm-theme:hover { background: rgb(128 120 105 / 0.12); }
body.rm-c .rm-theme svg,
body.rm-c .rm-menu__theme svg { width: 2rem; height: 2rem; flex: none; }
body.rm-c .rm-theme .rm-theme__sun,
body.rm-c .rm-menu__theme .rm-theme__sun,
body.rm-c .rm-menu__theme .rm-menu__theme-light { display: none; }
html[data-theme="dark"] body.rm-c .rm-theme .rm-theme__sun,
html[data-theme="dark"] body.rm-c .rm-menu__theme .rm-theme__sun,
html[data-theme="dark"] body.rm-c .rm-menu__theme .rm-menu__theme-light { display: inline; }
html[data-theme="dark"] body.rm-c .rm-theme .rm-theme__moon,
html[data-theme="dark"] body.rm-c .rm-menu__theme .rm-theme__moon,
html[data-theme="dark"] body.rm-c .rm-menu__theme .rm-menu__theme-dark { display: none; }
html.rm-menu-open body.rm-c .rm-theme { visibility: hidden; }
body.rm-c .rm-menu__theme {
	display: none;
	align-self: flex-start;
	align-items: center;
	gap: 0.96rem;
	min-height: 4.4rem;
	margin: 0;
	padding: 0 1.76rem 0 1.44rem;
	border: 1px solid var(--rm-deep-rule);
	border-radius: var(--rm-r-btn);
	background: transparent;
	color: var(--rm-on-deep);
	font-family: var(--rm-sans);
	font-size: 1.52rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 200ms;
}
body.rm-c .rm-menu__theme:hover { border-color: rgb(244 243 241 / 0.5); }
@media (max-width: 399.98px) {
	body.rm-c .rm-hdr .rm-theme { display: none; }
	body.rm-c .rm-menu__theme { display: inline-flex; }
}

body.rm-c .rm-burger {
	position: relative;
	display: block;
	width: 2.8rem;
	height: 1.2rem;
}
body.rm-c .rm-burger__a,
body.rm-c .rm-burger__b {
	position: absolute;
	left: 0;
	top: 50%;
	display: block;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
}
body.rm-c .rm-burger__a { transform: translateY(-4px); }
body.rm-c .rm-burger__b { transform: translateY(3px); }
html:not(.rm-menu-open) body.rm-c .rm-menubtn:hover .rm-burger__b { transform: translateY(3px) scaleX(0.75); transform-origin: right; }
html.rm-menu-open body.rm-c .rm-burger__a { transform: translateY(-50%) rotate(45deg); }
html.rm-menu-open body.rm-c .rm-burger__b { transform: translateY(-50%) rotate(-45deg); }

/* ── 5. Full-screen menu (21st.dev "Immersive Full Screen Navigation", adapted; CSS transitions, no GSAP) ─── */
body.rm-c .rm-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--rm-deep);
	color: var(--rm-on-deep);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 800ms var(--rm-ease-io);
}
body.rm-c .rm-menu.is-shown { display: block; }
body.rm-c .rm-menu.is-open { clip-path: inset(0 0 0 0); }
body.rm-c .rm-menu.is-closing { transition-duration: 600ms; }

body.rm-c .rm-menu__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding-top: 9.6rem;
	padding-bottom: 11.2rem;
}
@media (min-width: 768px) { body.rm-c .rm-menu__inner { padding-top: 11.2rem; } } /* 3.2rem below the taller bar */
body.rm-c .rm-menu__grid {
	display: grid;
	flex: 1;
	gap: 4.8rem;
}
@media (min-width: 1024px) {
	body.rm-c .rm-menu__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	body.rm-c .rm-menu__nav { grid-column: span 7; }
	body.rm-c .rm-menu__aside { grid-column: span 5; padding-top: 0.4rem; }
}
body.rm-c .rm-menu__group { margin: 0 0 3.2rem; padding: 0; } /* Automatic.css pads every <section> */
body.rm-c .rm-menu__group:last-child { margin-bottom: 0; }
@media (min-width: 1024px) { body.rm-c .rm-menu__group { margin-bottom: clamp(1.6rem, 3vh, 3.6rem); } }
body.rm-c .rm-menu__label {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.2rem;
	color: var(--rm-on-deep-faint);
}
body.rm-c .rm-menu__label::after {
	content: "";
	width: 4.8rem;
	height: 1px;
	background: var(--rm-deep-rule);
}
body.rm-c .rm-menu__list,
body.rm-c .rm-ftr__links,
body.rm-c .rm-ftr__social,
body.rm-c .rm-ftr__legal,
body.rm-c .rm-menu__social {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.rm-c .rm-menu__item { overflow: hidden; }
body.rm-c .rm-menu__row {
	display: flex;
	align-items: flex-start;
	gap: 1.2rem;
}
body.rm-c .rm-menu__num {
	flex-shrink: 0;
	width: 2.4rem;
	margin-top: 0.55em;
	color: var(--rm-on-deep-faint);
	font-size: 1.1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
body.rm-c .rm-menu__link {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 1.2rem;
	border-radius: 2px;
	color: var(--rm-on-deep);
	font-family: var(--rm-display);
	font-size: clamp(3.2rem, min(4.6vw, 6.6vh), 6.8rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-decoration: none;
	transition: opacity 300ms, color 300ms;
}
body.rm-c .rm-menu__link:hover,
body.rm-c .rm-menu__link:focus-visible { color: var(--rm-deep-accent); }
body.rm-c .rm-menu__nav:has(.rm-menu__link:hover) .rm-menu__link:not(:hover),
body.rm-c .rm-menu__nav:has(.rm-menu__link:focus-visible) .rm-menu__link:not(:focus-visible) { opacity: 0.4; }

/* Character roll on hover, split per word by rm-c.js so a long label only wraps at spaces. */
body.rm-c .rm-roll__w {
	display: inline-block;
	overflow: hidden;
	padding-bottom: 0.08em;
	vertical-align: top;
	white-space: nowrap;
	line-height: 1.1;
}
body.rm-c .rm-roll__c {
	display: inline-block;
	text-shadow: 0 1.3em currentColor;
	transition: transform 500ms cubic-bezier(0.625, 0.05, 0, 1);
	transition-delay: var(--d, 0s);
}
body.rm-c .rm-menu__link:hover .rm-roll__c,
body.rm-c .rm-menu__link:focus-visible .rm-roll__c { transform: translateY(-1.3em); }

/* Entrance: labels, links and the aside rise in after the wipe. */
body.rm-c .rm-menu [data-rm-in] {
	opacity: 0;
	transform: translateY(var(--rm-in-y, 1.4rem));
	transition: opacity 500ms ease-out, transform 850ms cubic-bezier(0.215, 0.61, 0.355, 1);
	transition-delay: calc(var(--rm-in-base, 0.42s) + var(--i, 0) * var(--rm-in-step, 0.06s));
}
body.rm-c .rm-menu .rm-menu__row[data-rm-in] { --rm-in-y: 55%; --rm-in-base: 0.45s; --rm-in-step: 0.045s; }
body.rm-c .rm-menu .rm-menu__foot[data-rm-in],
body.rm-c .rm-menu .rm-menu__caption[data-rm-in] { --rm-in-base: 0.75s; }
body.rm-c .rm-menu.is-open [data-rm-in] { opacity: 1; transform: none; }
body.rm-c .rm-menu.is-closing [data-rm-in] { transition: opacity 200ms ease-in; transition-delay: 0s; opacity: 0; }

/* Photo frame: the photo for the hovered or keyboard-focused link opens over the last one. */
body.rm-c .rm-menu__figure { display: none; margin: 0; }
@media (min-width: 1024px) { body.rm-c .rm-menu__figure { display: block; } }
body.rm-c .rm-menu__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	height: min(52vh, 52rem);
	max-width: 100%;
	margin-left: auto;
	overflow: hidden;
	border-radius: 2px;
	background: rgb(244 243 241 / 0.1);
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1050ms var(--rm-ease-io) 0.38s;
}
body.rm-c .rm-menu.is-open .rm-menu__frame { clip-path: inset(0 0 0 0); }
body.rm-c .rm-menu__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	visibility: hidden;
}
body.rm-c .rm-menu__photo.is-prev { z-index: 1; visibility: visible; }
body.rm-c .rm-menu__photo.is-active { z-index: 2; visibility: visible; }
body.rm-c .rm-menu__photo.is-revealing { animation: rm-photo-in 750ms cubic-bezier(0.215, 0.61, 0.355, 1) both; }
@keyframes rm-photo-in {
	from { clip-path: inset(100% 0 0 0); transform: scale(1.12); }
	to { clip-path: inset(0 0 0 0); transform: scale(1); }
}
body.rm-c .rm-menu__caption {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.6rem;
	min-height: 4.4rem;
	max-width: min(100%, 41.6rem);
	margin: 1.2rem 0 0 auto;
	color: var(--rm-on-deep-muted);
	font-size: 1.44rem;
}
body.rm-c .rm-menu__cap-title { color: var(--rm-on-deep); }
body.rm-c .rm-menu__cap-note { max-width: 25.6rem; text-align: right; line-height: 1.35; }

body.rm-c .rm-menu__aside {
	display: flex;
	flex-direction: column;
	gap: 3.2rem;
}
body.rm-c .rm-menu__foot {
	display: flex;
	flex-direction: column;
	gap: 3.2rem;
	margin-top: auto;
}
@media (min-width: 1024px) { body.rm-c .rm-menu__foot { width: 100%; max-width: 41.6rem; margin-left: auto; } }
body.rm-c .rm-menu__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 2rem 2rem 2rem 6rem;
	position: relative;
	border: 1px solid var(--rm-deep-rule);
	border-radius: 2px;
	color: var(--rm-on-deep);
	text-decoration: none;
	transition: border-color 200ms;
}
body.rm-c .rm-menu__card::before {
	content: "";
	position: absolute;
	left: 2rem;
	top: 2.4rem;
	width: 2.4rem;
	height: 2.4rem;
	background: var(--rm-deep-accent);
	-webkit-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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center / contain no-repeat;
	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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.rm-c .rm-menu__card:hover { border-color: rgb(244 243 241 / 0.5); }
body.rm-c .rm-menu__card-title {
	font-family: var(--rm-display);
	font-size: 2.32rem;
	line-height: 1.2;
	text-wrap: balance;
}
body.rm-c .rm-menu__card-text {
	color: var(--rm-on-deep-muted);
	font-size: 1.52rem;
	line-height: 1.45;
}
body.rm-c .rm-menu__card-cta {
	margin-top: 0.8rem;
	color: var(--rm-deep-accent);
	font-size: 1.52rem;
	font-weight: 700;
}
body.rm-c .rm-menu__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2.4rem;
	font-size: 1.52rem;
	font-weight: 700;
}
body.rm-c .rm-menu__social a { color: var(--rm-on-deep); text-decoration: none; }

/* ── 6. Footer: columns, oversized Canela wordmark, bottom bar ────────────────────────────────────────────── */
body.rm-c .rm-ftr {
	border-top: 1px solid var(--rm-line);
	background: var(--rm-surface);
	color: var(--rm-text);
}
body.rm-c .rm-ftr__top { padding-top: 6.4rem; }
@media (min-width: 1024px) { body.rm-c .rm-ftr__top { padding-top: 9.6rem; } }
body.rm-c .rm-ftr__grid {
	display: grid;
	gap: 4.8rem;
}
@media (min-width: 768px) {
	body.rm-c .rm-ftr__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3.2rem; }
	body.rm-c .rm-ftr__brand,
	body.rm-c .rm-ftr__nav,
	body.rm-c .rm-ftr__offer { grid-column: span 6; }
}
@media (min-width: 1024px) {
	body.rm-c .rm-ftr__brand { grid-column: 1 / span 4; }
	body.rm-c .rm-ftr__nav { grid-column: 5 / span 5; } /* 4 columns wrapped "Marriage Intensives" at 1024-1048px */
	body.rm-c .rm-ftr__offer { grid-column: 10 / span 3; }
}
body.rm-c .rm-ftr__logo { display: inline-flex; border-radius: 2px; }
body.rm-c .rm-ftr__logo .rm-logo { height: 5.2rem; }
body.rm-c .rm-ftr__blurb {
	max-width: 38.4rem;
	margin: 2.4rem 0 0;
	color: var(--rm-muted);
	font-size: 1.68rem;
	line-height: 1.65;
}
body.rm-c .rm-ftr__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2.4rem;
	margin-top: 2.4rem;
	font-size: 1.52rem;
	font-weight: 700;
}
body.rm-c .rm-ftr a { color: inherit; text-decoration: none; }
body.rm-c .rm-ftr__nav .rm-kicker,
body.rm-c .rm-ftr__offer .rm-kicker { color: var(--rm-muted); }
body.rm-c .rm-ftr__links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2rem 2.4rem;
	margin-top: 2rem;
	font-size: 1.6rem;
}
@media (min-width: 360px) { body.rm-c .rm-ftr__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.rm-c .rm-ftr__card {
	display: block;
	margin-top: 2rem;
}
body.rm-c .rm-ftr__card-title {
	display: block;
	font-family: var(--rm-display);
	font-size: 2.56rem;
	line-height: 1.2;
	text-wrap: balance;
}
body.rm-c .rm-ftr__card-text {
	display: block;
	margin-top: 0.8rem;
	color: var(--rm-muted);
	font-size: 1.52rem;
}
body.rm-c .rm-ftr__card-cta {
	display: inline-block;
	margin-top: 1.2rem;
	color: var(--rm-link);
	font-size: 1.52rem;
	font-weight: 700;
}
body.rm-c .rm-ftr__mark {
	container-type: inline-size;
	margin-top: 6.4rem;
	padding-bottom: 1.5cqw;
}
@media (min-width: 1024px) { body.rm-c .rm-ftr__mark { margin-top: 9.6rem; } }
body.rm-c .rm-ftr__wordmark {
	margin: 0;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: calc(100cqw / 9.92);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
body.rm-c .rm-ftr__bottom { border-top: 1px solid var(--rm-line); }
body.rm-c .rm-ftr__bar {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding-top: 2.4rem;
	padding-bottom: 3.2rem;
	color: var(--rm-muted);
	font-size: 1.4rem;
}
@media (min-width: 1024px) {
	body.rm-c .rm-ftr__bar { flex-direction: row; align-items: center; justify-content: space-between; }
}
/* The copyright line never shrinks: with six legal links (Cancellation Policy, 2026-11-11) it wrapped at 1024-1064px
   and left "Marriage" alone on its second line. The links wrap instead, between items. */
body.rm-c .rm-ftr__bar p { margin: 0; flex-shrink: 0; }
body.rm-c .rm-ftr__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2.4rem;
}

/* ── 7. Page layout for the my. pages (donate, payment history, receipt) ──────────────────────────────────── */
body.rm-c .rm-page { padding-bottom: 8rem; }
@media (min-width: 1024px) { body.rm-c .rm-page { padding-bottom: 12.8rem; } }
body.rm-c .rm-masthead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem 2.4rem;
	padding-block: 1.6rem;
	border-bottom: 1px solid var(--rm-line);
	color: var(--rm-muted);
}
body.rm-c .rm-masthead__aside { display: none; }
@media (min-width: 640px) { body.rm-c .rm-masthead__aside { display: block; } }
body.rm-c .rm-hero {
	display: grid;
	gap: 3.2rem;
	padding-top: 4.8rem;
}
@media (min-width: 1024px) {
	body.rm-c .rm-hero {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
		column-gap: 4rem;
		row-gap: 4.8rem;
		padding-top: 8rem;
	}
	body.rm-c .rm-hero__text { grid-column: 1 / span 6; grid-row: 1; }
	body.rm-c .rm-hero__side { grid-column: 8 / span 5; grid-row: 1 / span 2; position: sticky; top: calc(var(--rm-header-h) + 3.2rem); }
	body.rm-c .rm-hero__photo { grid-column: 1 / span 6; grid-row: 2; }
}
body.rm-c .rm-hero__photo { margin: 0; }
body.rm-c .rm-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 2px;
}
body.rm-c .rm-page__title { margin: 0; }
body.rm-c .rm-donate__form {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
}
body.rm-c .rm-donate__form > [hidden] { display: none; }
body.rm-c .rm-display-2 {
	margin: 0;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: var(--rm-display-2);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
body.rm-c .rm-display-3 {
	margin: 0;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: var(--rm-display-3);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
body.rm-c .rm-lede {
	max-width: 56rem;
	margin: 2.4rem 0 0;
	color: var(--rm-text);
	font-size: clamp(1.9rem, 1.6rem + 0.5vw, 2.24rem);
	line-height: 1.55;
}
body.rm-c .rm-signature {
	margin: 2.4rem 0 0;
	color: var(--rm-eyebrow);
	font-family: "RM Northwell", "Northwell Regular", "Brush Script MT", cursive;
	font-size: clamp(4rem, 3.4rem + 1.4vw, 5.6rem);
	line-height: 1;
	transform: rotate(-4deg);
	transform-origin: left center;
}
body.rm-c .rm-fineprint {
	margin: 1.6rem 0 0;
	color: var(--rm-muted);
	font-size: 1.44rem;
	line-height: 1.5;
}
body.rm-c .rm-panel {
	padding: 2.4rem;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-r-card);
	background: var(--rm-surface);
}
@media (min-width: 640px) { body.rm-c .rm-panel { padding: 3.2rem; } }
body.rm-c .rm-panel__title {
	margin: 0 0 1.6rem;
	font-family: var(--rm-display);
	font-size: var(--rm-h3);
	font-weight: 400;
	line-height: 1.15;
	text-wrap: balance;
}
body.rm-c .rm-section-marker {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-top: 6.4rem;
}
body.rm-c .rm-section-marker__n {
	color: var(--rm-eyebrow);
	font-family: var(--rm-display);
	font-size: 2.8rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
body.rm-c .rm-section-marker__rule { flex: 1; height: 1px; background: var(--rm-line-strong); }
body.rm-c .rm-section-marker .rm-kicker { color: var(--rm-muted); text-align: right; }
body.rm-c .rm-content { margin-top: 3.2rem; }
body.rm-c .rm-account__head { padding-top: 4.8rem; }
@media (min-width: 1024px) { body.rm-c .rm-account__head { padding-top: 8rem; } }
body.rm-c .rm-account__body { max-width: 96rem; margin-top: 4rem; }

/* Fluent Forms payment history and receipt (the legacy monthly donors still billed through Fluent): editorial rules,
   no boxes. Fluent prints inline borders on its tables and an inline <style> after this file, hence the !important
   on borders and the longer selectors elsewhere. */
body.rm-c .rm-account__body { color: var(--rm-text); font-size: 1.6rem; }
body.rm-c .rm-account__body h2,
body.rm-c .rm-account__body h3,
body.rm-c .rm-account__body h4 {
	margin: 5.6rem 0 1.6rem;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: var(--rm-h3);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
}
body.rm-c .rm-account__body > .brxe-shortcode > :first-child :is(h2, h3):first-child,
body.rm-c .rm-account__body > .brxe-shortcode > :is(h2, h3):first-child { margin-top: 0; }
body.rm-c .rm-account__body a { color: var(--rm-link); text-underline-offset: 0.2em; }

body.rm-c .rm-account__body .ff_subscriptions .ff_subscription {
	margin: 0 0 1.6rem;
	padding: 2.4rem;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-r-card);
	background: var(--rm-surface);
	color: var(--rm-text);
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header { gap: 1.6rem 3.2rem; }
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .ff_form_name {
	font-family: var(--rm-display);
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.2;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription span.ff_sub_id {
	margin-right: 0.4rem;
	color: var(--rm-muted);
	font-family: var(--rm-sans);
	font-size: 1.4rem;
	font-style: normal;
	opacity: 1;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .ff_sub_name { margin-top: 0.4rem; color: var(--rm-muted); }
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .pay_amount {
	font-family: var(--rm-display);
	font-size: 2.8rem;
	line-height: 1.2;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .ff_billing_dates { color: var(--rm-muted); }
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .ff_pay_status_badge {
	display: inline-block;
	margin-left: 0.8rem;
	padding: 0.3rem 1rem;
	border: 1px solid var(--rm-line-strong);
	border-radius: 2px;
	background: var(--rm-bg);
	color: var(--rm-muted);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	vertical-align: 0.3rem;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_header .ff_pay_status_badge.ff_pay_status_active {
	border-color: var(--rm-success);
	color: var(--rm-success);
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription button {
	min-height: 4rem;
	padding: 0.8rem 1.8rem;
	border: 1px solid var(--rm-field);
	border-radius: var(--rm-r-btn);
	background: var(--rm-bg);
	color: var(--rm-text);
	font-family: var(--rm-sans);
	font-size: 1.4rem;
	font-weight: 700;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription button:hover { border-color: var(--rm-text); }
body.rm-c .rm-account__body .ff_subscriptions .ff_sub_cancel_confirmation button.ff_confirm_subscription_cancel {
	border-color: #a3271a;
	background: #a3271a;
	color: #fff;
}
body.rm-c .rm-account__body .ff_subscriptions .ff_subscription .ff_subscription_payments.ff_has_payments {
	margin: 2.4rem -2.4rem -2.4rem;
	padding: 2.4rem;
	border-top: 1px solid var(--rm-line);
	border-radius: 0 0 var(--rm-r-card) var(--rm-r-card);
	background: var(--rm-bg);
}

body.rm-c .rm-account__body table {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent;
	font-size: 1.6rem;
}
body.rm-c .rm-account__body table tr { border: 0 !important; }
body.rm-c .rm-account__body table thead { background: transparent !important; }
body.rm-c .rm-account__body table th,
body.rm-c .rm-account__body table td {
	padding: 1.4rem 1.6rem 1.4rem 0;
	border: 0 !important;
	border-bottom: 1px solid var(--rm-line) !important;
	background: transparent;
	color: var(--rm-text);
	text-align: left;
	vertical-align: top;
}
body.rm-c .rm-account__body table thead th {
	border-bottom-color: var(--rm-line-strong) !important;
	color: var(--rm-muted);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.rm-c .rm-account__body table tfoot th {
	color: var(--rm-muted);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.rm-c .rm-account__body .ffp_payment_info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.6rem 2.4rem;
	margin: 0 0 3.2rem;
	padding: 2.4rem;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-r-card);
	box-shadow: none;
	background: var(--rm-surface);
	color: var(--rm-text);
}
body.rm-c .rm-account__body .ffp_payment_info .ffp_payment_info_item {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}
body.rm-c .rm-account__body .ffp_payment_info .ffp_item_heading {
	color: var(--rm-muted);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
body.rm-c .rm-account__body .ffp_payment_info .ffp_item_value { margin-top: 0.4rem; font-size: 1.7rem; }
body.rm-c .rm-account__body .ffp_customer_details ul { margin: 0; padding: 0; list-style: none; }
body.rm-c .rm-account__body .ffp_customer_details li { padding: 1.2rem 0; border-bottom: 1px solid var(--rm-line); }

/* Phones: payment rows stack as label / value pairs; the receipt's item table scrolls inside itself. */
@media (max-width: 639px) {
	body.rm-c .rm-account__body .ff_transactions table,
	body.rm-c .rm-account__body .ff_transactions tbody,
	body.rm-c .rm-account__body .ff_transactions tr,
	body.rm-c .rm-account__body .ff_transactions td { display: block; width: 100%; }
	body.rm-c .rm-account__body .ff_transactions thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	body.rm-c .rm-account__body .ff_transactions tr { padding: 1.2rem 0; border-bottom: 1px solid var(--rm-line) !important; }
	body.rm-c .rm-account__body .ff_transactions td {
		display: flex;
		justify-content: space-between;
		gap: 1.6rem;
		padding: 0.4rem 0;
		border: 0 !important;
		text-align: right;
	}
	body.rm-c .rm-account__body .ff_transactions td::before {
		color: var(--rm-muted);
		font-size: 1.2rem;
		font-weight: 700;
		letter-spacing: 0.14em;
		text-align: left;
		text-transform: uppercase;
	}
	body.rm-c .rm-account__body .ff_transactions td.ff_td_id::before { content: "Payment"; }
	body.rm-c .rm-account__body .ff_transactions td.ff_td_amount::before { content: "Amount"; }
	body.rm-c .rm-account__body .ff_transactions td.ff_td_status::before { content: "Status"; }
	body.rm-c .rm-account__body .ff_transactions td.ff_td_payment_method::before { content: "Method"; }
	body.rm-c .rm-account__body .ff_transactions td.ff_td_date::before { content: "Date"; }
	body.rm-c .rm-account__body .ff_transactions td.ff_td_action::before { content: ""; }
}

/* ── 8. Product page (SureCart product template) and the SureCart form on the donate page ─────────────────── */
body.rm-c .rm-product {
	display: grid;
	gap: 3.2rem;
	padding-top: 3.2rem;
}
@media (min-width: 1024px) {
	body.rm-c .rm-product { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; padding-top: 6.4rem; }
	body.rm-c .rm-product__media { grid-column: 1 / span 6; }
	body.rm-c .rm-product__body { grid-column: 8 / span 5; }
	body.rm-c .rm-product__media-in { position: sticky; top: calc(var(--rm-header-h) + 3.2rem); }
}
body.rm-c .rm-product__media img { border-radius: var(--rm-r-image); }
body.rm-c .rm-product__body {
	display: flex;
	flex-direction: column;
	gap: 2.4rem;
	min-width: 0;
}
body.rm-c .rm-product__body > [hidden] { display: none; }
body.rm-c .rm-product__tags { color: var(--rm-eyebrow); margin-bottom: -0.8rem; }
body.rm-c .rm-product__tags:empty { display: none; }
body.rm-c .rm-product__tags a { color: inherit; text-decoration: none; }
body.rm-c .rm-product__title { margin: 0; }
body.rm-c .rm-product__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 0.8rem;
}
body.rm-c .rm-product__amount {
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: clamp(2.8rem, 2.4rem + 0.8vw, 3.6rem);
	line-height: 1.1;
}
html body.rm-c .rm-product__amount * { color: inherit; }
body.rm-c .rm-product__interval,
body.rm-c .rm-product__fees { color: var(--rm-muted); font-size: 1.6rem; }
body.rm-c .rm-product__desc {
	color: var(--rm-text);
	font-size: var(--rm-text-body);
	line-height: 1.6;
	max-width: 60ch;
}
body.rm-c .rm-product__desc p { margin: 0 0 1.2em; }
body.rm-c .rm-product__desc p:last-child { margin-bottom: 0; }
body.rm-c .rm-product__buy .wp-block-button,
body.rm-c .rm-product__buy .wp-block-button__link,
body.rm-c .rm-product__buy button { width: 100%; }

html body.rm-c .sc-input-group-text { color: var(--rm-muted); opacity: 1; } /* SureCart draws the "$" at 50% opacity: 2.3:1 */
/* SureCart's own field text is its gray-700, and its dark-theme rule for it lives in a stylesheet the product blocks do
   not load: state it, so the amount reads in both themes. */
html body.rm-c .sc-form-control { color: var(--rm-text); }
html body.rm-c .sc-form-control::placeholder { color: var(--rm-muted); opacity: 1; }

/* SureCart's labels read as the site's small caps. */
html body.rm-c .rm-product .sc-form-label,
html body.rm-c .rm-donate .sc-form-label {
	display: block;
	margin: 0 0 1.2rem;
	color: var(--rm-muted);
	font-family: var(--rm-sans);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
/* Price choices: hairline cards, the chosen one ringed in the brand orange. */
html body.rm-c .rm-choices .sc-choices { gap: 1.2rem; }
html body.rm-c .rm-choice.sc-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	width: 100%;
	padding: 1.6rem 2rem;
	border: 1px solid var(--rm-field);
	border-radius: var(--rm-r-btn);
	background: var(--rm-bg);
	color: var(--rm-text);
	cursor: pointer;
	transition: border-color 200ms, box-shadow 200ms;
}
html body.rm-c .rm-choice.sc-choice:hover { border-color: var(--rm-text); }
html body.rm-c .rm-choice.sc-choice--checked,
html body.rm-c .rm-choice.sc-choice[aria-checked="true"] {
	border-color: var(--rm-primary);
	box-shadow: inset 0 0 0 1px var(--rm-primary);
}
html body.rm-c .rm-choice__name {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--rm-text);
	font-size: 1.68rem;
	line-height: 1.4;
	text-wrap: pretty;
}
html body.rm-c .rm-choice__amount {
	flex: 0 0 auto;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-size: 2.32rem;
	line-height: 1.1;
	text-align: right;
}
html body.rm-c .rm-choice__amount .wp-block-surecart-price-trial,
html body.rm-c .rm-choice__amount .wp-block-surecart-price-setup-fee { font-family: var(--rm-sans); font-size: 1.4rem; color: var(--rm-muted); }

/* The buy button: the site's squared-off primary. */
html body.rm-c .rm-product__buybtn,
html body.rm-c .rm-product__buy .wp-block-button__link,
html body.rm-c .rm-product__buy .sc-button {
	min-height: 5.2rem;
	border: 1px solid var(--rm-primary);
	border-radius: var(--rm-r-btn);
	background: var(--rm-primary);
	color: var(--rm-on-primary);
	font-family: var(--rm-sans);
	font-size: 1.7rem;
	font-weight: 700;
	transition: background-color 200ms, border-color 200ms;
}
/* Where the pill came from (2026-11-11): the buy-button element carries Bricks' "circle" style, and Bricks 2.4 ships
   its frontend CSS inside `@layer bricks` (frontend-light-layer.min.css) with `.bricks-button.circle { border-radius:
   100px !important }`. A layered !important outranks every unlayered rule, so no selector in this file could beat it;
   the same layer, with a more specific selector, does. The template generator no longer sets "circle"
   (wordpress/bricks/build-templates.mjs); this keeps any copy that still has it squared off (2px = --rm-r-btn). */
@layer bricks {
	html body.rm-c .bricks-button.circle { border-radius: 2px !important; }
}
html body.rm-c .rm-product__buy .wp-block-button__link:hover,
html body.rm-c .rm-product__buy .sc-button:hover,
html body.rm-c .rm-product__buybtn:hover {
	border-color: var(--rm-primary-hover);
	background: var(--rm-primary-hover);
	color: var(--rm-on-primary);
}

/* ── 9. SureCart, everywhere on my.: brand through SureCart's own variables ─────────────────────────────────
   Most of SureCart sits in shadow roots: only inherited custom properties reach inside, so the brand goes in here.
   Light first; the dark block below is set on the same element as SureCart's `.surecart-theme-dark` (which maps its
   gray scale onto its neutral scale) and outranks it, so both scales are stated. */
html body.rm-c {
	--sc-font-sans: var(--rm-sans);
	--sc-color-primary-50: #feefe7;
	--sc-color-primary-100: #fde2d1;
	--sc-color-primary-200: #fbd0b6;
	--sc-color-primary-300: #f8b086;
	--sc-color-primary-400: #f69055;
	--sc-color-primary-500: #bf4c0a;
	--sc-color-primary-600: #aa4409;
	--sc-color-primary-700: #793006;
	--sc-color-primary-800: #5c2505;
	--sc-color-primary-900: #3f1a04;
	--sc-color-primary-950: #301303;
	--sc-color-primary-text: #ffffff;
	--sc-focus-ring-color-primary: rgb(191 76 10 / 0.35);
	--sc-color-gray-50: #faf9f7;
	--sc-color-gray-100: #f4f3f1;
	--sc-color-gray-200: #e3e0d9;
	--sc-color-gray-300: #cbc6bb;
	--sc-color-gray-400: #a39d90;
	--sc-color-gray-500: #6f695d;  /* SureCart's help and placeholder text: 5.5:1 on white (was #7a7468, 4.5:1 edge) */
	--sc-color-gray-600: #5c574c;
	--sc-color-gray-700: #484337;
	--sc-color-gray-800: #2d2a23;
	--sc-color-gray-900: #1d1b16;
	--sc-color-gray-950: #111111;
	/* Fields: www's --field edge (3:1 and up for a control), squared off like the buttons. */
	--sc-input-border-color: var(--rm-field);
	--sc-input-border-color-hover: var(--rm-text);
	--sc-input-border-color-focus: var(--rm-primary);
	--sc-choice-border-color: var(--rm-field);
	--sc-input-border-radius-small: var(--rm-r-btn);
	--sc-input-border-radius-medium: var(--rm-r-btn);
	--sc-input-border-radius-large: var(--rm-r-btn);
	--sc-choice-border-radius: var(--rm-r-btn);
	--sc-border-radius-small: var(--rm-r-btn);
	--sc-border-radius-medium: var(--rm-r-btn);
	--sc-border-radius-large: var(--rm-r-btn);
	--sc-card-border-radius: var(--rm-r-card);
	--sc-shadow-small: none;
}
html[data-theme="dark"] body.rm-c {
	--sc-color-gray-50: #faf9f7;
	--sc-color-gray-100: #f4f3f1;
	--sc-color-gray-200: #e8e6e1;
	--sc-color-gray-300: #d6d2c9;  /* SureCart's dark body text: 11.6:1 on #1d1b16, 10:1 on the cards */
	--sc-color-gray-400: #b8b2a5;  /* www --text-muted: 8.2:1 */
	--sc-color-gray-500: #9a9487;  /* placeholders, icons: 5.9:1 on #1d1b16, 5.1:1 on the cards */
	--sc-color-gray-600: #6b6558;
	--sc-color-gray-700: #484337;
	--sc-color-gray-800: #3a362e;
	--sc-color-gray-900: #2d2a23;  /* cards */
	--sc-color-gray-950: #1d1b16;  /* the ground */
	--sc-color-neutral-50: #faf9f7;
	--sc-color-neutral-100: #f4f3f1;
	--sc-color-neutral-200: #e8e6e1;
	--sc-color-neutral-300: #d6d2c9;
	--sc-color-neutral-400: #b8b2a5;
	--sc-color-neutral-500: #9a9487;
	--sc-color-neutral-600: #6b6558;
	--sc-color-neutral-700: #484337;
	--sc-color-neutral-800: #3a362e;
	--sc-color-neutral-900: #2d2a23;
	--sc-color-neutral-950: #1d1b16;
	/* The orange stays the button fill (white on it 4.9:1). Where SureCart uses the 500 step as text on the dark
	   ground it would be 3.5:1, so the light steps that dark text and tags read are lifted to www's #ea8a52. */
	--sc-color-primary-300: #f6b48c;
	--sc-color-primary-400: #ea8a52;
	--sc-focus-ring-color-primary: rgb(234 138 82 / 0.45);
	--sc-input-background-color: var(--rm-bg);
	--sc-input-background-color-hover: var(--rm-bg);
	--sc-input-background-color-focus: var(--rm-bg);
	--sc-input-control-background-color: var(--rm-bg);
	--sc-input-color: var(--rm-text);
	--sc-input-color-hover: var(--rm-text);
	--sc-input-color-focus: var(--rm-text);
	--sc-input-label-color: var(--rm-text);
	--sc-input-border-color-focus: var(--rm-ring);
	--sc-choice-background-color: var(--rm-bg);
	--sc-card-background-color: var(--rm-raised);
	--sc-card-border-color: var(--rm-line);
	--sc-list-row-background-color: var(--rm-raised);
	--sc-divider-text-background-color: var(--rm-raised);
	--sc-color-danger-100: #3a1418;
	--sc-color-danger-200: #6b2129;
	--sc-color-danger-700: #f4a7ae;
	--sc-color-success-100: #13301f;
	--sc-color-success-200: #1f5233;
	--sc-color-success-700: #9ee0b5;
	--sc-color-warning-100: #3a2c0d;
	--sc-color-warning-200: #6b5216;
	--sc-color-warning-700: #f2d48a;
	--sc-color-info-100: #132741;
	--sc-color-info-200: #22446e;
	--sc-color-info-700: #a9cbf5;
}
html body.rm-c .wp-block-button__link.wp-element-button,
html body.rm-c .sc-button {
	border-radius: var(--rm-r-btn);
	font-family: var(--rm-sans);
	font-weight: 700;
}

/* Checkout page (SureCart blank template, form 2053): warm ground instead of SureCart's cool gray. The two colors are
   inline (the form's block settings), hence !important. */
html body.rm-c sc-columns.wp-block-surecart-columns.has-background { background-color: var(--rm-surface) !important; }
html body.rm-c .wp-block-surecart-column.has-white-background-color { background-color: var(--rm-bg) !important; }
html body.rm-c sc-checkout { color: var(--rm-text); }
/* The store logo block (the black lockup, from SureCart's brand settings): white on the dark theme. */
html body.rm-c .wp-block-surecart-store-logo img { filter: var(--rm-logo-filter); }

/* Instant checkout (/buy/<product>/): SureCart's own view. instant-checkout.css loads after this file and paints the
   dark ground on body.sc-buy-page.surecart-theme-dark, so these lead with `html` and name both classes. */
html body.rm-c.sc-buy-page,
html body.rm-c.sc-buy-page.surecart-theme-dark { background: var(--rm-surface); color: var(--rm-text); }
@media screen and (min-width: 782px) {
	html body.rm-c.sc-buy-page::before,
	html body.rm-c.sc-buy-page.surecart-theme-dark::before { background: var(--rm-bg); box-shadow: 1px 0 0 var(--rm-line); }
}
html body.rm-c.sc-buy-page :is(sc-text, sc-product-selected-price, sc-order-summary, .sc-buy-header) { color: var(--rm-text); }
/* SureCart's store logo is the black lockup; on the dark theme it is drawn white, as the footer's is. */
html body.rm-c.sc-buy-page .sc-buy-logo img { filter: var(--rm-logo-filter); }
/* Gallery arrows: squared, on the page's ground, instead of SureCart's white discs. */
html body.rm-c.sc-buy-page .sc-image-slider :is(.swiper-button-prev, .swiper-button-next) {
	border: 1px solid var(--rm-line-strong);
	border-radius: var(--rm-r-btn);
	background: var(--rm-bg);
	box-shadow: none;
	color: var(--rm-text);
}
html body.rm-c.sc-buy-page .sc-buy-logo img { max-height: 5.2rem; width: auto; }
html body.rm-c.sc-buy-page sc-text[aria-label="Product name"] {
	--sc-font-sans: var(--rm-display);
	--font-size: clamp(2.8rem, 2.4rem + 0.8vw, 3.6rem) !important; /* SureCart sets it inline */
	--line-height: 1.1 !important;
	font-family: var(--rm-display);
	font-weight: 400 !important;
	letter-spacing: -0.015em;
}
html body.rm-c.sc-buy-page .price-choice__name { color: var(--rm-text); }
html body.rm-c.sc-buy-page .price-choice__price { color: var(--rm-text); font-family: var(--rm-display); font-size: 2rem; }

/* Required-field asterisks are SureCart's danger-500, #ef4444: 3.4-3.8:1 on the light grounds. Set on the fields' hosts
   (it inherits into their shadow roots) rather than store-wide, where the same step may fill a button. */
html body.rm-c :is(sc-input, sc-select, sc-textarea, sc-phone-input, sc-checkbox, sc-price-input, sc-address, sc-compact-address, sc-order-billing-address, sc-order-shipping-address, sc-customer-email, sc-customer-name, sc-customer-firstname, sc-customer-lastname, sc-customer-phone, sc-login-form) { --sc-color-danger-500: var(--rm-danger); }

/* SureCart's loading veil sits 5px outside the checkout and widens a phone page while it loads
   (wordpress-bricks-stack: surecart-checkout-veil.css). */
html body.rm-c sc-block-ui.busy-block-ui { inset: 0; }
/* A required checkbox's asterisk wraps alone on desktop (surecart-required-asterisk.css). */
html body.rm-c sc-checkbox[required]::part(label)::after { content: "\00a0*"; }

/* Customer dashboard (SureCart's page template) and its login form. customer-dashboard.css loads after this file. */
html body.rm-c.page-template-template-surecart-dashboard,
html body.rm-c.page-template-template-surecart-dashboard.surecart-theme-dark { background: var(--rm-surface); color: var(--rm-text); }
@media screen and (min-width: 782px) {
	html body.rm-c.page-template-template-surecart-dashboard::before,
	html body.rm-c.page-template-template-surecart-dashboard.surecart-theme-dark::before { background: var(--rm-bg); box-shadow: 1px 0 0 var(--rm-line); }
}
/* The dashboard's cards sit on the surface; in dark they are the raised step, with a hairline. */
html body.rm-c.page-template-template-surecart-dashboard { --sc-card-background-color: var(--rm-raised); --sc-card-border-color: var(--rm-line); }
/* SureCart's logo in the sidebar, the phone header and above the login form: white on the dark theme. */
html body.rm-c.page-template-template-surecart-dashboard :is(.sc-dashboard__logo, .sc-dashboard__logged-out-header) img { filter: var(--rm-logo-filter); }
html body.rm-c.page-template-template-surecart-dashboard [slot="heading"] {
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-weight: 400;
}
html body.rm-c sc-login-form {
	--sc-card-background-color: var(--rm-raised);
	--sc-card-border-color: var(--rm-line-strong);
	--sc-divider-text-background-color: var(--rm-raised);
	color: var(--rm-text);
}
html body.rm-c sc-login-form [slot="title"] {
	display: block;
	color: var(--rm-text);
	font-family: var(--rm-display);
	font-weight: 400;
	text-wrap: balance;
}
@media (max-width: 600px) {
	html body.rm-c.page-template-template-surecart-dashboard .sc-dashboard__logged-out { padding-inline: 1.6rem; }
}

/* ── 10. Reduced motion ───────────────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	body.rm-c .rm-menu,
	body.rm-c .rm-menu__frame,
	body.rm-c .rm-menu [data-rm-in] {
		clip-path: none !important;
		transform: none !important;
		transition: opacity 200ms ease-out !important;
		transition-delay: 0s !important;
	}
	body.rm-c .rm-menu { opacity: 0; }
	body.rm-c .rm-menu.is-open { opacity: 1; }
	body.rm-c .rm-menu__photo.is-revealing { animation: none; }
	body.rm-c .rm-ul,
	body.rm-c .rm-ul-in,
	body.rm-c .rm-burger__a,
	body.rm-c .rm-burger__b,
	body.rm-c .rm-arrow::after { transition: none; }
}
